u-bootuefiipxe

Embed ipxe in u-boot


I'm trying to embed ipxe snp into u-boot and run ipxe efi application with bootefi command.

This document describe the process of running the efi https://github.com/ARM-software/u-boot/blob/master/doc/README.uefi but it doesn't say how to embed the efi application into uboot.bin, how can I do it?


Solution

  • The following patch should solve your problem:

    https://patchwork.ozlabs.org/project/uboot/patch/20220419211641.316935-1-heinrich.schuchardt@canonical.com/

    It allows to embed an image file with a file-system into U-Boot. If you have a partition table, you can access partition 1 as: mem 0:1. If you don't have a partition table use: mem 0:0.

    Using a Squash file systems allows for good compression.