aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Rini <tom.rini@gmail.com>2021-11-01 15:32:51 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-11-05 23:48:09 +0000
commitf2d9882e175db1832a90378a01f72d3c3b3f2264 (patch)
tree5f588b9c639368a238e4f4f964b3344e18c4861c /conf
parent88f48e7cfa3162dffc131444d586ad3c991ab6a7 (diff)
downloadmeta-ti-f2d9882e175db1832a90378a01f72d3c3b3f2264.tar.gz
meta-ti-f2d9882e175db1832a90378a01f72d3c3b3f2264.tar.bz2
meta-ti-f2d9882e175db1832a90378a01f72d3c3b3f2264.zip
conf/machine: k3: Enable grub-efi by default in wic images
All of our platforms here support running EFI binaries. We can have wic generate a simple grub.cfg file for us that will find the root partition via PARTUUID and utilize the device tree that is already discoverable via the EFI configuration tables. Assuming the EFI loader is U-Boot, this device tree can be replaced at run-time by the normal mechanism of loading in to memory and passing that address as an argument to bootefi. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/k3.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/machine/include/k3.inc b/conf/machine/include/k3.inc
index 20ab7a9e..a39ddd2a 100644
--- a/conf/machine/include/k3.inc
+++ b/conf/machine/include/k3.inc
@@ -44,8 +44,12 @@ IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysf
IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}"
+IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
-WKS_FILE ?= "sdimage-2part.wks"
+EFI_PROVIDER ?= "grub-efi"
+MACHINE_FEATURES += "efi"
+
+WKS_FILE ?= "sdimage-2part-efi.wks"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"