diff options
| author | Anshul Dalal <anshuld@ti.com> | 2025-04-25 20:56:08 +0530 |
|---|---|---|
| committer | Ryan Eatmon <reatmon@ti.com> | 2025-05-13 11:04:52 -0500 |
| commit | fcdba74bc53b401e16e03f0b05ccc8e8052cf84b (patch) | |
| tree | 1cf1938542f1a866d0ed3d62981377cb733894e1 /meta-ti-bsp | |
| parent | 7ffd64a5ca2a047ca168797c1214b70f6a75e2da (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-ti-bsp')
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/k3.inc | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-falcon.inc | 5 | ||||
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 12 |
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. | |||
| 54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" | 54 | do_image_wic[depends] += "virtual/bootloader:do_deploy" |
| 55 | 55 | ||
| 56 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" | 56 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2" |
| 57 | |||
| 58 | FALCON_INCLUDE = "" | ||
| 59 | FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc" | ||
| 60 | |||
| 61 | require ${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 @@ | |||
| 1 | KERNEL_CLASSES:remove = "kernel-fitimage" | ||
| 2 | KERNEL_CLASSES += "kernel-fitimage-legacyhs" | ||
| 3 | UBOOT_DTB_LOADADDRESS = "0x88000000" | ||
| 4 | UBOOT_LOADADDRESS = "0x82000000" | ||
| 5 | FIT_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 | ||
| 371 | do_install:append:ti-falcon() { | ||
| 372 | install -m 0644 ${B}/tispl_falcon.bin ${D}/boot | ||
| 373 | } | ||
| 374 | |||
| 375 | FALCON_PKG = "" | ||
| 376 | FALCON_PKG:ti-falcon = "${PN}-falcon " | ||
| 377 | |||
| 378 | PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} " | ||
| 379 | PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} " | ||
| 380 | PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} " | ||
| 381 | PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} " | ||
| 382 | |||
| 371 | TOOLCHAIN = "gcc" | 383 | TOOLCHAIN = "gcc" |
