AnsweredAssumed Answered

imx51 u-boot

Question asked by wysockilukasz on Jun 19, 2013
Latest reply on Jun 25, 2013 by Wigros Sun

Hello,

I have custom board with imx51, and u-boot 2009.

System starts from sd card but I would like to port it to parallel nor flash (Micron m29ew)  connected do CS0.

I modified config.h,

change: CONFIG_FLASH_HEADER_OFFSET 0x1000 /* 0x400 */

add:

#define CONFIG_SYS_FLASH_BASE       0Xb0000000
#define CONFIG_SYS_MAX_FLASH_BANKS  1      
#define CONFIG_SYS_MAX_FLASH_SECT   (1)    

#define CONFIG_SYS_MONITOR_BASE    0xb0000000

#define CONFIG_SYS_MONITOR_LEN   (384 * 1024)

 

#define CONFIG_ENV_ADDR         (CONFIG_SYS_FLASH_BASE + 384 * 1024)
#define    CONFIG_ENV_IS_IN_FLASH  1

#define CONFIG_ENV_SECT_SIZE    1023

#define CONFIG_ENV_OFFSET    ( CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN )

/*-----------------------------------------------------------------------

* CFI FLASH driver setup

*/

#define CONFIG_SYS_FLASH_CFI   1   

#define CONFIG_FLASH_CFI_DRIVER    1 

#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1 

#define CONFIG_SYS_FLASH_ERASE_TOUT (100*CONFIG_SYS_HZ)
#define CONFIG_SYS_FLASH_WRITE_TOUT (100*CONFIG_SYS_HZ)

 

 

and set up all efuse but u-boot doesn't even start.

 

Can you help me?

Lukasz


Outcomes