[U-Boot-Users] Question about porting u-boot
Joe Culler
joe.culler at gmail.com
Mon Dec 12 15:38:19 CET 2005
Hello there,
I got a customized board, which is based on S3C2410.
a 2MB NOR flash SST 39xF1601 and a 64M NAND flash K9F1208.
In the file include/configs/smd2410.h:
...
#ifdef CONFIG_AMD_LV800
#define PHYS_FLASH_SIZE 0x00100000 /* 1MB */
#define CFG_MAX_FLASH_SECT (19) /* max number of sectors on one chip */
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x0F0000)
#ifdef CONFIG_AMD_LV400
#define PHYS_FLASH_SIZE 0x00080000 /* 512KB */
#define CFG_MAX_FLASH_SECT (11) /* max number of sectors on one chip */
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x070000)
I don't know how to determine CFG_ENV_ADDR. Why does it add 0x0F0000
or 0x070000?
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?
Thank you very much.
Regards,
Joe.
More information about the U-Boot
mailing list