We are trying to build the Linux for ADSP-SC598 version 3.1.2 by following the instructions on this web page: Linux for ADSP-SC5xx Processors 3.1.2.
We need to use this version, it is compatible with the UCSDK package provided to us by ADI. We cannot use the more recent 5.0+ versions.
We can follow the instructions in the guide until we reach the step where we run the command:
bitbake adsp-sc5xx-minimal -c populate_sdk
The command fails with the following error:
WARNING: nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0 do_fetch: Failed to fetch URL git://github.com/analogdevicesinc/openocd.git;protocol=https;branch=adi-main, attempting MIRRORS if available
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_gcc_stash_builddir: Succeeded
NOTE: Running task 2984 of 4823 (/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/poky/meta/recipes-devtools/gcc/gcc-crosssdk_11.5.bb:do_install)
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_install: Started
ERROR: nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0 do_fetch: Fetcher failure: Unable to find revision f73da81abc674d60b91fa3cdfae6db69a3a9e385 in branch adi-main even from upstream
ERROR: nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/analogdevicesinc/openocd.git;protocol=https;branch=adi-main')
ERROR: Logfile of failure stored in: /home/vboxuser/adsp-sc598-som-ezkit-yocto-build/build/tmp/work/x86_64-nativesdk-adi_glibc_sdk-linux/nativesdk-openocd-adi/0.10+gitrAUTOINC+f73da81abc-r0/temp/log.do_fetch.3403780
NOTE: recipe nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0: task do_fetch: Failed
ERROR: Task (virtual:nativesdk:/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/meta-adi/meta-adi-adsp-sc5xx/recipes-devtools/openocd/openocd-adi.bb:do_fetch) failed with exit code '1'
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_install: Succeeded
NOTE: Tasks Summary: Attempted 2985 tasks of which 2982 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:nativesdk:/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/meta-adi/meta-adi-adsp-sc5xx/recipes-devtools/openocd/openocd-adi.bb:do_fetch
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
We've also attached the full command log to this post.
It appears that some resources that are needed have been moved, or are no longer available online.
Some information about our environment:
- We are using a fresh Ubuntu 22 Virtual Machine, on VirtualBox, set up solely for this build
- We have configured the build for SOM_REV = "E" and CRR_REV = "A"
What can be done to resolve this?
Loading cache...done.
Loaded 4031 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-adi_glibc-linux"
MACHINE = "adsp-sc598-som-ezkit"
DISTRO = "adi-distro-glibc"
DISTRO_VERSION = "3.1.2"
TUNE_FEATURES = "aarch64 armv8-2a crypto cortexa55"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:7e87dc422d972e0dc98372318fcdc63a76347d16"
meta-arm
meta-arm-toolchain = "HEAD:936c02ec13661bd86a05f7f90e1b920d5092d670"
meta-adi-adsp-sc5xx = "HEAD:b69c8f5b39a9c72df394c589497cda17a3e332ea"
meta-adi-adsp-sc5xx-security = "HEAD:585bc4ea281fb71f8c80abc67cfbf84ed2cf2229"
meta-oe
meta-python
meta-networking
meta-multimedia = "HEAD:4ad41baed6236d499804cbfc4f174042d84fce97"
Initialising tasks...done.
Sstate summary: Wanted 462 Local 0 Mirrors 0 Missed 462 Current 1218 (0% match, 72% complete)
NOTE: Executing Tasks
NOTE: Running task 545 of 4823 (/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/poky/meta/recipes-devtools/gcc/gcc-crosssdk_11.5.bb:do_gcc_stash_builddir)
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_gcc_stash_builddir: Started
NOTE: Running task 2983 of 4823 (virtual:nativesdk:/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/meta-adi/meta-adi-adsp-sc5xx/recipes-devtools/openocd/openocd-adi.bb:do_fetch)
NOTE: recipe nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0: task do_fetch: Started
WARNING: nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0 do_fetch: Failed to fetch URL git://github.com/analogdevicesinc/openocd.git;protocol=https;branch=adi-main, attempting MIRRORS if available
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_gcc_stash_builddir: Succeeded
NOTE: Running task 2984 of 4823 (/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/poky/meta/recipes-devtools/gcc/gcc-crosssdk_11.5.bb:do_install)
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_install: Started
ERROR: nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0 do_fetch: Fetcher failure: Unable to find revision f73da81abc674d60b91fa3cdfae6db69a3a9e385 in branch adi-main even from upstream
ERROR: nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/analogdevicesinc/openocd.git;protocol=https;branch=adi-main')
ERROR: Logfile of failure stored in: /home/vboxuser/adsp-sc598-som-ezkit-yocto-build/build/tmp/work/x86_64-nativesdk-adi_glibc_sdk-linux/nativesdk-openocd-adi/0.10+gitrAUTOINC+f73da81abc-r0/temp/log.do_fetch.3403780
NOTE: recipe nativesdk-openocd-adi-0.10+gitrAUTOINC+f73da81abc-r0: task do_fetch: Failed
ERROR: Task (virtual:nativesdk:/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/meta-adi/meta-adi-adsp-sc5xx/recipes-devtools/openocd/openocd-adi.bb:do_fetch) failed with exit code '1'
NOTE: recipe gcc-crosssdk-x86_64-adi_glibc_sdk-linux-11.5.0-r0: task do_install: Succeeded
NOTE: Tasks Summary: Attempted 2985 tasks of which 2982 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:nativesdk:/home/vboxuser/adsp-sc598-som-ezkit-yocto-build/sources/meta-adi/meta-adi-adsp-sc5xx/recipes-devtools/openocd/openocd-adi.bb:do_fetch
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.