
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 ftp://ftp.denx.de/pub/u-boot/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 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 .
Your problem is that U-boot is linked to the wrong address (0). Instead it should be linked to the position, where you intend to run u-boot (in SDRAM) I know Wolfgang Denx diesnt like the idea of running U.boot from RAM, but you cannot run from an SPI flash, have to copy to RAM first, and the SDRAM on AT91RM9200 is located at 0x20000000 and above.
The prinout you see, is not from U.boot. It looks like a customized version of "dataflashboot.bin" It "bombs" after dataflashboot.bin has loaded u-boot into SDRAM and jumped to it starting point.
Since it is in the wrong locatgion, all the constant string pointers are off, and really only points at '\0' characters, so any attempt to printout data will fail.
You can get my u-boot at ftp://at91dist:distib@ftp.atmel.fr/ in the "third Party" directory.
do:
make at91rm9200df_config
to get dataflash support.
This u-boot is based on the same source package, but with a number of modifications, all not acceptable to Wolfgang...
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!
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&da...
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users