u-boot-imx6dlsabresd.imx': No such file or directory

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

u-boot-imx6dlsabresd.imx': No such file or directory

3,137 Views
gautam_r
Contributor I

I am getting the error u-boot-imx6dlsabresd.imx': No such file or directory when i try using bitbake fsl-image-validation-imx command. I am using emmc and following steps mentioned in https://www.nxp.com/docs/en/user-guide/i.MX_Yocto_Project_User's_Guide_Linux.pdf 

See my local.conf below:

MACHINE ??= 'imx6dlsabresd'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

### Added code
#################
# fixes issue with exmaple.com
CONNECTIVITY_CHECK_URIS ?= "https://www.google.com/"

# Sets UBOOT to emmc storage
UBOOT_CONFIG = "emmc"

Here's the error log i am recieving:

gautam@attp532:~/imx-yocto-bsp/custos-recovery$ bitbake fsl-image-validation-imx
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#####################################################| Time: 0:00:00
Loaded 3262 entries from dependency cache.
Parsing recipes: 100% |###################################################| Time: 0:00:01
Parsing of 2423 .bb files complete (2421 cached, 2 parsed). 3264 targets, 207 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6dlsabresd"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.9.88-2.0.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0ec241873367e18f5371a3ad9aca1e2801dcd4ee"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:49ac225a38f6d84519798e3264f2e4d19b84f70a"
meta-freescale-3rdparty = "HEAD:1d6d5961dbf82624b28bb318b4950a64abc31d12"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-bsp
meta-sdk = "HEAD:d65692ecb3a4136fc1cc137152634e8633ddb3c6"
meta-browser = "HEAD:d6f9aed41c73b75a97d71bff060b03a66ee087b1"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:32bb7d18a08d1c48873d7ab6332d4cc3815a4dff"

WARNING: /home/gautam/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2017.03.bb.do_compile is tainted from a forced run
Initialising tasks: 100% |################################################| Time: 0:00:17
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: fsl-image-validation-imx-1.0-r0 do_image_sdcard: Function failed: do_image_sdcard (log file is located at /home/gautam/imx-yocto-bsp/custos-recovery/tmp/work/imx6dlsabresd-poky-linux-gnueabi/fsl-image-validation-imx/1.0-r0/temp/log.do_image_sdcard.11515)
ERROR: Logfile of failure stored in: /home/gautam/imx-yocto-bsp/custos-recovery/tmp/work/imx6dlsabresd-poky-linux-gnueabi/fsl-image-validation-imx/1.0-r0/temp/log.do_image_sdcard.11515
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-connectivity/openssl/openssl_1.0.2n.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-support/lzop/lzop_1.03.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.3.5.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/rpm/rpm_git.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.5.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.88.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/createrepo-c/createrepo-c_git.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python_2.7.13.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.18.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.26.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-kernel/dtc/dtc_1.4.4.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-extended/parted/parted_3.2.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/opkg/opkg_0.3.5.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.43.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/python/python-native_2.7.13.bb:do_populate_sysroot', '/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-devtools/dnf/dnf_2.6.3.bb:do_populate_sysroot', 'virtual:native:/home/gautam/imx-yocto-bsp/sources/poky/meta/recipes-extended/bc/bc_1.06.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['openssl-native', 'gcc-runtime', 'gcc-cross-arm', 'lzop-native', 'quilt-native', 'opkg-utils-native', 'rpm-native', 'qemuwrapper-cross', 'e2fsprogs-native', 'linux-imx', 'pseudo-native', 'kmod-native', 'createrepo-c-native', 'python', 'binutils-cross-arm', 'mtools-native', 'update-rc.d-native', 'ldconfig-native', 'makedevs-native', 'glibc', 'dosfstools-native', 'dtc-native', 'prelink-native', 'parted-native', 'opkg-native', 'mklibs-native', 'pbzip2-native', 'python-native', 'depmodwrapper-cross', 'dnf-native', 'bc-native', 'makedepend-native', 'pkgconfig-native', 'cryptodev-linux-native', 'qemu-native', 'linux-libc-headers', 'libgcc', 'gdk-pixbuf-native', 'gtk-icon-utils-native', 'mpfr-native', 'xz-native', 'autoconf-native', 'gmp-native', 'libtool-native', 'automake-native', 'texinfo-dummy-native', 'gnu-config-native', 'libmpc-native', 'zlib-native', 'lzo-native', 'gtk-doc-native', 'systemd-systemctl-native', 'gconf-native', 'shadow-native', 'sqlite3-native', 'expat-native', 'file-native', 'libxml2-native', 'cmake-native', 'curl-native', 'python3-native', 'glib-2.0-native', 'gdbm', 'openssl', 'libffi', 'readline', 'db', 'zlib', 'sqlite3', 'bzip2', 'mkfontscale-native', 'mkfontdir-native', 'bison-native', 'flex-native', 'binutils-native', 'elfutils-native', 'libsolv-native', 'libarchive-native', 'gettext-minimal-native', 'db-native', 'dbus-native', 'bzip2-native', 'nss-native', 'popt-native', 'attr-native', 'util-linux-native', 'debianutils-native', 'ncurses-native', 'readline-native', 'libdnf-native', 'libcomps-native', 'python3-iniparse-native', 'librepo-native', 'util-macros-native', 'xproto-native', 'libsdl-native', 'pixman-native', 'alsa-lib-native', 'shared-mime-info-native', 'libjpeg-turbo-native', 'gobject-introspection-native', 'libpng-native', 'librsvg-native', 'm4-native', 'dbus-glib-native', 'intltool-native', 'pigz-native', 'libffi-native', 'gettext-native', 'libpcre-native', 'cryptodev-linux', 'ncurses', 'opkg-utils', 'freetype-native', 'libfontenc-native', 'libx11-native', 'nspr-native', 'libcheck-native', 'python3-six-native', 'gpgme-native', 'libxrender-native', 'libxrandr-native', 'libxext-native', 'libcroco-native', 'cairo-native', 'pango-native', 'libxml-parser-perl-native', 'font-util-native', 'inputproto-native', 'kbproto-native', 'xtrans-native', 'xextproto-native', 'libxcb-native', 'python3-setuptools-native', 'libassuan-native', 'swig-native', 'libgpg-error-native', 'renderproto-native', 'randrproto-native', 'fontconfig-native', 'libsm-native', 'libxft-native', 'harfbuzz-native', 'perl-native', 'xcb-proto-native', 'libpthread-stubs-native', 'libxau-native', 'libxdmcp-native', 'unzip-native', 'gperf-native', 'libice-native', 'icu-native', 'gdbm-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_sdcard
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.000142868 s, 0.0 kB/s
| Model: (file)
| Disk /home/gautam/imx-yocto-bsp/custos-recovery/tmp/work/imx6dlsabresd-poky-linux-gnueabi/fsl-image-validation-imx/1.0-r0/deploy-fsl-image-validation-imx-image-complete/fsl-image-validation-imx-imx6dlsabresd-20190319100859.rootfs.sdcard: 1976MB
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
|
| Number Start End Size Type File system Flags
| 1 4194kB 12.6MB 8389kB primary lba
| 2 12.6MB 1971MB 1959MB primary
|
| dd: failed to open '/home/gautam/imx-yocto-bsp/custos-recovery/tmp/deploy/images/imx6dlsabresd/u-boot-imx6dlsabresd.imx': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_sdcard (log file is located at /home/gautam/imx-yocto-bsp/custos-recovery/tmp/work/imx6dlsabresd-poky-linux-gnueabi/fsl-image-validation-imx/1.0-r0/temp/log.do_image_sdcard.11515)
ERROR: Task (/home/gautam/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb:do_image_sdcard) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7890 tasks of which 7889 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/gautam/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb:do_image_sdcard
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

I tried doing bitbake -c deploy u-boot-imx before doing bitbake fsl-image-validation-imx, it didn't worked either.

If i missed something please let me know.

Labels (2)
0 Kudos
Reply
3 Replies

2,395 Views
ankitr_patel
Senior Contributor II

Hi

Execute below command instead of bitbake -c deploy u-boot-imx

  • bitbake -c compile -f u-boot-imx; bitbake -f u-boot-imx

Hope this will be helpful.

0 Kudos
Reply

2,395 Views
gautam_r
Contributor I

Stil i can't find the uboot image here:

$ ls tmp/deploy/images/imx6dlsabresd/
fsl-image-validation-imx-imx6dlsabresd-20190318123116.testdata.json
fsl-image-validation-imx-imx6dlsabresd-20190319060821.testdata.json
fsl-image-validation-imx-imx6dlsabresd.testdata.json
imx6dl-sabresd-btwifi.dtb
imx6dl-sabresd.dtb
imx6dl-sabresd-enetirq.dtb
imx6dl-sabresd-hdcp.dtb
imx6dl-sabresd-ldo.dtb
modules--4.9.88-r0-imx6dlsabresd-20190318123116.tgz
modules-imx6dlsabresd.tgz
zImage
zImage--4.9.88-r0-imx6dlsabresd-20190318123116.bin
zImage--4.9.88-r0-imx6dl-sabresd-20190318123116.dtb
zImage--4.9.88-r0-imx6dl-sabresd-btwifi-20190318123116.dtb
zImage--4.9.88-r0-imx6dl-sabresd-enetirq-20190318123116.dtb
zImage--4.9.88-r0-imx6dl-sabresd-hdcp-20190318123116.dtb
zImage--4.9.88-r0-imx6dl-sabresd-ldo-20190318123116.dtb
zImage-imx6dlsabresd.bin
zImage-imx6dl-sabresd-btwifi.dtb
zImage-imx6dl-sabresd.dtb
zImage-imx6dl-sabresd-enetirq.dtb
zImage-imx6dl-sabresd-hdcp.dtb
zImage-imx6dl-sabresd-ldo.dtb


I am getting the same error when i am doing: bitbake fsl-image-validation-imx

0 Kudos
Reply

2,395 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Gautam Krishna R,

This is an odd error. I would recommend using Ubuntu 16.04 but this error does not look related to your host. You mentioned that you baked u-boot-imx, but it’s the bootloader is not being created it could be that Yocto thinks it was already built.

Have you modified anything under the deploy/images folder or have you moved the build directory from one host or path to another? If you have manually changed anything on the deploy/images folder you should then run a cleanall and then bake again.

It would be something like:

bitbake -c cleanall u-boot-imx

And then try baking again.

I hope this helps!

Regards,

0 Kudos
Reply