BeagleBoard Xm: TFTP uImage + NFS rootfs

This was previously the ‘BeagleBoard Xm: NFS boot’ post, but since it did more than NFS boot, I’m making a separate entry. Plus my co workers couldn’t even follow along so it obviously needed a rewrite then.

I’m using BBxm with the Ti Sitara Linux and their SDK. I am assuming you installed the TI SDK and ran the setup.sh as the setup installed certain configurations for NFS boot.

To retrieve uImage from Host machine:

/tftpboot

Symbolically link uImage-beagleboard.bin to uImage or whatever file it’s trying to download.

$ sudo ln -s uImage-beagleboard.bin uImage

You may want to check on the minicom to see what it’s trying to download. Even though I set the bootfile in uEnv.txt file, it looked for uImage.beagle so change accordingly.

TFTP from server 192.168.1.77; our IP address is 192.168.1.52
Filename ‘uImage.beagle’.

bootfile=uImage
loadaddr=0x80200000
serverip=192.168.1.77 # Host PC
ipaddr=192.168.1.55 # Temp IP addr for target
nfsargs=setenv bootargs console=ttyO2,115200n8 rw noinitrd vram=12M root=/dev/nfs nfsroot=${serverip}:/PATH/TO/ti-sdk-05.05.00.00/targetNFS,nolock,rsize=1024,wsize=1024 ip=dhcp

loadkernel=tftpboot ${loadaddr} ${bootfile}
uenvcmd=dcache off;usb start;run loadkernel;dhcp;run nfsargs;bootm ${loadaddr}
Advertisements
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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s