
Dear Maxime Boure,
In message AANLkTikp1Id70dTzpOwc1KrcpkQxjYAPzTYvB_lbCFJM@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