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-J721S2: SDK install fail

Part Number: PROCESSOR-SDK-J721S2

Hi  Ti expert,

    When I installed PROCESSOR-SDK-J721S2,  there is failure in stalling process as below picture.

1.tftpboot: could not access "*image-.bin". 

2.after failure,  I find there is not  <SDK INSTALL DIR>/linux-devkit folder in directory. We need SDK to compile code.

Environment:

  • Ubuntu22.04 LTS

Please help to solve it, thank you.

  • Hi  Keerthy

    yes, I am using this version.

  • Hi,

    There is an internal bug to track this. For now please use Linux-devkit from one version older SDK.

    https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J721S2/09.00.00.08

    Best Regards,

    Keerthy 

  • Hi Keerthy

    With older SDK  J721S2/09.00.00.08, there is still the failure in setup. Please help to check it.

    Fail picture

    FailLog

    kuuga@kuuga-virtual-machine:~/ti-processor-sdk-linux-adas-j721s2-evm-09_00_00_08$ sudo ./setup.sh 
    -------------------------------------------------------------------------------
    TISDK setup script
    This script will set up your development host for SDK development.
    Parts of this script require administrator priviliges (sudo access).
    -------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    Verifying Linux host distribution
    Ubuntu 22.04 LTS is being used, continuing..
    --------------------------------------------------------------------------------
    
    Starting with Ubuntu 12.04 serial devices are only accessible by members of the 'dialout' group.
    A user must be apart of this group to have the proper permissions to access a serial device.
    
    Are you running this script using sudo? The detected username is 'root'.
    Verify and enter your Linux username below
    [ root ] root
    
    User 'root' is already apart of the 'dialout' group
    
    Do you wish to install required host packages (Press (Y) to run, (n) to skip)? Y
    -------------------------------------------------------------------------------
    setup package script
    This script will make sure you have the proper host support packages installed
    This script requires administrator priviliges (sudo access) if packages are to be installed.
    -------------------------------------------------------------------------------
    System has required packages!
    --------------------------------------------------------------------------------
    Package verification and installation successfully completed
    --------------------------------------------------------------------------------
    Do you wish to run nfs setup (Press (Y) to run, (n) to skip) ? Y
    --------------------------------------------------------------------------------
    In which directory do you want to install the target filesystem?(if this directory does not exist it will be created)
    [ /targetNFS ] 
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will extract the target filesystem to /targetNFS
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    /targetNFS already exists
    (r) rename existing filesystem (o) overwrite existing filesystem (s) skip filesystem extraction
    [r] o
    Old /targetNFS removed
    
    Successfully extracted tisdk-adas-image-j721s2-evm.tar.xz to /targetNFS
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will set up the SDK to install binaries in to:
        /targetNFS/home/root/
    
    The files will be available from /home/root/ on the target.
    
    This setting can be changed later by editing Rules.make and changing the
    ROOTFS_PART variable.
    
    Press return to continue
    Rules.make edited successfully..
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will export your target filesystem for NFS access.
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    /targetNFS already NFS exported, skipping..
    
    Stopping nfs-kernel-server (via systemctl): nfs-kernel-server.service.
    Starting nfs-kernel-server (via systemctl): nfs-kernel-server.service.
    --------------------------------------------------------------------------------
    Do you wish to run tftp setup (Press (Y) to run, (n) to skip) ? Y
    --------------------------------------------------------------------------------
    Which directory do you want to be your tftp root directory?(if this directory does not exist it will be created for you)
    [ /tftpboot ] 
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will set up the tftp server in the /tftpboot directory.
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    
    /tftpboot already exists, not creating..
    ls: cannot access './bin/../board-support/prebuilt-images/*Image-.bin': No such file or directory
    cp: missing destination file operand after '/tftpboot'
    Try 'cp --help' for more information.
    Failed setup, aborting..
    Failed setup, aborting..
    kuuga@kuuga-virtual-machine:~/ti-processor-sdk-linux-adas-j721s2-evm-09_00_00_08$ 
    

  • Hi Peng,

    What I asked was to copy linux-devkit folder from there to the latest SDK that does not have the linux-devkit. Can you please try that?

    - Keerthy

  • Hi Keerthy

     After I copy the older SDK  09_00_00_08 linux-devkit to newest one, there is still  tftpboot fail(could not access "*image-.bin") when processing setup.sh in 09_00_01 SDK.  Log as below:

    
    kuuga@kuuga-virtual-machine:~/ti-processor-sdk-linux-adas-j721s2-evm-09_00_01_03$ sudo ./setup.sh 
    [sudo] password for kuuga: 
    -------------------------------------------------------------------------------
    TISDK setup script
    This script will set up your development host for SDK development.
    Parts of this script require administrator priviliges (sudo access).
    -------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    Verifying Linux host distribution
    Ubuntu 22.04 LTS is being used, continuing..
    --------------------------------------------------------------------------------
    
    Starting with Ubuntu 12.04 serial devices are only accessible by members of the 'dialout' group.
    A user must be apart of this group to have the proper permissions to access a serial device.
    
    Are you running this script using sudo? The detected username is 'root'.
    Verify and enter your Linux username below
    [ root ] root
    
    User 'root' is already apart of the 'dialout' group
    
    Do you wish to install required host packages (Press (Y) to run, (n) to skip)? Y
    -------------------------------------------------------------------------------
    setup package script
    This script will make sure you have the proper host support packages installed
    This script requires administrator priviliges (sudo access) if packages are to be installed.
    -------------------------------------------------------------------------------
    System has required packages!
    --------------------------------------------------------------------------------
    Package verification and installation successfully completed
    --------------------------------------------------------------------------------
    Do you wish to run nfs setup (Press (Y) to run, (n) to skip) ? Y
    --------------------------------------------------------------------------------
    In which directory do you want to install the target filesystem?(if this directory does not exist it will be created)
    [ /targetNFS ] 
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will extract the target filesystem to /targetNFS
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    /targetNFS already exists
    (r) rename existing filesystem (o) overwrite existing filesystem (s) skip filesystem extraction
    [r] o
    Old /targetNFS removed
    
    Successfully extracted tisdk-adas-image-j721s2-evm.tar.xz to /targetNFS
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will set up the SDK to install binaries in to:
        /targetNFS/home/root/
    
    The files will be available from /home/root/ on the target.
    
    This setting can be changed later by editing Rules.make and changing the
    ROOTFS_PART variable.
    
    Press return to continue
    Rules.make edited successfully..
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will export your target filesystem for NFS access.
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    /targetNFS already NFS exported, skipping..
    
    Stopping nfs-kernel-server (via systemctl): nfs-kernel-server.service.
    Starting nfs-kernel-server (via systemctl): nfs-kernel-server.service.
    --------------------------------------------------------------------------------
    Do you wish to run tftp setup (Press (Y) to run, (n) to skip) ? Y
    --------------------------------------------------------------------------------
    Which directory do you want to be your tftp root directory?(if this directory does not exist it will be created for you)
    [ /tftpboot ] 
    --------------------------------------------------------------------------------
    
    --------------------------------------------------------------------------------
    This step will set up the tftp server in the /tftpboot directory.
    
    Note! This command requires you to have administrator priviliges (sudo access) 
    on your host.
    Press return to continue
    
    /tftpboot already exists, not creating..
    ls: cannot access './bin/../board-support/prebuilt-images/*Image-.bin': No such file or directory
    cp: missing destination file operand after '/tftpboot'
    Try 'cp --help' for more information.
    Failed setup, aborting..
    Failed setup, aborting..
    
    
    
    

  • Hi Peng,

    I believe now the compilation is going through. Could you please share the output of below command:

    ls -l $sdk-path/board-support/prebuolt-images/

    The above should have the kernel binary.

    Best Regards,

    Keerthy

  • ls -l result as below:

    kuuga@kuuga-virtual-machine:~/ti-processor-sdk-linux-adas-j721s2-evm-09_00_01_03/board-support/prebuilt-images$ ls -l
    total 57744
    -rw-r--r-- 1 root root    43952  7月  6 06:01 bl31.bin
    -rw-r--r-- 1 root root   444536  7月  6 06:01 bl32.bin
    -rw-r--r-- 1 root root  2297969 10月 17 19:40 boot-adas-j721s2-evm.tar.gz
    -rw-r--r-- 1 root root  8983922  7月  6 06:01 fitImage
    -rw-r--r-- 1 root root    31686 10月 17 19:40 fitImage.its
    -rw-r--r-- 1 root root 20920832  7月  6 06:01 Image
    -rw-r--r-- 1 root root 20920832  7月  6 06:01 Image-j721s2-evm.bin
    -rw-r--r-- 1 root root    76203  7月  6 06:01 k3-am68-sk-base-board.dtb
    -rw-r--r-- 1 root root     2555  7月  6 06:01 k3-am68-sk-bb-csi2-ov5640.dtbo
    -rw-r--r-- 1 root root     3359  7月  6 06:01 k3-am68-sk-bb-rpi-cam-imx219.dtbo
    -rw-r--r-- 1 root root     3389  7月  6 06:01 k3-am68-sk-fpdlink-fusion.dtbo
    -rw-r--r-- 1 root root     1936  7月  6 06:01 k3-am68-sk-rpi-hdr-ehrpwm.dtbo
    -rw-r--r-- 1 root root    10448  7月  6 06:01 k3-am68-sk-som-ddr-mem-carveout.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-0-0.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-0-1.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-0-2.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-0-3.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-1-0.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-1-1.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-1-2.dtbo
    -rw-r--r-- 1 root root     2389  7月  6 06:01 k3-fpdlink-imx390-rcm-1-3.dtbo
    -rw-r--r-- 1 root root     2221  7月  6 06:01 k3-fpdlink-ov2312-0-0.dtbo
    -rw-r--r-- 1 root root     2221  7月  6 06:01 k3-fpdlink-ov2312-0-1.dtbo
    -rw-r--r-- 1 root root     2221  7月  6 06:01 k3-fpdlink-ov2312-0-2.dtbo
    -rw-r--r-- 1 root root     2221  7月  6 06:01 k3-fpdlink-ov2312-0-3.dtbo
    -rw-r--r-- 1 root root      785  7月  6 06:01 k3-j7200-evm-mcspi-loopback.dtbo
    -rw-r--r-- 1 root root    91222  7月  6 06:01 k3-j721s2-common-proc-board.dtb
    -rw-r--r-- 1 root root     9302  7月  6 06:01 k3-j721s2-edgeai-apps.dtbo
    -rw-r--r-- 1 root root     1626  7月  6 06:01 k3-j721s2-evm-csi2-ov5640.dtbo
    -rw-r--r-- 1 root root     2988  7月  6 06:01 k3-j721s2-evm-fusion.dtbo
    -rw-r--r-- 1 root root     2046  7月  6 06:01 k3-j721s2-evm-gesi-exp-board.dtbo
    -rw-r--r-- 1 root root    10182  7月  6 06:01 k3-j721s2-vision-apps.dtbo
    -rw-r--r-- 1 root root     1371  7月  6 06:01 README
    -rw-r--r-- 1 root root   474025  7月  6 06:01 tiboot3.bin
    -rw-r--r-- 1 root root   474025  7月  6 06:01 tiboot3-j721s2-gp-evm.bin
    -rw-r--r-- 1 root root   474025  7月  6 06:01 tiboot3-j721s2-gp-evm-j721s2-evm-k3r5-2023.04+gitAUTOINC+bd74e615a6-r0_psdkla_0_edgeai_2.bin
    -rw-r--r-- 1 root root   476614  7月  6 06:01 tiboot3-j721s2-hs-evm.bin
    -rw-r--r-- 1 root root   476614  7月  6 06:01 tiboot3-j721s2-hs-fs-evm.bin
    drwxr-xr-x 3 root root     4096 11月 14 12:44 ti-dm
    -rw-r--r-- 1 root root  1039943  7月  6 06:01 tispl.bin
    drwxr-xr-x 2 root root     4096 11月 14 12:46 ti-sysfw
    -rw-r--r-- 1 root root    91072  7月  6 06:01 u-boot.dtb
    -rw-r--r-- 1 root root  1322479  7月  6 06:01 u-boot.img
    -rwxr-xr-x 1 root root   321600  7月  6 06:01 u-boot-spl.bin-j721s2-evm
    -rw-r--r-- 1 root root     1036  7月  6 06:01 uEnv.txt