Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does iPXE support IMAGE_COMBOOT
2019-12-09, 08:38 (This post was last modified: 2019-12-09 08:41 by hugogong.)
Post: #5
RE: Does iPXE support IMAGE_COMBOOT
(2019-12-09 07:24)NiKiZe Wrote:  Please restore you config/general.h
only add lines to config/local/general.h that you want to change
Only post config/local/general.h that only contains the relevant changes (feel free to edit your post above)
But your local/general.h looks good, now when you build that it should be good to go, and when you boot it you will see COMBOT in the header features

Oh, right you must have missed that important part:
(2019-12-06 12:01)NiKiZe Wrote:  also show us the line you use to compile, and any error messages that you get.

I will not try to decipher what you have changed from the original
Here is explanation of how it works: https://ipxe.org/appnote/named_config

I git clone a new and do not touch any other files except only create a file named general.h under the folder "src/config/local" with only one line content,
#define IMAGE_COMBOOT

I still get error with command "make bin-x86_64-efi/ipxe.efi EMBED=fix.ipxe"
The contents is :
#!ipxe
dhcp
chain http://myserver/ipxe/menu/boot.ipxe

The compile error message :
[AR] bin-x86_64-efi/blib.a
ar: creating bin-x86_64-efi/blib.a
[HOSTCC] util/elf2efi64
[VERSION] bin-x86_64-efi/version.ipxe.efi.o
[LD] bin-x86_64-efi/ipxe.efi.tmp
bin-x86_64-efi/blib.a(com32_wrapper.o): In function `com32_farcall_wrapper':
(.text+0x1): relocation truncated to fit: R_X86_64_32 against symbol `com32_farcall' defined in .text.com32_farcall section in bin-x86_64-efi/blib.a(com32_call.o)
bin-x86_64-efi/blib.a(com32_wrapper.o): In function `com32_cfarcall_wrapper':
(.text+0x8): relocation truncated to fit: R_X86_64_32 against symbol `com32_cfarcall' defined in .text.com32_cfarcall section in bin-x86_64-efi/blib.a(com32_call.o)
bin-x86_64-efi/blib.a(com32_wrapper.o): In function `com32_intcall_wrapper':
(.text+0xf): relocation truncated to fit: R_X86_64_32 against symbol `com32_intcall' defined in .text.com32_intcall section in bin-x86_64-efi/blib.a(com32_call.o)
bin-x86_64-efi/blib.a(com32_call.o): In function `com32_call__line_107__97':
com32_call.c: (.text16+0xa): relocation truncated to fit: R_X86_64_16 against `.bss16'
com32_call.c: (.text16+0x14): relocation truncated to fit: R_X86_64_16 against `.bss16'
com32_call.cSad.text16+0x19): relocation truncated to fit: R_X86_64_16 against symbol `com32_saved_sp' defined in .bss16 section in bin-x86_64-efi/blib.a(com32_call.o)
com32_call.c: (.text16+0x1c): relocation truncated to fit: R_X86_64_16 against `.bss16'
com32_call.c: (.text16+0x2b): relocation truncated to fit: R_X86_64_16 against symbol `com32_saved_sp' defined in .bss16 section in bin-x86_64-efi/blib.a(com32_call.o)
com32_call.c Sad.text16+0x30): relocation truncated to fit: R_X86_64_16 against `.bss16'
com32_call.c: (.text16+0x34): relocation truncated to fit: R_X86_64_16 against `.text16'
bin-x86_64-efi/blib.a(com32_call.o): In function `com32_intcall_instr':
com32_call.cSad.text16+0x3e): additional relocation overflows omitted from the output
Makefile.housekeeping:1191: recipe for target 'bin-x86_64-efi/ipxe.efi.tmp' failed
make: *** [bin-x86_64-efi/ipxe.efi.tmp] Error 1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Does iPXE support IMAGE_COMBOOT - hugogong - 2019-12-09 08:38



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