[U-Boot] Run hello world with Uboot !

thaoth thaoth at cybersoft-vn.com
Wed Oct 8 08:25:21 CEST 2008


Hi All,

Following guide at http://www.denx.de/wiki/DULG/UBootStandalone

1. Load hello_world.srec into SDRAM

=> loads
## Ready for S-Record download ...

## First Load Addr = 0x8E000000
## Last  Load Addr = 0x8E000157
## Total Size      = 0x00000158 = 344 Bytes
## Start Addr      = 0x8E000000

2. And Run

=> go 8e000000
## Starting application at 0x8E000000 ...


U-Boot 1.3.4-00404-gab00e7a-dirty (Oct  8 2008 - 11:47:35)
....

3. hello_world crash and UBoot reset.

4. Here is information of hello_world

#nm examples/hello_world
8e010158 A __bss_start
8e010158 A __data_start
8e010158 A _edata
8e010158 A _end
8e000126 T app_startup
8e0000d8 T do_reset
8e000038 T dummy
8e0000a8 T free
8e000090 T free_hdlr
8e0000c0 T get_timer
8e00003c T get_version
8e000048 T getc
8e0000e4 T getenv
8e000000 T hello_world
8e000084 T install_hdlr
8e00009c T malloc
8e000078 T printf
8e000060 T putc
8e00006c T puts
8e0000f0 T setenv
8e000108 T simple_strtol
8e0000fc T simple_strtoul
8e000114 T strcmp
8e000054 T tstc
8e0000b4 T udelay
8e0000cc T vprintf

5. Physical start address of SDRAM is 8c000000 and 

#define CONFIG_LOADADDR         0x8e000000

6. I didn't have JTAG interface so I couldn't debug it. 

Could I have a help? Anyone had same issue please tell me your idea? Thank
you alot.

This same the porting of UBoot on TEngine/SH7727 has the issue. But we don't
know what trouble shooting steps. 

Regards,
-- 
View this message in context: http://www.nabble.com/Run-hello-world-with-Uboot-%21-tp19851315p19873020.html
Sent from the Uboot - Users mailing list archive at Nabble.com.



More information about the U-Boot mailing list