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

John Crispin blogic at openwrt.org
Fri Dec 11 05:50:02 EST 2015


Hi,

On 29/11/2015 20:46, Andre Heider wrote:
> John mentioned an existing mechanism to ship B per default with an
> optional patch on to top to morph it into A, iiuc [0]. That might
> work, I haven't looked into it.

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 ;)

	John
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list