Posts by paulg

    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.

    Hi,


    I have two builds running at the moment. One on my own PC and one in our build devops pipeline. I have somehow overcomed the problem on my own PC and only have this problem on the build pipeline. This makes investigations/debugging more challenging.


    The problem persist even when clean stating the cryptpdev-module.


    After the build I have following files in the build dir when grep'ing for cryptodev:


    + find .

    + grep cryptodev

    ./tmp/sysroots-components/manifests/cryptodev-linux.44b29f9affe059f9af601138a7c7b2a2650dadbd863fcc9996b20d3e344ae8b5

    ./tmp/sysroots-components/fsimx8mp/cryptodev-module

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-doc.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-dev.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-locale.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-src.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-dbg.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-locale.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-src.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-staticdev.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-dbg.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/kernel-module-cryptodev-5.15.71-F+S.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-doc.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-dev.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-tests-src.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-module-dbg.json.zstd

    ./tmp/pkgdata/fsimx8mp/extended/cryptodev-linux-doc.json.zstd

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dbg

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dbg.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-locale

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-staticdev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-src

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-doc

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dbg

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dbg.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/kernel-module-cryptodev-5.15.71-F+S.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-dev.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module-src.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-module.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/kernel-module-cryptodev-5.15.71-F+S

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-src.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dev.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-locale

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-staticdev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-doc

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-dev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-tests-src

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-staticdev

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dbg.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-src

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-locale

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dev.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-doc

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux.packaged

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dbg

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux

    ./tmp/pkgdata/fsimx8mp/runtime/cryptodev-linux-dev

    ./tmp/pkgdata/fsimx8mp/cryptodev-linux

    Hello F+S,


    Using the https://github.com/FSEmbedded/releases-fus-pre yocto build I am getting an dependency problem:


    It looks like I'm including a package that pulls cryptodev-module, which then has problems with your kernel.


    --------------------------------------------------

    Setscene tasks: 3119 of 3119

    Currently 1 running tasks (7804 of 7817) 99% ||

    ERROR: fus-image-std-1.0-r0 do_rootfs: Unable to install packages. Command '/app/fus/yocto-fus/build-fsimx8mp-fus-imx-wayland/tmp/work/fsimx8mp-poky-linux/fus-image-std/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt dpkg i2c-tools packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-weston packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-nacos-hmi run-postinsts systemd-serialgetty' returned 100:

    Reading package lists...

    Building dependency tree...

    Reading state information...

    Some packages could not be installed. This may mean that you have

    requested an impossible situation or if you are using the unstable

    distribution that some required packages have not yet been created

    or been moved out of Incoming.

    The following information may help to resolve the situation:

    The following packages have unmet dependencies:

    cryptodev-module : Depends: kernel-module-cryptodev-5.15.71-F+S but it is not installable

    E: Unable to correct problems, you have held broken packages.

    Setscene tasks: 3119 of 3119

    Currently 1 running tasks (7804 of 7817) 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_rootfs.117169

    Setscene tasks: 3119 of 3119

    No currently running tasks (7804 of 7817) 99% ||

    ERROR: Task (/app/fus/yocto-fus/sources/meta-fus/recipes-config/images/fus-image-std.bb:do_rootfs) failed with exit code '1'

    Setscene tasks: 3119 of 3119

    No currently running tasks (7804 of 7817) 99% ||



    Any suggestions?


    /Paul

    After updating with the recovery tool I have lost the capability to use ethernet. See log below:


    U-Boot SPL 2020.04-00378-gcc0cba256 (May 16 2023 - 18:33:13 +0200)

    Normal Boot



    U-Boot 2020.04-fsimx8mp-Y2023.03 (Mar 13 2023 - 19:29:40 +0000) for F&S


    CPU: i.MX8MP[8] rev1.1, 1600 MHz (running at 1200 MHz)

    CPU: Industrial temperature grade (-40C to 105C)

    Reset: POR

    Model: PicoCoreMX8MP

    Board: PicoCoreMX8MP Rev 1.10 (eMMC, 1x DRAM)

    DRAM: 1 GiB

    TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C2 0x52]

    MMC: FSL_SDHC: 0, FSL_SDHC: 2

    Loading Environment from MMC... OK

    In: serial

    Out: serial

    Err: serial


    BuildInfo:

    - ATF 1d14183

    - U-Boot 2020.04-fsimx8mp-Y2023.03


    flash target is MMC:2

    Net: No ethernet found.

    Fastboot: Normal

    Normal Boot

    Hit any key to stop autoboot: 0

    PicoCoreMX8MP # ping 192.168.99.1

    No ethernet found.

    ping failed; host 192.168.99.1 is not alive

    Hi,


    I'm working on the latest https://github.com/FSEmbedded/releases-fus-pre image on a IMX8MP baseboard. During testing of USB "mass storage" update the update.scr failed and left my device in a bricked state.


    It stop with following output:


    ----

    U-Boot SPL 2020.04-00326-g42d2040a3 (Dec 23 2022 - 16:36:21 +0100)

    Normal Boot

    ---


    To continue I expect that I need to use the UUU tool to reprogram program it. I cannot find any documentation on which files that it required to perform a complete reflash.


    Follow does not seams to work.


    ---

    sudo uuu -b emmc u-boot-dtb.img

    sudo uuu -b emmc uboot.fs

    ---


    So is there some extra packaging required? with imx-mkimage e.g.


    The same question goes for the rootfs?


    Br,


    Paul





    Dear FS-Support,


    I have been testing on this pre-release and have problems getting any output on my display(Blank white screen). I'm following the instructions above.


    I'm using the picocoremx8mpr2-lcdif-j070wvtc0211.dtb which I guessed that was matching the display that comes with the evaluation kit.


    I have modified the imx8mp-lcdif-j070wvtc0211.dtsi. Please see attachment.


    Does this device tree match the display of the evaluation kits?


    Is the pre-release supposed to work on the imx8mp evalkit and running with wayland/weston?


    Br,


    Paul Groskopf


    imx8mp-lcdif-j070wvtc0211.dtsi.zip