2011-06-30 14:54:55     Booting U-Boot without using flash .. possible ?

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2011-06-30 14:54:55     Booting U-Boot without using flash .. possible ?

Peter Kampmann (GERMANY)

Message: 101934   

 

Hi everyone,

 

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

 

any flash module.

 

 

 

Thanks for your help,

 

Peter

QuoteReplyEditDelete

 

 

2011-06-30 14:59:40     Re: Booting U-Boot without using flash .. possible ?

Mike Frysinger (UNITED STATES)

Message: 101935   

 

u-boot can support whatever the processor supports.  so if the Blackfin you're using supports booting from somewhere other than flash, than u-boot can be booted via that:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:booting_methods

 

otherwise, your question isnt entirely clear as to what information you're seeking.

QuoteReplyEditDelete

 

 

2011-06-30 15:33:21     Re: Booting U-Boot without using flash .. possible ?

Peter Kampmann (GERMANY)

Message: 101936   

 

aah of course, based from the bootmodes this is clear.

 

But  i am wondering how i need to configure my board header file in order not to search for the 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 ?

QuoteReplyEditDelete

 

 

2011-06-30 15:35:57     Re: Booting U-Boot without using flash .. possible ?

Mike Frysinger (UNITED STATES)

Message: 101937   

 

please read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:parallel-flash#disabling_support

QuoteReplyEditDelete

 

 

2011-06-30 15:41:42     Re: Booting U-Boot without using flash .. possible ?

Peter Kampmann (GERMANY)

Message: 101938   

 

thanks for the hint and sorry for not finding this information before.

 

 

 

Peter

QuoteReplyEditDelete

 

 

2011-06-30 15:45:26     Re: Booting U-Boot without using flash .. possible ?

Mike Frysinger (UNITED STATES)

Message: 101939   

 

there is a u-boot index which should allow you to locate everything u-boot related quickly:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot

Attachments

    Outcomes