Re: [Etherboot-developers] booting non linux images
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2001-05-13 16:03:18
|
Anuradha Ratnaweera <anu...@gn...> writes: > On 12 May 2001, Eric W. Biederman wrote: > > > The attached patch to memtest86-2.5 builds it as an ELF image. > > Etherboot cannot load an unpatched image memtest86 loads to low in > > memory. > > > > I have used this succesfully with the 4.6.10 with Multiboot support > > compiled it. > > The patch applies neatly and memtest86.bin builds fine. But making > memtest86.ebi stops with a link error. > > ld -T memtest86.lds head.obj relo.obj -o memtest86.ebi > ld: bfd assertion fail ../../bfd/elf.c:1405 > ld: bfd assertion fail ../../bfd/elf.c:1405 > relo.obj: file not recognized: File format not recognized > make: *** [memtest86.ebi] Error 1 > > Any clue? Grr yes. Your version of ld is buggy. I have seen this once before. If I could figure out how to make it work with your version of ld I would. I think I have a bad choice of names in relo.obj. Because except for names relo.obj and head.obj are exactly identical. What I am currently running is: GNU ld 2.10.90 Copyright 2000 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Supported emulations: elf_i386 i386linux Eric |