I got it. Indeed it has to to with the size of u-boot.
The space in the command in your instructions "nand erase 0x0 0x80000" is too small now for u-boot.kwb. I tried "nand erase 0x0 0xc00000" (which should still be ok, as mtd0 is 1 Megabyte) and everything works fine (flashing with ${filesize} afterwards of course).

This works when flashing from u-boot. For flashing from Debian maybe "/etc/fw_env.config" must be changed? Or the commands/values in /usr/share/doc/u-boot/README.Debian which are

  sudo flash_erase /dev/mtd0 0 0
  sudo nandwrite -p /dev/mtd0 /usr/lib/u-boot/sheevaplug/u-boot.kwb

I don't know how, though. Maybe you can direct me?

Am 05.05.2018 um 14:41 schrieb Markus Krebs:
It gives the same type of error when flashing:

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


Am 05.05.2018 um 11:13 schrieb Martin Michlmayr:
Can you try:
http://ftp.debian.org/debian/pool/main/u/u-boot/u-boot_2018.05~rc3+dfsg-1_armel.deb



Reply via email to