Skip to contentSkip to conversation

wic image on UEFI server (Advantech AIMB-242)

DISCUSSION [email protected] 1 participant 1 message Mar 19, 2020

lore
Share & tools
lore
#0 lore raw

Hi all,

I am using Yocto Zeus on a Advantech AIMB-242 and used a core-image-minimal with Yocto machine genericx86-64 ( [ https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto-bsp/wic/genericx86.wks?h=zeus | https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto-bsp/wic/genericx86.wks?h=zeus ] ) I manage to have my UEFI wic image recognized and booting on a USB Key. But when flashing my image on a SATA disk, the bios does not recognize my disk as an UEFI device.

Using the uefi shell, we discovered that my device is auto-mapped if the boot partition size is increased to 128 M, allowing me to call manually /EFI/BOOT/BOOTX64.EFI and boot my Yocto image like a charm ! But still my bios still does not recognize my SATA disk as a valid UEFI device out the box !
A valid workaround is to create an UEFI entry in NVRAM with efibootmgr but this manual operation is not durable for deployment.

As last test, I used an Ubuntu ISO image on my SATA disk and it works !

To be honest, I am not an UEFI guru at all. It looks like the specification interpretation differs from one manufacturer to another. I am wondering if someone accounted this issue and if some ticks could be tested on wic or if I should dig into that with Advantech.

Thanks,

Eloi