* Vagrant Cascadian <vagr...@debian.org> [2018-05-04 08:40]:
> I do recall that there was some incompatible change regarding the
> environment size on some of the marvell platforms, as u-boot.kwb grew
> large enough to overwrite the environment section.

Uh, this might not be an u-boot issue then but a problem with my
upgrade instructions (although Markus said he tried to do the update
from within Debian too, so maybe not).

https://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade/ says:
nand write 0x0800000 0x0 0x80000

0x80000 = 524288

but:
-rw-r--r-- 1 tbm tbm 599684 Apr  2 03:20 usr/lib/u-boot/sheevaplug/u-boot.kwb

so we're not writing the whole binary to flash.

The reason I used 0x80000 instead of ${filesize} is because very old
u-boot versions (as originally shipped on the SheevaPlug) have
problems with ${filesize}:

    NAND write: device 0 offset 0x0, size 0x68ab0
    nand_write_ecc: Attempt to write not page aligned data
     0 bytes written: ERROR

-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to