wifipineapple-openwrt/tools
John Crispin f7b9691687 [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
2012-02-14 17:48:04 +00:00
..
autoconf [tools] autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg 2012-01-28 04:42:15 +00:00
automake [tools] automake: forcibly disable perl ithreads support 2012-02-01 15:06:36 +00:00
bison [tools] bison: make yacc wrapper relocatable 2012-01-20 17:30:38 +00:00
ccache tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
cloog cloog: libtools has to be run 2010-12-18 19:34:55 +00:00
cmake tools/cmake: update to version 2.8.4 2011-03-24 11:27:07 +00:00
e2fsprogs tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin 2011-02-20 03:25:56 +00:00
firmware-utils [lantiq] Support booting the Speedport W502V using BRN-BOOT. 2012-02-14 17:48:04 +00:00
flex tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
flock add a stripped down (and portable) version of flock to the host tools 2010-10-29 13:39:18 +00:00
genext2fs tools/genext2fs: do not include the host getline.h, it breaks the tool in subtle ways, and the source already has a getline replacement 2012-02-12 16:12:08 +00:00
gmp tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
include [tools] host/include/getline.h - Mac OS X 10.7 (Lion) fix 2011-08-05 16:52:46 +00:00
ipkg-utils [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214) 2011-04-13 13:26:26 +00:00
libelf libelf: get rid of CRLF encoding in the makefile (thx, danimo) 2010-06-03 00:44:49 +00:00
libtool [tools] libtool: fix accidental sed invocation in libtoolize 2012-01-21 09:49:53 +00:00
lzma tools/squashfs4: update to version 4.2 (adds support for xz compression) 2011-04-03 01:02:00 +00:00
lzma-old tools/lzma-old fix compile issues (patch from #10253) 2011-10-21 12:52:49 +00:00
m4 tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
missing-macros missing-macros: add GTKDOC_REBASE macro needed by some newer packages 2011-04-12 20:19:52 +00:00
mkimage tools/mkimage: allow to use different magic in uImages 2011-12-05 14:52:22 +00:00
mklibs mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread 2011-02-28 18:17:02 +00:00
mm-macros tools: use host build_dir instead of target build_dir 2011-11-23 04:06:57 +00:00
mpc tools/mpc: update to version 0.8.2 2010-12-09 13:30:30 +00:00
mpfr [tools] mpfr: reenable HOST_FIXUP, it *should* work okay now after r24570 2010-12-15 00:39:14 +00:00
mtd-utils tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin 2011-02-20 03:25:56 +00:00
padjffs2 tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
patch-cmdline get rid of $Id$ - it has never helped us and it has broken too many patches ;) 2009-04-17 14:09:46 +00:00
pkg-config tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
ppl ppl: go back to version 0.10.2 2010-12-18 19:34:04 +00:00
qemu tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin 2011-02-20 03:25:56 +00:00
quilt [tools] quilt: some more relocatable fixes for quilt-internal scripts 2012-01-20 17:54:43 +00:00
sed tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64) 2010-10-05 13:51:54 +00:00
squashfs rename tools/lzma to tools/lzma-old (preparation for adding a new lzma version) 2009-05-04 17:04:03 +00:00
squashfs4 squashfs4: Add support for LZMA Magic to unsquashfs 2011-10-19 10:17:28 +00:00
sstrip tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
upslug2 add a hacked up version of upslug2 which is able to flash a wrt350nv2 in recovery mode 2009-12-12 02:00:50 +00:00
upx [tools] upx: fix build error 2011-10-21 11:31:25 +00:00
wrt350nv2-builder [tools/wrt350nv2-builder]: the url isn't valid for some time 2011-02-11 14:03:04 +00:00
xfce-macros tools: use host build_dir instead of target build_dir 2011-11-23 04:06:57 +00:00
xorg-macros tools: use host build_dir instead of target build_dir 2011-11-23 04:06:57 +00:00
xz xz: update to version 5.0.2 2011-04-03 13:19:16 +00:00
yaffs2 [tools] yaffs2: fix compilation on FreeBSD 2010-07-22 02:59:14 +00:00
Makefile tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00