i.MX53 USB Eth NFS

Document created by jesseg Employee on Aug 8, 2012Last modified by Jodi Paul on May 20, 2013
Version 3Show Document
  • View in full screen mode

The ARD has the VGA output hw multiplexed with the on board Eth controlling, on jumpers J14 and J16. If using the VGA out one option for network is to use an USB/Eth adapter. To enable this (tested on BSP 11.05 - 2.6.35):


1. Find out the driver for the adapter you are using. You can connect it to your Linux host for that.

$ lsusb
Bus 002 Device 017: ID 0b95:772a ASIX Electronics Corp.
$ dmesg | tail
[3799653.662846] eth2: register 'asix' at usb-0000:00:1d.7-2, ASIX AX88772 USB 2.0 Ethernet, 00:60:6e:00:02:7a

2. Enable the driver on the target's kernel:

- ./ltib -c - On Ltib menu, select "[*] Configure the Kernel" - On the kernel menuconfig select the driver, in this case: CONFIG_USB_NET_AX8817X located at:

-> Device Drivers
                                                      -> Network device support (NETDEVICES [=y])
        -> USB Network Adapters
            -> Multi-purpose USB Networking Framework (USB_USBNET [=y])

3. Program the kernel to SD:

sudo dd if=rootfs/boot/uImage of=/dev/sdd bs=512 seek=2k

4. Set U-boot to load the kernel from the SD and NFS:

MX53-ARD-DDR3 U-Boot > set bootcmd 'run bootcmd_sd_nfs'
MX53-ARD-DDR3 U-Boot > set bootcmd_sd_nfs 'run bootargs_nfs;run load_kernel;bootm'
MX53-ARD-DDR3 U-Boot > set load_kernel 'mmc read 0 ${loadaddr} 0x800 0x1f00'

Here you may change the ip from "dhcp" to a fixed address if you are connected directly to host.

MX53-ARD-DDR3 U-Boot > set bootargs_nfs 'set bootargs console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp'

MX53-ARD-DDR3 U-Boot > set serverip
MX53-ARD-DDR3 U-Boot > set nfsroot '/tftpboot/rootfs_ard'
MX53-ARD-DDR3 U-Boot > save
Saving Environment to MMC...
Writing to MMC(0)... done

5. Connect the USB/Eth adapter to the USB port (USB1-J30 or USB2-J31).

Instructions to setup the host for NFS can be found on the following page: All Boards NFS.