imx6solosabresd do_image_wic failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6solosabresd do_image_wic failed

4,629 次查看
jfsong1
Contributor I

您好,我在ubuntu18.04环境中,LF_L5.4.3_1.0.0生成针对imx6solo的 image,uboot等,但是最后阶段报错误,无法生成u-boot.imx,最后也无法生成需要的image等文件,不知道是什么原因,谢谢。

DISTRO=fsl-imx-fb MACHINE=imx6solosabresd source imx-setup-release.sh -b buildminimal
echo "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf
bitbake core-image-minimal

jfsong@ubuntu:~/imx-yocto-bsp/buildminimal$ bitbake core-image-minimal
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |############################################| Time: 0:00:02
Loaded 4067 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6solosabresd"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0275e68b0576cdefc19718e4b1977044f9f43f48"
meta-oe
meta-multimedia
meta-python = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-freescale = "HEAD:0be39721cea6e04c589a419f4bb07fabd0da6704"
meta-freescale-3rdparty = "HEAD:aea3771baa77e74762358ceb673d407e36637e5f"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml = "HEAD:435f5e984856a943986491fddd061734a0b9eba5"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:5cda04c7c2158fc982502ca1e7893f71e4ca1729"
meta-gnome
meta-networking
meta-filesystems = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-qt5 = "HEAD:432ad2aa6c3a13253fefc909faba368851d21fb1"

WARNING: /home/jfsong/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2019.04.bb:do_compile is tainted from a forced run
WARNING: /home/jfsong/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2019.04.bb:do_deploy is tainted from a forced run
Initialising tasks: 100% |#######################################| Time: 0:00:02
Sstate summary: Wanted 45 Found 0 Missed 45 Current 736 (0% match, 94% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: core-image-minimal-1.0-r0 do_image_wic: Execution of '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/work/imx6solosabresd-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_wic.93572' failed with exit code 1:
INFO: Creating image(s)...

Traceback (most recent call last):
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 127, in _open_image_file
self._f_image = open(self._image_path, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 525, in <module>
sys.exit(main(sys.argv[1:]))
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 520, in main
return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/help.py", line 83, in invoke_subcommand
subcmd[0](args, usage)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 220, in wic_create_subcommand
native_sysroot, options)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/engine.py", line 189, in wic_create
plugin.do_create()
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 86, in do_create
self.create()
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 179, in create
self._image.prepare(self)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 354, in prepare
imager.kernel_dir, imager.native_sysroot)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/partition.py", line 174, in prepare
kernel_dir, rootfs_dir, native_sysroot)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/source/rawcopy.py", line 68, in do_prepare_partition
sparse_copy(src, dst)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 550, in sparse_copy
fmap = api(src_fname)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 532, in filemap
return FilemapFiemap(image, log)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 350, in __init__
_FilemapBase.__init__(self, image, log)
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 86, in __init__
self._open_image_file()
File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 130, in _open_image_file
% (self._image_path, err))
wic.filemap.Error: cannot open image file '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx': [Errno 2] No such file or directory: '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx'
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/jfsong/imx-yocto-bsp/buildminimal/tmp/work/imx6solosabresd-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.93572
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 49602.800000 = 38156 * 1.300000
| DEBUG: 53698.800000 = max(49602.800000, 8192)[49602.800000] + 4096
| DEBUG: 53699.000000 = int(53698.800000)
| DEBUG: 53699 = aligned(53699)
| DEBUG: returning 53699
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/jfsong/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-native_2.7.16.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-bsp/u-boot/u-boot-tools_2019.07.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.30.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/bison/bison_3.4.1.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/automake/automake_1.16.1.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2019.04.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/flex/flex_2.6.0.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/meta-freescale/recipes-security/optee-imx/optee-os_3.2.0.imx.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.32.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.30.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-extended/parted/parted_3.2.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-devtools/python/python-pycrypto_2.6.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-kernel/dtc/dtc_1.5.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.0.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.3.bb:do_populate_sysroot', '/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_9.2.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['linux-imx', 'python-native', 'u-boot-tools-native', 'dnf-native', 'glibc', 'bison-native', 'ldconfig-native', 'automake-native', 'qemuwrapper-cross', 'libtool-native', 'bmap-tools-native', 'mklibs-native', 'opkg-utils-native', 'lzop-native', 'update-rc.d-native', 'autoconf-native', 'pigz-native', 'u-boot-imx', 'flex-native', 'optee-os', 'libtool-cross', 'binutils-cross-arm', 'makedevs-native', 'gcc-cross-arm', 'quilt-native', 'openssl-native', 'depmodwrapper-cross', 'prelink-native', 'cross-localedef-native', 'bc-native', 'parted-native', 'gnu-config-native', 'python-pycrypto-native', 'opkg-native', 'mtools-native', 'gptfdisk-native', 'swig-native', 'dtc-native', 'pbzip2-native', 'createrepo-c-native', 'pseudo-native', 'rpm-native', 'dosfstools-native', 'kern-tools-native', 'kmod-native', 'e2fsprogs-native', 'gcc-runtime', 'bzip2-native', 'expat-native', 'zlib-native', 'sqlite3-native', 'pkgconfig-native', 'gdbm-native', 'xz-native', 'readline-native', 'db-native', 'systemd-systemctl-native', 'gettext-minimal-native', 'python3-iniparse-native', 'ninja-native', 'librepo-native', 'libdnf-native', 'libcomps-native', 'cmake-native', 'python3-native', 'elfutils-native', 'binutils-native', 'linux-libc-headers', 'texinfo-dummy-native', 'm4-native', 'qemu-native', 'util-linux-native', 'ncurses-native', 'shadow-native', 'python3-setuptools-native', 'python3-six-native', 'lzo-native', 'debianutils-native', 'libsolv-native', 'libarchive-native', 'gmp-native', 'libpcre-native', 'popt-native', 'glib-2.0-native', 'curl-native', 'file-native', 'libmodulemd-native', 'libxml2-native', 'perl-native', 'dbus-native', 'nss-native', 'gtk-doc-native', 'mpfr-native', 'libmpc-native', 'attr-native', 'libgcc', 're2c-native', 'gpgme-native', 'gobject-introspection-native', 'libcheck-native', 'json-c-native', 'libtirpc-native', 'libffi-native', 'libnsl2-native', 'libcap-ng-native', 'unzip-native', 'gettext-native', 'meson-native', 'libyaml-native', 'nspr-native', 'libassuan-native', 'libgpg-error-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| Traceback (most recent call last):
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 127, in _open_image_file
| self._f_image = open(self._image_path, 'rb')
| FileNotFoundError: [Errno 2] No such file or directory: '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx'
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 525, in <module>
| sys.exit(main(sys.argv[1:]))
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 520, in main
| return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/help.py", line 83, in invoke_subcommand
| subcmd[0](args, usage)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 220, in wic_create_subcommand
| native_sysroot, options)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/engine.py", line 189, in wic_create
| plugin.do_create()
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 86, in do_create
| self.create()
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 179, in create
| self._image.prepare(self)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 354, in prepare
| imager.kernel_dir, imager.native_sysroot)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/partition.py", line 174, in prepare
| kernel_dir, rootfs_dir, native_sysroot)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/source/rawcopy.py", line 68, in do_prepare_partition
| sparse_copy(src, dst)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 550, in sparse_copy
| fmap = api(src_fname)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 532, in filemap
| return FilemapFiemap(image, log)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 350, in __init__
| _FilemapBase.__init__(self, image, log)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 86, in __init__
| self._open_image_file()
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 130, in _open_image_file
| % (self._image_path, err))
| wic.filemap.Error: cannot open image file '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx': [Errno 2] No such file or directory: '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx'
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/work/imx6solosabresd-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/run.do_image_wic.93572' failed with exit code 1:
| INFO: Creating image(s)...
|
| Traceback (most recent call last):
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 127, in _open_image_file
| self._f_image = open(self._image_path, 'rb')
| FileNotFoundError: [Errno 2] No such file or directory: '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx'
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 525, in <module>
| sys.exit(main(sys.argv[1:]))
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 520, in main
| return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/help.py", line 83, in invoke_subcommand
| subcmd[0](args, usage)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/wic", line 220, in wic_create_subcommand
| native_sysroot, options)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/engine.py", line 189, in wic_create
| plugin.do_create()
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 86, in do_create
| self.create()
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 179, in create
| self._image.prepare(self)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 354, in prepare
| imager.kernel_dir, imager.native_sysroot)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/partition.py", line 174, in prepare
| kernel_dir, rootfs_dir, native_sysroot)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/plugins/source/rawcopy.py", line 68, in do_prepare_partition
| sparse_copy(src, dst)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 550, in sparse_copy
| fmap = api(src_fname)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 532, in filemap
| return FilemapFiemap(image, log)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 350, in __init__
| _FilemapBase.__init__(self, image, log)
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 86, in __init__
| self._open_image_file()
| File "/home/jfsong/imx-yocto-bsp/sources/poky/scripts/lib/wic/filemap.py", line 130, in _open_image_file
| % (self._image_path, err))
| wic.filemap.Error: cannot open image file '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx': [Errno 2] No such file or directory: '/home/jfsong/imx-yocto-bsp/buildminimal/tmp/deploy/images/imx6solosabresd/u-boot.imx'
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_wic) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2265 tasks of which 2252 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/jfsong/imx-yocto-bsp/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_wic
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

标签 (3)
0 项奖励
回复
8 回复数

4,461 次查看
joanxie
NXP TechSupport
NXP TechSupport

I haven't built 5.4.3 for imx6s, so I couldn't access the source code, since you built successfully, could you send the "sources/meta-fsl-bsp-release/imx/meta-bsp/conf/machine/boardname.conf" file to me? as I known , you need add more code in the conf file besides of "UBOOT_CONFIG = \"emmc\""

0 项奖励
回复

4,461 次查看
jfsong1
Contributor I

The conf file is "sources/meta-imx/meta-bsp/conf/machine/imx6solosabresd.conf "  . The related inc file is also attached. Thanks. 

0 项奖励
回复

4,461 次查看
joanxie
NXP TechSupport
NXP TechSupport

try to add "UBOOT_CONFIG[emmc] = "mx6solosabresd_config,sdcard" in the "imx6solosabresd.conf", then build again
"

0 项奖励
回复

4,461 次查看
jfsong1
Contributor I

Yes, it worked. The file "u-boot-emmc-2019.04-r0.imx" was deployed. But another problem is mfgtools downloading.

Firstly, I used "bitbake fsl-image-mfgtool-initramfs " to produce firmware sucessfully.

Then, L4.9.88_2.0.0_mfg-tool-with-rootfs was used  to download the firmware and kernels.  But it stopped at "Jumping to OS image". There was nothing output at the debug uart1.

The XML configuration file is attached. I revised the original XML file for solo device downloading. The vid and pid of solo and MX6D were the same. Only the downloading files related were substituted. But it seemed faild. Please help. Thanks.

0 项奖励
回复

4,460 次查看
joanxie
NXP TechSupport
NXP TechSupport

since you built 5.4.3 image, why did you use 4.9.88 mfgtool? if you use 5.4.3 image, try to use uuu tool, for more detailed information, pls refer to user guide of 5.4.3 version

0 项奖励
回复

4,461 次查看
joanxie
NXP TechSupport
NXP TechSupport

for "echo "UBOOT_CONFIG = \"emmc\"" >> conf/local.conf",did you add this? you want to boot up from emmc?

0 项奖励
回复

4,461 次查看
jfsong1
Contributor I

I use "bitbake -c deploy u-boot-imx" to generate u-boot.imx. There is no error, but nothing is deployed in the directory"../tmp/deploy/images/imx6solosabresd"

jfsong@ubuntu:~/imx-yocto-bsp/buildbase$ bitbake -c deploy u-boot-imx
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 4067 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6solosabresd"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0275e68b0576cdefc19718e4b1977044f9f43f48"
meta-oe
meta-multimedia
meta-python = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-freescale = "HEAD:0be39721cea6e04c589a419f4bb07fabd0da6704"
meta-freescale-3rdparty = "HEAD:aea3771baa77e74762358ceb673d407e36637e5f"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml = "HEAD:435f5e984856a943986491fddd061734a0b9eba5"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:5cda04c7c2158fc982502ca1e7893f71e4ca1729"
meta-gnome
meta-networking
meta-filesystems = "HEAD:aad5b3d070cd8c58828b0975cf861d8ebc90f460"
meta-qt5 = "HEAD:432ad2aa6c3a13253fefc909faba368851d21fb1"

Initialising tasks: 100% |#######################################| Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 52 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: Tasks Summary: Attempted 402 tasks of which 402 didn't need to be rerun and all succeeded.

0 项奖励
回复

4,461 次查看
jfsong1
Contributor I

Yes, I add echo "UBOOT_CONFIG = \"emmc\".

I want to boot up from emmc.

0 项奖励
回复