mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
35 Commits
09.02.00.0
...
09.03.05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
963140e3b5 | ||
|
|
6d3420958a | ||
|
|
16e09294cb | ||
|
|
d8246e1328 | ||
|
|
1a4575bf20 | ||
|
|
62c537a434 | ||
|
|
490da1ca76 | ||
|
|
825817be31 | ||
|
|
c57b63147d | ||
|
|
78e268233d | ||
|
|
d3696f0524 | ||
|
|
e918d88cfc | ||
|
|
8dac9b02ad | ||
|
|
03bc2721d9 | ||
|
|
158d067240 | ||
|
|
376a214353 | ||
|
|
17829c81eb | ||
|
|
d7cb1773d2 | ||
|
|
2e44d63e75 | ||
|
|
28414fd38b | ||
|
|
04422f572b | ||
|
|
8e4013a57c | ||
|
|
2f3de17c1e | ||
|
|
96dc3c3881 | ||
|
|
e088457aae | ||
|
|
5f5984a8a7 | ||
|
|
b7a97b1beb | ||
|
|
c335b13d63 | ||
|
|
c9b66975f3 | ||
|
|
9818c93673 | ||
|
|
1dc8f6ad67 | ||
|
|
cb1db5e822 | ||
|
|
e8a8a90ac4 | ||
|
|
6beb42b463 | ||
|
|
9313bf1682 |
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.
|
||||
@@ -10,6 +10,7 @@ SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
am57 \
|
||||
ov10635 \
|
||||
ti/am57 \
|
||||
ti/lcd \
|
||||
ti/ov10635 \
|
||||
|
||||
@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62a7 \
|
||||
ti/k3-am62x-sk \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -9,6 +9,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am62p5 \
|
||||
ti/k3-am62x-sk-csi2 \
|
||||
ti/k3-am62x-sk-hdmi \
|
||||
ti/k3-am62x-sk-lpm \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -15,3 +15,9 @@ UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
|
||||
UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}"
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_r5_defconfig"
|
||||
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_r5.config"
|
||||
|
||||
@@ -6,12 +6,19 @@ require conf/machine/include/j721e.inc
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_a72_config"
|
||||
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-beagleboneai64-dsi-rpi-7inch-panel.dtbo \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-evm-csi2-ov5640.dtbo \
|
||||
ti/k3-j721e-evm-fusion.dtbo \
|
||||
ti/k3-j721e-evm-gesi-exp-board.dtbo \
|
||||
|
||||
@@ -12,3 +12,8 @@ SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "gp"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_r5_defconfig"
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_r5.config"
|
||||
|
||||
@@ -20,6 +20,11 @@ OPTEEMACHINE = "k3-am62x"
|
||||
|
||||
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
|
||||
|
||||
# UBOOT_CONFIG_FRAGMENTS holds the list of u-boot config fragments which has to be build
|
||||
# along with the base defconfig mentioned in UBOOT_MACHINE. Refer u-boot-mergeconfig.inc
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-bb.org"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
|
||||
@@ -29,6 +34,21 @@ ti/k3-am625-beagleplay.dtb \
|
||||
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.dtb \
|
||||
ti/k3-am625-sk-dmtimer-pwm.dtbo \
|
||||
ti/k3-am625-sk-ecap-capture.dtbo \
|
||||
@@ -44,6 +64,7 @@ ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
|
||||
ti/k3-am62x-sk-csi2-v3link-fusion.dtbo \
|
||||
ti/k3-am62x-sk-eqep.dtbo \
|
||||
ti/k3-am62x-sk-hdmi-audio.dtbo \
|
||||
ti/k3-am62x-sk-hdmi-disable-fastboot.dtbo \
|
||||
ti/k3-am62x-sk-lpm-wkup-sources.dtbo \
|
||||
ti/k3-am62x-sk-mcan.dtbo \
|
||||
"
|
||||
|
||||
@@ -4,6 +4,12 @@ SOC_FAMILY:append = ":j7200"
|
||||
# Default tiboot3.bin on J7200 is for GP
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200-gp-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J7200 is for GP, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200-hs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J7200 is for GP, add a version for SR2.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j7200_sr2-hs-fs-evm.bin"
|
||||
|
||||
|
||||
@@ -12,13 +12,21 @@ IMAGE_BOOT_FILES += "sysfw.itb"
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e-gp-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e-gp-evm.itb"
|
||||
|
||||
# Since default on J721e is for GP, add a version for HS-FS
|
||||
# Since default on J721e is for GP, add a version for SR1.1 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e_sr1_1-hs-fs-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e_sr1_1-hs-fs-evm.itb"
|
||||
|
||||
# Since default on J721e is for GP, add a version for SR1.1 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e_sr1_1-hs-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e_sr1_1-hs-evm.itb"
|
||||
|
||||
# Since default on J721e is for GP, add a version for SR2.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e_sr2-hs-fs-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e_sr2-hs-fs-evm.itb"
|
||||
|
||||
# Since default on J721e is for GP, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e_sr1_1-hs-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e_sr1_1-hs-evm.itb"
|
||||
# Since default on J721e is for GP, add a version for SR2.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721e_sr2-hs-evm.bin"
|
||||
IMAGE_BOOT_FILES += "sysfw-j721e_sr2-hs-evm.itb"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ IMAGE_BOOT_FILES += "tiboot3-j721s2-gp-evm.bin"
|
||||
# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J721S2 is for GP, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j721s2-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -9,6 +9,9 @@ PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
||||
# Default tiboot3.bin on J722S is for HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j722s-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J722S is for HS-FS, add a version for HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j722s-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "lite"
|
||||
TFA_K3_SYSTEM_SUSPEND = "1"
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ IMAGE_BOOT_FILES += "tiboot3-j784s4-gp-evm.bin"
|
||||
# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-FS
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-fs-evm.bin"
|
||||
|
||||
# Since default tiboot3.bin on J784S4 is for GP, add a version for SR1.0 HS-SE
|
||||
IMAGE_BOOT_FILES += "tiboot3-j784s4-hs-evm.bin"
|
||||
|
||||
TFA_BOARD = "j784s4"
|
||||
|
||||
OPTEEMACHINE = "k3-j784s4"
|
||||
|
||||
@@ -12,6 +12,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-j7200-evm-mcspi-loopback \
|
||||
ti/k3-am68-sk \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
|
||||
require conf/machine/include/j722s.inc
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = "ti/k3-j722s"
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j722s \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = ""
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-j7200-evm-mcspi-loopback \
|
||||
ti/k3-am69-sk \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -22,7 +22,7 @@ SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "41a494accb30aa2f247e6a4e123a4954982f2a88"
|
||||
SRCREV = "c89c1efa4a1ee5da64fd525f45e9e33728cf6181"
|
||||
|
||||
TARGET_PRODUCT:j721e = "j721e_linux"
|
||||
TARGET_PRODUCT:j721s2 = "j721s2_linux"
|
||||
|
||||
@@ -22,7 +22,7 @@ SRC_URI = "git://git.ti.com/git/graphics/omap5-sgx-ddk-linux.git;protocol=https;
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "2cb2c9609b7740cb2c348e669a96f26e1cc858da"
|
||||
SRCREV = "652ae16657cc4acda664e669d0c9b4891252f37f"
|
||||
|
||||
TARGET_PRODUCT:omap-a15 = "ti572x_linux"
|
||||
TARGET_PRODUCT:ti33x = "ti335x_linux"
|
||||
|
||||
@@ -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.12.08"
|
||||
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.3"
|
||||
TI_DM_FW_VERSION = "09.02.01"
|
||||
TI_SYSFW_VERSION = "09.02.01"
|
||||
CNM_WAVE521_FW_VERSION = "1.0.5"
|
||||
TI_DM_FW_VERSION = "10.01.03"
|
||||
TI_SYSFW_VERSION = "10.01.08"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "2f2a82ba41dfb724ffd82104ca2bbb5afc756a25"
|
||||
TI_LINUX_FW_SRCREV ?= "1eaf07dc4ec5cdeb98078f17a9d4635e88f43f75"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2023.04"
|
||||
|
||||
SRCREV = "7d050099177240f6cdf8992310f2cf4941e954af"
|
||||
SRCREV = "2a13324ec63cc488f5f578886d0cf6ece348dfda"
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# UBOOT_LOCALVERSION can be set to add a tag to the end of the
|
||||
# U-boot version string. such as the commit id
|
||||
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
|
||||
do_compile:prepend () {
|
||||
scm_version=$(printf '%s%s' -ti-g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
|
||||
|
||||
echo ${scm_version} > ${B}/.scmversion
|
||||
echo ${scm_version} > ${S}/.scmversion
|
||||
}
|
||||
|
||||
UBOOT_SUFFIX ?= "img"
|
||||
SPL_BINARY ?= "MLO"
|
||||
@@ -218,6 +221,13 @@ do_deploy:append:k3r5 () {
|
||||
install -m 644 $f ${DEPLOYDIR}/
|
||||
fi
|
||||
done
|
||||
|
||||
rm ${DEPLOYDIR}/u-boot-initial-env || true
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env || true
|
||||
rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true
|
||||
rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
|
||||
}
|
||||
|
||||
do_deploy:append () {
|
||||
@@ -322,13 +332,6 @@ do_deploy:append () {
|
||||
ln -sf ${UBOOT_HS_2ND_IMAGE} ${UBOOT_HS_2ND_BINARY}
|
||||
fi
|
||||
fi
|
||||
|
||||
rm ${DEPLOYDIR}/u-boot-initial-env || true
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env || true
|
||||
rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE} || true
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE} || true
|
||||
rm ${DEPLOYDIR}/u-boot-initial-env-${MACHINE}-${PV}-${PR} || true
|
||||
rm ${DEPLOYDIR}/${PN}-initial-env-${MACHINE}-${PV}-${PR} || true
|
||||
}
|
||||
|
||||
do_install:append:am62xx() {
|
||||
|
||||
@@ -10,7 +10,7 @@ PV = "0.3+git${SRCPV}"
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
BRANCH ?= "master"
|
||||
SRCREV = "cadf72379c7eec7e69031cc939d5a85f209017d6"
|
||||
SRCREV = "30a1d5b2d08c0da39d4e62b3ebee591a9882fa21"
|
||||
|
||||
SRC_URI = "git://git.ti.com/git/k3conf/k3conf.git;protocol=https;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ PACKAGECONFIG:append = " \
|
||||
${@bb.utils.contains('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-sgx-ddk-km', 'sgx', '', d)} \
|
||||
"
|
||||
|
||||
SRCREV = "1be98ba80452ebe38546a7fca26b5a70f2629083"
|
||||
SRCREV = "c9f0919367589b38f5682183846de9d60eec082d"
|
||||
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
|
||||
PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -10,24 +10,21 @@ inherit kernel
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/ti-kernel.inc
|
||||
|
||||
# BB.org hasn't switched to "vendored" DTB layout by default yet
|
||||
KERNEL_DTBVENDORED = "0"
|
||||
|
||||
DEPENDS += "gmp-native libmpc-native"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# 6.1.69 version for 32-bit
|
||||
SRCREV:armv7a = "a1f26a19581970f76220c68c438981796ce5b767"
|
||||
PV:armv7a = "6.1.69+git${SRCPV}"
|
||||
BRANCH:armv7a = "v6.1.69-ti-r22"
|
||||
# 6.1.80 version for 32-bit
|
||||
SRCREV:armv7a = "4ca9ea30768d58c8d4d56d03dd1eaf8c8feb7ef9"
|
||||
PV:armv7a = "6.1.80+git${SRCPV}"
|
||||
BRANCH:armv7a = "v6.1.80-ti-r34"
|
||||
|
||||
# 6.1.69 version for 64-bit
|
||||
SRCREV:aarch64 = "bc76b5d278271f66a6faeb2d09cb09fc6c57dd3c"
|
||||
PV:aarch64 = "6.1.69+git${SRCPV}"
|
||||
BRANCH:aarch64 = "v6.1.69-ti-arm64-r24"
|
||||
# 6.1.80 version for 64-bit
|
||||
SRCREV:aarch64 = "977c75e082620f15c06c72bcced30f787c14b390"
|
||||
PV:aarch64 = "6.1.80+git${SRCPV}"
|
||||
BRANCH:aarch64 = "v6.1.80-ti-arm64-r49"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
require linux-ti-staging_6.1.bb
|
||||
|
||||
KERNEL_LOCALVERSION:append = "-rt"
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
|
||||
BRANCH = "ti-rt-linux-6.1.y"
|
||||
|
||||
SRCREV = "bdebf4319d95b46edd39be72d937d1e0086865fe"
|
||||
SRCREV = "b0f9de804a162329bc81857ad50947311228dfb2"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.1.69+git${SRCPV}"
|
||||
PV = "6.1.119+git${SRCPV}"
|
||||
|
||||
@@ -23,8 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.1.y"
|
||||
|
||||
SRCREV ?= "77aa27cbdca359bf0735b36ada464ec65b520943"
|
||||
PV = "6.1.69+git${SRCPV}"
|
||||
SRCREV ?= "c490f4c0fe51281818c45159c0fbed94f852978e"
|
||||
PV = "6.1.119+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
# KERNEL_LOCALVERSION can be set to add a tag to the end of the
|
||||
# kernel version string. such as the commit id
|
||||
KERNEL_LOCALVERSION = "-g${@d.getVar('SRCPV', True).replace('AUTOINC+','')[:10]}"
|
||||
KERNEL_LOCALVERSION = "-ti"
|
||||
|
||||
# Check the defconfig file and see if it points to an in kernel
|
||||
# defconfig that should be used, or if it is a complete config file
|
||||
@@ -13,8 +11,10 @@ do_configure() {
|
||||
# tree config
|
||||
cp ${WORKDIR}/defconfig ${B}/.config
|
||||
|
||||
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
|
||||
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
|
||||
scm_version=$(printf '%s%s' -g $(git -C ${S} rev-parse --verify HEAD 2>/dev/null | cut -c1-12))
|
||||
|
||||
echo ${scm_version} > ${B}/.scmversion
|
||||
echo ${scm_version} > ${S}/.scmversion
|
||||
|
||||
# Zero, when using "tisdk" configs, pass control to defconfig_builder
|
||||
config=`cat ${B}/.config | grep use-tisdk-config | cut -d= -f2`
|
||||
|
||||
@@ -7,10 +7,10 @@ PROTOCOL = "https"
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/git/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
|
||||
|
||||
# 0.6.4 release
|
||||
SRCREV = "439a13cf24662224d5dfa672c6a50d7c43899886"
|
||||
# 0.6.6 release
|
||||
SRCREV = "55a6f4032246631a309f8608af5e822024664b59"
|
||||
|
||||
PV = "0.6.4+git${SRCPV}"
|
||||
PV = "0.6.6+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# long-description: Creates a partitioned SD card image for TI platforms that
|
||||
# supports EFI. Boot files are located in the first vfat partition with extra
|
||||
# reserved space. We cannot use a GPT here.
|
||||
|
||||
bootloader --timeout=3 --append="rootfstype=ext4"
|
||||
part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
|
||||
part --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
|
||||
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
# long-description: Creates a partitioned SD card image for TI platforms.
|
||||
# Boot files are located in the first vfat partition with extra reserved space.
|
||||
|
||||
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid
|
||||
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
|
||||
part --source bootimg-partition --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
|
||||
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
|
||||
|
||||
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.
|
||||
@@ -2,8 +2,8 @@ DESCRIPTION = "Scripts and configuration files for TI wireless drivers"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c0d175d1f4a705"
|
||||
|
||||
# Tag: R8.7_SP3 (8.7.3)
|
||||
SRCREV = "a07b6e711d2a70608101d3d6cdc5749c4d8a96d5"
|
||||
# Tag: R8.8.1
|
||||
SRCREV = "8bcee075061527d61f26d6d506aebdfd496037d9"
|
||||
BRANCH = "sitara-scripts"
|
||||
SRC_URI = "git://git.ti.com/git/wilink8-wlan/wl18xx-target-scripts.git;protocol=https;branch=${BRANCH} \
|
||||
file://0001-print_stat.sh-replace-system-bin-sh-with-bin-sh.patch \
|
||||
@@ -1,22 +0,0 @@
|
||||
# Set jailhouse architecture JH_ARCH variable
|
||||
#
|
||||
# return value must match one of architectures supported by jailhouse
|
||||
#
|
||||
valid_jh_archs = "x86 arm"
|
||||
|
||||
def map_jh_arch(a, d):
|
||||
import re
|
||||
|
||||
valid_jh_archs = d.getVar('valid_jh_archs', True).split()
|
||||
|
||||
if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
|
||||
elif re.match('armeb$', a): return 'arm'
|
||||
elif re.match('aarch64$', a): return 'arm64'
|
||||
elif re.match('aarch64_be$', a): return 'arm64'
|
||||
elif a in valid_jh_archs: return a
|
||||
else:
|
||||
bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
|
||||
|
||||
export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
|
||||
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|
||||
12
meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb
Normal file
12
meta-ti-extras/recipes-ti/jailhouse/jailhouse-inmate.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require ti-jailhouse.inc
|
||||
|
||||
do_install() {
|
||||
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${TOOLS_SRC_DIR}/demos/ivshmem-demo ${D}${bindir}
|
||||
|
||||
}
|
||||
|
||||
FILES:${PN} = " \
|
||||
${bindir}/ivshmem-demo \
|
||||
"
|
||||
@@ -1,49 +1,11 @@
|
||||
SUMMARY = "Linux-based partitioning hypervisor"
|
||||
DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
|
||||
operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
|
||||
platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
|
||||
HOMEPAGE = "https://github.com/siemens/jailhouse"
|
||||
SECTION = "jailhouse"
|
||||
LICENSE = "GPL-2.0-only & BSD-2-Clause"
|
||||
require ti-jailhouse.inc
|
||||
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
|
||||
"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx"
|
||||
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
PV = "0.12+git${SRCPV}"
|
||||
SRCREV = "0b29ad90f6f54105b98d6bbf35cc47fb244f7799"
|
||||
BRANCH = "master"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \
|
||||
"
|
||||
|
||||
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-curses\
|
||||
python3-datetime\
|
||||
python3-mmap\
|
||||
python3-curses\
|
||||
python3-datetime\
|
||||
python3-mmap\
|
||||
"
|
||||
|
||||
require jailhouse-arch.inc
|
||||
inherit module python3native bash-completion deploy setuptools3
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${S}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
|
||||
JH_DATADIR ?= "${datadir}/jailhouse"
|
||||
JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
|
||||
CELL_DIR ?= "${JH_DATADIR}/cells"
|
||||
CELLCONF_DIR ?= "${JH_DATADIR}/configs"
|
||||
INMATES_DIR ?= "${JH_DATADIR}/inmates"
|
||||
|
||||
JH_CELL_FILES ?= "*.cell"
|
||||
JH_CELL_FILES:k3 ?= "k3-*.cell"
|
||||
JH_CELL_FILES:am62xx ?= "k3-am625-*.cell"
|
||||
@@ -63,13 +25,6 @@ JH_LINUX_DEMO_CELL:am62pxx ?= "k3-am62p5-sk-linux-demo.cell"
|
||||
JH_LINUX_DEMO_CELL:j7 ?= "k3-j721e-evm-linux-demo.cell"
|
||||
JH_LINUX_DEMO_CELL:j7200-evm ?= "k3-j7200-evm-linux-demo.cell"
|
||||
|
||||
JH_SYSCONFIG_CELL ?= ""
|
||||
JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell"
|
||||
JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell"
|
||||
JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell"
|
||||
JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell"
|
||||
JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell"
|
||||
|
||||
INITRAMFS_IMAGE ?= ""
|
||||
JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
|
||||
|
||||
@@ -80,29 +35,7 @@ JH_CMDLINE:am65xx ?= "console=ttyS1,115200n8"
|
||||
JH_CMDLINE:j7 ?= "console=ttyS3,115200n8"
|
||||
JH_CMDLINE:j7200-evm ?= "console=ttyS3,115200n8"
|
||||
|
||||
do_configure() {
|
||||
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
|
||||
then
|
||||
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
|
||||
fi
|
||||
}
|
||||
|
||||
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
|
||||
-DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
|
||||
-Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
|
||||
-I../driver'
|
||||
|
||||
TOOLS_SRC_DIR = "${S}/tools"
|
||||
|
||||
EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake V=1
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# Install pyjailhouse python modules needed by the tools
|
||||
# distutils3_do_install
|
||||
|
||||
# We want to install the python tools, but we do not want to use pip...
|
||||
# At least with v0.10, we can work around this with
|
||||
@@ -154,7 +87,7 @@ do_install() {
|
||||
}
|
||||
|
||||
PACKAGE_BEFORE_PN = "kernel-module-jailhouse pyjailhouse ${PN}-tools"
|
||||
FILES:${PN} = "${base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR} /boot"
|
||||
|
||||
FILES:pyjailhouse = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
FILES:${PN}-tools = "${libexecdir}/${BPN}/${BPN}-*"
|
||||
|
||||
@@ -183,7 +116,6 @@ python __anonymous () {
|
||||
d.appendVar('RDEPENDS_${PN}', ' ' + cell)
|
||||
}
|
||||
|
||||
|
||||
FILES:${PN} = " \
|
||||
/boot/* \
|
||||
/usr/libexec \
|
||||
|
||||
87
meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
Normal file
87
meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc
Normal file
@@ -0,0 +1,87 @@
|
||||
SUMMARY = "Linux-based partitioning hypervisor"
|
||||
DESCRIPTION = "Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) \
|
||||
operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware \
|
||||
platform in a way that none of these domains, called 'cells' here, can interfere with each other in an unacceptable way."
|
||||
HOMEPAGE = "https://github.com/siemens/jailhouse"
|
||||
SECTION = "jailhouse"
|
||||
|
||||
LICENSE = "GPL-2.0-only & BSD-2-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
|
||||
"
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
PV = "0.12+git${SRCPV}"
|
||||
SRCREV = "603819ef9a771a3c253a141220daab8e61751a43"
|
||||
BRANCH = "master"
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \
|
||||
"
|
||||
|
||||
# Set jailhouse architecture JH_ARCH variable
|
||||
#
|
||||
# return value must match one of architectures supported by jailhouse
|
||||
#
|
||||
valid_jh_archs = "x86 arm"
|
||||
|
||||
def map_jh_arch(a, d):
|
||||
import re
|
||||
|
||||
valid_jh_archs = d.getVar('valid_jh_archs', True).split()
|
||||
|
||||
if re.match('(i.86|athlon|x86.64)$', a): return 'x86'
|
||||
elif re.match('armeb$', a): return 'arm'
|
||||
elif re.match('aarch64$', a): return 'arm64'
|
||||
elif re.match('aarch64_be$', a): return 'arm64'
|
||||
elif a in valid_jh_archs: return a
|
||||
else:
|
||||
bb.error("cannot map '%s' to a jailhouse supported architecture" % a)
|
||||
|
||||
export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}"
|
||||
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${S}"
|
||||
|
||||
DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native"
|
||||
|
||||
inherit module python3native bash-completion deploy setuptools3
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ti-soc)"
|
||||
|
||||
JH_DATADIR ?= "${datadir}/jailhouse"
|
||||
JH_EXEC_DIR ?= "${libexecdir}/jailhouse"
|
||||
CELL_DIR ?= "${JH_DATADIR}/cells"
|
||||
CELLCONF_DIR ?= "${JH_DATADIR}/configs"
|
||||
INMATES_DIR ?= "${JH_DATADIR}/inmates"
|
||||
|
||||
JH_SYSCONFIG_CELL ?= ""
|
||||
JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell"
|
||||
JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell"
|
||||
JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell"
|
||||
JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell"
|
||||
JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell"
|
||||
|
||||
do_configure() {
|
||||
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
|
||||
then
|
||||
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
|
||||
fi
|
||||
}
|
||||
|
||||
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
|
||||
-DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
|
||||
-Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
|
||||
-I../driver'
|
||||
|
||||
TOOLS_SRC_DIR = "${S}/tools"
|
||||
|
||||
EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake V=1
|
||||
}
|
||||
Reference in New Issue
Block a user