mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
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>
This commit is contained in:
committed by
Ryan Eatmon
parent
f5305dbb8a
commit
8403429c25
@@ -56,3 +56,8 @@ TI_WKS_BOOTLOADER_APPEND ?= ""
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
|
||||
|
||||
FALCON_INCLUDE = ""
|
||||
FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
|
||||
|
||||
require ${FALCON_INCLUDE}
|
||||
|
||||
5
meta-ti-bsp/conf/machine/include/ti-falcon.inc
Normal file
5
meta-ti-bsp/conf/machine/include/ti-falcon.inc
Normal file
@@ -0,0 +1,5 @@
|
||||
KERNEL_CLASSES:remove = "kernel-fitimage"
|
||||
KERNEL_CLASSES += "kernel-fitimage-legacyhs"
|
||||
UBOOT_DTB_LOADADDRESS = "0x88000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
FIT_KERNEL_COMP_ALG = "none"
|
||||
@@ -368,4 +368,16 @@ do_deploy:append:am62pxx() {
|
||||
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
do_install:append:ti-falcon() {
|
||||
install -m 0644 ${B}/tispl_falcon.bin ${D}/boot
|
||||
}
|
||||
|
||||
FALCON_PKG = ""
|
||||
FALCON_PKG:ti-falcon = "${PN}-falcon "
|
||||
|
||||
PACKAGES:prepend:am62xx-evm = "${FALCON_PKG} "
|
||||
PACKAGES:prepend:am62axx-evm = "${FALCON_PKG} "
|
||||
PACKAGES:prepend:am62pxx-evm = "${FALCON_PKG} "
|
||||
PACKAGES:prepend:am62xx-lp-evm = "${FALCON_PKG} "
|
||||
|
||||
TOOLCHAIN = "gcc"
|
||||
|
||||
Reference in New Issue
Block a user