Closed paoloturim closed 8 months ago
@paoloturim
Thanks for the feedback. We haven't tried to build on ubuntu 22.04 yet.
It is recommended to use our docker container, dockerfile as below: https://github.com/TechNexion/meta-tn-imx-bsp/blob/kirkstone_5.15.71-2.2.0-stable/tools/container/dockerfile
Or use the virtual machines we built. https://download.technexion.com/development_resources/development_tools/vm/Build_Env_Ubuntu_x64_20.04_vmware-20221202.zip
BR, Ray
@ray-chang I already have Yocto Kirkstone to pico-imx7 in Ubuntu 22.04
@ray-chang
Issues using docker: sudo docker run -it -u jenkins -v ${directory_in_host_machine}:${directory_in_docker} tn-develop-ubuntu bash
ERROR: gstreamer1.0-plugins-base-1.20.3.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/edm_yocto/build-wayland-pico-imx8mm/tmp/sysroots-uninative/x86_64-linux/usr/bin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/edm_yocto/sources/poky/scripts:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot/usr/bin/crossscripts:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot-native/usr/sbin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot-native/usr/bin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot-native/sbin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/recipe-sysroot-native/bin:/edm_yocto/sources/poky/bitbake/bin:/edm_yocto/build-wayland-pico-imx8mm/tmp/hosttools"; export HOME="/home/jenkins"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/gst-plugins-base.git /edm_yocto/downloads//git2/github.com.nxp-imx.gst-plugins-base.git --progress failed with exit code 128, no output
ERROR: gstreamer1.0-plugins-base-1.20.3.imx-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'gitsm://github.com/nxp-imx/gst-plugins-base.git;protocol=https;branch=MM_04.07.02_2210_L5.15.y')
ERROR: Logfile of failure stored in: /edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.20.3.imx-r0/temp/log.do_fetch.990243
ERROR: Task (/edm_yocto/sources/meta-imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.3.imx.bb:do_fetch) failed with exit code '1'
ERROR: linux-imx-headers-5.15-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/edm_yocto/build-wayland-pico-imx8mm/tmp/sysroots-uninative/x86_64-linux/usr/bin:/edm_yocto/sources/poky/scripts:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot/usr/bin/crossscripts:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/sbin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/bin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/sbin:/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/bin:/edm_yocto/sources/poky/bitbake/bin:/edm_yocto/build-wayland-pico-imx8mm/tmp/hosttools"; export HOME="/home/jenkins"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /edm_yocto/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 128, no output
ERROR: linux-imx-headers-5.15-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-5.15.y')
ERROR: Logfile of failure stored in: /edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/linux-imx-headers/5.15-r0/temp/log.do_fetch.953671
ERROR: Task (/edm_yocto/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx-headers_5.15.bb:do_fetch) failed with exit code '1'
repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b kirkstone_5.15.y-stable -m imx-5.15.71-2.2.2.xml
repo sync -j4
DISTRO=fsl-imx-wayland MACHINE=pico-imx8mm BASEBOARD=pi source tn-setup-release.sh -b build-wayland-pico-imx8mm
bitbake imx-image-full
@paoloturim
Make sure your network is stable. The fetch command is related to your network.
BR, Ray
MACHINE=pico-imx8mm DISTRO=fsl-imx-xwayland source tn-setup-release.sh -b build-xwayland
bitbake imx-image-core
Finally I managed to generate my Kirkstone image for pico-imx8mm Using native Ubuntu 22.04 (non-docker) But, not without having to give these two commands below: bitbake rust-llvm-native -c cleansstate bitbake rust-llvm-native
I need yocto Kirkstone in my pico-imx8mm. But I have issue:
Issue 01:
Issue 02: