[PATCH] ARM: enable MMU in pbl

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sat Sep 22 07:41:53 EDT 2012


On 12:21 Sat 22 Sep     , Sascha Hauer wrote:
> On Fri, Sep 21, 2012 at 04:46:31PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 15:23 Fri 21 Sep     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > On 21:56 Thu 20 Sep     , Sascha Hauer wrote:
> > > > On Thu, Sep 20, 2012 at 08:52:43PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > > > On 16:30 Sun 12 Aug     , Sascha Hauer wrote:
> > > > > > The following enables the MMU during decompression which speeds up
> > > > > > things significantly.
> > > > > 
> > > > > Atmel board does not boot
> > > > > 
> > > > > barebox at Atmel at91sam9m10g45-ek:/ dhcp && nfs
> > > > > /opt/work/barebox/build/sam9m10g45ek-compressed/arch/arm/pbl/zbarebox.bin &&
> > > > > bootm zbarebox.bin
> > > > > phy0: Link is up - 100/Full
> > > > > DHCP client bound to address 192.168.200.43
> > > > > 
> > > > > Filename
> > > > > '/opt/work/barebox/build/sam9m10g45ek-compressed/arch/arm/pbl/zbarebox.bin'.
> > > > > 	[#################################################################]
> > > > > 
> > > > > without MMU boot fine
> > > > 
> > > > does it work with the v1 version of this patch?
> > > work but can use nand :(
> > work but can *not* use nand :(
> 
> The at91 port depends on at91bootstrap as first stage loader, right? So
> booting from NAND seems to need out of tree code. I can't help you then.
no I'm working to add it and drop the at91boostrap so it's mandatory for me
to have the MMU and nand access in the PBL

Best Regards,
J.



More information about the barebox mailing list