U-boot EFI on intel-corei7-64

dnebrich
Tue, 24 Mar 2026 18:45:09 +0000
General Discussions

Hi,

I’ve got mender working with grub on intel-corei7-64 (scarthgap 5.0.16). As it’s a commercial product, I’m trying to replace grub with u-boot due to gplv3.

I’ve created a few u-boot build attempts, but don’t have it working yet. I’m new to UEFI so hoping for some guidance/direction.

My builds are currently using mender-full.yml. With the mender-grub based build, I’ve mounted the .bootimg on my dev PC and it shows:

This works on the device. For u-boot try #1, I replaced mender-grub with mender-u-boot. This builds and creates a uefiimg, but UEFI on the device doesn’t see anything. So I mounted .bootimg on my PC and it just shows:

I then tried to set EFI_PROVIDER to “u-boot”, results were the same. I do have UBOOT_MACHINE set to “efi-x86_app64_defconfig”. So the u-boot workdir has both u-boot.bin and u-boot-app.efi. Do I need to explicitly add one to IMS_BOOT_FILES?

For uboot try #2, I followed the steps here: Explicit WKS Partitioning for Mender A/B Updates

Is that the direction I need to go in? I’ve got a build with a wks file with uboot.env in 1st partition, and then the 2nd partition setup for --source bootimg-partition, but I’m not sure what files/structure I should add to the bootimg.

The device has a SATA SSD drive.

Thanks, Daryl

5 posts - 2 participants