[U-Boot] U-boot NAND boot support on Freescale PDK

Scott Wood scottwood at freescale.com
Fri Apr 3 18:21:01 CEST 2009


On Fri, Apr 03, 2009 at 10:21:50AM -0500, alfred steele wrote:
> I wasn't actually sure why there is a need to create a separate linker
> script like u-boot_nand.lds.

The addresses may be different than normal u-boot (though we could take
care of that by preprocessing the linker scripts), and you don't need to
pull in as many sections (though it would be harmless to do so if those
sections are empty in the loader).  mpc8313erdb uses the nand_spl linker
script to provide a link-time warning if the size limit is exceeded.

A more basic question is why does each board need its own linker script,
NAND or not?

-Scott


More information about the U-Boot mailing list