Part Number: J721EXCPXEVM
Hi,
Using the 8.2 SDK and following these steps here , I am unable to get the system bootup using NFS. I have the J721EXCPXEVM + J721EXSOM board.
Here is the output of sudo minicom -S bin/setupBoard.minicom
U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 17:09:03 +0000) Model: Texas Instruments K3 J721E SoC Board: J721EX-PM2-SOM rev E7 SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla') Trying to boot from MMC2 Starting ATF on ARM64 core... NOTICE: BL31: v2.5(release):08.01.00.006-dirty NOTICE: BL31: Built : 16:34:52, Dec 20 2021 U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 16:36:05 +0000) Model: Texas Instruments K3 J721E SoC Board: J721EX-PM2-SOM rev E7 SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla') Detected: J7X-BASE-CPB rev E3 Detected: J7X-VSC8514-ETH rev E2 Trying to boot from MMC2 U-Boot 2021.01-g15769936a5 (Dec 20 2021 - 16:36:05 +0000) SoC: J721E SR1.0 Model: Texas Instruments K3 J721E SoC Board: J721EX-PM2-SOM rev E7 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 E3 Detected: J7X-VSC8514-ETH rev E2Net: am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x000eth0: ethernet@46000000Hit any key to stop autobo 0=>env default -f -a## Resetting to default environment=>saveenvSaving Environment to FAT... OK=>resetresetting ...
U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 17:09:03 +0000)Model: Texas Instruments K3 J721E SoCBoard: J721EX-PM2-SOM rev E7SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')Trying to boot from MMC2Starting ATF on ARM64 core...
NOTICE: BL31: v2.5(release):08.01.00.006-dirtyNOTICE: BL31: Built : 16:34:52, Dec 20 2021
U-Boot SPL 2021.01-g15769936a5 (Dec 20 2021 - 16:36:05 +0000)Model: Texas Instruments K3 J721E SoCBoard: J721EX-PM2-SOM rev E7SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')Detected: J7X-BASE-CPB rev E3Detected: J7X-VSC8514-ETH rev E2Trying to boot from MMC2
U-Boot 2021.01-g15769936a5 (Dec 20 2021 - 16:36:05 +0000)
SoC: J721E SR1.0Model: Texas Instruments K3 J721E SoCBoard: J721EX-PM2-SOM rev E7DRAM: 4 GiBFlash: 0 BytesMMC: sdhci@4f80000: 0, sdhci@4fb0000: 1In: serial@2800000Out: serial@2800000Err: serial@2800000Detected: J7X-BASE-CPB rev E3Detected: J7X-VSC8514-ETH rev E2Net: am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x000eth0: ethernet@46000000Hit any key to stop autobo 0=>setenv serverip 192.168.1.55=>setenv ipaddr 192.168.1.56=>setenv nfs_root /home/nikhil/bins/ti/jacinto7_sdk/ti-processor-sdk-linux-j7-evm-08_02_00_03/targetNFS=>setenv name_kern Image-j7-evm.bin=>setenv bootcmd 'run findfdt; run envboot; run setup_${kern_boot}; run init_${rootfs_boot}; run get_kern_${ker'=>setenv init_net 'run args_all args_net; setenv autoload no; dhcp'=>setenv args_net 'setenv bootargs console=${console} ${optargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serv'=>setenv get_kern_net 'tftp ${loadaddr} ${name_kern}'=>setenv get_fdt_net 'tftp ${fdtaddr} ${name_fdt}'=>setenv get_overlay_net 'fdt address ${fdtaddr};fdt resize 0x100000;for overlay in ${overlay_files};do;tftp ${'=>setenv nfs_options 'nolock,v3,tcp,rsize=4096,wsize=4096'=>setenv setup_mmc ''=>setenv setup_net 'setenv autoload no; dhcp'
=>setenv kern_boot net=>setenv rootfs_boot net=>saveenvSaving Environment to FAT... OK=>bootswitch to partitions #0, OKmmc1 is current deviceSD/MMC found on device 1Failed to load 'boot.scr'483 bytes read in 9 ms (51.8 KiB/s)Loaded env from uEnv.txtImporting environment from mmc1 ...Running uenvcmd ...1 bytes read in 11 ms (0 Bytes/s)Already setup.k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabledam65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2link up on port 1, speed 1000, full duplexBOOTP broadcast 1
BOOTP broadcast 2BOOTP broadcast 3
BOOTP broadcast 4BOOTP broadcast 5BOOTP broadcast 6BOOTP broadcast 7BOOTP broadcast 8BOOTP broadcast 9BOOTP broadcast 10
Retry time exceeded; starting againam65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2link up on port 1, speed 1000, full duplexBOOTP broadcast 1BOOTP broadcast 2BOOTP broadcast 3BOOTP broadcast 4BOOTP broadcast 5BOOTP broadcast 6BOOTP broadcast 7BOOTP broadcast 8BOOTP broadcast 9BOOTP broadcast 10
Retry time exceeded; starting againam65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2link up on port 1, speed 1000, full duplex*** ERROR: `ipaddr' not setam65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: rflow_id_base: 2link up on port 1, speed 1000, full duplex*** ERROR: `ipaddr' not setlibfdt fdt_check_header(): FDT_ERR_BADMAGICNo FDT memory address configured. Please configurethe FDT address via "fdt addr <address>" command.Aborting!Bad Linux ARM64 Image magic!
As you can see, I am setting the ipaddr variable but the uboot doesnt want to find it. After manually setting with seteven ipaddr command, I am able to ping my pc where the targetNFS folder is present.
Also, manually trying the tftp ${loadaddr} ${name_kern} command succeeds after setting the ipaddr.
Is the NFS option only for the SKTDA4 board or does it even work with the SOM+PCP setup? If it does, what am I missing?