Re: [Etherboot-developers] booting non linux images
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Ken Y. <ke...@bi...> - 2001-05-13 08:09:25
|
>I read in the tagged image spec that any image with bytes at offsets 510 >and 511 set to 55 and aa (may be the other way) is also valid, and this >image _does_ contain those values. But etherboot doesn't detect it. I am >extensively going through source code to get things fixed. I found that >the file main.c does not check for these values. However the files in >contrib/baremetal/main.c (line 461) _does_ this with wrong pointer >manipulation. > >Also I understand a tagged image with a second magic number should be >loaded at 0x10000 (not the boot sector which comes to 0x7c00) and not to >0x100000. Does etherboot handle this? Etherboot no longer supports that part of the spec. It takes up code space, and gives misleading messages when people try to load bare kernels, when binaries that can easily be tagged or ELFed. So strictly speaking, it's non-conformant to the original spec. Tough. Use Eric Biederman's ELF method. |