App Builder: building project binaries\phone-platform\yocto2 2005 on worker at 05.08.2024 18:25:18 userwithdomain=inno-sifi\builder user=builder Welcome to Freescale Community BSP The Yocto Project has extensive documentation about OE including a reference manual which can be found at: http://yoctoproject.org/documentation For more information about OpenEmbedded see their website: http://www.openembedded.org/ You can now run 'bitbake ' Common targets are: core-image-minimal meta-toolchain meta-toolchain-sdk adt-installer meta-ide-support Your configuration files at ip270 have not been touched. Loading cache...done. Loaded 5390 entries from dependency cache. Parsing recipes...done. Parsing of 3358 .bb files complete (3287 cached, 71 parsed). 5390 targets, 339 skipped, 10 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: Multiple providers are available for runtime libgstvideo-1.0 (gstreamer1.0-plugins-bad, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-rtsp-server) Consider defining a PREFERRED_RPROVIDER entry to match libgstvideo-1.0 Build Configuration: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" MACHINE = "ip270" DISTRO = "innovaphone-phone-platform" DISTRO_VERSION = "6.6-scarthgap" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:02eacd385eca7aa9cf25aaaa61427aa9c126e0bc" meta-oe meta-multimedia meta-python = "HEAD:a72010b414ee3d73888ac9cb4e310e8f05e13aea" meta-freescale = "HEAD:41b923e59e048b9b2942ff737a4ddac386954c62" meta-freescale-distro = "HEAD:158cc55b6ee30d09957b380859dba52c0f6af68d" meta-freescale-3rdparty = "HEAD:8b61684f0b1ba8bacdf3a69d993445e9791d4932" meta-imx-bsp meta-imx-sdk = "HEAD:ae04eecd48e557437ec90366795b8cf202d0ce14" meta-arm meta-arm-toolchain = "HEAD:8aa8a1f17f5b64bc691544f989f04fc83df98adb" meta-chromium = "HEAD:dc31889c0899971def535dc1c040edf18bc16691" meta-clang = "HEAD:66414c17ae60e489bef9a97031323e92c247fbe1" meta-networking meta-filesystems = "HEAD:a72010b414ee3d73888ac9cb4e310e8f05e13aea" meta-qt6 = "HEAD:dc13e1bfda4a4757a08c2d6673bc4bac012c4a80" meta-innovaphone meta-ip270 = ":" meta-noto = "master:ae26db95542f7e0512f2ae5ce21fe6b7c5feddef" Initialising tasks...Sstate summary: Wanted 30 Local 0 Mirrors 0 Missed 30 Current 4473 (0% match, 99% complete) Removing 21 stale sstate objects for arch ip270...done. Removing 5 stale sstate objects for arch allarch...done. Removing 3 stale sstate objects for arch armv8a...done. NOTE: Executing Tasks NOTE: Running task 2850 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_fetch) NOTE: recipe u-boot-imx-2024.04-r0: task do_fetch: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_fetch: Succeeded NOTE: Running task 3190 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_unpack) NOTE: recipe u-boot-imx-2024.04-r0: task do_unpack: Started NOTE: Running task 3469 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_prepare_recipe_sysroot) NOTE: recipe u-boot-imx-2024.04-r0: task do_prepare_recipe_sysroot: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_prepare_recipe_sysroot: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_unpack: Succeeded NOTE: Running task 5599 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_patch) NOTE: recipe u-boot-imx-2024.04-r0: task do_patch: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_patch: Succeeded NOTE: Running task 6036 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_deploy_source_date_epoch) NOTE: Running task 6154 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_compile) NOTE: recipe u-boot-imx-2024.04-r0: task do_deploy_source_date_epoch: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_deploy_source_date_epoch: Succeeded NOTE: recipe os-release-1.0-r0: task do_compile: Started NOTE: recipe os-release-1.0-r0: task do_compile: Succeeded NOTE: Running task 6262 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_configure) NOTE: Running task 6263 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_install) NOTE: recipe u-boot-imx-2024.04-r0: task do_configure: Started NOTE: recipe os-release-1.0-r0: task do_install: Started NOTE: recipe os-release-1.0-r0: task do_install: Succeeded NOTE: Running task 6505 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_package) NOTE: recipe os-release-1.0-r0: task do_package: Started NOTE: Running task 6851 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_collect_spdx_deps) NOTE: recipe os-release-1.0-r0: task do_package: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_collect_spdx_deps: Started NOTE: Running task 6968 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_packagedata) NOTE: recipe u-boot-imx-2024.04-r0: task do_collect_spdx_deps: Succeeded NOTE: recipe os-release-1.0-r0: task do_packagedata: Started NOTE: recipe os-release-1.0-r0: task do_packagedata: Succeeded NOTE: Running setscene task 4503 of 4504 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/systemd/systemd_255.4.bb:do_package_qa_setscene) NOTE: Running setscene task 4504 of 4504 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/systemd/systemd_255.4.bb:do_package_write_rpm_setscene) NOTE: Running task 7153 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_create_spdx) NOTE: recipe u-boot-imx-2024.04-r0: task do_configure: Succeeded NOTE: Running task 7204 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_compile) NOTE: recipe os-release-1.0-r0: task do_create_spdx: Started NOTE: recipe systemd-1_255.4-r0: task do_package_write_rpm_setscene: Started NOTE: recipe systemd-1_255.4-r0: task do_package_qa_setscene: Started NOTE: recipe systemd-1_255.4-r0: task do_package_qa_setscene: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_compile: Started NOTE: recipe systemd-1_255.4-r0: task do_package_write_rpm_setscene: Succeeded NOTE: recipe os-release-1.0-r0: task do_create_spdx: Succeeded NOTE: Running task 7630 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_populate_lic) NOTE: recipe u-boot-imx-2024.04-r0: task do_populate_lic: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_populate_lic: Succeeded NOTE: Running task 8373 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_package_write_rpm) NOTE: Running task 8374 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_package_qa) NOTE: Running task 8375 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/os-release/os-release.bb:do_create_runtime_spdx) NOTE: recipe os-release-1.0-r0: task do_create_runtime_spdx: Started NOTE: recipe os-release-1.0-r0: task do_package_write_rpm: Started NOTE: recipe os-release-1.0-r0: task do_package_qa: Started NOTE: recipe os-release-1.0-r0: task do_package_qa: Succeeded NOTE: recipe os-release-1.0-r0: task do_create_runtime_spdx: Succeeded NOTE: recipe os-release-1.0-r0: task do_package_write_rpm: Succeeded NOTE: Running task 8908 of 9139 (/home/yocto/phone-platform2/sources/poky/meta/recipes-core/systemd/systemd_255.4.bb:do_create_runtime_spdx) NOTE: recipe systemd-1_255.4-r0: task do_create_runtime_spdx: Started NOTE: recipe systemd-1_255.4-r0: task do_create_runtime_spdx: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_compile: Succeeded NOTE: Running task 9105 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_uboot_generate_rsa_keys) NOTE: Running task 9106 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_create_extlinux_config) NOTE: recipe u-boot-imx-2024.04-r0: task do_uboot_generate_rsa_keys: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_create_extlinux_config: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_create_extlinux_config: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_uboot_generate_rsa_keys: Succeeded NOTE: Running task 9107 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_uboot_assemble_fitimage) NOTE: recipe u-boot-imx-2024.04-r0: task do_uboot_assemble_fitimage: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_uboot_assemble_fitimage: Succeeded NOTE: Running task 9108 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_install) NOTE: Running task 9109 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_deploy) NOTE: recipe u-boot-imx-2024.04-r0: task do_deploy: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_install: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_install: Succeeded NOTE: Running task 9110 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_populate_sysroot) NOTE: Running task 9111 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_package) NOTE: recipe u-boot-imx-2024.04-r0: task do_deploy: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_populate_sysroot: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_package: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_populate_sysroot: Succeeded NOTE: Running task 9112 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_prepare_recipe_sysroot) NOTE: recipe imx-boot-1.0-r0: task do_prepare_recipe_sysroot: Started NOTE: recipe imx-boot-1.0-r0: task do_prepare_recipe_sysroot: Succeeded NOTE: Running task 9113 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_configure) NOTE: recipe imx-boot-1.0-r0: task do_configure: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_package: Succeeded NOTE: Running task 9114 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_packagedata) NOTE: recipe u-boot-imx-2024.04-r0: task do_packagedata: Started NOTE: recipe imx-boot-1.0-r0: task do_configure: Succeeded NOTE: Running task 9115 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) NOTE: recipe u-boot-imx-2024.04-r0: task do_packagedata: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_compile: Started NOTE: Running task 9116 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_create_spdx) NOTE: Running task 9117 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_package_write_rpm) NOTE: Running task 9118 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_package_qa) NOTE: recipe u-boot-imx-2024.04-r0: task do_create_spdx: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_package_write_rpm: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_package_qa: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_package_qa: Succeeded NOTE: recipe u-boot-imx-2024.04-r0: task do_create_spdx: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_compile: Succeeded NOTE: Running task 9119 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_uboot_generate_rsa_keys) NOTE: Running task 9120 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_collect_spdx_deps) NOTE: Running task 9121 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/u-boot/u-boot-imx_2024.04.bb:do_create_runtime_spdx) NOTE: recipe u-boot-imx-2024.04-r0: task do_package_write_rpm: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_uboot_generate_rsa_keys: Started NOTE: recipe imx-boot-1.0-r0: task do_collect_spdx_deps: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_create_runtime_spdx: Started NOTE: recipe imx-boot-1.0-r0: task do_collect_spdx_deps: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_uboot_generate_rsa_keys: Succeeded NOTE: Running task 9122 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_uboot_assemble_fitimage) NOTE: recipe imx-boot-1.0-r0: task do_uboot_assemble_fitimage: Started NOTE: recipe u-boot-imx-2024.04-r0: task do_create_runtime_spdx: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_uboot_assemble_fitimage: Succeeded NOTE: Running task 9123 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_install) NOTE: Running task 9124 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_deploy) NOTE: recipe imx-boot-1.0-r0: task do_install: Started NOTE: recipe imx-boot-1.0-r0: task do_deploy: Started NOTE: recipe imx-boot-1.0-r0: task do_install: Succeeded NOTE: Running task 9125 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_package) NOTE: recipe imx-boot-1.0-r0: task do_deploy: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_package: Started NOTE: recipe imx-boot-1.0-r0: task do_package: Succeeded NOTE: Running task 9126 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_packagedata) NOTE: recipe imx-boot-1.0-r0: task do_packagedata: Started NOTE: recipe imx-boot-1.0-r0: task do_packagedata: Succeeded NOTE: Running task 9127 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_create_spdx) NOTE: Running task 9128 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_package_write_rpm) NOTE: Running task 9129 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_package_qa) NOTE: recipe imx-boot-1.0-r0: task do_create_spdx: Started NOTE: recipe imx-boot-1.0-r0: task do_package_write_rpm: Started NOTE: recipe imx-boot-1.0-r0: task do_package_qa: Started NOTE: recipe imx-boot-1.0-r0: task do_package_qa: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_create_spdx: Succeeded NOTE: Running task 9130 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_create_runtime_spdx) NOTE: Running task 9131 of 9139 (/home/yocto/phone-platform2/sources/meta-imx/meta-imx-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_create_runtime_spdx) NOTE: recipe imx-boot-1.0-r0: task do_package_write_rpm: Succeeded NOTE: recipe imx-boot-1.0-r0: task do_create_runtime_spdx: Started NOTE: recipe phone-image-1.0-r0: task do_create_runtime_spdx: Started NOTE: recipe imx-boot-1.0-r0: task do_create_runtime_spdx: Succeeded NOTE: recipe phone-image-1.0-r0: task do_create_runtime_spdx: Succeeded NOTE: Running task 9132 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_rootfs) NOTE: recipe phone-image-1.0-r0: task do_rootfs: Started NOTE: recipe phone-image-1.0-r0: task do_rootfs: Succeeded NOTE: Running task 9133 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_flush_pseudodb) NOTE: recipe phone-image-1.0-r0: task do_flush_pseudodb: Started NOTE: recipe phone-image-1.0-r0: task do_flush_pseudodb: Succeeded NOTE: Running task 9134 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_image_qa) NOTE: recipe phone-image-1.0-r0: task do_image_qa: Started NOTE: recipe phone-image-1.0-r0: task do_image_qa: Succeeded NOTE: Running task 9135 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_image) NOTE: recipe phone-image-1.0-r0: task do_image: Started NOTE: recipe phone-image-1.0-r0: task do_image: Succeeded NOTE: Running task 9136 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_image_image) NOTE: recipe phone-image-1.0-r0: task do_image_image: Started NOTE: recipe phone-image-1.0-r0: task do_image_image: Succeeded NOTE: Running task 9137 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_image_complete) NOTE: recipe phone-image-1.0-r0: task do_image_complete: Started NOTE: recipe phone-image-1.0-r0: task do_image_complete: Succeeded NOTE: Running task 9138 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_populate_lic_deploy) NOTE: recipe phone-image-1.0-r0: task do_populate_lic_deploy: Started NOTE: recipe phone-image-1.0-r0: task do_populate_lic_deploy: Succeeded NOTE: Running noexec task 9139 of 9139 (/home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/images/phone-image.bb:do_build) NOTE: Tasks Summary: Attempted 9139 tasks of which 9086 didn't need to be rerun and all succeeded. C:\worker\worker_WSLBuilder\vaultbinaries\build>IF IMX8IMAGE EQU IMX8IMAGE-DVL ( wsl -d ubuntu-22.04 sed -i -e 's/\r$//' ./build.sh wsl -d ubuntu-22.04 ./build.sh phone-image-dev build 2005 ) C:\worker\worker_WSLBuilder\vaultbinaries\build>IF IMX8IMAGE EQU IMX8LIBS ( wsl -d ubuntu-22.04 sed -i -e 's/\r$//' ./build.sh wsl -d ubuntu-22.04 ./build.sh phone-image-dev libs 2005 ) C:\worker\worker_WSLBuilder\vaultbinaries\build>IF IMX8IMAGE EQU IMX8BOOT ( wsl -d ubuntu-22.04 sed -i -e 's/\r$//' ./build.sh wsl -d ubuntu-22.04 ./build.sh imx-boot build 2005 ) C:\worker\worker_WSLBuilder\vaultbinaries\build>IF IMX8IMAGE EQU IMX8MANUF ( wsl -d ubuntu-22.04 sed -i -e 's/\r$//' ./build.sh wsl -d ubuntu-22.04 ./build.sh phone-manuf build 2005 ) Error(s)/Warning(s): #!/bin/bash -vx # # start yocto build on the linux server set -x + set -x # get current user from windows environment.. user_=`whoami.exe|tr -d '\\n\\t\\r '` ++ whoami.exe ++ tr -d '\n\t\r ' + user_='inno-sifi\builder' user=${user_#*\\} + user=builder echo userwithdomain=${user_} user=${user} + echo 'userwithdomain=inno-sifi\builder' user=builder if [ "${user}" = "builder" ] then user="yocto" fi + '[' builder = builder ']' + user=yocto host="${user}@172.16.1.54" + host=yocto@172.16.1.54 home_yocto="/home/${user}" + home_yocto=/home/yocto project_folder="phone-platform2" + project_folder=phone-platform2 imxrelase="imx-6.6.23-2.0.0.xml" + imxrelase=imx-6.6.23-2.0.0.xml yoctorelase="scarthgap" + yoctorelase=scarthgap image="$1" + image=phone-image project_path="${home_yocto}/${project_folder}" + project_path=/home/yocto/phone-platform2 build_folder="ip270" + build_folder=ip270 repo="/home/yocto/bin/repo" + repo=/home/yocto/bin/repo rebuild=0 + rebuild=0 clean=0 + clean=0 ret=0 + ret=0 if [ "$2" = "all" ] then clean=1 fi + '[' build = all ']' if [ "$2" = "rebuild" ] then rebuild=1 fi + '[' build = rebuild ']' # Check, if previous build should be deleted if [ ${clean} -eq 1 ] then sshpass -f p ssh ${host} "rm -rf ${project_path}" fi + '[' 0 -eq 1 ']' sshpass -f p ssh ${host} "test -e ${project_path}" + sshpass -f p ssh yocto@172.16.1.54 'test -e /home/yocto/phone-platform2' if [ $? -ne 0 ]; then # Create prjectfolder sshpass -f p ssh ${host} "mkdir -p ${project_path}" fi + '[' 0 -ne 0 ']' if [ ${rebuild} -eq 1 ] then sshpass -f p ssh ${host} "cd ${project_path}; rm -rf sources; rm -rf .repo; rm -rf setup-environment; rm -rf imx-setup-release.sh; rm -rf ${build_folder}" fi + '[' 0 -eq 1 ']' sshpass -f p ssh ${host} "test -e ${project_path}/sources" + sshpass -f p ssh yocto@172.16.1.54 'test -e /home/yocto/phone-platform2/sources' if [ $? -ne 0 ]; then # Create projectfolder sshpass -f p ssh ${host} "mkdir -p ${project_path}" # Initialize bitbake recipes sshpass -f p ssh ${host} "cd ${project_path}; ${repo} init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-${yoctorelase} -m ${imxrelase}; ${repo} sync" # Add the Realtek Wifi Sources sshpass -f p ssh ${host} "cd ${project_path}/sources; git clone -b master https://github.com/EmbeddedAndroid/meta-rtlwifi.git; cd meta-rtlwifi; git reset --hard a2d6d0cdac2b006166eff303b039a45c4fb42586" # Add the noto font repository sshpass -f p ssh ${host} "cd ${project_path}/sources; git clone -b master https://github.com/ssfivy/meta-noto.git; cd meta-noto; git reset --hard ae26db95542f7e0512f2ae5ce21fe6b7c5feddef" fi + '[' 0 -ne 0 ']' sshpass -f p ssh ${host} "test -e ${project_path}/${build_folder}" + sshpass -f p ssh yocto@172.16.1.54 'test -e /home/yocto/phone-platform2/ip270' if [ $? -ne 0 ]; then # Initialize project sshpass -f p ssh ${host} "cd ${project_path}; EULA=1 DISTRO=fsl-imx-xwayland MACHINE=ip270 source imx-setup-release.sh -b ${build_folder}" # explicit write the config so that we can exclude unused components sshpass -f p scp -r conf ${host}:${project_path}/${build_folder} fi + '[' 0 -ne 0 ']' # Add version info build_number=$3 + build_number=2005 if [ "$3" = "" ] then build_number=0 fi + '[' 2005 = '' ']' build_details="from ${host}:${project_path}/${build_folder} ${image}" + build_details='from yocto@172.16.1.54:/home/yocto/phone-platform2/ip270 phone-image' build_date=`date` ++ date + build_date='Mon Aug 5 18:25:44 CEST 2024' mkdir -p sources/meta-innovaphone/recipes-inno/os-release + mkdir -p sources/meta-innovaphone/recipes-inno/os-release echo OS_RELEASE_FIELDS += \" INNOVAPHONE_BUILD INNOVAPHONE_DETAILS INNOVAPHONE_DATE \" >sources/meta-innovaphone/recipes-inno/os-release/os-release.bbappend + echo OS_RELEASE_FIELDS += '"' INNOVAPHONE_BUILD INNOVAPHONE_DETAILS INNOVAPHONE_DATE '"' echo INNOVAPHONE_BUILD = \"${build_number}\" >>sources/meta-innovaphone/recipes-inno/os-release/os-release.bbappend + echo INNOVAPHONE_BUILD = '"2005"' echo INNOVAPHONE_DETAILS = \"${build_details}\" >>sources/meta-innovaphone/recipes-inno/os-release/os-release.bbappend + echo INNOVAPHONE_DETAILS = '"from' yocto@172.16.1.54:/home/yocto/phone-platform2/ip270 'phone-image"' echo INNOVAPHONE_DATE = \"${build_date}\" >>sources/meta-innovaphone/recipes-inno/os-release/os-release.bbappend + echo INNOVAPHONE_DATE = '"Mon' Aug 5 18:25:44 CEST '2024"' echo \#define INNOVAPHONE_BUILD \"${build_number}\" >sources/meta-ip270/recipes-bsp/u-boot/files/git/buildversion.h + echo '#define' INNOVAPHONE_BUILD '"2005"' echo \#define INNOVAPHONE_DETAILS \"${build_details}\" >>sources/meta-ip270/recipes-bsp/u-boot/files/git/buildversion.h + echo '#define' INNOVAPHONE_DETAILS '"from' yocto@172.16.1.54:/home/yocto/phone-platform2/ip270 'phone-image"' echo \#define INNOVAPHONE_DATE \"${build_date}\" >>sources/meta-ip270/recipes-bsp/u-boot/files/git/buildversion.h + echo '#define' INNOVAPHONE_DATE '"Mon' Aug 5 18:25:44 CEST '2024"' # Copy the sources folder sshpass -f p ssh ${host} "rm -rf ${project_path}/sources/meta-innovaphone" + sshpass -f p ssh yocto@172.16.1.54 'rm -rf /home/yocto/phone-platform2/sources/meta-innovaphone' sshpass -f p ssh ${host} "rm -rf ${project_path}/sources/meta-ip270" + sshpass -f p ssh yocto@172.16.1.54 'rm -rf /home/yocto/phone-platform2/sources/meta-ip270' sshpass -f p scp -r sources ${host}:${project_path} + sshpass -f p scp -r sources yocto@172.16.1.54:/home/yocto/phone-platform2 # Replace the user in the update.conf sshpass -f p ssh ${host} "sed -i \"s/user=\\\"yocto\\\"/user=\\\"${user}\\\"/g\" ${project_path}/sources/meta-innovaphone/recipes-inno/dvlscripts/dvlscripts/update.conf" + sshpass -f p ssh yocto@172.16.1.54 'sed -i "s/user=\"yocto\"/user=\"yocto\"/g" /home/yocto/phone-platform2/sources/meta-innovaphone/recipes-inno/dvlscripts/dvlscripts/update.conf' # Setup Environment and start build sshpass -f p ssh ${host} "cd ${project_path}; source setup-environment ${build_folder}; bitbake ${image}" + sshpass -f p ssh yocto@172.16.1.54 'cd /home/yocto/phone-platform2; source setup-environment ip270; bitbake phone-image' ret=$? + ret=0 if [ $ret -ne 0 ] then echo "Bitbake Return Value: $ret" exit $ret fi + '[' 0 -ne 0 ']' # Copy the Image if [ "${image}" = "imx-boot" ]; then sshpass -f p scp ${host}:${project_path}/${build_folder}/tmp/deploy/images/ip270/imx-boot-ip270-sd.bin-flash_evk . elif [ "${image}" = "phone-manuf" ]; then sshpass -f p scp ${host}:${project_path}/${build_folder}/tmp/deploy/images/ip270/phone-manuf-ip270.rootfs.wic.zst . else sshpass -f p scp ${host}:${project_path}/${build_folder}/tmp/deploy/images/ip270/phone-image-ip270.image . sshpass -f p scp ${host}:${project_path}/${build_folder}/tmp/deploy/images/ip270/Image . sshpass -f p scp ${host}:${project_path}/${build_folder}/tmp/deploy/images/ip270/imx8mm-innovaphone-ip270.dtb . fi + '[' phone-image = imx-boot ']' + '[' phone-image = phone-manuf ']' + sshpass -f p scp yocto@172.16.1.54:/home/yocto/phone-platform2/ip270/tmp/deploy/images/ip270/phone-image-ip270.image . + sshpass -f p scp yocto@172.16.1.54:/home/yocto/phone-platform2/ip270/tmp/deploy/images/ip270/Image . + sshpass -f p scp yocto@172.16.1.54:/home/yocto/phone-platform2/ip270/tmp/deploy/images/ip270/imx8mm-innovaphone-ip270.dtb . if [[ "$2" == "libs" ]]; then lib_version=2 # Create folders for libs mkdir -p yocto-libs/${lib_version}/usr/lib mkdir -p yocto-libs/${lib_version}/usr/include mkdir -p yocto-libs/${lib_version}/lib # Copy Libs sshpass -f p rsync -a -L ${host}:${project_path}/${build_folder}/tmp/work/imx8mm_ip270-poky-linux/${image}/1.0/rootfs/usr/lib/ ./yocto-libs/${lib_version}/usr/lib sshpass -f p rsync -a -L ${host}:${project_path}/${build_folder}/tmp/work/imx8mm_ip270-poky-linux/${image}/1.0/rootfs/usr/include/ ./yocto-libs/${lib_version}/usr/include sshpass -f p rsync -a -L ${host}:${project_path}/${build_folder}/tmp/work/imx8mm_ip270-poky-linux/${image}/1.0/rootfs/lib/ ./yocto-libs/${lib_version}/lib sshpass -f p rsync -a -L ${host}:${project_path}/${build_folder}/tmp/sysroots-components/armv8a/openssl/usr/include ./yocto-libs/${lib_version}/usr/ sshpass -f p rsync -a -L ${host}:${project_path}/${build_folder}/tmp/sysroots-components/armv8a-mx8mm/alsa-lib/usr/include/alsa ./yocto-libs/${lib_version}/usr/include/ cp ./yocto-libs/${lib_version}/usr/lib/libcrypto.so.3 ./yocto-libs/${lib_version}/usr/lib/libcrypto.so cp ./yocto-libs/${lib_version}/usr/lib/libssl.so.3 ./yocto-libs/${lib_version}/usr/lib/libssl.so fi + [[ build == \l\i\b\s ]]