Yocto build for Imx28evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto build for Imx28evk

Jump to solution
1,189 Views
ireshj
Contributor II

hi,

I m trying to build the os image with yocto for imx28evk on Ubuntu 20.04 host

I m using the kirkstone branch of the yocto project.

when i do bitbake core-image-minimal

I'm getting errors at uboot receipy

 

ERROR: Task (/home/iresh/porky/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_uboot_mxsboot_sdcard) failed with exit code '1'

 

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

the  whole error log is as follows,

 

iresh@ubuntu:~/yocto_1/poky/build$ bitbake core-image-minimal
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3896 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-fslc-linux-gnueabi"
MACHINE = "imx28evk"
DISTRO = "fslc-framebuffer"
DISTRO_VERSION = "4.0"
TUNE_FEATURES = "arm armv5 thumb dsp"
TARGET_FPU = "soft"
meta
meta-poky
meta-yocto-bsp = "my-kirkstone:366fde882fcc6d187e77c556357fb7e9a5d8e903"
meta-freescale = "kirkstone:74cf99448cec016bbd6eb6790e38a6a57374d17e"
meta-oe
meta-multimedia = "kirkstone:acbe74879807fc6f82b62525d32c823899e19036"
meta-freescale-3rdparty = "kirkstone:6d8213fc5ec192c33f963b8095d1f01af1574eea"
meta-freescale-distro = "kirkstone:fc15f5003043da23212596be7366ae2547c308ad"
meta-python = "kirkstone:acbe74879807fc6f82b62525d32c823899e19036"

Initialising tasks: 100% |#######################################| Time: 0:00:03
Sstate summary: Wanted 2 Local 0 Mirrors 0 Missed 2 Current 1045 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: core-image-minimal-1.0-r0 do_image_uboot_mxsboot_sdcard: ExecutionError('/home/iresh/yocto_1/poky/build/tmp/work/imx28evk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_uboot_mxsboot_sdcard.9360', 2, None, None)
ERROR: Logfile of failure stored in: /home/iresh/yocto_1/poky/build/tmp/work/imx28evk-fslc-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_uboot_mxsboot_sdcard.9360
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/iresh/porky/poky/meta/recipes-core/glibc/cross-localedef-native_2.35.bb:do_populate_sysroot', '/home/iresh/porky/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/home/iresh/porky/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/iresh/porky/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/home/iresh/yocto_1/poky/meta-freescale/recipes-bsp/u-boot/u-boot-fslc_2022.07.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.19.0.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/dnf/dnf_4.11.1.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.46.5.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/opkg/opkg_0.5.0.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-devtools/rpm/rpm_4.17.0.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-extended/pigz/pigz_2.7.bb:do_populate_sysroot', 'virtual:native:/home/iresh/porky/poky/meta/recipes-support/bmap-tools/bmap-tools_git.bb:do_populate_sysroot', 'virtual:native:/home/iresh/yocto_1/poky/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2022.07.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['u-boot-fslc-mxsboot-native', 'dtc-native']
| NOTE: Skipping as already exists in sysroot: ['cross-localedef-native', 'ldconfig-native', 'qemuwrapper-cross', 'depmodwrapper-cross', 'u-boot-fslc', 'update-rc.d-native', 'createrepo-c-native', 'dnf-native', 'e2fsprogs-native', 'makedevs-native', 'opkg-utils-native', 'opkg-native', 'pseudo-native', 'rpm-native', 'pigz-native', 'bmap-tools-native', 'libtool-native', 'debianutils-native', 'openssl-native', 'qemu-native', 'swig-native', 'gnutls-native', 'file-native', 'glib-2.0-native', 'zlib-native', 'cmake-native', 'libxml2-native', 'python3-native', 'xz-native', 'curl-native', 'sqlite3-native', 'expat-native', 'perl-native', 'shadow-native', 'attr-native', 'util-linux-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'libsolv-native', 'libarchive-native', 'kmod-native', 'python3-six-native', 'coreutils-native', 'python3-installer-native', 'python3-setuptools-native', 'python3-wheel-native', 'shared-mime-info-native', 'gcc-runtime', 'glibc', 'librepo-native', 'libdnf-native', 'libcomps-native', 'python3-iniparse-native', 'bzip2-native', 'elfutils-native', 'lua-native', 'libgcrypt-native', 'popt-native', 'zstd-native', 'libpcre-native', 'gmp-native', 'libidn2-native', 'nettle-native', 'libunistring-native', 'flex-native', 'gettext-native', 'libffi-native', 'ncurses-native', 'libtirpc-native', 'libnsl2-native', 'readline-native', 'gdbm-native', 'util-linux-libuuid-native', 'make-native', 'libcap-ng-native', 'libpcre2-native', 'lzo-native', 'python3-flit-core-native', 'unzip-native', 'itstool-native', 'linux-libc-headers', 'libgcc', 'gpgme-native', 'libmodulemd-native', 'json-c-native', 'libcheck-native', 'gobject-introspection-native', 'libmicrohttpd-native', 'libcap-native', 'libgpg-error-native', 'm4-native', 'libassuan-native', 'libyaml-native', 'gnu-config-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function set_image_size
| DEBUG: 10363.600000 = 7972 * 1.300000
| DEBUG: 10363.600000 = max(10363.600000, 8192)[10363.600000] + 0
| DEBUG: 10364.000000 = int(10363.600000)
| DEBUG: 10364 = aligned(10364)
| DEBUG: returning 10364
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_uboot_mxsboot_sdcard
| Input BootStream file can not be opened
| WARNING: exit code 2 from a shell command.
ERROR: Task (/home/iresh/porky/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_uboot_mxsboot_sdcard) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2742 tasks of which 2733 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds

 

Labels (2)
0 Kudos
1 Solution
1,185 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the release note of 5.15.32 bsp, which doesn't support imx28

"https://www.nxp.com.cn/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf"

View solution in original post

0 Kudos
3 Replies
1,183 Views
ireshj
Contributor II

thank you for the reply, can you kindly point me towards how can I get a OS built for the imx28 in present?

 

0 Kudos
1,172 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
1,186 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the release note of 5.15.32 bsp, which doesn't support imx28

"https://www.nxp.com.cn/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf"

0 Kudos