Libdram-prebuilt fails while building yokto for genio-720-evk

I’m trying to build genio-720-evk image from rity/scarthgap repo. And getting below error

Build Configuration:
BB_VERSION           = "2.8.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "genio-720-evk"
DISTRO               = "rity-demo"
DISTRO_VERSION       = "25.1-dev"
TUNE_FEATURES        = "aarch64 armv8a crc"
TARGET_FPU           = ""

ERROR: libdram-prebuilt-1.0-r0 do_install: ExecutionError('/home/emre/iot-yokto/build/tmp/work/genio_720_evk-poky-linux/libdram-prebuilt/1.0/temp/run.do_install.1548814', 1, None, None)
ERROR: Logfile of failure stored in: /home/emre/iot-yokto/build/tmp/work/genio_720_evk-poky-linux/libdram-prebuilt/1.0/temp/log.do_install.1548814
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/emre/iot-yokto/src/poky/meta/recipes-core/glibc/glibc_2.39.bb:do_populate_sysroot', '/home/emre/iot-yokto/src/poky/meta/recipes-devtools/gcc/gcc-cross_13.4.bb:do_populate_sysroot', '/home/emre/iot-yokto/src/poky/meta/recipes-devtools/gcc/gcc-runtime_13.4.bb:do_populate_sysroot', '/home/emre/iot-yokto/src/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/emre/iot-yokto/src/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/emre/iot-yokto/src/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'glibc', 'binutils-cross-aarch64', 'gcc-cross-aarch64', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'zlib-native', 'flex-native', 'gnu-config-native', 'patch-native', 'pseudo-native', 'xz-native', 'zstd-native', 'attr-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 'sqlite3-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat '/home/emre/iot-yokto/build/tmp/work/genio_720_evk-poky-linux/libdram-prebuilt/1.0/git/genio-720-evk/libdram.a': No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/emre/iot-yokto/src/poky/../meta-mediatek-bsp/recipes-bsp/libdram/libdram-prebuilt.bb:do_install) failed with exit code '1'

When I have check dram-prebuilt repo ( MediaTek / AIoT / RITY / libdram-prebuilt · GitLab ) I found there is no prebuild library directory for genio-720-evk which is main root cause of the problem.

Can anyone help me on that?

Ps: I’m not using NDA_BUILD, only using public repos

Hi @Emre_Kara ,

Currently the pre-releases of IoT Yocto v25.1 and Genio 720/520 recipes does require permissions to access the “NDA” repositories. The pre-built binaries for Genio 720/520 is planned to be available at the official release of IoT Yocto v25.1. Please set NDA_BUILD = "1" and check if you have access to the NDA repositories: GitLab Account Setup — IoT Yocto documentation

Thanks for your reply Pablo. I can confirm that, after enabling NDA_BUİLD = “1”, I’m able to build yokto for Genio 720.