Hi everybody!
I'm building u-boot bin file to load into ARM9 single board ( Atmel AT91RM9200 ).
With default functions ( command ) of u-boot version
1.1.4, u-boot is loaded into my board and run correctly.
Note: I use
u-boot-1.1.4-g7213859d.tar.bz2
downloaded from
ftp://ftp.denx.de/pub/u-boot/, I also try u-boot source from git repository
http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git
But when i add some functions for usb storage (
i want to boot my debian os in compact flash ), u-boot can't start.
some lines added in include/configs/at91rm9200dk.h##############################
##############################
#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_COMMANDS \
((CONFIG_CMD_DFL | CFG_CMD_MII | CFG_CMD_PING | CFG_CMD_USB ) & \
~(CFG_CMD_BDI | \
CFG_CMD_IMI | \
CFG_CMD_AUTOSCRIPT | \
CFG_CMD_FPGA | \
CFG_CMD_MISC | \
CFG_CMD_LOADS ))
/* For USB support */
#if (CONFIG_COMMANDS & CFG_CMD_USB)
#define CONFIG_USB_STORAGE
#define CONFIG_USB_OHCI
#define CONFIG_DOS_PARTITION
/*#define CONFIG_USB_KEYBOARD */
/*#define CFG_DEVICE_DEREGISTER */
/*#define CONFIG_SUPPORT_VFAT*/
#define LITTLEENDIAN
#endif /* CONFIG_COMMANDS & CFG_CMD_USB*/
############################################################
Then build u-boot.bin and load into. The terminal display :
######################################
1: Upload loader to Dataflash with vector 6 modification.
2: Upload u-boot to Dataflash.
3: Upload linux to Dataflash
4: Start U-boot
5: [nm] Identify Dataflash
[nm] dataflash_print_info :.id =
DataFlash:AT45DB321
Dataflash read successful: Starting U-boot
######################################
and stop here.... and I can't use u-boot.
Can you give me some suggestion. If possible, can you share me your u-boot.bin
.
PS:
I send you some attack files: one for my u-boot.bin ( can't start ),
one for at91rm9200dk.h, one for my board picture. You check and give me
some suggestion.
Thank you!