[U-Boot] [PATCH v2 0/7] Tidy up ARM link scripts

Marek Vasut marek.vasut at gmail.com
Tue Feb 21 06:53:37 CET 2012


> Hi Albert,
> 
> On Fri, Feb 17, 2012 at 2:47 AM, Albert ARIBAUD
> 
> <albert.u.boot at aribaud.net> wrote:
> > Hi Marek,
> > 
> > Le 17/02/2012 10:49, Marek Vasut a écrit :
> >>> Hi Simon,
> >>> 
> >>> Le 21/11/2011 21:49, Simon Glass a écrit :
> >>>> The ARM link scripts are very similar but each CPU has its own. This
> >>>> series adds support for a default link script across an architecture
> >>>> in arch/<arch>/cpu/u-boot.lds.
> >>> 
> >>> This patch series received no comments, and I apologize for not having
> >>> chimed in on it as it goes the right way about simplifying ARM
> >>> architecture.
> >>> 
> >>> Currently, all patches in the series do apply except patch 7, which
> >>> fails on arch/arm/cpu/pxa/u-boot.lds. As this is trivial, I'm going on
> >>> removing the file manually and testing, but can you please resubmit V3
> >>> with a fixed 1/7 patch?
> >> 
> >> Please make sure there were no changes to the linker file. I believe
> >> there were
> >> some and it might break pxa.
> >> 
> >> Thanks!
> > 
> > Thanks for pointing this out. I am not testing pxa boards now, so Simon
> > has time to submit a vV3 patch set before I get bitten by any change in
> > PXA boards.
> 
> Yes there was a change to add a 4KB MMU memory area to the link
> script, presumably to allow early MMU enable and using that cache
> space as SRAM.

Exactly, PXA250 has no SRAM so I needed some place to put stack to etc.

M
> 
> I think I will add this feature to the generic .lds file since it does
> no harm, and it's a feature I would like to implement one day (early
> MMU enable). It might help ARM11 also.
> 
> > Amicalement,
> > --
> > Albert.
> 
> Regards,
> Simon


More information about the U-Boot mailing list