[U-Boot-Users] u-boot 1.1.2 hanging when start ?

nm hongtd2k at gmail.com
Wed Aug 9 04:04:02 CEST 2006


Hi,
I'm operating on an at91rm9200-based board. My AT91RM9200 board base on Flavio Ribeiro's sbc.
After  I sucessfully write and run loader to/from dataflash, I try to make u-boot work .
I apply  DataFlash boot patch (http://www.ime.usp.br/~fr/sbc/software/cmd_bootm.patch) for u-boot 1.1.2 and using 
gcc3.3.4-cross tool chain (install following this instructions on debian : http://people.debian.org/~debacle/cross/) to build.

I have problem w/ renaming short-load-bytes <http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ> to alignment-traps  on gcc3.3.4 (
http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ)

To resolve it, I modify PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
	-mshort-load-bytes  <http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fgcc.gnu.org%2Fml%2Fgcc-patches%2F1999-11%2Fmsg00649.html&ei=8z7ZROb-Mp_isAKOnujfCQ&sig2=o6autVRiFtph0PLakcM8oQ> -msoft-float  
to  
PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
	-malignment-traps -msoft-float  to 
on u-boot-1.1.2/cpu/at91rm9200/config.mk  

After that, I get uboot.bin

But when i try to write uboot.bin to flash and start,
i have error on terminal :
Dataflash read successful: Starting U-boot...

and nothing happend, may be my board is hang...

Where am I wrong? Some one have any suggested for me ?

Thank you for your help in advance,

nm.





More information about the U-Boot mailing list