[U-Boot] Problem in Optimizing the Boot Loader in Start.s of MPC85xx

Scott Wood scottwood at freescale.com
Wed Dec 3 19:30:29 CET 2008


On Wed, Dec 03, 2008 at 04:05:14PM +0530, Vignesh Kumar B   wrote:
> I have tried modifying the Start.s of uboot as mentioned below.
> When I try to link I get an error "`.bootpg' can't be allocated in
> segment 1".
> Can someone guide me on this. I am also attaching the start.o and the
> linker script that I am using along with this mail.
> 
> When I see the dump of start.o I find that it occupies space around
> 0x1c0, let say max 0x200. 
> But why then I get this error as this is less than the 4K page mapped.
> Should I change anything let me know.

How big is the u-boot image as a whole (if you remove the bootpage stuff
so it will link)?  What is the diff between a working version and your
changes?

-Scott


More information about the U-Boot mailing list