From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 9 Aug 2011 21:46:31 +0200 Subject: [U-Boot] pxa: Passing ATAGs to kernel don't work In-Reply-To: <4E4132BE.1040003@cit-ec.uni-bielefeld.de> References: <4E4132BE.1040003@cit-ec.uni-bielefeld.de> Message-ID: <201108092146.31667.marek.vasut@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 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