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.

AM5729: TI SDK linux build failed - ti-processor-sdk-linux-am57xx-evm-06_03_00_106

Part Number: AM5729

Hi~

I want to make tisdk linux img for BBAI.

I tried to build tisdk as this link, https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Overview_Building_the_SDK.html#:~:text=Using%20source%20package%20snapshot

$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-<version>-config.txt
$ mkdir downloads
$ cd downloads
$ # Assuming src file downloaded to $HOME/Downloads
$ tar xvf $HOME/Downloads/<target-board>-linux-sdk-arago-src-##.##.##.##.tar.xz
$ <target-board>-linux-sdk-arago-src-##.##.##.##/get_build_sources.sh <target-board>-linux-sdk-arago-src-##.##.##.##/source_pkg_list.txt
$ cd ..</span>
$ cd build
$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
$ MACHINE=<target-board> bitbake arago-core-tisdk-bundle


But I got this error...

ERROR: lz4-1_1.8.2-r0 do_fetch: Fetcher failure: Unable to find revision b3692db46d2b23a7c0af2d5e69988c94f126e10a in branch master even from upstream
ERROR: lz4-1_1.8.2-r0 do_fetch: Fetcher failure for URL: 'git://github.com/lz4/lz4.git'. Unable to fetch URL from any source.
ERROR: lz4-1_1.8.2-r0 do_fetch: Function failed: base_do_fetch




--------------------

Though I tried other method as below,
$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-<version>-config.txt
$ cd build
$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu
$ MACHINE=am57xx-evm bitbake arago-base-tisdk-image


The other error prints out...


ERROR: iso-codes-4.1-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1901"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/sources/oe-core/scripts:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/work/all-linux/iso-codes/4.1-r0/recipe-sysroot-native/usr/bin/allarch-linux:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/work/all-linux/iso-codes/4.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/work/all-linux/iso-codes/4.1-r0/recipe-sysroot-native/usr/sbin:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/work/all-linux/iso-codes/4.1-r0/recipe-sysroot-native/usr/bin:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/work/all-linux/iso-codes/4.1-r0/recipe-sysroot-native/sbin:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/work/all-linux/iso-codes/4.1-r0/recipe-sysroot-native/bin:/home/devsoft/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/sources/bitbake/bin:/home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/build/arago-tmp-external-arm-toolchain/hosttools"; export HOME="/home/devsoft"; tar -xzf /home/devsoft/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/tisdk/downloads/git2_salsa.debian.org.iso-codes-team.iso-codes.git.tar.gz failed with exit code 2, output:

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

ERROR: iso-codes-4.1-r0 do_fetch: Fetcher failure for URL: 'git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http'. Unable to fetch URL from any source.
ERROR: iso-codes-4.1-r0 do_fetch: Function failed: base_do_fetch



I think I have to modify git links in some files. But I don't know how to fix it.
What should I do..?