mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
71 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8aaaebbab | ||
|
|
211b4b46b0 | ||
|
|
969eaa1303 | ||
|
|
c4b39ba6af | ||
|
|
31153f722b | ||
|
|
2d0978193c | ||
|
|
13b691a9bc | ||
|
|
0261a91978 | ||
|
|
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 | ||
|
|
156b054b33 | ||
|
|
52c5d383ec | ||
|
|
9b0da26b3b | ||
|
|
8c88422367 | ||
|
|
7c2ede094f | ||
|
|
0727cfb4c3 | ||
|
|
ed304b22e1 | ||
|
|
3086738d4e | ||
|
|
320b9e5dd8 | ||
|
|
cf6400520e | ||
|
|
9757032847 | ||
|
|
dc78e06a6b |
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,17 +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"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
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 \
|
||||
"
|
||||
|
||||
@@ -12,6 +12,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am62a7-phyboard-lyra-rdk.dtb \
|
||||
ti/k3-am62a7-sk.dtb \
|
||||
ti/k3-am62x-sk-csi2-imx219.dtbo \
|
||||
ti/k3-am62x-sk-csi2-ov5640.dtbo \
|
||||
|
||||
19
meta-ti-bsp/conf/machine/am62lxx-evm.conf
Normal file
19
meta-ti-bsp/conf/machine/am62lxx-evm.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM62L EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM62L EVM
|
||||
|
||||
require conf/machine/include/am62lxx.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubifs ubi"
|
||||
|
||||
MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8000"
|
||||
|
||||
UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62l \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
UBOOT_MACHINE = "am62lx_evm_defconfig"
|
||||
@@ -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 = " \
|
||||
|
||||
@@ -14,6 +14,7 @@ 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 \
|
||||
|
||||
@@ -8,12 +8,15 @@ 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 = " \
|
||||
ti/k3-am62-lp-sk-nand.dtbo \
|
||||
ti/k3-am62-lp-sk.dtb \
|
||||
ti/k3-am625-sk.dtb \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
|
||||
@@ -8,9 +8,7 @@ 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 = "am62x_beagleplay_r5_defconfig"
|
||||
UBOOT_MACHINE:bsp-ti-6_1 = "am62x_evm_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"
|
||||
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,94 +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_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-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"
|
||||
12
meta-ti-bsp/conf/machine/include/am62lxx.inc
Normal file
12
meta-ti-bsp/conf/machine/include/am62lxx.inc
Normal file
@@ -0,0 +1,12 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY:append = ":am62lxx"
|
||||
|
||||
MACHINE_FEATURES += "screen"
|
||||
|
||||
# Default tiboot3.bin on AM62L is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-am62lx-hs-fs-evm.bin"
|
||||
|
||||
TFA_BOARD = "am62l"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
OPTEEMACHINE = "k3-am62lx"
|
||||
@@ -6,12 +6,15 @@ SOC_FAMILY:append = ":am64xx"
|
||||
KERNEL_DEVICETREE_PREFIX = "ti/k3-am642"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am642-evm-icssg1-dualemac-mii.dtbo \
|
||||
ti/k3-am642-evm-icssg1-dualemac.dtbo \
|
||||
ti/k3-am642-evm-nand.dtbo \
|
||||
ti/k3-am642-evm.dtb \
|
||||
ti/k3-am642-hummingboard-t-pcie.dtbo \
|
||||
ti/k3-am642-hummingboard-t-usb3.dtbo \
|
||||
ti/k3-am642-hummingboard-t.dtb \
|
||||
ti/k3-am642-phyboard-electra-gpio-fan.dtbo \
|
||||
ti/k3-am642-phyboard-electra-pcie-usb2.dtbo \
|
||||
ti/k3-am642-phyboard-electra-rdk.dtb \
|
||||
ti/k3-am642-sk.dtb \
|
||||
ti/k3-am642-tqma64xxl-mbax4xxl.dtb \
|
||||
|
||||
@@ -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,55 +22,69 @@ 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
|
||||
# ==========
|
||||
BSP_KERNEL_PROVIDER:bsp-next = "linux-ti-next"
|
||||
BSP_KERNEL_VERSION:bsp-next = "%"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-mainline"
|
||||
BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-next"
|
||||
BSP_BOOTLOADER_VERSION:bsp-next = "%"
|
||||
|
||||
# GPU support requires out-of-tree SGX and Rogue drivers not available
|
||||
# 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}"
|
||||
|
||||
@@ -12,6 +12,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-evm-gesi-exp-board.dtbo \
|
||||
ti/k3-j721e-evm-pcie0-ep.dtbo \
|
||||
|
||||
@@ -7,9 +7,12 @@ require conf/machine/include/j722s.inc
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j722s \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-j7200-evm-mcspi-loopback \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j722s-evm.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "j722s_evm_a53_defconfig"
|
||||
|
||||
@@ -19,6 +19,9 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am69-sk.dtb \
|
||||
ti/k3-j784s4-evm-pcie0-pcie1-ep.dtbo \
|
||||
ti/k3-j784s4-evm-quad-port-eth-exp1.dtbo \
|
||||
ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtbo \
|
||||
ti/k3-j784s4-evm.dtb \
|
||||
"
|
||||
|
||||
|
||||
@@ -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 = "2cb2c9609b7740cb2c348e669a96f26e1cc858da"
|
||||
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
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62lxx = "am62lxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
DM_FW_DIR = "ti-dm/${PLAT_SFX}"
|
||||
@@ -50,6 +51,7 @@ DM_FW_LIST:am65xx = ""
|
||||
DM_FW_LIST:am64xx = ""
|
||||
DM_FW_LIST:am62xx = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:am62axx = "${DM_FIRMWARE}"
|
||||
DM_FW_LIST:am62lxx = ""
|
||||
DM_FW_LIST:am62pxx = "${DM_FIRMWARE}"
|
||||
|
||||
do_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.4"
|
||||
TI_DM_FW_VERSION = "10.00.05"
|
||||
TI_SYSFW_VERSION = "10.01.01"
|
||||
CNM_WAVE521_FW_VERSION = "1.0.7"
|
||||
TI_DM_FW_VERSION = "10.01.03"
|
||||
TI_SYSFW_VERSION = "10.01.08"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "ddb9cc251ace41dfad6650390f82e4a389d3967e"
|
||||
TI_LINUX_FW_SRCREV ?= "5eb6ab596437555386df84e031887963e5e3a3b7"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
@@ -26,4 +26,10 @@ do_deploy:k3r5() {
|
||||
install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw
|
||||
}
|
||||
|
||||
do_deploy:am62lxx(){
|
||||
install -d ${DEPLOYDIR}/ti-sysfw
|
||||
install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw
|
||||
install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw
|
||||
}
|
||||
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
PV:k3 = "2.11+git"
|
||||
SRCREV_tfa:k3 = "f2735ebccf5173f74c0458736ec526276106097e"
|
||||
LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=b5fbfdeb6855162dded31fadcd5d4dc5"
|
||||
SRC_URI:k3 = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master"
|
||||
PV:k3 = "2.12+git"
|
||||
SRCREV_tfa:k3 = "5227171c079d0c7d22a6d37b5cec079c8c5bb4b1"
|
||||
LIC_FILES_CHKSUM:k3 = "file://docs/license.rst;md5=1118e32884721c0be33267bd7ae11130"
|
||||
SRC_URI:k3 = "git://github.com/TexasInstruments/arm-trusted-firmware.git;protocol=https;name=tfa;branch=ti-master"
|
||||
COMPATIBLE_MACHINE:k3 = "k3"
|
||||
TFA_BUILD_TARGET:k3 = "all"
|
||||
TFA_INSTALL_TARGET:k3 = "bl31"
|
||||
TFA_SPD:k3 = "opteed"
|
||||
|
||||
# For am62lxx, install bl1 & bl31 using TFA_INSTALL_TARGET
|
||||
TFA_INSTALL_TARGET:am62lxx = "bl31 bl1"
|
||||
|
||||
EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}"
|
||||
EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}"
|
||||
|
||||
@@ -1,16 +1,9 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
PR = "r0"
|
||||
SUMMARY = "Mainline U-Boot for TI devices"
|
||||
|
||||
PV = "2024.07"
|
||||
PV = "2025.01"
|
||||
|
||||
# For the un-initiated:
|
||||
# The actual URL you'd use with a git clone for example would be:
|
||||
# https://source.denx.de/u-boot/u-boot.git/
|
||||
# However, in the context of OE, we have to explicitly split things up:
|
||||
# a) we want it to use git fetcher - hence git:// prefix in GIT_URI (if we
|
||||
# used https here, we'd endup attempting wget instead of git)
|
||||
# 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 = "3f772959501c99fbe5aa0b22a36efe3478d1ae1c"
|
||||
|
||||
SRCREV = "6d41f0a39d6423c8e57e92ebbe9f8c0333a63f72"
|
||||
|
||||
5
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-next_git.bb
Normal file
5
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-next_git.bb
Normal file
@@ -0,0 +1,5 @@
|
||||
require u-boot-ti-mainline_git.bb
|
||||
|
||||
SUMMARY = "U-Boot master-next for TI devices"
|
||||
|
||||
BRANCH = "master-next"
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2023.04"
|
||||
|
||||
SRCREV = "7044504f44002fe46b4598420852033d335d56c7"
|
||||
SRCREV = "0893e693e08f9fc864a6191051dccc818accf933"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2024.04"
|
||||
|
||||
SRCREV = "cdac8b4cd3cc1d1e9ac6354c1cfe03ddbbdf01fa"
|
||||
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 = "9cfe0cab3bf135a505e1e163ca442a4e4064d58e"
|
||||
SRCREV = "e718bbcec3ebf663c021839753034a224be4cc53"
|
||||
@@ -21,8 +21,9 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
|
||||
|
||||
BRANCH ?= "master"
|
||||
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}"
|
||||
UBOOT_GIT_PROTOCOL ?= "https"
|
||||
UBOOT_GIT_BRANCH ?= "branch=${BRANCH}"
|
||||
SRC_URI = "${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};${UBOOT_GIT_BRANCH}"
|
||||
|
||||
PV:append = "+git"
|
||||
|
||||
@@ -52,8 +53,10 @@ PLAT_SFX:am65xx = "am65xx"
|
||||
PLAT_SFX:am64xx = "am64xx"
|
||||
PLAT_SFX:am62xx = "am62xx"
|
||||
PLAT_SFX:am62axx = "am62axx"
|
||||
PLAT_SFX:am62lxx = "am62lxx"
|
||||
PLAT_SFX:am62pxx = "am62pxx"
|
||||
|
||||
PACKAGECONFIG[ap-trusted-rom] = "BL1=${STAGING_DIR_HOST}/firmware/bl1.bin,,trusted-firmware-a"
|
||||
PACKAGECONFIG[atf] = "BL31=${STAGING_DIR_HOST}/firmware/bl31.bin,,trusted-firmware-a"
|
||||
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/bl32.bin,,optee-os"
|
||||
PACKAGECONFIG[dm] = "DM=${STAGING_DIR_HOST}${nonarch_base_libdir}/firmware/ti-dm/${PLAT_SFX}/${DM_FIRMWARE},,ti-dm-fw"
|
||||
@@ -67,6 +70,7 @@ PACKAGECONFIG:append:j722s = " dm"
|
||||
PACKAGECONFIG:append:j742s2 = " dm"
|
||||
PACKAGECONFIG:append:am62xx = " dm"
|
||||
PACKAGECONFIG:append:am62axx = " dm"
|
||||
PACKAGECONFIG:append:am62lxx = " ap-trusted-rom"
|
||||
PACKAGECONFIG:append:am62pxx = " dm"
|
||||
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
@@ -225,6 +229,16 @@ uboot_deploy_config:append:k3r5 () {
|
||||
done
|
||||
}
|
||||
|
||||
uboot_deploy_config:append:am62lxx () {
|
||||
for f in ${B}/${config}/tiboot3-*.bin; do
|
||||
if [ -f "$f" ]; then
|
||||
f_base=$(basename $f)
|
||||
install -m 644 $f ${DEPLOYDIR}/${f_base}-${type}
|
||||
ln -sf ${f_base}-${type} ${DEPLOYDIR}/${f_base}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
uboot_deploy:append:k3r5 () {
|
||||
for f in ${B}/tiboot3-*.bin; do
|
||||
if [ -f "$f" ]; then
|
||||
@@ -239,6 +253,14 @@ uboot_deploy:append:k3r5 () {
|
||||
done
|
||||
}
|
||||
|
||||
uboot_deploy:append:am62lxx () {
|
||||
for f in ${B}/tiboot3*.bin; do
|
||||
if [ -f "$f" ]; then
|
||||
install -m 644 $f ${DEPLOYDIR}/
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
uboot_deploy_config:append () {
|
||||
cd ${DEPLOYDIR}
|
||||
if [ "x${SPL_UART_BINARY}" != "x" ]; then
|
||||
|
||||
@@ -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"
|
||||
@@ -28,7 +30,7 @@ PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
"
|
||||
|
||||
SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
|
||||
SRCREV = "c9f0919367589b38f5682183846de9d60eec082d"
|
||||
PV = "22.3.5"
|
||||
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -14,7 +14,7 @@ PR = "r3"
|
||||
|
||||
BRANCH = "linuxws/scarthgap/k6.6/${PV}"
|
||||
SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-umlibs.git;protocol=https;branch=${BRANCH}"
|
||||
SRCREV = "707e042ee632f61c1f931402d8fc491358598373"
|
||||
SRCREV = "ba93a3e38c683ccb03a7cf8f2e7dffe2f9cbcf1c"
|
||||
S = "${WORKDIR}/git/targetfs/${TARGET_PRODUCT}/${PVR_WS}/${PVR_BUILD}"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
|
||||
@@ -13,7 +13,7 @@ BRANCH = "${PV}/mesa/glibc-2.35"
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git;protocol=https;branch=${BRANCH} \
|
||||
"
|
||||
SRCREV = "70364424dd496833fad5b243c9e6cc8b077f04ac"
|
||||
SRCREV = "84a396a4fb379f10931421e489ac8a199d6a9f2c"
|
||||
|
||||
INITSCRIPT_NAME = "rc.pvr"
|
||||
INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
@@ -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,11 +13,19 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.10 Mainline version
|
||||
SRCREV = "d04e483db22823c13c0313b7c43a52529a2e2672"
|
||||
PV = "6.10"
|
||||
# 6.12 Mainline version
|
||||
SRCREV = "adc218676eef25575469234709c2d87185ca223a"
|
||||
PV = "6.12"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=https;branch=master"
|
||||
KERNEL_GIT_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
|
||||
BRANCH = "master"
|
||||
|
||||
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"
|
||||
DEFCONFIG_NAME:omapl138 = "davinci_all_defconfig"
|
||||
|
||||
@@ -8,4 +8,6 @@ include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('
|
||||
SRCREV = "6465e260f48790807eef06b583b38ca9789b6072"
|
||||
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"
|
||||
KERNEL_GIT_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git"
|
||||
|
||||
KERNEL_REPRODUCIBILITY_PATCHES = ""
|
||||
|
||||
@@ -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 = "258616ead12edc4acf7ac38e741d588b372144e4"
|
||||
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 = "517163f797b81a8277a000d6a1c9dfd89b3711b8"
|
||||
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,13 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.1.y"
|
||||
|
||||
SRCREV ?= "da449d8c3cf600b0346a6696e1e3cc431422e765"
|
||||
PV = "6.1.105+git"
|
||||
|
||||
KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL = "https"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig"
|
||||
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,13 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.12.y"
|
||||
|
||||
SRCREV ?= "8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b"
|
||||
PV = "6.12.0+git"
|
||||
|
||||
KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL = "https"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig"
|
||||
SRCREV ?= "c9e21a1ebd757f2b4487035382bbf65299cf8170"
|
||||
PV = "6.12.9+git"
|
||||
|
||||
# Special configuration for remoteproc/rpmsg IPC modules
|
||||
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
|
||||
|
||||
@@ -23,13 +23,12 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.6.y"
|
||||
|
||||
SRCREV ?= "32ae7316ddc6d9b6bb0d87706cf7daa44c4c1e92"
|
||||
PV = "6.6.44+git"
|
||||
SRCREV ?= "a7758da17c2807e5285d6546b6797aae1d34a7d6"
|
||||
PV = "6.6.58+git"
|
||||
|
||||
KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL = "https"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig"
|
||||
KERNEL_REPRODUCIBILITY_PATCHES = " \
|
||||
file://0001-vt-conmakehash-improve-reproducibility.patch \
|
||||
"
|
||||
|
||||
# Special configuration for remoteproc/rpmsg IPC modules
|
||||
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
|
||||
|
||||
@@ -13,19 +13,16 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
|
||||
KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
|
||||
KERNEL_DTBVENDORED = "1"
|
||||
|
||||
KERNEL_PATCHES = ""
|
||||
KERNEL_GIT_URI ?= "git://git.ti.com/git/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL ?= "https"
|
||||
KERNEL_GIT_BRANCH ?= "branch=${BRANCH}"
|
||||
|
||||
KERNEL_PATCHES:bsp-mainline = " \
|
||||
file://0001-vt-conmakehash-improve-reproducibility-for-v6.10.patch \
|
||||
file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
|
||||
KERNEL_DEFCONFIG ?= "file://defconfig"
|
||||
|
||||
KERNEL_REPRODUCIBILITY_PATCHES ?= ""
|
||||
|
||||
SRC_URI = " \
|
||||
${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};${KERNEL_GIT_BRANCH} \
|
||||
${KERNEL_DEFCONFIG} \
|
||||
${KERNEL_REPRODUCIBILITY_PATCHES} \
|
||||
"
|
||||
|
||||
KERNEL_PATCHES:bsp-ti-6_12 = " \
|
||||
file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \
|
||||
"
|
||||
|
||||
KERNEL_PATCHES:bsp-ti-6_6 = " \
|
||||
file://0001-vt-conmakehash-improve-reproducibility.patch \
|
||||
"
|
||||
|
||||
SRC_URI:append = " ${KERNEL_PATCHES} "
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.3.0+git"
|
||||
SRCREV = "a5b1ffcd26e328af0bbf18ab448a38ecd558e05c"
|
||||
PV = "4.4.0+git"
|
||||
SRCREV = "d221676a58b305bddbf97db00395205b3038de8e"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PV = "4.3.0+git"
|
||||
PV = "4.4.0+git"
|
||||
SRCREV = "378dc0db2d5dd279f58a3b6cb3f78ffd6b165035"
|
||||
|
||||
@@ -6,9 +6,10 @@ 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:am62lxx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62pxx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:j722s = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"
|
||||
EXTRA_OEMAKE:append:j722s = " 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.3.0+git"
|
||||
SRCREV = "1c0d52ace3c237ca6276cafb5c73f699a75c1d40"
|
||||
PV = "4.5.0+git"
|
||||
SRCREV = "ef1ebdc23034a804a72da2207f1a825ce96a1464"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0001-checkconf.mk-do-not-use-full-path-to-generate-guard-.patch \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a8fa504109e4cd7ea575bc49ea4be560"
|
||||
|
||||
PV = "4.3.0+git"
|
||||
SRCREV = "9d4c4fb9638fb533211037016b6da12fbbcc4bb6"
|
||||
PV = "4.4.0+git"
|
||||
SRCREV = "695231ef8987866663a9ed5afd8f77d1bae3dc08"
|
||||
|
||||
SRC_URI:remove = " \
|
||||
file://0001-xtest-stats-remove-unneeded-stat.h-include.patch \
|
||||
|
||||
@@ -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}"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user