mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
70 Commits
scarthgap-
...
ti2017.00-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e118a8b4b | ||
|
|
3fe8ffe67c | ||
|
|
8d327cb43e | ||
|
|
fbeb76f197 | ||
|
|
75f58488d8 | ||
|
|
31906c8260 | ||
|
|
653b7d7d94 | ||
|
|
660f6ae625 | ||
|
|
5a1d6edfe8 | ||
|
|
bffa5941ef | ||
|
|
502ffcb5a8 | ||
|
|
c7c35e3a27 | ||
|
|
b1c37b4587 | ||
|
|
0ea919c009 | ||
|
|
0d82de923a | ||
|
|
1941f65454 | ||
|
|
84b5d97201 | ||
|
|
952a788d17 | ||
|
|
880ca7f51c | ||
|
|
81babbc15a | ||
|
|
6be0cfe030 | ||
|
|
19a884c127 | ||
|
|
16f6a2713d | ||
|
|
935753e938 | ||
|
|
ca30444d72 | ||
|
|
fb42bf85af | ||
|
|
a79ee0ddd4 | ||
|
|
ed4873bed8 | ||
|
|
0d128cff49 | ||
|
|
c7835c1768 | ||
|
|
f78085faf7 | ||
|
|
430ef4bcbd | ||
|
|
f3df43255c | ||
|
|
b1c690300e | ||
|
|
f88402a40a | ||
|
|
8981c77196 | ||
|
|
ae03bd2d26 | ||
|
|
8bff8a36ca | ||
|
|
79d67f45dd | ||
|
|
a71dd19fc6 | ||
|
|
4f569d664e | ||
|
|
9a146d37ad | ||
|
|
3c2c9c0ffa | ||
|
|
354b342d8e | ||
|
|
d1356260e8 | ||
|
|
78a25f3bb7 | ||
|
|
9740942a7b | ||
|
|
9b921d910c | ||
|
|
8b2a194b4a | ||
|
|
8d5dc51612 | ||
|
|
acb8746388 | ||
|
|
c971a8f601 | ||
|
|
e6b912ab89 | ||
|
|
f01e341737 | ||
|
|
f34b7fa11d | ||
|
|
06340aca21 | ||
|
|
186ce26268 | ||
|
|
6d793ed293 | ||
|
|
c9bc3e91fb | ||
|
|
1e428ed1e9 | ||
|
|
6c4e15144c | ||
|
|
ec9ec37df2 | ||
|
|
f9913896a7 | ||
|
|
d4be639847 | ||
|
|
ab331c387f | ||
|
|
022973ce97 | ||
|
|
26ed101024 | ||
|
|
6597647a52 | ||
|
|
845092ef8e | ||
|
|
07b8724fbe |
2
README
2
README
@@ -8,7 +8,7 @@ This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
layers: meta
|
||||
branch: master
|
||||
branch: morty
|
||||
|
||||
|
||||
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
|
||||
|
||||
@@ -10,6 +10,8 @@ BBFILE_PRIORITY_meta-ti = "6"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/licenses"
|
||||
|
||||
LAYERDEPENDS_meta-ti = "core"
|
||||
|
||||
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
ti-sgx-ddk-km \
|
||||
ti-sgx-ddk-um \
|
||||
|
||||
@@ -11,6 +11,8 @@ UBOOT_SUFFIX = "ais"
|
||||
UBOOT_ENTRYPOINT = "0xc0008000"
|
||||
UBOOT_LOADADDRESS = "0xc0008000"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
IMAGE_FSTYPES += "tar.xz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb"
|
||||
|
||||
@@ -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 5600"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 7000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
require conf/machine/am335x-evm.conf
|
||||
|
||||
UBOOT_MACHINE = "am335x_hs_evm_mmc_config"
|
||||
UBOOT_MACHINE = "am335x_hs_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x82000000"
|
||||
UBOOT_LOADADDRESS = "0x82000000"
|
||||
|
||||
@@ -15,6 +15,8 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
USE_VT = "2"
|
||||
|
||||
KERNEL_DEVICETREE = "am3517-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am3517_evm_config"
|
||||
XLOAD_MACHINE = "am3517evm_config"
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ MACHINE_FEATURES += "touchscreen ethernet"
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
@@ -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 2650"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
|
||||
# from dmesg:
|
||||
|
||||
@@ -12,6 +12,11 @@ SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyO2"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-evm.dtb am57xx-evm-reva3.dtb \
|
||||
am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb \
|
||||
am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
|
||||
|
||||
UBOOT_MACHINE = "am57xx_evm_config"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
|
||||
@@ -11,8 +11,8 @@ UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}"
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
|
||||
|
||||
OPTEEMACHINE = "ti"
|
||||
OPTEEFLAVOR = "am57xx_evm"
|
||||
OPTEEFLAVOR = "am57xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
|
||||
@@ -10,6 +10,8 @@ MACHINE_GUI_CLASS = "bigscreen"
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp"
|
||||
|
||||
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
UBOOT_MACHINE = "omap3_beagle_config"
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||
|
||||
require conf/machine/include/ti33x.inc
|
||||
require conf/machine/include/beaglebone.inc
|
||||
|
||||
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
|
||||
|
||||
# Only has DVI connector for external screen
|
||||
MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
@@ -12,6 +12,11 @@ SERIAL_CONSOLE = ""
|
||||
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
KERNEL_DEVICETREE = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd101t2045.dtb dra7-evm-lcd-osd101t2587.dtb \
|
||||
dra72-evm.dtb dra72-evm-lcd-lg.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 \
|
||||
dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb"
|
||||
|
||||
UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
|
||||
@@ -11,8 +11,8 @@ UBOOT_LOADADDRESS = "0x82000000"
|
||||
UBOOT_RD_LOADADDRESS = "0x84000000"
|
||||
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
||||
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}"
|
||||
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
|
||||
|
||||
OPTEEMACHINE = "ti"
|
||||
OPTEEFLAVOR = "dra7_evm dra72_evm_revc dra71_evm"
|
||||
OPTEEFLAVOR = "dra7xx"
|
||||
OPTEEOUTPUTMACHINE = "ti"
|
||||
|
||||
12
conf/machine/include/beaglebone.inc
Normal file
12
conf/machine/include/beaglebone.inc
Normal file
@@ -0,0 +1,12 @@
|
||||
python () {
|
||||
layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1)
|
||||
if not layers:
|
||||
return
|
||||
if "yoctobsp" in layers:
|
||||
bb.fatal("\nmeta-yocto-bsp has been detected in bblayers.conf, which provides basic reference BSP for beaglebone platform. " \
|
||||
"\nSince meta-ti provides official comprehensive BSP for TI SoCs, including beaglebone, there could be potential conflicts " \
|
||||
"\nbetween beaglebone machine definitions available in meta-yocto-bsp and meta-ti layers. It is recommended to remove " \
|
||||
"\nor disable meta-yocto-bsp in bblayers.conf, when using meta-ti and building for beaglebone platform. Alternatively, " \
|
||||
"\nit is possible to build for am335x-evm with meta-ti, which is a more generic platform for Sitara AM335x SoC and " \
|
||||
"\nalso covers beaglebone variants.")
|
||||
}
|
||||
@@ -26,6 +26,8 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "omap3_evm_config"
|
||||
XLOAD_MACHINE = "omap3evm_config"
|
||||
|
||||
@@ -26,6 +26,8 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
UBOOT_MACHINE = "am43xx_evm_config"
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ require conf/machine/include/k2e.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
@@ -24,7 +26,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 3856"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -6,6 +6,8 @@ require conf/machine/include/k2g.inc
|
||||
|
||||
MACHINE_FEATURES += "alsa opencl"
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2g_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2g"
|
||||
@@ -24,7 +26,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 1926"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -6,6 +6,8 @@ require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2hk-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
@@ -24,7 +26,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 3900"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -6,6 +6,8 @@ require conf/machine/include/keystone.inc
|
||||
|
||||
MACHINE_FEATURES += "opencl"
|
||||
|
||||
KERNEL_DEVICETREE = "keystone-k2l-evm.dtb"
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
@@ -24,7 +26,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 1926"
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
|
||||
@@ -6,6 +6,8 @@ require conf/machine/include/omap-a15.inc
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
KERNEL_DEVICETREE = "omap5-uevm.dtb"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
# UBI information. Note that this is board and kernel specific. Changes
|
||||
|
||||
@@ -8,6 +8,8 @@ MACHINE_GUI_CLASS = "bigscreen"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
|
||||
|
||||
@@ -3,7 +3,7 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
|
||||
include cmem.inc
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
MACHINE_KERNEL_PR_append = "b"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
inherit module
|
||||
|
||||
@@ -4,10 +4,10 @@ LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
|
||||
|
||||
BRANCH = "lu-next"
|
||||
# This corresponds to version 4.13.00.00_eng
|
||||
SRCREV = "d6d3e84c84d0e84a9b96c3f6f789ac642d03afcb"
|
||||
# This corresponds to version 4.14.00.00_eng
|
||||
SRCREV = "b514a99ac45c64f0439282d0774d7cff5def4c6f"
|
||||
|
||||
PV = "4.13.00.00+git${SRCPV}"
|
||||
PV = "4.14.00.00+git${SRCPV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ include cmem.inc
|
||||
|
||||
RDEPENDS_${PN} = "cmem-mod"
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone|dra7xx"
|
||||
|
||||
PV = "03.03.00.04B"
|
||||
PV = "03.03.00.05A"
|
||||
INC_PR = "r0"
|
||||
|
||||
CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
|
||||
@@ -12,8 +12,8 @@ CSL_GIT_PROTOCOL ="git"
|
||||
CSL_GIT_BRANCH = "master"
|
||||
CSL_GIT_DESTSUFFIX = "git"
|
||||
|
||||
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.04B"
|
||||
CSL_SRCREV = "a74dc132a21085214b49c3ae8884825d87b6dd2f"
|
||||
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.05A"
|
||||
CSL_SRCREV = "811646f507d985dac04544c60c965cadf5e26a4f"
|
||||
|
||||
BRANCH="${CSL_GIT_BRANCH}"
|
||||
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -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 tag "DEV_EDMA3_LLD_02_12_01_25A"
|
||||
EDMA3_LLD_SRCREV = "b2d61c61dd048bdea35e9b2810647b4d419a82b5"
|
||||
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_02_26"
|
||||
EDMA3_LLD_SRCREV = "1c67565620f5a5305cf3293bba669c6aa1a7e40a"
|
||||
|
||||
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.01.25A"
|
||||
PV = "2.12.02.26"
|
||||
INC_PR = "r0"
|
||||
|
||||
@@ -5,13 +5,13 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
# Need to branch out with ${PV} var
|
||||
BRANCH = "ti-${PV}-k4.4"
|
||||
BRANCH = "ti-${PV}-k4.9"
|
||||
|
||||
SRCREV = "7a2b06ad1df46a274336f7ae0e24a9d67e72cd66"
|
||||
SRCREV = "030df5ecf503ef3c83dca6e732e6d47d4a11cd4b"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
|
||||
S = "${WORKDIR}/git/src"
|
||||
|
||||
29
recipes-bsp/goodix-fw/goodix-fw_git.bb
Normal file
29
recipes-bsp/goodix-fw/goodix-fw_git.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION = "Goodix GT9271 config firmware"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
|
||||
|
||||
PV = "1.0.0.0"
|
||||
PR = "r0"
|
||||
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRCREV = "f1a8d1d0131f83bd1a775cde7075eb67c070892c"
|
||||
BRANCH ?= "ti-linux-firmware-4.1.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
|
||||
TARGET = "goodix_9271_cfg.bin"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
@@ -9,7 +9,7 @@ python __anonymous() {
|
||||
DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
|
||||
LICENSE = "TI-TSPA"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=e3e7d6efc7aca87789775198c4ca9f8e"
|
||||
LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=5cc572579f07af266ab57fc17d762c7f"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
|
||||
@@ -17,12 +17,12 @@ RDEPENDS_${PN} = " libdce"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
|
||||
|
||||
SRCREV = "cd93550ed32c7849de91288e7d90cba3bd89614b"
|
||||
SRCREV = "97efa6fa9fc108096fcc18404a2d0ef43f9304ac"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
PV = "3.00.12.00"
|
||||
PR = "r0"
|
||||
PR = "r2"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
@@ -8,15 +8,15 @@ NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git"
|
||||
NWAL_LLD_GIT_PROTOCOL = "git"
|
||||
NWAL_LLD_GIT_BRANCH = "master"
|
||||
|
||||
# Below commit ID corresponds to "DEV.NWAL.02.01.00.10A"
|
||||
NWAL_LLD_SRCREV = "e7ed8c5abc4b93b99a5f45699eef8f3b8ca51d1e"
|
||||
# Below commit ID corresponds to "DEV.NWAL.02.01.00.11A"
|
||||
NWAL_LLD_SRCREV = "a93303e3d682d7161030113b72c3e1adf755bf89"
|
||||
|
||||
BRANCH = "${NWAL_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${NWAL_LLD_SRCREV}"
|
||||
|
||||
PV = "02.01.00.10"
|
||||
INC_PR = "r1"
|
||||
PV = "02.01.00.11A"
|
||||
INC_PR = "r0"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/nwal"
|
||||
|
||||
20
recipes-bsp/osal/osal-test_git.bb
Normal file
20
recipes-bsp/osal/osal-test_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "TI OSAL tests"
|
||||
|
||||
DEPENDS="common-csl-ip osal"
|
||||
|
||||
include osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
do_compile () {
|
||||
# Build the tests
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the binary
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
|
||||
}
|
||||
20
recipes-bsp/osal/osal.inc
Normal file
20
recipes-bsp/osal/osal.inc
Normal file
@@ -0,0 +1,20 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=8cbd8efb1460e4f16e6b00c8a7686be4"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
|
||||
OSAL_GIT_PROTOCOL = "git"
|
||||
OSAL_GIT_BRANCH = "master"
|
||||
OSAL_GIT_DESTSUFFIX = "git/ti/osal"
|
||||
|
||||
# Below commit ID corresponds to "DEV.OSAL.01.00.00.05E"
|
||||
OSAL_SRCREV = "5125c71d756530513500b463d3301d03dee04497"
|
||||
|
||||
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.05E"
|
||||
INC_PR = "r0"
|
||||
20
recipes-bsp/osal/osal_git.bb
Normal file
20
recipes-bsp/osal/osal_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "TI OSAL library for Linux"
|
||||
|
||||
DEPENDS="common-csl-ip"
|
||||
|
||||
include osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
do_compile () {
|
||||
# Build the lib
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the lib
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -9,14 +9,14 @@ PA_LLD_GIT_PROTOCOL = "git"
|
||||
PA_LLD_GIT_BRANCH = "master"
|
||||
PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.02.00"
|
||||
PA_LLD_SRCREV = "dca2a281c0c57f3b3018a93fae5485825a33042c"
|
||||
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.02.01"
|
||||
PA_LLD_SRCREV = "e95de49323678a55072c90fb213b94f96cf494b1"
|
||||
|
||||
BRANCH = "${PA_LLD_GIT_BRANCH}"
|
||||
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${PA_LLD_SRCREV}"
|
||||
|
||||
PV = "03.00.02.00"
|
||||
PV = "03.00.02.01"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -7,7 +7,7 @@ inherit module
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
|
||||
|
||||
MACHINE_KERNEL_PR_append = "i"
|
||||
MACHINE_KERNEL_PR_append = "m"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
@@ -20,19 +20,17 @@ RPROVIDES_${PN} = "omapdrm-pvr"
|
||||
RREPLACES_${PN} = "omapdrm-pvr"
|
||||
RCONFLICTS_${PN} = "omapdrm-pvr"
|
||||
|
||||
BRANCH = "ti-img-sgx/${PV}/k4.4"
|
||||
BRANCH = "ti-img-sgx/${PV}/k4.9"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "e68719ba7c54602c710b6615cd665f5b7f47f85e"
|
||||
SRCREV = "0086977380d3320d70a3abc78b95fa0641427073"
|
||||
|
||||
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
|
||||
TARGET_PRODUCT_ti33x = "ti335x"
|
||||
TARGET_PRODUCT_ti43x = "ti437x"
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
|
||||
|
||||
do_compile_prepend() {
|
||||
|
||||
21
recipes-bsp/pruss-lld/pruss-lld-test_git.bb
Normal file
21
recipes-bsp/pruss-lld/pruss-lld-test_git.bb
Normal file
@@ -0,0 +1,21 @@
|
||||
DESCRIPTION = "TI PRUSS low level driver tests"
|
||||
|
||||
DEPENDS="common-csl-ip pruss-lld osal"
|
||||
|
||||
include pruss-lld.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
|
||||
|
||||
do_compile () {
|
||||
# Build the tests
|
||||
oe_runmake tests
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the binary
|
||||
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
}
|
||||
20
recipes-bsp/pruss-lld/pruss-lld.inc
Normal file
20
recipes-bsp/pruss-lld/pruss-lld.inc
Normal file
@@ -0,0 +1,20 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd124a6e799e2bd458"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git"
|
||||
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.05A"
|
||||
PRUSS_LLD_SRCREV = "7421ea14f163fb3c95c3645fe0add1e05da9d748"
|
||||
|
||||
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.05A"
|
||||
INC_PR = "r0"
|
||||
22
recipes-bsp/pruss-lld/pruss-lld_git.bb
Normal file
22
recipes-bsp/pruss-lld/pruss-lld_git.bb
Normal file
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION = "TI PRUSS low level driver library"
|
||||
|
||||
DEPENDS="common-csl-ip osal"
|
||||
|
||||
include pruss-lld.inc
|
||||
|
||||
PR = "${INC_PR}.2"
|
||||
|
||||
S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
# Build the lib
|
||||
oe_runmake clean
|
||||
oe_runmake lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the lib
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
@@ -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 corresponds to "DEV.SA_LLD.03.00.00.15"
|
||||
SA_LLD_SRCREV = "59dbcc8b1ed05d81161bc4c472bed8916a004728"
|
||||
# Below commit ID corresponds to "DEV.SA_LLD.03.00.00.16"
|
||||
SA_LLD_SRCREV = "eb1508714586f92e66bf5a8a4c212e8277f6b065"
|
||||
|
||||
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 = "03.00.00.15"
|
||||
PV = "03.00.00.16"
|
||||
INC_PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"
|
||||
|
||||
@@ -1,113 +1,7 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
# u-boot needs devtree compiler to parse dts files
|
||||
DEPENDS += "dtc-native"
|
||||
PR = "r30"
|
||||
|
||||
DESCRIPTION = "u-boot bootloader for TI devices"
|
||||
BRANCH = "ti-u-boot-2016.05"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
|
||||
|
||||
PR = "r26"
|
||||
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 = "6c5519b6fc09274d28d653a9a3cabf7dc74883ca"
|
||||
|
||||
# Support for secure devices - detailed info is in doc/README.ti-secure
|
||||
TI_SECURE_DEV_PKG ?= ""
|
||||
export TI_SECURE_DEV_PKG
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
SPL_BINARY_k2e-hs-evm = ""
|
||||
SPL_UART_BINARY = "u-boot-spl.bin"
|
||||
|
||||
# Keystone specifics
|
||||
UBOOT_SUFFIX_keystone = "bin"
|
||||
SPL_UART_BINARY_keystone = ""
|
||||
|
||||
# SPI NOR Flash binaries
|
||||
UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
|
||||
UBOOT_SPI_BINARY = "u-boot.img"
|
||||
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
|
||||
|
||||
# SPI NOR Flash deployed images
|
||||
UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
|
||||
UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin"
|
||||
UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
|
||||
UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
|
||||
UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
|
||||
UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
|
||||
|
||||
# HS XLD
|
||||
UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
|
||||
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
|
||||
|
||||
# HS MLO
|
||||
UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
|
||||
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
|
||||
|
||||
do_compile_append_am437x-hs-evm () {
|
||||
if [ -f ${B}/u-boot-spl_HS_ISSW ]; then
|
||||
rm -rf ${B}/MLO
|
||||
cp ${B}/u-boot-spl_HS_ISSW ${B}/MLO
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
|
||||
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
|
||||
fi
|
||||
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
|
||||
ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
|
||||
fi
|
||||
}
|
||||
|
||||
do_deploy_append () {
|
||||
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_XLD_BINARY} ${DEPLOYDIR}/${UBOOT_HS_XLD_IMAGE}
|
||||
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
|
||||
fi
|
||||
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}
|
||||
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_append_keystone () {
|
||||
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
|
||||
}
|
||||
|
||||
do_deploy_append_keystone () {
|
||||
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}
|
||||
rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
|
||||
rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}
|
||||
rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
|
||||
}
|
||||
SRCREV = "4db46a6bbde46e4587b77e14763787f66c292701"
|
||||
|
||||
5
recipes-bsp/u-boot/u-boot-ti-staging_2017.01.bb
Normal file
5
recipes-bsp/u-boot/u-boot-ti-staging_2017.01.bb
Normal file
@@ -0,0 +1,5 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
BRANCH = "ti-u-boot-2017.01"
|
||||
|
||||
SRCREV = "438d0991e5a913323f6e38293a3d103d82284d9d"
|
||||
@@ -16,8 +16,18 @@ require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
|
||||
|
||||
SUMMARY = "u-boot bootloader for TI devices"
|
||||
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
|
||||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
|
||||
|
||||
BRANCH ?= "master"
|
||||
SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
PV_append = "+git${SRCPV}"
|
||||
|
||||
# u-boot needs devtree compiler to parse dts files
|
||||
DEPENDS += "dtc-native"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -28,26 +38,117 @@ PKG_${PN}-dbg = "u-boot-dbg"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# Support for secure devices - detailed info is in doc/README.ti-secure
|
||||
TI_SECURE_DEV_PKG ?= ""
|
||||
export TI_SECURE_DEV_PKG
|
||||
|
||||
# SPL (Second Program Loader)
|
||||
SPL_BINARY = "MLO"
|
||||
SPL_BINARY_k2e-hs-evm = ""
|
||||
SPL_BINARY_omapl138 = ""
|
||||
|
||||
# SPL (Second Program Loader) to be loaded over UART
|
||||
SPL_UART_BINARY ?= ""
|
||||
SPL_UART_BINARY = "u-boot-spl.bin"
|
||||
SPL_UART_BINARY_k2e-hs-evm = ""
|
||||
SPL_UART_BINARY_keystone = ""
|
||||
|
||||
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
|
||||
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
|
||||
|
||||
# Keystone specifics
|
||||
UBOOT_SUFFIX_keystone = "bin"
|
||||
|
||||
# SPI NOR Flash binaries
|
||||
UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
|
||||
UBOOT_SPI_BINARY = "u-boot.img"
|
||||
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
|
||||
|
||||
# SPI NOR Flash deployed images
|
||||
UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
|
||||
UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin"
|
||||
UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
|
||||
UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
|
||||
UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
|
||||
UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
|
||||
|
||||
# HS XLD
|
||||
UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
|
||||
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
|
||||
|
||||
# HS MLO
|
||||
UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
|
||||
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
|
||||
UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
|
||||
|
||||
do_compile_append_am437x-hs-evm () {
|
||||
if [ -f ${B}/u-boot-spl_HS_ISSW ]; then
|
||||
rm -rf ${B}/MLO
|
||||
cp ${B}/u-boot-spl_HS_ISSW ${B}/MLO
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_append () {
|
||||
if [ "x${SPL_UART_BINARY}" != "x" ]
|
||||
then
|
||||
install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
|
||||
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
|
||||
fi
|
||||
if [ "x${SPL_UART_BINARY}" != "x" ]; then
|
||||
install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
|
||||
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
|
||||
fi
|
||||
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
|
||||
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
|
||||
fi
|
||||
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
|
||||
ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
|
||||
fi
|
||||
}
|
||||
|
||||
do_deploy_append () {
|
||||
cd ${DEPLOYDIR}
|
||||
if [ "x${SPL_UART_BINARY}" != "x" ]
|
||||
then
|
||||
install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
|
||||
rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
|
||||
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
|
||||
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
|
||||
fi
|
||||
cd ${DEPLOYDIR}
|
||||
if [ "x${SPL_UART_BINARY}" != "x" ]; then
|
||||
install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
|
||||
rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
|
||||
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
|
||||
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
|
||||
fi
|
||||
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_XLD_BINARY} ${DEPLOYDIR}/${UBOOT_HS_XLD_IMAGE}
|
||||
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
|
||||
fi
|
||||
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
|
||||
install ${B}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}
|
||||
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
|
||||
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
|
||||
fi
|
||||
}
|
||||
|
||||
do_install_append_keystone () {
|
||||
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
|
||||
}
|
||||
|
||||
do_deploy_append_keystone () {
|
||||
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}
|
||||
rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
|
||||
rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
|
||||
|
||||
install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}
|
||||
rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
|
||||
}
|
||||
|
||||
@@ -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 = "3c0537748dd283b2de9c5369570aa2aade5a9979"
|
||||
SRCREV = "6019bf95ee30a65db6b27ea48e6ee65e8b16e0a6"
|
||||
|
||||
# There's only hardfp version available
|
||||
python __anonymous() {
|
||||
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
PR = "r18"
|
||||
PR = "r20"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
|
||||
|
||||
DEPENDS += "libdrm udev libgbm wayland libffi"
|
||||
|
||||
@@ -4,12 +4,13 @@
|
||||
CMEM_MACHINE = "${MACHINE}"
|
||||
CMEM_MACHINE_am57xx-evm = "am571x am572x"
|
||||
CMEM_MACHINE_am57xx-hs-evm = "am571x am572x"
|
||||
CMEM_MACHINE_dra7xx-evm = "dra72x dra74x"
|
||||
CMEM_MACHINE_dra7xx-hs-evm = "dra72x dra74x"
|
||||
CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x"
|
||||
CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x"
|
||||
|
||||
# Set cmem.dtsi per machine or machine variant
|
||||
CMEM_DTSI = "cmem.dtsi"
|
||||
CMEM_DTSI_am571x = "cmem-am571x.dtsi"
|
||||
CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
|
||||
CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
|
||||
|
||||
# Split device trees between variants
|
||||
@@ -17,6 +18,7 @@ CMEM_DEVICETREE = "${KERNEL_DEVICETREE}"
|
||||
CMEM_DEVICETREE_am571x = "am571x-idk.dtb am571x-idk-lcd-osd.dtb am571x-idk-lcd-osd101t2587.dtb"
|
||||
CMEM_DEVICETREE_am572x = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-evm.dtb am57xx-evm-reva3.dtb am572x-idk.dtb \
|
||||
am572x-idk-lcd-osd.dtb am572x-idk-lcd-osd101t2587.dtb"
|
||||
CMEM_DEVICETREE_dra71x = "dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb"
|
||||
CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd.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-lg.dtb dra7-evm-lcd-osd.dtb dra7-evm-lcd-osd101t2587.dtb"
|
||||
@@ -25,7 +27,7 @@ CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb
|
||||
RESERVE_CMEM ?= "0"
|
||||
|
||||
# Add correct cmem.dtsi to SRC_URI for each variant for a given machine
|
||||
python() {
|
||||
python do_unpack() {
|
||||
old_overrides = d.getVar('OVERRIDES', False)
|
||||
|
||||
# Initialize with empty string to simplify logic to append to SRC_URI
|
||||
@@ -40,6 +42,7 @@ python() {
|
||||
cmem_dtsi.add(localdata.getVar('CMEM_DTSI', True))
|
||||
|
||||
d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi))
|
||||
bb.build.exec_func('base_do_unpack', d)
|
||||
}
|
||||
|
||||
python do_setup_cmem() {
|
||||
|
||||
29
recipes-kernel/linux/files/dra7xx/cmem-dra71x.dtsi
Normal file
29
recipes-kernel/linux/files/dra7xx/cmem-dra71x.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 0x0c000000>;
|
||||
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 0x0c000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
/ {
|
||||
reserved-memory {
|
||||
cmem_block_mem_0: cmem_block_mem@829000000 {
|
||||
reg = <0x00000008 0x22000000 0x00000000 0x1E000000>;
|
||||
cmem_block_mem_0: cmem_block_mem@830000000 {
|
||||
reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
@@ -19,7 +19,7 @@
|
||||
cmem_block_0: cmem_block@0 {
|
||||
reg = <0>;
|
||||
memory-region = <&cmem_block_mem_0>;
|
||||
cmem-buf-pools = <1 0x00000000 0x1E000000>;
|
||||
cmem-buf-pools = <1 0x00000000 0x18000000>;
|
||||
};
|
||||
|
||||
cmem_block_1: cmem_block@1 {
|
||||
@@ -29,13 +29,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&dsp_common_mpm_area {
|
||||
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
|
||||
};
|
||||
&mpm_mem {
|
||||
reg = <0xa0000000 0x02000000>;
|
||||
};
|
||||
|
||||
&msm_ram {
|
||||
sram_cmem: sram-cmem@80000 {
|
||||
reg = <0x80000 0xc0000>;
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
/ {
|
||||
reserved-memory {
|
||||
|
||||
cmem_block_mem_0: cmem_block_mem@829000000 {
|
||||
reg = <0x00000008 0x29000000 0x00000000 0x17000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
cmem_block_mem_2: cmem_block_mem@822000000 {
|
||||
reg = <0x00000008 0x22000000 0x00000000 0x07000000>;
|
||||
cmem_block_mem_0: cmem_block_mem@818000000 {
|
||||
reg = <0x00000008 0x18000000 0x00000000 0x5000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
@@ -26,28 +20,16 @@
|
||||
cmem_block_0: cmem_block@0 {
|
||||
reg = <0>;
|
||||
memory-region = <&cmem_block_mem_0>;
|
||||
cmem-buf-pools = <1 0x00000000 0x17000000>;
|
||||
cmem-buf-pools = <1 0x00000000 0x5000000>;
|
||||
};
|
||||
|
||||
cmem_block_1: cmem_block@1 {
|
||||
reg = <1>;
|
||||
sram = <&sram_cmem>;
|
||||
};
|
||||
|
||||
cmem_block_2: cmem_block@2 {
|
||||
reg = <2>;
|
||||
memory-region = <&cmem_block_mem_2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsp_common_mpm_area {
|
||||
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
|
||||
};
|
||||
&mpm_mem {
|
||||
reg = <0xa0000000 0x02000000>;
|
||||
};
|
||||
|
||||
&msm_ram {
|
||||
sram_cmem: sram-cmem@a0000 {
|
||||
reg = <0xa0000 0x57000>;
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
/ {
|
||||
reserved-memory {
|
||||
|
||||
cmem_block_mem_0: cmem_block_mem@829000000 {
|
||||
reg = <0x00000008 0x29000000 0x00000000 0x17000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
cmem_block_mem_2: cmem_block_mem@822000000 {
|
||||
reg = <0x00000008 0x22000000 0x00000000 0x07000000>;
|
||||
cmem_block_mem_0: cmem_block_mem@830000000 {
|
||||
reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
@@ -26,28 +20,16 @@
|
||||
cmem_block_0: cmem_block@0 {
|
||||
reg = <0>;
|
||||
memory-region = <&cmem_block_mem_0>;
|
||||
cmem-buf-pools = <1 0x00000000 0x17000000>;
|
||||
cmem-buf-pools = <1 0x00000000 0x18000000>;
|
||||
};
|
||||
|
||||
cmem_block_1: cmem_block@1 {
|
||||
reg = <1>;
|
||||
sram = <&sram_cmem>;
|
||||
};
|
||||
|
||||
cmem_block_2: cmem_block@2 {
|
||||
reg = <2>;
|
||||
memory-region = <&cmem_block_mem_2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsp_common_mpm_area {
|
||||
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
|
||||
};
|
||||
&mpm_mem {
|
||||
reg = <0xa0000000 0x02000000>;
|
||||
};
|
||||
|
||||
&msm_ram {
|
||||
sram_cmem: sram-cmem@100000 {
|
||||
reg = <0x100000 0x480000>;
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
/ {
|
||||
reserved-memory {
|
||||
|
||||
cmem_block_mem_0: cmem_block_mem@829000000 {
|
||||
reg = <0x00000008 0x22000000 0x00000000 0x1E000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
cmem_block_mem_1: cmem_block_mem@00c080000 {
|
||||
reg = <0x00000000 0x0c080000 0x00000000 0x000c0000>;
|
||||
cmem_block_mem_0: cmem_block_mem@830000000 {
|
||||
reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
|
||||
no-map;
|
||||
status = "okay";
|
||||
};
|
||||
@@ -26,7 +20,7 @@
|
||||
cmem_block_0: cmem_block@0 {
|
||||
reg = <0>;
|
||||
memory-region = <&cmem_block_mem_0>;
|
||||
cmem-buf-pools = <1 0x00000000 0x1E000000>;
|
||||
cmem-buf-pools = <1 0x00000000 0x18000000>;
|
||||
};
|
||||
|
||||
cmem_block_1: cmem_block@1 {
|
||||
@@ -36,13 +30,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&dsp_common_mpm_area {
|
||||
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
|
||||
};
|
||||
&mpm_mem {
|
||||
reg = <0xa0000000 0x02000000>;
|
||||
};
|
||||
|
||||
&msm_ram {
|
||||
sram_cmem: sram-cmem@80000 {
|
||||
reg = <0x80000 0xc0000>;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/defconfig_fragment
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/multi_core_defconfig_fragment
|
||||
1
recipes-kernel/linux/linux-ti-staging-4.9/defconfig
Normal file
1
recipes-kernel/linux/linux-ti-staging-4.9/defconfig
Normal file
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_omap2_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_dra7x_release
|
||||
1
recipes-kernel/linux/linux-ti-staging-4.9/k2g/defconfig
Normal file
1
recipes-kernel/linux/linux-ti-staging-4.9/k2g/defconfig
Normal file
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_k2g_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_keystone_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_am3x_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_am4x_release
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/rt_defconfig_fragment
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/rt_multi_core_defconfig_fragment
|
||||
1
recipes-kernel/linux/linux-ti-staging-rt-4.9/defconfig
Normal file
1
recipes-kernel/linux/linux-ti-staging-rt-4.9/defconfig
Normal file
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_omap2_rt_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_dra7x_rt_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_k2g_rt_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_keystone_rt_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_am3x_rt_release
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_am4x_rt_release
|
||||
@@ -1,9 +0,0 @@
|
||||
require linux-ti-staging_4.1.bb
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
|
||||
|
||||
BRANCH = "ti-rt-linux-4.1.y"
|
||||
|
||||
SRCREV = "3bef1493dbbc61880f09cfda285cd0032a501d41"
|
||||
@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
|
||||
|
||||
BRANCH = "ti-rt-linux-4.4.y"
|
||||
|
||||
SRCREV = "dd8a2ec8d0acf6431e7f67b4cebf44171cfa837d"
|
||||
SRCREV = "15ae5cb78b00ab8989bcd85d36429c917c016237"
|
||||
|
||||
9
recipes-kernel/linux/linux-ti-staging-rt_4.9.bb
Normal file
9
recipes-kernel/linux/linux-ti-staging-rt_4.9.bb
Normal file
@@ -0,0 +1,9 @@
|
||||
require linux-ti-staging_4.9.bb
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
|
||||
|
||||
BRANCH = "ti-rt-linux-4.9.y"
|
||||
|
||||
SRCREV = "940177b0bc855cb2d5d2c9d536885b629dc5a4a3"
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/system_test_defconfig_fragment
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/multi_core_system_test_defconfig_fragment
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_omap2_debug
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_dra7x_debug
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_k2g_debug
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_keystone_debug
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_am3x_debug
|
||||
@@ -0,0 +1 @@
|
||||
use-tisdk-config=ti_sdk_am4x_debug
|
||||
@@ -1,5 +1,5 @@
|
||||
require linux-ti-staging_4.1.bb
|
||||
require linux-ti-staging_4.9.bb
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
# This will have priority over generic non-rt path
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
|
||||
@@ -1,92 +0,0 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for TI devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/linux-dtb.inc
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/cmem.inc
|
||||
require recipes-kernel/linux/ti-uio.inc
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
|
||||
|
||||
# Pull in the devicetree files into the rootfs
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
# Add a run-time dependency for the PM firmware to be installed
|
||||
# on the target file system.
|
||||
RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
|
||||
RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
|
||||
|
||||
# Add a run-time dependency for the VPE VPDMA firmware to be installed
|
||||
# on the target file system.
|
||||
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
|
||||
|
||||
# Install boot-monitor skern file into /boot dir of rootfs
|
||||
RDEPENDS_kernel-base_append_keystone = " boot-monitor"
|
||||
|
||||
# Install ti-sci-fw into /boot dir of rootfs
|
||||
RDEPENDS_kernel-base_append_k2g-evm = " ti-sci-fw"
|
||||
|
||||
# Add run-time dependency for SerDes firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_keystone = " serdes-fw"
|
||||
|
||||
# Add run-time dependency for NETCP PA firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_k2hk-evm = " netcp-pa-fw"
|
||||
RDEPENDS_kernel-base_append_k2e-evm = " netcp-pa-fw"
|
||||
RDEPENDS_kernel-base_append_k2l-evm = " netcp-pa-fw"
|
||||
|
||||
# Add run-time dependency for PRU Ethernet firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_am57xx-evm = " prueth-fw"
|
||||
RDEPENDS_kernel-base_append_am437x-evm = " prueth-fw"
|
||||
|
||||
# Default is to package all dtb files for ti33x devices unless building
|
||||
# for the specific beaglebone machine.
|
||||
KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
|
||||
KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
|
||||
KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
|
||||
KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"
|
||||
KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd.dtb"
|
||||
KERNEL_DEVICETREE_dra7xx-hs-evm = "${KERNEL_DEVICETREE_dra7xx-evm}"
|
||||
KERNEL_DEVICETREE_am57xx-evm = "am57xx-beagle-x15.dtb am57xx-beagle-x15-es2plus.dtb am57xx-evm.dtb am57xx-evm-es2plus.dtb am572x-idk.dtb am571x-idk.dtb am572x-idk-lcd-osd.dtb am571x-idk-lcd-osd.dtb"
|
||||
KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
|
||||
KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb"
|
||||
KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb"
|
||||
KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb"
|
||||
KERNEL_DEVICETREE_pandaboard = "omap4-panda.dtb omap4-panda-es.dtb"
|
||||
KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2g-evm = "k2g-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|omap3|omap4|keystone"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-lsk-linux-4.1.y"
|
||||
|
||||
SRCREV = "6b41ca0b945d73ac8c8318083f79411639836643"
|
||||
PV = "4.1.18+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "l"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
|
||||
|
||||
# SoC specific config fragments are not enabled yet
|
||||
KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${KERNEL_CONFIG_DIR}/am33xx_only.cfg"
|
||||
KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${KERNEL_CONFIG_DIR}/am43xx_only.cfg"
|
||||
KERNEL_CONFIG_FRAGMENTS_append_dra7xx = " ${KERNEL_CONFIG_DIR}/dra7_only.cfg"
|
||||
|
||||
MULTI_CONFIG_BASE_SUFFIX = ""
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL = "git"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig"
|
||||
@@ -16,15 +16,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
|
||||
# Pull in the devicetree files into the rootfs
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
# Add a run-time dependency for the PM firmware to be installed
|
||||
# on the target file system.
|
||||
# Add run-time dependency for PM firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
|
||||
RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
|
||||
|
||||
# Add a run-time dependency for the VPE VPDMA firmware to be installed
|
||||
# on the target file system.
|
||||
# Add run-time dependency for VPE VPDMA firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
|
||||
|
||||
# Add run-time dependency for Goodix firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_dra7xx = " goodix-fw"
|
||||
|
||||
# Install boot-monitor skern file into /boot dir of rootfs
|
||||
RDEPENDS_kernel-base_append_keystone = " boot-monitor"
|
||||
|
||||
@@ -80,8 +81,8 @@ S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-lsk-linux-4.4.y"
|
||||
|
||||
SRCREV = "33a812efb875d4dd31d1705fa6144ed11324a6eb"
|
||||
PV = "4.4.32+git${SRCPV}"
|
||||
SRCREV = "7c580a51af521f320eb56717f291aa5b64c2f244"
|
||||
PV = "4.4.41+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
|
||||
66
recipes-kernel/linux/linux-ti-staging_4.9.bb
Normal file
66
recipes-kernel/linux/linux-ti-staging_4.9.bb
Normal file
@@ -0,0 +1,66 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for TI devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/linux-dtb.inc
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/cmem.inc
|
||||
require recipes-kernel/linux/ti-uio.inc
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
|
||||
|
||||
# Pull in the devicetree files into the rootfs
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
# Add run-time dependency for PM firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
|
||||
RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
|
||||
|
||||
# Add run-time dependency for VPE VPDMA firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
|
||||
|
||||
# Add run-time dependency for Goodix firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_dra7xx = " goodix-fw"
|
||||
|
||||
# Install boot-monitor skern file into /boot dir of rootfs
|
||||
RDEPENDS_kernel-base_append_keystone = " boot-monitor"
|
||||
|
||||
# Install ti-sci-fw into /boot dir of rootfs
|
||||
RDEPENDS_kernel-base_append_k2g = " ti-sci-fw"
|
||||
|
||||
# Add run-time dependency for SerDes firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_keystone = " serdes-fw"
|
||||
|
||||
# Add run-time dependency for QMSS PDSP firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_keystone = " qmss-pdsp-fw"
|
||||
|
||||
# Add run-time dependency for NETCP PA firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_k2hk-evm = " netcp-pa-fw"
|
||||
RDEPENDS_kernel-base_append_k2e = " netcp-pa-fw"
|
||||
RDEPENDS_kernel-base_append_k2l-evm = " netcp-pa-fw"
|
||||
|
||||
# Add run-time dependency for PRU Ethernet firmware to the rootfs
|
||||
RDEPENDS_kernel-base_append_am57xx-evm = " prueth-fw"
|
||||
RDEPENDS_kernel-base_append_am437x-evm = " prueth-fw"
|
||||
RDEPENDS_kernel-base_append_am335x-evm = " prueth-fw"
|
||||
RDEPENDS_kernel-base_append_k2g = " prueth-fw"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-lsk-linux-4.9.y"
|
||||
|
||||
SRCREV = "6c1ef0e5e0ace660dcb56552914ba2f42457fc51"
|
||||
PV = "4.9.10+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL = "git"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig"
|
||||
@@ -7,7 +7,9 @@ inherit autotools pkgconfig
|
||||
DEPENDS = "libdrm ti-ipc"
|
||||
|
||||
SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git"
|
||||
SRCREV = "1b1b5a2e5e995f607c22651579b49aa98d08610a"
|
||||
SRCREV = "398dd27e7f3181fff9e3d910b418c69f1493f52f"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
require recipes-ti/bios/ti-sysbios.inc
|
||||
|
||||
PV = "6_45_01_29"
|
||||
PR = "r0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=dbcd89745f1745f24ace8171a96ed493"
|
||||
|
||||
SRC_URI[sysbiosbin.md5sum] = "16cf6dc3c5cc9d2b877fa7d81dd12150"
|
||||
SRC_URI[sysbiosbin.sha256sum] = "efaf5f1d725f3fd06e45476109b1124c74c16c39c870d12929e071047c3e5a22"
|
||||
|
||||
TI_BIN_UNPK_CMDS=""
|
||||
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"
|
||||
12
recipes-ti/bios/ti-sysbios_6.46.01.38.bb
Normal file
12
recipes-ti/bios/ti-sysbios_6.46.01.38.bb
Normal file
@@ -0,0 +1,12 @@
|
||||
require recipes-ti/bios/ti-sysbios.inc
|
||||
|
||||
PV = "6_46_01_38"
|
||||
PR = "r0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=da86dca468e5dd80484dc83473ea32e3"
|
||||
|
||||
SRC_URI[sysbiosbin.md5sum] = "5aee070f73eb6f3d9aab2ff9c483f396"
|
||||
SRC_URI[sysbiosbin.sha256sum] = "3a04a584c3ee3221997b7d616ba45bbcc21ad241f4a4ab5c0f28c465d538af90"
|
||||
|
||||
TI_BIN_UNPK_CMDS=""
|
||||
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"
|
||||
@@ -2,8 +2,8 @@ DESCRIPTION = "TI PRU Code Generation Tools"
|
||||
HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
|
||||
LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
|
||||
LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-pru/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
|
||||
LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.1.x_manifest.html;md5=d7fea45a7968939ff953ae8a1e6719f4"
|
||||
LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.1.x_manifest.html;md5=d7fea45a7968939ff953ae8a1e6719f4"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-unpack.inc
|
||||
@@ -18,11 +18,11 @@ BINFILE_NAME_class-target = "cgt-pru-arm"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/${PV}/${BINFILE};name=${BINFILE_NAME}"
|
||||
|
||||
SRC_URI[cgt-pru-x86.md5sum] = "d9923acea12dc41fc975c381804bd5ed"
|
||||
SRC_URI[cgt-pru-x86.sha256sum] = "bbea68a6e793156cfb4874777bfd41a32b20172d3a8f61db6aed33a697a58e30"
|
||||
SRC_URI[cgt-pru-x86.md5sum] = "496b32b9804cf5b5b293dd938f7c5339"
|
||||
SRC_URI[cgt-pru-x86.sha256sum] = "c80dbf35e7401f4c122ff25cc2f6b5db496607782fb4583cee8663a2763f4472"
|
||||
|
||||
SRC_URI[cgt-pru-arm.md5sum] = "3b97df4966715bdb50f9a9fc58fe6b24"
|
||||
SRC_URI[cgt-pru-arm.sha256sum] = "819a4680296fabf1ae0d4e0184276f8ab5324621d35388026d1b678ea71040c9"
|
||||
SRC_URI[cgt-pru-arm.md5sum] = "b13bf0cdf484102cdfcb92a81b8092a2"
|
||||
SRC_URI[cgt-pru-arm.sha256sum] = "c125bbe4e805b830e5d746ade929dc1f202f25a6863d5005ed97cc5a82e26754"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
|
||||
@@ -40,6 +40,10 @@ FILES_${PN}-dbg = "${TI_CGT_PRU_INSTALL_DIR_RECIPE}/bin/.debug \
|
||||
${TI_CGT_PRU_INSTALL_DIR_RECIPE}/lib/.debug \
|
||||
"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
INSANE_SKIP_${PN} += "arch staticdev already-stripped"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -1,9 +1,9 @@
|
||||
require recipes-ti/devtools/ti-xdctools-core.inc
|
||||
|
||||
PV = "3_32_00_06"
|
||||
PV = "3_32_01_22"
|
||||
PR = "r0"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endline=140;md5=1796f68c3d32d408415f5612f1f60652"
|
||||
|
||||
SRC_URI[xdczip.md5sum] = "93127f4c2f35d94b6c8e5a52b79c38ae"
|
||||
SRC_URI[xdczip.sha256sum] = "d6f38a7f846ae4b1478554d75fc5f72cf677a1e2f348e214a725d1e849bd39c7"
|
||||
SRC_URI[xdczip.md5sum] = "ddae5b765ca62783c1e804c75c463c38"
|
||||
SRC_URI[xdczip.sha256sum] = "b1c6620ef0b8eac45ef6a587f93b3238bdcf3b02dfd7e4b40d872a45c02c5cdc"
|
||||
@@ -1,5 +1,5 @@
|
||||
PV = "3.44.00.00"
|
||||
INC_PR = "r2"
|
||||
PV = "3.45.00.00"
|
||||
INC_PR = "r0"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
|
||||
@@ -25,16 +25,19 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
|
||||
branch=${TI_IPC_METADATA_GIT_BRANCH};\
|
||||
name=${TI_IPC_METADATA_NAME}"
|
||||
|
||||
# Corresponds to tag: 3.44.00.00C
|
||||
SRCREV_ipc-examples = "1b73bc32c5bdd869b5121f86859afb122d286acc"
|
||||
# Corresponds to tag: 3.45.00.00_eng
|
||||
SRCREV_ipc-examples = "b19a3b7a003aa3304a12599a498d9b3a24f20c6e"
|
||||
|
||||
# Corresponds to tag: 3.44.00.00
|
||||
SRCREV_ipc-metadata = "07a745d47ecd7b4b64860e7c5d0fbe4e89524f2e"
|
||||
# Corresponds to tag: 3.45.00.00_eng
|
||||
SRCREV_ipc-metadata = "92fa9ce4419abf0fa2cf4063ee84e524c51548d0"
|
||||
|
||||
S_ipc-examples = "${WORKDIR}/git/ipc-examples"
|
||||
S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
|
||||
|
||||
PR = "${INC_PR}.4"
|
||||
RELEASE_TYPE = "ENG"
|
||||
RELEASE_SUFFIX = "_eng"
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
DEPENDS_append_keystone = " ti-cgt6x-native \
|
||||
gcc-arm-none-eabi-native \
|
||||
@@ -62,4 +65,5 @@ EXTRA_OEMAKE = "\
|
||||
XDC_INSTALL_DIR="${XDC_INSTALL_DIR}" \
|
||||
BIOS_INSTALL_DIR="${SYSBIOS_INSTALL_DIR}" \
|
||||
${IPC_TARGETS} \
|
||||
JOBS="--jobs=${BB_NUMBER_THREADS}" \
|
||||
"
|
||||
|
||||
@@ -13,9 +13,6 @@ INSANE_SKIP_${PN}-dev += "arch"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
RELEASE_TYPE = "GA"
|
||||
RELEASE_SUFFIX = ""
|
||||
|
||||
IPC_PACKAGE_DIR = "${S}/ipc-package"
|
||||
|
||||
do_compile() {
|
||||
|
||||
@@ -6,10 +6,10 @@ 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.44"
|
||||
TI_IPC_GIT_BRANCH = "ipc-next"
|
||||
|
||||
#Corresponds to 3.44.00.00
|
||||
TI_IPC_SRCREV = "a1852fc8b254ed207bd1c1c88f5b362c9b6cc454"
|
||||
#Corresponds to 3.45.00.00_eng
|
||||
TI_IPC_SRCREV = "9dd159d851496047b6833a5b7c71ed9ea95efc07"
|
||||
|
||||
BRANCH = "${TI_IPC_GIT_BRANCH}"
|
||||
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"
|
||||
|
||||
@@ -15,11 +15,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
BRANCH = "master"
|
||||
# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.02.00A
|
||||
SRCREV = "7284e75d36b265ef8535d2e2ee54d1f2c700e862"
|
||||
# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.03.00
|
||||
SRCREV = "ba53217c5db1a6f9d21a0c8f50e9e30a6efa8be8"
|
||||
|
||||
PV = "2.0.2.0"
|
||||
PR = "r1"
|
||||
PV = "2.0.3.0"
|
||||
PR = "r0"
|
||||
|
||||
EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
|
||||
|
||||
@@ -6,22 +6,36 @@ require recipes-ti/multiprocmgr/multiprocmgr.inc
|
||||
|
||||
DEPENDS = "ti-cgt6x-native"
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
export LOCAL_SYSROOT="${STAGING_DIR_TARGET}"
|
||||
export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
PACKAGES =+ "${PN}-test"
|
||||
FILES_${PN}-test = "${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
|
||||
${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/*.out"
|
||||
|
||||
EXTRA_OEMAKE = "LOCAL_SYSROOT="${STAGING_DIR_TARGET}" \
|
||||
C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" \
|
||||
"
|
||||
|
||||
do_compile() {
|
||||
make c66x
|
||||
make test_c66x
|
||||
oe_runmake c66x
|
||||
oe_runmake test_c66x
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${MPM_INSTALL_DIR_RECIPE}
|
||||
cp -pPrf ${S}/* ${D}${MPM_INSTALL_DIR_RECIPE}
|
||||
|
||||
# Copy C66x binaries
|
||||
install -d ${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin
|
||||
cp ${S}/test/filetestdemo/c66x/demo_loopback/build/bin/*.out \
|
||||
${D}${datadir}/ti/examples/mpm/test/filetestdemo/c66x/demo_loopback/build/bin/
|
||||
install -d ${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin
|
||||
cp ${S}/test/sync_test/c66x/bin/*.out \
|
||||
${D}${datadir}/ti/examples/mpm/test/sync_test/c66x/bin/
|
||||
}
|
||||
|
||||
FILES_${PN}-dev += "${MPM_INSTALL_DIR_RECIPE}"
|
||||
INSANE_SKIP_${PN}-dev = "arch"
|
||||
INSANE_SKIP_${PN}-test = "arch"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
@@ -2,22 +2,33 @@ DESCRIPTION = "TI Multiproc Manager test code"
|
||||
|
||||
include multiprocmgr.inc
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
PR = "${INC_PR}.2"
|
||||
|
||||
DEPENDS = "multiprocmgr cmem"
|
||||
RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem"
|
||||
RDEPENDS_${PN} += "multiprocmgr-rtos-test bash"
|
||||
|
||||
CC += "-I${STAGING_KERNEL_DIR}/include"
|
||||
|
||||
# Assuming the multiprocmgr kernel API is safe
|
||||
CC[vardepsexclude] = "STAGING_KERNEL_DIR"
|
||||
|
||||
FILES_${PN} += "\
|
||||
${datadir}/ti/examples/mpm \
|
||||
"
|
||||
|
||||
FILES_${PN}-dbg += "\
|
||||
${datadir}/ti/examples/mpm/*/.debug \
|
||||
"
|
||||
|
||||
do_compile() {
|
||||
make -C ${S} test
|
||||
oe_runmake -C ${S} test
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
install -c -m 755 ${S}/test/filetestdemo/host/bin/demo_filetest ${D}${bindir}/mpm_demo_filetest
|
||||
install -c -m 755 ${S}/test/sync_test/host/bin/sync_test ${D}${bindir}/mpm_sync_test
|
||||
# Copy Sources and binary
|
||||
install -d ${D}${datadir}/ti/examples/mpm/src
|
||||
cp -r ${S}/src/mailbox ${D}${datadir}/ti/examples/mpm/src
|
||||
cp -r ${S}/src/sync ${D}${datadir}/ti/examples/mpm/src
|
||||
cp -r ${S}/test ${D}${datadir}/ti/examples/mpm
|
||||
}
|
||||
|
||||
@@ -8,10 +8,10 @@ MULTIPROCMGR_GIT_URI = "git://git.ti.com/keystone-linux/multi-proc-manager.git"
|
||||
MULTIPROCMGR_GIT_PROTOCOL = "git"
|
||||
MULTIPROCMGR_GIT_BRANCH = "master"
|
||||
|
||||
# The following commits correspond to DEV.MPM-3.00.01.00
|
||||
MULTIPROCMGR_SRCREV = "6c2c0f7d14d34eb9074c6d6a6bd112da3751fb7e"
|
||||
# The following commits correspond to DEV.MPM-3.00.02.00
|
||||
MULTIPROCMGR_SRCREV = "303692fe954f36df91c90c300875a6587cb23556"
|
||||
|
||||
PV = "3.0.1.0"
|
||||
PV = "3.0.2.0"
|
||||
INC_PR = "r0"
|
||||
|
||||
BRANCH = "${MULTIPROCMGR_GIT_BRANCH}"
|
||||
|
||||
@@ -7,7 +7,7 @@ SRC_URI_append = " file://mpmsrv-daemon.service"
|
||||
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
DEPENDS = "mpm-transport libdaemon virtual/kernel"
|
||||
DEPENDS = "mpm-transport libdaemon virtual/kernel cmem"
|
||||
RDEPENDS_${PN} = "syslog-ng"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
@@ -4,7 +4,7 @@ LICENSE = "BSD"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
PV = "2_04_00_01"
|
||||
PV = "2_05_00_00"
|
||||
PR = "r0"
|
||||
|
||||
OPENMP_RTOS_GIT_URI = "git://git.ti.com/openmp/ti-openmp-dsp-runtime.git"
|
||||
@@ -15,7 +15,7 @@ BRANCH = "${OPENMP_RTOS_GIT_BRANCH}"
|
||||
SRC_URI = "${OPENMP_RTOS_GIT_URI};protocol=${OPENMP_RTOS_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
"
|
||||
|
||||
SRCREV = "0a16ee27f0f61d4042327c71cff9ed52e5435777"
|
||||
SRCREV = "8a3e3b3d5aff1ea7c6dacf8699a83c948e926bfb"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee"
|
||||
|
||||
|
||||
@@ -4,15 +4,15 @@ LIC_FILES_CHKSUM = "file://makerules/env.mk;beginline=1;endline=31;md5=10503e8de
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
|
||||
PV = "01.00.00.02B"
|
||||
PV = "01.00.00.03"
|
||||
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.02B"
|
||||
PDK_BUILD_SRCREV = "28a1bf6dba6d4eb6d80bfe37c5a5f17941754192"
|
||||
# Below Commit ID corresponds to "DEV.PDK_BUILD.01.00.00.03"
|
||||
PDK_BUILD_SRCREV = "487845b835b54d97f2d2f47ee1d0d88784e7e9ca"
|
||||
|
||||
BRANCH = "${PDK_BUILD_GIT_BRANCH}"
|
||||
SRC_URI = "${PDK_BUILD_GIT_URI};protocol=${PDK_BUILD_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
@@ -32,30 +32,46 @@ do_compile() {
|
||||
do_install() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
|
||||
|
||||
install -m 0755 Rules.make ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build
|
||||
install -m 0755 comp_top.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build
|
||||
|
||||
sed -i -e "s|c\:/ti/ccsv5/utils/cygwin|\$(XDC_INSTALL_PATH)/bin|g" \
|
||||
${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/Rules.make
|
||||
|
||||
|
||||
install -m 0755 makerules/build_config.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/common.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/component.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/env.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/platform.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
}
|
||||
|
||||
do_install_append_ti33x() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
|
||||
|
||||
install -m 0755 makerules/rules_a8.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_a8_extend.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
|
||||
install -m 0755 am335x/config_am335x_a8.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
|
||||
}
|
||||
|
||||
do_install_append_ti43x() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am437x
|
||||
|
||||
install -m 0755 makerules/rules_a9.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
|
||||
install -m 0755 am437x/config_am437x_a9.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am437x
|
||||
}
|
||||
|
||||
do_install_append_omap-a15() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
|
||||
|
||||
install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_m4.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_ti_cgt_arm.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 am335x/config_am335x_a8.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
|
||||
install -m 0755 am335x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am335x
|
||||
|
||||
install -m 0755 am571x/config_am571x.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
|
||||
install -m 0755 am571x/config_am571x_c66.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
|
||||
install -m 0755 am571x/config_am571x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am571x
|
||||
@@ -65,5 +81,16 @@ do_install() {
|
||||
install -m 0755 am572x/config_am572x_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
|
||||
install -m 0755 am572x/mem_segment_definition_1024mb_bios.xs ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/am572x
|
||||
}
|
||||
|
||||
do_install_append_keystone() {
|
||||
install -m 0755 makerules/rules_66.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
install -m 0755 makerules/rules_a15.mk ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/makerules
|
||||
}
|
||||
|
||||
do_install_append_k2g-evm() {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/k2g
|
||||
|
||||
install -m 0755 k2g/config_k2g_a15.bld ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/build/k2g
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages/*"
|
||||
|
||||
@@ -11,11 +11,19 @@ BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/processor-sdk/uio-test-pruss.git;protocol=git;branch=${BRANCH}"
|
||||
LIC_FILES_CHKSUM = "file://Makefile;startline=1;endline=31;md5=0ee4f2c42eb6b04e37859bb55a18b144"
|
||||
|
||||
# Corresponds to version 01.00.00.00
|
||||
SRCREV = "f04b91b84331c9a12c897e4eb2836a0a3e3a5fae"
|
||||
# Corresponds to version 01.00.00.00A
|
||||
SRCREV = "88e78564ff9094ecb13b53d627fa6bfb25d9ac03"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEVICE_NAME = ""
|
||||
DEVICE_NAME_append_am57xx-evm = "am57xx"
|
||||
|
||||
EXTRA_OEMAKE = "CGT_PRU=${TI_CGT_PRU_INSTALL_DIR} DEVICE=${DEVICE_NAME}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
|
||||
Reference in New Issue
Block a user