[U-Boot-Users] U-Boot 1.2 - Cannot run hello_world - Coldfire
Arun Biyani
"abiyani at unix dot telasic dot com" at unix.telasic.com
Wed Jun 13 23:47:54 CEST 2007
Wolfgang Denk wrote:
> In message <200706132101.OAA10296 at unix.telasic.com> you wrote:
>
>> I have a target board with a Coldfire CPU. I am unable to run the
>> example program
>> hello_world which comes with the distribution. Transcript of session is
>> below. What
>> am I missing? The cross compile tools were run on Linux (FC 7),
>>
>
> You missed to read the documentatiomn, especially the FAQ:
> http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
>
> Best regards,
>
> Wolfgang Denk
>
>
On my Linux host,
[examples$:1010] m68k-elf-nm hello_world
00020208 T app_startup
000222f8 A __bss_start
000201b4 T do_reset
000200ac T dummy
000222f8 A _edata
000222f8 A _end
00020164 T free
0002013c T free_hdlr
000200c4 T getc
000201c8 T getenv
0002018c T get_timer
000200b0 T get_version
000222b0 D _GLOBAL_OFFSET_TABLE_
00020000 T
hello_world
<---------------
00020128 T install_hdlr
00020150 T malloc
00020114 T printf
000200ec T putc
000200ec T putc
00020100 T puts
000201dc T setenv
000201f0 T simple_strtoul
000200d8 T tstc
00020178 T udelay
000201a0 T vprintf
[examples$:1011]
-----------------------------------------------------------------------------------------------------------------------------------
On my target Coldfire based board,
U-Boot 1.2.0 (Jun 13 2007 - 07:36:11)
CPU: Freescale MCF5272 (Mask:1)
Board: Telasic RLB 2.0
DRAM: 16 MB
FLASH: 32 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
-> loads
## Ready for S-Record download ...
## First Load Addr = 0x00020000
## Last Load Addr = 0x000222F7
## Total Size = 0x000022F8 = 8952 Bytes
## Start Addr = 0x00020000
-> go 0x00020000
## Starting application at 0x00020000 ...
*** Unexpected exception ***
Vector Number: 4 Format: 04 Fault Status: 0
PC: 00ff94fc SR: 00002000 SP: 00f6daf8
D0: 00000000 D1: 0000048c D2: 00f6ded8 D3: 00000001
D4: 000000f3 D5: 00000000 D6: 00000000 D7: 00f7df90
A0: 00fed912 A1: 00ff94fc A2: 00020000 A3: 00f6ded8
A4: 00000002 A5: 00ff7300 A6: 00f6db54
*** Please Reset Board! ***
More information about the U-Boot
mailing list