diff options
author | Tom Rini <tom.rini@gmail.com> | 2021-06-28 14:06:24 -0400 |
---|---|---|
committer | Yogesh Siraswar <yogeshs@ti.com> | 2021-08-19 09:45:24 +0000 |
commit | c3ce6cd08d4663fef493ff2d636e18b95fee7efb (patch) | |
tree | de4c13d4032de39d1ce512883f45f9c2a81cb64a /conf/machine/include/omap-a15.inc | |
parent | d0b09833b44fa23cce86fd99dd8ca6631c61c476 (diff) | |
download | meta-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.inc | 11 |
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" | |||
19 | UBOOT_ENTRYPOINT = "0x80008000" | 19 | UBOOT_ENTRYPOINT = "0x80008000" |
20 | UBOOT_LOADADDRESS = "0x80008000" | 20 | UBOOT_LOADADDRESS = "0x80008000" |
21 | 21 | ||
22 | # Generate an extlinux.conf file | ||
23 | UBOOT_EXTLINUX = "1" | ||
24 | UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}" | ||
25 | UBOOT_EXTLINUX_BOOT_FILES = " \ | ||
26 | extlinux.conf;extlinux/extlinux.conf \ | ||
27 | ${KERNEL_IMAGETYPE} \ | ||
28 | ${KERNEL_DEVICETREE} \ | ||
29 | " | ||
30 | |||
22 | SPL_BINARY = "MLO" | 31 | SPL_BINARY = "MLO" |
23 | UBOOT_SUFFIX = "img" | 32 | UBOOT_SUFFIX = "img" |
24 | 33 | ||
@@ -40,5 +49,5 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne | |||
40 | 49 | ||
41 | IMAGE_FSTYPES += "tar.xz wic.xz" | 50 | IMAGE_FSTYPES += "tar.xz wic.xz" |
42 | WKS_FILE ?= "sdimage-2part.wks" | 51 | WKS_FILE ?= "sdimage-2part.wks" |
43 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}" | 52 | IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}" |
44 | do_image_wic[depends] += "u-boot:do_deploy" | 53 | do_image_wic[depends] += "u-boot:do_deploy" |