[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
Thu Jun 14 03:29:52 CEST 2007


Wolfgang Denk wrote:
> In message <200706132147.OAA13240 at unix.telasic.com> you wrote:
>   
>> -> loads
>> ## Ready for S-Record download ...
>>     
>
> Which exact file did you download here?
>
> Can you please dump the first 100 bytes or so of this file under Linux
> (for example using xxd), and then...
>   
Output of    "xxd < hello_world.srec":
*0000000: 5330 3133 3030 3030 3638 3635 3643 3643  S013000068656C6C
0000010: 3646 3546 3737 3646 3732 3643 3634 3245  6F5F776F726C642E
0000020: 3733 3732 3635 3633 3736 0d0a 5332 3134  7372656376..S214
0000030: 3032 3030 3030 3445 3536 4646 4630 3438  0200004E56FFF048
0000040: 4437 3234 3043 3236 3245 3030 3038 3234  D7240C262E000824
0000050: 3245 3030 3043 3444 0d0a 5332 3134 3032  2E000C4D..S21402
0000060: 3030 3130 3246 3032 3232 3644 3030 3343  00102F02226D003C
0000070: 3445 3931 3438 3738 3030 3033 3246 3244  4E91487800032F2D
0000080: 3030 3043 4433 0d0a 5332 3134 3032 3030  000CD3..S2140200
0000090: 3230 3232 3644 3030 3243 3445 3931 3232  20226D002C4E9122
00000a0: 3644 3030 3434 3445 3931 3246 3030 3246  6D00444E912F002F
00000b0: 3244 4632 0d0a 5332 3134 3032 3030 3330  2DF2..S214020030
00000c0: 3030 3130 3232 3644 3030 3243 3445 3931  0010226D002C4E91
00000d0: 3246 3244 3030 3134 3232 3644 3030 3243  2F2D0014226D002C
00000e0: 4534 0d0a 5332 3134 3032 3030 3430 3445  E4..S2140200404E
00000f0: 3931 3246 3033 3246 3244 3030 3138 3232  912F032F2D001822
0000100: 3644 3030 3243 3445 3931 3234 3432 3234  6D002C4E91244224
0000110: 0d0a 5332 3134 3032 3030 3530 3432 3832  ..S2140200504282
0000120: 3446 4546 3030 3230 3630 3145 3230 3132  4FEF0020601E2012
0000130: 3636 3034 3230 3244 3030 3143 4634 0d0a  6604202D001CF4..
0000140: 5332 3134 3032 3030 3630 3246 3030 3246  S2140200602F002F
0000150: 3032 3246 3244 3030 3230 3232 3644 3030  022F2D0020226D00
0000160: 3243 3445 3931 3532 3832 3346 0d0a 5332  2C4E9152823F..S2
0000170: 3134 3032 3030 3730 3538 3841 3446 4546  14020070588A4FEF
0000180: 3030 3043 4236 3832 3643 4445 3246 3244  000CB6826CDE2F2D

*
>   
>> ## First Load Addr = 0x00020000
>> ## Last  Load Addr = 0x000222F7
>> ## Total Size      = 0x000022F8 = 8952 Bytes
>> ## Start Addr      = 0x00020000
>>     
>
>
> ...type "md 20000" here before trying to start the image?
>   
See Below for transcript. Board hangs after go command.
>   
>> -> go 0x00020000
>> ## Starting application at 0x00020000 ...
>>     
>
> Eventually you did not download the binary image?
>   
I have not tried binary yet.
> Best regards,
>
> Wolfgang Denk
>
>   
U-Boot 1.1.6 (Jun  5 2007 - 07:23:45)

CPU:   Freescale MCF5272 (Mask:1)
Board: Telasic RLB 2.0 (Arun Biyani)
DRAM:  16 MB
Reserving 135k for U-Boot at: 00fde000
Reserving 256k for malloc() at: 00f9e000
Reserving 64 Bytes for Board Info at: 00f9dfc0
Reserving 48 Bytes for Global Data at: 00f9df90
Reserving 64k for boot parameters at: 00f8df90
Stack Pointer at: 00f8df78
Start relocate of code from fe000400 to 00fde000
Now running in RAM - U-Boot at: 00fde000
FLASH: flash_protect ON: from 0xFE000000 to 0xFE03FFFF
protect on 0
protect on 1
32 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
U-Boot relocated to 00fde000
### main_loop entered: bootdelay=5

### main_loop: bootcmd="<UNDEFINED>"
-> loads
## Ready for S-Record download ...

## First Load Addr = 0x00020000
## Last  Load Addr = 0x000222F7
## Total Size      = 0x000022F8 = 8952 Bytes
## Start Addr      = 0x00020000
-> md 20000
00020000: 4e56fff0 48d7240c 262e0008 242e000c    NV..H.$.&...$...
00020010: 2f02226d 003c4e91 48780003 2f2d000c    /."m.<N.Hx../-..
00020020: 226d002c 4e91226d 00444e91 2f002f2d    "m.,N."m.DN././-
00020030: 0010226d 002c4e91 2f2d0014 226d002c    .."m.,N./-.."m.,
00020040: 4e912f03 2f2d0018 226d002c 4e912442    N././-.."m.,N.$B
00020050: 42824fef 0020601e 20126604 202d001c    B.O.. `. .f. -..
00020060: 2f002f02 2f2d0020 226d002c 4e915282    /././-. "m.,N.R.
00020070: 588a4fef 000cb682 6cde2f2d 0024226d    X.O.....l./-.$"m
00020080: 002c4e91 588f226d 00344e91 4a8067f6    .,N.X."m.4N.J.g.
00020090: 226d0030 4e912f2d 0028226d 002c4e91    "m.0N./-.("m.,N.
000200a0: 42804cee 240cfff0 4e5e4e75 4e560000    B.L.$...N^NuNV..
000200b0: 2047d1fc 0000002c 2050d1fc 00000000     G....., P......
000200c0: 20504ed0 2047d1fc 0000002c 2050d1fc     PN. G....., P..
000200d0: 00000004 20504ed0 2047d1fc 0000002c    .... PN. G.....,
000200e0: 2050d1fc 00000008 20504ed0 2047d1fc     P...... PN. G..
000200f0: 0000002c 2050d1fc 0000000c 20504ed0    ..., P...... PN.
-> go 20000 Hello There
## Starting application at 0x00020000 ...






More information about the U-Boot mailing list