[yocto] SD card image fails for IMX7

Eswaran Vinothkumar (BEG/PJ-IOT-EL) Vinothkumar.Eswaran at de.bosch.com
Tue Sep 12 00:30:32 PDT 2017


Hello,

I am using Yocto based build system for my project. The Yocto version used in pyro.( BB_VERSION  = "1.34.0").

I am trying to build an SD card image by setting the,

IMAGE_FSTYPES = "sdcard" and also set the SDCARD_GENERATION_COMMAND = "generate_imx_sdcard" .

After trying to build the image , I am seeing the following error messages,

| NOTE: libpthread-stubs-native exists in sysroot, skipping
| 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.000164164 s, 0.0 kB/s
| Model:  (file)
| Disk /home/evk1206/Projects/test/build/tmp/work/cl_som_imx7-fsl-linux-gnueabi/iot-eval-image/1.0-r0/deploy-iot-eval-image-image-complete/iot-eval-image-cl-som-imx7-20170912065601.rootfs.sdcard: 1057MB
| 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  1053MB  1040MB  primary
|
| 846+0 records in
| 846+0 records out
| 433152 bytes (433 kB, 423 KiB) copied, 0.00094238 s, 460 MB/s
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
| mkfs.fat 4.1 (2017-01-24)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_sdcard (log file is located at /home/evk1206/Projects/test/build/tmp/work/cl_som_imx7-fsl-linux-gnueabi/iot-eval-image/1.0-r0/temp/log.do_image_sdcard.28053)
ERROR: Task (/home/evk1206/Projects/test/sources/meta-alen/recipes-core/images/iot-eval-image.bb:do_image_sdcard) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3415 tasks of which 3407 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/evk1206/Projects/test/sources/meta-alen/recipes-core/images/iot-eval-image.bb:do_image_sdcard
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

May I know how to fix this issue.

Mit freundlichen Grüßen / Best regards

Vinothkumar Eswaran
BEG-PT/PJ-EL


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170912/97996ef2/attachment.html>


More information about the yocto mailing list