[U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner

Liu Dave-R63238 DaveLiu at freescale.com
Mon Jul 27 23:38:47 CEST 2009


> > with this patch, this mpc8313 board does this:
> > 
> > U-Boot 2009.06-00524-g28958b8 (Jul 23 2009 - 18:33:11) MPC83XX
> > 
> > Reset Status:
> > 
> > CPU:   e300c3, MPC8313E, Rev: 1.0 at 333.333 MHz, CSB: 166.667 MHz
> > Board: Freescale MPC8313ERDB
> > I2C:   ready
> > DRAM:  128 MB
> > FLASH: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
> > *** failed ***
> > ### ERROR ### Please RESET the board ###
> > 
> > and when reverted, it boots normally, so the board wants to 
> agree that
> > this patch is reverted.
> 
> Flash is mapped cacheable on 8313erdb (and some other 83xx 
> boards) -- it
> shares a BAT with the locked cache area.

Yes. Scott is right.
The rootcause is the classic PPC has not enough BAT.


More information about the U-Boot mailing list