i.MX8M-MINI Linux Pre-Release for Yocto 4.0 (Kirkstone)

  • i.MX8M-MINI Linux Pre-Release Yocto 4.0

    A new pre-release is available for fsimx8mm.


    It is based on the following components:

    - Yocto 4.0 (Kirkstone)

    - Linux Kernel 5.15.71-2.2.0

    - U-Boot 2018.03 ( Target Uboot for the final release is 2021.04 )


    Currently supported boards:

    - PicocoreMX8MM-LPDDR4

    - PicocoreMX8MMr2-LPDDR4

    - PicocoreMX8MM-DDR3L




    !!ATTENTION!!

    Please note that this is a pre-release, which is only meant for testing and not suitable for production!

    There may be huge changes to the software and the distribution method in the future.

    The pre-release gits may be deleted or replaced.

    Please report any bugs in this thread.

    !!ATTENTION!!




    Building the Pre-Release

    1. Download the virtual machine F_S_Development_Machine-Fedora_35_V1.0-pre.ova from My F&S Tools-Linux/VirtualMachines/Fedora35/ and import it to VirtualBox.

    2. Run git clone https://github.com/FSEmbedded/releases-fus-pre.git to download the pre-release. Go to releases-fus-pre/

    3. Run git checkout fsimx8mm-Y5.15-pre Go to fsimx8mm-Yocto/

    4. Run ./setup-yocto <BUILDIR_NAME> and go to <BUILDIR_NAME>/yocto-fus/

    5. Run DISTRO=fus-imx-wayland MACHINE=fsimx8mm . fus-setup-release.sh

    6. Run [tt ]bitbake fus-image-std[/tt]

  • Building fails the new pre-release fails on generating the wic image:


    ERROR: fus-image-std-1.0-r0 do_image_wic: ExecutionError('/app/fus/yocto-fus/build-fsimx8mp-fus-imx-wayland/tmp/work/fsimx8mp-poky-linux/fus-image-std/1.0-r0/temp/run.do_image_wic.220956', 1, None, None)

    Setscene tasks: 3140 of 3140

    Currently 3 running tasks (7861 of 7866) 99% ||

    ERROR: Logfile of failure stored in: /app/fus/yocto-fus/build-fsimx8mp-fus-imx-wayland/tmp/work/fsimx8mp-poky-linux/fus-image-std/1.0-r0/temp/log.do_image_wic.220956

    Log data follows:

    | DEBUG: Executing python function extend_recipe_sysroot

    | NOTE: Direct dependencies are ['/app/fus/yocto-fus/sources/meta-fus/recipes-bsp/u-boot/u-boot-fus.bb:do_populate_sysroot', '/app/fus/yocto-fus/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.35.bb:do_populate_sysroot', '/app/fus/yocto-fus/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/app/fus/yocto-fus/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/apt/apt_2.4.5.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/dpkg/dpkg_1.21.4.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.8.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.38.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-extended/parted/parted_3.4.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-extended/pigz/pigz_2.7.bb:do_populate_sysroot', 'virtual:native:/app/fus/yocto-fus/sources/poky/meta/recipes-support/bmap-tools/bmap-tools_git.bb:do_populate_sysroot']

    | NOTE: Installed into sysroot: ['dosfstools-native', 'gptfdisk-native', 'mtools-native', 'parted-native', 'popt-native']

    | NOTE: Skipping as already exists in sysroot: ['u-boot-fus', 'cross-localedef-native', 'ldconfig-native', 'qemuwrapper-cross', 'depmodwrapper-cross', 'update-rc.d-native', 'apt-native', 'dpkg-native', 'e2fsprogs-native', 'makedevs-native', 'opkg-utils-native', 'pseudo-native', 'pbzip2-native', 'pigz-native', 'bmap-tools-native', 'shadow-native', 'systemd-systemctl-native', 'gtk+3-native', 'gdk-pixbuf-native', 'desktop-file-utils-native', 'qemu-native', 'bzip2-native', 'perl-native', 'libtool-native', 'texinfo-dummy-native', 'zlib-native', 'openssl-native', 'debianutils-native', 'python3-installer-native', 'coreutils-native', 'python3-six-native', 'python3-setuptools-native', 'python3-wheel-native', 'python3-native', 'nss-native', 'kmod-native', 'xz-native', 'libgcrypt-native', 'xxhash-native', 'db-native', 'gnutls-native', 'lz4-native', 'cmake-native', 'readline-native', 'ncurses-native', 'util-linux-native', 'gettext-minimal-native', 'shared-mime-info-native', 'glib-2.0-native', 'gettext-native', 'glibc', 'gcc-runtime', 'python3', 'attr-native', 'libjpeg-turbo-native', 'gobject-introspection-native', 'libxrandr-native', 'libpng-native', 'libxcomposite-native', 'libxi-native', 'libxfixes-native', 'pango-native', 'at-spi2-atk-native', 'cairo-native', 'atk-native', 'libxdamage-native', 'libxext-native', 'libx11-native', 'libxcursor-native', 'libxrender-native', 'fontconfig-native', 'make-native', 'gdbm-native', 'python3-flit-core-native', 'unzip-native', 'libffi-native', 'libtirpc-native', 'libnsl2-native', 'sqlite3-native', 'util-linux-libuuid-native', 'nspr-native', 'libcap-native', 'libgpg-error-native', 'libunistring-native', 'p11-kit-native', 'libidn2-native', 'nettle-native', 'gmp-native', 'zstd-native', 'curl-native', 'libpcre2-native', 'libcap-ng-native', 'itstool-native', 'libxml2-native', 'libpcre-native', 'linux-libc-headers', 'libgcc', 'readline', 'zlib', 'ncurses', 'libffi', 'xz', 'libnsl2', 'sqlite3', 'util-linux-libuuid', 'bzip2', 'libxcrypt', 'opkg-utils', 'gdbm', 'libtirpc', 'openssl', 'flex-native', 'util-macros-native', 'xorgproto-native', 'harfbuzz-native', 'fribidi-native', 'freetype-native', 'libxft-native', 'dbus-native', 'at-spi2-core-native', 'libxcb-native', 'libsm-native', 'pixman-native', 'xtrans-native', 'expat-native', 'libtasn1-native', 'cryptodev-linux', 'm4-native', 'icu-native', 'libxtst-native', 'libxdmcp-native', 'libpthread-stubs-native', 'xcb-proto-native', 'libxau-native', 'libice-native', 'gnu-config-native']

    | DEBUG: Python function extend_recipe_sysroot finished

    | DEBUG: Executing python function set_image_size

    | DEBUG: 2242385.600000 = 1724912 * 1.300000

    | DEBUG: 2242385.600000 = max(2242385.600000, 65536)[2242385.600000] + 0

    | DEBUG: 2242386.000000 = int(2242385.600000)

    | DEBUG: 2242386 = aligned(2242386)

    | DEBUG: returning 2242386

    | DEBUG: Python function set_image_size finished

    | DEBUG: Executing shell function do_image_wic

    | INFO: Creating image(s)...

    |

    | Traceback (most recent call last):

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/filemap.py", line 129, in _open_image_file

    | self._f_image = open(self._image_path, 'rb')

    | FileNotFoundError: [Errno 2] No such file or directory: '/app/fus/yocto-fus/build-fsimx8mp-fus-imx-wayland/tmp/deploy/images/fsimx8mp/u-boot-dtb.img'

    |

    | During handling of the above exception, another exception occurred:

    |

    | Traceback (most recent call last):

    | File "/app/fus/yocto-fus/sources/poky/scripts/wic", line 547, in <module>

    | sys.exit(main(sys.argv[1:]))

    | File "/app/fus/yocto-fus/sources/poky/scripts/wic", line 542, in main

    | return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/help.py", line 83, in invoke_subcommand

    | subcmd[0](args, usage)

    | File "/app/fus/yocto-fus/sources/poky/scripts/wic", line 222, in wic_create_subcommand

    | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/engine.py", line 190, in wic_create

    | plugin.do_create()

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 98, in do_create

    | self.create()

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 182, in create

    | self._image.prepare(self)

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 360, in prepare

    | part.prepare(imager, imager.workdir, imager.oe_builddir,

    | File "/app/fus/yocto-fus/sources/poky/scripts/lib/wic/partition.py", line 183, in prepare

    | plugin.do_prepare_partition(self, srcparams_dict, creator,

    Summary: 1 task failed:

    /app/fus/yocto-fus/sources/meta-fus/recipes-config/images/fus-image-std.bb:do_image_wic

    Summary: There was 1 ERROR message, returning a non-zero exit code.