summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/omap-a15.inc
diff options
context:
space:
mode:
authorTom Rini <tom.rini@gmail.com>2021-06-28 14:06:24 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-08-19 09:45:24 +0000
commitc3ce6cd08d4663fef493ff2d636e18b95fee7efb (patch)
treede4c13d4032de39d1ce512883f45f9c2a81cb64a /conf/machine/include/omap-a15.inc
parentd0b09833b44fa23cce86fd99dd8ca6631c61c476 (diff)
downloadmeta-ti-c3ce6cd08d4663fef493ff2d636e18b95fee7efb.tar.gz
conf: Add extlinux.conf support on some 32bit platforms
To make use of the "generic distro boot" support in U-Boot, an extlinux.conf file needs to be generated and reside in the extlinux directory. The extlinux.conf file will be parsed by U-Boot and the "append" line will be evaluated and expanded and used entirely as the bootargs passed to the kernel. Our generated extlinux.conf states that the kernel image and device trees live one level up (so the root directory) from it, so populate that location with our kernel and device trees. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Diffstat (limited to 'conf/machine/include/omap-a15.inc')
-rw-r--r--conf/machine/include/omap-a15.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/conf/machine/include/omap-a15.inc b/conf/machine/include/omap-a15.inc
index e491d2b5..c95b0ccc 100644
--- a/conf/machine/include/omap-a15.inc
+++ b/conf/machine/include/omap-a15.inc
@@ -19,6 +19,15 @@ UBOOT_ARCH = "arm"
19UBOOT_ENTRYPOINT = "0x80008000" 19UBOOT_ENTRYPOINT = "0x80008000"
20UBOOT_LOADADDRESS = "0x80008000" 20UBOOT_LOADADDRESS = "0x80008000"
21 21
22# Generate an extlinux.conf file
23UBOOT_EXTLINUX = "1"
24UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
25UBOOT_EXTLINUX_BOOT_FILES = " \
26 extlinux.conf;extlinux/extlinux.conf \
27 ${KERNEL_IMAGETYPE} \
28 ${KERNEL_DEVICETREE} \
29"
30
22SPL_BINARY = "MLO" 31SPL_BINARY = "MLO"
23UBOOT_SUFFIX = "img" 32UBOOT_SUFFIX = "img"
24 33
@@ -40,5 +49,5 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
40 49
41IMAGE_FSTYPES += "tar.xz wic.xz" 50IMAGE_FSTYPES += "tar.xz wic.xz"
42WKS_FILE ?= "sdimage-2part.wks" 51WKS_FILE ?= "sdimage-2part.wks"
43IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}" 52IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
44do_image_wic[depends] += "u-boot:do_deploy" 53do_image_wic[depends] += "u-boot:do_deploy"