This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Mount NFS over CDC/RNDIS Ethernet over USB

I have an AM335x GP EVM, it uses Ethernet to load SPL, MLO, Kernel and mount root filesystem over NFS.

Soon I'll have a custom board without Ethernet, only USB and NAND flash are present, and I'd like to have the same config, the only difference is real Ethernet is replaced by CDC Ethernet gadget over USB.

AM335x Linux flash tool does something like this, RBL downloads  SPL using UART0, SPL downloads u-boot using RNDIS, u-Boot downloads SPL, u-boot, kernel and filesystem  and programs them to NAND flash.

I'd like to program SPL and u-boot to NAND flash, boot SPL and u-boot from NAND flash, then load kernel using tftp over RNDIS Ethernet over USB and finally mount  NFS filesystem over RNDIS.

Is there any step by step help to set up this config?

Thank you in advance

  • tftp over USB RNDIS has no much difference than over Ethernet. The only extra step is 'setenv ethact usb_ether' command before tftp download.

    I have not tried NFS over RNDIS yet, but I would think setting 'ip=:::::usb0:dhcp' should work if usb0 is configured properly under /etc/network/interfaces?

    Please give it a try and let me how it goes? ;)