BeagleBoard Xm: NFS boot

Here’s how I got the BB Xm to boot the rootfs over NFS. I’m doing this with the Ti Sitara Linux and their SDK installed certain configurations for NFS rootfs boot. Also, this is for booting the uEnv.txt and uImage from the SD card.

On (Linux) Host Machine:

  • /etc/exports

/PATH/TO/ti-sdk- *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)

On Target’s SD card ‘boot’ dir:

  • uEnv.txt

nfsargs=setenv bootargs console=ttyO2,115200n8 noinitrd ip=dhcp rw root=/dev/nfs nfsroot=${serverip}:/PATH/TO/ti-sdk- nolock rsize=4096 wrsize=4096
loadkernel=fatload mmc 0 ${loadaddr} uImage
uenvcmd=usb start; run loadkernel;run nfsargs;bootm ${loadaddr}

  • Important Points:
    • /dev/nfs rw nfsroot=<HOST_IP>:<HOST/PATH/TO/TARGETNFS>
    • ip=dhcp
This entry was posted in BeagleBoard and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s