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.

  • Resolved

TDA4VM: TDa4vm

Prodigy 200 points

Replies: 3

Views: 91

Part Number: TDA4VM

Hi,

We need to analyse the performance to load the u-boot, kernel, rootfs using tftp, nfs, usb dfu-util, uart(uniflash), usb storage.

Which method is better in time, speed etc.

Thanks

Gangadhar

  • Hi Gangadhar,

    UART will be the slowest.
    tftp/nfs will be faster. (For development nfs is good of course not for production).
    Followed by usb dfu-util( We have not measured 3.0 performance)
    Followed by SD-MMC.
    eMMC will be fastest

    eMMC is best time/speed. So recommendation is eMMC.

    - Keerthy

  • In reply to Keerthy J:

    Thank you,

    What about USB storage if we used? 

    To load bootloader images, kernel, rootfs using USB storage.

    Thanks

    Gangadhar

  • In reply to gangadhar Vasamsetti:

    Hi Gangadhar,

    We do not have the numbers but USB 3.0 should be really fast. It should be as good as eMMC
    if not better.

    Checkout: http://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/latest/exports/docs/linux/Foundational_Components_U-Boot.html#sd-emmc-or-usb-storage

    Enabling USB 3.0 host port on J721e EVM section.

    You need to make some DT changes.

    USB0 instance on J721e base board is connected to TypeC port that can be used both as host port and device port. By default, USB0 is port is configured to be in peripheral mode. Since U-Boot does not support dynamic switching of USB roles, below DT fragment needs to be applied and U-Boot image needs to be rebuilt to make USB0 port to be USB 3.0 host port.

    diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
    index 50effb4812b2..28986c4d2c2a 100644
    --- a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
    +++ b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
    @@ -184,11 +184,10 @@
    
     &usbss0 {
            u-boot,dm-spl;
    -       ti,usb2-only;
     };
    
     &usb0 {
    -       dr_mode = "peripheral";
    +       dr_mode = "host";
            u-boot,dm-spl;
     };

    Hope this answers your question.


    Regards,
    Keerthy

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.