Hi all,
I’m building Yocto project with mender for iMX6UL EVK. It fails to load with the following error:
[ TIME ] Timed out waiting for device /dev/mmcblk1p4.
[DEPEND] Dependency failed for /data.
[DEPEND] Dependency failed for Local File Systems.
and it goes into emergency mode, the disk partition reveals there’s no partition 4
~ # fdisk -l
Disk /dev/mmcblk1: 7416 MB, 7776239616 bytes, 15187968 sectors
237312 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/mmcblk1p1 * 64,0,1 437,2,24 8192 56023 47832 23.3M c Win95 FAT32 (LBA)
/dev/mmcblk1p2 448,0,1 1023,3,32 57344 9705881 9648538 4711M 83 Linux
My local.conf
file is as follows,
# IP of local server
MENDER_DEMO_HOST_IP_ADDRESS = "192.168.1.6"
MENDER_STORAGE_DEVICE = "/dev/mmcblk1"
MENDER_STORAGE_TOTAL_SIZE_MB = "7416"
MENDER_ARTIFACT_NAME = "release-1"
INHERIT += "mender-full"
MENDER_FEATURES_DISABLE_append = " mender-growfs-data"
MENDER_FEATURES_DISABLE_append = " mender-grub mender-image-uefi"
MENDER_STORAGE_DEVICE_imx6ulevk = "/dev/mmcblk1"
MACHINE ??= 'imx6ulevk'
DISTRO ?= 'fslc-xwayland'
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-system-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
DL_DIR ?= "/home/ux/.yocto/warrior/downloads/"
ACCEPT_FSL_EULA = "1"
Basically, I’ve 3 questions:
- Does mender create the required partitions?
- If not, do we need to create them manually or is there any steps to be followed
- How to check the mender integration on iMX6UL EVK?