[OpenWrt-Devel] [PATCH 2/2] lantiq: get rid of ltq-vdsl-fw

Andre Heider a.heider at gmail.com
Sat Dec 19 03:14:37 EST 2015

Hi again,

On Fri, Dec 11, 2015 at 11:50 AM, John Crispin <blogic at 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.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list