From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Wed, 01 Dec 2010 13:12:19 +0100 Subject: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc() In-Reply-To: <4CF63345.9020006@free.fr> References: <1291191050-46774-1-git-send-email-andreas.devel@googlemail.com> <4CF6175D.4020702@free.fr> <4CF61DDD.3060304@gmail.com> <4CF63345.9020006@free.fr> Message-ID: <4CF63BA3.6020603@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 12:36, schrieb Albert ARIBAUD: > hi Andreas, > > Le 01/12/2010 11:05, Andreas Bie?mann a ?crit : > >> I can not recommend a proper place for all boards cause this parameter >> is highly is board specific. > > Understood -- each board maintainer must select an adapted location for > the mirror. Yes, but I have one thing to mention. This test does only detect writing to BSS values in one of the init_sequence[] functions. In my case I detected arch/arm/cpu/arm920t/at91/timer.c as faulty. But I still have some issues booting at91rm9200ek from NOR flash. None of the init_sequence[] functions writes to a BSS value in that case ... So if the 'corrupted .dyn.rel' thing is my problem in NOR booting case .dyn.rel got corrupted before board_init_f() or by some other function call between for loop of init_sequence[] and relocate_code() ... I don't know if I get this until release of v2010.12. Maybe another maintainer is more lucky ... regards Andreas Bie?mann