Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform

2020-08-19 Thread Michael Brown

On 18/08/2020 02:50, 丰立波 wrote:
How to build a iPxe only using UNDI/NII or SNP protocol provided by the 
UEFI platform firmware? The NIC card is very special in our platform, 
iPxe could not use it.


Either the bin-arm64-efi/ipxe.efi or bin-arm64-efi/snp.efi build targets 
will work.  Since iPXE will not have a native driver for your NIC, it 
will automatically fall back to using the UNDI/NII or SNP driver.


Michael
___
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel


Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform

2020-08-19 Thread 丰立波
Thanks, Geert, I will follow your advice.


--

Best Regards


Feng Libo
ZD Technology (Beijing) Co., Ltd



发件人:"Geert Stappers" 
发送日期:2020-08-18 17:08:59
收件人:"丰立波" 
抄送人:iPXE 
主题:Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform>On Tue, 
Aug 18, 2020 at 07:56:58AM +0200, Christian Nilsson wrote:
>> On Tue, 18 Aug 2020, 03:51 丰立波,  wrote:
>> > 发件人:"Michael Brown" 
>> > 发送日期:2020-08-17 20:23:05
>> > 收件人:"丰立波" ,ipxe-devel@lists.ipxe.org
>> > 主题:Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform>On 
>> > 17/08/2020 11:59, 丰立波 wrote:
>> > >> My understanding of chainloading is iPxe will use the local Network
>> > >> Protocol already installed by UEFI network drivers, instead of
>> > >> installing its own network protocol. Is that correct? If yes, it is
>> > >> exactly we want. but we have a ARM64 platform, How to build a
>> > >> chainloading iPxe. I tried the command:
>> > >
>> > >Yes, iPXE is capable of using the UNDI/NII or SNP protocols provided by
>> > >the UEFI platform firmware.  It can also use its own native driver
>> > >(which will usually be faster), if available.
>> > >
>> > >To build, use
>> > >
>> > >   make bin-arm64-efi/ipxe.efi
>> > >
>> > >or
>> > >
>> > >   make bin-arm64-efi/snp.efi
>> > >
>> > >If you are cross-compiling then you will need to specify your
>> > >cross-compilation prefix.  For example, to build an ARM64 binary on an
>> > >x86_64 Fedora distro:
>> > >
>> > >   make bin-arm64-efi/ipxe.efi CROSS=aarch64-linux-gnu
>> > >
>> > >Michael
>> > 
>> > Hello, Mr. Brown,
>> >
>> > Thank you very much.
>> >
>> > How to build a iPxe only using UNDI/NII or SNP protocol provided by the
>> > UEFI platform firmware? The NIC card is very special in our platform, iPxe
>> > could not use it.
>> >
>> You can find some build target documentation at
>> https://ipxe.org/appnote/buildtargets
>> 
>
>Advice: Split the problem in two seperate problems
> 1: Have iPXE running on your ARM device
> 2: Get the special NIC running under iPXE
>
>
>Request: Use separate email thread for the separate problems
>
>
>Wish:  patches
>
>
>
>Groeten
>Geert Stappers
>
>P.S.
>See the problem as a challenge  or as a job   8^)
>-- 
>Silence is hard to parse
___
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel


Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform

2020-08-18 Thread Geert Stappers
On Tue, Aug 18, 2020 at 07:56:58AM +0200, Christian Nilsson wrote:
> On Tue, 18 Aug 2020, 03:51 丰立波,  wrote:
> > 发件人:"Michael Brown" 
> > 发送日期:2020-08-17 20:23:05
> > 收件人:"丰立波" ,ipxe-devel@lists.ipxe.org
> > 主题:Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform>On 
> > 17/08/2020 11:59, 丰立波 wrote:
> > >> My understanding of chainloading is iPxe will use the local Network
> > >> Protocol already installed by UEFI network drivers, instead of
> > >> installing its own network protocol. Is that correct? If yes, it is
> > >> exactly we want. but we have a ARM64 platform, How to build a
> > >> chainloading iPxe. I tried the command:
> > >
> > >Yes, iPXE is capable of using the UNDI/NII or SNP protocols provided by
> > >the UEFI platform firmware.  It can also use its own native driver
> > >(which will usually be faster), if available.
> > >
> > >To build, use
> > >
> > >   make bin-arm64-efi/ipxe.efi
> > >
> > >or
> > >
> > >   make bin-arm64-efi/snp.efi
> > >
> > >If you are cross-compiling then you will need to specify your
> > >cross-compilation prefix.  For example, to build an ARM64 binary on an
> > >x86_64 Fedora distro:
> > >
> > >   make bin-arm64-efi/ipxe.efi CROSS=aarch64-linux-gnu
> > >
> > >Michael
> > 
> > Hello, Mr. Brown,
> >
> > Thank you very much.
> >
> > How to build a iPxe only using UNDI/NII or SNP protocol provided by the
> > UEFI platform firmware? The NIC card is very special in our platform, iPxe
> > could not use it.
> >
> You can find some build target documentation at
> https://ipxe.org/appnote/buildtargets
> 

Advice: Split the problem in two seperate problems
 1: Have iPXE running on your ARM device
 2: Get the special NIC running under iPXE


Request: Use separate email thread for the separate problems


Wish:  patches



Groeten
Geert Stappers

P.S.
See the problem as a challenge  or as a job   8^)
-- 
Silence is hard to parse
___
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel


Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform

2020-08-17 Thread Christian Nilsson
You can find some build target documentation at
https://ipxe.org/appnote/buildtargets

On Tue, 18 Aug 2020, 03:51 丰立波,  wrote:

> Hello, Mr. Brown,
>
> Thank you very much.
>
> How to build a iPxe only using UNDI/NII or SNP protocol provided by the
> UEFI platform firmware? The NIC card is very special in our platform, iPxe
> could not use it.
>
> Thanks.
>
> --
> Best Regards
>
> Feng Libo
> ZD Technology (Beijing) Co., Ltd
>
>
> 发件人:"Michael Brown" 
> 发送日期:2020-08-17 20:23:05
> 收件人:"丰立波" ,ipxe-devel@lists.ipxe.org
> 主题:Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform>On 
> 17/08/2020 11:59, 丰立波 wrote:
> >> My understanding of chainloading is iPxe will use the local Network
> >> Protocol already installed by UEFI network drivers, instead of
> >> installing its own network protocol. Is that correct? If yes, it is
> >> exactly we want. but we have a ARM64 platform, How to build a
> >> chainloading iPxe. I tried the command:
> >
> >Yes, iPXE is capable of using the UNDI/NII or SNP protocols provided by
> >the UEFI platform firmware.  It can also use its own native driver
> >(which will usually be faster), if available.
> >
> >To build, use
> >
> >   make bin-arm64-efi/ipxe.efi
> >
> >or
> >
> >   make bin-arm64-efi/snp.efi
> >
> >If you are cross-compiling then you will need to specify your
> >cross-compilation prefix.  For example, to build an ARM64 binary on an
> >x86_64 Fedora distro:
> >
> >   make bin-arm64-efi/ipxe.efi CROSS=aarch64-linux-gnu
> >
> >Michael
>
> ___
> ipxe-devel mailing list
> ipxe-devel@lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo/ipxe-devel
>
___
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel


Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform

2020-08-17 Thread 丰立波
Hello, Mr. Brown,

Thank you very much.



How to build a iPxe only using UNDI/NII or SNP protocol provided by the UEFI 
platform firmware? The NIC card is very special in our platform, iPxe could not 
use it.


Thanks.


--

Best Regards


Feng Libo
ZD Technology (Beijing) Co., Ltd



发件人:"Michael Brown" 
发送日期:2020-08-17 20:23:05
收件人:"丰立波" ,ipxe-devel@lists.ipxe.org
主题:Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform>On 
17/08/2020 11:59, 丰立波 wrote:
>> My understanding of chainloading is iPxe will use the local Network 
>> Protocol already installed by UEFI network drivers, instead of 
>> installing its own network protocol. Is that correct? If yes, it is 
>> exactly we want. but we have a ARM64 platform, How to build a 
>> chainloading iPxe. I tried the command:
>
>Yes, iPXE is capable of using the UNDI/NII or SNP protocols provided by 
>the UEFI platform firmware.  It can also use its own native driver 
>(which will usually be faster), if available.
>
>To build, use
>
>   make bin-arm64-efi/ipxe.efi
>
>or
>
>   make bin-arm64-efi/snp.efi
>
>If you are cross-compiling then you will need to specify your 
>cross-compilation prefix.  For example, to build an ARM64 binary on an 
>x86_64 Fedora distro:
>
>   make bin-arm64-efi/ipxe.efi CROSS=aarch64-linux-gnu
>
>Michael
___
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel


Re: [ipxe-devel] How to build a chainloading ipxe on ARM64 platform

2020-08-17 Thread Michael Brown

On 17/08/2020 11:59, 丰立波 wrote:
My understanding of chainloading is iPxe will use the local Network 
Protocol already installed by UEFI network drivers, instead of 
installing its own network protocol. Is that correct? If yes, it is 
exactly we want. but we have a ARM64 platform, How to build a 
chainloading iPxe. I tried the command:


Yes, iPXE is capable of using the UNDI/NII or SNP protocols provided by 
the UEFI platform firmware.  It can also use its own native driver 
(which will usually be faster), if available.


To build, use

  make bin-arm64-efi/ipxe.efi

or

  make bin-arm64-efi/snp.efi

If you are cross-compiling then you will need to specify your 
cross-compilation prefix.  For example, to build an ARM64 binary on an 
x86_64 Fedora distro:


  make bin-arm64-efi/ipxe.efi CROSS=aarch64-linux-gnu

Michael
___
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel