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.

Linux/PROCESSOR-SDK-AM335X: File transfer to target board

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Linux

Hi,

I am new to the Linux Processor SDK and currently exploring available options for file transfers from host PC to target board.
The Software Developer's Guide mentions 2 options.
1. Direct Transfer to rootfs partition of SD card
2. File transfer using NFS 

My queries are as follows.
1. I tried using this approach but the rootfs partition of the SD card doesn't not allow a paste operation (I guess it is mounted as read only) while the boot partition allows for file transfers. Is this expected?
2. Is it necessary to have a router for the NFS based approach? Or is that only required in the case of a wireless access, would a direct ethernet connection to PC work? Are there any other configurations you would recommend?

3. Are there any other file transfer options apart from the ones I've listed? Anything similar to SFTP that worked on the Beaglebone?

  • Hi Kenneth,

    Kenneth Joel said:
    1. I tried using this approach but the rootfs partition of the SD card doesn't not allow a paste operation (I guess it is mounted as read only) while the boot partition allows for file transfers. Is this expected?

    No, this is not expected. rootfs partition should be also available for paste operations. Please make sure you have created your SD card with the PSDK script available at {PSDK}/bin/create-sdcard.sh. Refer to the below user guide for details:

    Kenneth Joel said:
    2. Is it necessary to have a router for the NFS based approach? Or is that only required in the case of a wireless access, would a direct ethernet connection to PC work? Are there any other configurations you would recommend?

    Direct ethernet connection to host PC should work fine for file transfers.

    Check also below user guide:

    Kenneth Joel said:
    3. Are there any other file transfer options apart from the ones I've listed? Anything similar to SFTP that worked on the Beaglebone?

    Yes, SFTP seems to be available through CCStudio. Refer to the below user guide:

    Regards,
    Pavel

  • Hi Pavel,

    Thanks for the quick response. Right now, an ethernet connection directly between Host and PC seems like the best option. Will explore further.

    Was going through the Software Developer's Guide and came across section 6.1.12 (http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/How_to_Guides_Host.html#ubuntu-14-04-set-up-to-network-boot-an-am335x-am437x-based-platform) which seems to suggest the possibility of using either USB RNDIS or an Ethernet connection. While this section is discussing network boot, could the same be considered applicable to just mounting an NFS using USB RNDIS to estabish the connection instead of an Ethernet Cable?

    Regards,
    Kenneth

  • Kenneth,

    Yes, it seems to me that you can use USB RNDIS (USB cable) for establish connection just for filesystem transfers.

    Regards,
    Pavel