[U-Boot-Users] questions booting Linux on a mpc8247
Jim Fridlund
jim at code4fun.us
Thu May 11 07:54:15 CEST 2006
Jim Fridlund wrote:
> $00000000 dc.l 0x7f454c46
> $00000004 dc.l 0x1020100
> $00000008 dc.l 0x0
> $0000000C dc.l 0x0
> $00000010 dc.l 0x20014
> $00000014 dc.l 0x1
> $00000018 lfs F0,0x0(R0)
> $0000001C dc.l 0x34
> $00000020 dc.l 0x1e8634
> $00000024 dc.l 0x0
> $00000028 dc.l 0x340020
> $0000002C dc.l 0x20028
> $00000030 dc.l 0x1b0018
I just realized that the byte patterns above matches
exactly what my vmlinux ELF image. Here is the hex
dump:
00000000 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00
.ELF............
00000010 00 02 00 14 00 00 00 01 c0 00 00 00 00 00 00 34
...............4
00000020 00 1e 86 34 00 00 00 00 00 34 00 20 00 02 00 28
...4.....4. ...(
00000030 00 1b 00 18 00 00 00 01 00 01 00 00 c0 00 00 00
................
00000040 c0 00 00 00 00 1d 60 b4 00 20 8c 3c 00 00 00 07 ......`..
.<....
00000050 00 01 00 00 64 74 e5 51 00 00 00 00 00 00 00 00
....dt.Q........
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 07
................
So, u-boot appears to have extracted the image correctly
and relocated it to address 0, but I'm thinking I probably
need to install a pure binary instead of an ELF image?
Does u-boot understand ELF or does it only expect a pure
binary?
Thanks again!
--
Jim
More information about the U-Boot
mailing list