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

2009-04-03 Thread alfred steele
Hi Magnus,

Thanks for the response:)
 Until yesterday you were correct. I spent some time updating the
 published patches to the current u-boot and the status now is that I
 was able to compile the stuff. Haven't tried it on a PDK board yet but
 I'm hoping to do that in a couple of days.
 I will post patches when the stuff is running,  the patches will most
 likely not be ready to be merged as there are previous comments to
 take care of.
Ii had actually embarked myself on modifying the lowlevelinit.S and
start.S to create a SPL for uboot although i wasn't sure of finishing
it that soo;(. I hope these files apart from the linker
script(u-boot.lds)  and the config files(config.mk and Makefile) are
the ones that need to change for getting NAND boot to work.
Please correct me if i don't understand it correctly.

I wasn't actually sure why there is a need to create a separate linker
script like u-boot_nand.lds.

So i hope the patch would be ready in a couple of days. If you want me
to try them on the PDK before you actually release it, that would be
great.

Another thing i noticed while poking around the code is that though
MX35 PDK had SDHC(sd card) drivers in it, the MX31 did not. Would it
be in a individual GIT , e.g  the U-boot mmc git.

Thanks,
Alfred.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2009-04-03 Thread Scott Wood
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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot