bcm63xx: Move the OpenWrt rootfs length field
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Apr 2011 12:18:25 +0000 (12:18 +0000)
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Apr 2011 12:18:25 +0000 (12:18 +0000)
commitf5c866b902908a8e2c63c63e027d5aa562f1c9e7
treebe3eed32a0f0f4abc6895b3890ee1276d15d3a42
parent1518b9d70ce04d329cb964455c5d1b9d86fd775b
bcm63xx: Move the OpenWrt rootfs length field

Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm63xx/files/arch/mips/include/asm/mach-bcm63xx/bcm_tag.h
target/linux/brcm63xx/patches-2.6.37/041-bcm963xx_real_rootfs_length.patch
tools/firmware-utils/src/imagetag.c
tools/firmware-utils/src/imagetag.ggo
tools/firmware-utils/src/imagetag_cmdline.c
tools/firmware-utils/src/imagetag_cmdline.h
This page took 0.023025 seconds and 4 git commands to generate.