Booting from 4MB flash on Walnut derived board
Hi Brian,
we are using a custom board based on IBM walnut with 8 MB flash. The following configuration settings work for us:
TEXT_BASE = 0xFFF80000
#define CFG_SDRAM_BASE 0x00000000
#define CFG_FLASH_BASE 0xFF800000
#define CFG_MONITOR_BASE 0xFFF80000
/* the last two sectors for the bootloader */
#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Monitor */
#define CFG_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */
#define FLASH_BASE0_PRELIM CFG_FLASH_BASE /* FLASH bank #0 */
u-boot must be located in the upper part of the flash because the jump instruction after reset must be within 2MB. CFG_FLASH_CFI is not set in our configuration.
Best regards,
Thomas Sch?fer
____________________________________
GIGA STREAM - UMTS Technologies GmbH
Konrad-Zuse-Str. 7
66115 Saarbr?cken
Tel.: + 49 (0)681 / 95916 - 203
Fax: + 49 (0)681 / 95916 - 100
E-mail: tschaefer at giga-stream.de