[U-Boot-Users] Target support for qemu -M mips

Shinya Kuribayashi shinya.kuribayashi at necel.com
Thu Jan 17 10:05:57 CET 2008


>> please update .lds to the latest board/dbau1x00/u-boot.lds, etc.
>> I'd like to see
>> 	. = .;
>>   
> What does this do ?
>> 	_gp = ALIGN(16) + 0x7ff0;

It employs the output of `(CROSS_COMPILE)ld --verbose. It's a normal
link script, so I just follow it.

> Any opinions on using a single ldscript per platform, eventually 
> preprocessed with gcc -E to allow
> for board-specific differences? At  least for MIPS, all scripts are 
> essentally the same.

Looking at cpu/mpc5xxx/u-boot.lds, it seems good. Or something like
linux/arch/mips/kernel/vmlinux.lds.S is good alternative (I don't know
whether it's possible or not, though).

  Shinya





More information about the U-Boot mailing list