
Dear Albert ARIBAUD,
Am 01.12.2010 10:37, schrieb Albert ARIBAUD:
Le 01/12/2010 09:10, Andreas Bießmann a écrit :
- adopt bss_mirror in arch/arm/lib/board.c:board_init_f()
What do you mean exactly by this?
this parameter needs to be adopted by SoC/board tester.
In short words, adopt that line to your needs:
--->8--- + bss_mirror = (uint32_t*)(CONFIG_SYS_SDRAM_BASE + 0x600000); ---8<---
The tester have to place the 'bss_mirror' space to an appropriate value. at91rm9200ek does have 32MiB of SDRAM, the topmost part is always used for stack, GD, u-boot after relocation a.s.o. I usually use the RAMBOOT configuration of at91rm9200ek. In that case TEXT_BASE is SDRAM_BASE + 0x100000. Therefore I use here 0x600000 (u-boot size plus safety). I can not recommend a proper place for all boards cause this parameter is highly is board specific.
regards
Andreas Bießmann