mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Compare commits
129 Commits
ti2019.01-
...
ti2019.02-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cef7132372 | ||
|
|
91b65632e3 | ||
|
|
3937294d59 | ||
|
|
93e6c419f6 | ||
|
|
bb3fe1645b | ||
|
|
528c168f15 | ||
|
|
d3cf35ffba | ||
|
|
ced12ba187 | ||
|
|
799f03e730 | ||
|
|
147e534d24 | ||
|
|
979704bf1b | ||
|
|
42ccd3c376 | ||
|
|
ae6c103b87 | ||
|
|
075e838a33 | ||
|
|
d9682a99d5 | ||
|
|
0b33cb63aa | ||
|
|
57c52ef27b | ||
|
|
d439856bff | ||
|
|
55ad93048e | ||
|
|
e2dc8f526d | ||
|
|
d257eb4885 | ||
|
|
25f4d822cd | ||
|
|
473ea1893c | ||
|
|
226fdebe9b | ||
|
|
8b8c3c6634 | ||
|
|
0f76a4b2a0 | ||
|
|
344548de6a | ||
|
|
8b584b5c1f | ||
|
|
5b6b2fee11 | ||
|
|
9e19ec62ae | ||
|
|
d14b8157c6 | ||
|
|
09f303a512 | ||
|
|
68bf6a0d3f | ||
|
|
b0d3e3f650 | ||
|
|
0de576e81b | ||
|
|
d88ce32d19 | ||
|
|
802efa98cd | ||
|
|
1030408577 | ||
|
|
c7993d2638 | ||
|
|
cc3ae5a7f6 | ||
|
|
ef671f22b9 | ||
|
|
f1a902c673 | ||
|
|
2e19c26bd3 | ||
|
|
da9b899394 | ||
|
|
e95374a49f | ||
|
|
1b1e7f7fac | ||
|
|
615816473f | ||
|
|
c5062bdd89 | ||
|
|
541643fc16 | ||
|
|
04d245a281 | ||
|
|
22383066e6 | ||
|
|
8d76316be5 | ||
|
|
4193807ee3 | ||
|
|
d6073c8853 | ||
|
|
8bc260adde | ||
|
|
94d49d82a8 | ||
|
|
300643c45a | ||
|
|
84973b0efd | ||
|
|
1685d40afa | ||
|
|
76e15b3f14 | ||
|
|
b005a6555d | ||
|
|
eb45b4aeba | ||
|
|
01be17c58d | ||
|
|
563446c49a | ||
|
|
814250c560 | ||
|
|
735e8fda65 | ||
|
|
4c130089c5 | ||
|
|
269ec4bb14 | ||
|
|
6ab32c9fd1 | ||
|
|
8b7d166052 | ||
|
|
6b8d15d2b4 | ||
|
|
6df573012e | ||
|
|
24c309e86a | ||
|
|
6eedcfaf1a | ||
|
|
9745e9242e | ||
|
|
f51c4046c3 | ||
|
|
a91bfd60af | ||
|
|
13fd62e042 | ||
|
|
7a1968a83c | ||
|
|
da0a8ea3fc | ||
|
|
bfbe31ac4a | ||
|
|
84cd63c1c3 | ||
|
|
233f4dbea7 | ||
|
|
0834111111 | ||
|
|
d6c03fbbc6 | ||
|
|
713b53ba2e | ||
|
|
b6dbb1dc30 | ||
|
|
c368768550 | ||
|
|
84880d7c21 | ||
|
|
ef13ecafde | ||
|
|
82da3c6315 | ||
|
|
334a7dd957 | ||
|
|
5565ffe70a | ||
|
|
31247cdfb7 | ||
|
|
d19d8407d4 | ||
|
|
2a07217cea | ||
|
|
454ee2a5e7 | ||
|
|
8fcff45044 | ||
|
|
f92c2bd713 | ||
|
|
382b547155 | ||
|
|
0ac2433b21 | ||
|
|
2da08ed8b2 | ||
|
|
a232258410 | ||
|
|
7dcd1cacce | ||
|
|
9272ef7584 | ||
|
|
371b7bb522 | ||
|
|
0270a25cdd | ||
|
|
790b755b84 | ||
|
|
69ac52147b | ||
|
|
9cdc909ac0 | ||
|
|
9533f2b95d | ||
|
|
4da7bccb3f | ||
|
|
10ed5eaa2b | ||
|
|
01e5d35309 | ||
|
|
3757b33471 | ||
|
|
ecce79801d | ||
|
|
e5647a3b52 | ||
|
|
c3aa2591eb | ||
|
|
5e62bde3d2 | ||
|
|
edef3c7950 | ||
|
|
c3d567403f | ||
|
|
34af242cd2 | ||
|
|
bd70f5211e | ||
|
|
6c1c1a21cc | ||
|
|
f4a040f056 | ||
|
|
acc62604cb | ||
|
|
fe0469b9b9 | ||
|
|
3233d932db | ||
|
|
da9f293256 |
@@ -24,7 +24,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8800"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 9200"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -22,7 +22,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 994 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4200"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4400"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
|
||||
# from dmesg:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#@NAME: AM65xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx EVM
|
||||
|
||||
require conf/machine/include/k3.inc
|
||||
require conf/machine/include/am65xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
@@ -24,12 +24,10 @@ OPTEEMACHINE = "k3"
|
||||
OPTEEFLAVOR = "am65x"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
|
||||
# Please note that booting AM65xx platform also requires
|
||||
# tiboot3.bin and sysfw.itb, which are provided by meta-arago
|
||||
# u-boot-k3-r5 and ti-sci-fw recipes
|
||||
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
|
||||
WKS_FILE = "sdimage-bootpart.wks"
|
||||
IMAGE_BOOT_FILES = "u-boot.img"
|
||||
|
||||
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am65xx"
|
||||
TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"
|
||||
TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"
|
||||
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy"
|
||||
|
||||
23
conf/machine/am65xx-hs-evm.conf
Normal file
23
conf/machine/am65xx-hs-evm.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: AM65xx HS EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI AM65xx HS EVM
|
||||
|
||||
require conf/machine/am65xx-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am65x_hs_evm_a53_defconfig"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80080000"
|
||||
UBOOT_LOADADDRESS = "0x80080000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
SPL_BINARY = "tispl.bin_HS"
|
||||
SPL_BINARYNAME = "tispl.bin"
|
||||
UBOOT_BINARY = "u-boot.img_HS"
|
||||
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"
|
||||
|
||||
OPTEEMACHINE = "k3"
|
||||
OPTEEFLAVOR = "am65x"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
7
conf/machine/include/am65xx.inc
Normal file
7
conf/machine/include/am65xx.inc
Normal file
@@ -0,0 +1,7 @@
|
||||
require conf/machine/include/k3.inc
|
||||
SOC_FAMILY_append = ":am65xx"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am65xx"
|
||||
TI_PDK_LIMIT_BOARDS = "am65xx_evm am65xx_idk"
|
||||
TI_PDK_LIMIT_CORES = "mcu1_0 mpu1_0"
|
||||
@@ -29,5 +29,5 @@ MACHINE_GUI_CLASS = "smallscreen"
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci sgx"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci gpu"
|
||||
# Not ready yet - dsp mmip
|
||||
|
||||
@@ -36,4 +36,4 @@ MACHINE_GUI_CLASS = "smallscreen"
|
||||
UBI_VOLNAME = "rootfs"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp"
|
||||
|
||||
@@ -39,4 +39,4 @@ UBOOT_LOADADDRESS = "0x80008000"
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# List common SoC features, may need to add touchscreen/ethernet for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa gpu"
|
||||
|
||||
@@ -52,7 +52,7 @@ UBI_VOLNAME = "rootfs"
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am335x"
|
||||
|
||||
@@ -50,7 +50,7 @@ UBI_VOLNAME = "rootfs"
|
||||
EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
|
||||
# List common SoC features, may need to add touchscreen for specific machines
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu"
|
||||
|
||||
# Set the list of device targets for ti-pdk class recipes
|
||||
TI_PDK_LIMIT_SOCS = "am437x"
|
||||
|
||||
32
conf/machine/j7-evm.conf
Normal file
32
conf/machine/j7-evm.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: J7 EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI J7 EVM
|
||||
|
||||
require conf/machine/include/k3.inc
|
||||
|
||||
IMAGE_FSTYPES += "tar.xz wic.xz"
|
||||
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
KERNEL_DEVICETREE = " \
|
||||
ti/k3-j721e-common-proc-board.dtb \
|
||||
ti/k3-j721e-dp0.dtbo \
|
||||
ti/k3-j721e-common-proc-board-infotainment.dtbo \
|
||||
ti/k3-j721e-common-proc-board-infotainment-display-sharing.dtbo \
|
||||
ti/k3-j721e-common-proc-board-jailhouse.dtbo \
|
||||
"
|
||||
|
||||
UBOOT_MACHINE = "j721e_evm_a72_config"
|
||||
|
||||
OPTEEMACHINE = "k3"
|
||||
OPTEEFLAVOR = "j7"
|
||||
OPTEEOUTPUTMACHINE = "k3"
|
||||
|
||||
# Please note that booting J7 platform also requires
|
||||
# tiboot3.bin and sysfw.itb, which are provided by meta-arago
|
||||
# u-boot-k3-r5 and ti-sci-fw recipes
|
||||
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
|
||||
WKS_FILE = "sdimage-bootpart.wks"
|
||||
|
||||
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot u-boot:do_deploy"
|
||||
@@ -22,7 +22,7 @@ SYSVINIT_ENABLED_GETTYS = ""
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 3856 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -25,7 +25,7 @@ SYSVINIT_ENABLED_GETTYS = ""
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1926 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -22,7 +22,7 @@ SYSVINIT_ENABLED_GETTYS = ""
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 3856 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -22,7 +22,7 @@ SYSVINIT_ENABLED_GETTYS = ""
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1926 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -13,4 +13,4 @@ KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
|
||||
SERIAL_CONSOLES = "115200;ttyS2"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
||||
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat sgx"
|
||||
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat gpu"
|
||||
|
||||
@@ -7,11 +7,11 @@ Power State Coordination Interface (PSCI), Trusted Board Boot Requirements \
|
||||
HOMEPAGE = "http://infocenter.arm.com/help/topic/com.arm.doc.dui0928e/CJHIDGJF.html"
|
||||
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://license.rst;md5=c709b197e22b81ede21109dbffd5f363"
|
||||
LIC_FILES_CHKSUM = "file://license.rst;md5=90153916317c204fade8b8df15739cde"
|
||||
|
||||
inherit deploy
|
||||
|
||||
DEPENDS += "dtc-native"
|
||||
DEPENDS += "dtc-native openssl-native"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -22,7 +22,7 @@ PV_append = "+git${SRCPV}"
|
||||
BRANCH = "ti-atf"
|
||||
SRC_URI = "git://git.ti.com/atf/arm-trusted-firmware.git;branch=${BRANCH}"
|
||||
|
||||
SRCREV ?= "a9361e0ee6e6725346bf1f395b4d3d049bc20a7f"
|
||||
SRCREV ?= "ce3f1512bfc3f346900178c5ef870fbef3ab205e"
|
||||
|
||||
# Make ATF "aware" of OPTEE, no build dependency
|
||||
PACKAGECONFIG[optee] = "SPD=opteed"
|
||||
@@ -46,6 +46,14 @@ do_compile() {
|
||||
oe_runmake all
|
||||
}
|
||||
|
||||
do_compile_append_am65xx-hs-evm() {
|
||||
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
|
||||
( cd ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/; \
|
||||
mv bl31.bin bl31.bin.unsigned; \
|
||||
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
|
||||
)
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/boot
|
||||
install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${D}/boot/
|
||||
@@ -12,14 +12,14 @@ BOARD_GIT_URI = "git://git.ti.com/keystone-rtos/board.git"
|
||||
BOARD_GIT_PROTOCOL = "git"
|
||||
BOARD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.BOARD.01.00.10.04C"
|
||||
BOARD_SRCREV = "e794b8d6a58dc800cb406b05f45b46652c9d4f4c"
|
||||
# Below commit ID corresponds to "DEV.BOARD.01.00.10.05D"
|
||||
BOARD_SRCREV = "fd707da2811df612ae91a3ee33d9ef3864723d61"
|
||||
|
||||
BRANCH ="${BOARD_GIT_BRANCH}"
|
||||
SRC_URI = "${BOARD_GIT_URI};protocol=${BOARD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${BOARD_SRCREV}"
|
||||
PV = "01.00.10.04C"
|
||||
PV = "01.00.10.05D"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " i2c-lld-rtos \
|
||||
|
||||
28
recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
Normal file
28
recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "Cadence MHDP DP bridge firmware"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
|
||||
|
||||
PV = "1.2.15"
|
||||
PR = "r0"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "j7-evm"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "3930363562b35a5f3d495a61ea7e51739462b14a"
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
TARGET = "mhdp8546.bin"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/cadence
|
||||
install -m 0644 ${S}/cadence/${TARGET} ${D}${base_libdir}/firmware/cadence/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|dra7xx|ti33x|ti43x|omapl1"
|
||||
|
||||
PV = "03.03.00.14D"
|
||||
PV = "03.03.00.15"
|
||||
INC_PR = "r0"
|
||||
PE = "1"
|
||||
|
||||
@@ -13,8 +13,8 @@ CSL_GIT_PROTOCOL ="git"
|
||||
CSL_GIT_BRANCH = "release"
|
||||
CSL_GIT_DESTSUFFIX = "git"
|
||||
|
||||
# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.14D"
|
||||
CSL_SRCREV = "192be8698c81d31ba096892ca252a25089923823"
|
||||
# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.15"
|
||||
CSL_SRCREV = "589f3bc2cdf2d3a1aa040848da1d134813d2b345"
|
||||
|
||||
BRANCH="${CSL_GIT_BRANCH}"
|
||||
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
|
||||
|
||||
77
recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb
Normal file
77
recipes-bsp/common-csl-ip/csl-rti-dwwdtest-fw_git.bb
Normal file
@@ -0,0 +1,77 @@
|
||||
SUMMARY = "MCU Watchdog test firmware"
|
||||
DESCRIPTION = "Firmware for the R5F core to test the detection of watchdog timeout events to trigger SOC reset though DMSC."
|
||||
|
||||
require recipes-bsp/common-csl-ip/common-csl-ip.inc
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://../../../COPYING.txt;md5=5857833e20836213677fac33f9aded21"
|
||||
|
||||
S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}/example/rti/rti_dwwdtest_app"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS = "ti-cgt-arm-native \
|
||||
ti-pdk-build-rtos \
|
||||
uart-lld-rtos \
|
||||
board-rtos \
|
||||
sciclient-rtos \
|
||||
udma-lld-rtos"
|
||||
|
||||
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
|
||||
export TOOLCHAIN_PATH_R5 = "${M4_TOOLCHAIN_INSTALL_DIR}"
|
||||
|
||||
EXTRA_OEMAKE = "WDT_RESET=enable DEST_ROOT=${S}"
|
||||
|
||||
do_compile() {
|
||||
for soc in ${TI_PDK_LIMIT_SOCS}
|
||||
do
|
||||
for board in ${TI_PDK_LIMIT_BOARDS}
|
||||
do
|
||||
oe_runmake SOC=$soc BOARD=$board
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/rti_dwwdtest
|
||||
|
||||
for board in ${TI_PDK_LIMIT_BOARDS}
|
||||
do
|
||||
install -d ${D}${base_libdir}/firmware/rti_dwwdtest/$board
|
||||
install -m 0644 csl_rti_dwwd_test_app/bin/$board/csl_rti_dwwd_test_app_mcu1_0_release.xer5f \
|
||||
${D}${base_libdir}/firmware/rti_dwwdtest/$board
|
||||
done
|
||||
}
|
||||
|
||||
# Create separate package for each firmware so we can utilize
|
||||
# update-alternatives.
|
||||
PACKAGES =+ "${PN}-evm ${PN}-idk"
|
||||
RDEPENDS_${PN} = "${PN}-evm ${PN}-idk"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
FILES_${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm"
|
||||
FILES_${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk"
|
||||
|
||||
# We are packaging R5 firmware
|
||||
INSANE_SKIP_${PN}-evm = "arch"
|
||||
INSANE_SKIP_${PN}-idk = "arch"
|
||||
|
||||
# Configure update-alternatives as there may be other firmwares provided in an
|
||||
# image.
|
||||
inherit update-alternatives
|
||||
|
||||
# It might be nice to dynamically declare the following based on
|
||||
# TI_PDK_LIMIT_BOARDS, but that is probably overkill.
|
||||
ALTERNATIVE_${PN}-evm = "am65x-mcu-r5f0_0-fw"
|
||||
ALTERNATIVE_${PN}-idk = "am65x-mcu-r5f0_0-fw"
|
||||
|
||||
ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/am65x-mcu-r5f0_0-fw"
|
||||
|
||||
ALTERNATIVE_TARGET_${PN}-evm = "${base_libdir}/firmware/rti_dwwdtest/am65xx_evm/csl_rti_dwwd_test_app_mcu1_0_release.xer5f"
|
||||
ALTERNATIVE_TARGET_${PN}-idk = "${base_libdir}/firmware/rti_dwwdtest/am65xx_idk/csl_rti_dwwd_test_app_mcu1_0_release.xer5f"
|
||||
|
||||
# Use a lesser priority than ipc example fw
|
||||
# See meta-ti/recipes-ti/ipc/ti-ipc-rtos_git.bb
|
||||
ALTERNATIVE_PRIORITY_${PN}-evm = "4"
|
||||
ALTERNATIVE_PRIORITY_${PN}-idk = "3"
|
||||
@@ -1,7 +1,7 @@
|
||||
# This corresponds to version 1.4.0
|
||||
SRCREV = "0aedcabdbbcbfc7558f70fc50afc95583302a087"
|
||||
SRCREV = "25e823b04e62af224dce97b90359b7569ce3fbb5"
|
||||
PV = "1.4.0"
|
||||
INC_PR = "r0"
|
||||
INC_PR = "r1"
|
||||
|
||||
SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
|
||||
EDMA3_LLD_GIT_PROTOCOL = "git"
|
||||
EDMA3_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to version 2.12.05.30D
|
||||
EDMA3_LLD_SRCREV = "20750e17302116f3760aba68f8323ae110d1cbd0"
|
||||
# Below commit ID corresponds to version 2.12.05.30E
|
||||
EDMA3_LLD_SRCREV = "be925706f060d7b32d894d8b17ce144d454bb4de"
|
||||
|
||||
BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${EDMA3_LLD_SRCREV}"
|
||||
|
||||
PV = "2.12.05.30D"
|
||||
PV = "2.12.05.30E"
|
||||
INC_PR = "r0"
|
||||
|
||||
@@ -2,26 +2,16 @@ SUMMARY = "TI RTOS low level driver for Ethernet MAC (EMAC) peripheral"
|
||||
|
||||
inherit ti-pdk
|
||||
|
||||
require emac-lld.inc
|
||||
|
||||
PR = "r0"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://emacver.h;beginline=1;endline=47;md5=f66bb3695972ca2a85d990a390f45d88"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|c665x-evm|k3"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
|
||||
EMAC_LLD_GIT_PROTOCOL = "git"
|
||||
EMAC_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.14B"
|
||||
EMAC_LLD_SRCREV = "9ad95cde88aae23aaedf95d2146cab4a388e70d3"
|
||||
|
||||
BRANCH ="${EMAC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${EMAC_LLD_SRCREV}"
|
||||
PV = "01.00.03.14B"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " board-rtos osal-rtos"
|
||||
DEPENDS_append_ti33x = " starterware-rtos"
|
||||
DEPENDS_append_ti43x = " starterware-rtos"
|
||||
|
||||
14
recipes-bsp/emac-lld/emac-lld.inc
Normal file
14
recipes-bsp/emac-lld/emac-lld.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
|
||||
EMAC_LLD_GIT_PROTOCOL = "git"
|
||||
EMAC_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.16B"
|
||||
EMAC_LLD_SRCREV = "87ed1e8678c42bb3fdea8f6e7a0197cf159d75b6"
|
||||
|
||||
BRANCH ="${EMAC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${EMAC_LLD_SRCREV}"
|
||||
|
||||
# The LLD version
|
||||
PV = "01.00.03.16+git${SRCPV}"
|
||||
@@ -12,14 +12,14 @@ FATFS_GIT_URI = "git://git.ti.com/keystone-rtos/fatfs.git"
|
||||
FATFS_GIT_PROTOCOL = "git"
|
||||
FATFS_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.FATFS_LLD.01.00.00.13"
|
||||
FATFS_SRCREV = "33735fe2575b433bbe6495839f3a69ccef66ce2f"
|
||||
# Below commit ID corresponds to "DEV.FATFS_LLD.01.00.00.14"
|
||||
FATFS_SRCREV = "7d9a80513f061234a552b87a77ebf76500db1934"
|
||||
|
||||
BRANCH = "${FATFS_GIT_BRANCH}"
|
||||
SRC_URI = "${FATFS_GIT_URI};protocol=${FATFS_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${FATFS_SRCREV}"
|
||||
PV = "01.00.00.13"
|
||||
PV = "01.00.00.14"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " mmcsd-lld-rtos \
|
||||
|
||||
@@ -13,14 +13,14 @@ GPIO_LLD_GIT_PROTOCOL = "git"
|
||||
GPIO_LLD_GIT_BRANCH = "master"
|
||||
GPIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/gpio"
|
||||
|
||||
# Below commit ID corresponds to "DEV.GPIO_LLD.01.00.00.14"
|
||||
GPIO_LLD_SRCREV = "44d3cfcd49bfffe4d02d61c541398db3ffac7ef3"
|
||||
# Below commit ID corresponds to "DEV.GPIO_LLD.01.00.00.15"
|
||||
GPIO_LLD_SRCREV = "21d6134f002358705181bf950b9c01620370ff27"
|
||||
|
||||
BRANCH = "${GPIO_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${GPIO_LLD_GIT_URI};destsuffix=${GPIO_LLD_GIT_DESTSUFFIX};protocol=${GPIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${GPIO_LLD_SRCREV}"
|
||||
PV = "01.00.00.14"
|
||||
PV = "01.00.00.15"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${GPIO_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -13,14 +13,14 @@ I2C_LLD_GIT_PROTOCOL = "git"
|
||||
I2C_LLD_GIT_BRANCH = "master"
|
||||
I2C_LLD_GIT_DESTSUFFIX = "git/ti/drv/i2c"
|
||||
|
||||
# Below commit ID corresponds to "DEV.I2C_LLD.01.00.00.14"
|
||||
I2C_LLD_SRCREV = "639374a5f9d9cf01f0e922063c13b579f6b1b908"
|
||||
# Below commit ID corresponds to "DEV.I2C_LLD.01.00.00.15A"
|
||||
I2C_LLD_SRCREV = "9db7ca48637f2980c2d9c3161259ce5472634d09"
|
||||
|
||||
BRANCH = "${I2C_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${I2C_LLD_GIT_URI};destsuffix=${I2C_LLD_GIT_DESTSUFFIX};protocol=${I2C_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${I2C_LLD_SRCREV}"
|
||||
PV = "01.00.00.14"
|
||||
PV = "01.00.00.15A"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
|
||||
@@ -9,8 +9,8 @@ ICSS_EMAC_LLD_GIT_PROTOCOL = "git"
|
||||
ICSS_EMAC_LLD_GIT_BRANCH = "master"
|
||||
ICSS_EMAC_LLD_GIT_DESTSUFFIX = "git/ti/drv/icss_emac"
|
||||
|
||||
# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.15A"
|
||||
ICSS_EMAC_LLD_SRCREV = "94536e4f3087b87e0787f00637b00878ee085d1d"
|
||||
# Below commit ID corresponds to "DEV.ICSS_EMAC_LLD.01.00.00.16"
|
||||
ICSS_EMAC_LLD_SRCREV = "73ba33fe3a83f467102de0e35d25ce17170eab07"
|
||||
|
||||
BRANCH = "${ICSS_EMAC_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};protocol=${ICSS_EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
@@ -18,7 +18,7 @@ SRC_URI = "${ICSS_EMAC_LLD_GIT_URI};destsuffix=${ICSS_EMAC_LLD_GIT_DESTSUFFIX};p
|
||||
SRCREV = "${ICSS_EMAC_LLD_SRCREV}"
|
||||
|
||||
# The LLD version
|
||||
PV = "01.00.00.15A"
|
||||
PV = "01.00.00.16"
|
||||
|
||||
# The FW version(s)
|
||||
PV_DUALEMAC_FW = "5.2.7"
|
||||
|
||||
146
recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
Normal file
146
recipes-bsp/ipc-lld/ipc-lld-fw_git.bb
Normal file
@@ -0,0 +1,146 @@
|
||||
SUMMARY = "R5 and DSP IPC Echo Test Firmware Binaries"
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
|
||||
|
||||
inherit deploy
|
||||
inherit update-alternatives
|
||||
|
||||
PV = "1.0-git${SRCPV}"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PROTOCOL = "git"
|
||||
BRANCH = "master"
|
||||
SRCREV = "66764a5f063db606ea9db23380694bfd7d4aeafb"
|
||||
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/ipc-lld.git;protocol=${PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
R5_DSP_FW_DIR = "${S}/examples/echo_test/binaries"
|
||||
|
||||
# make sure that lib/firmware, and all its contents are part of the package
|
||||
FILES_${PN} += "${base_libdir}/firmware"
|
||||
|
||||
# install all R5 & DSP ipc echo test binaries in lib/firmware/pdk-ipc, with softlinks up a level
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/pdk-ipc
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.strip.xer5f ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.strip.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.strip.xe66 ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.xe71 ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
install -m 0644 ${R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.strip.xe71 ${D}${base_libdir}/firmware/pdk-ipc/
|
||||
}
|
||||
|
||||
TARGET_MCU_R5FSS0_0 = "j7-mcu-r5f0_0-fw"
|
||||
TARGET_MCU_R5FSS0_1 = "j7-mcu-r5f0_1-fw"
|
||||
TARGET_MAIN_R5FSS0_0 = "j7-main-r5f0_0-fw"
|
||||
TARGET_MAIN_R5FSS0_1 = "j7-main-r5f0_1-fw"
|
||||
TARGET_MAIN_R5FSS1_0 = "j7-main-r5f1_0-fw"
|
||||
TARGET_MAIN_R5FSS1_1 = "j7-main-r5f1_1-fw"
|
||||
TARGET_C66_0 = "j7-c66_0-fw"
|
||||
TARGET_C66_1 = "j7-c66_1-fw"
|
||||
TARGET_C7X = "j7-c71_0-fw"
|
||||
ALTERNATIVE_${PN} = "\
|
||||
j7-mcu-r5f0_0-fw \
|
||||
j7-mcu-r5f0_1-fw \
|
||||
j7-main-r5f0_0-fw \
|
||||
j7-main-r5f0_1-fw \
|
||||
j7-main-r5f1_0-fw \
|
||||
j7-main-r5f1_1-fw \
|
||||
j7-c66_0-fw \
|
||||
j7-c66_1-fw \
|
||||
j7-c71_0-fw\
|
||||
"
|
||||
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
|
||||
ALTERNATIVE_LINK_NAME[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"
|
||||
ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}"
|
||||
ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
|
||||
ALTERNATIVE_LINK_NAME[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_0}"
|
||||
ALTERNATIVE_LINK_NAME[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS1_1}"
|
||||
ALTERNATIVE_LINK_NAME[j7-c66_0-fw] = "${base_libdir}/firmware/${TARGET_C66_0}"
|
||||
ALTERNATIVE_LINK_NAME[j7-c66_1-fw] = "${base_libdir}/firmware/${TARGET_C66_1}"
|
||||
ALTERNATIVE_LINK_NAME[j7-c71_0-fw] = "${base_libdir}/firmware/${TARGET_C7X}"
|
||||
ALTERNATIVE_TARGET[j7-mcu-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release.strip.xer5f"
|
||||
ALTERNATIVE_TARGET[j7-mcu-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu1_1_release.strip.xer5f"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_0_release.strip.xer5f"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu2_1_release.strip.xer5f"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f1_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_0_release.strip.xer5f"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f1_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_mcu3_1_release.strip.xer5f"
|
||||
ALTERNATIVE_TARGET[j7-c66_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_1_release.strip.xe66"
|
||||
ALTERNATIVE_TARGET[j7-c66_1-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c66xdsp_2_release.strip.xe66"
|
||||
ALTERNATIVE_TARGET[j7-c71_0-fw] = "${base_libdir}/firmware/pdk-ipc/ipc_echo_test_c7x_1_release.strip.xe71"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
# copy the executables into the deploy directory
|
||||
do_deploy () {
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_0_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu1_1_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_0_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_0_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu2_1_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu2_1_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_0_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_0_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_mcu3_1_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_testb_mcu3_1_release.strip.xer5f ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.xe66 ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_1_release.strip.xe66 ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.xe66 ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_c66xdsp_2_release.strip.xe66 ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.xe71 ${DEPLOYDIR}/
|
||||
install ${R5_DSP_FW_DIR}/ipc_echo_test_c7x_1_release.strip.xe71 ${DEPLOYDIR}/
|
||||
}
|
||||
addtask deploy after do_install before do_build
|
||||
|
||||
# This is used to prevent the build system to strip the executables
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
# This is used to prevent the build system to split the debug info in a separate file
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
|
||||
INSANE_SKIP_${PN} += "arch"
|
||||
|
||||
# we don't want to configure and build the source code
|
||||
do_compile[noexec] = "1"
|
||||
do_configure[noexec] = "1"
|
||||
@@ -3,7 +3,7 @@ SUMMARY = "TI RTOS low level driver for Multi channel Audio Serial port (McASP)"
|
||||
inherit ti-pdk
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://mcaspver.h;beginline=1;endline=47;md5=25868d96216e5d6f286d5fb05a3be9f4"
|
||||
LIC_FILES_CHKSUM = "file://mcaspver.h;beginline=19;endline=47;md5=75a9adc782a6df0d3a5419743e9a9f18"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti43x|omap-a15|k2g|ti33x|omapl1|k3"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
@@ -13,14 +13,14 @@ MCASP_LLD_GIT_PROTOCOL = "git"
|
||||
MCASP_LLD_GIT_BRANCH = "master"
|
||||
MCASP_LLD_GIT_DESTSUFFIX = "git/ti/drv/mcasp"
|
||||
|
||||
# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.13"
|
||||
MCASP_LLD_SRCREV = "81bb0c58f736485f9e15102f8396aea3ecec591e"
|
||||
# Below commit ID corresponds to "DEV.MCASP_LLD.01.01.00.14"
|
||||
MCASP_LLD_SRCREV = "e9d0f50e8f18052403708974cf7f1116534ca84f"
|
||||
|
||||
BRANCH = "${MCASP_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${MCASP_LLD_GIT_URI};destsuffix=${MCASP_LLD_GIT_DESTSUFFIX};protocol=${MCASP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${MCASP_LLD_SRCREV}"
|
||||
PV = "01.01.00.13"
|
||||
PV = "01.01.00.14"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${MCASP_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -13,14 +13,14 @@ MMCSD_LLD_GIT_PROTOCOL = "git"
|
||||
MMCSD_LLD_GIT_BRANCH = "master"
|
||||
MMCSD_LLD_GIT_DESTSUFFIX = "git/ti/drv/mmcsd"
|
||||
|
||||
# Below commit ID corresponds to "DEV.MMCSD_LLD.01.00.00.15A"
|
||||
MMCSD_LLD_SRCREV = "612a2d6dc91a73cdf290e4060228b0df5e209992"
|
||||
# Below commit ID corresponds to "DEV.MMCSD_LLD.01.00.00.16"
|
||||
MMCSD_LLD_SRCREV = "a0e67160a3a5fd04eb05a5565372994a2cf46c89"
|
||||
|
||||
BRANCH = "${MMCSD_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${MMCSD_LLD_GIT_URI};destsuffix=${MMCSD_LLD_GIT_DESTSUFFIX};protocol=${MMCSD_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${MMCSD_LLD_SRCREV}"
|
||||
PV = "01.00.00.15A"
|
||||
PV = "01.00.00.16"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${MMCSD_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -9,12 +9,12 @@ OSAL_GIT_PROTOCOL = "git"
|
||||
OSAL_GIT_BRANCH = "master"
|
||||
OSAL_GIT_DESTSUFFIX = "git/ti/osal"
|
||||
|
||||
# Below commit ID corresponding to "DEV.OSAL.01.00.00.14A"
|
||||
OSAL_SRCREV = "f57cf90ba4c7dff6a016f60f2e343d777f20e06e"
|
||||
# Below commit ID corresponding to "DEV.OSAL.01.00.00.15A"
|
||||
OSAL_SRCREV = "600a4006e636614900518e12c2828a02c7306f36"
|
||||
|
||||
BRANCH = "${OSAL_GIT_BRANCH}"
|
||||
SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${OSAL_SRCREV}"
|
||||
PV = "01.00.00.14A"
|
||||
PV = "01.00.00.15A"
|
||||
INC_PR = "r0"
|
||||
|
||||
@@ -13,14 +13,14 @@ PCIE_LLD_GIT_PROTOCOL = "git"
|
||||
PCIE_LLD_GIT_BRANCH = "master"
|
||||
PCIE_LLD_GIT_DESTSUFFIX = "git/ti/drv/pcie"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PCIE_LLD.02.03.00.03"
|
||||
PCIE_LLD_SRCREV = "202a89929d8da0ac923978145b4cc44cfafc12d5"
|
||||
# Below commit ID corresponds to "DEV.PCIE_LLD.02.03.00.04"
|
||||
PCIE_LLD_SRCREV = "6a5868f7ab46052b51644bbc1765b742528e90e0"
|
||||
|
||||
BRANCH = "${PCIE_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PCIE_LLD_GIT_URI};destsuffix=${PCIE_LLD_GIT_DESTSUFFIX};protocol=${PCIE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PCIE_LLD_SRCREV}"
|
||||
PV = "02.03.00.03"
|
||||
PV = "02.03.00.04"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append_k3 = " udma-lld-rtos \
|
||||
|
||||
@@ -20,8 +20,8 @@ PM_LLD_GIT_BRANCH_k2g = "int_pm_am335x"
|
||||
|
||||
PM_LLD_GIT_DESTSUFFIX = "git/ti/drv/pm"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.21"
|
||||
PM_LLD_SRCREV = "73d6a8536a420de7e7c40a4f3fd49e9e3b93ac6a"
|
||||
# Below commit ID corresponds to "DEV.PM_LLD.01.08.00.22"
|
||||
PM_LLD_SRCREV = "091ab8a3b96911ed2cb7a19d4cac4005c171fafb"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PM_LLD.01.04.00.05C"
|
||||
PM_LLD_SRCREV_ti33x = "dd1f8486e7738956631b7f4829c8238be2e49dd6"
|
||||
@@ -32,7 +32,7 @@ BRANCH = "${PM_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PM_LLD_GIT_URI};destsuffix=${PM_LLD_GIT_DESTSUFFIX};protocol=${PM_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PM_LLD_SRCREV}"
|
||||
PV = "01.08.00.21"
|
||||
PV = "01.08.00.22"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${PM_LLD_GIT_DESTSUFFIX}"
|
||||
@@ -63,4 +63,8 @@ do_compile_append() {
|
||||
tar -cf pm_lld.tar --exclude='*.tar' ./*
|
||||
}
|
||||
|
||||
|
||||
# Workaround: dra7xx build requires am57xx pm libraries for opencl-monitor
|
||||
TI_PDK_LIMIT_SOCS_append_dra7xx = " am571x am572x am574x"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch staticdev"
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs"
|
||||
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
|
||||
LICENSE = "MIT | GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=15;endline=20;md5=0403c7dea01a2b8232261e805325fac2"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "e"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "j7-evm"
|
||||
|
||||
DEPENDS = "virtual/kernel"
|
||||
|
||||
PROVIDES = "virtual/gpudriver"
|
||||
|
||||
BRANCH = "linuxws/thud/k4.19/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "976f73444ef86b231819052bba2020e5b00aeb06"
|
||||
|
||||
PVR_SOC = "j721e_linux"
|
||||
PVR_BVNC = "22.104.208.318"
|
||||
PVR_BUILD = "release"
|
||||
PVR_WS = "wayland"
|
||||
|
||||
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" RGX_BVNC=${PVR_BVNC} BUILD=${PVR_BUILD} PVR_BUILD_DIR=${PVR_SOC} WINDOW_SYSTEM=${PVR_WS}'
|
||||
|
||||
do_install() {
|
||||
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/binary_${PVR_SOC}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
|
||||
}
|
||||
@@ -7,18 +7,14 @@ inherit module
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
|
||||
|
||||
MACHINE_KERNEL_PR_append = "p"
|
||||
MACHINE_KERNEL_PR_append = "r"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS = "virtual/kernel"
|
||||
|
||||
PROVIDES = "omapdrm-pvr"
|
||||
|
||||
RPROVIDES_${PN} = "omapdrm-pvr"
|
||||
RREPLACES_${PN} = "omapdrm-pvr"
|
||||
RCONFLICTS_${PN} = "omapdrm-pvr"
|
||||
PROVIDES = "virtual/gpudriver"
|
||||
|
||||
BRANCH = "ti-img-sgx/${PV}/k4.19"
|
||||
|
||||
@@ -26,7 +22,7 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "16961a3f4524b653fba99d949d6972c77c7d2701"
|
||||
SRCREV = "dbdbd9309a58ee723fc827ef5fd45c28347cf61f"
|
||||
|
||||
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
|
||||
TARGET_PRODUCT_ti33x = "ti335x"
|
||||
|
||||
@@ -40,7 +40,7 @@ PLATFORM_ti33x = "am335x"
|
||||
PLATFORM_ti43x = "am437x"
|
||||
PLATFORM_omap-a15 = "am572x"
|
||||
PLATFORM_k2g = "k2g"
|
||||
PLATFORM_am65xx-evm = "am65x"
|
||||
PLATFORM_am65xx = "am65x"
|
||||
|
||||
do_compile() {
|
||||
for dir in ${SUBDIRS}
|
||||
@@ -102,7 +102,7 @@ do_install_append_k2g() {
|
||||
done
|
||||
}
|
||||
|
||||
do_install_append_am65xx-evm() {
|
||||
do_install_append_am65xx() {
|
||||
for i in 0 1
|
||||
do
|
||||
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
|
||||
@@ -131,7 +131,7 @@ PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw"
|
||||
PRU_ICSS_ALTERNATIVES_ti43x = "am437x-pru0_0-fw am437x-pru0_1-fw am437x-pru1_0-fw am437x-pru1_1-fw"
|
||||
PRU_ICSS_ALTERNATIVES_omap-a15 = "am57xx-pru1_0-fw am57xx-pru1_1-fw am57xx-pru2_0-fw am57xx-pru2_1-fw"
|
||||
PRU_ICSS_ALTERNATIVES_k2g = "k2g-pru0_0-fw k2g-pru0_1-fw k2g-pru1_0-fw k2g-pru1_1-fw"
|
||||
PRU_ICSS_ALTERNATIVES_am65xx-evm = "am65x-pru0_0-fw am65x-pru0_1-fw am65x-pru1_0-fw am65x-pru1_1-fw am65x-pru2_0-fw am65x-pru2_1-fw am65x-rtu0_0-fw am65x-rtu0_1-fw am65x-rtu1_0-fw am65x-rtu1_1-fw am65x-rtu2_0-fw am65x-rtu2_1-fw"
|
||||
PRU_ICSS_ALTERNATIVES_am65xx = "am65x-pru0_0-fw am65x-pru0_1-fw am65x-pru1_0-fw am65x-pru1_1-fw am65x-pru2_0-fw am65x-pru2_1-fw am65x-rtu0_0-fw am65x-rtu0_1-fw am65x-rtu1_0-fw am65x-rtu1_1-fw am65x-rtu2_0-fw am65x-rtu2_1-fw"
|
||||
|
||||
# Set up link names for the firmwares
|
||||
ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "/lib/firmware/am335x-pru0-fw"
|
||||
|
||||
43
recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
Normal file
43
recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65x"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-bsp/emac-lld/emac-lld.inc
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/firmware/icss_dualmac"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS = "ti-cgt-pru-native"
|
||||
|
||||
EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}""
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -C src
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/ti-pruss
|
||||
|
||||
install -m 0644 bin/rxl2_txl2_rgmii0/rxl2_txl2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-pru0-prueth-fw.elf
|
||||
|
||||
install -m 0644 bin/rtu_test0/rtu_v2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu0-prueth-fw.elf
|
||||
|
||||
install -m 0644 bin/rxl2_txl2_rgmii1/rxl2_txl2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-pru1-prueth-fw.elf
|
||||
|
||||
install -m 0644 bin/rtu_test1/rtu_v2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu1-prueth-fw.elf
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
@@ -1,32 +0,0 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65xx"
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
|
||||
|
||||
PV = "5.1.0.7"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx-evm"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "1e03f08e89bee6d29ffd25782f5ce45b1b4bf1e6"
|
||||
BRANCH ?= "ti-linux-firmware"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TARGET = "am65x-pru0-prueth-fw.elf am65x-pru1-prueth-fw.elf am65x-rtu0-prueth-fw.elf am65x-rtu1-prueth-fw.elf"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
@@ -9,13 +9,13 @@ PRUSS_LLD_GIT_PROTOCOL = "git"
|
||||
PRUSS_LLD_GIT_BRANCH = "master"
|
||||
PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.13"
|
||||
PRUSS_LLD_SRCREV = "21fee01370547a5a84076a50e66fe0d4f5dc51f2"
|
||||
# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.14A"
|
||||
PRUSS_LLD_SRCREV = "988576398ae1488c706eebdd71aeff5959604f77"
|
||||
|
||||
BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PRUSS_LLD_SRCREV}"
|
||||
PV = "01.00.00.13"
|
||||
PV = "01.00.00.14A"
|
||||
INC_PR = "r0"
|
||||
|
||||
|
||||
@@ -8,14 +8,14 @@ SA_LLD_GIT_PROTOCOL = "git"
|
||||
SA_LLD_GIT_BRANCH = "master"
|
||||
SA_LLD_GIT_DESTSUFFIX = "git/ti/drv/sa"
|
||||
|
||||
# Below commit ID corresponding to "DEV.SA_LLD.04.00.00.02"
|
||||
SA_LLD_SRCREV = "0fa21847bc633c66512352007b4a713073aae968"
|
||||
# Below commit ID corresponding to "DEV.SA_LLD.04.00.00.03"
|
||||
SA_LLD_SRCREV = "c85736396b619fd1af080754d92ca3a8f7bee380"
|
||||
|
||||
BRANCH = "${SA_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${SA_LLD_GIT_URI};destsuffix=${SA_LLD_GIT_DESTSUFFIX};protocol=${SA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${SA_LLD_SRCREV}"
|
||||
|
||||
PV = "04.00.00.02"
|
||||
PV = "04.00.00.03"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -12,14 +12,14 @@ SCICLIENT_GIT_URI = "git://git.ti.com/keystone-rtos/sciclient.git"
|
||||
SCICLIENT_GIT_PROTOCOL = "git"
|
||||
SCICLIENT_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.SCICLIENT.01.00.00.02B"
|
||||
SCICLIENT_SRCREV = "3b88caad398d2eeca7acf4f02c24aaa993c6b545"
|
||||
# Below commit ID corresponds to "DEV.SCICLIENT.01.00.00.03"
|
||||
SCICLIENT_SRCREV = "c593925c3d9aecf18a8a1834d0eb098851457098"
|
||||
|
||||
BRANCH = "${SCICLIENT_GIT_BRANCH}"
|
||||
SRC_URI = "${SCICLIENT_GIT_URI};protocol=${SCICLIENT_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${SCICLIENT_SRCREV}"
|
||||
PV = "01.00.00.02B"
|
||||
PV = "01.00.00.03"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos common-csl-ip-rtos"
|
||||
@@ -36,9 +36,9 @@ export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/pac
|
||||
#export PDK_SCICLIENT_ROOT_PATH ="${WORKDIR}/build"
|
||||
#export DEST_ROOT="${S}"
|
||||
|
||||
LIMSOCS_am65xx-evm = "am65xx"
|
||||
LIMBOARDS_am65xx-evm = "am65xx_evm"
|
||||
BOARD_PACKAGE_am65xx-evm = "am65xx_evm"
|
||||
LIMSOCS_am65xx = "am65xx"
|
||||
LIMBOARDS_am65xx = "am65xx_evm"
|
||||
BOARD_PACKAGE_am65xx = "am65xx_evm"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "SCICLIENT"
|
||||
|
||||
@@ -5,7 +5,7 @@ inherit ti-pdk
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://serdes_diag.h;beginline=1;endline=42;;md5=68e7ce6fdc0e9328fa7d0ec41c54420c"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|c66x"
|
||||
COMPATIBLE_MACHINE = "keystone|c66x|k3"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SERDES_DIAG_GIT_URI = "git://git.ti.com/keystone-rtos/serdes_diag.git"
|
||||
@@ -13,18 +13,22 @@ SERDES_DIAG_GIT_PROTOCOL = "git"
|
||||
SERDES_DIAG_GIT_BRANCH = "master"
|
||||
SERDES_DIAG_GIT_DESTSUFFIX = "git/ti/diag/serdes_diag"
|
||||
|
||||
# Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.11A"
|
||||
SERDES_DIAG_SRCREV = "74db059c48ca5a903dab9cfbf665fd8693de8296"
|
||||
# Below commit ID corresponds to "DEV.DIAG_SERDES_SB.01.00.00.12A"
|
||||
SERDES_DIAG_SRCREV = "121c3bf0a20493a32f3f0297a370f2994cd288ff"
|
||||
|
||||
BRANCH = "${SERDES_DIAG_GIT_BRANCH}"
|
||||
SRC_URI = "${SERDES_DIAG_GIT_URI};destsuffix=${SERDES_DIAG_GIT_DESTSUFFIX};protocol=${SERDES_DIAG_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${SERDES_DIAG_SRCREV}"
|
||||
PV = "01.00.00.11A"
|
||||
PV = "01.00.00.12A"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${SERDES_DIAG_GIT_DESTSUFFIX}"
|
||||
|
||||
|
||||
# Build with make instead of XDC for k3
|
||||
TI_PDK_XDCMAKE_k3 = "0"
|
||||
|
||||
# HTML doc link params
|
||||
PDK_COMP_LINK_TEXT = "SERDES Diagnostics"
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@ SPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/spi-lld.git"
|
||||
SPI_LLD_GIT_PROTOCOL = "git"
|
||||
SPI_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.14A"
|
||||
SPI_LLD_SRCREV = "f88180f7ee61670dc3addc3781507f04270a7eda"
|
||||
# Below commit ID corresponds to "DEV.SPI_LLD.01.00.00.15"
|
||||
SPI_LLD_SRCREV = "8f984dce7d475c3e63d97d6bb47fed9e8439b929"
|
||||
|
||||
BRANCH = "${SPI_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${SPI_LLD_GIT_URI};protocol=${SPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${SPI_LLD_SRCREV}"
|
||||
PV = "01.00.00.14A"
|
||||
PV = "01.00.00.15"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
|
||||
@@ -8,14 +8,14 @@ STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git"
|
||||
STARTERWARE_GIT_PROTOCOL = "git"
|
||||
STARTERWARE_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.10"
|
||||
STARTERWARE_SRCREV = "15b7839d4fe9bfb7188025c3710ea9d7c4118309"
|
||||
# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.11A"
|
||||
STARTERWARE_SRCREV = "017dd312b35d4c6b5d6f4d867367b13dfb0a29ea"
|
||||
|
||||
BRANCH = "${STARTERWARE_GIT_BRANCH}"
|
||||
SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${STARTERWARE_SRCREV}"
|
||||
PV = "02.01.01.10"
|
||||
PV = "02.01.01.11A"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
SUMMARY = "TI Display Sharing Firmware"
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
|
||||
|
||||
PV = "00.09.00.00-git${SRCPV}"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit deploy
|
||||
inherit update-alternatives
|
||||
|
||||
PROTOCOL = "git"
|
||||
BRANCH = "ti-linux-firmware"
|
||||
SRCREV = "4a86f16df9b44798851e51fa465825710cda76cf"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=${PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
TI_DISP_SHARE_FW_DIR = "${S}/ti-display-sharing/"
|
||||
TI_DISP_SHARE_FW_FILENAME = "ti-display-sharing-j721e.bin"
|
||||
|
||||
# make sure that lib/firmware, and all its contents are part of the package
|
||||
FILES_${PN} += "${base_libdir}/firmware"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0755 ${TI_DISP_SHARE_FW_DIR}/${TI_DISP_SHARE_FW_FILENAME} ${D}${base_libdir}/firmware
|
||||
}
|
||||
|
||||
TARGET_MAIN_R5FSS0_1 = "j7-main-r5f0_1-fw"
|
||||
ALTERNATIVE_${PN} = "j7-main-r5f0_1-fw"
|
||||
ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}"
|
||||
ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TI_DISP_SHARE_FW_FILENAME}"
|
||||
ALTERNATIVE_PRIORITY = "9"
|
||||
|
||||
# This is used to prevent the build system to strip the executables
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
# This is used to prevent the build system to split the debug info in a separate file
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
|
||||
INSANE_SKIP_${PN} += "arch"
|
||||
|
||||
# we don't want to configure and build the source code
|
||||
do_compile[noexec] = "1"
|
||||
do_configure[noexec] = "1"
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "j7-evm"
|
||||
|
||||
SRCREV = "1f85a7fb3b78c82b44038aaf29bfdb229aeb6bc8"
|
||||
|
||||
EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}"
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
|
||||
install -m 644 ${S}/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
|
||||
}
|
||||
18
recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb
Normal file
18
recipes-bsp/ti-img-encode-decode/viddec-test-app_1.0.0.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Test applications for TI DEC (v4l2 decoder for IMG D5520)"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=f17e17d664f72942124e4fcf06c178ee"
|
||||
|
||||
DEPENDS = "libdrm ffmpeg"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
PR = "r0"
|
||||
SRCREV = "9d5b3c11ac24dbed9284e849c0db9daeb47704e7"
|
||||
|
||||
EXTRA_OEMAKE = "CC="${CC}""
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/jacinto7_multimedia/viddec-test-app.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
34
recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
Normal file
34
recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Video Decoding Firmware Packaging recipe"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1"
|
||||
|
||||
BRANCH = "master"
|
||||
SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5"
|
||||
|
||||
SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "1.0-git${SRCPV}"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
VXD_FW_DIR = "${S}/decoder/firmware/"
|
||||
|
||||
# make sure that lib/firmware, and all its contents are part of the package
|
||||
FILES_${PN} += "${base_libdir}/firmware"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware
|
||||
}
|
||||
|
||||
# This is used to prevent the build system to strip the executables
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
# This is used to prevent the build system to split the debug info in a separate file
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP
|
||||
INSANE_SKIP_${PN} += "arch"
|
||||
|
||||
# we don't want to configure and build the source code
|
||||
do_compile[noexec] = "1"
|
||||
do_configure[noexec] = "1"
|
||||
@@ -6,12 +6,12 @@ TRANSPORT_GIT_URI = "git://git.ti.com/keystone-rtos/transport.git"
|
||||
TRANSPORT_GIT_PROTOCOL = "git"
|
||||
TRANSPORT_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.15A"
|
||||
TRANSPORT_SRCREV = "808affb9c2ba050902fb04f5bda2e5af491941d5"
|
||||
# Below commit ID corresponds to "DEV.TRANSPORT.01.00.00.16A"
|
||||
TRANSPORT_SRCREV = "63793fa936534e5cc940b1ed562dfb866cdc442f"
|
||||
|
||||
BRANCH = "${TRANSPORT_GIT_BRANCH}"
|
||||
SRC_URI = "${TRANSPORT_GIT_URI};protocol=${TRANSPORT_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${TRANSPORT_SRCREV}"
|
||||
PV = "01.00.00.15A"
|
||||
PV = "01.00.00.16A"
|
||||
INC_PR = "r0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
PR = "r7"
|
||||
PR = "r19"
|
||||
|
||||
BRANCH = "ti-u-boot-2019.01"
|
||||
|
||||
SRCREV = "84756f3dc48a99dc29fa637d6c8954654257a332"
|
||||
SRCREV = "6e54d1f7fa51da095a1d7db87bc3dce32a8ea7c5"
|
||||
|
||||
@@ -13,14 +13,14 @@ UART_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/uart-lld.git"
|
||||
UART_LLD_GIT_PROTOCOL = "git"
|
||||
UART_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.14"
|
||||
UART_LLD_SRCREV = "3cba443fcd469f8f716bbff21c9b10f60086bcbb"
|
||||
# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.15"
|
||||
UART_LLD_SRCREV = "4493f456549c85749a05b1f46bf0b75d23976db1"
|
||||
|
||||
BRANCH = "${UART_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${UART_LLD_GIT_URI};protocol=${UART_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${UART_LLD_SRCREV}"
|
||||
PV = "01.00.00.14"
|
||||
PV = "01.00.00.15"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " edma3-lld-rtos \
|
||||
|
||||
@@ -13,14 +13,14 @@ UDMA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/udma-lld.git"
|
||||
UDMA_LLD_GIT_PROTOCOL = "git"
|
||||
UDMA_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.UDMA_LLD.01.00.00.02"
|
||||
UDMA_LLD_SRCREV = "1577913ad89201a547ba4804ccb60693963499e8"
|
||||
# Below commit ID corresponds to "DEV.UDMA_LLD.01.00.00.03"
|
||||
UDMA_LLD_SRCREV = "8b5a762310d1cf9a94a4a6a8e5c1254eb483b2e7"
|
||||
|
||||
BRANCH = "${UDMA_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${UDMA_LLD_GIT_URI};protocol=${UDMA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${UDMA_LLD_SRCREV}"
|
||||
PV = "01.00.00.02"
|
||||
PV = "01.00.00.03"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos \
|
||||
|
||||
@@ -12,14 +12,14 @@ USB_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/usb.git"
|
||||
USB_LLD_GIT_PROTOCOL = "git"
|
||||
USB_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.USB_LLD.01.00.00.17"
|
||||
USB_LLD_SRCREV = "d7670a7b2e9c659c2f674782c763e3e3bc22a74e"
|
||||
# Below commit ID corresponds to "DEV.USB_LLD.01.00.00.18A"
|
||||
USB_LLD_SRCREV = "2a90c39be49f2732b3ca08b322c51d0a977ea510"
|
||||
|
||||
BRANCH = "${USB_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${USB_LLD_GIT_URI};protocol=${USB_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${USB_LLD_SRCREV}"
|
||||
PV = "01.00.00.17"
|
||||
PV = "01.00.00.18A"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS_append = " osal-rtos"
|
||||
|
||||
@@ -25,7 +25,9 @@ PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${VPS_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
DEPENDS = " ti-sysbios \
|
||||
# Add to DEPENDS set in ti-pdk.bbclass
|
||||
DEPENDS_append = " \
|
||||
ti-sysbios \
|
||||
osal-rtos \
|
||||
edma3-lld-rtos \
|
||||
board-rtos \
|
||||
@@ -39,6 +41,9 @@ export DEST_ROOT="${S}"
|
||||
# Build with make instead of XDC
|
||||
TI_PDK_XDCMAKE = "0"
|
||||
|
||||
# The makefile will push these on the XDCPATH
|
||||
export EDMA3LLD_BIOS6_INSTALLDIR = "${EDMA3_LLD_INSTALL_DIR}"
|
||||
|
||||
do_compile_append() {
|
||||
# Delete archive created by XDC release command since it does not contain all content
|
||||
find -name "*.tar" -exec rm -f {} \;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# This corresponds to version 1.1.0
|
||||
SRCREV = "d136542bbcad9489b8391550d8a8bee41076f080"
|
||||
SRCREV = "d1d32c32fa9e40b48fabf5893487ccbd5790499c"
|
||||
|
||||
PV = "1.1.0"
|
||||
INC_PR = "r4"
|
||||
INC_PR = "r6"
|
||||
|
||||
SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
|
||||
63
recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5187610.bb
Normal file
63
recipes-graphics/libgles/ti-img-rogue-umlibs_1.10.5187610.bb
Normal file
@@ -0,0 +1,63 @@
|
||||
DESCRIPTION = "Userspace libraries for PowerVR Rogue GPU on TI SoCs"
|
||||
HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "j7-evm"
|
||||
|
||||
PR = "r9"
|
||||
|
||||
BRANCH = "linuxws/thud/k4.19/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
|
||||
SRCREV = "9ca36686e248675b709e5072672f987a2d95ed86"
|
||||
|
||||
PVR_SOC ?= "j721e_linux"
|
||||
PVR_BUILD ?= "release"
|
||||
PVR_WS = "wayland"
|
||||
|
||||
INITSCRIPT_NAME = "rc.pvr"
|
||||
INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
|
||||
|
||||
DEPENDS += "libdrm wayland expat"
|
||||
RDEPENDS_${PN} += "bash"
|
||||
RDEPENDS_${PN} += "python-core"
|
||||
RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat"
|
||||
|
||||
RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
|
||||
RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
|
||||
RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
|
||||
|
||||
RREPLACES_${PN} = "libegl libgles1 liblges2 libgbm"
|
||||
RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
|
||||
RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
|
||||
|
||||
RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
|
||||
RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
|
||||
RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${PVR_SOC} BUILD=${PVR_BUILD} WINDOW_SYSTEM=${PVR_WS}
|
||||
chown -R root:root ${D}
|
||||
}
|
||||
|
||||
FILES_${PN} += " ${base_libdir}/firmware/"
|
||||
FILES_${PN} += " ${datadir}/"
|
||||
|
||||
PACKAGES =+ "${PN}-plugins"
|
||||
FILES_${PN}-plugins = "${libdir}/libGLESv2.so ${libdir}/libGLESv1_CM.so ${libdir}/libEGL.so ${libdir}/dri/pvr_dri.so"
|
||||
RDEPENDS_${PN} += "${PN}-plugins"
|
||||
|
||||
ALLOW_EMPTY_${PN}-plugins = "1"
|
||||
|
||||
INSANE_SKIP_${PN} += "ldflags arch already-stripped"
|
||||
INSANE_SKIP_${PN}-plugins = "dev-so"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
@@ -10,7 +10,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
BRANCH = "ti-img-sgx/thud/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "2bce2bd76259848e7d263e0a85c164480a71ba7d"
|
||||
SRCREV = "9e63d5ac0b40d6a70463173c597122b6645c8a95"
|
||||
|
||||
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
|
||||
TARGET_PRODUCT_ti33x = "ti335x"
|
||||
@@ -22,7 +22,7 @@ INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
PR = "r31"
|
||||
PR = "r33"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
|
||||
|
||||
DEPENDS += "libdrm udev libgbm wayland libffi"
|
||||
|
||||
20
recipes-kernel/jailhouse/jailhouse-arch.inc
Normal file
20
recipes-kernel/jailhouse/jailhouse-arch.inc
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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)}"
|
||||
141
recipes-kernel/jailhouse/jailhouse_git.bb
Normal file
141
recipes-kernel/jailhouse/jailhouse_git.bb
Normal file
@@ -0,0 +1,141 @@
|
||||
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 & BSD-2-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
|
||||
"
|
||||
|
||||
PV = "0.10+git${SRCPV}"
|
||||
SRCREV = "6ac9dceadc466c35fc6735eb828f1b70b55aafec"
|
||||
BRANCH = "ti-jailhouse-0.10"
|
||||
|
||||
SRC_URI = " \
|
||||
git://git.ti.com/jailhouse/ti-jailhouse.git;protocol=git;branch=${BRANCH} \
|
||||
"
|
||||
|
||||
DEPENDS = "virtual/kernel dtc-native python-mako-native python-mako make-native"
|
||||
RDEPENDS_${PN} += "\
|
||||
python-curses\
|
||||
python-datetime\
|
||||
python-argparse\
|
||||
python-mmap\
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
require jailhouse-arch.inc
|
||||
inherit module pythonnative bash-completion deploy
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
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_CONFIG ?= "${S}/ci/jailhouse-config-x86.h"
|
||||
JH_CONFIG_k3 ?= "${S}/ci/jailhouse-config-k3.h"
|
||||
|
||||
JH_CELL_FILES ?= "*.cell"
|
||||
JH_CELL_FILES_k3 ?= "k3-*.cell"
|
||||
|
||||
JH_INMATE_DTB ?= ""
|
||||
JH_INMATE_DTB_am65xx-evm ?= "inmate-k3-am654.dtb"
|
||||
JH_INMATE_DTB_j7-evm ?= "inmate-k3-j721e-evm.dtb"
|
||||
|
||||
JH_LINUX_DEMO_CELL ?= ""
|
||||
JH_LINUX_DEMO_CELL_am65xx-evm ?= "k3-am654-linux-demo.cell"
|
||||
JH_LINUX_DEMO_CELL_j7-evm ?= "k3-j721e-evm-linux-demo.cell"
|
||||
|
||||
JH_SYSCONFIG_CELL ?= ""
|
||||
JH_SYSCONFIG_CELL_am65xx-evm ?= "k3-am654.cell"
|
||||
JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell"
|
||||
|
||||
JH_CMDLINE ?= ""
|
||||
JH_CMDLINE_k3 ?= "console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x2810000"
|
||||
|
||||
do_configure() {
|
||||
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
|
||||
then
|
||||
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
|
||||
fi
|
||||
|
||||
cp -av ${JH_CONFIG} ${S}/include/jailhouse/config.h
|
||||
}
|
||||
|
||||
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
|
||||
-DJAILHOUSE_VERSION=\\\"$JAILHOUSE_VERSION\\\" \
|
||||
-Wall -Wextra -Wmissing-declarations -Wmissing-prototypes -Werror \
|
||||
-I../driver'
|
||||
|
||||
TOOLS_SRC_DIR = "${S}/tools"
|
||||
TOOLS_OBJ_DIR = "${S}/tools"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake V=1 ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} KDIR=${STAGING_KERNEL_BUILDDIR}
|
||||
}
|
||||
|
||||
python __anonymous () {
|
||||
d.appendVarFlag('do_install', 'depends', ' virtual/kernel:do_deploy')
|
||||
initrd = d.getVar('INITRAMFS_IMAGE', True)
|
||||
if initrd:
|
||||
d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} KDIR=${STAGING_KERNEL_BUILDDIR} DESTDIR=${D} install
|
||||
|
||||
install -d ${D}${CELL_DIR}
|
||||
install -m 0644 ${B}/configs/${JH_ARCH}/${JH_CELL_FILES} ${D}${CELL_DIR}/
|
||||
|
||||
install -d ${D}${INMATES_DIR}
|
||||
install -m 0644 ${B}/inmates/demos/${JH_ARCH}/*.bin ${D}${INMATES_DIR}
|
||||
|
||||
install -d ${D}/boot
|
||||
|
||||
if [ -n "${JH_INMATE_DTB}" -a -n "${JH_LINUX_DEMO_CELL}" ]; then
|
||||
cd ${TOOLS_SRC_DIR}
|
||||
|
||||
echo "#! /bin/sh" > ${D}${JH_DATADIR}/linux-demo.sh
|
||||
echo "jailhouse enable ${CELL_DIR}/${JH_SYSCONFIG_CELL}" >> ${D}${JH_DATADIR}/linux-demo.sh
|
||||
./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \
|
||||
-a ${JH_ARCH} -c "${JH_CMDLINE}" \
|
||||
-d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \
|
||||
${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \
|
||||
${DEPLOY_DIR_IMAGE}/Image \
|
||||
| tr -cd '\11\12\15\40-\176' \
|
||||
>> ${D}${JH_DATADIR}/linux-demo.sh
|
||||
|
||||
sed -i -e 's,^Modified device tree written.*,,g' ${D}${JH_DATADIR}/linux-demo.sh
|
||||
sed -i -e 's,\${D},,g' ${D}${JH_DATADIR}/linux-demo.sh
|
||||
sed -i -e 's, linux-loader.bin, ${JH_EXEC_DIR}/linux-loader.bin,g' ${D}${JH_DATADIR}/linux-demo.sh
|
||||
sed -i -e 's,\${DEPLOY_DIR_IMAGE},/boot,g' ${D}${JH_DATADIR}/linux-demo.sh
|
||||
sed -i -e '/^\s*$/d' ${D}${JH_DATADIR}/linux-demo.sh
|
||||
chmod +x ${D}${JH_DATADIR}/linux-demo.sh
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
PACKAGE_BEFORE_PN = "kernel-module-jailhouse"
|
||||
FILES_${PN} = "${base_libdir}/firmware ${libexecdir} ${sbindir} ${JH_DATADIR} /boot"
|
||||
|
||||
INSANE_SKIP_${PN} = "ldflags"
|
||||
|
||||
KERNEL_MODULE_AUTOLOAD += "jailhouse"
|
||||
|
||||
# Any extra cells/inmates from external recipes/packages
|
||||
CELLS = ""
|
||||
|
||||
python __anonymous () {
|
||||
# Setup DEPENDS and RDEPENDS to included cells"
|
||||
cells = d.getVar('CELLS', True) or ""
|
||||
for cell in cells.split():
|
||||
d.appendVar('DEPENDS', ' ' + cell)
|
||||
d.appendVar('RDEPENDS_${PN}', ' ' + cell)
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
From 9e1b0f0d7148524c226befdef90849f9e143ef66 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@ti.com>
|
||||
Date: Fri, 17 May 2019 18:20:21 +0000
|
||||
Subject: [PATCH] selftests: add "ptp" to TARGETS
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
---
|
||||
tools/testing/selftests/Makefile | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
|
||||
index 831022b1..6bd7cf81 100644
|
||||
--- a/tools/testing/selftests/Makefile
|
||||
+++ b/tools/testing/selftests/Makefile
|
||||
@@ -20,6 +20,7 @@ TARGETS += net
|
||||
TARGETS += nsfs
|
||||
TARGETS += powerpc
|
||||
TARGETS += pstore
|
||||
+TARGETS += ptp
|
||||
TARGETS += ptrace
|
||||
TARGETS += seccomp
|
||||
TARGETS += sigaltstack
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -11,6 +11,7 @@ SRC_URI = "\
|
||||
file://0001-selftests-gpio-use-pkg-config.patch \
|
||||
file://0001-selftests-net-use-LDLIBS-to-link-against-libnuma.patch \
|
||||
file://0001-selftests-breakpoints-allow-to-cross-compile-for-aar.patch;apply=no \
|
||||
file://0001-selftests-add-ptp-to-TARGETS.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "b5e7f6b9b2fe1b6cc7bc56a3a0bfc090"
|
||||
@@ -64,6 +65,7 @@ PACKAGE_BEFORE_PN = " \
|
||||
${PN}-nsfs \
|
||||
${PN}-powerpc \
|
||||
${PN}-pstore \
|
||||
${PN}-ptp \
|
||||
${PN}-ptrace \
|
||||
${PN}-seccomp \
|
||||
${PN}-sigaltstack \
|
||||
@@ -100,6 +102,7 @@ FILES_${PN}-net = "${bindir}/kselftests/net"
|
||||
FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs"
|
||||
FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
|
||||
FILES_${PN}-pstore = "${bindir}/kselftests/pstore"
|
||||
FILES_${PN}-ptp = "${bindir}/kselftests/ptp"
|
||||
FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
|
||||
FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp"
|
||||
FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
CMEM_MACHINE = "${MACHINE}"
|
||||
CMEM_MACHINE_am57xx-evm = "am571x am572x am574x"
|
||||
CMEM_MACHINE_am57xx-hs-evm = "am571x am572x am574x"
|
||||
CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x"
|
||||
CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x"
|
||||
CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x dra76x"
|
||||
CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x dra76x"
|
||||
|
||||
# Set cmem.dtsi per machine or machine variant
|
||||
CMEM_DTSI = "cmem.dtsi"
|
||||
@@ -13,6 +13,7 @@ CMEM_DTSI_am571x = "cmem-am571x.dtsi"
|
||||
CMEM_DTSI_am574x = "cmem-am574x.dtsi"
|
||||
CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
|
||||
CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
|
||||
CMEM_DTSI_dra76x = "cmem-dra76x.dtsi"
|
||||
|
||||
# Split device trees between variants
|
||||
CMEM_DEVICETREE = "${KERNEL_DEVICETREE}"
|
||||
@@ -24,6 +25,7 @@ CMEM_DEVICETREE_dra71x = "dra71-evm.dtb"
|
||||
CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \
|
||||
dra72-evm-revc.dtb dra72-evm-revc-lcd-osd101t2045.dtb dra72-evm-revc-lcd-osd101t2587.dtb"
|
||||
CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-osd101t2045.dtb dra7-evm-lcd-osd101t2587.dtb"
|
||||
CMEM_DEVICETREE_dra76x = "dra76-evm.dtb dra76-evm-tfp410.dtb"
|
||||
|
||||
# Flag to enable CMEM injection
|
||||
RESERVE_CMEM ?= "0"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
&pruss_soc_bus1 {
|
||||
uio_pruss1_mdio {
|
||||
uio_pruss1_mdio: uio_mdio@4b232400 {
|
||||
status = "okay";
|
||||
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x4b232400 0x90>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&dpll_gmac_h13x2_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x32400 0x90>;
|
||||
|
||||
reset-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;
|
||||
reset-delay-us = <2>; /* PHY datasheet states 1uS min */
|
||||
@@ -112,14 +112,14 @@
|
||||
};
|
||||
|
||||
&pruss_soc_bus2 {
|
||||
uio_pruss2_mdio {
|
||||
uio_pruss2_mdio: uio_mdio@4b2b2400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x4b2b2400 0x90>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&dpll_gmac_h13x2_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x32400 0x90>;
|
||||
status = "okay";
|
||||
|
||||
reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
|
||||
@@ -223,18 +223,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&pruss1_eth {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss1_emac1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_emac0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -106,14 +106,14 @@
|
||||
};
|
||||
|
||||
&pruss_soc_bus2 {
|
||||
uio_pruss2_mdio: uio_pruss2_mdio {
|
||||
uio_pruss2_mdio: uio_mdio@4b2b2400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x4b2b2400 0x90>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&dpll_gmac_h13x2_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
reg = <0x32400 0x90>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
29
recipes-kernel/linux/files/dra7xx/cmem-dra76x.dtsi
Normal file
29
recipes-kernel/linux/files/dra7xx/cmem-dra76x.dtsi
Normal file
@@ -0,0 +1,29 @@
|
||||
/ {
|
||||
reserved-memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
|
||||
cmem_block_mem_0: cmem_block_mem@a0000000 {
|
||||
reg = <0x0 0xa0000000 0x0 0x18000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
cmem {
|
||||
compatible = "ti,cmem";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
#pool-size-cells = <2>;
|
||||
|
||||
status = "okay";
|
||||
|
||||
cmem_block_0: cmem_block@0 {
|
||||
reg = <0>;
|
||||
memory-region = <&cmem_block_mem_0>;
|
||||
cmem-buf-pools = <1 0x0 0x18000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
&pruss_soc_bus0 {
|
||||
uio_pruss1_mdio: uio_mdio@32400 {
|
||||
uio_pruss1_mdio: uio_mdio@20ab2400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x32400 0x90>;
|
||||
reg = <0x20ab2400 0x90>;
|
||||
clocks = <&k2g_clks 0x0014 1>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
@@ -95,9 +95,9 @@
|
||||
};
|
||||
|
||||
&pruss_soc_bus1 {
|
||||
uio_pruss2_mdio: uio_mdio@32400 {
|
||||
uio_pruss2_mdio: uio_mdio@20af2400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x32400 0x90>;
|
||||
reg = <0x20af2400 0x90>;
|
||||
clocks = <&k2g_clks 0x0015 1>;
|
||||
clock-names = "fck";
|
||||
#address-cells = <1>;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
&pruss_soc_bus {
|
||||
uio_pruss_mdio: uio_pruss_mdio@32400 {
|
||||
uio_pruss_mdio: uio_mdio@4a332400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x32400 0x90>;
|
||||
reg = <0x4a332400 0x90>;
|
||||
clocks = <&dpll_core_m4_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
&pruss_soc_bus {
|
||||
uio_pruss2_mdio: uio_mdio@32400 {
|
||||
uio_pruss2_mdio: uio_mdio@54432400 {
|
||||
compatible = "ti,davinci_mdio";
|
||||
reg = <0x32400 0x90>;
|
||||
reg = <0x54432400 0x90>;
|
||||
clocks = <&dpll_core_m4_ck>;
|
||||
clock-names = "fck";
|
||||
bus_freq = <1000000>;
|
||||
|
||||
@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.19:"
|
||||
|
||||
BRANCH = "ti-rt-linux-4.19.y"
|
||||
|
||||
SRCREV = "9df3c9d7cac643efcf1abd46711bb35ef0d16b71"
|
||||
PV = "4.19.31+git${SRCPV}"
|
||||
SRCREV = "2f81b589b68ecca2421740e8c1e32a6fe3896b21"
|
||||
PV = "4.19.50+git${SRCPV}"
|
||||
|
||||
@@ -48,7 +48,10 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am57xx-evm = " prueth-fw"
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am437x-evm = " prueth-fw"
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am335x-evm = " prueth-fw"
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_k2g = " prueth-fw"
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-bin"
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am65xx-evm = " prueth-fw-am65x"
|
||||
|
||||
# Add run-time dependency for Cadence MHDP firmware to the rootfs
|
||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7-evm = " cadence-mhdp-fw"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
@@ -56,11 +59,11 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-linux-4.19.y"
|
||||
|
||||
SRCREV = "66437806bfe08270c60153cbddc780efba836b6e"
|
||||
PV = "4.19.31+git${SRCPV}"
|
||||
SRCREV = "79386bfefcb012692abd377a69ce4b8ea992b52e"
|
||||
PV = "4.19.50+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
||||
@@ -69,3 +72,9 @@ SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig"
|
||||
|
||||
FILES_${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb"
|
||||
|
||||
# Special configuration for remoteproc/rpmsg IPC modules
|
||||
module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
|
||||
module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
|
||||
module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
|
||||
KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
include ti-cgt-arm.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=3faed35326711d6596f0377279323df1"
|
||||
|
||||
BINFILE_MD5 = "d0559bccc323002a9256dd68e1d223ab"
|
||||
BINFILE_SHA256 = "8462eb7ce837274582721ed75c73928865d7678aca23b30fde962cdd36c21414"
|
||||
6
recipes-ti/devtools/ti-cgt-arm-native_18.12.1.bb
Normal file
6
recipes-ti/devtools/ti-cgt-arm-native_18.12.1.bb
Normal file
@@ -0,0 +1,6 @@
|
||||
include ti-cgt-arm.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=ab7a61241e90fcd144a756d88294cf30"
|
||||
|
||||
BINFILE_MD5 = "af2378cf8d5d6f200ef3329f5a065529"
|
||||
BINFILE_SHA256 = "d90ae2360cd5b22912715ae7898d99352da1b97fd655f9a55d0d19a2a46bab0e"
|
||||
@@ -4,8 +4,8 @@ LICENSE = "BSD-3-Clause"
|
||||
|
||||
require ../includes/ti-paths.inc
|
||||
|
||||
PV = "3_4_0_3"
|
||||
PR = "r2"
|
||||
PV = "3_4_0_4"
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "ti-cgt6x-native \
|
||||
ti-xdctools-native \
|
||||
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git"
|
||||
DSPLIB_GIT_BRANCH = "master"
|
||||
DSPLIB_GIT_PROTOCOL = "git"
|
||||
DSPLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/dsplib.git"
|
||||
DSPLIB_SRCREV = "2cd21a04913648d040bd63234183cc6f81f5286a"
|
||||
DSPLIB_SRCREV = "ec2f933247d5fa59377c801bb23eb3b62b38627b"
|
||||
|
||||
SRC_URI = "${DSPLIB_GIT_URI};protocol=${DSPLIB_GIT_PROTOCOL};branch=${DSPLIB_GIT_BRANCH}"
|
||||
SRCREV = "${DSPLIB_SRCREV}"
|
||||
|
||||
@@ -15,7 +15,7 @@ PLATFORM_k2g = "66AK2G"
|
||||
PLATFORM_omapl138 = "OMAPL138"
|
||||
PLATFORM_c667x-evm = "C6678"
|
||||
PLATFORM_c665x-evm = "C6678"
|
||||
PLATFORM_am65xx-evm = "AM65XX"
|
||||
PLATFORM_am65xx = "AM65XX"
|
||||
|
||||
ALT_PLATFORM_k2hk = "TCI6636"
|
||||
ALT_PLATFORM_am57xx-evm = "AM572X AM571X"
|
||||
|
||||
@@ -3,7 +3,7 @@ require ti-ipc-examples.inc
|
||||
|
||||
DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native"
|
||||
|
||||
DEPENDS_append_am65xx-evm = " sciclient-rtos"
|
||||
DEPENDS_append_am65xx = " sciclient-rtos"
|
||||
|
||||
do_compile_append() {
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ TI_IPC_METADATA_SRCREV = "3936c41d021c6d56c25f4bb07b647314a6589a57"
|
||||
# Corresponds to tag: 3.50.03.05
|
||||
TI_IPC_EXAMPLES_SRCREV = "55a8341c60a91c0ba2d79b7e4b805e2e39b3060f"
|
||||
|
||||
SRCREV_FORMAT = "default"
|
||||
SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}"
|
||||
SRCREV_ipc-examples = "${TI_IPC_EXAMPLES_SRCREV}"
|
||||
|
||||
@@ -52,7 +53,7 @@ DEPENDS_append_omapl138 = " ti-cgt6x-native \
|
||||
DEPENDS_append_c66x = " ti-cgt6x-native \
|
||||
"
|
||||
|
||||
DEPENDS_append_am65xx-evm = " ti-cgt-arm-native \
|
||||
DEPENDS_append_am65xx = " ti-cgt-arm-native \
|
||||
gcc-linaro-baremetal-aarch64-native"
|
||||
|
||||
IPC_TARGETS = ""
|
||||
@@ -78,7 +79,7 @@ IPC_TARGETS_c66x = " \
|
||||
ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
|
||||
"
|
||||
|
||||
IPC_TARGETS_am65xx-evm = "\
|
||||
IPC_TARGETS_am65xx = "\
|
||||
gnu.targets.arm.A53F="${GCC_LINARO_BAREMETAL_AARCH64_TOOLCHAIN}" \
|
||||
ti.targets.arm.elf.R5F="${M4_TOOLCHAIN_INSTALL_DIR}" \
|
||||
"
|
||||
@@ -91,5 +92,5 @@ EXTRA_OEMAKE = "\
|
||||
JOBS="--jobs=${BB_NUMBER_THREADS}" \
|
||||
JAVA_TOOL_OPTIONS=-Xss2560k \
|
||||
"
|
||||
EXTRA_OEMAKE_append_am65xx-evm = " PDK_INSTALL_DIR=${PDK_INSTALL_DIR}"
|
||||
EXTRA_OEMAKE_append_am65xx = " PDK_INSTALL_DIR=${PDK_INSTALL_DIR}"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ require ti-ipc-common.inc
|
||||
require ti-ipc-rtos.inc
|
||||
|
||||
DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
|
||||
DEPENDS_append_am65xx-evm = " sciclient-rtos"
|
||||
DEPENDS_append_am65xx = " sciclient-rtos"
|
||||
|
||||
PACKAGES =+ "${PN}-fw"
|
||||
FILES_${PN}-fw = "${base_libdir}/firmware/*"
|
||||
@@ -62,7 +62,7 @@ do_compile() {
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_prepend_am65xx-evm () {
|
||||
do_install_prepend_am65xx () {
|
||||
# Trim directory name
|
||||
mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F0 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F0
|
||||
mv ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_false_R5F1 ${S}/packages/ti/ipc/tests/bin/ti_platforms_cortexR_AM65X_R5F1
|
||||
@@ -130,12 +130,12 @@ pkg_postrm_${PN}-fw_omapl138 () {
|
||||
update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674
|
||||
}
|
||||
|
||||
pkg_postinst_${PN}-fw_am65xx-evm () {
|
||||
pkg_postinst_${PN}-fw_am65xx () {
|
||||
update-alternatives --install /lib/firmware/am65x-mcu-r5f0_0-fw am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/am65x-mcu-r5f0_1-fw am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f ${ALTERNATIVE_PRIORITY}
|
||||
}
|
||||
|
||||
pkg_postrm_${PN}-fw_am65xx-evm () {
|
||||
pkg_postrm_${PN}-fw_am65xx () {
|
||||
update-alternatives --remove am65x-mcu-r5f0_0-fw ipc/ti_platforms_cortexR_AM65X_R5F0/messageq_single.xer5f
|
||||
update-alternatives --remove am65x-mcu-r5f0_1-fw ipc/ti_platforms_cortexR_AM65X_R5F1/messageq_single.xer5f
|
||||
}
|
||||
|
||||
@@ -4,8 +4,8 @@ LICENSE = "BSD-3-Clause"
|
||||
|
||||
require ../includes/ti-paths.inc
|
||||
|
||||
PV = "3_1_2_3"
|
||||
PR = "r2"
|
||||
PV = "3_1_2_4"
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "ti-cgt6x-native \
|
||||
ti-xdctools-native \
|
||||
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git"
|
||||
MATHLIB_GIT_BRANCH = "master"
|
||||
MATHLIB_GIT_PROTOCOL = "git"
|
||||
MATHLIB_GIT_URI = "git://git.ti.com/ep-processor-libraries/mathlib.git"
|
||||
MATHLIB_SRCREV = "faedd650c47becb48b2d179242c8310327ef9853"
|
||||
MATHLIB_SRCREV = "3035674f97fe34185b7ef6aea5c271039f867c11"
|
||||
|
||||
SRC_URI = "${MATHLIB_GIT_URI};protocol=${MATHLIB_GIT_PROTOCOL};branch=${MATHLIB_GIT_BRANCH}"
|
||||
SRCREV = "${MATHLIB_SRCREV}"
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
require ti-ndk.inc
|
||||
|
||||
PV = "3_40_01_01"
|
||||
PR = "r0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://manifest_ndk_${PV}.html;md5=9ddeee8ab01c13f593e6d085cca46b6a"
|
||||
|
||||
SRC_URI[ndkzip.md5sum] = "bbbef445f2d2f84f9bee5d297f77d397"
|
||||
SRC_URI[ndkzip.sha256sum] = "e2e5c683c70dfad6f4372c5eeebaf0209b27abb0f77304f14f0359cbc7b3f4b8"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
COMPATIBLE_HOST ?= "null"
|
||||
COMPATIBLE_HOST_ti-soc = "(.*)"
|
||||
16
recipes-ti/ndk/ti-ndk_3.60.00.13.bb
Normal file
16
recipes-ti/ndk/ti-ndk_3.60.00.13.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
require ti-ndk.inc
|
||||
|
||||
PV = "3_60_00_13"
|
||||
PR = "r0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://manifest_ndk_${PV}.html;md5=6d1d16547344a4418e565586fa45b458"
|
||||
|
||||
SRC_URI[ndkzip.md5sum] = "cc1bbe67b46bd02c4a423814360a4e00"
|
||||
SRC_URI[ndkzip.sha256sum] = "86407d4b423419e020b38a44d1a61705fdec0ae0d5e35eb07b99fcfe5ceee7dd"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
COMPATIBLE_HOST ?= "null"
|
||||
COMPATIBLE_HOST_ti-soc = "(.*)"
|
||||
@@ -1,14 +0,0 @@
|
||||
require ti-ns.inc
|
||||
|
||||
PV = "2_40_01_02"
|
||||
PR = "r0"
|
||||
SRC_URI = "http://software-dl.ti.com/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://manifest_ns_${PV}.html;md5=29e319bb254ad52bdaebf8f6387c2f85"
|
||||
|
||||
SRC_URI[nszip.md5sum] = "03146829fc7cf1e7b2acbeb6c1f772e9"
|
||||
SRC_URI[nszip.sha256sum] = "e41f254d9db341ad3efea7f6f59df46802769eba3e2f03b6d2a53d186de18687"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
14
recipes-ti/ns/ti-ns_2.60.00.07.bb
Normal file
14
recipes-ti/ns/ti-ns_2.60.00.07.bb
Normal file
@@ -0,0 +1,14 @@
|
||||
require ti-ns.inc
|
||||
|
||||
PV = "2_60_00_07"
|
||||
PR = "r0"
|
||||
SRC_URI = "http://software-dl.ti.com/targetcontent/ns/${PV}/exports/ns_${PV}.zip;name=nszip"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://manifest_ns_${PV}.html;md5=e15dc261b0ef14c6fbabba24abcde4f0"
|
||||
|
||||
SRC_URI[nszip.md5sum] = "7ad9f9fc79b4718bfa9b0042cb28d06f"
|
||||
SRC_URI[nszip.sha256sum] = "8d2901e49ee72dde2e88370981e931c656e89efc7e0d5e3f775dde7d720e2b19"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git"
|
||||
SWTOOLS_GIT_BRANCH = "master"
|
||||
SWTOOLS_GIT_PROTOCOL = "git"
|
||||
SWTOOLS_GIT_URI = "git://git.ti.com/ep-processor-libraries/swtools.git"
|
||||
SWTOOLS_SRCREV = "d0c1022954b489d5f3d8d2f5c81d8c6a392f4af4"
|
||||
SWTOOLS_SRCREV = "0ef96a3bb9fd8694ae75c4c3f85ad4ab2278f655"
|
||||
|
||||
SRC_URI = "${SWTOOLS_GIT_URI};protocol=${SWTOOLS_GIT_PROTOCOL};branch=${SWTOOLS_GIT_BRANCH}"
|
||||
SRCREV = "${SWTOOLS_SRCREV}"
|
||||
|
||||
@@ -4,15 +4,15 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=1;endline=31;md5=92ab6f5e10f150
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
PV = "01.00.00.12B"
|
||||
PV = "01.00.00.13A"
|
||||
PR = "r0"
|
||||
|
||||
PDK_BUILD_GIT_URI = "git://git.ti.com/keystone-rtos/processor-pdk-build.git"
|
||||
PDK_BUILD_GIT_PROTOCOL = "git"
|
||||
PDK_BUILD_GIT_BRANCH = "master"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.12B"
|
||||
PDK_BUILD_SRCREV = "40e09c24dc988ff79f0e4757201d6b87fb84af56"
|
||||
# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.13A"
|
||||
PDK_BUILD_SRCREV = "e7091955d1aef2be692c5f8faba79f347d6dc62b"
|
||||
|
||||
BRANCH = "${PDK_BUILD_GIT_BRANCH}"
|
||||
SRC_URI = "\
|
||||
|
||||
Reference in New Issue
Block a user