开发环境(development environment):ununtu16.04TLS
board:i.MX 8QuadXPlus
当我根据文件《i.MX_Yocto_Project_User's_Guide.pdf》进行开发,关键指令如下 :
DISTRO=fsl-imx-wayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b build_imx8qxp
core-image-base
遇到错误:
WARNING: You have included the meta-gnome layer, but 'x11' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-gnome README for details on enabling meta-gnome support.
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3693 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpmek"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "4.19-thud"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:50f33d3bfebcbfb1538d932fb487cfd789872026"
meta-oe
meta-multimedia = "HEAD:4cd3a39f22a2712bfa8fc657d09fe2c7765a4005"
meta-freescale = "HEAD:f5c932229c31b612cba38c2ed6f3c3ec6b800e92"
meta-freescale-3rdparty = "HEAD:c4b5ac6b20e4245ce0630e9197313aaef999a331"
meta-freescale-distro = "HEAD:4a244af3993ae662624c6f615464e6806cc719a2"
meta-bsp
meta-sdk
meta-ml = "HEAD:a36b16e20ec6bb8d02f18bab31cbe59712fa3def"
meta-browser = "HEAD:23e206d355e46d6f6e6a5638c574524492f91bc2"
meta-rust = "HEAD:84710b341be53cc2af13ecc8ae87773cf84687bf"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:4cd3a39f22a2712bfa8fc657d09fe2c7765a4005"
meta-qt5 = "HEAD:0630018c0033c91fddda62a49f59a82ba6ec6850"
Initialising tasks: 100% |#######################################| Time: 0:00:01
Sstate summary: Wanted 2 Found 0 Missed 2 Current 1158 (0% match, 99% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-base-1.0-r0 do_rootfs: The postinstall intercept hook 'update_icon_cache' failed, details in /home/guo/imx-yocto-bsp/build_imx8qxp/tmp/work/imx8qxpmek-poky-linux/core-image-base/1.0-r0/temp/log.do_rootfs
ERROR: core-image-base-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/guo/imx-yocto-bsp/build_imx8qxp/tmp/work/imx8qxpmek-poky-linux/core-image-base/1.0-r0/temp/log.do_rootfs.2799
ERROR: Task (/home/guo/imx-yocto-bsp/sources/poky/meta/recipes-core/images/core-image-base.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3453 tasks of which 3452 didn't need to be rerun and 1 failed.
日志文件中内容 :
ERROR: The postinstall intercept hook 'update_icon_cache' failed, details in /home/guo/imx-yocto-bsp/build_imx8qxp/tmp/work/imx8qxpmek-poky-linux/core-image-base/1.0-r0/temp/log.do_rootfs
DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs
感谢大家给予帮助(Thank you all for your help:)
Hi @guoMr
I would like to suggest you use the latest BSP and build on host with least 20.04.
Best regards
Harvey