AnsweredAssumed Answered

Error with IMAGE_FSTYPES = "sdcard"

Question asked by Rutuja Patil on Feb 24, 2020
Latest reply on Feb 26, 2020 by Radhika Somaiya

While adding IMAGE_FSTYPES = "sdcard", getting error as follow:

 

buildtools/Yocto2_6_4/build$ bitbake core-image-minimal
Loading cache: 100% |#######################################################################################################################################| Time: 0:00:00
Loaded 1415 entries from dependency cache.
Parsing recipes: 100% |#####################################################################################################################################| Time: 0:00:00
Parsing of 928 .bb files complete (923 cached, 5 parsed). 1420 targets, 253 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-framebuffer"
DISTRO_VERSION = "2.6"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp
meta-freescale-distro-thud
meta-freescale-thud
meta-spitest = "<unknown>:<unknown>"

WARNING: /home/buildtools/Yocto2_6_4/meta-freescale-thud/recipes-kernel/linux/linux-imx_4.9.123.bb.do_compile is tainted from a forced run | ETA: 0:00:00
WARNING: /home/buildtools/Yocto2_6_4/meta-freescale-thud/recipes-kernel/linux/linux-imx_4.9.123.bb.do_deploy is tainted from a forced run
Initialising tasks: 100% |##################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 70 Found 0 Missed 70 Current 588 (0% match, 89% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: core-image-minimal-1.0-r0 do_image_sdcard: Function failed: do_image_sdcard (log file is located at /home/buildtools/Yocto2_6_4/build/tmp/work/imx8mmevk-fsl-linux/core-image-minimal/1.0-r0/temp/log.do_image_sdcard.25836)
ERROR: Logfile of failure stored in: /home/buildtools/Yocto2_6_4/build/tmp/work/imx8mmevk-fsl-linux/core-image-minimal/1.0-r0/temp/log.do_image_sdcard.25836
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 9448.400000 = 7268 * 1.300000
| DEBUG: 9448.400000 = max(9448.400000, 8192)[9448.400000] + 1
| DEBUG: 9449.000000 = int(9448.400000)
| DEBUG: 9449 = aligned(9449)
| DEBUG: returning 9449
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_sdcard
| /home/buildtools/Yocto2_6_4/build/tmp/work/imx8mmevk-fsl-linux/core-image-minimal/1.0-r0/temp/run.do_image_sdcard.25836: line 113: sdcard: command not found
| WARNING: /home/buildtools/Yocto2_6_4/build/tmp/work/imx8mmevk-fsl-linux/core-image-minimal/1.0-r0/temp/run.do_image_sdcard.25836:1 exit 127 from 'sdcard'
| ERROR: Function failed: do_image_sdcard (log file is located at /home/buildtools/Yocto2_6_4/build/tmp/work/imx8mmevk-fsl-linux/core-image-minimal/1.0-r0/temp/log.do_image_sdcard.25836)
ERROR: Task (/home/buildtools/Yocto2_6_4/meta/recipes-core/images/core-image-minimal.bb:do_image_sdcard) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2599 tasks of which 2590 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Outcomes