Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ELF64 ?
2018-07-09, 09:01
Post: #1
ELF64 ?
Is it possible to boot an ELF64 kernel using iPXE?

Any guidance greatly appreciated!

thanks,

jolyon
Find all posts by this user
Quote this message in a reply
2018-07-10, 19:21
Post: #2
RE: ELF64 ?
How does one get a ELF64 kernel that does not already work out of the box with iPXE (pcbios mode) ?

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-07-11, 07:11
Post: #3
RE: ELF64 ?
(2018-07-10 19:21)NiKiZe Wrote:  How does one get a ELF64 kernel that does not already work out of the box with iPXE (pcbios mode) ?

By building one and then being unclear whether the problem is the binary or iPXE; hence the question!

You are saying that iPXE should work with an ELF64 kernel?
Find all posts by this user
Quote this message in a reply
2018-07-11, 08:19
Post: #4
RE: ELF64 ?
Let me rephrase, How do you build it?, is it a linux kernel? what is the error you get in iPXE if you try to use it? are you using pcbios or efi boot mode?

For Linux bzImages are supported in pcbios mode, in EFI mode you will need to have EFI stub compiled in.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2018-07-11, 08:39
Post: #5
RE: ELF64 ?
(2018-07-11 08:19)NiKiZe Wrote:  Let me rephrase, How do you build it?, is it a linux kernel? what is the error you get in iPXE if you try to use it? are you using pcbios or efi boot mode?

For Linux bzImages are supported in pcbios mode, in EFI mode you will need to have EFI stub compiled in.

Thanks NiKiZe; it's not linux - it's a small kernel code base that should work in both 32 and 64 bit (ho ho). so i have an ELF, 32 bit build and an ELF64, 64 bit build. I rebuilt iPXE for x64, naively thinking everything would "just work". The error was that the ELF64 image is "not multiboot".

thanks for helping me get my head round it a little!
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)