[U-Boot-Users] mpc8641hpcn linker script and the bootpg section

Swarthout Edward L-SWARTHOU ed.swarthout at freescale.com
Tue Jun 5 09:06:05 CEST 2007


From: Chris Fester
...
> So I looked further into the linker script and found this section:
>   .bootpg 0xFFF70000 :
>   {
>     cpu/mpc86xx/start.o	(.bootpg)
>     board/inav74k_ap/init.o (.bootpg)

Good catch.  There is no need to hardcode the bootpg on e600 cores.

...
> u-boot:fff00104 T law_entry   /---/u-boot/board/inav74k_ap/init.S:86
> u-boot:fff01004 T version_string

This will be fine, as the current code just has a single branch at 100.

... 
> Oh, and on a somewhat related note... why do we have to start 
> programming the image at 0xfff00100 for the 8641?  All our 
> 83xx boards we start programming at 0xfff00000.  I thought it 
> was a little odd to break the convention, but I'm not going 
> to complain given that it works for us.  I'm just curious.

Agreed.  I will submit a patch the 86xx maintainer to move
the version string to the beginning of the image and make it
reside at fff00000.

-EdS




More information about the U-Boot mailing list