mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Compare commits
84 Commits
cicd.maste
...
cicd.maste
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01afb84f85 | ||
|
|
7969c1366d | ||
|
|
0a1ef21bbd | ||
|
|
ae4ef66253 | ||
|
|
5bbe22181f | ||
|
|
eaa6778b48 | ||
|
|
c82c837b47 | ||
|
|
ccf4a5e89d | ||
|
|
a598566a33 | ||
|
|
b14bb00d3c | ||
|
|
b07a909654 | ||
|
|
1d329e3c23 | ||
|
|
f963603abe | ||
|
|
e973385b53 | ||
|
|
b8a1b63be7 | ||
|
|
1a08f44e7c | ||
|
|
479d3c0dd1 | ||
|
|
f0787243b8 | ||
|
|
fcbd568e0d | ||
|
|
27bf5d6d4d | ||
|
|
e6cd38a8fd | ||
|
|
67b42e3b5d | ||
|
|
bef9e655eb | ||
|
|
c60597a29e | ||
|
|
7190aedc39 | ||
|
|
fbfe760770 | ||
|
|
e023f51d23 | ||
|
|
706c6b162e | ||
|
|
8f0af451e1 | ||
|
|
abe24a6166 | ||
|
|
0a29c4c2d9 | ||
|
|
d107aa6c58 | ||
|
|
b53565b2ce | ||
|
|
30463c723e | ||
|
|
d3f73eaf07 | ||
|
|
d02032fa40 | ||
|
|
a87dce5074 | ||
|
|
9d456e4908 | ||
|
|
9fdf66a2bb | ||
|
|
a65401663b | ||
|
|
55ad3bfaf5 | ||
|
|
b25a3bb8d1 | ||
|
|
19aba16654 | ||
|
|
3e0b29d2e6 | ||
|
|
8ceb99d209 | ||
|
|
399e58a93a | ||
|
|
af784ddad3 | ||
|
|
21b6a15594 | ||
|
|
ca00f2045a | ||
|
|
b134e5c237 | ||
|
|
7e91b432b9 | ||
|
|
8af0e3db95 | ||
|
|
0ea54f01de | ||
|
|
b357a254ca | ||
|
|
ab26a1c5f1 | ||
|
|
1c8bf21f4b | ||
|
|
3e2446985c | ||
|
|
520f881fd7 | ||
|
|
dfc60afa8e | ||
|
|
b39aa06952 | ||
|
|
76798d565e | ||
|
|
7a0ba0634b | ||
|
|
0bff199673 | ||
|
|
60bb6b1d27 | ||
|
|
a09453eef7 | ||
|
|
b42e4dd5f4 | ||
|
|
9ce7ae37b9 | ||
|
|
6d538d31c3 | ||
|
|
ccef6ee0b7 | ||
|
|
b17479ddd5 | ||
|
|
8ca73c06f7 | ||
|
|
fcdba74bc5 | ||
|
|
7ffd64a5ca | ||
|
|
3fb8a8bd6d | ||
|
|
ef8770216a | ||
|
|
83c0ac826a | ||
|
|
c80e3d4b81 | ||
|
|
1394211e26 | ||
|
|
9ae3d157d6 | ||
|
|
fba44e113b | ||
|
|
a15a36cf34 | ||
|
|
ab849fb0a9 | ||
|
|
392a4624df | ||
|
|
118946e719 |
31
check_yocto_rules.json
Normal file
31
check_yocto_rules.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"APPEND-1" : {
|
||||
"skip_vars" : [ "ALTERNATIVE", "FILES", "INSANE_SKIP", "RDEPENDS", "RRECOMMENDS" ]
|
||||
},
|
||||
"APPEND-2" : {
|
||||
"skip_vars" : [ "KERNEL_LOCALVERSION", "PR", "PV" ],
|
||||
"file_regex" : {
|
||||
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr_\\S+\\.bb" : {
|
||||
"skip_vars": [ "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
|
||||
},
|
||||
"meta-ti-bsp\\/recipes-graphics\\/mesa\\/mesa-pvr\\.inc" : {
|
||||
"skip_vars": [ "TOOLS", "TOOLS_DEPS", "GALLIUMDRIVERS", "VULKAN_DRIVERS" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
"GUARD-1" : {
|
||||
"skip_files" : [
|
||||
"meta-ti-bsp/recipes-core/udev/eudev_%.bbappend",
|
||||
"meta-ti-bsp/recipes-devtools/binutils/binutils-cross-canadian_%.bbappend",
|
||||
"meta-ti-bsp/recipes-security/optee/optee-%.bbappend"
|
||||
]
|
||||
},
|
||||
"GUARD-2" : {
|
||||
"skip_vars" : [ "k3" , "ti-soc" ]
|
||||
},
|
||||
"SUMMARY-1" : {
|
||||
"skip_files" : [
|
||||
"meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "meta-beagle"
|
||||
BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-beagle = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-beagle = "styhead walnascar"
|
||||
LAYERSERIES_COMPAT_meta-beagle = "walnascar whinlatter"
|
||||
|
||||
LAYERDEPENDS_meta-beagle = " \
|
||||
meta-ti-bsp \
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
#@DESCRIPTION: Machine configuration for the BeagleY AI (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
TI_PREFERRED_BSP ?= "bb_org-6_1"
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
SYSFW_SOC = "j722s"
|
||||
@@ -12,5 +10,6 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_r5.config"
|
||||
|
||||
@@ -3,11 +3,10 @@
|
||||
#@DESCRIPTION: Machine configuration for the BeagleY AI board (A53 core)
|
||||
|
||||
require conf/machine/include/j722s.inc
|
||||
|
||||
TI_PREFERRED_BSP ?= "bb_org-6_1"
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_a53_config"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_12 = "am67a_beagley_ai_a53_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_a53.config"
|
||||
|
||||
@@ -22,4 +21,9 @@ ti/k3-j722s-evm.dtb \
|
||||
ti/k3-am67a-beagley-ai.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_12 = " \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
ti/k3-am67a-beagley-ai.dtb \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -1,30 +1,31 @@
|
||||
# Use meta-ti-bsp "multi-BSP" facility to create a custom "bb_org" BSP profile
|
||||
# with default preferences for Beagle platforms
|
||||
|
||||
# Default is bb_org-6_6, but can override with any of the existing options
|
||||
TI_PREFERRED_BSP ?= "bb_org-6_6"
|
||||
# Default is bb_org-6_12, but can override with any of the existing options
|
||||
TI_PREFERRED_BSP ?= "bb_org-6_12"
|
||||
|
||||
# ==========
|
||||
# bb_org-6_1
|
||||
# BeagleBoard.org kernel 6.1, u-boot 2023.04
|
||||
# bb_org-6_12
|
||||
# BeagleBoard.org kernel 6.12, Upstream u-boot 2025.04
|
||||
# based on TI staging trees with extra Beagle-specific features
|
||||
# but may not be up-to-date with TI version
|
||||
# ==========
|
||||
BSP_KERNEL_PROVIDER:bsp-bb_org-6_1 = "linux-bb.org"
|
||||
BSP_KERNEL_VERSION:bsp-bb_org-6_1 = "6.1.%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_1 = "u-boot-bb.org"
|
||||
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_1 = "2023.%"
|
||||
BSP_KERNEL_PROVIDER:bsp-bb_org-6_12 = "linux-bb.org"
|
||||
BSP_KERNEL_VERSION:bsp-bb_org-6_12 = "6.12.%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_12 = "u-boot-bb.org"
|
||||
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_12 = "2025.%"
|
||||
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_12 = ""
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_1 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_1 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_1 = "23%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_1 = "23%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org-6_1 = "22%"
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_12 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_12 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_12 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_12 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_12 = "24%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org-6_12 = "24%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.1
|
||||
MACHINE_FEATURES:remove:bsp-bb_org-6_1 = "gc320"
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
|
||||
MACHINE_FEATURES:remove:bsp-bb_org-6_12 = "gc320"
|
||||
|
||||
# ==========
|
||||
# bb_org-6_6
|
||||
@@ -36,6 +37,7 @@ BSP_KERNEL_PROVIDER:bsp-bb_org-6_6 = "linux-bb.org"
|
||||
BSP_KERNEL_VERSION:bsp-bb_org-6_6 = "6.6.%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_6 = "u-boot-bb.org"
|
||||
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_6 = "2024.%"
|
||||
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_6 = ""
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"
|
||||
@@ -47,3 +49,26 @@ BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "24%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
|
||||
MACHINE_FEATURES:remove:bsp-bb_org-6_6 = "gc320"
|
||||
|
||||
# ==========
|
||||
# bb_org-6_1
|
||||
# BeagleBoard.org kernel 6.1, u-boot 2023.04
|
||||
# based on TI staging trees with extra Beagle-specific features
|
||||
# but may not be up-to-date with TI version
|
||||
# ==========
|
||||
BSP_KERNEL_PROVIDER:bsp-bb_org-6_1 = "linux-bb.org"
|
||||
BSP_KERNEL_VERSION:bsp-bb_org-6_1 = "6.1.%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-bb_org-6_1 = "u-boot-bb.org"
|
||||
BSP_BOOTLOADER_VERSION:bsp-bb_org-6_1 = "2023.%"
|
||||
KERNEL_DEVICETREE_PREFIX:bsp-bb_org-6_1 = ""
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_1 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_1 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_1 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_1 = "23%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_1 = "23%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org-6_1 = "22%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.1
|
||||
MACHINE_FEATURES:remove:bsp-bb_org-6_1 = "gc320"
|
||||
|
||||
12
meta-beagle/conf/machine/pocketbeagle2-k3r5.conf
Normal file
12
meta-beagle/conf/machine/pocketbeagle2-k3r5.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: PocketBeagle2 (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the PocketBeagle2 (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am6232_pocketbeagle2_r5_defconfig"
|
||||
28
meta-beagle/conf/machine/pocketbeagle2.conf
Normal file
28
meta-beagle/conf/machine/pocketbeagle2.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: PocketBeagle2 (A53)
|
||||
#@DESCRIPTION: Machine configuration for the PocketBeagle2 board (A53 core)
|
||||
|
||||
require conf/machine/include/k3.inc
|
||||
require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62xx"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
UBOOT_MACHINE = "am6232_pocketbeagle2_a53_defconfig"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am6232 \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am6232-pocketbeagle2.dtb \
|
||||
ti/k3-am6232-pocketbeagle2-techlab-cape.dtbo \
|
||||
"
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_BOOTCOMMAND="run bootcmd_ti_mmc"
|
||||
26
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.04.bb
Normal file
26
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2025.04.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
require recipes-bsp/u-boot/u-boot-ti.inc
|
||||
|
||||
SUMMARY = "BeagleBoard.org U-Boot"
|
||||
|
||||
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
|
||||
|
||||
PV = "2025.04"
|
||||
|
||||
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
BRANCH = "v2025.04-Beagle"
|
||||
SRCREV = "ea2aeefcb2de36f8ca1b51d0580826d13c01f143"
|
||||
|
||||
BRANCH:beagley-ai = "v2025.04-rc3-BeagleY-AI"
|
||||
BRANCH:beagley-ai-k3r5 = "v2025.04-rc3-BeagleY-AI"
|
||||
SRCREV:beagley-ai = "cc376f9faef201670c7bb1734f42f5475c73f85d"
|
||||
SRCREV:beagley-ai-k3r5 = "cc376f9faef201670c7bb1734f42f5475c73f85d"
|
||||
|
||||
SRC_URI:append:beagley-ai = " file://bootcmd-ti-mmc.cfg"
|
||||
|
||||
BRANCH:pocketbeagle2 = "v2025.04-pocketbeagle2"
|
||||
BRANCH:pocketbeagle2-k3r5 = "v2025.04-pocketbeagle2"
|
||||
SRCREV:pocketbeagle2 = "f7439516453b7728bda496ff6496ef6f1411aae3"
|
||||
SRCREV:pocketbeagle2-k3r5 = "f7439516453b7728bda496ff6496ef6f1411aae3"
|
||||
|
||||
SRC_URI:append:pocketbeagle2 = " file://bootcmd-ti-mmc.cfg"
|
||||
@@ -0,0 +1 @@
|
||||
use-kernel-config=bb.org_defconfig
|
||||
@@ -53,7 +53,7 @@ PB-MIKROBUS-0.dtbo \
|
||||
PB-MIKROBUS-1.dtbo \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
# 6.1.83 version for 32-bit
|
||||
SRCREV:armv7a = "be9b910b08dfd674e47a2643f35080b005ac3792"
|
||||
@@ -66,3 +66,5 @@ PV:aarch64 = "6.1.83+git"
|
||||
BRANCH:aarch64 = "v6.1.83-ti-arm64-r64"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
|
||||
INSANE_SKIP:kernel-modules += "debug-deps"
|
||||
|
||||
68
meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb
Normal file
68
meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb
Normal file
@@ -0,0 +1,68 @@
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
|
||||
|
||||
SECTION = "kernel"
|
||||
SUMMARY = "BeagleBoard.org Linux kernel"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
|
||||
COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/ti-kernel.inc
|
||||
|
||||
DEPENDS += "gmp-native libmpc-native"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
# Extra DT overlays/capes
|
||||
KERNEL_DEVICETREE:append:armv7a = " \
|
||||
${DT_VENDOR_PREFIX}AM335X-PRU-UIO-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-ADC-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BBBW-WL1835-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BBGG-WL1835-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BBGW-WL1835-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BONE-4D5R-01-00A1.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BONE-eMMC1-01-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BONE-LCD4-01-00A1.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-BONE-NH7C-01-A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-CAPE-DISP-CT4-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-HDMI-TDA998x-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-I2C1-MCP7940X-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-I2C1-RTC-DS3231.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-I2C1-RTC-PCF8563.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-I2C2-BME680.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-I2C2-MPU6050.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-NHDMI-TDA998x-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BBORG_COMMS-00A2.dtbo \
|
||||
${DT_VENDOR_PREFIX}BBORG_FAN-A000.dtbo \
|
||||
${DT_VENDOR_PREFIX}BBORG_RELAY-00A2.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-SPIDEV0-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-SPIDEV1-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-UART1-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-UART2-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-UART4-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BB-W1-P9.12-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}BONE-ADC.dtbo \
|
||||
${DT_VENDOR_PREFIX}M-BB-BBG-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}M-BB-BBGG-00A0.dtbo \
|
||||
${DT_VENDOR_PREFIX}PB-MIKROBUS-0.dtbo \
|
||||
${DT_VENDOR_PREFIX}PB-MIKROBUS-1.dtbo \
|
||||
"
|
||||
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
# 6.12.22 version for 32-bit
|
||||
SRCREV:armv7a = "d7f560ef48a867b94959f040b4c3c57053f4e32d"
|
||||
PV:armv7a = "6.12.22+git"
|
||||
BRANCH:armv7a = "v6.12.22-ti-arm32-r10"
|
||||
|
||||
# 6.12.22 version for 64-bit
|
||||
SRCREV:aarch64 = "9e43fd19ece3affb9406e87ec3df733b91b77a4f"
|
||||
PV:aarch64 = "6.12.22+git"
|
||||
BRANCH:aarch64 = "v6.12.22-ti-arm64-r35"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
@@ -53,17 +53,17 @@ ${DT_VENDOR_PREFIX}PB-MIKROBUS-0.dtbo \
|
||||
${DT_VENDOR_PREFIX}PB-MIKROBUS-1.dtbo \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
# 6.6.32 version for 32-bit
|
||||
SRCREV:armv7a = "525684d28fadc2bdae5424f28b219377bd5d4639"
|
||||
PV:armv7a = "6.6.32+git"
|
||||
BRANCH:armv7a = "v6.6.32-ti-arm32-r7"
|
||||
# 6.6.58 version for 32-bit
|
||||
SRCREV:armv7a = "0d043a88f69f48789e43526d7a807ab744708071"
|
||||
PV:armv7a = "6.6.58+git"
|
||||
BRANCH:armv7a = "v6.6.58-ti-arm32-r10"
|
||||
|
||||
# 6.6.58 version for 64-bit
|
||||
SRCREV:aarch64 = "9beffa9162f6a0f5de7e25bbb66026a579376428"
|
||||
SRCREV:aarch64 = "0987ef737c9812374607475972f0868b8fecbbf7"
|
||||
PV:aarch64 = "6.6.58+git"
|
||||
BRANCH:aarch64 = "v6.6.58-ti-arm64-r16"
|
||||
BRANCH:aarch64 = "v6.6.58-ti-arm64-r23"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
inherit ti-secdev kernel-uboot uboot-sign-legacyhs
|
||||
inherit ti-secdev kernel-uboot-legacyhs uboot-sign-legacyhs
|
||||
|
||||
FITIMAGE_HASH_ALGO ?= "sha1"
|
||||
FITIMAGE_PACK_TEE ?= "0"
|
||||
@@ -316,6 +316,7 @@ EOF
|
||||
# $4 ... ramdisk ID
|
||||
# $5 ... config ID
|
||||
# $6 ... tee ID/name
|
||||
# $7 ... default DTB ID
|
||||
fitimage_emit_section_config() {
|
||||
|
||||
conf_csum=${FITIMAGE_HASH_ALGO}
|
||||
@@ -370,6 +371,16 @@ fitimage_emit_section_config() {
|
||||
final_conf_desc="${conf_desc}"
|
||||
fi
|
||||
|
||||
default_dtb_count=${7}
|
||||
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
|
||||
default_conf_name="${FIT_CONF_DEFAULT_DTB}"
|
||||
else
|
||||
default_conf_name="conf-${default_dtb_count}"
|
||||
fi
|
||||
cat << EOF >> ${1}
|
||||
default = "${default_conf_name}";
|
||||
EOF
|
||||
|
||||
dtbcount=1
|
||||
for DTB in ${KERNEL_DEVICETREE}; do
|
||||
DTB=$(basename "${DTB}")
|
||||
@@ -386,12 +397,6 @@ fitimage_emit_section_config() {
|
||||
fdt_line="fdt = \"fdt-${dtbcount}\";"
|
||||
fi
|
||||
|
||||
if [ "x${dtbcount}" = "x1" ]; then
|
||||
cat << EOF >> ${1}
|
||||
default = "${conf_name}";
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Generate a single configuration section
|
||||
cat << EOF >> ${1}
|
||||
${conf_name} {
|
||||
@@ -524,6 +529,7 @@ fitimage_assemble() {
|
||||
ramdiskcount=${3}
|
||||
setupcount=""
|
||||
teecount=1
|
||||
default_dtb_count=1
|
||||
rm -f ${1} arch/${ARCH}/boot/${2}
|
||||
|
||||
fitimage_emit_fit_header ${1}
|
||||
@@ -544,6 +550,9 @@ fitimage_assemble() {
|
||||
dtbcount=1
|
||||
dtboaddress="${UBOOT_DTBO_LOADADDRESS}"
|
||||
for DTB in ${KERNEL_DEVICETREE}; do
|
||||
if [ "${DTB}" = "${FIT_CONF_DEFAULT_DTB}" ]; then
|
||||
default_dtb_count=${dtbcount}
|
||||
fi
|
||||
if echo ${DTB} | grep -q '/dts/'; then
|
||||
bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
|
||||
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
|
||||
@@ -660,7 +669,7 @@ fitimage_assemble() {
|
||||
else
|
||||
teeref="${teecount}"
|
||||
fi
|
||||
fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}"
|
||||
fitimage_emit_section_config ${1} "${kernelcount}" "${dtbref}" "${ramdiskcount}" "${setupcount}" "${teeref}" "${default_dtb_count}"
|
||||
|
||||
fitimage_emit_section_maint ${1} sectend
|
||||
|
||||
|
||||
51
meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass
Normal file
51
meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass
Normal file
@@ -0,0 +1,51 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
# fitImage kernel compression algorithm
|
||||
FIT_KERNEL_COMP_ALG ?= "gzip"
|
||||
FIT_KERNEL_COMP_ALG_EXTENSION ?= ".gz"
|
||||
|
||||
# Kernel image type passed to mkimage (i.e. kernel kernel_noload...)
|
||||
UBOOT_MKIMAGE_KERNEL_TYPE ?= "kernel"
|
||||
|
||||
uboot_prep_kimage() {
|
||||
if [ -e arch/${ARCH}/boot/compressed/vmlinux ]; then
|
||||
vmlinux_path="arch/${ARCH}/boot/compressed/vmlinux"
|
||||
linux_suffix=""
|
||||
linux_comp="none"
|
||||
elif [ -e arch/${ARCH}/boot/vmlinuz.bin ]; then
|
||||
rm -f linux.bin
|
||||
cp -l arch/${ARCH}/boot/vmlinuz.bin linux.bin
|
||||
vmlinux_path=""
|
||||
linux_suffix=""
|
||||
linux_comp="none"
|
||||
else
|
||||
vmlinux_path="vmlinux"
|
||||
# Use vmlinux.initramfs for linux.bin when INITRAMFS_IMAGE_BUNDLE set
|
||||
# As per the implementation in kernel.bbclass.
|
||||
# See do_bundle_initramfs function
|
||||
if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ] && [ -e vmlinux.initramfs ]; then
|
||||
vmlinux_path="vmlinux.initramfs"
|
||||
fi
|
||||
linux_suffix="${FIT_KERNEL_COMP_ALG_EXTENSION}"
|
||||
linux_comp="${FIT_KERNEL_COMP_ALG}"
|
||||
fi
|
||||
|
||||
[ -n "${vmlinux_path}" ] && ${KERNEL_OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin
|
||||
|
||||
if [ "${linux_comp}" != "none" ] ; then
|
||||
if [ "${linux_comp}" = "gzip" ] ; then
|
||||
gzip -9 linux.bin
|
||||
elif [ "${linux_comp}" = "lzo" ] ; then
|
||||
lzop -9 linux.bin
|
||||
elif [ "${linux_comp}" = "lzma" ] ; then
|
||||
xz --format=lzma -f -6 linux.bin
|
||||
fi
|
||||
mv -f "linux.bin${linux_suffix}" linux.bin
|
||||
fi
|
||||
|
||||
echo "${linux_comp}"
|
||||
}
|
||||
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-bsp"
|
||||
BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-ti-bsp = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-ti-bsp = "styhead walnascar"
|
||||
LAYERSERIES_COMPAT_meta-ti-bsp = "walnascar whinlatter"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
@@ -18,6 +18,14 @@ LAYERDEPENDS_meta-ti-bsp = " \
|
||||
meta-arm \
|
||||
"
|
||||
|
||||
LAYERRECOMMENDS_meta-ti-bsp = " \
|
||||
openembedded-layer \
|
||||
"
|
||||
|
||||
BBFILES_DYNAMIC += " \
|
||||
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
|
||||
"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
mesa-pvr \
|
||||
"
|
||||
|
||||
@@ -22,7 +22,7 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 13000"
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 16000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -10,11 +10,6 @@ UBOOT_CONFIG ??= "uart mmc"
|
||||
UBOOT_CONFIG[uart] = "am335x_hs_evm_uart_config"
|
||||
UBOOT_CONFIG[mmc] = "am335x_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
# FIT image for legacy secure devices
|
||||
KERNEL_CLASSES += " kernel-fitimage-legacyhs"
|
||||
KERNEL_IMAGETYPES += " fitImage"
|
||||
|
||||
@@ -6,11 +6,6 @@ require conf/machine/am437x-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am43xx_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
OPTEEMACHINE = "ti-am43xx"
|
||||
OPTEEFLAVOR = "am43xx"
|
||||
|
||||
|
||||
@@ -6,11 +6,6 @@ require conf/machine/am57xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am57xx_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
OPTEEMACHINE = "ti-am57xx"
|
||||
OPTEEFLAVOR = "am57xx"
|
||||
OPTEEPAGER = "y"
|
||||
|
||||
@@ -9,3 +9,5 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am62ax_evm_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
|
||||
|
||||
@@ -20,6 +20,6 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
"
|
||||
|
||||
FIT_CONF_DEFAULT_DTB = "ti/k3-am62a7-sk.dtb"
|
||||
FIT_CONF_DEFAULT_DTB = "k3-am62a7-sk.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62ax_evm_a53_defconfig"
|
||||
|
||||
11
meta-ti-bsp/conf/machine/am62dxx-evm-k3r5.conf
Normal file
11
meta-ti-bsp/conf/machine/am62dxx-evm-k3r5.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62D HS-FS EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62D EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am62dx"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am62dx_evm_r5_defconfig"
|
||||
18
meta-ti-bsp/conf/machine/am62dxx-evm.conf
Normal file
18
meta-ti-bsp/conf/machine/am62dxx-evm.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62DXX EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62DXX EVM
|
||||
|
||||
require conf/machine/include/am62dxx.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62d2 \
|
||||
ti/k3-am62a7-sk-edgeai \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
FIT_CONF_DEFAULT_DTB = "k3-am62d2-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62dx_evm_a53_defconfig"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw"
|
||||
@@ -7,7 +7,7 @@ require conf/machine/include/ti-extras.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi"
|
||||
|
||||
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8000"
|
||||
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8500"
|
||||
|
||||
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
|
||||
|
||||
|
||||
@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am62px_evm_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
|
||||
|
||||
@@ -21,7 +21,7 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
"
|
||||
|
||||
FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
|
||||
FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62px_evm_a53_defconfig"
|
||||
|
||||
|
||||
@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
|
||||
|
||||
@@ -31,6 +31,6 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
"
|
||||
|
||||
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
|
||||
FIT_CONF_DEFAULT_DTB = "k3-am625-sk.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
|
||||
|
||||
@@ -10,3 +10,5 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:ti-falcon = "k3_r5_falcon.config"
|
||||
|
||||
@@ -23,6 +23,6 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
"
|
||||
|
||||
FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
|
||||
FIT_CONF_DEFAULT_DTB = "k3-am62-lp-sk.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62x_lpsk_a53_defconfig"
|
||||
|
||||
@@ -8,7 +8,9 @@ SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am62xsip_evm_r5_defconfig"
|
||||
UBOOT_MACHINE = "am6254xxl_evm_r5_defconfig"
|
||||
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_r5_defconfig"
|
||||
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
|
||||
|
||||
|
||||
@@ -4,6 +4,18 @@
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
|
||||
TFA_K3_BL32_BASE = "0x80080000"
|
||||
TFA_K3_BL32_BASE:bsp-ti-6_6 = ""
|
||||
TFA_K3_BL32_BASE:bsp-ti-6_1 = ""
|
||||
|
||||
TFA_K3_PRELOADED_BL33 = "0x82000000"
|
||||
TFA_K3_PRELOADED_BL33:bsp-ti-6_6 = ""
|
||||
TFA_K3_PRELOADED_BL33:bsp-ti-6_1 = ""
|
||||
|
||||
OPTEE_K3_TZDRAM_START = "0x80080000"
|
||||
OPTEE_K3_TZDRAM_START:bsp-ti-6_6 = ""
|
||||
OPTEE_K3_TZDRAM_START:bsp-ti-6_1 = ""
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am625 \
|
||||
ti/k3-am62x-sk \
|
||||
@@ -13,8 +25,10 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am625-sk.dtb \
|
||||
"
|
||||
|
||||
FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am62xsip_evm_a53_defconfig"
|
||||
FIT_CONF_DEFAULT_DTB = "k3-am6254xxl-sk.dtb"
|
||||
FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "k3-am625-sk.dtb"
|
||||
FIT_CONF_DEFAULT_DTB:bsp-ti-6_1 = "k3-am625-sk.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am6254xxl_evm_a53_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_a53_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"
|
||||
|
||||
@@ -6,11 +6,6 @@ require conf/machine/dra7xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
OPTEEMACHINE = "ti-dra7xx"
|
||||
OPTEEFLAVOR = "dra7xx"
|
||||
OPTEEPAGER = "y"
|
||||
|
||||
@@ -10,9 +10,6 @@ TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
# Default tiboot3.bin on AM62A is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62ax-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62A is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62ax-hs-evm.bin"
|
||||
|
||||
|
||||
15
meta-ti-bsp/conf/machine/include/am62dxx.inc
Normal file
15
meta-ti-bsp/conf/machine/include/am62dxx.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
require conf/machine/include/k3.inc
|
||||
require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62dxx"
|
||||
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
# Default tiboot3.bin on AM62D is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62D is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62dx-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
@@ -3,9 +3,6 @@ SOC_FAMILY:append = ":am62lxx"
|
||||
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
# Default tiboot3.bin on AM62L is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62lx-hs-fs-evm.bin"
|
||||
|
||||
TFA_BOARD = "am62l"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
# Default tiboot3.bin on AM62Px is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62px-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on AM62Px is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62px-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
|
||||
@@ -18,4 +18,4 @@ TFA_BOARD = "j784s4"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4"
|
||||
|
||||
@@ -26,4 +26,4 @@ TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-j721e"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-eth-fw-j7200"
|
||||
|
||||
@@ -40,4 +40,4 @@ TI_VXE_VXD_DRIVER = "ti-vxe-vxd-driver"
|
||||
TI_VXE_VXD_DRIVER:bsp-ti-6_6 = ""
|
||||
TI_VXE_VXD_DRIVER:bsp-ti-6_1 = ""
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw ${TI_VXE_VXD_DRIVER}"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw vxd-dec-fw ti-eth-fw-j721e ${TI_VXE_VXD_DRIVER}"
|
||||
|
||||
@@ -21,4 +21,4 @@ TFA_BOARD = "j784s4"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cadence-mhdp-fw cnm-wave-fw ti-eth-fw-j784s4"
|
||||
|
||||
@@ -9,16 +9,11 @@ require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
|
||||
require conf/machine/include/ti-bsp.inc
|
||||
|
||||
KERNEL_IMAGETYPE = "Image"
|
||||
KERNEL_IMAGETYPES = "Image fitImage"
|
||||
KERNEL_CLASSES += "kernel-fitimage"
|
||||
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_ENTRYPOINT = "0x81000000"
|
||||
UBOOT_LOADADDRESS = "0x81000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
UBOOT_DTB_LOADADDRESS = "0x83000000"
|
||||
UBOOT_DTBO_LOADADDRESS = "0x83080000"
|
||||
UBOOT_DTB_LOADADDRESS = "0x88000000"
|
||||
UBOOT_DTBO_LOADADDRESS = "0x88080000"
|
||||
UBOOT_DTBO_OFFSET = "0x00010000"
|
||||
|
||||
SPL_BINARY = "tispl.bin"
|
||||
@@ -30,7 +25,7 @@ FIT_SIGN_ALG ?= "rsa4096"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image"
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image ti-kernel-fitimage"
|
||||
|
||||
TFA_PLATFORM = "k3"
|
||||
|
||||
@@ -39,7 +34,7 @@ TFA_PLATFORM = "k3"
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci"
|
||||
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci optee-ftpm"
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
|
||||
@@ -54,3 +49,8 @@ WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.
|
||||
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 @@
|
||||
IMAGE_INSTALL:append = " u-boot-ti-staging-falcon"
|
||||
KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts"
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage"
|
||||
KERNEL_CLASSES += "kernel-fitimage-legacyhs"
|
||||
FIT_KERNEL_COMP_ALG = "none"
|
||||
@@ -3,6 +3,11 @@
|
||||
SOC_FAMILY = "ti-soc"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
# kernel, initrd load addresses for the fitImage in all TI platforms
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
# TI platforms all use devicetrees with overlays
|
||||
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree"
|
||||
KERNEL_DTB_OVERLAY_SUPPORT ?= "1"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
inherit gitpkgv
|
||||
PKGV = "${PV}${GITPKGV}"
|
||||
UBOOT_VERSION = "${PKGV}-${PKGR}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
SUMMARY = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
@@ -11,10 +11,8 @@ BRANCH ?= "ti-v4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile() {
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}"
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc -std=gnu11 ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS} ${DEBUG_PREFIX_MAP}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
inherit update-alternatives
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=df3992006621b797e36de43f36336e36"
|
||||
|
||||
PV = "${CNM_WAVE521_FW_VERSION}"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
@@ -13,8 +13,6 @@ SRCREV = "91f1628507bf7f8716f0bc7cafe88ad7f14c94f5"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
CPSW9G_FW_DIR = "${S}/ethfw"
|
||||
CPSW9G_FW_FILENAME = "app_remoteswitchcfg_server_pdk_mem_map_strip.xer5f"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
|
||||
SUMMARY = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
|
||||
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
|
||||
LICENSE = "MIT | GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
|
||||
@@ -14,7 +14,7 @@ SRCREV = "83afddf9dbf6a8458267b4dae21ee35bfb11f3d1"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git/src"
|
||||
S:append = "/src"
|
||||
|
||||
EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Goodix GT9271 config firmware"
|
||||
SUMMARY = "Goodix GT9271 config firmware"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
|
||||
SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
|
||||
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
|
||||
LICENSE = "MIT | GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
|
||||
@@ -17,8 +17,6 @@ BRANCH = "linuxws/kirkstone/k6.1/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "c838bc06a163abad46dcc193c8fb9a4fb9e2e356"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
|
||||
SUMMARY = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
|
||||
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
|
||||
LICENSE = "MIT | GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
|
||||
@@ -17,8 +17,6 @@ BRANCH = "linuxws/scarthgap/k6.12/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "8eaff654a8871118c08cfafe53795f57e3b6b396"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
|
||||
SUMMARY = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
|
||||
HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux"
|
||||
LICENSE = "MIT | GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
|
||||
@@ -17,8 +17,6 @@ BRANCH = "${PV}/mesa/k6.1"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "9ae0fa4998b1c624408945e062bf8fb0ea7efb9d"
|
||||
|
||||
TARGET_PRODUCT:omap-a15 = "ti572x_linux"
|
||||
|
||||
@@ -23,6 +23,12 @@ TARGET = " \
|
||||
am65x-sr2-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-txpru0-prueth-fw.elf \
|
||||
am65x-sr2-txpru1-prueth-fw.elf \
|
||||
am64x-sr2-pru0-prueth-fw.elf \
|
||||
am64x-sr2-pru1-prueth-fw.elf \
|
||||
am64x-sr2-rtu0-prueth-fw.elf \
|
||||
am64x-sr2-rtu1-prueth-fw.elf \
|
||||
am64x-sr2-txpru0-prueth-fw.elf \
|
||||
am64x-sr2-txpru1-prueth-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -20,6 +20,12 @@ TARGET = " \
|
||||
am65x-sr2-rtu1-pruhsr-fw.elf \
|
||||
am65x-sr2-txpru0-pruhsr-fw.elf \
|
||||
am65x-sr2-txpru1-pruhsr-fw.elf \
|
||||
am64x-sr2-pru0-pruhsr-fw.elf \
|
||||
am64x-sr2-pru1-pruhsr-fw.elf \
|
||||
am64x-sr2-rtu0-pruhsr-fw.elf \
|
||||
am64x-sr2-rtu1-pruhsr-fw.elf \
|
||||
am64x-sr2-txpru0-pruhsr-fw.elf \
|
||||
am64x-sr2-txpru1-pruhsr-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -5,7 +5,7 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
PE = "1"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am64xx"
|
||||
|
||||
TARGET = " \
|
||||
am335x-pru0-pruprp-fw.elf \
|
||||
@@ -14,6 +14,12 @@ TARGET = " \
|
||||
am437x-pru1-pruprp-fw.elf \
|
||||
am57xx-pru0-pruprp-fw.elf \
|
||||
am57xx-pru1-pruprp-fw.elf \
|
||||
am64x-sr2-pru0-pruprp-fw.elf \
|
||||
am64x-sr2-pru1-pruprp-fw.elf \
|
||||
am64x-sr2-rtu0-pruprp-fw.elf \
|
||||
am64x-sr2-rtu1-pruprp-fw.elf \
|
||||
am64x-sr2-txpru0-pruprp-fw.elf \
|
||||
am64x-sr2-txpru1-pruprp-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -19,6 +19,12 @@ TARGET = " \
|
||||
am65x-sr2-rtu1-prusw-fw.elf \
|
||||
am65x-sr2-txpru0-prusw-fw.elf \
|
||||
am65x-sr2-txpru1-prusw-fw.elf \
|
||||
am64x-sr2-pru0-prusw-fw.elf \
|
||||
am64x-sr2-pru1-prusw-fw.elf \
|
||||
am64x-sr2-rtu0-prusw-fw.elf \
|
||||
am64x-sr2-rtu1-prusw-fw.elf \
|
||||
am64x-sr2-txpru0-prusw-fw.elf \
|
||||
am64x-sr2-txpru1-prusw-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
|
||||
17
meta-ti-bsp/recipes-bsp/ti-dac-fw/ti-dac-fw.bb
Normal file
17
meta-ti-bsp/recipes-bsp/ti-dac-fw/ti-dac-fw.bb
Normal file
@@ -0,0 +1,17 @@
|
||||
DESCRIPTION = "TI DAC TAD5212 config prebuild binary firmware"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${TAD5212_FW_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62dxx"
|
||||
|
||||
TAD5212_1DEV = "tad5212_01.bin"
|
||||
TAD5212_4DEV = "tad5212_04.bin"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware
|
||||
install -m 0644 ${S}/ti/tad5212/${TAD5212_1DEV} ${D}${nonarch_base_libdir}/firmware/
|
||||
install -m 0644 ${S}/ti/tad5212/${TAD5212_4DEV} ${D}${nonarch_base_libdir}/firmware/
|
||||
}
|
||||
@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
inherit deploy
|
||||
inherit update-alternatives
|
||||
|
||||
@@ -31,6 +29,7 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62axx"
|
||||
PLAT_SFX:am62lxx = "am62lxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
@@ -39,6 +38,8 @@ DM_FW_DIR = "ti-dm/${PLAT_SFX}"
|
||||
INSTALL_DM_FW_DIR = "${nonarch_base_libdir}/firmware/${DM_FW_DIR}"
|
||||
|
||||
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
|
||||
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
|
||||
DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}"
|
||||
|
||||
DM_FW_LIST = ""
|
||||
DM_FW_LIST:j721e = "${DM_FIRMWARE}"
|
||||
@@ -51,6 +52,7 @@ DM_FW_LIST:am65xx = ""
|
||||
DM_FW_LIST:am64xx = ""
|
||||
DM_FW_LIST:am62xx = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:am62axx = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:am62dxx = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:am62lxx = ""
|
||||
DM_FW_LIST:am62pxx = "${DM_FIRMWARE}"
|
||||
|
||||
@@ -85,6 +87,7 @@ do_deploy() {
|
||||
ALTERNATIVE:${PN}:am62xx = "am62-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62pxx = "am62p-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62axx = "am62a-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:am62dxx = "am62a-main-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw"
|
||||
|
||||
@@ -3,11 +3,7 @@ SUMMARY = "TI Ethernet prebuilt binary firmware images"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://${THISDIR}/../../licenses/TI-TFL;md5=a1b59cb7ba626b9dbbcbf00f3fbc438a"
|
||||
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
COMPATIBLE_MACHINE = "j721e|j7200|j784s4"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
@@ -19,66 +15,60 @@ PR = "${INC_PR}.0"
|
||||
# Secure Build
|
||||
inherit ti-secdev
|
||||
|
||||
PLAT_SFX = ""
|
||||
PLAT_SFX:j721e = "j721e"
|
||||
PLAT_SFX:j7200 = "j7200"
|
||||
PLAT_SFX:j721s2 = "j721s2"
|
||||
PLAT_SFX:j784s4 = "j784s4"
|
||||
PLAT_SFX:j722s = "j722s"
|
||||
PLAT_SFX:j742s2 = "j742s2"
|
||||
PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PACKAGES += " \
|
||||
${PN}-j721e \
|
||||
${PN}-j7200 \
|
||||
${PN}-j784s4 \
|
||||
"
|
||||
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
|
||||
INSANE_SKIP:${PN}-j721e += "arch"
|
||||
INSANE_SKIP:${PN}-j7200 += "arch"
|
||||
INSANE_SKIP:${PN}-j784s4 += "arch"
|
||||
|
||||
ETH_FW_DIR = "ti-eth/${PLAT_SFX}"
|
||||
RDEPENDS:${PN} += " \
|
||||
${PN}-j721e \
|
||||
${PN}-j7200 \
|
||||
${PN}-j784s4 \
|
||||
"
|
||||
|
||||
INSTALL_ETH_FW_DIR = "${nonarch_base_libdir}/firmware/${ETH_FW_DIR}"
|
||||
PLATS = "\
|
||||
j721e \
|
||||
j7200 \
|
||||
j784s4 \
|
||||
"
|
||||
|
||||
ETH_FW = "app_remoteswitchcfg_server_strip.xer5f"
|
||||
|
||||
ETH_FW_LIST = ""
|
||||
ETH_FW_LIST:j721e = "${ETH_FW}"
|
||||
ETH_FW_LIST:j7200 = "${ETH_FW}"
|
||||
ETH_FW_LIST:j721s2 = ""
|
||||
ETH_FW_LIST:j784s4 = "${ETH_FW}"
|
||||
ETH_FW_LIST:j722s = ""
|
||||
ETH_FW_LIST:j742s2 = ""
|
||||
ETH_FW_LIST:am65xx = ""
|
||||
ETH_FW_LIST:am64xx = ""
|
||||
ETH_FW_LIST:am62xx = ""
|
||||
ETH_FW_LIST:am62pxx = ""
|
||||
ETH_FW_LIST:am62axx = ""
|
||||
|
||||
do_install() {
|
||||
# ETH firmware
|
||||
for FW_NAME in ${ETH_FW_LIST}
|
||||
for PLAT in ${PLATS}
|
||||
do
|
||||
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${ETH_FW_DIR}/${FW_NAME} ${S}/${ETH_FW_DIR}/${FW_NAME}.signed
|
||||
done
|
||||
# Sign ETH firmware
|
||||
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/ti-eth/${PLAT}/${ETH_FW} ${S}/ti-eth/${PLAT}/${ETH_FW}.signed
|
||||
|
||||
# ETH firmware
|
||||
install -d ${D}${INSTALL_ETH_FW_DIR}
|
||||
for FW_NAME in ${ETH_FW_LIST}
|
||||
do
|
||||
install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME} ${D}${INSTALL_ETH_FW_DIR}
|
||||
install -m 0644 ${S}/${ETH_FW_DIR}/${FW_NAME}.signed ${D}${INSTALL_ETH_FW_DIR}
|
||||
# Install ETH firmware
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT}
|
||||
install -m 0644 ${S}/ti-eth/${PLAT}/${ETH_FW} ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT}
|
||||
install -m 0644 ${S}/ti-eth/${PLAT}/${ETH_FW}.signed ${D}${nonarch_base_libdir}/firmware/ti-eth/${PLAT}
|
||||
done
|
||||
}
|
||||
|
||||
FILES:${PN} = ""
|
||||
FILES:${PN}-j721e = "${nonarch_base_libdir}/firmware/ti-eth/j721e"
|
||||
FILES:${PN}-j7200 = "${nonarch_base_libdir}/firmware/ti-eth/j7200"
|
||||
FILES:${PN}-j784s4 = "${nonarch_base_libdir}/firmware/ti-eth/j784s4"
|
||||
|
||||
# Set up names for the firmwares
|
||||
ALTERNATIVE:${PN}:j721e = "\
|
||||
ALTERNATIVE:${PN}-j721e = "\
|
||||
j7-main-r5f0_0-fw \
|
||||
j7-main-r5f0_0-fw-sec \
|
||||
"
|
||||
|
||||
ALTERNATIVE:${PN}:j7200 = "\
|
||||
ALTERNATIVE:${PN}-j7200 = "\
|
||||
j7200-main-r5f0_0-fw \
|
||||
j7200-main-r5f0_0-fw-sec \
|
||||
"
|
||||
|
||||
ALTERNATIVE:${PN}:j784s4 = "\
|
||||
ALTERNATIVE:${PN}-j784s4 = "\
|
||||
j784s4-main-r5f0_0-fw \
|
||||
j784s4-main-r5f0_0-fw-sec \
|
||||
"
|
||||
@@ -94,13 +84,13 @@ ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmw
|
||||
ALTERNATIVE_LINK_NAME[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-main-r5f0_0-fw-sec"
|
||||
|
||||
# Create the firmware alternatives
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j721e/${ETH_FW}"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j721e/${ETH_FW}.signed"
|
||||
|
||||
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
|
||||
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j7200/${ETH_FW}"
|
||||
ALTERNATIVE_TARGET[j7200-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j7200/${ETH_FW}.signed"
|
||||
|
||||
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}"
|
||||
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/ti-eth/j784s4/${ETH_FW}"
|
||||
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/ti-eth/j784s4/${ETH_FW}.signed"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "5"
|
||||
|
||||
24
meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb
Normal file
24
meta-ti-bsp/recipes-bsp/ti-hsm-fw/ti-hsm-demo-fw_git.bb
Normal file
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "TI HSM demo Firmware"
|
||||
|
||||
inherit deploy
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PV = "${TI_HSM_DEMO_FW_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "j721s2|j784s4"
|
||||
|
||||
HSM_FW_SOC:j721s2 = "j721s2"
|
||||
HSM_FW_SOC:j784s4 = "j784s4"
|
||||
|
||||
HSM_BINARY = "hsm-demo-firmware-${HSM_FW_SOC}*.bin"
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}/ti-hsm
|
||||
install -m 644 ${S}/ti-hsm/${HSM_BINARY} ${DEPLOYDIR}/ti-hsm
|
||||
}
|
||||
|
||||
addtask deploy before do_build after do_compile
|
||||
@@ -18,6 +18,4 @@ SRCREV = "038d9263c67900ea4eff631820b088a3dc3a6ad5"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE += 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
|
||||
|
||||
@@ -16,5 +16,3 @@ TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/git/jacinto7_multimedia/viddec-test-app.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -16,5 +16,3 @@ TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/git/jacinto7_multimedia/videnc-test-app.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -13,11 +13,13 @@ PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.04"
|
||||
GOODIX_FW_VERSION = "1.0.0.0"
|
||||
CADENCE_MHDP_FW_VERSION = "2.1.0"
|
||||
IMG_DEC_FW_VERSION = "1.0"
|
||||
CNM_WAVE521_FW_VERSION = "1.0.7"
|
||||
CNM_WAVE521_FW_VERSION = "1.0.8"
|
||||
TI_DM_FW_VERSION = "11.00.09"
|
||||
TI_SYSFW_VERSION = "11.00.07"
|
||||
TI_SYSFW_VERSION = "11.01.02"
|
||||
TI_HSM_DEMO_FW_VERSION = "11.00.09"
|
||||
TAD5212_FW_VERSION = "1.0.0.0"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "c3ad8113c766bee7b8ddfae222e9b8017b565ea3"
|
||||
TI_LINUX_FW_SRCREV ?= "373c2f5646e3947b3b4a340da729288ee3f07833"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
@@ -28,8 +30,6 @@ TI_LINUX_FW_GIT_BRANCH ?= "branch=${BRANCH}"
|
||||
|
||||
SRC_URI = "${TI_LINUX_FW_GIT_URI};protocol=${TI_LINUX_FW_GIT_PROTOCOL};${TI_LINUX_FW_GIT_BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
# Make sure that lib/firmware, and all its contents are part of the package
|
||||
@@ -42,6 +42,9 @@ INHIBIT_SYSROOT_STRIP = "1"
|
||||
# This is used to prevent the build system from splitting out the firmware debug info into a separate file
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
# Firmware here are prebuilt with no external dependencies
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
|
||||
INSANE_SKIP:${PN} += "arch"
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
PLAT_SFX = ""
|
||||
@@ -22,9 +20,9 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62dxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${METATIBASE}/recipes-bsp/ti-sci-fw/files/:"
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${CORESDK_RTOS_VERSION}"
|
||||
@@ -37,20 +35,21 @@ IPC_FW_DIR = "ti-ipc/${PLAT_SFX}"
|
||||
|
||||
INSTALL_IPC_FW_DIR = "${nonarch_base_libdir}/firmware/${IPC_FW_DIR}"
|
||||
|
||||
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
|
||||
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
|
||||
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
|
||||
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
|
||||
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
|
||||
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
|
||||
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
|
||||
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
|
||||
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
|
||||
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
|
||||
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
|
||||
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
|
||||
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
|
||||
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
|
||||
MCU_1_0_FW = "ipc_echo_test_mcu1_0_release_strip.xer5f"
|
||||
MCU_1_1_FW = "ipc_echo_test_mcu1_1_release_strip.xer5f"
|
||||
MCU_2_0_FW = "ipc_echo_test_mcu2_0_release_strip.xer5f"
|
||||
MCU_2_1_FW = "ipc_echo_test_mcu2_1_release_strip.xer5f"
|
||||
MCU_3_0_FW = "ipc_echo_test_mcu3_0_release_strip.xer5f"
|
||||
MCU_3_1_FW = "ipc_echo_test_mcu3_1_release_strip.xer5f"
|
||||
MCU_4_0_FW = "ipc_echo_test_mcu4_0_release_strip.xer5f"
|
||||
MCU_4_1_FW = "ipc_echo_test_mcu4_1_release_strip.xer5f"
|
||||
C66_1_FW = "ipc_echo_test_c66xdsp_1_release_strip.xe66"
|
||||
C66_2_FW = "ipc_echo_test_c66xdsp_2_release_strip.xe66"
|
||||
C7X_1_FW = "ipc_echo_test_c7x_1_release_strip.xe71"
|
||||
C7X_1_FW:am62axx = "dsp_edgeai_c7x_1_release_strip.out"
|
||||
C7X_2_FW = "ipc_echo_test_c7x_2_release_strip.xe71"
|
||||
C7X_3_FW = "ipc_echo_test_c7x_3_release_strip.xe71"
|
||||
C7X_4_FW = "ipc_echo_test_c7x_4_release_strip.xe71"
|
||||
|
||||
IPC_FW_LIST = ""
|
||||
IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}"
|
||||
@@ -58,6 +57,7 @@ IPC_FW_LIST:am64xx = "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} $
|
||||
IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}"
|
||||
IPC_FW_LIST:am62pxx = " ${MCU_2_0_FW}"
|
||||
IPC_FW_LIST:am62axx = " ${MCU_2_0_FW} ${C7X_1_FW}"
|
||||
IPC_FW_LIST:am62dxx = " ${MCU_2_0_FW} ${C7X_1_FW}"
|
||||
IPC_FW_LIST:j721e = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C66_1_FW} ${C66_2_FW} ${C7X_1_FW}"
|
||||
IPC_FW_LIST:j7200 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW}"
|
||||
IPC_FW_LIST:j721s2 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${C7X_1_FW} ${C7X_2_FW}"
|
||||
@@ -97,14 +97,22 @@ do_install:prepend:am62axx() {
|
||||
)
|
||||
}
|
||||
|
||||
# Update the am62dxx ipc binaries to be consistent with other platforms
|
||||
do_install:prepend:am62dxx() {
|
||||
( cd ${S}/${IPC_FW_DIR}; \
|
||||
ln -sf ipc_rpmsg_echo.mcu-r5f0_0.release.strip.out ${MCU_2_0_FW}; \
|
||||
ln -sf ipc_rpmsg_echo.c75ss0-0.release.strip.out ${C7X_1_FW}; \
|
||||
)
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# IPC Firmware
|
||||
# Sign Firmware
|
||||
for FW_NAME in ${IPC_FW_LIST}
|
||||
do
|
||||
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${S}/${IPC_FW_DIR}/${FW_NAME} ${S}/${IPC_FW_DIR}/${FW_NAME}.signed
|
||||
done
|
||||
|
||||
# IPC Firmware
|
||||
# Install Firmware
|
||||
install -d ${D}${INSTALL_IPC_FW_DIR}
|
||||
for FW_NAME in ${IPC_FW_LIST}
|
||||
do
|
||||
@@ -140,6 +148,11 @@ ALTERNATIVE:${PN}:am62axx = "\
|
||||
am62a-c71_0-fw am62a-c71_0-fw-sec \
|
||||
"
|
||||
|
||||
ALTERNATIVE:${PN}:am62dxx = "\
|
||||
am62d-mcu-r5f0_0-fw am62d-mcu-r5f0_0-fw-sec \
|
||||
am62d-c71_0-fw am62d-c71_0-fw-sec \
|
||||
"
|
||||
|
||||
ALTERNATIVE:${PN}:j721e = "\
|
||||
j7-mcu-r5f0_1-fw j7-mcu-r5f0_1-fw-sec \
|
||||
j7-main-r5f0_0-fw j7-main-r5f0_0-fw-sec \
|
||||
@@ -230,6 +243,11 @@ ALTERNATIVE_LINK_NAME[am62a-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmwar
|
||||
ALTERNATIVE_LINK_NAME[am62a-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62a-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62a-c71_0-fw-sec"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[am62d-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62d-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62d-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62d-mcu-r5f0_0-fw-sec"
|
||||
ALTERNATIVE_LINK_NAME[am62d-c71_0-fw] = "${nonarch_base_libdir}/firmware/am62d-c71_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[am62d-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/am62d-c71_0-fw-sec"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw"
|
||||
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw-sec] = "${nonarch_base_libdir}/firmware/j7-mcu-r5f0_1-fw-sec"
|
||||
ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7-main-r5f0_0-fw"
|
||||
@@ -351,6 +369,11 @@ ALTERNATIVE_TARGET[am62a-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_F
|
||||
ALTERNATIVE_TARGET[am62a-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
|
||||
ALTERNATIVE_TARGET[am62a-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
|
||||
|
||||
ALTERNATIVE_TARGET[am62d-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
|
||||
ALTERNATIVE_TARGET[am62d-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
|
||||
ALTERNATIVE_TARGET[am62d-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
|
||||
ALTERNATIVE_TARGET[am62d-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
|
||||
|
||||
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}"
|
||||
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_1_1_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
# NOTE: This .inc file with customizations only gets included for K3 platforms
|
||||
|
||||
PV = "2.12+git"
|
||||
SRCREV_tfa = "b11beb2b6bd30b75c4bfb0e9925c0e72f16ca53f"
|
||||
SRC_URI_TRUSTED_FIRMWARE_A = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
|
||||
SRCBRANCH = "ti-master"
|
||||
PV = "2.13+git"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e"
|
||||
SRCREV_tfa = "e0c4d3903b382bf34f552af53e6d955fae5283ab"
|
||||
SRC_URI_TRUSTED_FIRMWARE_A = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https"
|
||||
SRCBRANCH = "master"
|
||||
|
||||
LIC_FILES_CHKSUM:am62lxx = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
|
||||
SRCREV_tfa:am62lxx = "c7583e555f0c7152a54e9ccac492dffddc4e3db0"
|
||||
SRC_URI_TRUSTED_FIRMWARE_A:am62lxx = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https"
|
||||
SRCBRANCH:am62lxx = "ti-master"
|
||||
|
||||
SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_A};name=tfa;branch=${SRCBRANCH}"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
TFA_BUILD_TARGET = "all"
|
||||
@@ -18,4 +25,7 @@ TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
|
||||
TFA_SPD:am62lxx = ""
|
||||
|
||||
EXTRA_OEMAKE += "${@ 'K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
|
||||
EXTRA_OEMAKE += "${@ 'BL32_BASE=' + d.getVar('TFA_K3_BL32_BASE') if d.getVar('TFA_K3_BL32_BASE') else ''}"
|
||||
EXTRA_OEMAKE += "${@ 'PRELOADED_BL33_BASE=' + d.getVar('TFA_K3_PRELOADED_BL33') if d.getVar('TFA_K3_PRELOADED_BL33') else ''}"
|
||||
EXTRA_OEMAKE += "${@ 'K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
|
||||
EXTRA_OEMAKE:append:ti-falcon = " PRELOADED_BL33_BASE=0x82000000 K3_HW_CONFIG_BASE=0x88000000"
|
||||
|
||||
@@ -2,10 +2,8 @@ require u-boot-ti.inc
|
||||
|
||||
SUMMARY = "Mainline U-Boot for TI devices"
|
||||
|
||||
PV = "2025.01"
|
||||
PV = "2025.07"
|
||||
|
||||
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
|
||||
|
||||
SRC_URI += "file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch"
|
||||
|
||||
SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72"
|
||||
SRCREV = "e37de002fac3895e8d0b60ae2015e17bb33e2b5b"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2025.01"
|
||||
|
||||
SRCREV = "70667128cb5b2c2a7621965ba948b5a56a2e756f"
|
||||
SRCREV = "827c35b4d141865e25d234e3d298614e6c47150c"
|
||||
|
||||
@@ -14,6 +14,8 @@ require u-boot-mergeconfig.inc
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:"
|
||||
|
||||
FILES:${PN}-falcon = "boot/tifalcon.bin"
|
||||
|
||||
SUMMARY = "u-boot bootloader for TI devices"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
@@ -40,7 +42,13 @@ DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-n
|
||||
DEPENDS:append:k3 = " ti-sci-fw"
|
||||
DEPENDS:append:k3r5 = " ti-sci-fw"
|
||||
|
||||
# HSM Demo Firmware is only applicable for J721S2 & J784S4 devices
|
||||
DEPENDS:append:j721s2 = " ti-hsm-demo-fw"
|
||||
DEPENDS:append:j784s4 = " ti-hsm-demo-fw"
|
||||
|
||||
DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
|
||||
DM_FIRMWARE:am62axx = "dm_edgeai_mcu1_0_release_strip.out"
|
||||
DM_FIRMWARE:am62pxx = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'dss_display_share.wkup-r5f0_0.release.strip.out', 'ipc_echo_testb_mcu1_0_release_strip.xer5f', d)}"
|
||||
|
||||
PLAT_SFX = ""
|
||||
PLAT_SFX:j721e = "j721e"
|
||||
@@ -53,13 +61,14 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62dxx = "am62axx"
|
||||
PLAT_SFX:am62lxx = "am62lxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a"
|
||||
PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
|
||||
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
|
||||
PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
|
||||
PACKAGECONFIG[dm] = "TI_DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
|
||||
|
||||
PACKAGECONFIG:append:aarch64 = " atf optee"
|
||||
PACKAGECONFIG:append:j721e = " dm"
|
||||
@@ -70,12 +79,13 @@ PACKAGECONFIG:append:j722s = " dm"
|
||||
PACKAGECONFIG:append:j742s2 = " dm"
|
||||
PACKAGECONFIG:append:am62xx = " dm"
|
||||
PACKAGECONFIG:append:am62axx = " dm"
|
||||
PACKAGECONFIG:append:am62dxx = " dm"
|
||||
PACKAGECONFIG:append:am62lxx = " ap-trusted-rom"
|
||||
PACKAGECONFIG:append:am62pxx = " dm"
|
||||
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
|
||||
BINMAN_INDIRS="${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
|
||||
BINMAN_INDIRS = "${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware"
|
||||
|
||||
EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS} BINMAN_INDIRS=${BINMAN_INDIRS}"
|
||||
|
||||
@@ -84,8 +94,6 @@ PKG:${PN} = "u-boot"
|
||||
PKG:${PN}-dev = "u-boot-dev"
|
||||
PKG:${PN}-dbg = "u-boot-dbg"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# Support for secure devices - detailed info is in doc/README.ti-secure
|
||||
inherit ti-secdev
|
||||
|
||||
@@ -95,31 +103,31 @@ SYSROOT_DIRS += "/boot"
|
||||
SPL_UART_BINARY = "u-boot-spl.bin"
|
||||
SPL_UART_BINARY:k3r5 = ""
|
||||
|
||||
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
|
||||
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${UBOOT_VERSION}"
|
||||
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
|
||||
|
||||
SPL_HS_MLO_BINARY = "u-boot-spl_HS_MLO"
|
||||
SPL_HS_MLO_IMAGE = "u-boot-spl_HS_MLO-${MACHINE}-${PV}-${PR}"
|
||||
SPL_HS_MLO_IMAGE = "u-boot-spl_HS_MLO-${MACHINE}-${UBOOT_VERSION}"
|
||||
SPL_HS_MLO_SYMLINK = "u-boot-spl_HS_MLO-${MACHINE}"
|
||||
|
||||
# HS XLD
|
||||
UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
|
||||
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${UBOOT_VERSION}"
|
||||
UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
|
||||
|
||||
# HS MLO
|
||||
UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
|
||||
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${UBOOT_VERSION}"
|
||||
UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
|
||||
|
||||
# HS ISSW
|
||||
UBOOT_HS_ISSW_BINARY = "u-boot-spl_HS_ISSW"
|
||||
UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${UBOOT_VERSION}"
|
||||
UBOOT_HS_ISSW_SYMLINK = "u-boot-spl_HS_ISSW-${MACHINE}"
|
||||
|
||||
# HS 2ND
|
||||
UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND"
|
||||
UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${UBOOT_VERSION}"
|
||||
UBOOT_HS_2ND_SYMLINK = "u-boot-spl_HS_2ND-${MACHINE}"
|
||||
|
||||
uboot_compile:append () {
|
||||
@@ -207,24 +215,24 @@ do_deploy:append:k3r5 () {
|
||||
rm -f ${DEPLOYDIR}/${PN}-initial-env*
|
||||
rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}*
|
||||
rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}*
|
||||
rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR}*
|
||||
rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR}*
|
||||
rm -f ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${UBOOT_VERSION}*
|
||||
rm -f ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${UBOOT_VERSION}*
|
||||
}
|
||||
|
||||
uboot_deploy_config:append:k3r5 () {
|
||||
for f in ${B}/${config}/tiboot3-*.bin; do
|
||||
for f in ${B}/${config}/tiboot3-*.bin; do
|
||||
if [ -f "$f" ]; then
|
||||
f_base=$(basename $f)
|
||||
f_base=$(basename $f)
|
||||
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
|
||||
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
|
||||
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
|
||||
fi
|
||||
done
|
||||
|
||||
for f in ${B}/${config}/sysfw*.itb; do
|
||||
if [ -f "$f" ]; then
|
||||
f_base=$(basename $f)
|
||||
f_base=$(basename $f)
|
||||
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
|
||||
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
|
||||
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -353,24 +361,26 @@ uboot_deploy:append () {
|
||||
fi
|
||||
}
|
||||
|
||||
do_install:append:am62xx() {
|
||||
install -d ${D}/boot
|
||||
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
|
||||
}
|
||||
|
||||
do_deploy:append:am62xx() {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
do_install:append:am62pxx() {
|
||||
install -d ${D}/boot
|
||||
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${D}/boot
|
||||
}
|
||||
|
||||
do_deploy:append:am62pxx() {
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 0644 ${S}/tools/logos/ti_logo_414x97_32bpp.bmp.gz ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
do_install:append:ti-falcon() {
|
||||
install -m 0644 ${B}/tifalcon.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"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Radio Application Firmware"
|
||||
SUMMARY = "Radio Application Firmware"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
|
||||
|
||||
@@ -11,8 +11,7 @@ SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exp
|
||||
SRC_URI[md5sum] = "fe8b00e398fb3b7ada0c15b601867acb"
|
||||
SRC_URI[sha256sum] = "6e2aa47ae892910616ebdc96646af778af9a59ca0657716ab4fa4b24a9afae69"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
DSPAPP = "dra7-dsp1-fw-radio.xe66"
|
||||
GPPAPP = "RadioApp"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "VPDMA firmware for Video Input Port and Video Processing Engine"
|
||||
SUMMARY = "VPDMA firmware for Video Input Port and Video Processing Engine"
|
||||
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fd463c9500441ed91d07a0331baa635c"
|
||||
@@ -9,7 +9,6 @@ SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vpdma-fw/03-2012/ex
|
||||
SRC_URI[dra7xx-evm.md5sum] = "80176df1350c21d9efa90171789c546e"
|
||||
SRC_URI[dra7xx-evm.sha256sum] = "a0b254ffd0c7f481cb3989e632088f5e4a233c73a1c676faa3061721ea60dc90"
|
||||
|
||||
S = "${WORKDIR}/vpdma-fw-${PV}"
|
||||
TARGET = "vpdma-1b8.bin"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "VPE test program"
|
||||
SUMMARY = "VPE test program"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
|
||||
@@ -16,8 +16,6 @@ BRANCH ?= "master"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/vpe_tests/vpe_tests.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
# The test application needs additional include headers from the kernel
|
||||
|
||||
@@ -23,8 +23,6 @@ SRCREV = "ef5aec48e589902839ebae7ad753c68cf498c15f"
|
||||
PV = "3.6.0"
|
||||
#PR = "r1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FW_PLAT = ""
|
||||
FW_PLAT:am62xx = "am62"
|
||||
FW_PLAT:am64xx = "am64"
|
||||
|
||||
@@ -10,8 +10,6 @@ PV = "0.3+git"
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
BRANCH ?= "master"
|
||||
SRCREV = "30a1d5b2d08c0da39d4e62b3ebee591a9882fa21"
|
||||
SRCREV = "e6abc1b87f1d5bc4c2ab5f1ebfbf5a70e437dcb4"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs"
|
||||
SUMMARY = "Userspace libraries for GC320 chipset on TI SoCs"
|
||||
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
|
||||
@@ -34,8 +34,6 @@ TARGET_PRODUCT = "jacinto6evm"
|
||||
|
||||
PR = "r3"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}"
|
||||
|
||||
do_install() {
|
||||
|
||||
370
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc
Normal file
370
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr.inc
Normal file
@@ -0,0 +1,370 @@
|
||||
# Copy of mesa.inc from OE-core before commit f9eb0468e45e ("mesa: upgrade 24.0.7 -> 25.0.2")
|
||||
|
||||
SUMMARY = "A free implementation of the OpenGL API"
|
||||
DESCRIPTION = "Mesa is an open-source implementation of the OpenGL specification - \
|
||||
a system for rendering interactive 3D graphics. \
|
||||
A variety of device drivers allows Mesa to be used in many different environments \
|
||||
ranging from software emulation to complete hardware acceleration for modern GPUs. \
|
||||
Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \
|
||||
environment."
|
||||
|
||||
HOMEPAGE = "http://mesa3d.org"
|
||||
BUGTRACKER = "https://bugs.freedesktop.org"
|
||||
SECTION = "x11"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"
|
||||
|
||||
PE = "2"
|
||||
|
||||
SRC_URI = "https://archive.mesa3d.org/mesa-${PV}.tar.xz \
|
||||
file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
|
||||
file://0001-drisw-fix-build-without-dri3.patch \
|
||||
file://0002-glxext-don-t-try-zink-if-not-enabled-in-mesa.patch \
|
||||
file://0001-Revert-meson-do-not-pull-in-clc-for-clover.patch \
|
||||
file://0001-amd-Include-missing-llvm-IR-header-Module.h.patch \
|
||||
file://0001-freedreno-don-t-encode-build-path-into-binaries.patch\
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "7454425f1ed4a6f1b5b107e1672b30c88b22ea0efea000ae2c7d96db93f6c26a"
|
||||
PV = "24.0.7"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
#because we cannot rely on the fact that all apps will use pkgconfig,
|
||||
#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
|
||||
do_install:append() {
|
||||
# sed can't find EGL/eglplatform.h as it doesn't get installed when glvnd enabled.
|
||||
# So, check if EGL/eglplatform.h exists before running sed.
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)} && [ -f ${D}${includedir}/EGL/eglplatform.h ]; then
|
||||
sed -i -e 's/^#elif defined(__unix__) && defined(EGL_NO_X11)$/#elif defined(__unix__) \&\& defined(EGL_NO_X11) || ${@bb.utils.contains('PACKAGECONFIG', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
|
||||
fi
|
||||
}
|
||||
|
||||
DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native python3-mako-native gettext-native"
|
||||
DEPENDS:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'mesa-native', '', d)}"
|
||||
EXTRANATIVEPATH += "chrpath-native"
|
||||
PROVIDES = " \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'glvnd', 'virtual/libglx', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2 virtual/libgles3', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \
|
||||
virtual/mesa \
|
||||
"
|
||||
|
||||
inherit meson pkgconfig python3native gettext features_check
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "opengl vulkan"
|
||||
|
||||
PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
|
||||
|
||||
# set the MESA_BUILD_TYPE to either 'release' (default) or 'debug'
|
||||
# by default the upstream mesa sources build a debug release
|
||||
# here we assume the user will want a release build by default
|
||||
MESA_BUILD_TYPE ?= "release"
|
||||
def check_buildtype(d):
|
||||
_buildtype = d.getVar('MESA_BUILD_TYPE')
|
||||
if _buildtype not in ['release', 'debug']:
|
||||
bb.fatal("unknown build type (%s), please set MESA_BUILD_TYPE to either 'release' or 'debug'" % _buildtype)
|
||||
if _buildtype == 'debug':
|
||||
return 'debugoptimized'
|
||||
return 'plain'
|
||||
MESON_BUILDTYPE = "${@check_buildtype(d)}"
|
||||
|
||||
EXTRA_OEMESON = " \
|
||||
-Dshared-glapi=enabled \
|
||||
-Dglx-read-only-text=true \
|
||||
-Dplatforms='${@",".join("${PLATFORMS}".split())}' \
|
||||
"
|
||||
|
||||
EXTRA_OEMESON:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'opencl', '-Dintel-clc=system', '', d)}"
|
||||
EXTRA_OEMESON:append:class-native = " ${@bb.utils.contains('PACKAGECONFIG', 'opencl', '-Dintel-clc=enabled', '', d)}"
|
||||
|
||||
def strip_comma(s):
|
||||
return s.strip(',')
|
||||
|
||||
PACKAGECONFIG = " \
|
||||
gallium \
|
||||
video-codecs \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'x11 vulkan wayland', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm virgl', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG:append:class-native = " gallium-llvm r600"
|
||||
|
||||
# "gbm" requires "opengl"
|
||||
PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled"
|
||||
|
||||
X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes xrandr"
|
||||
# "x11" requires "opengl"
|
||||
PACKAGECONFIG[x11] = ",-Dglx=disabled,${X11_DEPS}"
|
||||
PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols"
|
||||
|
||||
PACKAGECONFIG[dri3] = "-Ddri3=enabled, -Ddri3=disabled, xorgproto libxshmfence"
|
||||
|
||||
# Vulkan drivers need dri3 enabled
|
||||
# amd could be enabled as well but requires gallium-llvm with llvm >= 3.9
|
||||
VULKAN_DRIVERS = ""
|
||||
VULKAN_DRIVERS:append:x86 = ",intel,amd"
|
||||
VULKAN_DRIVERS:append:x86-64 = ",intel,amd"
|
||||
# i686 is a 32 bit override for mesa-native
|
||||
VULKAN_DRIVERS:append:i686 = ",intel,amd"
|
||||
VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
|
||||
VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}"
|
||||
VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',swrast', '', d)}"
|
||||
VULKAN_DRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination-experimental', '', d)}"
|
||||
PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers"
|
||||
|
||||
# mesa development and testing tools support, per driver
|
||||
TOOLS = ""
|
||||
TOOLS_DEPS = ""
|
||||
TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
|
||||
TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
|
||||
TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}"
|
||||
TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}"
|
||||
TOOLS:append = "${@bb.utils.contains('PACKAGECONFIG', 'imagination', ',imagination', '', d)}"
|
||||
|
||||
# dependencies for tools.
|
||||
TOOLS_DEPS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ' ncurses libxml2 ', '', d)}"
|
||||
|
||||
# the fdperf tool requires libconfig (a part of meta-oe) so it needs special
|
||||
# treatment in addition to the usual 'freedreno tools'.
|
||||
PACKAGECONFIG[freedreno-fdperf] = ",,libconfig"
|
||||
|
||||
PACKAGECONFIG[tools] = "-Dtools=${@strip_comma('${TOOLS}')}, -Dtools='', ${TOOLS_DEPS}"
|
||||
|
||||
PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false"
|
||||
PACKAGECONFIG[glvnd] = "-Dglvnd=true, -Dglvnd=false, libglvnd"
|
||||
|
||||
# "gles" requires "opengl"
|
||||
PACKAGECONFIG[gles] = "-Dgles1=enabled -Dgles2=enabled, -Dgles1=disabled -Dgles2=disabled"
|
||||
|
||||
# "egl" requires "opengl"
|
||||
PACKAGECONFIG[egl] = "-Degl=enabled, -Degl=disabled"
|
||||
|
||||
# "opencl" requires libclc from meta-clang and spirv-tools from OE-Core
|
||||
OPENCL_NATIVE = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', '-Dopencl-native=true', '', d)}"
|
||||
PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc spirv-tools python3-ply-native"
|
||||
|
||||
PACKAGECONFIG[broadcom] = ""
|
||||
PACKAGECONFIG[etnaviv] = ",,python3-pycparser-native"
|
||||
PACKAGECONFIG[freedreno] = ""
|
||||
PACKAGECONFIG[kmsro] = ""
|
||||
PACKAGECONFIG[vc4] = ""
|
||||
PACKAGECONFIG[v3d] = ""
|
||||
PACKAGECONFIG[zink] = ""
|
||||
|
||||
GALLIUMDRIVERS = "swrast"
|
||||
# gallium swrast was found to crash Xorg on startup in x32 qemu
|
||||
GALLIUMDRIVERS:x86-x32 = ""
|
||||
GALLIUMDRIVERS:append:x86 = ",i915,iris,crocus"
|
||||
GALLIUMDRIVERS:append:x86-64 = ",i915,iris,crocus"
|
||||
# i686 is a 32 bit override for mesa-native
|
||||
GALLIUMDRIVERS:append:i686 = ",i915,iris,crocus"
|
||||
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'vc4', ',vc4', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'zink', ',zink', '', d)}"
|
||||
|
||||
# radeonsi requires LLVM
|
||||
GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
|
||||
GALLIUMDRIVERS_LLVM = ",r300,nouveau${GALLIUMDRIVERS_RADEONSI}"
|
||||
GALLIUMDRIVERS_LLVM:append:x86 = ",svga"
|
||||
GALLIUMDRIVERS_LLVM:append:x86-64 = ",svga"
|
||||
# i686 is a 32 bit override for mesa-native
|
||||
GALLIUMDRIVERS_LLVM:append:i686 = ",svga"
|
||||
|
||||
PACKAGECONFIG[r600] = ""
|
||||
PACKAGECONFIG[virgl] = ""
|
||||
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', '${GALLIUMDRIVERS_LLVM}', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600', '', d)}"
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', ',virgl', '', d)}"
|
||||
|
||||
PACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm"
|
||||
PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, -Dllvm=disabled, llvm llvm-native elfutils"
|
||||
PACKAGECONFIG[xa] = "-Dgallium-xa=enabled, -Dgallium-xa=disabled"
|
||||
PACKAGECONFIG[va] = "-Dgallium-va=enabled,-Dgallium-va=disabled,libva-initial"
|
||||
PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=enabled,-Dgallium-vdpau=disabled,libvdpau"
|
||||
|
||||
PACKAGECONFIG[imagination] = "-Dimagination-srv=true,-Dimagination-srv=false"
|
||||
|
||||
PACKAGECONFIG[lima] = ""
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}"
|
||||
|
||||
PACKAGECONFIG[panfrost] = ""
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}"
|
||||
|
||||
PACKAGECONFIG[tegra] = ""
|
||||
GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'tegra', ',tegra,nouveau', '', d)}"
|
||||
|
||||
PACKAGECONFIG[vulkan-beta] = "-Dvulkan-beta=true,-Dvulkan-beta=false"
|
||||
|
||||
PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false"
|
||||
|
||||
PACKAGECONFIG[perfetto] = "-Dperfetto=true,-Dperfetto=false,libperfetto"
|
||||
|
||||
PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
|
||||
|
||||
PACKAGECONFIG[lmsensors] = "-Dlmsensors=enabled,-Dlmsensors=disabled,lmsensors"
|
||||
|
||||
VIDEO_CODECS ?= "${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'all', 'all_free', d)}"
|
||||
PACKAGECONFIG[video-codecs] = "-Dvideo-codecs=${VIDEO_CODECS}, -Dvideo-codecs=''"
|
||||
|
||||
# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
|
||||
FULL_OPTIMIZATION:append = " -fno-omit-frame-pointer"
|
||||
|
||||
CFLAGS:append:armv5 = " -DMISSING_64BIT_ATOMICS"
|
||||
CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS"
|
||||
|
||||
# Remove the mesa dependency on mesa-dev, as mesa is empty
|
||||
DEV_PKG_DEPENDENCY = ""
|
||||
|
||||
# GLES2 and GLES3 implementations are packaged in a single library in libgles2-mesa.
|
||||
# Add a dependency so the GLES3 dev package is associated with its implementation.
|
||||
RPROVIDES:libgles2-mesa += "libgles3-mesa"
|
||||
RPROVIDES:libgles2-mesa-dev += "libgles3-mesa-dev"
|
||||
|
||||
RDEPENDS:libopencl-mesa += "${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'libclc spirv-tools', '', d)}"
|
||||
|
||||
PACKAGES =+ "libegl-mesa libegl-mesa-dev \
|
||||
libosmesa libosmesa-dev \
|
||||
libgl-mesa libgl-mesa-dev \
|
||||
libglx-mesa libglx-mesa-dev \
|
||||
libglapi libglapi-dev \
|
||||
libgbm libgbm-dev \
|
||||
libgles1-mesa libgles1-mesa-dev \
|
||||
libgles2-mesa libgles2-mesa-dev \
|
||||
libopencl-mesa libopencl-mesa-dev \
|
||||
libxatracker libxatracker-dev \
|
||||
mesa-megadriver mesa-vulkan-drivers \
|
||||
mesa-vdpau-drivers mesa-tools \
|
||||
"
|
||||
|
||||
do_install:append () {
|
||||
# Drivers never need libtool .la files
|
||||
rm -f ${D}${libdir}/dri/*.la
|
||||
rm -f ${D}${libdir}/egl/*.la
|
||||
rm -f ${D}${libdir}/gallium-pipe/*.la
|
||||
rm -f ${D}${libdir}/gbm/*.la
|
||||
|
||||
# libwayland-egl has been moved to wayland 1.15+
|
||||
rm -f ${D}${libdir}/libwayland-egl*
|
||||
rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
|
||||
}
|
||||
|
||||
do_install:append:class-native () {
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'opencl', 'true', 'false', d)}; then
|
||||
install -d ${D}${bindir}
|
||||
install -m0755 ${B}/src/intel/compiler/intel_clc ${D}${bindir}
|
||||
fi
|
||||
}
|
||||
|
||||
# For the packages that make up the OpenGL interfaces, inject variables so that
|
||||
# they don't get Debian-renamed (which would remove the -mesa suffix), and
|
||||
# RPROVIDEs/RCONFLICTs on the generic libgl name.
|
||||
python __anonymous() {
|
||||
pkgconfig = (d.getVar('PACKAGECONFIG') or "").split()
|
||||
suffix = ""
|
||||
if "-native" in d.getVar("PN"):
|
||||
suffix = "-native"
|
||||
for p in (("egl", "libegl", "libegl1"),
|
||||
("opengl", "libgl", "libgl1"),
|
||||
("glvnd", "libglx",),
|
||||
("gles", "libgles1", "libglesv1-cm1"),
|
||||
("gles", "libgles2", "libglesv2-2", "libgles3"),
|
||||
("opencl", "libopencl",)):
|
||||
if not p[0] in pkgconfig:
|
||||
continue
|
||||
mlprefix = d.getVar("MLPREFIX")
|
||||
fullp = mlprefix + p[1] + "-mesa" + suffix
|
||||
mlprefix = d.getVar("MLPREFIX")
|
||||
pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:])
|
||||
d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
|
||||
d.appendVar("RREPLACES:" + fullp, pkgs)
|
||||
d.appendVar("RPROVIDES:" + fullp, pkgs)
|
||||
d.appendVar("RCONFLICTS:" + fullp, pkgs)
|
||||
|
||||
d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}mesa-megadriver" + suffix)
|
||||
|
||||
# For -dev, the first element is both the Debian and original name
|
||||
fullp = mlprefix + p[1] + "-mesa-dev" + suffix
|
||||
pkgs = " " + mlprefix + p[1] + "-dev" + suffix
|
||||
d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
|
||||
d.appendVar("RREPLACES:" + fullp, pkgs)
|
||||
d.appendVar("RPROVIDES:" + fullp, pkgs)
|
||||
d.appendVar("RCONFLICTS:" + fullp, pkgs)
|
||||
}
|
||||
|
||||
python mesa_populate_packages() {
|
||||
pkgs = ['mesa', 'mesa-dev', 'mesa-dbg']
|
||||
for pkg in pkgs:
|
||||
d.setVar("RPROVIDES:%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
|
||||
d.setVar("RCONFLICTS:%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
|
||||
d.setVar("RREPLACES:%s" % pkg, pkg.replace("mesa", "mesa-dri", 1))
|
||||
|
||||
import re
|
||||
dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri")
|
||||
if os.path.isdir(dri_drivers_root):
|
||||
dri_pkgs = sorted(os.listdir(dri_drivers_root))
|
||||
lib_name = d.expand("${MLPREFIX}mesa-megadriver")
|
||||
for p in dri_pkgs:
|
||||
m = re.match(r'^(.*)_dri\.so$', p)
|
||||
if m:
|
||||
pkg_name = " ${MLPREFIX}mesa-driver-%s" % legitimize_package_name(m.group(1))
|
||||
d.appendVar("RPROVIDES:%s" % lib_name, pkg_name)
|
||||
d.appendVar("RCONFLICTS:%s" % lib_name, pkg_name)
|
||||
d.appendVar("RREPLACES:%s" % lib_name, pkg_name)
|
||||
|
||||
pipe_drivers_root = os.path.join(d.getVar('libdir'), "gallium-pipe")
|
||||
do_split_packages(d, pipe_drivers_root, r'^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='')
|
||||
}
|
||||
|
||||
PACKAGESPLITFUNCS =+ "mesa_populate_packages"
|
||||
|
||||
PACKAGES_DYNAMIC += "^mesa-driver-.*"
|
||||
PACKAGES_DYNAMIC:class-native = "^mesa-driver-.*-native"
|
||||
|
||||
FILES:mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d"
|
||||
FILES:mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${libdir}/libpowervr_rogue.so ${datadir}/vulkan"
|
||||
FILES:${PN}-vdpau-drivers = "${libdir}/vdpau/*.so.*"
|
||||
FILES:libegl-mesa = "${libdir}/libEGL*.so.* ${datadir}/glvnd/egl_vendor.d"
|
||||
FILES:libgbm = "${libdir}/libgbm.so.*"
|
||||
FILES:libgles1-mesa = "${libdir}/libGLESv1*.so.*"
|
||||
FILES:libgles2-mesa = "${libdir}/libGLESv2.so.*"
|
||||
FILES:libgl-mesa = "${libdir}/libGL.so.*"
|
||||
FILES:libglx-mesa = "${libdir}/libGLX*.so.*"
|
||||
FILES:libopencl-mesa = "${libdir}/libMesaOpenCL.so.* ${libdir}/gallium-pipe/*.so ${sysconfdir}/OpenCL/vendors/mesa.icd"
|
||||
FILES:libglapi = "${libdir}/libglapi.so.*"
|
||||
FILES:libosmesa = "${libdir}/libOSMesa.so.*"
|
||||
FILES:libxatracker = "${libdir}/libxatracker.so.*"
|
||||
|
||||
FILES:${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan ${libdir}/vdpau/*.so"
|
||||
FILES:libegl-mesa-dev = "${libdir}/libEGL*.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
|
||||
FILES:libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
|
||||
FILES:libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
|
||||
FILES:libglx-mesa-dev = "${libdir}/libGLX*.*"
|
||||
FILES:libglapi-dev = "${libdir}/libglapi.*"
|
||||
FILES:libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc"
|
||||
FILES:libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${includedir}/GLES3 ${libdir}/pkgconfig/glesv2.pc"
|
||||
FILES:libopencl-mesa-dev = "${libdir}/libMesaOpenCL.so"
|
||||
FILES:libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
|
||||
FILES:libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
|
||||
${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
|
||||
${libdir}/pkgconfig/xatracker.pc"
|
||||
# catch all to get all the tools and data
|
||||
FILES:${PN}-tools = "${bindir} ${datadir}"
|
||||
ALLOW_EMPTY:${PN}-tools = "1"
|
||||
|
||||
# Fix upgrade path from mesa to mesa-megadriver
|
||||
RREPLACES:mesa-megadriver = "mesa"
|
||||
RCONFLICTS:mesa-megadriver = "mesa"
|
||||
RPROVIDES:mesa-megadriver = "mesa"
|
||||
@@ -2,9 +2,9 @@
|
||||
# upstream yet. This allows us to build the shims we need without completely
|
||||
# clobbering mesa.
|
||||
|
||||
require recipes-graphics/mesa/mesa.inc
|
||||
require recipes-graphics/mesa/mesa-pvr.inc
|
||||
|
||||
SUMMARY += " (with PowerVR support for TI platforms)"
|
||||
SUMMARY += " (with PowerVR for TI parts)"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"
|
||||
|
||||
@@ -23,8 +23,6 @@ SRC_URI = " \
|
||||
file://0001-gallium-Fix-build-with-llvm-18-and-19.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# upstream yet. This allows us to build the shims we need without completely
|
||||
# clobbering mesa.
|
||||
|
||||
require recipes-graphics/mesa/mesa.inc
|
||||
require recipes-graphics/mesa/mesa-pvr.inc
|
||||
|
||||
SUMMARY += " (with PowerVR support for TI platforms)"
|
||||
SUMMARY += " (with PowerVR for TI parts)"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10"
|
||||
|
||||
@@ -21,8 +21,6 @@ SRC_URI = " \
|
||||
file://0001-Update-lp_bld_misc.cpp-to-support-llvm-19.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver', 'pvr', '', d)} \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
|
||||
SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
|
||||
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
|
||||
LIC_FILES_CHKSUM = "file://git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
|
||||
|
||||
inherit bin_package
|
||||
|
||||
@@ -15,7 +15,7 @@ PR = "r3"
|
||||
BRANCH = "linuxws/kirkstone/k6.1/${PV}"
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
|
||||
SRCREV = "0b9e64254269be2fa95c4f3e1dd925d6e4d58199"
|
||||
S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
|
||||
S:append = "/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
TARGET_PRODUCT:j721s2 = "j721s2_linux"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
|
||||
SUMMARY = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
|
||||
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|j742s2|am62xx|am62pxx|j722s"
|
||||
@@ -11,7 +11,6 @@ PR = "r4"
|
||||
BRANCH = "linuxws/scarthgap/k6.12/${PV}"
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
|
||||
SRCREV = "1ed9ee185cd876200e6747192854015b8e94a7b0"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
TARGET_PRODUCT:j721s2 = "j721s2_linux"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
|
||||
SUMMARY = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
|
||||
HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
|
||||
@@ -44,8 +44,6 @@ RDEPENDS:${PN} += "libdrm"
|
||||
|
||||
RRECOMMENDS:${PN} += "ti-sgx-ddk-km"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} ${PACKAGECONFIG_CONFARGS}"
|
||||
|
||||
do_configure[noexec] = "1"
|
||||
|
||||
@@ -11,7 +11,7 @@ DEPENDS += "gmp-native libmpc-native"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
# 6.12 Mainline version
|
||||
SRCREV = "adc218676eef25575469234709c2d87185ca223a"
|
||||
|
||||
@@ -6,4 +6,15 @@ KERNEL_LOCALVERSION:append = "-rt"
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
|
||||
|
||||
BRANCH_ARM32 = "ti-rt-linux-6.12.y-arm32"
|
||||
SRCREV_ARM32 = "f0e4f5ca0905956c70779b31663f594c08c6a3bc"
|
||||
|
||||
BRANCH:ti33x = "${BRANCH_ARM32}"
|
||||
BRANCH:ti43x = "${BRANCH_ARM32}"
|
||||
BRANCH:am57xx = "${BRANCH_ARM32}"
|
||||
|
||||
SRCREV:ti33x = "${SRCREV_ARM32}"
|
||||
SRCREV:ti43x = "${SRCREV_ARM32}"
|
||||
SRCREV:am57xx = "${SRCREV_ARM32}"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
@@ -19,7 +19,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
|
||||
${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
BRANCH ?= "ti-linux-6.1.y"
|
||||
|
||||
|
||||
@@ -19,12 +19,12 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
|
||||
${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
BRANCH ?= "ti-linux-6.12.y"
|
||||
|
||||
SRCREV ?= "cdcaeac783e31f18edb6cb44b526228f44023b45"
|
||||
PV = "6.12.17+git"
|
||||
SRCREV ?= "78e6abff322081d53c5a685d927476086c9b2846"
|
||||
PV = "6.12.35+git"
|
||||
|
||||
KERNEL_REPRODUCIBILITY_PATCHES = " \
|
||||
file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
|
||||
|
||||
@@ -19,7 +19,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
|
||||
${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
|
||||
BRANCH ?= "ti-linux-6.6.y"
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
def get_dtbs_from_kernel(dts_dir, dts_prefix):
|
||||
import os
|
||||
import glob
|
||||
@@ -36,7 +35,6 @@ def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
|
||||
KERNEL_DEVICETREE_DTBMERGE ?= ""
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
${@get_dtbs_from_kernel('${S}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \
|
||||
${@get_merge_dtbs_from_kernel('${S}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \
|
||||
${@get_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_PREFIX}')} \
|
||||
${@get_merge_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', '${KERNEL_DEVICETREE_DTBMERGE}')} \
|
||||
"
|
||||
|
||||
|
||||
8
meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb
Normal file
8
meta-ti-bsp/recipes-kernel/linux/ti-kernel-fitimage.bb
Normal file
@@ -0,0 +1,8 @@
|
||||
FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PKGV}/${MACHINE}"
|
||||
FIT_CONF_PREFIX ?= "conf-ti_"
|
||||
|
||||
require recipes-kernel/linux/linux-yocto-fitimage.bb
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
|
||||
|
||||
do_compile[depends] += "virtual/kernel:do_shared_workdir"
|
||||
@@ -1,13 +1,3 @@
|
||||
# Add DTC FLAGS -@ when KERNEL_DTB_OVERLAY_SUPPORT is enabled
|
||||
|
||||
def get_extra_dtc_args(d):
|
||||
if d.getVar('KERNEL_DTB_OVERLAY_SUPPORT') == "1":
|
||||
return "DTC_FLAGS=-@"
|
||||
else:
|
||||
return ""
|
||||
|
||||
EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
|
||||
|
||||
# Tell the kernel class to install the DTBs in the same directory structure as
|
||||
# the kernel.
|
||||
KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PV = "4.4.0+git"
|
||||
SRCREV = "d221676a58b305bddbf97db00395205b3038de8e"
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "02e7f9213b0d7db9c35ebf1e41e733fc9c5a3f75"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0001-tee-supplicant-add-udev-rule-and-systemd-service-fil.patch \
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.4.0+git"
|
||||
SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "5306d2c7c618bb4a91df17a2d5d79ae4701af4a3"
|
||||
|
||||
@@ -3,12 +3,14 @@ inherit ti-secdev
|
||||
|
||||
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
|
||||
|
||||
EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
|
||||
EXTRA_OEMAKE:append:k3 = " ${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
|
||||
EXTRA_OEMAKE:append:k3 = " ${@ 'CFG_TZDRAM_START='+ d.getVar('OPTEE_K3_TZDRAM_START') if d.getVar('OPTEE_K3_TZDRAM_START') else ''}"
|
||||
|
||||
EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62lxx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62dxx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:j722s = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
|
||||
do_compile:append:k3() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PV = "4.5.0+git"
|
||||
SRCREV = "ef1ebdc23034a804a72da2207f1a825ce96a1464"
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "71785645fa6ce42db40dbf5a54e0eaedc4f61591"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0001-mk-compile.mk-remove-absolute-build-time-paths.patch \
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
PV = "4.4.0+git"
|
||||
SRCREV = "695231ef8987866663a9ed5afd8f77d1bae3dc08"
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/optee-test:"
|
||||
|
||||
PV = "4.6.0+git"
|
||||
SRCREV = "a9e9495f4d57b97022008ad11198195e7e044c5d"
|
||||
SRC_URI += "file://0001-Suppress-new-gcc-15-Wunterminated-string-initializat.patch"
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
From a8e58203dcb4c13ee340259cd2692202ac8414d1 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@konsulko.com>
|
||||
Date: Tue, 6 May 2025 21:35:55 -0400
|
||||
Subject: [PATCH] Suppress new gcc-15 -Wunterminated-string-initialization
|
||||
|
||||
GCC 15 now warns when character arrays are being initialized by strings
|
||||
and terminating NUL character doesn't fit. GCC 15.1 also allows marking
|
||||
such arrays with nonstring attribute to suppress the warning. W/o such
|
||||
attribute, the warning becomes error due to the global -Werror. Add the
|
||||
attribute accordingly.
|
||||
|
||||
Fixes these errors:
|
||||
|
||||
| ./regression_4000_data.h:7919:9: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (20 chars into 19 available) [-Werror=unterminated-string-initialization]
|
||||
| 7919 | "encryption standard";
|
||||
| | ^~~~~~~~~~~~~~~~~~~~~
|
||||
| ./regression_4000_data.h:8387:9: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (113 chars into 112 available) [-Werror=unterminated-string-initialization]
|
||||
| 8387 | "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomn"
|
||||
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
| ./regression_4000.c:1295:47: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (4 chars into 3 available) [-Werror=unterminated-string-initialization]
|
||||
| 1295 | static const uint8_t hash_data_sm3_a1_in[3] = "abc";
|
||||
| | ^~~~~
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
|
||||
---
|
||||
host/xtest/regression_4000.c | 2 +-
|
||||
host/xtest/regression_4000_data.h | 4 ++--
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/host/xtest/regression_4000.c b/host/xtest/regression_4000.c
|
||||
index 3aa15be..46e6f8e 100644
|
||||
--- a/host/xtest/regression_4000.c
|
||||
+++ b/host/xtest/regression_4000.c
|
||||
@@ -1292,7 +1292,7 @@ static const uint8_t hash_data_shake256_out2[] = {
|
||||
* https://tools.ietf.org/html/draft-sca-cfrg-sm3-02
|
||||
* Appendix A.1
|
||||
*/
|
||||
-static const uint8_t hash_data_sm3_a1_in[3] = "abc";
|
||||
+static const uint8_t hash_data_sm3_a1_in[3] __attribute__((nonstring)) = "abc";
|
||||
|
||||
static const uint8_t hash_data_sm3_a1_out[] = {
|
||||
0x66, 0xc7, 0xf0, 0xf4, 0x62, 0xee, 0xed, 0xd9,
|
||||
diff --git a/host/xtest/regression_4000_data.h b/host/xtest/regression_4000_data.h
|
||||
index 0881ac3..eb101b2 100644
|
||||
--- a/host/xtest/regression_4000_data.h
|
||||
+++ b/host/xtest/regression_4000_data.h
|
||||
@@ -7914,7 +7914,7 @@ static struct derive_key_ecdh_t {
|
||||
};
|
||||
|
||||
/* G/MT 0003 (SM2) Part 5 Annex C.2 - encryption/decryption */
|
||||
-static const uint8_t gmt_0003_part5_c2_sm2_testvector_ptx[19] =
|
||||
+static const uint8_t gmt_0003_part5_c2_sm2_testvector_ptx[19] __attribute__((nonstring)) =
|
||||
/* M */
|
||||
"encryption standard";
|
||||
static const uint8_t gmt_0003_part5_c2_sm2_testvector_private[] = {
|
||||
@@ -8383,7 +8383,7 @@ static const uint8_t mac_data_sha3_512_out1[] = {
|
||||
* GM/T 0042-2015
|
||||
* Section D.3 Test vector 1
|
||||
*/
|
||||
-static const uint8_t mac_data_sm3_d31_in[112] =
|
||||
+static const uint8_t mac_data_sm3_d31_in[112] __attribute__((nonstring)) =
|
||||
"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomn"
|
||||
"opnopqabcdbcdecdefdefgefghfghighijhijkijkljklmklmn"
|
||||
"lmnomnopnopq";
|
||||
--
|
||||
2.25.1
|
||||
@@ -1,5 +1,6 @@
|
||||
SUMMARY = "TI Inter Process Communication (IPC) Mechanisms"
|
||||
DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
|
||||
HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
|
||||
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9b710fd7c95e545b91cec79255"
|
||||
@@ -16,5 +17,3 @@ SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};na
|
||||
SRCREV = "${TI_IPC_SRCREV}"
|
||||
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
SUMMARY = "TI Inter Process Communication (IPC) Mechanisms"
|
||||
DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
|
||||
HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
|
||||
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
|
||||
|
||||
require ti-ipc.inc
|
||||
require ti-ipc-common.inc
|
||||
|
||||
14
meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
Normal file
14
meta-ti-bsp/recipes-ti/ipc/ti-librpmsg-dma_1.0.bb
Normal file
@@ -0,0 +1,14 @@
|
||||
SUMMARY = "RPMsg DMA shared library"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=744e63d2bb8c6151dcdd97f49aa02c53"
|
||||
|
||||
SRC_URI = "git://github.com/TexasInstruments/rpmsg-dma.git;protocol=https;branch=main"
|
||||
SRCREV = "609fd72f458ba56f80d06810509ef88d010d2c03"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DEPENDS = "ti-rpmsg-char"
|
||||
|
||||
EXTRA_OECMAKE += "-DBUILD_LIB=ON -DBUILD_EXAMPLE=OFF"
|
||||
|
||||
COMPATIBLE_MACHINE = "^(k3)$"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user