[ipxe-devel] 回复: ipxe CODE immigrating to MCU applications

Michael Brown mbrown at fensystems.co.uk
Wed May 20 10:37:51 UTC 2015


On 20 May 2015 01:36:56 GMT+03:00, "郭鹏" <120721080 at qq.com> wrote:
>Hi Michael :
>
>
>Thanks very much for your advice . Is there any documents to illustrate
>the arch of IPXE software package ?
>
>
>I am trying to find the driver or hardware related files .  I find
>SRC\DRIVERS\NET . There are some files such as
>
>
>Intel.c ,REALTEK.C . It seems that I need to create one new file to
>support my NIC .
>
>
>br
>Peter Guo
>
>
>
>
>------------------ 原始邮件 ------------------
>发件人: "Michael Brown";<mbrown at fensystems.co.uk>;
>发送时间: 2015年5月20日(星期三) 凌晨2:31
>收件人: "郭鹏"<120721080 at qq.com>; "ipxe-devel"<ipxe-devel at lists.ipxe.org>; 
>
>主题: Re: [ipxe-devel] ipxe CODE immigrating to MCU applications
>
>
>
>On 19 May 2015 04:08:18 GMT+03:00, "郭鹏" <120721080 at qq.com> wrote:
>>Dear  IPXE engineers :
>>
>>I am working on a case needing PXE function . But we do not choose
>>generation ethernet controller such as Intel ,BCM or realtek products
>.
>>We choose 
>>
>>
>>FPGA as the the core chip on the NIC . So  I hope to find a way to
>>implement the PXE function with the MCU inside the FPGA which is build
>>by softare .
>>
>>
>>I read the documents and descriptions on your website . I found that
>>the IPXE is basing on specified application and target hardware
>>platform such as 
>>
>>
>>controller IC . Could you help to give me some advice or guideline
>>about how to immigrate this IPXE to standalone CPU ? Thanks very much
>.
>>
>>
>>br
>>
>>
>>Peter Guo
>>From China
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>ipxe-devel mailing list
>>ipxe-devel at lists.ipxe.org
>>https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
>
>iPXE (as with any other PXE stack) is code which executes on the host
>CPU (e.g. Intel/AMD), not on the NIC's embedded CPU.
>
>The NIC provides a PCI expansion ROM BAR containing the PXE code, but
>it's the host CPU which executes it.
>
>You would need to write (or pay someone else to write) an iPXE driver
>for your NIC. This process is very similar to writing a Linux or
>Windows driver for the NIC.
>
>Hope that helps.
>
>Michael

Correct; you will need to add a driver for your NIC under drivers/net/.

You can look at the intel.c, realtek.c, and other drivers for examples of how to structure the code.

Michael



More information about the ipxe-devel mailing list