That's why I thought that elfboot couldn't read .zelf, because the image
sizes are incorrect. Actual image size for the tg3--filo.zelf image
is 43,153 bytes, which is smaller than the file.elf image 43,472 bytes.
But when I make a linuxbios.rom with the tg3--filo.zelf as the payload,
elfboot generates the output I sent you.
-J
-----Original Message-----
From: Eric W. Biederman [mailto:eric@lnxi.com] On Behalf Of Eric W.
Biederman
Sent: Thursday, May 27, 2004 10:25 AM
To: Jay Miller
Cc: LinuxBIOS
Subject: Re: Getting Started with freebios2!
Please CC the list on questions like this.
"Jay Miller" <jmiller(a)actuality-systems.com> writes:
> Hi Eric,
>
> Perhaps you can help me, seeing that you wrote elfboot. This is the
> output that I get when I use a .zelf image:
>
> Welcome to elfboot, the open sourced starter.
> January 2002, Eric Biederman.
> Version 1.3
>
> 23:stream_init() - rom_stream: 0xfffe0000 - 0xfffeffff
> Found ELF candiate at offset 0
> Dropping non PT_LOAD segment
> New segment addr 0x20000 size 0x27200000 offset 0xb0 filesize
0xa7c29fc3
> (cleaned up) New segment addr 0x20000 size 0x27200000 offset 0xb0
> filesize 0x272
> 00000
> Cannot Load ELF Image
>
> Do you see anything glaringly wrong here?
size = 626 MB .... and filesize = 2685MB
Something is badly wrong there.
Eric