[U-Boot-Users] Re: Question about porting u-boot
joe.culler at gmail.com
Mon Dec 12 16:21:08 CET 2005
On 12/12/05, Wolfgang Denk wrote:
> In message Joe Culler wrote:
> > I don't know how to determine CFG_ENV_ADDR. Why does it add 0x0F0000
> > or 0x070000?
> You must come up with a sector map of your flash device(s) and define
> which sector(s) to use for the U-Boot environment. In this case the
> offset of the used sector chages depending on the size of the used
> flash chips - it's always 0x10000 = 64 kB from the end.
I see, thank you for your clear explaination.
> > Another question is If I save u-boot in NOR flash, can my kernel boot from
> > NAND? or should I save u-boot in NAND?
> Yes, you can. No, you should not.
If I shouldn't do that, I should save u-boot in NAND instead if I want
boot from NAND. But it seems to add a lot of code in include/configs/smdk2410.h?
> Best regards,
> Wolfgang Denk
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> If God wanted me to touch my toes, he'd have put them on my knees.
More information about the U-Boot