Am 05.05.2018 um 20:36 schrieb Markus Krebs:
Am 05.05.2018 um 20:35 schrieb Martin Michlmayr:
* Markus Krebs <markus.kr...@web.de> [2018-05-05 20:32]:
I got it. Indeed it has to to with the size of u-boot.

Does it boot?


Yes it does.

... and no longer so, when I "saveenv" :-(

I downloaded u-boot via git; I guess that the config for u-boot for sheevaplug is already broken upstream (in sheevaplug.h):

  #define CONFIG_ENV_SIZE                 0x20000 /* 128k */
  #define CONFIG_ENV_ADDR                 0x80000
  #define CONFIG_ENV_OFFSET               0x80000 /* env starts here */

but the environment shouldn't start at 0x80000 when u-boot.kwb > 524 KB; in this case 'saveenv' overwrites u-boot (?). Changing 0x80000 to 0xa0000 helps ; I compiled a u-boot.kwb from the so-modified sources, and now I can start Debian fine.

Markus

Reply via email to