Hi again, On Fri, Dec 11, 2015 at 11:50 AM, John Crispin <blo...@openwrt.org> wrote: > had a chat with hauke. the bdiff between the A and B FW is around 64K. > the idea would be to patch dsl_control to have a mechanism similar to > the dsl_notify script. dsl_control would call the script once before fw > loading with the "prepare" parameter and once the FW is loaded it will > call the script again with the "delete" parameter. > > the script will then make sure to copy/patch the fw to /tmp on prepare > and remove it again on delete. this would allow storing both files in > the lzma area of the flash and we could runtime patch the FW on demand. > > volunteers to welcome ;)
I could look into that I guess. Which would mean we need a host tool to create a binary patch and a target tool to apply it. Is such a tool already used anywhere in openwrt? But it'll mean that a patched fw in /tmp would use an additional ~1mb memory. Regards, Andre _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel