[U-Boot] debug uboot from ram for x86 board
LanceZ
Lance.Zhang at taihootech.com
Thu Dec 25 06:52:58 CET 2008
Hi there,
I am trying to add some codes(driver) to u boot, but I do not have jtag or
other debugging tools. what I can use are :serial port/ethernet, so I can
use tftp and loadb to download the bin to ram.
Currently, I tried to use "loadb" to load the sample(hello_world) to ram and
then execute it, I always failed .here are the output for my testing.
I rename hello_world to rt61test
then rebuild all uboot
use nm command get follows:
00040000 T rt61test
00040098 T dummy
then start my board
In: serial
Out: serial
Err: serial
Net: i82559#0
boot > loadb 0x40000
## Ready for binary (kermit) download to 0x00040000 at 115200 bps...
## Start Addr = 0x00040000
boot > go 40000
## Starting application at 0x00040000 ...
Invalid Instruction at 0000:00000000
I also tried other address for loadb(loadb 0x1000000)
I got the same error result
Appreciate anyone can give me a direction or explain the error
Thanks
--
View this message in context: http://www.nabble.com/debug-uboot-from-ram-for-x86-board-tp21165593p21165593.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
More information about the U-Boot
mailing list