Hi,
recently I have upgraded to ti-processor-sdk-linux-j7-evm-07_02_00_07 and ti-processor-sdk-rtos-j721e-evm-07_02_00_06. Once the upgrade has been done, I have flashed the SD card following the instructions and I could run the vision demo applications.Scrolling down the page, I have seen that is also possible to boot from NFS, after following the steps described in the instructions I could start the booting process but it failed due to Bad Linux ARM64 Image magic! .
Attached you can find the booting logs from SD_Card and NFS.
Btw, the instructions are not really complete; when running the make linux_fs_install_sd , it will fail because the script cannot copy under /usr/lib the necessary file(s). I have fixed that by running: sudo chmod 777 /usr/lib
Could you please support me in finding the root cause of the issue?
Thank you in advance,
Benone
U-Boot 2020.01-g3c9ebdb87d (Jan 25 2021 - 04:02:01 +0000) SoC: J721E SR1.0 Model: Texas Instruments K3 J721E SoC Board: J721EX-PM2-SOM rev E8 DRAM: 4 GiB not found for dev hbmc-mux Flash: 0 Bytes MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1 Loading Environment from MMC... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Detected: J7X-BASE-CPB rev E3 Detected: J7X-VSC8514-ETH rev E2 Net: Warning: ethernet@46000000 using MAC address from ROM eth0: ethernet@46000000 Hit any key to stop autoboot: 0 => setenv serverip_to_set 192.168.144.147 => setenv rootpath /home/conti/ti/vision_demo_NFS => setenv init_nfs 'run args_all args_nfs; setenv autoload no;dhcp; setenv serverip ${serverip_to_set}' => setenv args_nfs 'setenv bootargs console=${console} ${optargs} root=/dev/nfs rw nfsroot=${serverip}:${rootpath},v3 ip=dhcp' => setenv get_overlay_nfs 'fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $overlay_files;do;nfs ${overlayaddr} ${serverip}:${rootpat h}${bootdir}/${overlay} && fdt apply ${overlayaddr};done;' => setenv get_kern_nfs 'nfs ${loadaddr} ${serverip}:${rootpath}${bootdir}/${bootfile}' => setenv get_fdt_nfs 'nfs ${fdtaddr} ${serverip}:${rootpath}${bootdir}/${fdtfile}' => setenv boot_rprocs 'if test ${dorprocboot} -eq 1; then rproc init;run boot_rprocs_mmc;fi;' => setenv rproc_load_and_boot_one 'if nfs $loadaddr ${serverip}:${rootpath}${rproc_fw};then if rproc load ${rproc_id} ${loadaddr} ${filesize}; then rproc start ${rproc_id};fi;fi' => setenv boot nfs => saveenv Saving Environment to MMC... Writing to redundant MMC(0)... OK => boot switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 483 bytes read in 2 ms (235.4 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 1 bytes read in 2 ms (0 Bytes/s) Already setup. link up on port 1, speed 1000, full duplex BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 26 *** Unhandled DHCP Option in OFFER/ACK: 26 DHCP client bound to address 192.168.144.176 (14 ms) link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-main-r5f0_0-fw'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################ done Bytes transferred = 5216600 (4f9958 hex) Load Remote Processor 2 with data@addr=0x82000000 5216600 bytes: Success! link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-main-r5f0_1-fw'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################################### done Bytes transferred = 1964032 (1df800 hex) Load Remote Processor 3 with data@addr=0x82000000 1964032 bytes: Success! link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-main-r5f1_0-fw'. Load address: 0x82000000 Loading: *** ERROR: File lookup fail done link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-main-r5f1_1-fw'. Load address: 0x82000000 Loading: *** ERROR: File lookup fail done link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-c66_0-fw'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################# done Bytes transferred = 1579152 (181890 hex) Load Remote Processor 6 with data@addr=0x82000000 1579152 bytes: Success! link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-c66_1-fw'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################# done Bytes transferred = 1579152 (181890 hex) Load Remote Processor 7 with data@addr=0x82000000 1579152 bytes: Success! link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/lib/firmware/j7-c71_0-fw'. Load address: 0x82000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################################### done Bytes transferred = 9969648 (981ff0 hex) Load Remote Processor 8 with data@addr=0x82000000 9969648 bytes: Success! link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/boot/'. Load address: 0x82000000 Loading: *** ERROR: File lookup fail done link up on port 1, speed 1000, full duplex Using ethernet@46000000 device File transfer via NFS from server 192.168.144.147; our IP address is 192.168.144.176 Filename '/home/conti/ti/vision_demo_NFS/boot/k3-j721e-common-proc-board.dtb'. Load address: 0x88000000 Loading: ################### done Bytes transferred = 93829 (16e85 hex) Bad Linux ARM64 Image magic! =>