mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
21 Commits
ti2018.02
...
ti2016.01-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ae0cadb12 | ||
|
|
31212fec61 | ||
|
|
4b7a863b9d | ||
|
|
f43d380691 | ||
|
|
3ac974779d | ||
|
|
10960c248c | ||
|
|
55dc15a8f4 | ||
|
|
2a57c4c768 | ||
|
|
b094cd07c1 | ||
|
|
3f2d7dff00 | ||
|
|
d098dfccc1 | ||
|
|
2658df4437 | ||
|
|
8599d32a62 | ||
|
|
594cbb0142 | ||
|
|
9954e289e6 | ||
|
|
2a8d94c1fa | ||
|
|
8166221b76 | ||
|
|
c59c597aae | ||
|
|
7656af805f | ||
|
|
3f896e1c52 | ||
|
|
6cc3e56407 |
@@ -9,7 +9,7 @@ XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0 115200;ttyS3 115200;ttyO3"
|
||||
@@ -26,7 +26,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 4700"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4900"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -9,7 +9,7 @@ XSERVER += "xf86-input-tslib"
|
||||
MACHINE_GUI_CLASS = "smallscreen"
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
@@ -26,7 +26,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 994 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2300"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
|
||||
# from dmesg:
|
||||
|
||||
@@ -6,7 +6,7 @@ require conf/machine/include/dra7xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyO2"
|
||||
|
||||
@@ -6,7 +6,7 @@ require conf/machine/include/dra7xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
require conf/machine/include/omap-a15.inc
|
||||
SOC_FAMILY_append = ":dra7xx"
|
||||
|
||||
MACHINE_FEATURES += "pci"
|
||||
MACHINE_FEATURES += "pci opencl"
|
||||
|
||||
@@ -4,11 +4,13 @@
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "alsa"
|
||||
MACHINE_FEATURES += "alsa opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2g_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2g"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
|
||||
@@ -4,11 +4,13 @@
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
|
||||
@@ -4,11 +4,13 @@
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
|
||||
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
|
||||
|
||||
SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.1"
|
||||
|
||||
@@ -7,14 +7,14 @@ DESCRIPTION = "u-boot bootloader for TI devices"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
|
||||
|
||||
PR = "r2"
|
||||
PR = "r5"
|
||||
PV_append = "+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
BRANCH ?= "ti-u-boot-2016.05"
|
||||
|
||||
SRCREV = "2aa1cc1a80546ac9b41e70a39cba54e1f157fe78"
|
||||
SRCREV = "b4e185a8c3732f33d519453841f70236b8d29954"
|
||||
|
||||
# Support for secure devices - detailed info is in doc/README.ti-secure
|
||||
TI_SECURE_DEV_PKG ?= ""
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
DESCRIPTION = "Test code for user space IO (UIO) driver"
|
||||
|
||||
include uio-module-drv.inc
|
||||
PV = "1.0.2.3"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
RDEPENDS_${PN} = "uio-module-drv"
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016"
|
||||
|
||||
BRANCH = "linux4.1"
|
||||
# This corresponds to version 02.00.00.00_eng
|
||||
BRANCH = "master"
|
||||
# This corresponds to version 02.00.00.00
|
||||
SRCREV = "6a7eda36e390658593a5b8d87b0f00beb3997240"
|
||||
|
||||
PV = "2.0.0.0+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
DESCRIPTION="User space IO (UIO) driver for on-chip modules"
|
||||
|
||||
include uio-module-drv.inc
|
||||
PV = "2.0.0.0+git${SRCPV}"
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
MACHINE_KERNEL_PR_append = "d"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
module_auto_load_uio-module-drv = "uio-module-drv"
|
||||
|
||||
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
BRANCH = "ti-img-sgx/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "e91d6d37c28ae63c350fff9c91705fd315491093"
|
||||
SRCREV = "54ba970e33d3c13f726d7c035f3b5c3dcb74afdc"
|
||||
|
||||
# There's only hardfp version available
|
||||
python __anonymous() {
|
||||
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
PR = "r10"
|
||||
PR = "r12"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
|
||||
|
||||
DEPENDS += "libdrm udev libgbm wayland libffi"
|
||||
|
||||
195
recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi
Normal file
195
recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi
Normal file
@@ -0,0 +1,195 @@
|
||||
/ {
|
||||
ocp {
|
||||
pruss2_eth {
|
||||
status = "disabled";
|
||||
};
|
||||
uio_pruss1_mem: uio_pruss1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
ti,hwmods = "pruss1";
|
||||
mem = <0x4b200000 0x2000>,
|
||||
<0x4b202000 0x2000>,
|
||||
<0x4b210000 0x8000>,
|
||||
<0x4b220000 0x2000>,
|
||||
<0x4b226000 0x2000>,
|
||||
<0x4b22e000 0x31c>,
|
||||
<0x4b232000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_mem2: uio_pruss1_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b228000 0x38>,
|
||||
<0x4b230000 0x60>,
|
||||
<0x4b232400 0x90>;
|
||||
mem-names = "uart", "ecap", "mdio";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt0: uio_pruss1_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 186 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt1: uio_pruss1_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 187 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt2: uio_pruss1_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 188 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt3: uio_pruss1_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt4: uio_pruss1_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt5: uio_pruss1_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 191 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt6: uio_pruss1_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 192 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss1_evt7: uio_pruss1_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_0_mem: uio_pruss1_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b234000 0x3000>,
|
||||
<0x4b222000 0x400>,
|
||||
<0x4b222400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss1_1_mem: uio_pruss1_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b238000 0x3000>,
|
||||
<0x4b224000 0x400>,
|
||||
<0x4b224400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_mem: uio_pruss2_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
ti,hwmods = "pruss2";
|
||||
mem = <0x4b280000 0x2000>,
|
||||
<0x4b282000 0x2000>,
|
||||
<0x4b290000 0x8000>,
|
||||
<0x4b2a0000 0x2000>,
|
||||
<0x4b2a6000 0x2000>,
|
||||
<0x4b2ae000 0x31c>,
|
||||
<0x4b2b2000 0x58>;
|
||||
mem-names = "dram0", "dram1", "shrdram2", "intc", "cfg",
|
||||
"iep", "mii_rt";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_mem2: uio_pruss2_mem2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2a8000 0x38>,
|
||||
<0x4b2b0000 0x60>,
|
||||
<0x4b2b2400 0x90>;
|
||||
mem-names = "uart", "ecap", "mdio";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt0: uio_pruss2_evt0 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt1: uio_pruss2_evt1 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt2: uio_pruss2_evt2 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 198 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt3: uio_pruss2_evt3 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt4: uio_pruss2_evt4 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 200 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt5: uio_pruss2_evt5 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 201 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt6: uio_pruss2_evt6 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 202 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_evt7: uio_pruss2_evt7 {
|
||||
compatible = "ti,uio-module-drv";
|
||||
interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uio_pruss2_0_mem: uio_pruss2_0_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b4000 0x3000>,
|
||||
<0x4b2a2000 0x400>,
|
||||
<0x4b2a2400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
uio_pruss2_1_mem: uio_pruss2_1_mem {
|
||||
compatible = "ti,uio-module-drv";
|
||||
mem = <0x4b2b8000 0x3000>,
|
||||
<0x4b2a4000 0x400>,
|
||||
<0x4b2a4400 0x100>;
|
||||
mem-names = "iram", "control", "debug";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pruss1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru1_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_0 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pru2_1 {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&pruss2_mdio {
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
|
||||
|
||||
BRANCH = "ti-rt-linux-4.4.y"
|
||||
|
||||
SRCREV = "0997a7f0b943274b71db74f01018c7b7e746eec2"
|
||||
SRCREV = "8c26434b1cf4e1c3011c7a9925aeb2bec735db6a"
|
||||
|
||||
@@ -71,11 +71,11 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-lsk-linux-4.4.y"
|
||||
|
||||
SRCREV = "ba05e8fda276bd3a1b2ef970a868b229d5184246"
|
||||
PV = "4.4.9+git${SRCPV}"
|
||||
SRCREV = "51452e46647ed57ae83e6a95e1a4d700260e6bf0"
|
||||
PV = "4.4.12+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
|
||||
|
||||
@@ -2,6 +2,7 @@ SRC_URI_append_keystone = " file://keystone-uio.dtsi"
|
||||
SRC_URI_append_k2hk-evm = " file://k2hk-uio.dtsi"
|
||||
SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi"
|
||||
SRC_URI_append_k2e-evm = " file://k2e-uio.dtsi"
|
||||
SRC_URI_append_am57xx-evm = " file://am572x-pru-uio.dtsi"
|
||||
|
||||
DTSI_LIST = ""
|
||||
DTSI_LIST_append_keystone = " keystone-uio.dtsi"
|
||||
@@ -9,6 +10,8 @@ DTSI_LIST_append_k2hk-evm = " k2hk-uio.dtsi"
|
||||
DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi"
|
||||
DTSI_LIST_append_k2e-evm = " k2e-uio.dtsi"
|
||||
|
||||
KERNEL_DEVICETREE_append_am57xx-evm = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am572x-idk-pru-excl-uio.dtb", "", d)}"
|
||||
|
||||
do_setup_uio() {
|
||||
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
|
||||
then
|
||||
@@ -24,4 +27,16 @@ do_setup_uio() {
|
||||
fi
|
||||
}
|
||||
|
||||
do_setup_uio_append_am57xx-evm() {
|
||||
|
||||
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
|
||||
then
|
||||
dts="am572x-idk-pru-excl-uio.dts"
|
||||
dtsi="am572x-pru-uio.dtsi"
|
||||
cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts
|
||||
cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
|
||||
echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
|
||||
fi
|
||||
}
|
||||
|
||||
do_patch[postfuncs] += "do_setup_uio"
|
||||
|
||||
6
recipes-ti/devtools/ti-ccsv6-native_6.1.2.00015.bb → recipes-ti/devtools/ti-ccsv6-native_6.1.3.00033.bb
Normal file → Executable file
6
recipes-ti/devtools/ti-ccsv6-native_6.1.2.00015.bb → recipes-ti/devtools/ti-ccsv6-native_6.1.3.00033.bb
Normal file → Executable file
@@ -10,7 +10,7 @@ require recipes-ti/includes/ti-unpack.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
TI_CGT_ARM_VERSION = "5.2.5"
|
||||
TI_CGT_ARM_VERSION = "15.12.1.LTS"
|
||||
|
||||
SRC_URI = "http://install.source.dir.local/CCS${PV}_linux.tar.gz;name=ccsv6"
|
||||
|
||||
@@ -20,8 +20,8 @@ BINFILE = "CCS${PV}_linux/ccs_setup_${PV}.bin"
|
||||
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"
|
||||
TI_BIN_UNPK_CMDS = ""
|
||||
|
||||
SRC_URI[ccsv6.md5sum] = "cfe5a759068809df5b5926dfc9889683"
|
||||
SRC_URI[ccsv6.sha256sum] = "6c25c046898812dcc72f08af512321bb4c9833ab932e4792560e14c13fbc7dc5"
|
||||
SRC_URI[ccsv6.md5sum] = "d95121970f8bcee944bf8b8e576bf3ec"
|
||||
SRC_URI[ccsv6.sha256sum] = "b785f040de8cccbc571923e34303fea92484677845df64a65abee2d3c248fa5b"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${CCSV6_INSTALL_DIR_RECIPE}
|
||||
@@ -2,9 +2,42 @@ require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
require ti-ipc.inc
|
||||
|
||||
PR = "${INC_PR}.4"
|
||||
TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/ipc/ipc-examples.git"
|
||||
TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples"
|
||||
TI_IPC_EXAMPLES_GIT_PROTOCOL = "git"
|
||||
TI_IPC_EXAMPLES_GIT_BRANCH = "master"
|
||||
TI_IPC_EXAMPLES_NAME = "ipc-examples"
|
||||
|
||||
DEPENDS = "ti-xdctools ti-sysbios"
|
||||
SRC_URI += "${TI_IPC_EXAMPLES_GIT_URI};\
|
||||
destsuffix=${TI_IPC_EXAMPLES_DEST_SUFFIX};\
|
||||
protocol=${TI_IPC_EXAMPLES_GIT_PROTOCOL};\
|
||||
branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\
|
||||
name=${TI_IPC_EXAMPLES_NAME}"
|
||||
|
||||
TI_IPC_METADATA_GIT_URI = "git://git.ti.com/ipc/ipc-metadata.git"
|
||||
TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata"
|
||||
TI_IPC_METADATA_GIT_PROTOCOL = "git"
|
||||
TI_IPC_METADATA_GIT_BRANCH = "master"
|
||||
TI_IPC_METADATA_NAME = "ipc-metadata"
|
||||
|
||||
SRC_URI += "${TI_IPC_METADATA_GIT_URI};\
|
||||
destsuffix=${TI_IPC_METADATA_DEST_SUFFIX};\
|
||||
protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
|
||||
branch=${TI_IPC_METADATA_GIT_BRANCH};\
|
||||
name=${TI_IPC_METADATA_NAME}"
|
||||
|
||||
# Corresponds to tag: 3.43.00.01
|
||||
SRCREV_ipc-examples = "54df963e83f2fd613f794dc3b1b72c8ed855e0ac"
|
||||
|
||||
# Corresponds to tag: 3.43.00.01
|
||||
SRCREV_ipc-metadata = "8829b3cf2068c87140ac062849c33cd1a21de636"
|
||||
|
||||
S_ipc-examples = "${WORKDIR}/git/ipc-examples"
|
||||
S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS = "ti-xdctools ti-sysbios doxygen-native"
|
||||
DEPENDS_append_keystone = " ti-cgt6x-native \
|
||||
gcc-arm-none-eabi-native \
|
||||
"
|
||||
@@ -26,6 +59,7 @@ IPC_TARGETS = ""
|
||||
IPC_TARGETS_omap-a15 = "\
|
||||
gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \
|
||||
ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
|
||||
ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
|
||||
ti.targets.arm.elf.M4="${M4_TOOLCHAIN_INSTALL_DIR}" \
|
||||
ti.targets.arm.elf.M4F="${M4_TOOLCHAIN_INSTALL_DIR}" \
|
||||
"
|
||||
@@ -33,18 +67,60 @@ IPC_TARGETS_omap-a15 = "\
|
||||
IPC_TARGETS_keystone = " \
|
||||
gnu.targets.arm.A15F="${GCC_ARM_NONE_TOOLCHAIN}" \
|
||||
ti.targets.elf.C66="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
|
||||
ti.targets.elf.C66_big_endian="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
|
||||
"
|
||||
|
||||
EXTRA_OEMAKE = "\
|
||||
PLATFORM=${PLATFORM} \
|
||||
XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
|
||||
BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \
|
||||
${IPC_TARGETS} -f ipc-bios.mak\
|
||||
${IPC_TARGETS} \
|
||||
"
|
||||
|
||||
RELEASE_TYPE = "GA"
|
||||
RELEASE_SUFFIX = ""
|
||||
|
||||
IPC_PACKAGE_DIR = "${S}/ipc-package"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake clean
|
||||
oe_runmake all
|
||||
oe_runmake -f ipc-bios.mak clean
|
||||
oe_runmake -f ipc-bios.mak release
|
||||
|
||||
cd ${S_ipc-metadata}
|
||||
oe_runmake .all-files IPC_INSTALL_DIR="${S}" \
|
||||
BUILD_HOST_OS="linux" \
|
||||
RELEASE_TYPE="${RELEASE_TYPE}"
|
||||
|
||||
cd ${S_ipc-examples}/src
|
||||
oe_runmake .examples \
|
||||
IPCTOOLS="${S_ipc-metadata}/src/etc"
|
||||
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${S}"
|
||||
oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${S}"
|
||||
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="bios" IPC_INSTALL_DIR="${S}"
|
||||
oe_runmake extract PLATFORM=${ALT_PLATFORM} HOSTOS="linux" IPC_INSTALL_DIR="${S}"
|
||||
fi
|
||||
fi
|
||||
|
||||
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
|
||||
install -d ${IPC_PACKAGE_DIR}
|
||||
# Copy docs and other meta files
|
||||
cp -pPrf ${S_ipc-metadata}/exports/ipc_${IPC_VERSION}/* -d ${IPC_PACKAGE_DIR}
|
||||
|
||||
# Copy example folders corresponding to the platforms
|
||||
if [ "${PLATFORM}" != "UNKNOWN" ]; then
|
||||
install -d ${IPC_PACKAGE_DIR}/examples
|
||||
cp -pPf ${S_ipc-examples}/src/examples/*.* ${IPC_PACKAGE_DIR}/examples/
|
||||
cp -pPf ${S_ipc-examples}/src/examples/makefile ${IPC_PACKAGE_DIR}/examples/
|
||||
cp -pPrf ${S_ipc-examples}/src/examples/${PLATFORM}* ${IPC_PACKAGE_DIR}/examples/
|
||||
if [ ! -z ${ALT_PLATFORM} ]; then
|
||||
cp -pPrf ${S_ipc-examples}/src/examples/${ALT_PLATFORM}* ${IPC_PACKAGE_DIR}/examples/
|
||||
fi
|
||||
find ${IPC_PACKAGE_DIR}/examples/ -name "*zip" -type f | xargs -I {} rm {}
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile_append() {
|
||||
@@ -52,25 +128,27 @@ do_compile_append() {
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${IPC_INSTALL_DIR_RECIPE}
|
||||
cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE}
|
||||
IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
|
||||
# Copy docs and other meta files
|
||||
install -d ${D}${IPC_INSTALL_DIR_RECIPE}
|
||||
cp -pPrf ${IPC_PACKAGE_DIR}/* -d ${D}${IPC_INSTALL_DIR_RECIPE}
|
||||
|
||||
install -d ${D}${base_libdir}/firmware/ipc
|
||||
cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc
|
||||
install -d ${D}${base_libdir}/firmware/ipc
|
||||
cp -pPrf ${S}/packages/ti/ipc/tests/bin/* ${D}${base_libdir}/firmware/ipc || true
|
||||
}
|
||||
|
||||
ALTERNATIVE_PRIORITY = "5"
|
||||
|
||||
pkg_postinst_${PN}-fw_omap-a15 () {
|
||||
update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY}
|
||||
update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY}
|
||||
}
|
||||
|
||||
pkg_postrm_${PN}-fw_omap-a15 () {
|
||||
update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66
|
||||
update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66
|
||||
update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4
|
||||
update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4
|
||||
update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66
|
||||
update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66
|
||||
update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4
|
||||
update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4
|
||||
}
|
||||
|
||||
@@ -6,17 +6,17 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
|
||||
|
||||
TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
|
||||
TI_IPC_GIT_PROTOCOL = "git"
|
||||
TI_IPC_GIT_BRANCH = "3.42"
|
||||
TI_IPC_GIT_BRANCH = "3.43"
|
||||
|
||||
#Corresponds to 3.42.00.02
|
||||
TI_IPC_SRCREV = "a520969994378fb2629d7dfc25f306c3a711b5bc"
|
||||
#Corresponds to 3.43.00.01
|
||||
TI_IPC_SRCREV = "9e6ebc02c14ed4150dad5d45d8a7e35258bf37ad"
|
||||
|
||||
BRANCH = "${TI_IPC_GIT_BRANCH}"
|
||||
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
|
||||
SRCREV = "${TI_IPC_SRCREV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
PV = "3.42.00.02"
|
||||
PV = "3.43.00.01"
|
||||
INC_PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
DESCRIPTION = "TI softhsmv2 package"
|
||||
LICENSE = "BSD-2-Clause | BSD-3-Clause | ISC | IBM-License | FSFULLR | Zlib"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=664f3daf042b19d634189e709d5d558e"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=700a883962ccff663f888f3f7221ce8f"
|
||||
SECTION = "libs"
|
||||
|
||||
mntdir = "/mnt"
|
||||
@@ -10,12 +10,12 @@ inherit autotools pkgconfig
|
||||
DEPENDS = "openssl libdaemon zlib"
|
||||
COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
|
||||
|
||||
BRANCH="master"
|
||||
BRANCH="ti-softhsm-rebase"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=${BRANCH}"
|
||||
#Following commit corresponds to tag DEV.SOFTHSM-01.03.00.04
|
||||
SRCREV = "c2688afb9373309751e640088705cb739997665d"
|
||||
PV = "1.3.0.4"
|
||||
PR = "r1"
|
||||
#Following commit corresponds to tag DEV.SOFTHSM-02.00.00.00
|
||||
SRCREV = "b0eef602c03583e59c289ba113b64eaa4f5cac13"
|
||||
PV = "2.0.0.0"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user