For now I've put some black tape but it still lets some light filter through...
Too bad about this, I hope it will be implemented in the future
Thanks for the documentation which was invaluable to me in understanding why.
in the original firmware I find the command:
mtd_write
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>
The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
unlock unlock the device
erase erase all data on device
write <imagefile>|- write <imagefile> (use - for stdin) to device
writeflash <imagefile> <n> <offset> <device> write <imagefile> to n bytes from offset of <device>
readflash <imagefile> <n> <offset> <device> read n bytes from offset of <device> to <imagefile>
erasesector <offset> <device> erase one sector from offset of <device>
Following options are available:
-q quiet mode (once: no [w] on writing,
twice: no status messages)
-r reboot after successful command
-e <device> erase <device> before executing the command
-v output writing info. (1 more -v would output HTML format.)
-o <num> file offset
-l <num> length in file
-w read after write action to check
Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
mtd -r write linux.trx linux
which for the moment I am not able to use as it also asks me to read:
readflash <imagefile> <n> <offset> <device> read n bytes from offset of <device> to <imagefile>
I wrote to add modem support earlier, so there would be time for work and testing. Once router support was added, users would be able to use packages as normal.
I need this information about the modem to get started:
VID and PID identifier on the USB bus
serial port used for communication with the modem ("diagnostic")
For some reason the KerneI and Kernel2 dumps I made with busybox nanddump are 128k shorter than the partition itself I'm not sure why. But I'm not too worried as the OEM firmware can be downloaded from ZyXEL and it matches what I have in my dumps.
I've done it all but in the very end I get a compile error
I compile using this make -j$(nproc) V=s defconfig download clean world abd this is the final erorr:
Enabling urandom_seed
Enabling urngd
Enabling wpad
sed -i "s/Installed-Time: .*/Installed-Time: 1697700708/" /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/opkg/status
rm -rf /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/boot /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/tmp/* /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/opkg/info/*.postinst* /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/opkg/lists/* /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/var/lock/*.lock
find /opt/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/ -mindepth 1 -execdir touch -hcd "@1697700708" "{}" +
find: The relative path 'Files' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove that entry from $PATH
make[2]: *** [package/Makefile:73: package/install] Error 1
make[2]: Leaving directory '/opt/openwrt'
make[1]: *** [package/Makefile:115: /opt/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/opt/openwrt'
make: *** [/opt/openwrt/include/toplevel.mk:232: world] Error 2
I use debian 12 on WSL2 instance on Win11. I followed all the steps, got a ramips standard .config and started building with the patches of mkrle.
Could someone share a binary maybe? I would like to test IceG packages...