The Etherboot 5.4 later has different size in elf prefix... to real file size.
So we need to align rom_end to 16 bytes or use dd to make payload to 16 bytes align before nrv2b payload.nrv2b...
Which one is good?
YH
-----Original Message----- From: Stefan Reinauer [mailto:stepan@coresystems.de] Sent: Wednesday, May 03, 2006 2:17 PM To: Lu, Yinghai Cc: linuxbios@linuxbios.org Subject: Re: [LinuxBIOS] [FEATURE] payload compression
* Lu, Yinghai yinghai.lu@amd.com [060503 20:40]:
Please check the attached zrom fix up.
- copy_and_run.c double skip length
- merge zrom_stream.c into rom_stream.c
- ram position check to skip 0xa0000, and 0xf0000...
Makes perfect sense!
* Lu, Yinghai yinghai.lu@amd.com [060503 23:34]:
The Etherboot 5.4 later has different size in elf prefix... to real file size.
So Etherboot produces corrupt ELF files per default? Can we fix this in Etherboot?
So we need to align rom_end to 16 bytes or use dd to make payload to 16 bytes align before nrv2b payload.nrv2b...
Hm - whatever produces the smaller or cleaner patch..
On May 3, 2006, at 6:33 PM, Stefan Reinauer wrote:
- Lu, Yinghai yinghai.lu@amd.com [060503 23:34]:
The Etherboot 5.4 later has different size in elf prefix... to real file size.
So Etherboot produces corrupt ELF files per default? Can we fix this in Etherboot?
So we need to align rom_end to 16 bytes or use dd to make payload to 16 bytes align before nrv2b payload.nrv2b...
Hm - whatever produces the smaller or cleaner patch..
Hello,
We will be happy to fix this. Can you be more specific about what is wrong with the elf prefix that Etherboot is creating? Better yet, if you could download an Etherboot-5.4.2 tarball from:
http://prdownloads.sourceforge.net/etherboot/ etherboot-5.4.2.tar.gz?download
and look at:
etherboot-5.4.2/src/arch/i386/prefix/elfprefix/elfprefix.S
it might shed some light on the problem.
Thanks,
Marty