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: NFS doesnt mount

Part Number: TDA4VM

Filename '/home/targetNFS/boot/Image'.
Load address: 0x82000000
Loading: T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000 device
File transfer via NFS from server 10.170.119.10; our IP address is 10.170.118.70
Filename '/home/1patiaka/tisdk8.0evm/ti-processor-sdk-linux-j7-evm-08_00_00_08/targetNFS/boot/k3-j721e-common-proc-board.dtb'.
Load address: 0x88000000
Loading: T T T T T T T T
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!

  • Hi,

    Please take a look at this FAQ: https://e2e.ti.com/support/processors/f/791/t/984034

    Let  me know if the above helps you.

    Best Regards,
    Keerthy

  • Hello,

    I tried the instructions but still the same.

    I can also ping the board from Linux machine.

    Thank You

  • Hi Akash,

    https://www.tecmint.com/install-nfs-server-on-ubuntu/

    Check if the nfs server is installed correctly on your host ubuntu.

    Also is tftp setup on your host PC?

    Can you try the below from U-Boot prompt:

    tftp 0x82000000 Image; tftp 0x81200000 k3-j721e-common-proc-board.dtb

    Best Regards,
    Keerthy

  • Hello,

    I tried tftp setup on PC and tftp folder was set to /var/lib/tftpboot and while setup it was setup to /tftpboot

    i changed the directory to /tftpboot still the issue persists

  • Hi Akash,

    I see that you are using the 8.0 SDK

    ti-processor-sdk-linux-j7-evm-08_00_00_08

    Which ethernet port are you using for tftpboot? The single port J35 alone can be used from U-Boot. U-Boot has support for CPSW2G.
    Can you confirm that?

    - Keerthy

  • Hello,

    Yes i am using the single J35 port only

    Thank you

  • Akash,

    I will try this out & get back to you in couple of days.

    - Keerthy

  • Hello,

    Please reply me if you find any solution to this.
    And i am on sdk 8.0

    Thank you.

  • Hello,

    Is there any update on this

    Thank You

  • Hi Akash,

    In the $PSDK path you a script 'setup.sh'. Have you run that & setup the nfs & tftp?

    Regards,
    Keerthy

  • Hello Keerthy,

    Yes ive done that setup

    Thank You,
    Akash

  • Hi Akash,

    Apologies for the long delay in responding. I had migrated to 8.1 SDK. I have now installed
    8.0 SDK. I have installed tftp server in /tftpboot directory of my host.

    I have the 8.0 U-boot binaries in the boot partition of my SD card.

    Logs:

    U-Boot SPL 2021.01-g53e79d0e89 (Aug 04 2021 - 23:32:00 +0000
                                                                Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM v E6
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...

    NOTICE:  BL31: v2.5(release):.00.00.004-dirty
    NOTICE:  BL31: Built : 22:30:09, Aug  4 2021
    U-Boot SPL 2021.01-g53e79d0e89 (Aug 04 2021 - 22:33:28 +0000
                                                                Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E6
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v20205 (Terrific Llam')
    Detected: J7X-BASE-CPB rev E2
    Detected: J7X-INFOTAN-EXP rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2


    U-Boot 2021.01-g53e79d0e89 (Aug 04 2021 - 22:33:28 +0000)

    SoC:   J721E S.0
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-S rev E6
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    In:  serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Detected: J7X-BASE-CPB rev E2
    Detected: J7X-INFOTAN-EXP rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Net:   am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x600101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_fr:1000000
    eth0: ethernet@46000000
    Hit any key to stop autoboot:  0
    => dhcp
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rgs:286, gp-rings[96,20] sci-dev-id:235
    k3-navss-ringacc ringa@2b800000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: row_id_base: 2
    ethernet@46000000 Waiting for PHY auto negotiatn to complete. done
    link up on port 1, speed 1000, full duplex
    BOOTP broadst 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    DHCP client bound to address 192.168.100.45 (3015 ms)
    *** ERROR: `serveripnot set
    Cannot autoload with TFTPGET
    => setenv serverip 192.168.100.185
    => tftp 0x I82 I000 I0 Image-j7-evm.bin
    am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, fu duplex
    Using ethernet@46000000 device
    TFTP from server 192.8.100.185; our IP address is 192.168.100.45
    Filename 'Image-j7-evm.bin'.
    Load address: 0x82000000
    Loading: #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             #################################################################
             ####
             912.1 KiB/s
    done
    Bytes transferred = 19137024 (1240200 h)

    I am able to use tftp on 8.0 Successfully.

    Also recommend having the IP Address of the EVM & PC on the same subnet mask.
    Basically ping should work from U-boot prompt. ping from your EVM to PC(host) should work.

    Best Regards,
    Keerthy

  • I am able to boot file system prompt using NFS:

    setenv bootargs console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 vm.overcommit_ratio=5 vm.overcommit_memory=2 root=/dev/nfs rw nfsroot=xxx.xxx.xxx.xxx:/home/keerthy/work/ti-processor-sdk-linux-j7-evm-08_00_00_08/targetNFS,nolock,rsize=1024,wsize=1024,tcp,v3 ip=dhcp
    setenv bootcmd "setenv autoload no; dhcp;setenv serverip xxx.xxx.xxx.xxx;setenv dorprocboot 1; ext4load mmc 1:2  0x82000000 /boot/Image ; ext4load mmc 1:2 0x81200000 /boot/k3-j721e-common-proc-board.dtb; booti 0x82000000 - 0x81200000"
    saveenv
    boot

    - Keerthy