@@ -3,6 +3,6 @@
# supports EFI. Boot files are located in the first vfat partition with extra
# reserved space. We cannot use a GPT here.
-bootloader --timeout=3 --append="rootfstype=ext4 ${TI_WKS_BOOTLOADER_APPEND}"
+bootloader --configfile="ti-grub.cfg"
part --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
new file mode 100644
@@ -0,0 +1,9 @@
+# Set timeout and default options
+set timeout=3
+set default=0
+
+# Main boot entry
+menuentry "Boot Linux" {
+ linux /Image root=/dev/disk/by-label/root rootwait rootfstype=ext4
+ initrd /initrd.cpio.xz
+}
Add a new grub config for TI specific platforms. While, only supporting to boot linux from filesystem on MMCSD, it will support booting linux and initrd image from eMMC, OSPI, UFS later down the line. Hence, make a new config altogether for easier development. Signed-off-by: Moteen Shah <m-shah@ti.com> --- meta-ti-bsp/wic/sdimage-2part-efi.wks.in | 2 +- meta-ti-bsp/wic/ti-grub.cfg | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 meta-ti-bsp/wic/ti-grub.cfg