Error with IMAGE_FSTYPES = "sdcard"

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

Error with IMAGE_FSTYPES = "sdcard"

1,263 Views
rutuja_patil
Contributor II

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

0 Kudos
3 Replies

1,101 Views
radhikasomaiya
Senior Contributor II

Hi rutuja.patil@kpit.com ,

DISTRO fsl-framebuffer (Frame Buffer graphics) is not supported on i.MX 8. You can use wayland or xwayland graphics with i.MX8.

Regards,

Radhika Somaiya.

0 Kudos

1,101 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Rutuja Patil,

I see that you are using poky 2.6, in this case the problem is that the sdcard format was deprecated on the BSPs in favor of the compressed WIC format. Please use “wic” instead od “sdcard”. It will generate the image in a similar format, but you would need to expand it before copying with dd.

I hope this helps!

Regards,

1,101 Views
rutuja_patil
Contributor II

Thank you. It's working.

0 Kudos