mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Compare commits
51 Commits
cicd.maste
...
cicd.maste
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0584bef40f | ||
|
|
0139eacc86 | ||
|
|
e1be7ec5b9 | ||
|
|
0aae212a5b | ||
|
|
2c4db58069 | ||
|
|
41bd985020 | ||
|
|
81b671424f | ||
|
|
e37033130d | ||
|
|
3482c0b47c | ||
|
|
fb273080e3 | ||
|
|
abd4c74b38 | ||
|
|
ee1f6799d0 | ||
|
|
4768f79792 | ||
|
|
35e9ea852f | ||
|
|
339ae4c944 | ||
|
|
79e5bcecbc | ||
|
|
d7624a767e | ||
|
|
fba0b17167 | ||
|
|
4744809516 | ||
|
|
713ef2619a | ||
|
|
8f66109af8 | ||
|
|
44eb6f8198 | ||
|
|
ef0ba74ca3 | ||
|
|
98b9185878 | ||
|
|
f923538b00 | ||
|
|
060fc704ef | ||
|
|
e24577a7c8 | ||
|
|
ee30de7055 | ||
|
|
17b3c101bd | ||
|
|
737807fc43 | ||
|
|
43e49f69c1 | ||
|
|
0cdeb4fb75 | ||
|
|
277f04df4c | ||
|
|
8009c57560 | ||
|
|
c2544ab8ba | ||
|
|
e9ed788e18 | ||
|
|
5b29403de4 | ||
|
|
6059a3fd01 | ||
|
|
cca4537afd | ||
|
|
520f0e2694 | ||
|
|
16186a72ba | ||
|
|
f0c9e00ea9 | ||
|
|
a8ffd3afef | ||
|
|
04c2204c11 | ||
|
|
1cbf96ebb2 | ||
|
|
79fa1420fc | ||
|
|
aaed80b695 | ||
|
|
0fdb49acb6 | ||
|
|
6dd3fdaa4a | ||
|
|
3cc4cea657 | ||
|
|
9c9c220bf0 |
@@ -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 = "kirkstone langdale mickledore nanbield"
|
||||
LAYERSERIES_COMPAT_meta-ti-bsp = "kirkstone langdale mickledore nanbield scarthgap"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
am57 \
|
||||
ov10635 \
|
||||
ti/am57 \
|
||||
ti/lcd \
|
||||
ti/ov10635 \
|
||||
|
||||
@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62a7 \
|
||||
ti/k3-am62x-sk \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -16,3 +16,10 @@ KERNEL_DEVICETREE = " \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "am62px_evm_a53_defconfig"
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
# For AM62P tisdk-display-cluster image, splash screen is handled by SBL.
|
||||
# Hence, disable the A53 based splash screen using the am62px_evm_prune_splashscreen.config fragment present in ti-u-boot tree
|
||||
UBOOT_CONFIG_FRAGMENTS = "${@oe.utils.conditional('DISPLAY_CLUSTER_ENABLE', '1', 'am62px_evm_prune_splashscreen.config', '', d)}"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62xx LP GP EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62XX LP EVM
|
||||
|
||||
require conf/machine/include/am62xx.inc
|
||||
require conf/machine/include/ti-extras.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62-lp \
|
||||
|
||||
@@ -6,4 +6,4 @@ require conf/machine/include/am65xx.inc
|
||||
|
||||
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw-am65x-sr2 pruhsr-fw-am65x-sr2 prusw-fw-am65x-sr2"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
|
||||
|
||||
@@ -2,16 +2,17 @@
|
||||
#@NAME: BeagleBoard X15
|
||||
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
|
||||
|
||||
require conf/machine/include/beagle.inc
|
||||
require conf/machine/include/am57xx.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "am57xx-beagle-x15"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am57xx-beagle-x15.dtb \
|
||||
am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-beagle-x15-revc.dtb \
|
||||
am57xx-beagle-x15.dtb \
|
||||
am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-beagle-x15-revc.dtb \
|
||||
am57xx-idk-lcd-osd101t2045.dtbo \
|
||||
am57xx-idk-lcd-osd101t2587.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -15,3 +15,9 @@ UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_r5_defconfig"
|
||||
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_r5.config"
|
||||
|
||||
@@ -2,25 +2,32 @@
|
||||
#@NAME: BeagleBone AI-64 (A72)
|
||||
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core)
|
||||
|
||||
require conf/machine/include/beagle.inc
|
||||
require conf/machine/include/j721e.inc
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_a72_config"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j721e-evm-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-evm-fusion.dtbo \
|
||||
ti/k3-j721e-evm-gesi-exp-board.dtbo \
|
||||
ti/k3-j721e-evm-pcie0-ep.dtbo \
|
||||
ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
|
||||
ti/k3-j721e-evm-virt-mac-client.dtbo \
|
||||
ti/k3-j721e-sk.dtb \
|
||||
ti/k3-j721e-sk-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-sk-csi2-rpi-imx219.dtbo \
|
||||
ti/k3-j721e-sk-fusion.dtbo \
|
||||
ti/k3-j721e-sk-rpi-hdr-ehrpwm.dtbo \
|
||||
ti/k3-j721e-sk.dtb \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -2,19 +2,63 @@
|
||||
#@NAME: BeagleBone machine
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||
|
||||
require conf/machine/include/beagle.inc
|
||||
require conf/machine/include/ti33x.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "am335x-bone"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am335x-bone.dtb \
|
||||
am335x-boneblue.dtb \
|
||||
am335x-boneblack.dtb \
|
||||
am335x-boneblack-wireless.dtb \
|
||||
am335x-bonegreen.dtb \
|
||||
am335x-bonegreen-wireless.dtb \
|
||||
am335x-bone.dtb \
|
||||
am335x-boneblack.dtb \
|
||||
am335x-boneblack-pps.dtb \
|
||||
am335x-boneblack-uboot.dtb \
|
||||
am335x-boneblack-uboot-univ.dtb \
|
||||
am335x-boneblack-wireless.dtb \
|
||||
am335x-boneblue.dtb \
|
||||
am335x-bonegreen.dtb \
|
||||
am335x-bonegreen-gateway.dtb \
|
||||
am335x-bonegreen-wireless.dtb \
|
||||
am335x-bonegreen-wireless-uboot-univ.dtb \
|
||||
am335x-pocketbeagle.dtb \
|
||||
am335x-sancloud-bbe.dtb \
|
||||
am335x-sancloud-bbe-extended-wifi.dtb \
|
||||
am335x-sancloud-bbe-lite.dtb \
|
||||
"
|
||||
|
||||
# Extra DT overlays/capes
|
||||
KERNEL_DEVICETREE += " \
|
||||
AM335X-PRU-UIO-00A0.dtbo \
|
||||
BB-ADC-00A0.dtbo \
|
||||
BB-BBBW-WL1835-00A0.dtbo \
|
||||
BB-BBGG-WL1835-00A0.dtbo \
|
||||
BB-BBGW-WL1835-00A0.dtbo \
|
||||
BB-BONE-4D5R-01-00A1.dtbo \
|
||||
BB-BONE-eMMC1-01-00A0.dtbo \
|
||||
BB-BONE-LCD4-01-00A1.dtbo \
|
||||
BB-BONE-NH7C-01-A0.dtbo \
|
||||
BB-CAPE-DISP-CT4-00A0.dtbo \
|
||||
BB-HDMI-TDA998x-00A0.dtbo \
|
||||
BB-I2C1-MCP7940X-00A0.dtbo \
|
||||
BB-I2C1-RTC-DS3231.dtbo \
|
||||
BB-I2C1-RTC-PCF8563.dtbo \
|
||||
BB-I2C2-BME680.dtbo \
|
||||
BB-I2C2-MPU6050.dtbo \
|
||||
BB-LCD-ADAFRUIT-24-SPI1-00A0.dtbo \
|
||||
BB-NHDMI-TDA998x-00A0.dtbo \
|
||||
BBORG_COMMS-00A2.dtbo \
|
||||
BBORG_FAN-A000.dtbo \
|
||||
BBORG_RELAY-00A2.dtbo \
|
||||
BB-SPIDEV0-00A0.dtbo \
|
||||
BB-SPIDEV1-00A0.dtbo \
|
||||
BB-UART1-00A0.dtbo \
|
||||
BB-UART2-00A0.dtbo \
|
||||
BB-UART4-00A0.dtbo \
|
||||
BB-W1-P9.12-00A0.dtbo \
|
||||
BONE-ADC.dtbo \
|
||||
M-BB-BBG-00A0.dtbo \
|
||||
M-BB-BBGG-00A0.dtbo \
|
||||
PB-MIKROBUS-0.dtbo \
|
||||
PB-MIKROBUS-1.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -12,3 +12,8 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_r5.config"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#@NAME: BeaglePlay (A53)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
|
||||
|
||||
require conf/machine//include/beagle.inc
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY:append = ":am62xx"
|
||||
|
||||
@@ -19,7 +20,11 @@ OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
|
||||
|
||||
@@ -32,9 +37,7 @@ ti/k3-am625-sk.dtb \
|
||||
ti/k3-am625-sk-dmtimer-pwm.dtbo \
|
||||
ti/k3-am625-sk-ecap-capture.dtbo \
|
||||
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-sk-mcan.dtbo \
|
||||
ti/k3-am625-sk-mcspi-loopback.dtbo \
|
||||
ti/k3-am625-sk-mcu-gpio-wakeup.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am625-sk-pwm.dtbo \
|
||||
@@ -42,7 +45,11 @@ ti/k3-am625-sk-rpi-hdr-ehrpwm.dtbo \
|
||||
ti/k3-am62x-sk-csi2-imx219.dtbo \
|
||||
ti/k3-am62x-sk-csi2-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
|
||||
ti/k3-am62x-sk-eqep.dtbo \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -17,3 +17,6 @@ OPTEEMACHINE = "k3-am62x"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
# Bitmap image tarball for early splashscreen
|
||||
IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
|
||||
|
||||
@@ -21,4 +21,4 @@ TFA_BOARD = "lite"
|
||||
|
||||
OPTEEMACHINE = "k3-am64x"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw-am65x-sr2 pruhsr-fw-am65x-sr2 prusw-fw-am65x-sr2"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw prusw-fw"
|
||||
|
||||
@@ -26,4 +26,4 @@ TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-am65x"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw-am65x"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw"
|
||||
|
||||
3
meta-ti-bsp/conf/machine/include/beagle.inc
Normal file
3
meta-ti-bsp/conf/machine/include/beagle.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-bb.org"
|
||||
|
||||
19
meta-ti-bsp/conf/machine/include/j722s.inc
Normal file
19
meta-ti-bsp/conf/machine/include/j722s.inc
Normal file
@@ -0,0 +1,19 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY:append = ":j722s"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
||||
|
||||
# Default tiboot3.bin on J722S is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
11
meta-ti-bsp/conf/machine/j722s-evm-k3r5.conf
Normal file
11
meta-ti-bsp/conf/machine/j722s-evm-k3r5.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J722S EVM (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI J722S EVM (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j722s"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
|
||||
11
meta-ti-bsp/conf/machine/j722s-evm.conf
Normal file
11
meta-ti-bsp/conf/machine/j722s-evm.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J722S EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J722S EVM
|
||||
|
||||
require conf/machine/include/j722s.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "ti/k3-j722s"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_a53_defconfig"
|
||||
@@ -10,8 +10,6 @@ PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = "mhdp8546.bin"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -7,7 +7,7 @@ BRANCH = "master"
|
||||
# This corresponds to version 4.20.00.01
|
||||
SRCREV = "86269258a48e0a9008dd9d5ebfae9da7ce843393"
|
||||
|
||||
PV = "4.20.00.01+git${SRCPV}"
|
||||
PV = "4.20.00.01+git"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/ipc/ludev.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -10,9 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.cnm;md5=93b67e6bac7f8fec22b96b8ad0a1a9d0"
|
||||
PV = "${CNM_WAVE521_FW_VERSION}"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE = "j721s2|j784s4|am62axx|am62pxx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "j721s2|j784s4|j722s|am62axx|am62pxx"
|
||||
|
||||
TARGET_WAVE521C = "wave521c_codec_fw.bin"
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@ SUMMARY = "R5 PSDK CPSW9G Ethernet Switch Firmware"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=04ad0a015d4bb63c2b9e7b112debf3db"
|
||||
|
||||
PV = "6.2+git${SRCPV}"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
PV = "6.2+git"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
|
||||
TARGET = "goodix_9271_cfg.bin"
|
||||
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
From 738dfc1b33a83e9995ed7f65ec41ebe2fc6a90ed Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Wed, 1 Nov 2023 10:04:29 -0500
|
||||
Subject: [PATCH] build: kbuild: Makefile.template: use SECONDARY
|
||||
|
||||
For some reason on master we are seeing an error:
|
||||
|
||||
| make[5]: *** .NOTINTERMEDIATE and .SECONDARY are mutually exclusive. Stop.
|
||||
|
||||
Flip this back to .SECONDARY to fix this build issue.
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
---
|
||||
build/linux/kbuild/Makefile.template | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/build/linux/kbuild/Makefile.template b/build/linux/kbuild/Makefile.template
|
||||
index aa19d66..31e37fb 100644
|
||||
--- a/build/linux/kbuild/Makefile.template
|
||||
+++ b/build/linux/kbuild/Makefile.template
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
include $(OUT)/config_kernel.mk
|
||||
|
||||
-.NOTINTERMEDIATE:
|
||||
+.SECONDARY:
|
||||
|
||||
define symlink-source-file
|
||||
@if [ ! -e $(dir $@) ]; then mkdir -p $(dir $@); fi
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -12,25 +12,24 @@ PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx"
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
|
||||
|
||||
DEPENDS = "virtual/kernel"
|
||||
|
||||
BRANCH = "linuxws/kirkstone/k6.1/${PV}"
|
||||
BRANCH = "linuxws/scarthgap/k6.6/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
SRC_URI:append = " file://0001-build-kbuild-Makefile.template-use-SECONDARY.patch"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "778aa5d1e104f36c7f7c1f50e99f8499cbbdadbb"
|
||||
SRCREV = "2f409b4dd2540e896b54bff02219d4fc51129b81"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
TARGET_PRODUCT:j721s2 = "j721s2_linux"
|
||||
TARGET_PRODUCT:j784s4 = "j784s4_linux"
|
||||
TARGET_PRODUCT:am62xx = "am62_linux"
|
||||
TARGET_PRODUCT:am62pxx = "am62p_linux"
|
||||
TARGET_PRODUCT:j722s = "j722s_linux"
|
||||
PVR_BUILD = "release"
|
||||
PVR_WS = "lws-generic"
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx-evm|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = " \
|
||||
am65x-sr2-pru0-prueth-fw.elf \
|
||||
am65x-sr2-pru1-prueth-fw.elf \
|
||||
am65x-sr2-rtu0-prueth-fw.elf \
|
||||
am65x-sr2-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-txpru0-prueth-fw.elf \
|
||||
am65x-sr2-txpru1-prueth-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65x SR1.0"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PRUETH_FW_AM65X_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = " \
|
||||
am65x-pru0-prueth-fw.elf \
|
||||
am65x-pru1-prueth-fw.elf \
|
||||
am65x-rtu0-prueth-fw.elf \
|
||||
am65x-rtu1-prueth-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
@@ -1,17 +1,29 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
|
||||
SUMMARY = "PRU Ethernet firmware"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am65xx|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = ""
|
||||
TARGET:ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf"
|
||||
TARGET:ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf"
|
||||
TARGET:am57xx = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
|
||||
TARGET = " \
|
||||
am335x-pru0-prueth-fw.elf \
|
||||
am335x-pru1-prueth-fw.elf \
|
||||
am437x-pru0-prueth-fw.elf \
|
||||
am437x-pru1-prueth-fw.elf \
|
||||
am57xx-pru0-prueth-fw.elf \
|
||||
am57xx-pru1-prueth-fw.elf \
|
||||
am65x-pru0-prueth-fw.elf \
|
||||
am65x-pru1-prueth-fw.elf \
|
||||
am65x-rtu0-prueth-fw.elf \
|
||||
am65x-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-pru0-prueth-fw.elf \
|
||||
am65x-sr2-pru1-prueth-fw.elf \
|
||||
am65x-sr2-rtu0-prueth-fw.elf \
|
||||
am65x-sr2-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-txpru0-prueth-fw.elf \
|
||||
am65x-sr2-txpru1-prueth-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
SUMMARY = "PRU HSR firmware for AM65xx SR2.0"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx-evm|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = " \
|
||||
am65x-sr2-pru0-pruhsr-fw.elf \
|
||||
am65x-sr2-pru1-pruhsr-fw.elf \
|
||||
am65x-sr2-rtu0-pruhsr-fw.elf \
|
||||
am65x-sr2-rtu1-pruhsr-fw.elf \
|
||||
am65x-sr2-txpru0-pruhsr-fw.elf \
|
||||
am65x-sr2-txpru1-pruhsr-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
@@ -1,18 +1,26 @@
|
||||
SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx"
|
||||
SUMMARY = "PRU HSR firmware"
|
||||
|
||||
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|am65xx|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = ""
|
||||
TARGET:ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
|
||||
TARGET:ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
|
||||
TARGET:am57xx = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
|
||||
TARGET = " \
|
||||
am335x-pru0-pruhsr-fw.elf \
|
||||
am335x-pru1-pruhsr-fw.elf \
|
||||
am437x-pru0-pruhsr-fw.elf \
|
||||
am437x-pru1-pruhsr-fw.elf \
|
||||
am57xx-pru0-pruhsr-fw.elf \
|
||||
am57xx-pru1-pruhsr-fw.elf \
|
||||
am65x-sr2-pru0-pruhsr-fw.elf \
|
||||
am65x-sr2-pru1-pruhsr-fw.elf \
|
||||
am65x-sr2-rtu0-pruhsr-fw.elf \
|
||||
am65x-sr2-rtu1-pruhsr-fw.elf \
|
||||
am65x-sr2-txpru0-pruhsr-fw.elf \
|
||||
am65x-sr2-txpru1-pruhsr-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
|
||||
@@ -7,12 +7,14 @@ PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = ""
|
||||
TARGET:ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
|
||||
TARGET:ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
|
||||
TARGET:am57xx = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
|
||||
TARGET = " \
|
||||
am335x-pru0-pruprp-fw.elf \
|
||||
am335x-pru1-pruprp-fw.elf \
|
||||
am437x-pru0-pruprp-fw.elf \
|
||||
am437x-pru1-pruprp-fw.elf \
|
||||
am57xx-pru0-pruprp-fw.elf \
|
||||
am57xx-pru1-pruprp-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
SUMMARY = "PRU Ethernet Switch firmware for AM65xx SR2.0"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx-evm|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = " \
|
||||
am65x-sr2-pru0-prusw-fw.elf \
|
||||
am65x-sr2-pru1-prusw-fw.elf \
|
||||
am65x-sr2-rtu0-prusw-fw.elf \
|
||||
am65x-sr2-rtu1-prusw-fw.elf \
|
||||
am65x-sr2-txpru0-prusw-fw.elf \
|
||||
am65x-sr2-txpru1-prusw-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
@@ -1,17 +1,25 @@
|
||||
SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x"
|
||||
SUMMARY = "PRU Switch firmware"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am65xx|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = ""
|
||||
TARGET:ti33x = "am335x-pru0-prusw-fw.elf am335x-pru1-prusw-fw.elf"
|
||||
TARGET:ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf"
|
||||
TARGET:am57xx = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf"
|
||||
TARGET = " \
|
||||
am335x-pru0-prusw-fw.elf \
|
||||
am335x-pru1-prusw-fw.elf \
|
||||
am437x-pru0-prusw-fw.elf \
|
||||
am437x-pru1-prusw-fw.elf \
|
||||
am57xx-pru0-prusw-fw.elf \
|
||||
am57xx-pru1-prusw-fw.elf \
|
||||
am65x-sr2-pru0-prusw-fw.elf \
|
||||
am65x-sr2-pru1-prusw-fw.elf \
|
||||
am65x-sr2-rtu0-prusw-fw.elf \
|
||||
am65x-sr2-rtu1-prusw-fw.elf \
|
||||
am65x-sr2-txpru0-prusw-fw.elf \
|
||||
am65x-sr2-txpru1-prusw-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
|
||||
@@ -25,6 +25,7 @@ PLAT_SFX:j721e = "j721e"
|
||||
PLAT_SFX:j7200 = "j7200"
|
||||
PLAT_SFX:j721s2 = "j721s2"
|
||||
PLAT_SFX:j784s4 = "j784s4"
|
||||
PLAT_SFX:j722s = "j722s"
|
||||
PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
@@ -42,6 +43,7 @@ DM_FW_LIST:j721e = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:j7200 = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:j721s2 = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:j784s4 = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:j722s = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:am65xx = ""
|
||||
DM_FW_LIST:am64xx = ""
|
||||
DM_FW_LIST:am62xx = "${DM_FIRMWARE}"
|
||||
@@ -83,6 +85,7 @@ ALTERNATIVE:${PN}:j721e = "j7-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j7200 = "j7200-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j721s2 = "j721s2-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j784s4 = "j784s4-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE:${PN}:j722s = "j722s-wkup-r5f0_0-fw"
|
||||
|
||||
# Set up link names for the firmwares
|
||||
ALTERNATIVE_LINK_NAME[am62-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am62-main-r5f0_0-fw"
|
||||
@@ -92,6 +95,7 @@ ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j
|
||||
ALTERNATIVE_LINK_NAME[j7200-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j7200-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j721s2-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j721s2-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j784s4-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j784s4-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j722s-wkup-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-wkup-r5f0_0-fw"
|
||||
|
||||
# Create the firmware alternatives
|
||||
ALTERNATIVE_TARGET[am62-main-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
@@ -101,6 +105,7 @@ ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j7200-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j721s2-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j784s4-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
ALTERNATIVE_TARGET[j722s-wkup-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ PLAT_SFX:j721e = "j721e"
|
||||
PLAT_SFX:j7200 = "j7200"
|
||||
PLAT_SFX:j721s2 = "j721s2"
|
||||
PLAT_SFX:j784s4 = "j784s4"
|
||||
PLAT_SFX:j722s = "j722s"
|
||||
PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
@@ -41,10 +42,11 @@ 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:am65xx = ""
|
||||
ETH_FW_LIST:am64xx = ""
|
||||
ETH_FW_LIST:am62xx = ""
|
||||
ETH_FW_LIST:am62pxx = ""
|
||||
ETH_FW_LIST:am62pxx = ""
|
||||
ETH_FW_LIST:am62axx = ""
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -9,8 +9,6 @@ PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "j721e"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = "pvdec_full_bin.fw"
|
||||
|
||||
do_install() {
|
||||
|
||||
@@ -14,10 +14,10 @@ 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.3"
|
||||
TI_DM_FW_VERSION = "09.01.02"
|
||||
TI_SYSFW_VERSION = "09.01.08"
|
||||
TI_DM_FW_VERSION = "09.02.04"
|
||||
TI_SYSFW_VERSION = "09.02.07"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "9ee2fedb1fb4815f54310dd872d34faf9948c7c1"
|
||||
TI_LINUX_FW_SRCREV ?= "edbfc3e540c9f426feb51db6a466a9015ada4dd0"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PV:k3 = "2.9+git${SRCPV}"
|
||||
SRCREV_tfa:k3 = "d7a7135d32a8c7da004c0c19b75bd4e2813f9759"
|
||||
PV:k3 = "2.10+git"
|
||||
SRCREV_tfa:k3 = "00f1ec6b8740ccd403e641131e294aabacf2a48b"
|
||||
SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master"
|
||||
COMPATIBLE_MACHINE:k3 = "k3"
|
||||
TFA_BUILD_TARGET:k3 = "all"
|
||||
|
||||
@@ -8,10 +8,10 @@ PV = "2023.04"
|
||||
|
||||
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
BRANCH = "v2023.04-ti-09.00.00.011"
|
||||
SRCREV = "4b8f8be8870f03d92a2b01d0d30ab912118adc82"
|
||||
BRANCH = "v2023.04-ti-09.01.00.008"
|
||||
SRCREV = "b0d717b732ee28e446baf94522b3491e590f7fbb"
|
||||
|
||||
BRANCH:beagleplay = "v2023.04-ti-09.00.00.011-BeaglePlay"
|
||||
BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.00.00.011-BeaglePlay"
|
||||
SRCREV:beagleplay = "10afea462ea1113701f6f0f8853fdff985aa275d"
|
||||
SRCREV:beagleplay-k3r5 = "10afea462ea1113701f6f0f8853fdff985aa275d"
|
||||
BRANCH:beagleplay = "v2023.04-ti-09.01.00.008-BeaglePlay"
|
||||
BRANCH:beagleplay-k3r5 = "v2023.04-ti-09.01.00.008-BeaglePlay"
|
||||
SRCREV:beagleplay = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
|
||||
SRCREV:beagleplay-k3r5 = "43791d945f4e5c25bcc19b9c778e8f9d194dc16e"
|
||||
|
||||
@@ -2,7 +2,7 @@ require u-boot-ti.inc
|
||||
|
||||
PR = "r0"
|
||||
|
||||
PV = "2023.10"
|
||||
PV = "2024.01"
|
||||
|
||||
# For the un-initiated:
|
||||
# The actual URL you'd use with a git clone for example would be:
|
||||
@@ -13,4 +13,4 @@ PV = "2023.10"
|
||||
# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
|
||||
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
SRCREV = "4459ed60cb1e0562bc5b40405e2b4b9bbf766d57"
|
||||
SRCREV = "866ca972d6c3cabeaf6dbac431e8e08bb30b3c8e"
|
||||
|
||||
@@ -6,14 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2023.04"
|
||||
|
||||
SRCREV = "b0d717b732ee28e446baf94522b3491e590f7fbb"
|
||||
|
||||
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}
|
||||
}
|
||||
SRCREV = "d2612223375a25f81068d7a7abd86c08cd129a2c"
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2024.01"
|
||||
|
||||
SRCREV = "2f0282922b2c458eea7f85c500a948a587437b63"
|
||||
|
||||
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}
|
||||
}
|
||||
11
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb
Normal file
11
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb
Normal file
@@ -0,0 +1,11 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2024.04"
|
||||
|
||||
SRCREV = "f3c979dd0053c082d2df170446923e7ce5edbc2d"
|
||||
@@ -1,6 +1,9 @@
|
||||
# UBOOT_LOCALVERSION can be set to add a tag to the end of the
|
||||
# U-boot version string. such as the commit id
|
||||
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
|
||||
do_compile:prepend () {
|
||||
scm_version=$(printf '%s%s' -ti-g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
|
||||
|
||||
echo ${scm_version} > ${B}/.scmversion
|
||||
echo ${scm_version} > ${S}/.scmversion
|
||||
}
|
||||
|
||||
UBOOT_SUFFIX ?= "img"
|
||||
SPL_BINARY ?= "MLO"
|
||||
@@ -21,13 +24,13 @@ UBOOT_GIT_URI ?= "git://git.ti.com/git/ti-u-boot/ti-u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
PV:append = "+git${SRCPV}"
|
||||
PV:append = "+git"
|
||||
|
||||
# u-boot needs devtree compiler to parse dts files
|
||||
DEPENDS += "dtc-native bc-native flex-native bison-native python3-setuptools-native"
|
||||
|
||||
# u-boot needs these for binman
|
||||
DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-native"
|
||||
DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-native python3-yamllint-native"
|
||||
|
||||
# SYSFW/TIFS Firmware
|
||||
DEPENDS:append:k3 = " ti-sci-fw"
|
||||
@@ -40,6 +43,7 @@ PLAT_SFX:j721e = "j721e"
|
||||
PLAT_SFX:j7200 = "j7200"
|
||||
PLAT_SFX:j721s2 = "j721s2"
|
||||
PLAT_SFX:j784s4 = "j784s4"
|
||||
PLAT_SFX:j722s = "j722s"
|
||||
PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
@@ -55,6 +59,7 @@ PACKAGECONFIG:append:j721e = " dm"
|
||||
PACKAGECONFIG:append:j7200 = " dm"
|
||||
PACKAGECONFIG:append:j721s2 = " dm"
|
||||
PACKAGECONFIG:append:j784s4 = " dm"
|
||||
PACKAGECONFIG:append:j722s = " dm"
|
||||
PACKAGECONFIG:append:am62xx = " dm"
|
||||
PACKAGECONFIG:append:am62axx = " dm"
|
||||
PACKAGECONFIG:append:am62pxx = " dm"
|
||||
@@ -329,4 +334,24 @@ do_deploy:append () {
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
|
||||
}
|
||||
|
||||
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}
|
||||
}
|
||||
|
||||
TOOLCHAIN = "gcc"
|
||||
|
||||
@@ -3,7 +3,6 @@ LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fd463c9500441ed91d07a0331baa635c"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vpdma-fw/03-2012/exports/vpdma-fw_03-2012.tar.gz;protocol=http;name=dra7xx-evm"
|
||||
SRC_URI[dra7xx-evm.md5sum] = "80176df1350c21d9efa90171789c546e"
|
||||
|
||||
@@ -5,12 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a56bddef00b39fb0f45488fdc4ce108f"
|
||||
|
||||
inherit cmake
|
||||
|
||||
PV = "0.3+git${SRCPV}"
|
||||
PV = "0.3+git"
|
||||
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
BRANCH ?= "master"
|
||||
SRCREV = "de06befe878be061a40540d2127d4273320b35bc"
|
||||
SRCREV = "85a7433202aafafbccea8a7b2491f4df8b1ecd80"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
require ${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-cairo.inc', '', d)}
|
||||
@@ -1,5 +0,0 @@
|
||||
# This is required since cairo expects the opengl distro feature to refer to
|
||||
# the desktop version of OpenGL. Imagination drivers only provide OpenGLES.
|
||||
|
||||
PACKAGECONFIG:remove = "opengl"
|
||||
PACKAGECONFIG:append = " glesv2"
|
||||
@@ -28,11 +28,7 @@ PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
"
|
||||
|
||||
# Temporary work around to use a different SRCREV for SGX Mesa, vs Rogue Mesa
|
||||
# Idea is these two should be the same, but currently a segfault is happening
|
||||
# on certain platforms if the sgx commit is used.
|
||||
SRCREV = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', '7c9522a4147836064f582278e4f7115735c16868', '54fd9d7dea098b6f11c2a244b0c6763dc8c5690c', d)}"
|
||||
PR = "sgxrgx${SRCPV}"
|
||||
SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
|
||||
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
|
||||
PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
|
||||
|
||||
@@ -8,13 +8,13 @@ inherit bin_package
|
||||
INHIBIT_DEFAULT_DEPS = ""
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx"
|
||||
COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx|am62pxx|j722s"
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
BRANCH = "linuxws/kirkstone/k6.1/${PV}"
|
||||
BRANCH = "linuxws/scarthgap/k6.6/${PV}"
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
|
||||
SRCREV = "d0543929cc6fe53959a64c60285896e2c14ed314"
|
||||
SRCREV = "0b9e64254269be2fa95c4f3e1dd925d6e4d58199"
|
||||
S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
@@ -22,6 +22,7 @@ TARGET_PRODUCT:j721s2 = "j721s2_linux"
|
||||
TARGET_PRODUCT:j784s4 = "j784s4_linux"
|
||||
TARGET_PRODUCT:am62xx = "am62_linux"
|
||||
TARGET_PRODUCT:am62pxx = "am62p_linux"
|
||||
TARGET_PRODUCT:j722s = "j722s_linux"
|
||||
PVR_BUILD = "release"
|
||||
PVR_WS = "lws-generic"
|
||||
|
||||
@@ -32,7 +33,7 @@ RDEPENDS:${PN} = " \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= " \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan x11 wayland', 'vulkan', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan wayland', 'vulkan', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'opengl opencl', d)} \
|
||||
"
|
||||
|
||||
@@ -88,7 +89,6 @@ PACKAGES = " \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'opencl', d.getVar('OPENCL_PACKAGES'), '', d)} \
|
||||
${PN}-tools \
|
||||
${PN}-firmware \
|
||||
${PN}-dev \
|
||||
${PN} \
|
||||
"
|
||||
|
||||
@@ -121,7 +121,7 @@ RDEPENDS:libgles2-rogue += "mesa-megadriver"
|
||||
|
||||
# vulkan specific shared objects and configs
|
||||
FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan"
|
||||
RDEPENDS:libvk-rogue += "vulkan-loader libx11-xcb wayland libdrm"
|
||||
RDEPENDS:libvk-rogue += "vulkan-loader wayland libdrm"
|
||||
|
||||
# opencl specific shared objects and configs
|
||||
FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL"
|
||||
@@ -19,21 +19,17 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.1.46 version for 32-bit
|
||||
SRCREV:armv7a = "0df74a0c083222077e8def3ec7e52c75f7eff2f0"
|
||||
PV:armv7a = "6.1.46+git${SRCPV}"
|
||||
BRANCH:armv7a = "v6.1.46-ti-r13"
|
||||
# 6.1.69 version for 32-bit
|
||||
SRCREV:armv7a = "a1f26a19581970f76220c68c438981796ce5b767"
|
||||
PV:armv7a = "6.1.69+git"
|
||||
BRANCH:armv7a = "v6.1.69-ti-r22"
|
||||
|
||||
# 6.1.46 version for 64-bit
|
||||
SRCREV:aarch64 = "f47f74d11b19d8ae2f146de92c258f40e0930d86"
|
||||
PV:aarch64 = "6.1.46+git${SRCPV}"
|
||||
BRANCH:aarch64 = "v6.1.46-ti-arm64-r13"
|
||||
# 6.1.69 version for 64-bit
|
||||
SRCREV:aarch64 = "bc76b5d278271f66a6faeb2d09cb09fc6c57dd3c"
|
||||
PV:aarch64 = "6.1.69+git"
|
||||
BRANCH:aarch64 = "v6.1.69-ti-arm64-r24"
|
||||
|
||||
SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
FILES:${KERNEL_PACKAGE_NAME}-devicetree += " \
|
||||
/${KERNEL_DTBDEST}/*/overlays/*.dtb \
|
||||
/${KERNEL_DTBDEST}/*/overlays/*.dtbo \
|
||||
SRC_URI = " \
|
||||
git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
|
||||
@@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
# 6.6 Mainline version
|
||||
SRCREV = "ffc253263a1375a65fa6c9f62a893e9767fbebfa"
|
||||
PV = "6.6+git${SRCPV}"
|
||||
PV = "6.6+git"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
|
||||
@@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
# 6.6.0-rc3+ version
|
||||
SRCREV = "6465e260f48790807eef06b583b38ca9789b6072"
|
||||
PV = "6.6.0-rc3+git${SRCPV}"
|
||||
PV = "6.6.0-rc3+git"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;branch=master"
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
require linux-ti-staging_6.1.bb
|
||||
|
||||
KERNEL_LOCALVERSION:append = "-rt"
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
|
||||
BRANCH = "ti-rt-linux-6.1.y"
|
||||
|
||||
SRCREV = "833521d9b354beb95bac8b37bfc211495d73d36c"
|
||||
SRCREV = "871d5629a0ee4ae82d0caf8d57d4f711d54e1465"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.1.46+git${SRCPV}"
|
||||
PV = "6.1.80+git${SRCPV}"
|
||||
|
||||
@@ -2,15 +2,16 @@ require linux-ti-staging_6.6.bb
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
KERNEL_LOCALVERSION:append = "-rt"
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
|
||||
|
||||
#BRANCH = "ti-rt-linux-6.6.y"
|
||||
BRANCH = "ti-linux-6.6.y"
|
||||
BRANCH = "ti-rt-linux-6.6.y"
|
||||
|
||||
SRCREV = "ffc253263a1375a65fa6c9f62a893e9767fbebfa"
|
||||
SRCREV = "280ec6b126cf337d787b398b5717f55599ecb91f"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.6.0+git${SRCPV}"
|
||||
PV = "6.6.20+git${SRCPV}"
|
||||
|
||||
@@ -23,8 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.1.y"
|
||||
|
||||
SRCREV ?= "247b2535b24894d5ac7f3d8cfc3b48edb7214cc0"
|
||||
PV = "6.1.46+git${SRCPV}"
|
||||
SRCREV ?= "1c154b1fe4c462d8b383515bb388e289816e4b01"
|
||||
PV = "6.1.80+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
|
||||
@@ -25,8 +25,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.6.y"
|
||||
|
||||
SRCREV ?= "ffc253263a1375a65fa6c9f62a893e9767fbebfa"
|
||||
PV = "6.6.0+git${SRCPV}"
|
||||
SRCREV ?= "83b86d0fb4afa43229844c77df29890de5d7b8d1"
|
||||
PV = "6.6.20+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
# KERNEL_LOCALVERSION can be set to add a tag to the end of the
|
||||
# kernel version string. such as the commit id
|
||||
KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
|
||||
KERNEL_LOCALVERSION = "-ti"
|
||||
|
||||
# Check the defconfig file and see if it points to an in kernel
|
||||
# defconfig that should be used, or if it is a complete config file
|
||||
@@ -13,8 +11,10 @@ do_configure() {
|
||||
# tree config
|
||||
cp ${WORKDIR}/defconfig ${B}/.config
|
||||
|
||||
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
|
||||
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
|
||||
scm_version=$(printf '%s%s' -g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
|
||||
|
||||
echo ${scm_version} > ${B}/.scmversion
|
||||
echo ${scm_version} > ${S}/.scmversion
|
||||
|
||||
# Zero, when using "tisdk" configs, pass control to defconfig_builder
|
||||
config=`cat ${B}/.config | grep use-tisdk-config | cut -d= -f2`
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.0.0+git${SRCPV}"
|
||||
SRCREV = "acb0885c117e73cb6c5c9b1dd9054cb3f93507ee"
|
||||
PV = "4.1.0+git"
|
||||
SRCREV = "f7e4ced15d1fefd073bbfc484fe0e1f74afe96c2"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.0.0+git${SRCPV}"
|
||||
PV = "4.0.0+git"
|
||||
SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
|
||||
|
||||
@@ -8,6 +8,7 @@ EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') i
|
||||
EXTRA_OEMAKE:append:am62xx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62pxx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:j722s = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
|
||||
do_compile:append:k3() {
|
||||
cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PV = "4.0.0+git${SRCPV}"
|
||||
SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6"
|
||||
PV = "4.1.0+git"
|
||||
SRCREV = "012cdca49db398693903e05c42a254a3a0c0d8f2"
|
||||
|
||||
# Fixes for pointing to 4.0.0 before upstream meta-arm
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os-4.0.0:"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PV = "4.0.0+git${SRCPV}"
|
||||
SRCREV = "1c3d6be5eaa6174e3dbabf60928d15628e39b994"
|
||||
PV = "4.1.0+git"
|
||||
SRCREV = "2e1e7a9c9d659585566a75fc8802f4758c42bcb2"
|
||||
|
||||
# Fixes for pointing to 4.0.0 before upstream meta-arm
|
||||
SRC_URI:remove = "file://0001-xtest-regression_1000-remove-unneeded-stat.h-include.patch"
|
||||
|
||||
@@ -7,10 +7,10 @@ PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/git/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
|
||||
|
||||
# 0.6.3 release
|
||||
SRCREV = "369ed24324c28c683d52637bb0cc7784b74c1385"
|
||||
# 0.6.6 release
|
||||
SRCREV = "55a6f4032246631a309f8608af5e822024664b59"
|
||||
|
||||
PV = "0.6.3+git${SRCPV}"
|
||||
PV = "0.6.6+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ PLAT_SFX:j721e = "j721e"
|
||||
PLAT_SFX:j7200 = "j7200"
|
||||
PLAT_SFX:j721s2 = "j721s2"
|
||||
PLAT_SFX:j784s4 = "j784s4"
|
||||
PLAT_SFX:j722s = "j722s"
|
||||
PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
@@ -54,12 +55,13 @@ IPC_FW_LIST = ""
|
||||
IPC_FW_LIST:am65xx = "${MCU_1_0_FW} ${MCU_1_1_FW}"
|
||||
IPC_FW_LIST:am64xx = "${MCU_1_0_FW} ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW}"
|
||||
IPC_FW_LIST:am62xx = " ${MCU_2_0_FW}"
|
||||
IPC_FW_LIST:am62pxx = " ${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: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}"
|
||||
IPC_FW_LIST:j784s4 = " ${MCU_1_1_FW} ${MCU_2_0_FW} ${MCU_2_1_FW} ${MCU_3_0_FW} ${MCU_3_1_FW} ${MCU_4_0_FW} ${MCU_4_1_FW} ${C7X_1_FW} ${C7X_2_FW} ${C7X_3_FW} ${C7X_4_FW}"
|
||||
IPC_FW_LIST:j722s = " ${MCU_2_0_FW} ${MCU_3_0_FW} ${C7X_1_FW} ${C7X_2_FW}"
|
||||
|
||||
# Update the am64xx ipc binaries to be consistent with other platforms
|
||||
do_install:prepend:am64xx() {
|
||||
@@ -178,6 +180,13 @@ ALTERNATIVE:${PN}:j784s4 = "\
|
||||
j784s4-c71_3-fw j784s4-c71_3-fw-sec \
|
||||
"
|
||||
|
||||
ALTERNATIVE:${PN}:j722s = "\
|
||||
j722s-mcu-r5f0_0-fw j722s-mcu-r5f0_0-fw-sec \
|
||||
j722s-main-r5f0_0-fw j722s-main-r5f0_0-fw-sec \
|
||||
j722s-c71_0-fw j722s-c71_0-fw-sec \
|
||||
j722s-c71_1-fw j722s-c71_1-fw-sec \
|
||||
"
|
||||
|
||||
# Set up link names for the firmwares
|
||||
|
||||
ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/am65x-mcu-r5f0_0-fw"
|
||||
@@ -271,6 +280,15 @@ ALTERNATIVE_LINK_NAME[j784s4-c71_2-fw-sec] = "${nonarch_base_libdir}/firmware/j7
|
||||
ALTERNATIVE_LINK_NAME[j784s4-c71_3-fw] = "${nonarch_base_libdir}/firmware/j784s4-c71_3-fw"
|
||||
ALTERNATIVE_LINK_NAME[j784s4-c71_3-fw-sec] = "${nonarch_base_libdir}/firmware/j784s4-c71_3-fw-sec"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[j722s-mcu-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j722s-mcu-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-mcu-r5f0_0-fw-sec"
|
||||
ALTERNATIVE_LINK_NAME[j722s-main-r5f0_0-fw] = "${nonarch_base_libdir}/firmware/j722s-main-r5f0_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j722s-main-r5f0_0-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-main-r5f0_0-fw-sec"
|
||||
ALTERNATIVE_LINK_NAME[j722s-c71_0-fw] = "${nonarch_base_libdir}/firmware/j722s-c71_0-fw"
|
||||
ALTERNATIVE_LINK_NAME[j722s-c71_0-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-c71_0-fw-sec"
|
||||
ALTERNATIVE_LINK_NAME[j722s-c71_1-fw] = "${nonarch_base_libdir}/firmware/j722s-c71_1-fw"
|
||||
ALTERNATIVE_LINK_NAME[j722s-c71_1-fw-sec] = "${nonarch_base_libdir}/firmware/j722s-c71_1-fw-sec"
|
||||
|
||||
# Create the firmware alternatives
|
||||
|
||||
ALTERNATIVE_TARGET[am65x-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_1_0_FW}"
|
||||
@@ -364,4 +382,13 @@ ALTERNATIVE_TARGET[j784s4-c71_2-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_3_FW}.sig
|
||||
ALTERNATIVE_TARGET[j784s4-c71_3-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_4_FW}"
|
||||
ALTERNATIVE_TARGET[j784s4-c71_3-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_4_FW}.signed"
|
||||
|
||||
ALTERNATIVE_TARGET[j722s-mcu-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}"
|
||||
ALTERNATIVE_TARGET[j722s-mcu-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_2_0_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j722s-main-r5f0_0-fw] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}"
|
||||
ALTERNATIVE_TARGET[j722s-main-r5f0_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${MCU_3_0_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j722s-c71_0-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}"
|
||||
ALTERNATIVE_TARGET[j722s-c71_0-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_1_FW}.signed"
|
||||
ALTERNATIVE_TARGET[j722s-c71_1-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}"
|
||||
ALTERNATIVE_TARGET[j722s-c71_1-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_2_FW}.signed"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
@@ -24,7 +24,7 @@ TI_RTOS_METADATA_DIR ?= "${PLAT_SFX}"
|
||||
TI_RTOS_METADATA_FILE ?= "${S}${TI_RTOS_METADATA_DIR}/metadata.inc"
|
||||
TI_RTOS_METADATA_FILE:am64xx ?= "${S}${TI_RTOS_METADATA_DIR}/mcusdk_metadata.inc"
|
||||
|
||||
PV = "1.0.0+git${SRCPV}"
|
||||
PV = "1.0.0+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-extras"
|
||||
BBFILE_PATTERN_meta-ti-extras := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-ti-extras = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield"
|
||||
LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield scarthgap"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ put_tty_driver was removed and write_room return type has changed.
|
||||
Function tty_driver_kref_put has been around a while, so no need
|
||||
to do a kernel version check.
|
||||
|
||||
Upstream-Status: Pending
|
||||
Upstream-Status: Inactive-Upstream
|
||||
Signed-off-by: Andrew Davis <afd@ti.com>
|
||||
---
|
||||
kernel_module/gdbproxy-mod/gdbserverproxy.c | 6 +++++-
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Wed, 08 Feb 2024 10:43:00 -0500
|
||||
Subject: [PATCH] Support Linux kernels v6.6+
|
||||
|
||||
gdb_write arg changed from int to unsigned int
|
||||
|
||||
Upstream-Status: Inactive-Upstream
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
kernel_module/gdbproxy-mod/gdbserverproxy.c | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kernel_module/gdbproxy-mod/gdbserverproxy.c b/kernel_module/gdbproxy-mod/gdbserverproxy.c
|
||||
index 418b6db..4b1c676 100644
|
||||
--- a/kernel_module/gdbproxy-mod/gdbserverproxy.c
|
||||
+++ b/kernel_module/gdbproxy-mod/gdbserverproxy.c
|
||||
@@ -496,8 +496,13 @@ static void gdb_close(struct tty_struct *tty, struct file *filp)
|
||||
*
|
||||
*
|
||||
*/
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,6,0))
|
||||
+static int gdb_write(struct tty_struct *tty,
|
||||
+ const unsigned char *buf, unsigned int count)
|
||||
+#else
|
||||
static int gdb_write(struct tty_struct *tty,
|
||||
const unsigned char *buf, int count)
|
||||
+#endif
|
||||
{
|
||||
struct dsp_session *dsp = tty->driver_data;
|
||||
int ret = 0;
|
||||
@@ -7,7 +7,10 @@ MACHINE_KERNEL_PR:append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
PV:append = "+git${SRCPV}"
|
||||
|
||||
SRC_URI:append = " file://0001-Support-Linux-kernels-v5.15.patch;patchdir=../.."
|
||||
SRC_URI:append = "\
|
||||
file://0001-Support-Linux-kernels-v5.15.patch;patchdir=../.. \
|
||||
file://0002-Support-Linux-kernels-v6.6.patch;patchdir=../.. \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git/kernel_module/gdbproxy-mod"
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
# Set jailhouse architecture JH_ARCH variable
|
||||
#
|
||||
# return value must match one of architectures supported by jailhouse
|
||||
#
|
||||
valid_jh_archs = "x86 arm"
|
||||
|
||||
def map_jh_arch(a, d):
|
||||
import re
|
||||
|
||||
valid_jh_archs = d.getVar('valid_jh_archs', True).split()
|
||||
|
||||
if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
|
||||
elif re.match('armeb$', a): return 'arm'
|
||||
elif re.match('aarch64$', a): return 'arm64'
|
||||
elif re.match('aarch64_be$', a): return 'arm64'
|
||||
elif a in valid_jh_archs: return a
|
||||
else:
|
||||
bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
|
||||
|
||||
export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
|
||||
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|
||||
12
meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb
Normal file
12
meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require ti-jailhouse.inc
|
||||
|
||||
do_install() {
|
||||
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${TOOLS_SRC_DIR}/demos/ivshmem-demo ${D}${bindir}
|
||||
|
||||
}
|
||||
|
||||
FILES:${PN} = " \
|
||||
${bindir}/ivshmem-demo \
|
||||
"
|
||||
@@ -1,51 +1,15 @@
|
||||
SUMMARY = "Linux-based partitioning hypervisor"
|
||||
DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
|
||||
operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
|
||||
platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
|
||||
HOMEPAGE = "https://github.com/siemens/jailhouse"
|
||||
SECTION = "jailhouse"
|
||||
LICENSE = "GPL-2.0-only & BSD-2-Clause"
|
||||
require ti-jailhouse.inc
|
||||
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
|
||||
"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
PV = "0.12+git${SRCPV}"
|
||||
SRCREV = "0b29ad90f6f54105b98d6bbf35cc47fb244f7799"
|
||||
BRANCH = "master"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \
|
||||
"
|
||||
|
||||
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-curses\
|
||||
python3-datetime\
|
||||
python3-mmap\
|
||||
python3-curses\
|
||||
python3-datetime\
|
||||
python3-mmap\
|
||||
"
|
||||
|
||||
require jailhouse-arch.inc
|
||||
inherit module python3native bash-completion deploy setuptools3
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${S}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
|
||||
JH_DATADIR ?= "${datadir}/jailhouse"
|
||||
JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
|
||||
CELL_DIR ?= "${JH_DATADIR}/cells"
|
||||
CELLCONF_DIR ?= "${JH_DATADIR}/configs"
|
||||
INMATES_DIR ?= "${JH_DATADIR}/inmates"
|
||||
|
||||
JH_CELL_FILES ?= "*.cell"
|
||||
JH_CELL_FILES:k3 ?= "k3-*.cell"
|
||||
JH_CELL_FILES:am62xx ?= "k3-am625-*.cell"
|
||||
JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell"
|
||||
|
||||
JH_INMATE_DTB ?= ""
|
||||
JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb"
|
||||
@@ -61,13 +25,6 @@ JH_LINUX_DEMO_CELL:am62pxx ?= "k3-am62p5-sk-linux-demo.cell"
|
||||
JH_LINUX_DEMO_CELL:j7 ?= "k3-j721e-evm-linux-demo.cell"
|
||||
JH_LINUX_DEMO_CELL:j7200-evm ?= "k3-j7200-evm-linux-demo.cell"
|
||||
|
||||
JH_SYSCONFIG_CELL ?= ""
|
||||
JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell"
|
||||
JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell"
|
||||
JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell"
|
||||
JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell"
|
||||
JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell"
|
||||
|
||||
INITRAMFS_IMAGE ?= ""
|
||||
JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
|
||||
|
||||
@@ -78,29 +35,7 @@ JH_CMDLINE:am65xx ?= "console=ttyS1,115200n8"
|
||||
JH_CMDLINE:j7 ?= "console=ttyS3,115200n8"
|
||||
JH_CMDLINE:j7200-evm ?= "console=ttyS3,115200n8"
|
||||
|
||||
do_configure() {
|
||||
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
|
||||
then
|
||||
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
|
||||
fi
|
||||
}
|
||||
|
||||
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
|
||||
-DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
|
||||
-Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
|
||||
-I../driver'
|
||||
|
||||
TOOLS_SRC_DIR = "${S}/tools"
|
||||
|
||||
EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake V=1
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# Install pyjailhouse python modules needed by the tools
|
||||
# distutils3_do_install
|
||||
|
||||
# We want to install the python tools, but we do not want to use pip...
|
||||
# At least with v0.10, we can work around this with
|
||||
@@ -147,10 +82,12 @@ do_install() {
|
||||
chmod +x ${D}${JH_DATADIR}/linux-demo.sh
|
||||
fi
|
||||
|
||||
rm ${D}${JH_DATADIR}/root-cell-config.c.tmpl
|
||||
rm ${D}${JH_DATADIR}/jailhouse-config-collect.tmpl
|
||||
}
|
||||
|
||||
PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
|
||||
FILES:${PN} = "${base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR} /boot"
|
||||
|
||||
FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
FILES:${PN}-tools = "${libexecdir}/${BPN}/${BPN}-*"
|
||||
|
||||
@@ -179,32 +116,11 @@ python __anonymous () {
|
||||
d.appendVar('RDEPENDS_${PN}', ' ' + cell)
|
||||
}
|
||||
|
||||
|
||||
FILES:${PN} = " \
|
||||
/boot \
|
||||
/boot/* \
|
||||
/usr/libexec \
|
||||
/usr/sbin/ivshmem-demo \
|
||||
/usr/sbin/jailhouse \
|
||||
/usr/libexec/jailhouse \
|
||||
/usr/libexec/jailhouse/jailhouse-config-check \
|
||||
/usr/libexec/jailhouse/jailhouse-config-collect \
|
||||
/usr/libexec/jailhouse/jailhouse-hardware-check \
|
||||
/usr/libexec/jailhouse/jailhouse-cell-stats \
|
||||
/usr/libexec/jailhouse/linux-loader.bin \
|
||||
/usr/libexec/jailhouse/jailhouse-cell-linux \
|
||||
/usr/libexec/jailhouse/jailhouse-config-create \
|
||||
/usr/share/jailhouse \
|
||||
/usr/share/jailhouse/linux-demo.sh \
|
||||
/usr/share/jailhouse/inmate-k3-am625-sk.dtb \
|
||||
/usr/share/jailhouse/inmates \
|
||||
/usr/share/jailhouse/cells \
|
||||
/usr/share/jailhouse/inmates/gic-demo.bin \
|
||||
/usr/share/jailhouse/inmates/ivshmem-demo.bin \
|
||||
/usr/share/jailhouse/inmates/uart-demo.bin \
|
||||
/usr/share/jailhouse/cells/k3-am625-sk.cell \
|
||||
/usr/share/jailhouse/cells/k3-am625-sk-inmate-demo.cell \
|
||||
/usr/share/jailhouse/cells/k3-am625-sk-linux-demo.cell \
|
||||
/lib/firmware \
|
||||
/lib/firmware/jailhouse.bin \
|
||||
/boot/tisdk-tiny-image-am62xx-evm.cpio \
|
||||
/usr/sbin/* \
|
||||
/usr/libexec/* \
|
||||
/usr/share/* \
|
||||
/lib/firmware/* \
|
||||
"
|
||||
|
||||
87
meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
Normal file
87
meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
Normal file
@@ -0,0 +1,87 @@
|
||||
SUMMARY = "Linux-based partitioning hypervisor"
|
||||
DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
|
||||
operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
|
||||
platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
|
||||
HOMEPAGE = "https://github.com/siemens/jailhouse"
|
||||
SECTION = "jailhouse"
|
||||
|
||||
LICENSE = "GPL-2.0-only & BSD-2-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
|
||||
"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
PV = "0.12+git${SRCPV}"
|
||||
SRCREV = "0b29ad90f6f54105b98d6bbf35cc47fb244f7799"
|
||||
BRANCH = "master"
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \
|
||||
"
|
||||
|
||||
# Set jailhouse architecture JH_ARCH variable
|
||||
#
|
||||
# return value must match one of architectures supported by jailhouse
|
||||
#
|
||||
valid_jh_archs = "x86 arm"
|
||||
|
||||
def map_jh_arch(a, d):
|
||||
import re
|
||||
|
||||
valid_jh_archs = d.getVar('valid_jh_archs', True).split()
|
||||
|
||||
if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
|
||||
elif re.match('armeb$', a): return 'arm'
|
||||
elif re.match('aarch64$', a): return 'arm64'
|
||||
elif re.match('aarch64_be$', a): return 'arm64'
|
||||
elif a in valid_jh_archs: return a
|
||||
else:
|
||||
bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
|
||||
|
||||
export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
|
||||
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${S}"
|
||||
|
||||
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
|
||||
|
||||
inherit module python3native bash-completion deploy setuptools3
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
|
||||
JH_DATADIR ?= "${datadir}/jailhouse"
|
||||
JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
|
||||
CELL_DIR ?= "${JH_DATADIR}/cells"
|
||||
CELLCONF_DIR ?= "${JH_DATADIR}/configs"
|
||||
INMATES_DIR ?= "${JH_DATADIR}/inmates"
|
||||
|
||||
JH_SYSCONFIG_CELL ?= ""
|
||||
JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell"
|
||||
JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell"
|
||||
JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell"
|
||||
JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell"
|
||||
JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell"
|
||||
|
||||
do_configure() {
|
||||
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
|
||||
then
|
||||
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
|
||||
fi
|
||||
}
|
||||
|
||||
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
|
||||
-DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
|
||||
-Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
|
||||
-I../driver'
|
||||
|
||||
TOOLS_SRC_DIR = "${S}/tools"
|
||||
|
||||
EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake V=1
|
||||
}
|
||||
Reference in New Issue
Block a user