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.

PROCESSOR-SDK-DRA8X-TDA4X: "bootfile" variable not set

Part Number: PROCESSOR-SDK-DRA8X-TDA4X


Hello,

I am using latest SDK v7.1, I have set boot from NFS as per the user guide

However, the EVM not able to boot since it could not find boot file (line 7 in below code), I checked "echo ${bootfile}" -- shows empty so boot fie is not set.

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.2.1; our IP address is 192.168.2.65
Filename '/home/vinod/ti/ti-processor-sdk-linux-j7-evm-07_01_00_10/targetNFS/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.2.1; our IP address is 192.168.2.65
Filename '/home/vinod/ti/ti-processor-sdk-linux-j7-evm-07_01_00_10/targetNFS/boot/k3-j721e-common-proc-board.dtb'.
Load address: 0x88000000
Loading: ###################
done
Bytes transferred = 93829 (16e85 hex)
Bad Linux ARM64 Image magic!
=> 

So I set environment variable bootfile to Image (symbolic link to Image-5.4.74-g9574bba32a) which is present in targetNFS/boot/ folder

=> setenv bootfile Image

Now EVM boots, but i am not able to login since it says user name "root" is incorrect.

could you please let me know  if the steps right, what is the correct boot file ?

  • Hi Irappa,

    Can you please give details about the bootargs that you used & also the full boot logs for me to analyze better?

    Best Regards,
    Keerthy

  • Hi Keerthy.

    I am attaching the configurations I used, I am using static IP, please have a look and let me know if these are correct

    => setenv ipaddr 192.168.2.65
    => setenv serverip 192.168.2.1      
    => setenv rootpath /home/vinod/ti/ti-processor-sdk-linux-j7-evm-07_01_00_10/targetNFS
    => setenv init_nfs 'run args_all args_nfs; setenv autoload no;'
    => setenv args_nfs 'setenv bootargs console=${console} ${optargs} root=/dev/nfs rw nfsroot=${serverip}:${rootpath},v3 ip={ipaddr}'
    => setenv get_overlay_nfs 'fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $overlay_files;do;nfs ${overlayaddr} ${serverip}:${rootpath}${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

    Thanks!

  • Hi Irappa,

    Bootargs look fine.
    Apologies for the delayed response. Are you facing issues with root login still?
    I am somehow not seeing the complete boot logs. Can you please attach it as a file?

    Best Regards,
    Keerthy