From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Wed, 01 Dec 2010 11:05:17 +0100 Subject: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc() In-Reply-To: <4CF6175D.4020702@free.fr> References: <1291191050-46774-1-git-send-email-andreas.devel@googlemail.com> <4CF6175D.4020702@free.fr> Message-ID: <4CF61DDD.3060304@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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