[U-Boot-Users] Load/run application

Chan Queenie-r54684 Queenie.Chan at motorola.com
Tue Oct 28 08:19:21 CET 2003


Hi,

I have the u-boot running normally on my board.  I downloaded the default hello_world.bin onto the board at memory location 40004.  I can see the data there is correct as it is the same as my .bin file.  However, when I type 
"=> go 40004 Hello World! This is a test."
as instructed in the readme file, a Program Check Exception occurs.  Can anyone tell me why?

I'm attaching the program dump below:

==================================
=> printenv
bootcmd=run t
bootdelay=5
baudrate=115200
ethaddr=0x00:c0:12:34:56:78
ipaddr=10.196.31.123
serverip=10.196.4.49
stdin=serial
stdout=serial
stderr=serial
loadaddr=40004
bootfile=hello_world.bin

Environment size: 193/16380 bytes
=> tftpboot
TFTP from server 10.196.4.49; our IP address is 10.196.31.123
Filename 'hello_world.bin'.
Load address: 0x40004
Loading: #############
done
Bytes transferred = 65976 (101b8 hex)

=> go 40004 Hello World! This is a test.
## Starting application at 0x00040004 ...
NIP: 00040004 XER: 00000000 LR: 01FE9108 REGS: 01fb6b78 TRAP: 0700 DAR: 01FB6C50
MSR: 0008b002 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 00

GPR00: 01FE90F8 01FB6C68 FFFF3FFF 00000007 01FB6E94 00000010 FFFFFFFE 00000004
GPR08: 00000041 04700088 00000000 04700091 00000000 E7FBFBFF 01FFC000 03FDB000
GPR16: FFFFFFFF 7FFF7FFD FFFFFFFF FF77BFFF EFFFFFFF 00000001 FFFFFFFF 00000000
GPR24: 00000001 00000000 01FB6E90 00000008 00040004 01FB6F70 01FFC8D4 01FB6E94
Call backtrace:
01FE90F8 01FE4508 01FE3CD0 01FDFF28 01FDE48C
Program Check Exception
=============================================

Thank you very much!

Best Regards,
Queenie Chan
NCSD Application Engineer




More information about the U-Boot mailing list