Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

firmware.bin not found #6

Open
Markus-Be opened this issue Jan 13, 2019 · 1 comment
Open

firmware.bin not found #6

Markus-Be opened this issue Jan 13, 2019 · 1 comment

Comments

@Markus-Be
Copy link

Markus-Be commented Jan 13, 2019

Hi,

i tryed to unpack the firmware.bin but the file is not found.

Software-Version: commit b90b96c

Issue
`npm run unpack firmware.bin

yi-mirrorless-firmware-tools@0.1.0 unpack /home/markus/projekte/yi-Kamera/Firmware_Kamera/yi-mirrorless-firmware-tools
node index.js unpack 'firmware.bin'
{ Error: ENOENT: no such file or directory, open 'firmware.bin'
at Object.openSync (fs.js:450:3)
at readSections (/home/markus/projekte/yi-Kamera/Firmware_Kamera/yi-mirrorless-firmware-tools/firmware.js:120:19)
at Object.unpack (/home/markus/projekte/yi-Kamera/Firmware_Kamera/yi-mirrorless-firmware-tools/firmware.js:211:5)
at Object. (/home/markus/projekte/yi-Kamera/Firmware_Kamera/yi-mirrorless-firmware-tools/index.js:28:22)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:774:12)
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: 'firmware.bin' }
`

Workaround

you need to run the command from the tools folder NOT from a subfolder there the Firmware file is.

@protyposis
Copy link
Owner

Yes exactly. What you call workaround is how this is currently designed to be used :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants