I had build my image by yocto success with imx-linux-sumo. But I want update to newest, so I used the newest verison of imx-manifest(imx-linux-zeus). Follow is the step for build environment:
1. repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.24-2.1.0_demo_azure-iotedge.xml
2. repo sync
3. DISTRO=fslc-framebuffer MACHINE=imx6ullevk source imx-setup-release.sh -b build-framebuffer
After that, I build core-image-minimal for test. First, there had dtb build error, follow is the error log:
| scripts/kconfig/conf --syncconfig Kconfig
| DTC arch/arm/boot/dts/imx6ull-14x14-evk.dtb
| DTC arch/arm/boot/dts/imx6ull-14x14-evk-btwifi.dtb
| DTC arch/arm/boot/dts/imx6ull-14x14-evk-btwifi-oob.dtb
| DTC arch/arm/boot/dts/imx6ull-14x14-evk-emmc.dtb
| DTC arch/arm/boot/dts/imx6ull-14x14-evk-gpmi-weim.dtb
| make[2]: *** No rule to make target 'arch/arm/boot/dts/imx6ull-14x14-evk-usb-certi.dtb'. Stop.
| /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work-shared/imx6ullevk/kernel-source/Makefile:1238: recipe for target 'imx6ull-14x14-evk-usb-certi.dtb' failed
| make[1]: *** [imx6ull-14x14-evk-usb-certi.dtb] Error 2
I remove the dtb by add variable in local.conf(KERNEL_DEVICETREE_remove = " imx6ull-14x14-evk-gpmi-weim.dtb imx6ull-14x14-evk-usb-certi.dtb") and then kernel build success. But there had other error. Follow is the fragment error log:
| NOTE: Installed into sysroot: ['gcc-cross-arm', 'parted-native', 'dtc-native', 'binutils-cross-arm', 'python-native', 'gptfdisk-native', 'lzop-native', 'bison-native', 'kern-tools-native', 'swig-native', 'linux-imx', 'mtools-native', 'bc-native', 'dosfstools-native', 'mpfr-native', 'libmpc-native', 'gmp-native', 'expat-native', 'popt-native', 'lzo-native']
| NOTE: Skipping as already exists in sysroot: ['openssl-native', 'qemuwrapper-cross', 'u-boot-imx', 'depmodwrapper-cross', 'pbzip2-native', 'makedevs-native', 'kmod-native', 'apt-native', 'e2fsprogs-native', 'dpkg-native', 'pseudo-native', 'flex-native', 'mklibs-native', 'quilt-native', 'pigz-native', 'ldconfig-native', 'opkg-utils-native', 'bmap-tools-native', 'gcc-runtime', 'patch-native', 'glibc', 'prelink-native', 'cross-localedef-native', 'update-rc.d-native', 'xz-native', 'automake-native', 'linux-libc-headers', 'zlib-native', 'gnu-config-native', 'texinfo-dummy-native', 'autoconf-native', 'libtool-native', 'shadow-native', 'bzip2-native', 'pkgconfig-native', 'db-native', 'curl-native', 'gettext-native', 'perl-native', 'gettext-minimal-native', 'python3-native', 'python3-six-native', 'python3-setuptools-native', 'libgcc', 'debianutils-native', 'qemu-native', 'util-linux-native', 'readline-native', 'ncurses-native', 'gdbm-native', 'sqlite3-native', 'gtk-doc-native', 'attr-native', 'm4-native', 'libpcre-native', 'elfutils-native', 'binutils-native', 'libnsl2-native', 'libffi-native', 'libtirpc-native', 'unzip-native', 'glib-2.0-native', 'libcap-ng-native', 'ninja-native', 'meson-native', 're2c-native']
| DEBUG: sed -e 's:^[^/]*/:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native/:g' /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/sysroots-components/x86_64/gcc-cross-arm/fixmepath /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/sysroots-components/x86_64/python-native/fixmepath /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/sysroots-components/x86_64/bison-native/fixmepath /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/pkgdata/imx6ullevk:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/temp/fifo.5956:g'
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| ERROR: _exec_cmd: install -m 0644 -D /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/deploy/images/imx6ullevk/make_dtb_boot_files /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx6ullevk-20200905031856/tmp.wic.4kf39y9n/boot.2/make_dtb_boot_files returned '1' instead of 0
| output: install: cannot stat '/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/deploy/images/imx6ullevk/make_dtb_boot_files': No such file or directory
|
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_wic.5956' failed with exit code 1:
| INFO: Creating image(s)...
|
| ERROR: _exec_cmd: install -m 0644 -D /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/deploy/images/imx6ullevk/make_dtb_boot_files /home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/work/imx6ullevk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx6ullevk-20200905031856/tmp.wic.4kf39y9n/boot.2/make_dtb_boot_files returned '1' instead of 0
| output: install: cannot stat '/home/dev/nxp_work/imx-yocto-bsp_zeus/build-framebuffer/tmp/deploy/images/imx6ullevk/make_dtb_boot_files': No such file or directory
|
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/dev/nxp_work/imx-yocto-bsp_zeus/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_wic) failed with exit code '1'
I just want to know whether imx-linux-zeus has support imx6ullevk well and why there didn't has sdcard image create but only wic file.