[ipxe-devel] IPXE compilation error with arm64
Meenakshi Aggarwal
meenakshi.aggarwal at nxp.com
Tue Apr 18 09:51:06 UTC 2017
Hi,
Thanks for your reply.
We have an armv8 based Soc and want to build an efi application of ipxe which I can execute from UEFI shell.
Can I use 8086100e.efi with my Soc?
Or is it specific to some particular vendor?
Thanks
-----Original Message-----
From: Andreas Fink [mailto:afink at list.fink.org]
Sent: Tuesday, April 18, 2017 2:38 PM
To: Michael Brown <mcb30 at ipxe.org>
Cc: Meenakshi Aggarwal <meenakshi.aggarwal at nxp.com>; ipxe-devel at lists.ipxe.org
Subject: Re: [ipxe-devel] IPXE compilation error with arm64
what hardware does have EFI under ARM?
> Am 18.04.2017 um 11:06 schrieb Michael Brown <mcb30 at ipxe.org>:
>
> On 18/04/17 09:56, Meenakshi Aggarwal wrote:
>> 1. Linaro 'aarch64-linux-gnu-gcc' toolchain. version Linaro gcc-linaro-6.2.1-2016.11-x86_64_aarch64-linux-gnu
>> 2. CROSS_COMPILE=aarch64-linux-gnu-
>> 3. ARCH=arm64
>>
>> cd ipxe/src
>> make
>>
>> Error Log
>> ---------
>> # make
>> [BUILD] bin/__divdi3.o
>> aarch64-linux-gnu-gcc: error: unrecognized command line option '-mpreferred-stack-boundary=2'
>> aarch64-linux-gnu-gcc: error: unrecognized command line option '-mregparm=3'
>> aarch64-linux-gnu-gcc: error: unrecognized command line option '-mrtd'
>> aarch64-linux-gnu-gcc: error: unrecognized command line option '-m32'
>> make: *** [bin/__divdi3.o] Error 1
>
> The default "make" will attempt to build the standard i386 BIOS targets, which won't work with the arm64 version of gcc. You need to choose a suitable arm64 UEFI target, e.g.
>
> make bin-arm64-efi/8086100e.efi
>
> Note that the "all-drivers" build (bin-arm64-efi/ipxe.efi) is non-functional at present, since we have no arm64 implementation of the port I/O primitives (inb()/outb() etc.).
>
> Michael
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
More information about the ipxe-devel
mailing list