Intel-uefiimg is not bootable

valentin.m
Sat, 26 Dec 2020 15:57:23 +0000
General Discussions

Update:

I’ve now also tried flashing the resulting .uefiimg directly onto an usb stick (while setting MENDER_STORAGE_DEVICE to sdb, i checked using ubuntu that sda/sdb are indeed used on this system)

This gives the same result: there is no “boot” entry, only “reboot into firmware”. Thus, i suspect that it’s an issue with the uefiimg and not with the installer.

Hello,

i’m currently trying to flash a mender-enabled yocto image to an intel pc’s internal ssd.
I’m using yocto on the dunfell branch and my config roughly looks like this:

## local.conf

MACHINE = "intel-corei7-64"

DISTRO ?= "poky"

INHERIT += "mender-full"

MENDER_STORAGE_DEVICE = "/dev/sda"
MENDER_STORAGE_TOTAL_SIZE_MB="20000"
MENDER_BOOT_PART = "${MENDER_STORAGE_DEVICE_BASE}1"
MENDER_DATA_PART = "${MENDER_STORAGE_DEVICE_BASE}4"
MENDER_ROOTFS_PART_A = "${MENDER_STORAGE_DEVICE_BASE}2"
MENDER_ROOTFS_PART_B = "${MENDER_STORAGE_DEVICE_BASE}3"

IMAGE_FSTYPES = "hddimg uefiimg"

## bblayers.conf

POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  ${TOPDIR}/../sources/poky/meta \
  ${TOPDIR}/../sources/poky/meta-poky \
  ${TOPDIR}/../sources/meta-mender/meta-mender-core \
  ${TOPDIR}/../sources/meta-intel \
  "

When omitting the mender part, the resulting hddimg itself has a “boot” and “install” option, as does the installed image have a boot option. When i build the image including mender and boot it from usb, the image only has an “install” option and the installed image only offers to reboot into firmware.

Any help would be greatly appreciated.

Best,
Valentin

2 posts - 2 participants