[lantiq] Support booting the Speedport W502V using BRN-BOOT.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Feb 2012 17:48:04 +0000 (17:48 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Feb 2012 17:48:04 +0000 (17:48 +0000)
commit61b8a7cdc6c12e05262042b4f1e21ff16bfb47c6
tree99f52b7f4e0ef57fdafe33f296ef62795f501987
parentcefea1a955c897a33b45d8fcd7a5b0dfc6b04474
[lantiq] Support booting the Speedport W502V using BRN-BOOT.

While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/lantiq/files-3.1/arch/mips/lantiq/xway/mach-arv45xx.c
target/linux/lantiq/image/Makefile
target/linux/lantiq/patches/206-owrt-brnboot.patch [new file with mode: 0644]
tools/firmware-utils/Makefile
tools/firmware-utils/src/mkbrncmdline.c [new file with mode: 0644]
tools/firmware-utils/src/mkbrnimg.c [new file with mode: 0644]
This page took 0.027834 seconds and 4 git commands to generate.