This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
2big_nas [2013/06/27 09:40] – hanno | 2big_nas [2013/06/27 17:07] – hanno | ||
---|---|---|---|
Line 528: | Line 528: | ||
* #define CFG_NAND_U_BOOT_DST | * #define CFG_NAND_U_BOOT_DST | ||
* #define CFG_NAND_U_BOOT_START | * #define CFG_NAND_U_BOOT_START | ||
- | | + | |
+ | = Trying to find ENV in NAND = | ||
+ | |||
+ | I think it uses /* Use the new NAND code. */ in mv_kw.h | ||
+ | And it also #undef CFG_ENV_IS_IN_FLASH which is interesting... | ||
+ | Think only need ENV_SIZE and ENV_OFFSET when in NAND | ||
+ | |||
+ | #define CFG_ENV_OFFSET 0xA0000 (640 << 10) /* environment starts here */ | ||
+ | #define CFG_ENV_SECT_SIZE 0x20000 (128 << 10) /* environment take 1 block */ | ||
+ | #define CFG_ENV_SIZE 0x20000 (CFG_ENV_SECT_SIZE) / | ||
+ | #define CFG_NBOOT_BASE 0 | ||
+ | #define CFG_NBOOT_LEN 0x01000 (4 << 10) /* Reserved 4KB for boot strap */ | ||
+ | # | ||
+ | #define CFG_MONITOR_BASE 0 | ||
+ | #define CFG_MONITOR_IMAGE_OFFSET 0 /* offset of the monitor from the u-boot image */ | ||
+ | #define CFG_MONITOR_IMAGE_DST 0x60000? | ||
+ | #define CFG_ENV_ADDR | ||
+ |