Le 06/10/2010 08:45, Reinhard Meyer a écrit : > Dear Albert ARIBAUD,
> Also I observed problems with old AT91 code since without > CONFIG_SYS_ARM_WITHOUT_RELOC board_init() is called very early, with it > is called after relocation is done. I think most AT91 boards that copied > code from AT91SAM9***-EK's have to correct their code because "early init" > stuff is done in board_init(). This was to be expected whatever relocation method is used. Before relocation, board_init_f was running in the final memory mapping. Now it runs (as it should always have) in a limited C environment, with read-only globals, no BSS, only partial gd access... FTR, it hit my orion5x based edminiv2 too in places. >> What do you mean by 'relocation-*preventing* code'? > > Everything, including the #if's that is there for the non-relocating cases. Ok. > Best Regards, > Reinhard Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot