[U-Boot] first u-boot program

Wolfgang Denk wd at denx.de
Wed Jun 2 12:16:23 CEST 2010


Dear Maxime Boure,

In message <AANLkTikp1Id70dTzpOwc1KrcpkQxjYAPzTYvB_lbCFJM at mail.gmail.com> you wrote:
>
> > This is not what I asked for. What I menat was: how are the
> > envrionemnt sectors configured in your flash, i. e. what are the
> > CONFIG.*ENV settings?
> 
> Is this it ?

Nearly...

> #define CONFIG_ENV_IS_IN_ONENAND	1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Your environment is in OneNAND?

> #define CONFIG_SYS_ENV_SECT_SIZE	boot_flash_sec
> #define CONFIG_ENV_OFFSET		boot_flash_off
> #define ONENAND_ENV_OFFSET		0x200000 /* environment starts here */
> #define CONFIG_ENV_ADDR			ONENAND_ENV_OFFSET

Well, and what are the seffings for boot_flash_sec, boot_flash_off ?

Eventually you want to check the tools/env/ code if it really supports
OneNAND as well, and try to debug it. I don't think this has ever been
tested with OneNAND yet.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Many aligators will be slain, but the swamp will remain.


More information about the U-Boot mailing list