Aaronwu

Booting U-Boot without using flash .. possible ?

Discussion created by Aaronwu Employee on Sep 7, 2011
Latest reply on Oct 10, 2011 by Aaronwu

Hi everyone,

my question is if it is technically possible to configure u-boot to  work without

any flash module.

I started based on the bf537-stamp board. the section about the flash  settings seems to necessary for compilation.

I also started to comment out most of the stuff in the bf537-stamp.c  from the corresponding boards folder, but i am still getting errors like  those:

 

/u-boot-2010.06-2010R1-RC2/arch/blackfin/lib/board.c:335: undefined  reference to `flash_init'
/u-boot-2010.06-2010R1-RC2/arch/blackfin/lib/board.c:337: undefined  reference to `flash_info'

my bf537-stamp.h looks like this in the flash part:

#define CONFIG_EBIU_AMGCTL_VAL    0xF0 /*0xFF*/
#define CONFIG_EBIU_AMBCTL0_VAL    0x7BB07BB0
#define CONFIG_EBIU_AMBCTL1_VAL    0xFFC27BB0

 

#define CONFIG_SYS_MONITOR_LEN        (512 * 1024)
#define CONFIG_SYS_MALLOC_LEN        (384 * 1024)

 

/*
  * Flash Settings
  */
/*
#define CONFIG_FLASH_CFI_DRIVER
/* Start Address ASYNC Memory Bank 0
*/
#define CONFIG_SYS_FLASH_BASE        0x00000000 /*0x20000000*/
/*
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_SYS_FLASH_PROTECTION
*/
#define CONFIG_SYS_MAX_FLASH_BANKS    0 /*1*/
/* some have 67 sectors (M29W320DB), but newer have 71 (M29W320EB) */
#define CONFIG_SYS_MAX_FLASH_SECT    0 /*71*/

Can someone point to some proper configuration ?

Outcomes