Hi NXP,
Thanks for this form. I am trying to download and build the BSP source code for "I.MX 8M Plus" target.
1. I am referring this to download and build BSP code "https://docs.nxp.com/bundle/AN13712/page/topics/module_and_board.html".
2. Please find host PC info:
$ uname -a
Linux das-ThinkPad-L14-Gen-1 6.14.0-24-generic #24-Ubuntu SMP PREEMPT_DYNAMIC Sun Jun 15 11:18:07 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
3. Build and env settings:
das@das-ThinkPad-L14-Gen-1:~$ DISTRO=fsl-imx-xwayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b build
das@das-ThinkPad-L14-Gen-1:~$ bitbake imx-image-full -c populate_sdk
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ bitbake imx-image-full -c populate_sdk
das@das-ThinkPad-L14-Gen-1:
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool file locales libacl1
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales -y
das@das-ThinkPad-L14-Gen-1:~sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool file locales libacl1
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ sudo apparmor_parser -R /etc/apparmor.d/unprivileged_userns
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ sudo locale-gen en_US.UTF-8
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ bitbake imx-image-full -c populate_sdk
4. build error:
das@das-ThinkPad-L14-Gen-1:~/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build$ bitbake imx-image-full
WARNING: Host distribution "ubuntu-25.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################################################################################| Time: 0:00:02
Loaded 5449 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 17.0.6 of llvm-native not available (for item llvm-native)
WARNING: versions of llvm-native available: 17.0.3
Build Configuration:
BB_VERSION = "2.6.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-25.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-nanbield"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"
WARNING: Your host glibc version (2.41) is newer than that in uninative (2.38). Disabling uninative so that sstate is not corrupted.
Initialising tasks: 100% |###############################################################################################################################################| Time: 0:00:11
Sstate summary: Wanted 7712 Local 0 Mirrors 0 Missed 7712 Current 142 (0% match, 1% complete)
NOTE: Executing Tasks
ERROR: pseudo-native-1.9.0+git-r0 do_compile: ExecutionError('/home/das/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+git/temp/run.do_compile.28961', 1, None, None)
ERROR: Logfile of failure stored in: /home/das/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+git/temp/log.do_compile.28961
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: Building/installing only 64-bit libpseudo.so for pseudo-native.
| NOTE: If you need to run 32-bit executables, ensure that NO32LIBS is set to 0.
| SQLite header for version 3043001 found in /home/das/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+git/recipe-sysroot-native/usr.
| Enabling in-memory database by default.
| NOTE: make -j 4 RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/
| make: Nothing to be done for 'all'.
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/home/das/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 359 tasks of which 358 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/das/Desktop/das/NXP/Project/nxpevb/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_compile
Summary: There were 4 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.
Can you please get back how to resolve this BSP and Yacto build issue;
Thanks,
Das
NXP ,
Can you help on this :
dasmiddepogu@dasmiddepogu-ThinkPad-L13-Yoga-Gen-3:~/Desktop/das/project/imx-yocto-bsp/build$ bitbake core-image-minimal
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:01
Loaded 5449 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 17.0.6 of llvm-native not available (for item llvm-native)
WARNING: versions of llvm-native available: 17.0.3
Build Configuration:
BB_VERSION = "2.6.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-nanbield"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"
Initialising tasks: 100% |##################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 1103 Local 2 Mirrors 0 Missed 1101 Current 1686 (0% match, 60% complete)
NOTE: Executing Tasks
ERROR: openssl-3.1.4-r0 do_compile: oe_runmake failed
ERROR: openssl-3.1.4-r0 do_compile: ExecutionError('/home/dasmiddepogu/Desktop/das/project/imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/openssl/3.1.4/temp/run.do_compile.14161', 1, None, None)
ERROR: Logfile of failure stored in: /home/dasmiddepogu/Desktop/das/project/imx-yocto-bsp/build/tmp/work/armv8a-poky-linux/openssl/3.1.4/temp/log.do_compile.14161
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 12
ERROR: Task (/home/dasmiddepogu/Desktop/das/project/imx-yocto-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_3.1.4.bb:do_compile) failed with exit code '1'
Waiting for 11 running tasks to finish:
0: qemu-native-8.1.2-r0 do_compile - 45s (pid 14162)
1: linux-imx-6.6.3+git-r0 do_fetch - 45s (pid 14185) | <=> |
2: rust-llvm-native-1.70.0-r0 do_compile - 45s (pid 14195) 0% | |
3: icu-73-2-r0 do_compile - 44s (pid 14317)
4: perl-5.38.0-r0 do_compile - 43s (pid 14323)
5: util-linux-2.39.2-r0 do_package - 43s (pid 14318)
6: libical-native-3.0.16-r0 do_compile - 43s (pid 14321) 36% |################################################### |
7: bash-5.2.15-r0 do_configure - 43s (pid 1432^C
dasmiddepogu@dasmiddepogu-ThinkPad-L13-Yoga-Gen-3:~/Desktop/das/project/imx-y
Regards,
Das
The causes for OE_RUNMAKE error can be various. Insufficient DDR can be one.
Make sure that your build Host is set well as required, except for the hardware resources as mentioned.
Regards
Harvey
NXP,
can you help below error:
dasmiddepogu@dasmiddepogu-ThinkPad-L13-Yoga-Gen-3:~/Desktop/das/project/imx-yocto-bsp/build$ bitbake -c cleansstate openssl
dasmiddepogu@dasmiddepogu-ThinkPad-L13-Yoga-Gen-3:~/Desktop/das/project/imx-yocto-bsp/build$ bitbake openssl
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:00
Loaded 5449 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.6.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-nanbield"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"
Initialising tasks: 100% |##################################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 100 Local 0 Mirrors 0 Missed 100 Current 616 (0% match, 86% complete)
NOTE: Executing Tasks
NOTE: No reply from server in 30s (for command ping at 05:13:49.520202)
Timeout while waiting for a reply from the bitbake server (60s at 05:14:19.561139)
i am holding host pc with 1TB memory , 8GB RAM, 10 CPU core..
ThinkPad-L13-Yoga-Gen-3 5.15.0-139-generic #149~20.04.1-Ubuntu SMP Wed Apr 16 08:29:56 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Thanks
Das
Hi NXP,
Most of the times i am facing issue of bitbake server connectivity while build these images(fsl-image-machine-
test, imx-image-multimedia, imx-image-full) but its ok to build for these images(imx-image-core,core-image-base).
While build these images (fsl-image-machine-test, imx-image-multimedia, imx-image-full) its build for for Vulkan and OpenCV lib, which is unable to build by bitbake server. Do you have any other document how to optimize to build bitback for Vulkan and OpenCV?
I am holding 4 CPU cores Inter processor.
Can you please help on this issue?
Please find the logs as below:
******************Logs***********************
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |#######################################################################################################################################################################| Time: 0:00:01
Loaded 5449 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 17.0.6 of llvm-native not available (for item llvm-native)
WARNING: versions of llvm-native available: 17.0.3
Build Configuration:
BB_VERSION = "2.6.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-nanbield"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"
Initialising tasks: 100% |##################################################################################################################################################################| Time: 0:00:08
Sstate summary: Wanted 1071 Local 2 Mirrors 0 Missed 1069 Current 5652 (0% match, 84% complete)
NOTE: Executing Tasks
NOTE: No reply from server in 30s (for command ping at 22:27:39.389536)
Timeout while waiting for a reply from the bitbake server (60s at 22:28:09.428551)
middepogudas@middepogudas-ThinkPad-L14-Gen-1:~/Desktop/das/project/imx-yocto-bsp/build$ bitbake imx-image-multimedia
NOTE: Reconnecting to bitbake server...
NOTE: No reply from server in 30s (for command setFeatures at 22:28:45.138306)
NOTE: Retrying server connection (#1)... (22:29:15.167756)
Regards,
Das
Hi
Your build system doesn't seem to meet the requirements for this build. Here are some configuration recommendations from Yocto.
Yocto Project Quick Build — The Yocto Project ® 5.2.2 documentation
At least 8 Gbytes of RAM, though a modern build host with as much RAM and as many CPU cores as possible is strongly recommended to maximize build performance.
Other recommendations: if you have 4 CPU cores, at least 16GB of RAM is needed. A 1:4 ratio is as follows. You can also refer to https://docs.yoctoproject.org/dev-manual/speeding-up-build.html
If you're building a full image, at least 250GB of disk space required.
I just test the same on my host: 22.04.1-Ubuntu
bitbake imx-image-full -c populate_sdk
Loading cache: 100% |##################################################################################################################| Time: 0:00:01
Loaded 5449 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 17.0.6 of llvm-native not available (for item llvm-native)
WARNING: versions of llvm-native available: 17.0.3
Build Configuration:
BB_VERSION = "2.6.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-nanbield"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"
Initialising tasks: 100% |#############################################################################################################| Time: 0:00:06
Sstate summary: Wanted 3349 Local 0 Mirrors 0 Missed 3349 Current 4781 (0% match, 58% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 17993 tasks of which 13736 didn't need to be rerun and all succeeded.
Summary: There were 2 WARNING messages.
Regards
Harvey
Hello NXP.
Thanks for your support. I am holding 4 CPU, 1TB HDD, 8GB RAM. As per your recommendation i can give a try to increase my RAM to 16 GB+ .
I am trying to build for "MACHINE = "imx8mp-lpddr4-evk""
As per my observation build summery as below:
Able to build :
bitbake imx-image-core
Unable to build:
bitbake fsl-image-machine-test
bitbake imx-image-multimedia
bitbake imx-image-full
So from above configure i observe that when ever try to build the "opencv" and "vulkan" i am getting bitbake server connectivity issue. We have any build option where we can comment or skip the building("opencv" and "vulkan") and proceed further?
Can you please point-out build script name and where to comment to skip the build for opencv" and "vulkan" ?
Thanks for your support.
Das
These applications are the main components of the full/multimedia image. Instead of skipping the building of these applications, it is better to directly build the imx-image-core. As mentioned, to upgrade your build host.
Regards
Harvey
Hello NXP,
While build the below configuration (bitbake fsl-image-machine-test, bitbake imx-image-multimedia, bitbake imx-image-full), is it possible to comment inside build script file for "opencv" or "vulkan" these components for skip the while build? pleas share the file name and where i need to comment the code to skip the build components?
My end goal is to go for full build (bitbake imx-image-full). With above experiment, we can isolate the issue which components causing.
Thank you.
Das
So from above configure i observe that when ever try to build the "opencv" and "vulkan" i am getting bitbake server connectivity issue. We have any build option where we can comment or skip the building("opencv" and "vulkan") and proceed further?
It is possible. You can comment the packages from image recipe or get help from Yocto forum. However, this will be another issue. Please raise a new ticket for further assistance if you need. and as said, if such applications/packages are skipped, then to build full/multimedia will be similar to build other smaller image.
Regards
Harvey
Hi NXP,
Thank for come back on this.Still I am facing some build issue... "NOTE: Reconnecting to bitbake server..." .. Please find logs below
Please find the steps which i follow from this link(https://docs.nxp.com/bundle/AN13712/page/topics/create_the_yocto_build_environment.html)
please suggest how to proceed further.
**********************************build logs***************************************
dasmiddepogu@dasmiddepogu-ThinkPad-L14-Gen-1:~/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/build$
dasmiddepogu@dasmiddepogu-ThinkPad-L14-Gen-1:~/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/build$ bitbake imx-image-full -c populate_sdk
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:00:49.857906)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#2)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:00:49.858338)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#3)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:00:49.858697)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#4)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:00:49.859044)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#5)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:00:54.865054)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#6)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:00:59.870058)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#7)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:01:04.877760)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#8)... (Traceback (most recent call last):
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/main.py", line 487, in setup_bitbake
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
File "/home/dasmiddepogu/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 686, in connectProcessServer
sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
, 08:01:09.884445)
ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).
dasmiddepogu@dasmiddepogu-ThinkPad-L14-Gen-1:~/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/build$
**************************************************************
Regards,
Das
Hi,
The error tells that unable to connect bitbake server, which may be caused by a hung bitbake daemon or leftover socket files. You can try to kill that and clean some lock files under build directory and restart host, then run "bitbake imx-image-full -c populate_sdk" again.
Regards
Harvey
NXP,
Thanks for come back, Please find build logs pasted below. Still getting bitback server connectivity issue. I restarted my pc several times,. I did not find any bitbake process. Can you pleas share info how to proceed further.
***********************Logs********
dasmiddepogu@dasmiddepogu-ThinkPad-L14-Gen-1:~/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/build$ bitbake imx-image-full -c populate_sdk
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:01
Loaded 5449 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 17.0.6 of llvm-native not available (for item llvm-native)
WARNING: versions of llvm-native available: 17.0.3
Build Configuration:
BB_VERSION = "2.6.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-lpddr4-evk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "6.6-nanbield"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:046b70083f3bc9e25f547e8026400032f5c563d9"
meta-oe
meta-multimedia
meta-python = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-freescale = "HEAD:0a73d1bdd7713a6189482e463c98043c9939a2a2"
meta-freescale-3rdparty = "HEAD:7725256e3859b62f1ff201db7f2cf7026c17656d"
meta-freescale-distro = "HEAD:4f1f101ebab5eb054bfbed10b247fc0547b30793"
meta-imx-bsp
meta-imx-sdk
meta-imx-ml
meta-imx-v2x = "HEAD:773c0049c3b35af8f5b5bdf8da78a6236a4fc184"
meta-nxp-demo-experience = "HEAD:db34fa86ad5f3c0d9c0a6c68f5f20240c04f2bfb"
meta-arm
meta-arm-toolchain = "HEAD:4d22f982bce8dff6f8c4d11845c47a4d39f961c6"
meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691"
meta-clang = "HEAD:9b08495e6bcef524789aefb6a7cc80fdfd2ff409"
meta-gnome
meta-networking
meta-filesystems = "HEAD:1750c66ae8e4268c472c0b2b94748a59d6ef866d"
meta-qt6 = "HEAD:fd054cf5fc1b50d50cd606384ab338c6d9206437"
meta-parsec
meta-tpm = "HEAD:070a1e82cc59424d230a23c0b2a104b01fbaa2ad"
meta-virtualization = "HEAD:9e92984ff47b3ca2106b1d27a93af061b28d1e8a"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:19
Sstate summary: Wanted 7008 Local 0 Mirrors 0 Missed 7008 Current 1122 (0% match, 13% complete)
NOTE: Executing Tasks
WARNING: llvm-project-source-17.0.6-17.0.6-r0 do_fetch: Failed to fetch URL git://github.com/llvm/llvm-project;protocol=https;branch=release/17.x, attempting MIRRORS if available
NOTE: No reply from server in 30s (for command ping at 01:48:27.402426)
Timeout while waiting for a reply from the bitbake server (60s at 01:48:57.437217)
dasmiddepogu@dasmiddepogu-ThinkPad-L14-Gen-1:~/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/build$ ps
PID TTY TIME CMD
2919 pts/0 00:00:00 bash
213920 pts/0 00:00:00 ps
dasmiddepogu@dasmiddepogu-ThinkPad-L14-Gen-1:~/Desktop/das/project/imax8mpluseek/imx-yocto-bsp/build...
Das Middepogu
Please check your network issue for fetching failure, are there security or proxy arising the issue? also check your Host configure as reference to first reply. can also try to start a new build.
Regards
Harvey
Hi NXP,
Thanks for your support. Do you have steps or methods to check "security or proxy arising"?
Please help us to share? or guide us.
Thanks,
Das
If your host is in your company network, please check your company network administrator.
Regards
Harvey
To build the BSP(6.6.3)source code for i.MX8MP, please follow up the Yocto User Guide download from Docs
Please refer to the section
Regards
Harvey