Build issues with ipxe.efi for arm64 architecture
|
2017-03-08, 14:10
Post: #1
|
|||
|
|||
Build issues with ipxe.efi for arm64 architecture
I'm trying to build ipxe.efi for arm64 architecture and get some linker errors:
Code: rm -f bin-arm64-efi/*.* bin-arm64-efi/.certificate.* bin-arm64-efi/.certificates.* bin-arm64-efi/.private_key.* bin-arm64-efi/errors bin-arm64-efi/NIC ./util/zbin ./util/elf2efi32 ./util/elf2efi64 ./util/efirom ./util/efifatbin ./util/iccfix ./util/einfo TAGS bin-arm64-efi/symtab It seems that there are some header files missing or not included correctly. I start the build with "make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 bin-arm64-efi/ipxe.efi -j8". My host system is an Ubuntu 14.04 LTS. |
|||
2017-03-08, 17:47
Post: #2
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
ARM builds does not yet support direct I/O or port calls which makes ipxe.efi invalid for ARM builds since it pulls in drivers which needs this.
Instead of ipxe.efi build the it with the specific driver, or combination of them, for example in your case Code: make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 bin-arm64-efi/intel--snp.efi -j8 or whichever driver it is you need Use GitHub Discussions VRAM bin |
|||
2017-03-09, 07:43
Post: #3
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
Ok, I understand.
So I would need a special driver for the SoC NIC. I'm using an X-Gene 1 SoC from Applied Micro, but I think there is no driver in ipxe like it is for the Cavium ThunderX SoC. Or is the snp-driver sufficent enough? |
|||
2017-03-09, 08:21
Post: #4
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
If there is no specific driver for that nic in ipxe then snp is the only one, or maybe snponly, the best will be to just test if possible, let us know how it turns out.
Use GitHub Discussions VRAM bin |
|||
2017-03-09, 11:51
Post: #5
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
The build for target bin-arm64-efi/snp.efi was successful and also the initial chainload via the UEFI-Firmware.
So that looks good so far. Code: iPXE 1.0.0+ (d9886) -- Open Source Network Boot Firmware -- http://ipxe.org But the USB keyboard isn't working and PS2 is not possible |
|||
2017-03-09, 17:58
Post: #6
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
Happy it works so far..
Have you modified the configuration anything? I see that menu is missing from the features. iPXE has some usb support, but that takes over from firmware, and by default the EFI input system should be work just fine with iPXE. If you want to try the iPXE native USB you could build snp--ecm.efi which should pull it in, but really my guess is that you have some configuration change that is causing this issue. Use GitHub Discussions VRAM bin |
|||
2017-03-10, 10:39
Post: #7
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
@NiKiZe
The build for "snp.efi" indeed brings in support for a USB keyboard under an EFI environment, but after some more investigation I found out that instead of CTRL+B you have to press ESC+B to get to the iPXE prompt - weird behaviour. And after you get to the prompt you can use the keyboard in a normal way. So now I can proceed with my other tests. Thanks for your help. |
|||
2017-03-10, 17:45
Post: #8
|
|||
|
|||
RE: Build issues with ipxe.efi for arm64 architecture
Glad it works, and thanks for reporting back!
(2017-03-10 10:39)tiger276 Wrote: instead of CTRL+B you have to press ESC+B to get to the iPXE prompt - weird behaviour. The explanation to that is this: Your EFI implementation is broken (aka does not support ctrl) For that reason the esc key was added as a workaround: https://git.ipxe.org/ipxe.git/commitdiff...06d8394af2 Sorry for my incorrect assumption of config issue. Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)