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.

TDA4VM: Regarding copying the content of SD Card ( rootfs>home>testscripts_content) into eMMc

Part Number: TDA4VM

Dear Sir ,

We can successfully boot from emmc (also rootfs partitioning is done) . Now We had some Test scripts on rootfs>home folder which were also added to startup . Before we copied any folder to SDcard from linux computer.

But now how do we copy the test scripts like we had on SD card also to the rootfs partition in emmc ?? 

Regards

  • Hi Manish,

    Copy the scripts/files to a USB stick.

    Try with a USB stick to the EVM host port(top one).

    After attaching USB stick to the EVM, you will see the enumeration of disk and the name
    [ 58.321969] sda: sda1
    [ 58.329321] sd 1:0:0:0: [sda] Attached SCSI removable disk

    USB stick gets auto mounted with same name

    /run/media/sda1

    Copy the scripts from USB stick to EVM
    cp /run/media/sda1/"scripts" to /destination.

    destination is wherever you want on the file system.

    If this works please resolve the issue.

    Thanks,
    Keerthy

  • Hello Keerthy,

    Thanks a lot for your reply. If I have changes in the device tree files for linux than after make linux, how do i copy the files to emmc ( It is done on target , right ?) 

    Also on custom board i don't have any USB option but I can use the SD card.

    Do i need to load the binaries as symbols using ccs ? Sorry i asked too many questions here.

    Regards

    Manish

  • Hello Manish,

    I hope you have an ethernet port on the board. TDA4VM supports ethernet on Linux.
    Boot to Linux pormpt.

    ifconfig

    This gives you your ip address:

    So you can do something like this:

    scp username@1x.xx.xx.xx:/path_to_dtb  /boot 

    k3-j721e-common-proc-board.dtb 100% 97KB 97.0KB/s 00:00

    substutue your user name and after @ your ip address.

    Copy it to /boot folder from which dtb is picked for boot.

    Hope that resolves your issue.

    - Keerthy

  • Hi Keerthi,

    And if I need to copy something to partition rootfs>lib>firmware> binary for dsp ?

    Also, can i use my uart port to copy something ?

    Regards

    Manish

  • Hello Manish,

    The same scp command works for any folder:

    scp username@1x.xx.xx.xx:/path_to_firmware  /lib/firmware.

    We have not used UART for copying files over. I would recommend use network and SCP.

    That will be the fastest and easiest.

    Please resolve the issue if you are unblocked.

    - Keerthy 

  • Hi Keerthy,

    We have a custom board with not normal Ethernet port. We use a serial connector like in VGA cable to connect to VN box. For eval board it is no issue to use it.

    That is the reason i was asking any other way to do that.

    Regards

  • Hello Keerthy ,

    I could now use the VN6140 box as switch to copy all the files in boot & root over SSH.

    Thanks and regards

    Manish