summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/ti33x.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/ti33x.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/ti33x.inc')
-rw-r--r--conf/machine/include/ti33x.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
index 6dfda754..35e057d5 100644
--- a/conf/machine/include/ti33x.inc
+++ b/conf/machine/include/ti33x.inc
@@ -43,6 +43,15 @@ UBOOT_MACHINE = "am335x_evm_config"
43UBOOT_ENTRYPOINT = "0x80008000" 43UBOOT_ENTRYPOINT = "0x80008000"
44UBOOT_LOADADDRESS = "0x80008000" 44UBOOT_LOADADDRESS = "0x80008000"
45 45
46# Generate an extlinux.conf file
47UBOOT_EXTLINUX = "1"
48UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
49UBOOT_EXTLINUX_BOOT_FILES = " \
50 extlinux.conf;extlinux/extlinux.conf \
51 ${KERNEL_IMAGETYPE} \
52 ${KERNEL_DEVICETREE} \
53"
54
46SPL_BINARY = "MLO" 55SPL_BINARY = "MLO"
47UBOOT_SUFFIX = "img" 56UBOOT_SUFFIX = "img"
48 57
@@ -61,5 +70,5 @@ TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
61 70
62IMAGE_FSTYPES += "tar.xz wic.xz" 71IMAGE_FSTYPES += "tar.xz wic.xz"
63WKS_FILE ?= "sdimage-2part.wks" 72WKS_FILE ?= "sdimage-2part.wks"
64IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}" 73IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
65do_image_wic[depends] += "virtual/bootloader:do_deploy" 74do_image_wic[depends] += "virtual/bootloader:do_deploy"