Hi together,
I took gutemines "challenge" and have build a new binary, which can flash images while the box is running. Sources and binary are attached. There's currently no python plugin. Perhaps somebody wants to build one...
To use it, copy ofg_bin.zip to the box and unzip it. Usage is quite similar to gutemines binary:
root@et9x00:~# ./ofgwrite ofgwrite Utility v0.1 Author: Betacentauri Based upon: mtd-utils-native-1.4.9 Use at your own risk! Make always a backup before use! Usage: ofgwrite <parameter> <image_directory> Options: -k --kernel flash kernel (default) -r --rootfs flash root (default) -n --nowrite show only found image and mtd partitions (no write) -h --help show help
I have tested it with my et-9200. I expect that it works with all other et-xx00 boxes and the XP1000. Afaik on VU+ boxes it currently don't run, because of other filenames.
WARNING:
- Before use, please make a backup on a usb stick, to be able to flash it, if something goes wrong.
- Don't flash rootfs while a recording is running. It will be interrupted!
- Flashing rootfs stops enigma2 and reboots the box after flashing.
Technical things:
- It's a static binary which uses the normal flash_erase, nandwrite, ubiformat sources.
- I had to modify ubiformat a little bit to get it running without ubidetach.
- pivot_root is currently not included. It's quite difficult to test it without using single user mode (init 1). And I can't use single user mode, because it stops remote connection and I have no null modem cable (yet).