[U-Boot] [[Patch V2] mips: 01/16] add mips64 standalone support

Mike Frysinger vapier at gentoo.org
Sat Aug 18 17:38:31 CEST 2012


On Saturday 18 August 2012 08:22:51 Zhi-zhou Zhang wrote:
> On Sat, Aug 18, 2012 at 3:31 AM, Mike Frysinger wrote:
> > On Friday 17 August 2012 11:30:44 Zhizhou Zhang wrote:
> > > --- a/arch/mips/config.mk
> > > +++ b/arch/mips/config.mk
> > > 
> > > +ifeq "$(CPU)" "mips64"
> > > +CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80200000 -T mips64.lds
> > > +else
> > >  CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds
> > > +endif
> > 
> > the cpu config.mk is sourced after this one.  you could change this to:
> > CONFIG_STANDALONE_LOAD_ADDR ?= $(DEFAULT_MIPS_STANDALONE_LOAD_ADDR)
> > DEFAULT_MIPS_STANDALONE_LOAD_ADDR = 0x80200000 -T mips.lds
> > 
> > then in the mips64/config.mk:
> > DEFAULT_MIPS_STANDALONE_LOAD_ADDR = 0xFfffFfff80200000 -T mips64.lds
> 
> Thanks for you advising. But if I changed like so, I should modify mips32/
> config.mk and xburst/config.mk as also.

why ?  my suggestion shouldn't affect any other cpu config.mk.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120818/cced9d0d/attachment.pgp>


More information about the U-Boot mailing list