From: Jim Fridlund <jim@code4fun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] questions booting Linux on a mpc8247
Date: Wed, 10 May 2006 22:54:15 -0700 [thread overview]
Message-ID: <4462D187.5090501@code4fun.us> (raw)
In-Reply-To: <4462CFFE.3010404@code4fun.us>
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
next prev parent reply other threads:[~2006-05-11 5:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 3:17 [U-Boot-Users] questions booting Linux on a mpc8247 Jim Fridlund
2006-05-11 3:46 ` Sam Song
2006-05-11 3:56 ` Jim Fridlund
2006-05-11 4:54 ` Sam Song
2006-05-11 5:47 ` Jim Fridlund
2006-05-11 5:54 ` Jim Fridlund [this message]
2006-05-11 7:30 ` Wolfgang Denk
2006-05-11 8:01 ` Sam Song
2006-05-11 7:29 ` Wolfgang Denk
2006-05-11 7:26 ` Wolfgang Denk
2006-05-11 8:04 ` Sam Song
2006-05-11 7:24 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4462D187.5090501@code4fun.us \
--to=jim@code4fun.us \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.