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.

如何在ubuntu20.04上安装ti-processor-sdk-linux-j7-evm-08_06_01_02

Other Parts Discussed in Thread: J721EXSOMXEVM

1、问题: 由于ti-processor-sdk-linux-j7-evm-08_06_01_02提示要安装在ubuntu18.04系统,目前没有18.04系统,请问:如何在ubuntu20.04上安装ti-processor-sdk-linux-j7-evm-08_06_01_02

2、log:

(py36) edgeai@cambricon-QiTianM430-N000:~/ti-processor-sdk-linux-j7-evm-08_06_01_02$ ./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
Unsupported host Linux. Only Ubuntu 18.04 LTS is supported
Failed setup, aborting..

(py36) edgeai@cambricon-QiTianM430-N000:~/ti-processor-sdk-linux-j7-evm-08_06_01_02$ uname -a
Linux cambricon-QiTianM430-N000 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

  • 1、修改注释了ti-processor-sdk-linux-j7-evm-08_06_01_02/bin/setup-host-check.sh中的Ubuntu 18.04的检查,目前setup.sh成功了。

    2、U盘SDK烧系统有问题,具体log如下:

    (base) ubuntu@ubuntu-QiTianM430-N000:~/work/TDA4$ sudo dpkg-reconfigure dash
    Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
    Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
    Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
    Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
    (base) ubuntu@ubuntu-QiTianM430-N000:~/work/TDA4$ sudo /home/ubuntu/work/TDA4/ti-processor-sdk-linux-j7-evm-08_06_01_02/bin/mksdboot.sh --device /dev/sdb1 --sdk /home/ubuntu/work/TDA4/ti-processor-sdk-linux-j7-evm-08_06_01_02
    -- Main device is: /dev/nvme0n1p4
    ************************************************************
    *         THIS WILL DELETE ALL THE DATA ON /dev/sdb1         *
    *                                                          *
    *         WARNING! Make sure your computer does not go     *
    *                  in to idle mode while this script is    *
    *                  running. The script will complete,      *
    *                  but your SD card may be corrupted.      *
    *                                                          *
    *         Press <ENTER> to confirm....                     *
    ************************************************************

    unmounting device '/dev/sdb1'
    1024+0 records in
    1024+0 records out
    1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0866819 s, 12.1 MB/s

    Welcome to fdisk (util-linux 2.37.2).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.

    Device does not contain a recognized partition table.
    Created a new DOS disklabel with disk identifier 0xac8f2b89.

    Command (m for help): Partition type
       p   primary (0 primary, 0 extended, 4 free)
       e   extended (container for logical partitions)
    Select (default p): Partition number (1-4, default 1): First sector (2048-29032682, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-29032682, default 29032682):
    Created a new partition 1 of type 'Linux' and of size 62 MiB.

    Command (m for help): Partition type
       p   primary (1 primary, 0 extended, 3 free)
       e   extended (container for logical partitions)
    Select (default p): Partition number (2-4, default 2): First sector (129024-29032682, default 129024): Last sector, +/-sectors or +/-size{K,M,G,T,P} (129024-29032682, default 29032682):
    Created a new partition 2 of type 'Linux' and of size 13.8 GiB.

    Command (m for help): Partition number (1,2, default 2): Hex code or alias (type L to list all):
    Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.

    Command (m for help): Partition number (1,2, default 2):
    The bootable flag on partition 1 is enabled now.

    Command (m for help): The partition table has been altered.
    Calling ioctl() to re-read partition table.
    Re-reading the partition table failed.: Invalid argument

    The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).

    unmounting device '/dev/sdb1'
    Formatting /dev/sdb1 ...
    Cant find boot partition in /dev
    mke2fs 1.46.5 (30-Dec-2021)
    The file /dev/sdb1p2 does not exist and no size was specified.
    Partitioning and formatting completed!
    Copying filesystem on /dev/sdb1p1, /dev/sdb1p2
    mount: /tmp/sdk/655483/boot: mount point does not exist.

    ERROR: executing mount /dev/sdb1p1 /tmp/sdk/655483/boot

  • 请问您是用的TDA4这个型号吗?是在开发板上测试?具体哪个开发板?

  • 您好,您的问题我们需要请求下英文论坛工程师的帮助,链接如下:

    e2e.ti.com/.../j721exsomxevm-flash-issue