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.

SK-TDA4VM: Issues building SDK with Yocto using Docker with Ubuntu 18.04 image

Part Number: SK-TDA4VM


Hi,

Since I have Ubuntu 20.04 on my machine, I am using Docker to run Ubuntu 18.04 since that's the version the SDK is made for.

I am following the instructions in https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/latest/exports/docs/linux/Overview_Building_the_SDK.html#quick-start but I am getting many errors during Yocto build. I am not sure if it is due to the fact I am running the build inside Docker or due to something else.

Here are the errors:

ERROR: gnu-config-native-20200117+gitAUTOINC+5256817ace-r0 do_unpack: Bitbake Fetcher Error: UnpackError('No up to date source found: clone directory not available or not up to date: /home/victorc/tda4_sdk_8_02/ti-processor-sdk-linux-j7-evm-08_02_00_04/yocto-build/downloads/git2/git.savannah.gnu.org.config.git; shallow clone not enabled', 'git://git.savannah.gnu.org/config.git;branch=master')
ERROR: Logfile of failure stored in: /home/victorc/tda4_sdk_8_02/ti-processor-sdk-linux-j7-evm-08_02_00_04/yocto-build/build/arago-tmp-external-arm-glibc/work/x86_64-linux/gnu-config-native/20200117+gitAUTOINC+5256817ace-r0/temp/log.do_unpack.9031
ERROR: Task (virtual:native:/home/victorc/tda4_sdk_8_02/ti-processor-sdk-linux-j7-evm-08_02_00_04/yocto-build/sources/oe-core/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_unpack) failed with exit code '1'
WARNING: pkgconfig-native-0.29.2+gitAUTOINC+edf8e6f0ea-r0 do_fetch: Failed to fetch URL git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;protocol=https, attempting MIRRORS if available
WARNING: ncurses-native-6.2-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/debian/ncurses.git;protocol=https;branch=master, attempting MIRRORS if available
WARNING: expat-native-2.2.9-r0 do_fetch: Failed to fetch URL git://github.com/libexpat/libexpat.git;protocol=https;branch=master, attempting MIRRORS if available
WARNING: file-native-5.38-r0 do_fetch: Failed to fetch URL git://github.com/file/file.git;branch=master;protocol=https, attempting MIRRORS if available
WARNING: rpm-native-1_4.14.2.1-r0 do_fetch: Failed to fetch URL git://github.com/rpm-software-management/rpm;branch=rpm-4.14.x;protocol=https, attempting MIRRORS if available
WARNING: e2fsprogs-native-1.45.7-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master, attempting MIRRORS if available
ERROR: pkgconfig-native-0.29.2+gitAUTOINC+edf8e6f0ea-r0 do_fetch: Fetcher failure: Fetch command export

....

...

mc:k3r5:virtual:native:/home/victorc/tda4_sdk_8_02/ti-processor-sdk-linux-j7-evm-08_02_00_04/yocto-build/sources/oe-core/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_unpack
mc:k3r5:virtual:native:/home/victorc/tda4_sdk_8_02/ti-processor-sdk-linux-j7-evm-08_02_00_04/yocto-build/sources/oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_fetch
Summary: There were 247 WARNING messages shown.
Summary: There were 369 ERROR messages shown, returning a non-zero exit code.