[yocto] PXE Boot NFS not working

Hussin, Mohamad Noor Alim mohamad.noor.alim.hussin at intel.com
Thu Apr 26 00:26:32 PDT 2018


Refer to my post here https://lists.yoctoproject.org/pipermail/yocto/2018-April/040860.html

Don't use initramfs/initrd as it not working.


Regards,
Alim Hussin

From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Raymond Yeung
Sent: Thursday, April 26, 2018 12:46 PM
To: yocto at yoctoproject.org
Subject: [yocto] PXE Boot NFS not working


I've an Intel Xeon-D board.  I could boot up the board with PXE booting.  However, this seems to be always looking for "removable media"; if there is none, it would hang (in a .sh file).  I want to explore NFS approach.  So far, I've read up, experimented on NFS setup via pxelinux.cfg/default file.  I'm able to manually perform nfs mount from client side, but doing it via configuration file doesn't seem to work.



Now, I'm wondering if my bzImage and initrd files are built correct.  According to this article here:



https://wiki.yoctoproject.org/wiki/Poky_NFS_Root



Two requirements must be met.  First one is that the network driver must be built into the kernel rather than being a module.  Second one is to disable network init script.



Does anyone know how to do the above two items?  What recipe file(s) should I modify?



Thanks,

Raymond
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180426/90c66dbb/attachment.html>


More information about the yocto mailing list