Boot device not found after integration mender into yocto

c3ntry
Tue, 27 Aug 2019 15:28:43 +0000
General Discussions

Hello,

I am currently trying to integrate mender for an intel based Industrial PC (x64). Before integrating mender my image boots normally, but after integrating mender and installing via the .hddimg the firmware displays “Default Boot Device Missing or Boot Failed”. But the firmware also supports “Boot From File” where I can choose an EFI file to boot from. After I choose the file “EFI/BOOT/bootx64.efi” the image starts up normally. This is why I suspect that there is nothing wrong with the image in general, but just with the GRUP setup created by mender. The “vanilla” (poky - thud 2.6 with meta-intel) yocto image did boot up just fine (without booting from file).

Is there any way to debug this issue further?

Additional Information:
The relevant part of the local.conf
MENDER_ARTIFACT_NAME = “release-1”
INHERIT += “mender-full”
ARTIFACTIMG_FSTYPE = “ext4”
MENDER_SERVER_URL = “https://hosted.mender.io”
MENDER_TENANT_TOKEN = “”

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd”"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
ARTIFACTIMG_FSTYPE = "ext4"

MENDER_STORAGE_TOTAL_SIZE_MB = "4096"
MENDER_DATA_PART_SIZE_MB = "512"

MENDER_STORAGE_DEVICE = "/dev/sda"
MENDER_GRUB_STORAGE_DEVICE = "hd0"
MENDER_DEVICE_TYPE = "intel-corei7-64"
MENDER_FEATURES_ENABLE_append = " mender-grub mender-image-uefi"
MENDER_FEATURES_DISABLE_append = " mender-uboot mender-image-sd"
# Debug only
PACKAGECONFIG_append_pn-grub-mender-grubenv = " debug-pause"

Yocto layers:
meta /home/parallels/Documents/yocto/poky/meta 5
meta-poky /home/parallels/Documents/yocto/poky/meta-poky 5
meta-yocto-bsp /home/parallels/Documents/yocto/poky/meta-yocto-bsp 5
meta-intel /home/parallels/Documents/yocto/poky/meta-intel 5
meta-mender-core /home/parallels/Documents/yocto/poky/meta-mender/meta-mender-core 6
meta-mender-demo /home/parallels/Documents/yocto/poky/meta-mender/meta-mender-demo 6

Any help would be greatly appreciated.

Best regards,
c3ntry

24 posts - 5 participants