mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 03:31:58 +00:00
Compare commits
25 Commits
10.01.03
...
cicd.maste
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ef18d1d03 | ||
|
|
dd2e3f5879 | ||
|
|
3dd6b2f6cf | ||
|
|
84388671ba | ||
|
|
5edd110f54 | ||
|
|
0d757657d1 | ||
|
|
089bfa05c7 | ||
|
|
ff51c7f52f | ||
|
|
11f440869a | ||
|
|
e5a87c42d9 | ||
|
|
ab7ed505a4 | ||
|
|
e9a56223ed | ||
|
|
4039d9a247 | ||
|
|
42c30ed165 | ||
|
|
ad51d19977 | ||
|
|
a7ac41d4eb | ||
|
|
e459fabbe5 | ||
|
|
b9710fd588 | ||
|
|
cae663c4ef | ||
|
|
7b92b6efff | ||
|
|
eb4ba7f013 | ||
|
|
f73ec90cce | ||
|
|
83c6a0cf6d | ||
|
|
857224b4b7 | ||
|
|
53f4aaf0a8 |
9
TODO
Normal file
9
TODO
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
This TODO list allows us to track certain actions and lists of patches that
|
||||
need to be removed at a future date.
|
||||
|
||||
|
||||
May 2024 - nanbield EOL
|
||||
-----------------------
|
||||
- Remove python3-yamllint: Temporarily carry this new recipe
|
||||
|
||||
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-bsp"
|
||||
BBFILE_PATTERN_meta-ti-bsp := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-ti-bsp = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-ti-bsp = "kirkstone langdale mickledore nanbield scarthgap"
|
||||
LAYERSERIES_COMPAT_meta-ti-bsp = "nanbield scarthgap styhead"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 12000"
|
||||
MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 13000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -25,13 +25,13 @@ KERNEL_DEVICETREE_DTBMERGE = " \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am57xx-beagle-x15.dtb \
|
||||
am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-beagle-x15-revc.dtb \
|
||||
am5729-beagleboneai.dtb \
|
||||
am571x-idk.dtb \
|
||||
am572x-idk.dtb \
|
||||
am574x-idk.dtb \
|
||||
ti/omap/am57xx-beagle-x15.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revb1.dtb \
|
||||
ti/omap/am57xx-beagle-x15-revc.dtb \
|
||||
ti/omap/am5729-beagleboneai.dtb \
|
||||
ti/omap/am571x-idk.dtb \
|
||||
ti/omap/am572x-idk.dtb \
|
||||
ti/omap/am574x-idk.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "am57xx_evm_config"
|
||||
|
||||
@@ -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 = " \
|
||||
|
||||
11
meta-ti-bsp/conf/machine/am69-sk-k3r5.conf
Normal file
11
meta-ti-bsp/conf/machine/am69-sk-k3r5.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM69 SK (R5F)
|
||||
#@DESCRIPTION: Machine configuration for the TI AM69 SK (R5F core)
|
||||
|
||||
require conf/machine/include/k3r5.inc
|
||||
|
||||
SYSFW_SOC = "j784s4"
|
||||
SYSFW_CONFIG = "evm"
|
||||
SYSFW_SUFFIX = "hs-fs"
|
||||
|
||||
UBOOT_MACHINE = "am69_sk_r5_defconfig"
|
||||
20
meta-ti-bsp/conf/machine/am69-sk.conf
Normal file
20
meta-ti-bsp/conf/machine/am69-sk.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM69 SK
|
||||
#@DESCRIPTION: Machine configuration for the TI AM69 SK
|
||||
|
||||
require conf/machine/include/j784s4.inc
|
||||
|
||||
TFA_K3_USART = "0x8"
|
||||
OPTEE_K3_USART = "0x8"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am69-sk \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am69-sk.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "am69_sk_a72_defconfig"
|
||||
@@ -13,6 +13,10 @@ UBOOT_MACHINE = "j721e_evm_a72_config"
|
||||
# under meta-ti-bsp/recipes-bsp/u-boot/ for more details.
|
||||
UBOOT_CONFIG_FRAGMENTS = "j721e_beagleboneai64_a72.config"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j721e \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-beagleboneai64.dtb \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
|
||||
@@ -28,6 +28,11 @@ UBOOT_CONFIG_FRAGMENTS = "am625_beagleplay_a53.config"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bb.org"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-bb.org"
|
||||
|
||||
KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-am625 \
|
||||
ti/k3-am62x-sk \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-am625-beagleplay.dtb \
|
||||
ti/k3-am625-beagleplay-csi2-ov5640.dtbo \
|
||||
|
||||
@@ -16,11 +16,11 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
dra7-evm.dtb \
|
||||
dra71-evm.dtb \
|
||||
dra72-evm.dtb \
|
||||
dra72-evm-revc.dtb \
|
||||
dra76-evm.dtb \
|
||||
ti/omap/dra7-evm.dtb \
|
||||
ti/omap/dra71-evm.dtb \
|
||||
ti/omap/dra72-evm.dtb \
|
||||
ti/omap/dra72-evm-revc.dtb \
|
||||
ti/omap/dra76-evm.dtb \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -24,7 +24,7 @@ UBOOT_ARCH = "arm"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/","")}"
|
||||
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","").replace("ti/","")}"
|
||||
|
||||
# Generate an extlinux.conf file
|
||||
UBOOT_EXTLINUX = "1"
|
||||
|
||||
@@ -25,17 +25,17 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am335x-evm.dtb \
|
||||
am335x-evmsk.dtb \
|
||||
am335x-icev2.dtb \
|
||||
am335x-pocketbeagle.dtb \
|
||||
am335x-bone.dtb \
|
||||
am335x-boneblue.dtb \
|
||||
am335x-bonegreen.dtb \
|
||||
am335x-bonegreen-wireless.dtb \
|
||||
am335x-boneblack.dtb \
|
||||
am335x-boneblack-wireless.dtb \
|
||||
am335x-sancloud-bbe.dtb \
|
||||
ti/omap/am335x-evm.dtb \
|
||||
ti/omap/am335x-evmsk.dtb \
|
||||
ti/omap/am335x-icev2.dtb \
|
||||
ti/omap/am335x-pocketbeagle.dtb \
|
||||
ti/omap/am335x-bone.dtb \
|
||||
ti/omap/am335x-boneblue.dtb \
|
||||
ti/omap/am335x-bonegreen.dtb \
|
||||
ti/omap/am335x-bonegreen-wireless.dtb \
|
||||
ti/omap/am335x-boneblack.dtb \
|
||||
ti/omap/am335x-boneblack-wireless.dtb \
|
||||
ti/omap/am335x-sancloud-bbe.dtb \
|
||||
"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
@@ -44,6 +44,8 @@ UBOOT_MACHINE = "am335x_evm_config"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","")}"
|
||||
|
||||
# Generate an extlinux.conf file
|
||||
UBOOT_EXTLINUX = "1"
|
||||
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
|
||||
@@ -51,7 +53,7 @@ UBOOT_EXTLINUX_KERNEL_ARGS = "rootwait rw earlycon"
|
||||
UBOOT_EXTLINUX_BOOT_FILES = " \
|
||||
extlinux.conf;extlinux/extlinux.conf \
|
||||
${KERNEL_IMAGETYPE} \
|
||||
${KERNEL_DEVICETREE} \
|
||||
${DEVICETREE_FILE} \
|
||||
"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
|
||||
@@ -27,10 +27,10 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
am437x-gp-evm.dtb \
|
||||
am437x-sk-evm.dtb \
|
||||
am437x-idk-evm.dtb \
|
||||
am43x-epos-evm.dtb \
|
||||
ti/omap/am437x-gp-evm.dtb \
|
||||
ti/omap/am437x-sk-evm.dtb \
|
||||
ti/omap/am437x-idk-evm.dtb \
|
||||
ti/omap/am43x-epos-evm.dtb \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
|
||||
@@ -41,13 +41,15 @@ UBOOT_MACHINE = "am43xx_evm_config"
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
DEVICETREE_FILE = "${@(d.getVar('KERNEL_DEVICETREE') or "").replace("ti/omap/","")}"
|
||||
|
||||
# Generate an extlinux.conf file
|
||||
UBOOT_EXTLINUX = "1"
|
||||
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
|
||||
UBOOT_EXTLINUX_BOOT_FILES = " \
|
||||
extlinux.conf;extlinux/extlinux.conf \
|
||||
${KERNEL_IMAGETYPE} \
|
||||
${KERNEL_DEVICETREE} \
|
||||
${DEVICETREE_FILE} \
|
||||
"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ KERNEL_DEVICETREE_PREFIX = " \
|
||||
ti/k3-j784s4 \
|
||||
ti/k3-fpdlink \
|
||||
ti/k3-j7200-evm-mcspi-loopback \
|
||||
ti/k3-am69-sk \
|
||||
ti/k3-v3link \
|
||||
"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
|
||||
@@ -12,7 +12,7 @@ PR = "${INC_PR}.1"
|
||||
|
||||
COMPATIBLE_MACHINE = "j721s2|j784s4|j722s|am62axx|am62pxx"
|
||||
|
||||
TARGET_WAVE521C = "wave521c_codec_fw.bin"
|
||||
TARGET_WAVE521C = "wave521c_k3_codec_fw.bin"
|
||||
|
||||
SOURCE_WAVE521C = "wave521c_k3_codec_fw.bin"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ 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.13.00"
|
||||
GOODIX_FW_VERSION = "1.0.0.0"
|
||||
CADENCE_MHDP_FW_VERSION = "2.1.0"
|
||||
IMG_DEC_FW_VERSION = "1.0"
|
||||
@@ -17,7 +17,7 @@ CNM_WAVE521_FW_VERSION = "1.0.3"
|
||||
TI_DM_FW_VERSION = "09.02.04"
|
||||
TI_SYSFW_VERSION = "09.02.07"
|
||||
|
||||
TI_LINUX_FW_SRCREV ?= "edbfc3e540c9f426feb51db6a466a9015ada4dd0"
|
||||
TI_LINUX_FW_SRCREV ?= "58e3c376102aa8f42a0b1208afc91d75200b2d7b"
|
||||
SRCREV = "${TI_LINUX_FW_SRCREV}"
|
||||
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
@@ -6,4 +6,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2023.04"
|
||||
|
||||
SRCREV = "d2612223375a25f81068d7a7abd86c08cd129a2c"
|
||||
SRCREV = "f9b966c674731a1a29a20a8e143c61d4e046f13c"
|
||||
|
||||
@@ -8,4 +8,4 @@ PR = "r0"
|
||||
|
||||
BRANCH = "ti-u-boot-2024.04"
|
||||
|
||||
SRCREV = "f3c979dd0053c082d2df170446923e7ce5edbc2d"
|
||||
SRCREV = "243d0c74704df56b1fab4e7989805adb45142070"
|
||||
|
||||
@@ -221,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 () {
|
||||
@@ -325,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() {
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
SUMMARY = "Precompiled Zephyr OpenAMP example firmware for TI K3 devices"
|
||||
|
||||
# Name of this demo's firmware
|
||||
FW_NAME = "zephyr_openamp_rsc_table.elf"
|
||||
|
||||
# List of cores for which this demo has a build
|
||||
FW_CORES = ""
|
||||
FW_CORES:am62xx = "mcu-m4f0_0"
|
||||
|
||||
# Note: Everything below is common to all our Zephyr firmwares and can be
|
||||
# factored out to a common include file once we have more than one demo
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
|
||||
|
||||
COMPATIBLE_MACHINE = "k3"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRC_URI = "git://github.com/glneo/zephyr-firmware.git;protocol=https;branch=main"
|
||||
SRCREV = "146d4f9b3930722d73685d600958f0b10ea97de2"
|
||||
PV = "3.6.0"
|
||||
#PR = "r1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FW_PLAT = ""
|
||||
FW_PLAT:am62xx = "am62"
|
||||
|
||||
FW_INSTALL_DIR = "${nonarch_base_libdir}/firmware/zephyr/${FW_PLAT}"
|
||||
|
||||
do_install() {
|
||||
for FW_CORE in ${FW_CORES}
|
||||
do
|
||||
install -d ${D}${FW_INSTALL_DIR}/${FW_CORE}
|
||||
install -m 0644 ${S}/${FW_PLAT}/${FW_CORE}/${FW_NAME} ${D}${FW_INSTALL_DIR}/${FW_CORE}
|
||||
done
|
||||
}
|
||||
|
||||
# Make sure that lib/firmware, and all its contents are part of the package
|
||||
FILES:${PN} = "${nonarch_base_libdir}/firmware"
|
||||
|
||||
# This is used to prevent the build system from stripping the firmwares
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
# This is used to prevent the build system from splitting out the firmware debug info into a separate file
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
# This is a prebuilt with no external dependencies
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
|
||||
INSANE_SKIP:${PN} += "arch"
|
||||
|
||||
# Zephyr-Firmware has no configure, compile, nor clean steps
|
||||
do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
python fw_generate_alternatives() {
|
||||
for fw_core_name in d.getVar('FW_CORES').split():
|
||||
fw_plat = d.getVar('FW_PLAT')
|
||||
fw_pkg_name = d.getVar('PN')
|
||||
fw_core_name_full = (fw_plat + "-" + fw_core_name + "-fw")
|
||||
|
||||
# Create the firmware alternatives
|
||||
d.appendVar('ALTERNATIVE:%s' % fw_pkg_name, (fw_core_name_full + " "))
|
||||
|
||||
# Set up firmware alternatives link names
|
||||
fw_alt_link = ("${nonarch_base_libdir}/firmware/" + fw_core_name_full)
|
||||
d.setVarFlag('ALTERNATIVE_LINK_NAME', fw_core_name_full, fw_alt_link)
|
||||
|
||||
# Set up firmware alternatives link targets
|
||||
fw_alt_target_rename = "${FW_INSTALL_DIR}/" + fw_core_name + "/${FW_NAME}"
|
||||
d.setVarFlag('ALTERNATIVE_TARGET_%s' % fw_pkg_name, fw_core_name_full, fw_alt_target_rename)
|
||||
}
|
||||
|
||||
do_package[prefuncs] += "fw_generate_alternatives"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "20"
|
||||
@@ -8,8 +8,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
|
||||
|
||||
BRANCH = "ti-rt-linux-6.1.y"
|
||||
|
||||
SRCREV = "871d5629a0ee4ae82d0caf8d57d4f711d54e1465"
|
||||
SRCREV = "01dbe4e64bacaa4c891c1997f2724c320698d61f"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.1.80+git${SRCPV}"
|
||||
PV = "6.1.82+git"
|
||||
|
||||
@@ -10,8 +10,8 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
|
||||
|
||||
BRANCH = "ti-rt-linux-6.6.y"
|
||||
|
||||
SRCREV = "280ec6b126cf337d787b398b5717f55599ecb91f"
|
||||
SRCREV = "a6d773a255f4a4e1bb2136a1cdef8c6c4fba3837"
|
||||
|
||||
include ${@ 'recipes-kernel/linux/ti-extras-rt.inc' if d.getVar('TI_EXTRAS') else ''}
|
||||
|
||||
PV = "6.6.20+git${SRCPV}"
|
||||
PV = "6.6.25+git"
|
||||
|
||||
@@ -23,8 +23,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.1.y"
|
||||
|
||||
SRCREV ?= "1c154b1fe4c462d8b383515bb388e289816e4b01"
|
||||
PV = "6.1.80+git${SRCPV}"
|
||||
SRCREV ?= "e44f83d2aa4366b3097307c5915d03696cf3e1b8"
|
||||
PV = "6.1.82+git"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
|
||||
@@ -25,8 +25,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "ti-linux-6.6.y"
|
||||
|
||||
SRCREV ?= "83b86d0fb4afa43229844c77df29890de5d7b8d1"
|
||||
PV = "6.6.20+git${SRCPV}"
|
||||
SRCREV ?= "05cbc220aa99152ad80a750e73f08c0d96ec4ded"
|
||||
PV = "6.6.25+git"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "meta-ti-extras"
|
||||
BBFILE_PATTERN_meta-ti-extras := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_meta-ti-extras = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_meta-ti-extras = "kirkstone langdale mickledore nanbield scarthgap"
|
||||
LAYERSERIES_COMPAT_meta-ti-extras = "nanbield scarthgap styhead"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "Firmware files for Bluetooth"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f39eac9f4573be5b012e8313831e72a9"
|
||||
|
||||
PV = "8.7.1+git${SRCPV}"
|
||||
PV = "8.7.1+git"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR:append = "d"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
PV:append = "+git${SRCPV}"
|
||||
PV:append = "+git"
|
||||
|
||||
S = "${WORKDIR}/git/debugss_module/debugss-mod"
|
||||
|
||||
|
||||
@@ -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 \
|
||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=75859989545e37968a99b631ef42722e"
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR:append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
PV:append = "+git${SRCPV}"
|
||||
PV:append = "+git"
|
||||
|
||||
SRC_URI:append = "\
|
||||
file://0001-Support-Linux-kernels-v5.15.patch;patchdir=../.. \
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "A linter for YAML files."
|
||||
HOMEPAGE = "https://github.com/adrienverge/yamllint"
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
PYPI_PACKAGE = "yamllint"
|
||||
|
||||
SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d"
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||
RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -13,8 +13,8 @@ LIC_FILES_CHKSUM = " \
|
||||
|
||||
COMPATIBLE_MACHINE = "am62xx|am62pxx"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
PV = "0.12+git${SRCPV}"
|
||||
SRCREV = "0b29ad90f6f54105b98d6bbf35cc47fb244f7799"
|
||||
PV = "0.12+git"
|
||||
SRCREV = "603819ef9a771a3c253a141220daab8e61751a43"
|
||||
BRANCH = "master"
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \
|
||||
|
||||
Reference in New Issue
Block a user