From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Fridlund Date: Wed, 10 May 2006 22:54:15 -0700 Subject: [U-Boot-Users] questions booting Linux on a mpc8247 In-Reply-To: <4462CFFE.3010404@code4fun.us> References: <20060511045400.58716.qmail@web15902.mail.cnb.yahoo.com> <4462CFFE.3010404@code4fun.us> Message-ID: <4462D187.5090501@code4fun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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