summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnshul Dalal <anshuld@ti.com>2025-04-25 20:56:08 +0530
committerRyan Eatmon <reatmon@ti.com>2025-05-13 11:04:52 -0500
commitfcdba74bc53b401e16e03f0b05ccc8e8052cf84b (patch)
tree1cf1938542f1a866d0ed3d62981377cb733894e1
parent7ffd64a5ca2a047ca168797c1214b70f6a75e2da (diff)
downloadmeta-ti-fcdba74bc53b401e16e03f0b05ccc8e8052cf84b.tar.gz
bsp: conf: machine: add ti-falcon.inc
ti-falcon.inc configures the following things for enabling falcon boot: 1. Change fitImage class to kernel-fitimage-legacyhs 2. Update kernel and dtb address for falcon boot 3. Disable kernel compression Signed-off-by: Anshul Dalal <anshuld@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--meta-ti-bsp/conf/machine/include/k3.inc5
-rw-r--r--meta-ti-bsp/conf/machine/include/ti-falcon.inc5
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc12
3 files changed, 22 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc
index b98b4580..4b235d34 100644
--- a/meta-ti-bsp/conf/machine/include/k3.inc
+++ b/meta-ti-bsp/conf/machine/include/k3.inc
@@ -54,3 +54,8 @@ WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.
54do_image_wic[depends] += "virtual/bootloader:do_deploy" 54do_image_wic[depends] += "virtual/bootloader:do_deploy"
55 55
56SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" 56SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
57
58FALCON_INCLUDE = ""
59FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
60
61require ${FALCON_INCLUDE}
diff --git a/meta-ti-bsp/conf/machine/include/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc
new file mode 100644
index 00000000..55a4daa6
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/include/ti-falcon.inc
@@ -0,0 +1,5 @@
1KERNEL_CLASSES:remove = "kernel-fitimage"
2KERNEL_CLASSES += "kernel-fitimage-legacyhs"
3UBOOT_DTB_LOADADDRESS = "0x88000000"
4UBOOT_LOADADDRESS = "0x82000000"
5FIT_KERNEL_COMP_ALG = "none"
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
index 57bf7a4e..161beb45 100644
--- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc
@@ -368,4 +368,16 @@ do_deploy:append:am62pxx() {
368 install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR} 368 install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
369} 369}
370 370
371do_install:append:ti-falcon() {
372 install -m 0644 ${B}/tispl_falcon.bin ${D}/boot
373}
374
375FALCON_PKG = ""
376FALCON_PKG:ti-falcon = "${PN}-falcon "
377
378PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} "
379PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} "
380PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} "
381PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} "
382
371TOOLCHAIN = "gcc" 383TOOLCHAIN = "gcc"