1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-23 00:02:54 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
cshore
f5c866b902 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
2011-04-15 12:18:25 +00:00
florian
b7660536c6 bcm63xx: Really fix the flash driver in 2.6.37
Read back the actual rootfs length from the image tag.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 16:55:01 +00:00