Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Albert ARIBAUD
Le 01/12/2010 13:35, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4cf63345.9020...@free.fr> you wrote: >>> 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 locat

Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4cf63345.9020...@free.fr> you wrote: > > 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. I'm not conviced that ech bo

Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Albert ARIBAUD
Hi Andreas, Le 01/12/2010 13:12, Andreas Bießmann a écrit : > 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

Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Andreas Bießmann
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

Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread 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. > regards > > Andreas Bießmann Amicalement, -

Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Andreas Bießmann
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

Re: [U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Albert ARIBAUD
Le 01/12/2010 09:10, Andreas Bießmann a écrit : > This is only a patch to test if BSS was accessed in any function in init > function array! > > DO NOT APPLY TO MAINLINE! Nice helping tool. Thanks! One small question > * adopt bss_mirror in arch/arm/lib/board.c:board_init_f() What do you mean

[U-Boot] [TEST] arm:board_init_f(): mirror BSS and check after each init_fnc()

2010-12-01 Thread Andreas Bießmann
This is only a patch to test if BSS was accessed in any function in init function array! DO NOT APPLY TO MAINLINE! To run the test adopt the bss_mirror value to point somwhere in RAM with sufficient space! A step by step guide is like this: * apply the patch * adopt bss_mirror in arch/arm/lib/