[U-Boot] pxa: Passing ATAGs to kernel don't work

Marek Vasut marek.vasut at gmail.com
Tue Aug 9 21:46:31 CEST 2011


On Tuesday, August 09, 2011 03:14:38 PM Stefan Herbrechtsmeier wrote:
> Hi,
> 
> after porting my board support from u-boot 2009.11 to 2011.06
> together with adding the relocation support
> the ATAGs passing don't work any more.
> 
> I have add icache_disable() and dcache_disable()
> to my board_init() like on other pxa boards.
> 
> It looks like the mapping of the Dcache as RAM is not cleared
> and will be re-enabled by the kernel.

Thanks for tracing this, can you submit a patch ?
> 
> If I change the initial RAM mapping from first SDRAM partition start
> address to second unused SDRAM partition start address the ATAGs passing
> works.
> 
> Can somebody confirm that the ATAGs passing works on u-boot 2011.06 for
> a pxa board.
> 
> Is there any reason, that the initial RAM is mapped to SDRAM start
> address range?

I think now it can be changed. Maybe there was something about OneNAND IPL, I'm 
not really sure anymore.
> 
> Addition there is a bug in pxa_dram_init as it is called before relocation
> and want to trigger some refresh cycles by write some values to the SDRAM
> start address range but instead writes to the mapped initial RAM.

Patch is welcome please.
> 
> Regards,
>      Stefan


More information about the U-Boot mailing list