1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 09:30:21 +00:00

Compare commits

...

10 Commits

Author SHA1 Message Date
Denys Dmytriyenko
2658df4437 machine: bump max_leb_cnt for am3 and am4 platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 23:58:42 -04:00
Denys Dmytriyenko
8599d32a62 u-boot-ti-staging: update to final 2016.05 and ti2016.01-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 12:31:31 -04:00
Denys Dmytriyenko
594cbb0142 linux-ti-staging: update to 4.4.11 and ti2016.01-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 12:31:29 -04:00
Denys Dmytriyenko
9954e289e6 machine: add opencl feature to corresponding platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 12:31:24 -04:00
Sam Nelson
2a8d94c1fa linux-ti-staging: Add new device tree target am572x-idk-pru-excl-uio.dtb
This new device tree file is to support pruss with uio based drivers
alone.
Adds uio entries for pruss susbsystem and disables other drivers
controlling the same.
New dtb is added only if ENABLE_TI_UIO_DEVICES is enabled.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-18 16:50:38 -04:00
Denys Dmytriyenko
8166221b76 u-boot-ti-staging: update for ti2016.01-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-16 12:21:34 -04:00
Denys Dmytriyenko
c59c597aae linux-ti-staging: update to 4.4.10 and ti2016.01-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-16 12:21:30 -04:00
Sam Nelson
7656af805f uio-module-drv: Update to 2.0.0.0 GA version
Reformatted recipes to have one common PV between module and test
recipes

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:16 -04:00
Anand Balagopalakrishnan
3f896e1c52 ti-sgx-ddk-um: update srcrev and bump PR
* rebuild SGX user mode driver with GCC 5.3

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:08 -04:00
Jacob Stiffler
6cc3e56407 ti-softhsmv2: bump SRCREV to version to 2.0.0.0
* License checksum has changed due to an updated date in the LICENSE
  file

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:02 -04:00
16 changed files with 236 additions and 22 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -1,4 +1,4 @@
require conf/machine/include/omap-a15.inc
SOC_FAMILY_append = ":dra7xx"
MACHINE_FEATURES += "pci"
MACHINE_FEATURES += "pci opencl"

View File

@@ -4,6 +4,8 @@
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"

View File

@@ -4,6 +4,8 @@
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"

View File

@@ -4,6 +4,8 @@
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2l_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2l"

View File

@@ -7,14 +7,14 @@ DESCRIPTION = "u-boot bootloader for TI devices"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
PR = "r2"
PR = "r4"
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 = "c165945d193be510337de656f6564ad0f6ab35a4"
# Support for secure devices - detailed info is in doc/README.ti-secure
TI_SECURE_DEV_PKG ?= ""

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 = "8d4ba04a2da59989b21aacca9defdf387e321695"
# There's only hardfp version available
python __anonymous() {
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
inherit update-rc.d
PR = "r10"
PR = "r11"
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
DEPENDS += "libdrm udev libgbm wayland libffi"

View File

@@ -0,0 +1,191 @@
/ {
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_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_pruss1_mdio: uio_pruss1_mdio {
compatible = "ti,uio-module-drv";
mem = <0x4b232400 0x90>;
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_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";
};
uio_pruss2_mdio: uio_pruss2_mdio {
compatible = "ti,uio-module-drv";
mem = <0x4b2b2400 0x90>;
mem-names = "mdio";
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";
};

View File

@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
BRANCH = "ti-rt-linux-4.4.y"
SRCREV = "0997a7f0b943274b71db74f01018c7b7e746eec2"
SRCREV = "df2157fb7ad3a5d435a9445d7b16c16c52a98969"

View File

@@ -71,11 +71,11 @@ S = "${WORKDIR}/git"
BRANCH = "ti-lsk-linux-4.4.y"
SRCREV = "ba05e8fda276bd3a1b2ef970a868b229d5184246"
PV = "4.4.9+git${SRCPV}"
SRCREV = "1d85a66844655b0cbd99c00870d77956494c59ab"
PV = "4.4.11+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"

View File

@@ -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"

View File

@@ -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"