mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
51 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71f4340b0b | ||
|
|
fb55d467f7 | ||
|
|
b5ea831422 | ||
|
|
7749ba5e88 | ||
|
|
1a81652380 | ||
|
|
e871a1e0d6 | ||
|
|
f415cb72cf | ||
|
|
bbf306391e | ||
|
|
9708a12876 | ||
|
|
a23fe49a1a | ||
|
|
273f540683 | ||
|
|
6cc9fcd312 | ||
|
|
b7e1e375b7 | ||
|
|
0d76dba1b1 | ||
|
|
2eca858068 | ||
|
|
b0fe2ddde8 | ||
|
|
05afb88f43 | ||
|
|
4213a71a8e | ||
|
|
94d038be8d | ||
|
|
e7d80bc915 | ||
|
|
80c9829297 | ||
|
|
861e52fc76 | ||
|
|
980b28342c | ||
|
|
54eecb7396 | ||
|
|
826884d6b2 | ||
|
|
97d9fa9789 | ||
|
|
9b65d04f86 | ||
|
|
96734a5f8b | ||
|
|
9d913fce5b | ||
|
|
a4ccd43c13 | ||
|
|
d6c601ea34 | ||
|
|
88143efec9 | ||
|
|
361078b2ed | ||
|
|
12daa0348e | ||
|
|
ed26456630 | ||
|
|
50acaea235 | ||
|
|
2d5cedf0a9 | ||
|
|
a4defea6f5 | ||
|
|
f1cb005a52 | ||
|
|
9c8eec8733 | ||
|
|
f06324bc16 | ||
|
|
f405f79d86 | ||
|
|
d952379f55 | ||
|
|
b444d36dc5 | ||
|
|
f269e761a2 | ||
|
|
57863a821a | ||
|
|
befff0d605 | ||
|
|
2a6e706d99 | ||
|
|
9997a83156 | ||
|
|
336a538aee | ||
|
|
4a086d523b |
17
meta-beagle/COPYING.MIT
Normal file
17
meta-beagle/COPYING.MIT
Normal file
@@ -0,0 +1,17 @@
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
31
meta-beagle/README
Normal file
31
meta-beagle/README
Normal file
@@ -0,0 +1,31 @@
|
||||
OpenEmbedded/Yocto layer that extends meta-ti-bsp with BeagleBoard.org platforms.
|
||||
|
||||
It is hosted on http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ with the
|
||||
source repository at git://git.yoctoproject.org/meta-ti
|
||||
|
||||
|
||||
This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: master
|
||||
|
||||
URI: git://git.yoctoproject.org/meta-arm
|
||||
layers: meta-arm
|
||||
branch: master
|
||||
|
||||
URI: git://git.yoctoproject.org/meta-ti
|
||||
branch: master
|
||||
revision: HEAD
|
||||
layers: meta-ti-bsp
|
||||
|
||||
|
||||
Send pull requests, patches, comments or questions to:
|
||||
meta-ti@lists.yoctoproject.org
|
||||
|
||||
Please note - meta-ti mailing list requires subscription for posting:
|
||||
https://lists.yoctoproject.org/g/meta-ti
|
||||
|
||||
Maintainers:
|
||||
Denys Dmytriyenko <denys@konsulko.com>
|
||||
Ryan Eatmon <reatmon@ti.com>
|
||||
20
meta-beagle/SECURITY
Normal file
20
meta-beagle/SECURITY
Normal file
@@ -0,0 +1,20 @@
|
||||
How to Report a Potential Vulnerability?
|
||||
========================================
|
||||
|
||||
If you would like to report a public issue (for example, one with a released
|
||||
CVE number), please report it to the mailing list:
|
||||
|
||||
https://lists.yoctoproject.org/g/meta-ti
|
||||
|
||||
If you are dealing with a not-yet released or urgent issue, please send a
|
||||
message to one of the maintainers listed in the README. Include as many
|
||||
details as possible:
|
||||
- the layer or software module affected
|
||||
- the recipe and its version
|
||||
- any example code, if available
|
||||
|
||||
Branches maintained with security fixes
|
||||
---------------------------------------
|
||||
|
||||
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
|
||||
releases. We only accept patches for the LTS releases and the master branch.
|
||||
17
meta-beagle/conf/layer.conf
Normal file
17
meta-beagle/conf/layer.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# We have a conf and classes directory, append to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have a recipes directory, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "meta-beagle"
|
||||
BBFILE_PATTERN_meta-beagle := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-beagle = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-beagle = "scarthgap"
|
||||
|
||||
LAYERDEPENDS_meta-beagle = " \
|
||||
meta-ti-bsp \
|
||||
"
|
||||
|
||||
HOSTTOOLS_NONFATAL += "lz4c"
|
||||
@@ -2,13 +2,12 @@
|
||||
#@NAME: BeagleBoard X15
|
||||
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
|
||||
|
||||
TI_PREFERRED_BSP ?= "bb_org"
|
||||
|
||||
require conf/machine/include/am57xx.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
DT_VENDOR_PREFIX = "ti/omap/"
|
||||
DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
|
||||
DT_VENDOR_PREFIX:bsp-bb_org = ""
|
||||
DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
${DT_VENDOR_PREFIX}am57xx-beagle-x15 \
|
||||
@@ -2,9 +2,8 @@
|
||||
#@NAME: BeagleBone AI-64 (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 (R5F core)
|
||||
|
||||
TI_PREFERRED_BSP ?= "bb_org"
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
SYSFW_SOC = "j721e"
|
||||
SYSFW_CONFIG = "evm"
|
||||
@@ -16,8 +15,10 @@ UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}"
|
||||
UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "j721e_beagleboneai64_r5_defconfig"
|
||||
UBOOT_MACHINE = "j721e_beagleboneai64_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "j721e_beagleboneai64_r5.config"
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_r5_defconfig"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_r5.config"
|
||||
|
||||
UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_r5_defconfig"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_r5.config"
|
||||
@@ -2,21 +2,23 @@
|
||||
#@NAME: BeagleBone AI-64 (A72)
|
||||
#@DESCRIPTION: Machine configuration for the BeagleBone AI-64 board (A72 core)
|
||||
|
||||
TI_PREFERRED_BSP ?= "bb_org"
|
||||
|
||||
require conf/machine/include/j721e.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
IMAGE_SR1_1_HS_FS_FILES:bsp-bb_org = ""
|
||||
IMAGE_SR2_HS_SE_FILES:bsp-bb_org = ""
|
||||
IMAGE_SR1_1_HS_FS_FILES = ""
|
||||
IMAGE_SR1_1_HS_SE_FILES = ""
|
||||
IMAGE_SR2_HS_FS_FILES = ""
|
||||
IMAGE_SR2_HS_SE_FILES = ""
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_a72_config"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "j721e_beagleboneai64_a72_defconfig"
|
||||
UBOOT_MACHINE = "j721e_beagleboneai64_a72_defconfig"
|
||||
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "j721e_evm_a72_config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "j721e_beagleboneai64_a72.config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "j721e_beagleboneai64_a72.config"
|
||||
|
||||
SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned"
|
||||
SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin"
|
||||
UBOOT_MACHINE:bsp-bb_org-6_1 = "j721e_evm_a72_config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "j721e_beagleboneai64_a72.config"
|
||||
|
||||
SPL_BINARY = "tispl.bin_unsigned"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j721e \
|
||||
@@ -30,7 +32,7 @@ ti/k3-j721e-evm-quad-port-eth-exp.dtbo \
|
||||
ti/k3-j721e-sk.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org = " \
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
|
||||
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-evm-csi2-ov5640.dtbo \
|
||||
@@ -2,13 +2,12 @@
|
||||
#@NAME: BeagleBone machine
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||
|
||||
TI_PREFERRED_BSP ?= "bb_org"
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
DT_VENDOR_PREFIX = "ti/omap/"
|
||||
DT_VENDOR_PREFIX:bsp-ti-6_1 = ""
|
||||
DT_VENDOR_PREFIX:bsp-bb_org = ""
|
||||
DT_VENDOR_PREFIX:bsp-bb_org-6_1 = ""
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
${DT_VENDOR_PREFIX}am335x-bone \
|
||||
11
meta-beagle/conf/machine/beagleplay-k3r5.conf
Normal file
11
meta-beagle/conf/machine/beagleplay-k3r5.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeaglePlay (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
|
||||
|
||||
require conf/machine/beagleplay-ti-k3r5.conf
|
||||
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_r5.config"
|
||||
75
meta-beagle/conf/machine/beagleplay.conf
Normal file
75
meta-beagle/conf/machine/beagleplay.conf
Normal file
@@ -0,0 +1,75 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeaglePlay (A53)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
|
||||
|
||||
require conf/machine/beagleplay-ti.conf
|
||||
|
||||
require conf/machine/include/beagle-bsp.inc
|
||||
|
||||
UBOOT_MACHINE:bsp-bb_org-6_1 = "am62x_evm_a53_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am625_beagleplay_a53.config"
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-beaglemod.dtb \
|
||||
ti/k3-am625-beaglemod-audio.dtbo \
|
||||
ti/k3-am625-beaglemod-can0.dtbo \
|
||||
ti/k3-am625-beaglemod-can1.dtbo \
|
||||
ti/k3-am625-beaglemod-csi0-ov5640.dtbo \
|
||||
ti/k3-am625-beaglemod-eeprom.dtbo \
|
||||
ti/k3-am625-beaglemod-eth.dtbo \
|
||||
ti/k3-am625-beaglemod-hdmi.dtbo \
|
||||
ti/k3-am625-beaglemod-io-expand.dtbo \
|
||||
ti/k3-am625-beaglemod-lt-lcd185.dtbo \
|
||||
ti/k3-am625-beaglemod-ospi-flash.dtbo \
|
||||
ti/k3-am625-beaglemod-rs485-1.dtbo \
|
||||
ti/k3-am625-beaglemod-rs485-2.dtbo \
|
||||
ti/k3-am625-beaglemod-rtc.dtbo \
|
||||
ti/k3-am625-beaglemod-wl1835.dtbo \
|
||||
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-mcspi-loopback.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am625-sk-pwm.dtbo \
|
||||
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-disable-fastboot.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_6 = " \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-minimal.dtb \
|
||||
ti/k3-am625-sk.dtb \
|
||||
ti/k3-am625-sk-ecap-capture.dtbo \
|
||||
ti/k3-am625-sk-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-sk-m2-cc3301.dtbo \
|
||||
ti/k3-am625-sk-mcspi-loopback.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
|
||||
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-dmtimer-pwm.dtbo \
|
||||
ti/k3-am62x-sk-eqep.dtbo \
|
||||
ti/k3-am62x-sk-fastboot-disable-hdmi.dtbo \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
ti/k3-am62x-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am62x-sk-pwm.dtbo \
|
||||
"
|
||||
16
meta-beagle/conf/machine/beagley-ai-k3r5.conf
Normal file
16
meta-beagle/conf/machine/beagley-ai-k3r5.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeagleY AI (R5F)
|
||||
#@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"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_r5.config"
|
||||
25
meta-beagle/conf/machine/beagley-ai.conf
Normal file
25
meta-beagle/conf/machine/beagley-ai.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeagleY AI (A53)
|
||||
#@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_CONFIG_FRAGMENTS:bsp-bb_org-6_1 = "am67a_beagley_ai_a53.config"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j722s \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org-6_1 = " \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
ti/k3-am67a-beagley-ai.dtb \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
49
meta-beagle/conf/machine/include/beagle-bsp.inc
Normal file
49
meta-beagle/conf/machine/include/beagle-bsp.inc
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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"
|
||||
|
||||
# ==========
|
||||
# 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.%"
|
||||
|
||||
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"
|
||||
|
||||
# ==========
|
||||
# bb_org-6_6
|
||||
# BeagleBoard.org kernel 6.6, Upstream u-boot 2024.07
|
||||
# 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_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.%"
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org-6_6 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org-6_6 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org-6_6 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org-6_6 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org-6_6 = "24%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org-6_6 = "23%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in bb.org 6.6
|
||||
MACHINE_FEATURES:remove:bsp-bb_org-6_6 = "gc320"
|
||||
@@ -1,4 +1,4 @@
|
||||
require u-boot-ti.inc
|
||||
require recipes-bsp/u-boot/u-boot-ti.inc
|
||||
|
||||
SUMMARY = "BeagleBoard.org U-Boot"
|
||||
|
||||
@@ -15,3 +15,8 @@ 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"
|
||||
|
||||
BRANCH:beagley-ai = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
|
||||
BRANCH:beagley-ai-k3r5 = "v2023.04-ti-09.02.00.009-BeagleY-AI-Production"
|
||||
SRCREV:beagley-ai = "93735daa6fe024304934d5a5e93ab05a06abf1a8"
|
||||
SRCREV:beagley-ai-k3r5 = "93735daa6fe024304934d5a5e93ab05a06abf1a8"
|
||||
12
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb
Normal file
12
meta-beagle/recipes-bsp/u-boot/u-boot-bb.org_2024.10.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require recipes-bsp/u-boot/u-boot-ti.inc
|
||||
|
||||
SUMMARY = "BeagleBoard.org U-Boot"
|
||||
|
||||
COMPATIBLE_MACHINE = "beagle.*"
|
||||
|
||||
PV = "2024.10"
|
||||
|
||||
UBOOT_GIT_URI = "git://github.com/beagleboard/u-boot.git"
|
||||
UBOOT_GIT_PROTOCOL = "https"
|
||||
BRANCH = "v2024.10-Beagle"
|
||||
SRCREV = "bf0e9d0b7274d2b561bd24c858affec2038250f9"
|
||||
@@ -0,0 +1 @@
|
||||
use-kernel-config=bb.org_defconfig
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_FORTIFY_SOURCE=n
|
||||
@@ -1,3 +1,6 @@
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
|
||||
SECTION = "kernel"
|
||||
SUMMARY = "BeagleBoard.org Linux kernel"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
@@ -52,14 +55,14 @@ PB-MIKROBUS-1.dtbo \
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.1.80 version for 32-bit
|
||||
SRCREV:armv7a = "4ca9ea30768d58c8d4d56d03dd1eaf8c8feb7ef9"
|
||||
PV:armv7a = "6.1.80+git"
|
||||
BRANCH:armv7a = "v6.1.80-ti-r34"
|
||||
# 6.1.83 version for 32-bit
|
||||
SRCREV:armv7a = "be9b910b08dfd674e47a2643f35080b005ac3792"
|
||||
PV:armv7a = "6.1.83+git"
|
||||
BRANCH:armv7a = "v6.1.83-ti-r35"
|
||||
|
||||
# 6.1.80 version for 64-bit
|
||||
SRCREV:aarch64 = "977c75e082620f15c06c72bcced30f787c14b390"
|
||||
PV:aarch64 = "6.1.80+git"
|
||||
BRANCH:aarch64 = "v6.1.80-ti-arm64-r49"
|
||||
# 6.1.83 version for 64-bit
|
||||
SRCREV:aarch64 = "135558243d5a98ed39812b797d2ba6295ef3b86a"
|
||||
PV:aarch64 = "6.1.83+git"
|
||||
BRANCH:aarch64 = "v6.1.83-ti-arm64-r64"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
71
meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
Normal file
71
meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb
Normal file
@@ -0,0 +1,71 @@
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
|
||||
|
||||
SECTION = "kernel"
|
||||
SUMMARY = "BeagleBoard.org Linux kernel"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
|
||||
COMPATIBLE_MACHINE = "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 = "${WORKDIR}/git"
|
||||
|
||||
# 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 64-bit
|
||||
SRCREV:aarch64 = "9beffa9162f6a0f5de7e25bbb66026a579376428"
|
||||
PV:aarch64 = "6.6.58+git"
|
||||
BRANCH:aarch64 = "v6.6.58-ti-arm64-r16"
|
||||
|
||||
KERNEL_GIT_URI = "git://github.com/beagleboard/linux.git"
|
||||
|
||||
SRC_URI += "file://no-fortify.cfg"
|
||||
KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/no-fortify.cfg"
|
||||
20
meta-ti-bsp/SECURITY
Normal file
20
meta-ti-bsp/SECURITY
Normal file
@@ -0,0 +1,20 @@
|
||||
How to Report a Potential Vulnerability?
|
||||
========================================
|
||||
|
||||
If you would like to report a public issue (for example, one with a released
|
||||
CVE number), please report it to the mailing list:
|
||||
|
||||
https://lists.yoctoproject.org/g/meta-ti
|
||||
|
||||
If you are dealing with a not-yet released or urgent issue, please send a
|
||||
message to one of the maintainers listed in the README. Include as many
|
||||
details as possible:
|
||||
- the layer or software module affected
|
||||
- the recipe and its version
|
||||
- any example code, if available
|
||||
|
||||
Branches maintained with security fixes
|
||||
---------------------------------------
|
||||
|
||||
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
|
||||
releases. We only accept patches for the LTS releases and the master branch.
|
||||
@@ -18,10 +18,6 @@ LAYERDEPENDS_meta-ti-bsp = " \
|
||||
meta-arm \
|
||||
"
|
||||
|
||||
BBFILES_DYNAMIC += " \
|
||||
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes*/*/*.bbappend \
|
||||
"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
mesa-pvr \
|
||||
"
|
||||
|
||||
@@ -10,6 +10,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62x-sk-csi2 \
|
||||
ti/k3-am62x-sk-hdmi \
|
||||
ti/k3-am62x-sk-lpm \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -8,9 +8,11 @@ require conf/machine/include/ti-extras.inc
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62-lp \
|
||||
ti/k3-am625-sk \
|
||||
ti/k3-am62x-sk-dmtimer-pwm \
|
||||
ti/k3-am62x-sk-hdmi \
|
||||
ti/k3-am62x-sk-lpm \
|
||||
ti/k3-am62x-sk-mcan \
|
||||
ti/k3-am62x-sk-pwm \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeaglePlay (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_r5.config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_r5.config"
|
||||
14
meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf
Normal file
14
meta-ti-bsp/conf/machine/beagleplay-ti-k3r5.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeaglePlay (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "am62x"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "am62x_beagleplay_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_r5_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_r5.config"
|
||||
46
meta-ti-bsp/conf/machine/beagleplay-ti.conf
Normal file
46
meta-ti-bsp/conf/machine/beagleplay-ti.conf
Normal file
@@ -0,0 +1,46 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeaglePlay (A53)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
|
||||
|
||||
require conf/machine/include/k3.inc
|
||||
require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62xx"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
UBOOT_MACHINE = "am62x_beagleplay_a53_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_a53_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config"
|
||||
|
||||
SPL_BINARY = "tispl.bin_unsigned"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am625-beagle \
|
||||
ti/k3-am625-sk \
|
||||
ti/k3-am62x-sk \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
ti/k3-am625-sk.dtb \
|
||||
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-hdmi-audio.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
@@ -1,96 +0,0 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: BeaglePlay (A53)
|
||||
#@DESCRIPTION: Machine configuration for the BeaglePlay board (A53 core)
|
||||
|
||||
require conf/machine/include/k3.inc
|
||||
require conf/machine/include/mc_k3r5.inc
|
||||
|
||||
SOC_FAMILY:append = ":am62xx"
|
||||
|
||||
MACHINE_FEATURES += "screen gpu"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
require conf/machine/include/mesa-pvr.inc
|
||||
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_6 = "am62x_beagleplay_a53_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_12 = "am62x_beagleplay_a53_defconfig"
|
||||
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-ti-6_1 = "am625_beagleplay_a53.config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-bb_org = "am625_beagleplay_a53.config"
|
||||
UBOOT_CONFIG_FRAGMENTS:bsp-mainline = "beagleplay_a53.config"
|
||||
|
||||
SPL_BINARY:bsp-ti-6_6 = "tispl.bin_unsigned"
|
||||
SPL_BINARYNAME:bsp-ti-6_6 = "tispl.bin"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am625 \
|
||||
ti/k3-am62x-sk \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtbo \
|
||||
ti/k3-am625-phyboard-lyra-rdk.dtb \
|
||||
ti/k3-am625-sk.dtb \
|
||||
ti/k3-am625-verdin-nonwifi-dahlia.dtb \
|
||||
ti/k3-am625-verdin-nonwifi-dev.dtb \
|
||||
ti/k3-am625-verdin-nonwifi-mallow.dtb \
|
||||
ti/k3-am625-verdin-nonwifi-yavia.dtb \
|
||||
ti/k3-am625-verdin-wifi-dahlia.dtb \
|
||||
ti/k3-am625-verdin-wifi-dev.dtb \
|
||||
ti/k3-am625-verdin-wifi-mallow.dtb \
|
||||
ti/k3-am625-verdin-wifi-yavia.dtb \
|
||||
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-hdmi-audio.dtbo \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE:append:bsp-bb_org = " \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am625-beagleplay-lincolntech-lcd185-panel.dtbo \
|
||||
ti/k3-am625-beaglemod.dtb \
|
||||
ti/k3-am625-beaglemod-audio.dtbo \
|
||||
ti/k3-am625-beaglemod-can0.dtbo \
|
||||
ti/k3-am625-beaglemod-can1.dtbo \
|
||||
ti/k3-am625-beaglemod-csi0-ov5640.dtbo \
|
||||
ti/k3-am625-beaglemod-eeprom.dtbo \
|
||||
ti/k3-am625-beaglemod-eth.dtbo \
|
||||
ti/k3-am625-beaglemod-hdmi.dtbo \
|
||||
ti/k3-am625-beaglemod-io-expand.dtbo \
|
||||
ti/k3-am625-beaglemod-lt-lcd185.dtbo \
|
||||
ti/k3-am625-beaglemod-ospi-flash.dtbo \
|
||||
ti/k3-am625-beaglemod-rs485-1.dtbo \
|
||||
ti/k3-am625-beaglemod-rs485-2.dtbo \
|
||||
ti/k3-am625-beaglemod-rtc.dtbo \
|
||||
ti/k3-am625-beaglemod-wl1835.dtbo \
|
||||
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-mcspi-loopback.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \
|
||||
ti/k3-am625-sk-microtips-mf103hie-lcd2.dtbo \
|
||||
ti/k3-am625-sk-pwm.dtbo \
|
||||
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-disable-fastboot.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
"
|
||||
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
@@ -17,6 +17,8 @@ KERNEL_DEVICETREE = " \
|
||||
ti/k3-am654-idk.dtbo \
|
||||
ti/k3-am654-pcie-usb2.dtbo \
|
||||
ti/k3-am654-pcie-usb3.dtbo \
|
||||
ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtbo \
|
||||
ti/k3-am6548-iot2050-advanced-m2-bkey-usb3.dtbo \
|
||||
ti/k3-am6548-iot2050-advanced-m2.dtb \
|
||||
ti/k3-am6548-iot2050-advanced-pg2.dtb \
|
||||
ti/k3-am6548-iot2050-advanced-sm.dtb \
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY:append = ":k3"
|
||||
|
||||
require conf/machine/include/arm/arch-arm64.inc
|
||||
DEFAULTTUNE ?= "aarch64"
|
||||
require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
|
||||
|
||||
require conf/machine/include/ti-bsp.inc
|
||||
|
||||
|
||||
@@ -48,5 +48,6 @@ MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc3
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
||||
WKS_FILE ?= "sdimage-2part.wks"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES}"
|
||||
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} ${UBOOT_EXTLINUX_BOOT_FILES} ipc/dra7-ipu1-fw.xem4;dra7-ipu1-fw.xem4"
|
||||
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
||||
do_image_wic[depends] += "ti-ipc-rtos:do_deploy"
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
# preferences for kernel, bootloader and graphics components, as
|
||||
# well as a dedicated machine override.
|
||||
|
||||
# Supported options are: mainline, next, ti-6_6, ti-6_1, bb_org
|
||||
TI_PREFERRED_BSP ??= "ti-6_6"
|
||||
# Supported options are: mainline, next, ti-6_12, ti-6_6, ti-6_1
|
||||
TI_PREFERRED_BSP ??= "ti-6_12"
|
||||
|
||||
# Use bsp-* namespace for overrides
|
||||
MACHINEOVERRIDES =. "bsp-${TI_PREFERRED_BSP}:"
|
||||
@@ -22,6 +22,9 @@ BSP_BOOTLOADER_VERSION:bsp-mainline = "%"
|
||||
# in mainline, usually present in TI staging or derivative like BB.org
|
||||
MACHINE_FEATURES:remove:bsp-mainline = "gpu"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not available in mainline
|
||||
MACHINE_FEATURES:remove:bsp-mainline = "gc320"
|
||||
|
||||
# ==========
|
||||
# next
|
||||
# upcoming upstream/mainline kernel, u-boot
|
||||
@@ -35,42 +38,53 @@ BSP_BOOTLOADER_VERSION:bsp-next = "%"
|
||||
# in next, usually present in TI staging or derivative like BB.org
|
||||
MACHINE_FEATURES:remove:bsp-next = "gpu"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not available in next
|
||||
MACHINE_FEATURES:remove:bsp-next = "gc320"
|
||||
|
||||
# ==========
|
||||
# ti-6_12
|
||||
# TI staging kernel 6.12, u-boot 2024.10
|
||||
# TI staging kernel 6.12, u-boot 2025.01
|
||||
# ==========
|
||||
BSP_KERNEL_PROVIDER:bsp-ti-6_12 = "linux-ti-staging"
|
||||
BSP_KERNEL_VERSION:bsp-ti-6_12 = "6.12%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-ti-6_12 = "u-boot-ti-staging"
|
||||
BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2024.10%"
|
||||
BSP_BOOTLOADER_VERSION:bsp-ti-6_12 = "2025.01%"
|
||||
|
||||
# GPU support requires out-of-tree SGX and Rogue drivers not available
|
||||
# in 6.12 yet
|
||||
MACHINE_FEATURES:remove:bsp-ti-6_12 = "gpu"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in 6.12
|
||||
MACHINE_FEATURES:remove:bsp-ti-6_12 = "gc320"
|
||||
|
||||
# ==========
|
||||
# ti-6_6
|
||||
# TI staging kernel 6.6, u-boot 2024.04
|
||||
# ==========
|
||||
BSP_KERNEL_PROVIDER:bsp-ti-6_6 = "linux-ti-staging"
|
||||
BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6%"
|
||||
BSP_KERNEL_VERSION:bsp-ti-6_6 = "6.6.%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-ti-6_6 = "u-boot-ti-staging"
|
||||
BSP_BOOTLOADER_VERSION:bsp-ti-6_6 = "2024.04%"
|
||||
|
||||
# Only Rogue is enabled so far, SGX falls back to SW rendering
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-ti-6_6 = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-ti-6_6 = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-ti-6_6 = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_6 = "24%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_6 = "24%"
|
||||
BSP_MESA_PVR_VERSION:bsp-ti-6_6 = "23%"
|
||||
|
||||
# GC320 support requires out-of-tree drivers not yet available in 6.6
|
||||
MACHINE_FEATURES:remove:bsp-ti-6_6 = "gc320"
|
||||
|
||||
# ==========
|
||||
# ti-6_1
|
||||
# TI staging kernel 6.1, u-boot 2023.04
|
||||
# ==========
|
||||
BSP_KERNEL_PROVIDER:bsp-ti-6_1 = "linux-ti-staging"
|
||||
BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1%"
|
||||
BSP_KERNEL_VERSION:bsp-ti-6_1 = "6.1.%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-ti-6_1 = "u-boot-ti-staging"
|
||||
BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023%"
|
||||
BSP_BOOTLOADER_VERSION:bsp-ti-6_1 = "2023.04%"
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-ti-6_1 = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-ti-6_1 = "1.17%"
|
||||
@@ -80,24 +94,8 @@ BSP_ROGUE_DRIVER_VERSION:bsp-ti-6_1 = "23%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-ti-6_1 = "23%"
|
||||
BSP_MESA_PVR_VERSION:bsp-ti-6_1 = "22%"
|
||||
|
||||
# ==========
|
||||
# bb_org
|
||||
# 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 = "linux-bb.org"
|
||||
BSP_KERNEL_VERSION:bsp-bb_org = "%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-bb_org = "u-boot-bb.org"
|
||||
BSP_BOOTLOADER_VERSION:bsp-bb_org = "%"
|
||||
|
||||
BSP_SGX_DRIVER_PROVIDER:bsp-bb_org = "ti-sgx-ddk-km"
|
||||
BSP_SGX_DRIVER_VERSION:bsp-bb_org = "1.17%"
|
||||
BSP_SGX_UMLIBS_VERSION:bsp-bb_org = "1.17%"
|
||||
BSP_ROGUE_DRIVER_PROVIDER:bsp-bb_org = "ti-img-rogue-driver"
|
||||
BSP_ROGUE_DRIVER_VERSION:bsp-bb_org = "23%"
|
||||
BSP_ROGUE_UMLIBS_VERSION:bsp-bb_org = "23%"
|
||||
BSP_MESA_PVR_VERSION:bsp-bb_org = "22%"
|
||||
# GC320 support requires out-of-tree drivers not yet available in 6.1
|
||||
MACHINE_FEATURES:remove:bsp-ti-6_1 = "gc320"
|
||||
|
||||
# ==========
|
||||
# sane fallback defaults
|
||||
@@ -123,7 +121,6 @@ BSP_MESA_PVR_VERSION ?= ""
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "${BSP_KERNEL_PROVIDER}"
|
||||
PREFERRED_VERSION_${BSP_KERNEL_PROVIDER} ?= "${BSP_KERNEL_VERSION}"
|
||||
PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-rt ?= "${BSP_KERNEL_VERSION}"
|
||||
PREFERRED_VERSION_${BSP_KERNEL_PROVIDER}-systest ?= "${BSP_KERNEL_VERSION}"
|
||||
PREFERRED_PROVIDER_virtual/bootloader ?= "${BSP_BOOTLOADER_PROVIDER}"
|
||||
PREFERRED_PROVIDER_u-boot ?= "${BSP_BOOTLOADER_PROVIDER}"
|
||||
PREFERRED_VERSION_${BSP_BOOTLOADER_PROVIDER} ?= "${BSP_BOOTLOADER_VERSION}"
|
||||
|
||||
@@ -10,6 +10,8 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_a53_defconfig"
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
# This is a copy of meta-clang/recipes-graphics/mesa/mesa_%.bbappend required
|
||||
# for llvmpipe when using pvr-mesa since we aren't caught by that glob.
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
LDFLAGS:append:toolchain-clang = " -latomic -lm"
|
||||
DEPENDS:append:toolchain-clang = " libatomic-ops"
|
||||
|
||||
EXTRA_OEMASON:append:toolchain-clang:x86 = " -Dasm=false"
|
||||
EXTRA_OEMASON:append:toolchain-clang:x86-64 = " -Dasm=false"
|
||||
|
||||
export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm-config"
|
||||
|
||||
PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true -Ddraw-use-llvm=true,-Dllvm=false,clang clang-native elfutils"
|
||||
@@ -19,7 +19,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "652ae16657cc4acda664e669d0c9b4891252f37f"
|
||||
SRCREV = "3005cf8145a6720daa47e4e273f9e421ff77cb58"
|
||||
|
||||
TARGET_PRODUCT:omap-a15 = "ti572x_linux"
|
||||
TARGET_PRODUCT:ti33x = "ti335x_linux"
|
||||
@@ -31,6 +31,14 @@ PVR_WS = "lws-generic"
|
||||
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} \
|
||||
WINDOW_SYSTEM=${PVR_WS} PVR_BUILD_DIR=${TARGET_PRODUCT}'
|
||||
|
||||
# There are useful flags here that are interpreted by the final kbuild pass
|
||||
# These variables are not necessary when compiling outside of Yocto
|
||||
export KERNEL_CC
|
||||
export KERNEL_LD
|
||||
export KERNEL_AR
|
||||
export KERNEL_OBJCOPY
|
||||
export KERNEL_STRIP
|
||||
|
||||
do_install() {
|
||||
make -C ${STAGING_KERNEL_DIR} M=${B}/eurasiacon/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_armhf/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install
|
||||
}
|
||||
|
||||
@@ -9,15 +9,15 @@ INC_PR = "r4"
|
||||
# Firmware versions
|
||||
CORESDK_RTOS_VERSION = "08.02.00.04"
|
||||
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
|
||||
PRUETH_FW_AM65X_SR2_VERSION = "02.02.14.03"
|
||||
PRUETH_FW_AM65X_SR2_VERSION = "02.02.15.00"
|
||||
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.5"
|
||||
CNM_WAVE521_FW_VERSION = "1.0.7"
|
||||
TI_DM_FW_VERSION = "10.01.03"
|
||||
TI_SYSFW_VERSION = "10.01.07"
|
||||
TI_SYSFW_VERSION = "10.01.08"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "7179a74d1ed38e581bcd35e7b05632955e962c30"
|
||||
TI_LINUX_FW_SRCREV ?= "7fbc75f80161a400a4b9c618b6191d72ab408def"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
PV:k3 = "2.11+git"
|
||||
SRCREV_tfa:k3 = "f2735ebccf5173f74c0458736ec526276106097e"
|
||||
LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=b5fbfdeb6855162dded31fadcd5d4dc5"
|
||||
SRCREV_tfa:k3 = "58b25570c9ef91753b14c2103f45f4be9dddb696"
|
||||
LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=83b7626b8c7a37263c6a58af8d19bee1"
|
||||
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"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2023.04"
|
||||
|
||||
SRCREV = "0853d7725220d59130d8bcc59d01151cba64ffa0"
|
||||
SRCREV = "0893e693e08f9fc864a6191051dccc818accf933"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2024.04"
|
||||
|
||||
SRCREV = "1d8a15d0fb56ae479dd3c11e3b17d7434b079acd"
|
||||
SRCREV = "29d0c23d67ee7b88e46fe1753cd020e2b04c2ef6"
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
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.10"
|
||||
BRANCH = "ti-u-boot-2025.01"
|
||||
|
||||
SRCREV = "f919c3a889f0ec7d63a48b5d0ed064386b0980bd"
|
||||
SRCREV = "4e9c90ad8b12cc5b4fdd1308bc3ac3e4fc869aab"
|
||||
@@ -0,0 +1,64 @@
|
||||
From bb2db56ffec6e527d88751f75117ae690227cd6c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= <kai@dev.carbon-project.org>
|
||||
Date: Sat, 11 Feb 2023 18:38:01 +0100
|
||||
Subject: [PATCH] fix: gallivm: fix LLVM #include of Host.h, moved to
|
||||
TargetParser
|
||||
|
||||
Upstream moved Host.h from Support to TargetParser in LLVM 17.
|
||||
|
||||
This shouldn't lead to a FTBFS, since there is a forwarding include left
|
||||
behind. Sadly the added deprecation warning #pragma is invalid and thus
|
||||
causes a build failure right away. But since we would have to follow the
|
||||
move anyway in the future, just do it right away.
|
||||
|
||||
Reference: https://github.com/llvm/llvm-project/commit/d768bf994f508d7eaf9541a568be3d71096febf5
|
||||
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
|
||||
Closes: #8275
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21263>
|
||||
|
||||
Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/bb2db56ffec6e527d88751f75117ae690227cd6c]
|
||||
|
||||
---
|
||||
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 7 ++++++-
|
||||
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 4 +++-
|
||||
2 files changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
|
||||
index 54bc5d5ada36c..f78f04f042be8 100644
|
||||
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
|
||||
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
|
||||
@@ -35,9 +35,14 @@
|
||||
#include <llvm-c/Disassembler.h>
|
||||
#include <llvm/Support/raw_ostream.h>
|
||||
#include <llvm/Support/Format.h>
|
||||
-#include <llvm/Support/Host.h>
|
||||
#include <llvm/IR/Module.h>
|
||||
|
||||
+#if LLVM_VERSION_MAJOR >= 17
|
||||
+#include <llvm/TargetParser/Host.h>
|
||||
+#else
|
||||
+#include <llvm/Support/Host.h>
|
||||
+#endif
|
||||
+
|
||||
#include "util/u_math.h"
|
||||
#include "util/u_debug.h"
|
||||
|
||||
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
index 334c13530394b..5e7a30a6cc2e3 100644
|
||||
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
@@ -60,7 +60,11 @@
|
||||
#include <llvm/Analysis/TargetLibraryInfo.h>
|
||||
#include <llvm/ExecutionEngine/SectionMemoryManager.h>
|
||||
#include <llvm/Support/CommandLine.h>
|
||||
+#if LLVM_VERSION_MAJOR >= 17
|
||||
+#include <llvm/TargetParser/Host.h>
|
||||
+#else
|
||||
#include <llvm/Support/Host.h>
|
||||
+#endif
|
||||
#include <llvm/Support/PrettyStackTrace.h>
|
||||
#include <llvm/ExecutionEngine/ObjectCache.h>
|
||||
#include <llvm/Support/TargetSelect.h>
|
||||
|
||||
--
|
||||
GitLab
|
||||
@@ -0,0 +1,52 @@
|
||||
From 6c5033bb01a3a1341d4db5007586a5f2e2727b0a Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Mon, 4 Nov 2024 13:37:29 -0600
|
||||
Subject: [PATCH] gallium: Fix build with llvm 18 and 19
|
||||
|
||||
- CodeGenOpt::Level changed to CodeGenOoptLevel. [1]
|
||||
- llvm::sys::getHostCPUFeatures() now returns the features instead of
|
||||
modifying the passed in argument. [2]
|
||||
|
||||
Upstream-Status: Backport [1][https://gitlab.freedesktop.org/mesa/mesa/-/commit/f79617fe804ea6524651ff1bc3a91098d3199179]
|
||||
Upstream-Status: Backport [2][https://gitlab.freedesktop.org/mesa/mesa/-/commit/fa9cd89a85b904615ebc11da609445b5b751e68d]
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 14 ++++++++++++--
|
||||
1 file changed, 12 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
index 5e7a30a6cc2..dbc777e3096 100644
|
||||
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
@@ -368,7 +368,11 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||
builder.setEngineKind(EngineKind::JIT)
|
||||
.setErrorStr(&Error)
|
||||
.setTargetOptions(options)
|
||||
+#if LLVM_VERSION_MAJOR >= 18
|
||||
+ .setOptLevel((CodeGenOptLevel)OptLevel);
|
||||
+#else
|
||||
.setOptLevel((CodeGenOpt::Level)OptLevel);
|
||||
+#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
/*
|
||||
@@ -392,8 +396,14 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||
* which allows us to enable/disable code generation based
|
||||
* on the results of cpuid on these architectures.
|
||||
*/
|
||||
- llvm::StringMap<bool> features;
|
||||
- llvm::sys::getHostCPUFeatures(features);
|
||||
+ #if LLVM_VERSION_MAJOR >= 19
|
||||
+ /* llvm-19+ returns StringMap from getHostCPUFeatures.
|
||||
+ */
|
||||
+ auto features = llvm::sys::getHostCPUFeatures();
|
||||
+ #else
|
||||
+ llvm::StringMap<bool> features;
|
||||
+ llvm::sys::getHostCPUFeatures(features);
|
||||
+ #endif
|
||||
|
||||
for (StringMapIterator<bool> f = features.begin();
|
||||
f != features.end();
|
||||
--
|
||||
2.17.1
|
||||
@@ -0,0 +1,52 @@
|
||||
From 6c5033bb01a3a1341d4db5007586a5f2e2727b0a Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Mon, 4 Nov 2024 13:37:29 -0600
|
||||
Subject: [PATCH] gallium: Fix build with llvm 18 and 19
|
||||
|
||||
- CodeGenOpt::Level changed to CodeGenOoptLevel. [1]
|
||||
- llvm::sys::getHostCPUFeatures() now returns the features instead of
|
||||
modifying the passed in argument. [2]
|
||||
|
||||
Upstream-Status: Backport [1][https://gitlab.freedesktop.org/mesa/mesa/-/commit/f79617fe804ea6524651ff1bc3a91098d3199179]
|
||||
Upstream-Status: Backport [2][https://gitlab.freedesktop.org/mesa/mesa/-/commit/fa9cd89a85b904615ebc11da609445b5b751e68d]
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 14 ++++++++++++--
|
||||
1 file changed, 12 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
index 5e7a30a6cc2..dbc777e3096 100644
|
||||
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
|
||||
@@ -366,7 +366,11 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||
builder.setEngineKind(EngineKind::JIT)
|
||||
.setErrorStr(&Error)
|
||||
.setTargetOptions(options)
|
||||
+#if LLVM_VERSION_MAJOR >= 18
|
||||
+ .setOptLevel((CodeGenOptLevel)OptLevel);
|
||||
+#else
|
||||
.setOptLevel((CodeGenOpt::Level)OptLevel);
|
||||
+#endif
|
||||
|
||||
#if DETECT_OS_WINDOWS
|
||||
/*
|
||||
@@ -394,8 +398,14 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||
* which allows us to enable/disable code generation based
|
||||
* on the results of cpuid on these architectures.
|
||||
*/
|
||||
- llvm::StringMap<bool> features;
|
||||
- llvm::sys::getHostCPUFeatures(features);
|
||||
+ #if LLVM_VERSION_MAJOR >= 19
|
||||
+ /* llvm-19+ returns StringMap from getHostCPUFeatures.
|
||||
+ */
|
||||
+ auto features = llvm::sys::getHostCPUFeatures();
|
||||
+ #else
|
||||
+ llvm::StringMap<bool> features;
|
||||
+ llvm::sys::getHostCPUFeatures(features);
|
||||
+ #endif
|
||||
|
||||
for (StringMapIterator<bool> f = features.begin();
|
||||
f != features.end();
|
||||
--
|
||||
2.17.1
|
||||
@@ -19,6 +19,8 @@ SRC_URI = " \
|
||||
file://0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch \
|
||||
file://0001-gallium-Fix-build-with-llvm-17.patch \
|
||||
file://0001-fix-gallivm-limit-usage-of-LLVMContextSetOpaquePoint.patch \
|
||||
file://0001-fix-gallivm-fix-LLVM-include-of-Host-h-moved-to-TargetParser.patch \
|
||||
file://0001-gallium-Fix-build-with-llvm-18-and-19.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -16,6 +16,7 @@ SRC_URI = " \
|
||||
file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
|
||||
file://0001-gallium-Fix-build-with-llvm-17.patch \
|
||||
file://0001-meson-Disable-cmake-dependency-detector-for-llvm.patch \
|
||||
file://0001-gallium-Fix-build-with-llvm-18-and-19.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -25,7 +26,7 @@ PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
"
|
||||
|
||||
SRCREV = "b12290126ba6a154f0e8b0a8c8b2b0d64f98e427"
|
||||
SRCREV = "0e75e7ded360ea6aee4140393b30960e152f3994"
|
||||
PV = "23.2.1"
|
||||
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From a51ebf08cec81d84ac258da1c0ead139d6ddc94f Mon Sep 17 00:00:00 2001
|
||||
From: Ryan Eatmon <reatmon@ti.com>
|
||||
Date: Tue, 2 Jul 2024 11:07:14 -0500
|
||||
Subject: [master][PATCH] perf python: Fix compile for 32bit platforms
|
||||
|
||||
The definition for perf_sample is missing on 32bit compiles:
|
||||
|
||||
tools/perf/util/python.c:75:28: error: field 'sample' has incomplete type
|
||||
75 | struct perf_sample sample;
|
||||
|
||||
Adding #include "sample.h" fixes it.
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
|
||||
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
||||
---
|
||||
tools/perf/util/python.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c
|
||||
index 3be882b2e845..de64ca3cf2d1 100644
|
||||
--- a/tools/perf/util/python.c
|
||||
+++ b/tools/perf/util/python.c
|
||||
@@ -1,3 +1,5 @@
|
||||
+#include "sample.h"
|
||||
+
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include <Python.h>
|
||||
#include <structmember.h>
|
||||
--
|
||||
2.17.1
|
||||
@@ -1,56 +0,0 @@
|
||||
From 5f2779dfa7b8cc7dfd4a1b6586d86e0d193266f3 Mon Sep 17 00:00:00 2001
|
||||
From: Arnd Bergmann <arnd@arndb.de>
|
||||
Date: Wed, 18 Jan 2023 09:07:01 +0100
|
||||
Subject: [PATCH] blk-iocost: avoid 64-bit division in ioc_timer_fn
|
||||
|
||||
The behavior of 'enum' types has changed in gcc-13, so now the
|
||||
UNBUSY_THR_PCT constant is interpreted as a 64-bit number because
|
||||
it is defined as part of the same enum definition as some other
|
||||
constants that do not fit within a 32-bit integer. This in turn
|
||||
leads to some inefficient code on 32-bit architectures as well
|
||||
as a link error:
|
||||
|
||||
arm-linux-gnueabi/bin/arm-linux-gnueabi-ld: block/blk-iocost.o: in function `ioc_timer_fn':
|
||||
blk-iocost.c:(.text+0x68e8): undefined reference to `__aeabi_uldivmod'
|
||||
arm-linux-gnueabi-ld: blk-iocost.c:(.text+0x6908): undefined reference to `__aeabi_uldivmod'
|
||||
|
||||
Split the enum definition to keep the 64-bit timing constants in
|
||||
a separate enum type from those constants that can clearly fit
|
||||
within a smaller type.
|
||||
|
||||
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
||||
Acked-by: Tejun Heo <tj@kernel.org>
|
||||
Link: https://lore.kernel.org/r/20230118080706.3303186-1-arnd@kernel.org
|
||||
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
||||
---
|
||||
block/blk-iocost.c | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/block/blk-iocost.c b/block/blk-iocost.c
|
||||
index 6955605629e4..b691b6bb498f 100644
|
||||
--- a/block/blk-iocost.c
|
||||
+++ b/block/blk-iocost.c
|
||||
@@ -258,6 +258,11 @@ enum {
|
||||
VRATE_MIN = VTIME_PER_USEC * VRATE_MIN_PPM / MILLION,
|
||||
VRATE_CLAMP_ADJ_PCT = 4,
|
||||
|
||||
+ /* switch iff the conditions are met for longer than this */
|
||||
+ AUTOP_CYCLE_NSEC = 10LLU * NSEC_PER_SEC,
|
||||
+};
|
||||
+
|
||||
+enum {
|
||||
/* if IOs end up waiting for requests, issue less */
|
||||
RQ_WAIT_BUSY_PCT = 5,
|
||||
|
||||
@@ -296,9 +301,6 @@ enum {
|
||||
/* don't let cmds which take a very long time pin lagging for too long */
|
||||
MAX_LAGGING_PERIODS = 10,
|
||||
|
||||
- /* switch iff the conditions are met for longer than this */
|
||||
- AUTOP_CYCLE_NSEC = 10LLU * NSEC_PER_SEC,
|
||||
-
|
||||
/*
|
||||
* Count IO size in 4k pages. The 12bit shift helps keeping
|
||||
* size-proportional components of cost calculation in closer
|
||||
--
|
||||
2.40.1
|
||||
@@ -1,54 +0,0 @@
|
||||
From ff1cc97b1f4c10db224f276d9615b22835b8c424 Mon Sep 17 00:00:00 2001
|
||||
From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
|
||||
Date: Tue, 13 Dec 2022 13:08:26 +0100
|
||||
Subject: [PATCH] block/blk-iocost (gcc13): keep large values in a new enum
|
||||
|
||||
Since gcc13, each member of an enum has the same type as the enum [1]. And
|
||||
that is inherited from its members. Provided:
|
||||
VTIME_PER_SEC_SHIFT = 37,
|
||||
VTIME_PER_SEC = 1LLU << VTIME_PER_SEC_SHIFT,
|
||||
...
|
||||
AUTOP_CYCLE_NSEC = 10LLU * NSEC_PER_SEC,
|
||||
the named type is unsigned long.
|
||||
|
||||
This generates warnings with gcc-13:
|
||||
block/blk-iocost.c: In function 'ioc_weight_prfill':
|
||||
block/blk-iocost.c:3037:37: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int'
|
||||
|
||||
block/blk-iocost.c: In function 'ioc_weight_show':
|
||||
block/blk-iocost.c:3047:34: error: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int'
|
||||
|
||||
So split the anonymous enum with large values to a separate enum, so
|
||||
that they don't affect other members.
|
||||
|
||||
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36113
|
||||
|
||||
Cc: Martin Liska <mliska@suse.cz>
|
||||
Cc: Tejun Heo <tj@kernel.org>
|
||||
Cc: Josef Bacik <josef@toxicpanda.com>
|
||||
Cc: Jens Axboe <axboe@kernel.dk>
|
||||
Cc: cgroups@vger.kernel.org
|
||||
Cc: linux-block@vger.kernel.org
|
||||
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
|
||||
Link: https://lore.kernel.org/r/20221213120826.17446-1-jirislaby@kernel.org
|
||||
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
||||
---
|
||||
block/blk-iocost.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/block/blk-iocost.c b/block/blk-iocost.c
|
||||
index d1bdc12deaa7..549ddc9e0c6f 100644
|
||||
--- a/block/blk-iocost.c
|
||||
+++ b/block/blk-iocost.c
|
||||
@@ -232,7 +232,9 @@ enum {
|
||||
|
||||
/* 1/64k is granular enough and can easily be handled w/ u32 */
|
||||
WEIGHT_ONE = 1 << 16,
|
||||
+};
|
||||
|
||||
+enum {
|
||||
/*
|
||||
* As vtime is used to calculate the cost of each IO, it needs to
|
||||
* be fairly high precision. For example, it should be able to
|
||||
--
|
||||
2.40.1
|
||||
@@ -13,9 +13,9 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.11 Mainline version
|
||||
SRCREV = "fa7818b3a6dd56c7956f515d287ed9f80c7bf59a"
|
||||
PV = "6.11"
|
||||
# 6.12 Mainline version
|
||||
SRCREV = "adc218676eef25575469234709c2d87185ca223a"
|
||||
PV = "6.12"
|
||||
|
||||
KERNEL_GIT_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
|
||||
BRANCH = "master"
|
||||
@@ -24,6 +24,7 @@ KERNEL_DEFCONFIG = ""
|
||||
|
||||
KERNEL_REPRODUCIBILITY_PATCHES = " \
|
||||
file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
|
||||
file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \
|
||||
"
|
||||
|
||||
DEFCONFIG_NAME = "multi_v7_defconfig"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_arm64_prune.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_rt.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config kernel/configs/ti_rt.config
|
||||
|
||||
@@ -8,8 +8,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
|
||||
BRANCH = "ti-rt-linux-6.1.y"
|
||||
|
||||
SRCREV = "451df8c0a2a3bcf0656b2f6fdc49d6fb4d05f186"
|
||||
SRCREV = "194ebd939bee3ffff36de9cf8dff28a77c671f5b"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.1.105+git"
|
||||
PV = "6.1.112+git"
|
||||
|
||||
@@ -8,8 +8,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
|
||||
|
||||
BRANCH = "ti-rt-linux-6.6.y"
|
||||
|
||||
SRCREV = "71c08e13f47a4b7e5fa65f1219544ae059b0efc7"
|
||||
SRCREV = "c79d7ef3a56ff61dd83d5527520b419a4f0e32e2"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.6.44+git"
|
||||
PV = "6.6.58+git"
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
@@ -1,2 +0,0 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=kernel/configs/ti_arm64_prune.config
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=davinci_all_defconfig
|
||||
@@ -1,2 +0,0 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=
|
||||
@@ -1,2 +0,0 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=davinci_all_defconfig
|
||||
@@ -1,2 +0,0 @@
|
||||
use-kernel-config=multi_v7_defconfig
|
||||
config-fragment=kernel/configs/ti_multi_v7_prune.config
|
||||
@@ -1,2 +0,0 @@
|
||||
use-kernel-config=defconfig
|
||||
config-fragment=kernel/configs/ti_arm64_prune.config
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=davinci_all_defconfig
|
||||
@@ -1,5 +0,0 @@
|
||||
require linux-ti-staging_6.1.bb
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
@@ -1,7 +0,0 @@
|
||||
require linux-ti-staging_6.12.bb
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.12:"
|
||||
@@ -1,5 +0,0 @@
|
||||
require linux-ti-staging_6.6.bb
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
|
||||
@@ -23,8 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.1.y"
|
||||
|
||||
SRCREV ?= "92ce8d7d2ab679e10c1dda309a0fb2ceae78b908"
|
||||
PV = "6.1.105+git"
|
||||
SRCREV ?= "4ef41ca7ad952c7b13b7e40808ab1025796f9a6c"
|
||||
PV = "6.1.112+git"
|
||||
|
||||
# Special configuration for remoteproc/rpmsg IPC modules
|
||||
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
|
||||
|
||||
@@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||
inherit ti-secdev
|
||||
inherit kernel
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/ti-kernel.inc
|
||||
include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
|
||||
@@ -25,8 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.12.y"
|
||||
|
||||
SRCREV ?= "b0e715522353879e6c3c1b56dafad6fb681b1e55"
|
||||
PV = "6.12.0+git"
|
||||
SRCREV ?= "8906665ace32eb0dc12810667ee8646bd660c374"
|
||||
PV = "6.12.9+git"
|
||||
|
||||
# Special configuration for remoteproc/rpmsg IPC modules
|
||||
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
|
||||
|
||||
@@ -23,8 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.6.y"
|
||||
|
||||
SRCREV ?= "126a8167b5915c6014b6a7d2b3bc710b040739b6"
|
||||
PV = "6.6.44+git"
|
||||
SRCREV ?= "a7758da17c2807e5285d6546b6797aae1d34a7d6"
|
||||
PV = "6.6.58+git"
|
||||
|
||||
KERNEL_REPRODUCIBILITY_PATCHES = " \
|
||||
file://0001-vt-conmakehash-improve-reproducibility.patch \
|
||||
|
||||
@@ -6,7 +6,7 @@ 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: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:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:j722s = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ INC_PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_HOST ?= "null"
|
||||
COMPATIBLE_HOST:ti-soc = "(.*)"
|
||||
COMPATIBLE_HOST:ti-soc = ".*-linux"
|
||||
|
||||
PLATFORM = "UNKNOWN"
|
||||
PLATFORM:dra7xx = "DRA7XX"
|
||||
|
||||
@@ -18,7 +18,7 @@ SRC_URI += "file://tiipclad-daemon.sh \
|
||||
file://0001-MmRpc-Stop-looking-for-rpmsg_rpc.h-in-the-kernel.patch \
|
||||
"
|
||||
|
||||
CFLAGS += "-I${WORKDIR} -fdebug-prefix-map=${UNPACKDIR}=${TARGET_DBGSRC_DIR}"
|
||||
CFLAGS += "-I${WORKDIR} -fdebug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}"
|
||||
|
||||
DAEMON = "UNKNOWN"
|
||||
DAEMON:dra7xx = "lad_dra7xx"
|
||||
|
||||
20
meta-ti-extras/SECURITY
Normal file
20
meta-ti-extras/SECURITY
Normal file
@@ -0,0 +1,20 @@
|
||||
How to Report a Potential Vulnerability?
|
||||
========================================
|
||||
|
||||
If you would like to report a public issue (for example, one with a released
|
||||
CVE number), please report it to the mailing list:
|
||||
|
||||
https://lists.yoctoproject.org/g/meta-ti
|
||||
|
||||
If you are dealing with a not-yet released or urgent issue, please send a
|
||||
message to one of the maintainers listed in the README. Include as many
|
||||
details as possible:
|
||||
- the layer or software module affected
|
||||
- the recipe and its version
|
||||
- any example code, if available
|
||||
|
||||
Branches maintained with security fixes
|
||||
---------------------------------------
|
||||
|
||||
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
|
||||
releases. We only accept patches for the LTS releases and the master branch.
|
||||
@@ -65,3 +65,12 @@ ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGE
|
||||
ALTERNATIVE_PRIORITY = "20"
|
||||
|
||||
FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
|
||||
|
||||
# Disable the "buildpaths" check while we figure out how we are
|
||||
# going to address this issue.
|
||||
#
|
||||
# The ti-cgt-arm compiler is a custom TI compiler. It does not
|
||||
# currently support reproducible builds and is provided via a
|
||||
# binary blob download that we cannot patch in the recipe to address
|
||||
# the issue.
|
||||
INSANE_SKIP:${PN} += "buildpaths"
|
||||
|
||||
@@ -8,7 +8,7 @@ DEPENDS = "libdrm ti-ipc"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/omapzoom/libdce.git;protocol=https;branch=master"
|
||||
|
||||
SRCREV = "ec14e1d5cea1ed3c3ea0e2b9cf1fd581acff93e3"
|
||||
SRCREV = "182aea18596eb2b3a82cffc536a6404f5000fb30"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
|
||||
|
||||
@@ -11,7 +11,6 @@ DEPENDS = "ti-cgt6x-native \
|
||||
ti-xdctools-native \
|
||||
ti-sysbios \
|
||||
doxygen-native \
|
||||
zip-native \
|
||||
swtools"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -57,19 +56,6 @@ do_install() {
|
||||
rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib
|
||||
}
|
||||
|
||||
inherit deploy
|
||||
addtask deploy before do_build after do_install
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}
|
||||
# zip up files in ${D}${DSPLIB_INSTALL_DIR_RECIPE}
|
||||
# and place the zip file in ${DEPLOYDIR}
|
||||
mkdir ./${DSPLIB_PACKAGE_NAME}
|
||||
cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/. ./${DSPLIB_PACKAGE_NAME}
|
||||
zip -9 -y -r -q ${DEPLOYDIR}/${DSPLIB_PACKAGE_NAME}.zip ./${DSPLIB_PACKAGE_NAME}
|
||||
rm -r ./${DSPLIB_PACKAGE_NAME}
|
||||
}
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
FILES:${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}"
|
||||
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
From cca4fd812959a0cd241dd3bbebfd461ece94c9b8 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denis@denix.org>
|
||||
Date: Mon, 29 Mar 2021 19:42:00 -0400
|
||||
Subject: [PATCH] examples/ClusterMgr: sys_errlist[] has been deprecated in
|
||||
glibc
|
||||
|
||||
Use strerror() instead.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
|
||||
---
|
||||
src/examples/templates/ex46_graph/manager/ClusterMgr.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/examples/templates/ex46_graph/manager/ClusterMgr.c b/src/examples/templates/ex46_graph/manager/ClusterMgr.c
|
||||
index 19216c9..a1fa679 100644
|
||||
--- a/src/examples/templates/ex46_graph/manager/ClusterMgr.c
|
||||
+++ b/src/examples/templates/ex46_graph/manager/ClusterMgr.c
|
||||
@@ -714,7 +714,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait)
|
||||
pid = fork();
|
||||
|
||||
if (pid == -1) {
|
||||
- LOG "CM_system: fork error: %s\n", sys_errlist[errno] LOGF
|
||||
+ LOG "CM_system: fork error: %s\n", strerror(errno) LOGF
|
||||
status = -1;
|
||||
goto leave;
|
||||
}
|
||||
@@ -739,7 +739,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait)
|
||||
else {
|
||||
/* overlay a new executable */
|
||||
execvp(argv[0], argv);
|
||||
- LOG "CM_system: execvp error: %s\n", sys_errlist[errno] LOGF
|
||||
+ LOG "CM_system: execvp error: %s\n", strerror(errno) LOGF
|
||||
status = -1;
|
||||
}
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios"
|
||||
require ti-ipc-examples.inc
|
||||
|
||||
SRC_URI += "file://0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch;patchdir=../git/ipc-examples"
|
||||
|
||||
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
|
||||
|
||||
do_compile:append() {
|
||||
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
fi
|
||||
oe_runmake -C examples all HOSTOS="linux" \
|
||||
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake -C examples all HOSTOS="linux" \
|
||||
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
PLATFORM="${ALT_PLATFORM}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
cd ${S_ipc-examples}/src
|
||||
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
# Install directory for linux examples
|
||||
install -d ${D}${bindir}/ipc/examples
|
||||
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
|
||||
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
|
||||
HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \
|
||||
PLATFORM="${ALT_PLATFORM}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
FILES:${PN} += "${bindir}/*"
|
||||
@@ -1,31 +0,0 @@
|
||||
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC"
|
||||
require recipes-ti/ipc/ti-ipc-common.inc
|
||||
require ti-ipc-rtos.inc
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a"
|
||||
|
||||
INSANE_SKIP:${PN} += "arch"
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
|
||||
|
||||
do_compile() {
|
||||
|
||||
cd ${S_ipc-examples}/src
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake .examples "PLATFORM=${alt_platform}" \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${S_ipc-examples}/src
|
||||
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
|
||||
}
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
@@ -1,44 +0,0 @@
|
||||
DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
|
||||
require ti-ipc-examples.inc
|
||||
|
||||
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
|
||||
|
||||
do_compile:append() {
|
||||
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
done
|
||||
oe_runmake -C examples all HOSTOS="bios" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}"
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake -C examples all HOSTOS="bios" \
|
||||
IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
# Install directory for bios examples
|
||||
install -d ${D}/ipc_${IPC_VERSION}/examples/bios
|
||||
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
|
||||
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
|
||||
|
||||
for alt_platform in ${ALT_PLATFORM}; do
|
||||
oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
|
||||
PLATFORM="${alt_platform}"
|
||||
oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
|
||||
HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \
|
||||
PLATFORM="${alt_platform}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
FILES:${PN} += "ipc_*"
|
||||
@@ -2,6 +2,9 @@ require recipes-ti/ipc/ti-ipc.inc
|
||||
require recipes-ti/ipc/ti-ipc-common.inc
|
||||
require ti-ipc-rtos.inc
|
||||
|
||||
inherit deploy
|
||||
inherit update-alternatives
|
||||
|
||||
DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
|
||||
|
||||
PACKAGES =+ "${PN}-fw"
|
||||
@@ -78,27 +81,35 @@ KFPLAT = ""
|
||||
|
||||
ALTERNATIVE_PRIORITY = "5"
|
||||
|
||||
pkg_postinst:${PN}-fw:omap-a15 () {
|
||||
update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY}
|
||||
ALTERNATIVE:${PN}-fw:omapl138 = "rproc-dsp-fw"
|
||||
ALTERNATIVE:${PN}-fw:omap-a15 = "dra7-dsp1-fw.xe66 \
|
||||
dra7-dsp2-fw.xe66 \
|
||||
dra7-ipu1-fw.xem4 \
|
||||
dra7-ipu2-fw.xem4 \
|
||||
"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[rproc-dsp-fw] = "${nonarch_base_libdir}/firmware/rproc-dsp-fw"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp1-fw.xe66"
|
||||
ALTERNATIVE_LINK_NAME[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp2-fw.xe66"
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu1-fw.xem4"
|
||||
ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu2-fw.xem4"
|
||||
|
||||
ALTERNATIVE_TARGET[rproc-dsp-fw] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674"
|
||||
ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66"
|
||||
ALTERNATIVE_TARGET[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66"
|
||||
ALTERNATIVE_TARGET[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4"
|
||||
ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4"
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}
|
||||
}
|
||||
|
||||
pkg_postrm:${PN}-fw:omap-a15 () {
|
||||
update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66
|
||||
update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66
|
||||
update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4
|
||||
update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4
|
||||
do_deploy:append:omap-a15() {
|
||||
install -d ${DEPLOYDIR}/ipc
|
||||
install -m 0644 ${S}/packages/ti/ipc/tests/bin/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${DEPLOYDIR}/ipc/dra7-ipu1-fw.xem4
|
||||
}
|
||||
|
||||
pkg_postinst:${PN}-fw:omapl138 () {
|
||||
update-alternatives --install /lib/firmware/rproc-dsp-fw rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 ${ALTERNATIVE_PRIORITY}
|
||||
}
|
||||
|
||||
pkg_postrm:${PN}-fw:omapl138 () {
|
||||
update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
|
||||
}
|
||||
addtask deploy after do_install
|
||||
|
||||
# Disable the "buildpaths" check while we figure out how we are
|
||||
# going to address this issue.
|
||||
|
||||
@@ -11,7 +11,6 @@ DEPENDS = "ti-cgt6x-native \
|
||||
ti-xdctools-native \
|
||||
ti-sysbios \
|
||||
doxygen-native \
|
||||
zip-native \
|
||||
swtools"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -56,19 +55,6 @@ do_install() {
|
||||
rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib
|
||||
}
|
||||
|
||||
inherit deploy
|
||||
addtask deploy before do_build after do_install
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}
|
||||
# zip up files in ${D}${MATHLIB_INSTALL_DIR_RECIPE}
|
||||
# and place the zip file in ${DEPLOYDIR}
|
||||
mkdir ./${MATHLIB_PACKAGE_NAME}
|
||||
cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/. ./${MATHLIB_PACKAGE_NAME}
|
||||
zip -9 -y -r -q ${DEPLOYDIR}/${MATHLIB_PACKAGE_NAME}.zip ./${MATHLIB_PACKAGE_NAME}
|
||||
rm -r ./${MATHLIB_PACKAGE_NAME}
|
||||
}
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
FILES:${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user