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

Compare commits

..

65 Commits

Author SHA1 Message Date
Denys Dmytriyenko
a00cd08b11 linux-ti-staging: add 2 new DRA7 RevC LCD DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-12 16:54:31 -04:00
Denys Dmytriyenko
707d948fd0 linux-ti-staging: update to ti2016.02-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-10 15:40:47 -04:00
Denys Dmytriyenko
35effcffb1 u-boot-ti-staging: add HS_X-LOADER images, update to ti2016.02-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-10 15:40:45 -04:00
Sam Nelson
5a92176066 ti-ipc: Update to new version 3.43.01.03
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-10 15:40:40 -04:00
Denys Dmytriyenko
457d1a75e8 machine: bump max_leb_cnt numbers again
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-04 02:06:58 -04:00
Denys Dmytriyenko
79e9297b3b linux-ti-staging: update to ti2016.02-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:13:59 -04:00
Denys Dmytriyenko
3bf185e2c1 u-boot-ti-staging: update to ti2016.02-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:13:54 -04:00
Denys Dmytriyenko
501709c38d uio-module-drv-test: replace machine override with SOC override
This package is now used for multiple omap-a15 SOCs, having only single machine
covered in overrides breaks other machines.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:13:50 -04:00
Justin Sobota
e03eaff8ef edma3-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:13:46 -04:00
Denys Dmytriyenko
540818aaff uio-module-drv-test: correct COMPATIBLE_MACHINE
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 22:23:22 -04:00
Denys Dmytriyenko
8a9eb5d977 uio-test-pruss: correct COMPATIBLE_MACHINE
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 21:27:16 -04:00
Jacob Stiffler
f175c88c01 openmp-rtos: bump SRCREV to version 2.3.1.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:10:08 -04:00
Jacob Stiffler
daed2c1462 ti-ipc-rtos: add dependency on zip-native
* The zip utility is used during the build

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:10:03 -04:00
Justin Sobota
5a84f7d923 dfe-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:09:54 -04:00
Justin Sobota
dd8ec293a2 srio-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:09:46 -04:00
Justin Sobota
39fcf40916 sa-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:09:39 -04:00
Justin Sobota
3aa5480876 rm-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:09:35 -04:00
Justin Sobota
8da412de38 pa-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:09:30 -04:00
Justin Sobota
5aa6c4eb0a common-csl-ip: Move to new make infrastructure & Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Tested-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:09:23 -04:00
Justin Sobota
1a4349fb9c ti-pdk: Add makefile support to ti-pdk.bbclass for RTOS components
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:08:57 -04:00
Anand Balagopalakrishnan
542b6d1fc2 ti-sgx-ddk-km: disable active power management
Disable active power management in SGX. This will enable host triggered
suspend-resume for SGX.

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:08:34 -04:00
Anand Balagopalakrishnan
dc856da7db ti-sgx-ddk-um: disable active power management
Disable active power management in SGX. This will enable host triggered
suspend-resume for SGX.

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:08:31 -04:00
Denys Dmytriyenko
3008194df2 linux-ti-staging: update to ti2016.02-rc2 tag, update DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 15:32:56 -04:00
Denys Dmytriyenko
30f47c86e7 u-boot-ti-staging: update to ti2016.02-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 15:32:51 -04:00
Sam Nelson
13df93b1a4 ti-ipc: Update comment on IPC tag
Updated tag added to ipc dev branch to the same commit id
to avoid confusion.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 15:32:46 -04:00
Karthik Ramanan
6e4d479296 dspdce-fw: Update SRCREV for adding new API
This API will allow querying remote core information

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 10:28:56 -04:00
Karthik Ramanan
f39872ef3f ipumm: Update SRCREV for adding new API
This API will allow querying remote core information

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 10:28:49 -04:00
Karthik Ramanan
980c0fa6d2 libdce: add API for query remote proc information
This update contains two main changes:
 * Fix for multimedia playback failure with core dumped
 * New API addition for querying remote proc information

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 10:28:42 -04:00
Sam Nelson
a71da0f824 uio-module-drv-test: Updates to fix issues with Keystone platforms
Made the package machine dependent due to content changes with platform
Fixed DEVICE_NAME to keystone instead of keystone-evm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 10:28:18 -04:00
Denys Dmytriyenko
18437aed99 u-boot-ti-staging: add support for AM57xx HS platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-22 11:13:36 -04:00
Denys Dmytriyenko
36519bd18f netcp-pa-fw: update to version 3.0.1.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-21 00:48:06 -04:00
Denys Dmytriyenko
1a6fcfa8bd amx3-cm3: update to the latest for am3 ddr fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-21 00:48:04 -04:00
Denys Dmytriyenko
1f91eb7883 am57xx-hs-evm: add AM5 HS platform config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 17:43:35 -04:00
Denys Dmytriyenko
4086b6a18d u-boot-ti-staging: update to ti2016.02-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:55:04 -04:00
Denys Dmytriyenko
f71f4fd821 linux-ti-staging: update to 4.4.13, use new defconfig builder
Convert to using tisdk configs from defconfig_map processed by defconfig_builder.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:54:59 -04:00
Sam Nelson
cbfd89ceb7 uio-test-pruss: Add recipe to build uio pruss test firmware
This firmware images are expected to be used with uio pruss test code

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:54:54 -04:00
Sam Nelson
82a1312883 mpm-transport: Update to new version 2.0.1.2
- Adapts to API change in uio-module-drv

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:54:49 -04:00
Sam Nelson
1eae6f96fe uio-module-drv: Update to new version 2.1.0.0
One API change in read/write
Additional test code added

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:54:44 -04:00
Sam Nelson
eb25debd49 ti-ipc: Update to new patch version 3.43.01.02
Only examples and documentation updated

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:54:39 -04:00
Jason Reeder
145755b476 pru-icss: add new device support and bump SRCREV
The PRU Software Support Package now includes examples for
the k2g device that need to be built and then placed into
the file system.

The Linux driver now supports loading firmwares into both
PRU-ICSS subsystems on the am437x device so the recipe was
also updated to build and install those firmwares.

Non-backward compatible changes were made to the inner
workings of rpmsg that required a major revision bump. The
package revision was bumped to 5.0.0 and this commit moves
the SRCREV to the v5.0.0 tag.

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:54:33 -04:00
Denys Dmytriyenko
c51663d849 libdce: move from meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-10 13:32:59 -04:00
Denys Dmytriyenko
b9c4f9f467 README: update branch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-07 18:47:20 -04:00
Denys Dmytriyenko
1456932959 recipes: cleanup
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-07 18:45:09 -04:00
Denys Dmytriyenko
c0c9802a68 ipumm-fw: bump for codec updates and bugfixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-07 18:08:12 -04:00
Denys Dmytriyenko
1ae0cadb12 u-boot-ti-staging: update to ti2016.01-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-02 20:12:04 -04:00
Denys Dmytriyenko
31212fec61 linux-ti-staging: update to 4.4.12 and ti2016.01-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-02 20:12:00 -04:00
Denys Dmytriyenko
4b7a863b9d cm3-pm-firmware: correct license to TI-TSPA
It was incorrectly identified as BSD-3-Clause

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 23:55:42 -04:00
Sam Nelson
f43d380691 linux-ti-staging: Update uio entries for am572x
Rearranged memory sections
Added additional memory section to accomodate required sections more
than 8
Incremented PR append for linux-ti-staging

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 15:45:37 -04:00
Sam Nelson
3ac974779d ti-ipc: Update to new version 3.43
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 15:45:19 -04:00
Ming Wei
10960c248c ti-ccsv6-native: update to new version 6.1.3.00033
updated ARM-CGT version and MD5/SHAR256 checksum

Signed-off-by: Ming Wei <mwei@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 15:45:14 -04:00
Sam Nelson
55dc15a8f4 ti-ipc-rtos: Update to include examples and documentation with the package
Updated to new version 3.42.01.03
Added procedures and source urls for adding examples and documentation
into src package.
Added dependency on doxygen for document creation
Added big endian c66 targets
Updated uniform formatting

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-27 17:18:28 -04:00
e-ruei1@ti.com
2a57c4c768 ti-sgx-ddk-um: update srcrev and bump PR
* bring in the fix of QML overlay display problem

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:59:31 -04:00
Denys Dmytriyenko
b094cd07c1 machine: explicitly list ubifs in IMAGE_FSTYPES, so RM_OLD_IMAGE works
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:59:16 -04:00
Jacob Stiffler
3f2d7dff00 k2g-evm: add opencl feature
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:59:07 -04:00
Sam Nelson
d098dfccc1 linux-ti-staging: Update pru uio dtb entries
added additional entries to allow access to ecap and uart regions
Update Kernel PR to force rebuild

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:58:57 -04:00
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
184 changed files with 1070 additions and 1830 deletions

4
README
View File

@@ -8,7 +8,7 @@ This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: morty
branch: krogoth
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
@@ -19,7 +19,5 @@ Please follow the recommended setup procedures of your OE distribution.
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/listinfo/meta-ti
Maintainers: Denys Dmytriyenko <denys@ti.com>

View File

@@ -10,8 +10,6 @@ BBFILE_PRIORITY_meta-ti = "6"
LICENSE_PATH += "${LAYERDIR}/licenses"
LAYERDEPENDS_meta-ti = "core"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
ti-sgx-ddk-km \
ti-sgx-ddk-um \

View File

@@ -1,18 +1,16 @@
#@TYPE: Machine
#@NAME: OMAP-L138 LCDK
#@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board
#@NAME: AM180x CPUs on an AM180x EVM board
#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "omapl138_lcdk_config"
UBOOT_MACHINE = "da850_am18xxevm_config"
UBOOT_SUFFIX = "ais"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
IMAGE_FSTYPES += "tar.xz"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyS2"
KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb"

View File

@@ -9,11 +9,10 @@ XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0 115200;ttyS3 115200;ttyO3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
@@ -27,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 7000"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 5100"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -1,14 +0,0 @@
#@TYPE: Machine
#@NAME: AM335x HS EVM
#@DESCRIPTION: Machine configuration for the TI AM435x HS EVM
require conf/machine/am335x-evm.conf
UBOOT_MACHINE = "am335x_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"

View File

@@ -12,11 +12,9 @@ MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyS2"
SERIAL_CONSOLE = "115200 ttyO2"
USE_VT = "2"
KERNEL_DEVICETREE = "am3517-evm.dtb"
UBOOT_MACHINE = "am3517_evm_config"
XLOAD_MACHINE = "am3517evm_config"

View File

@@ -12,9 +12,7 @@ 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 ttyS0"
SERIAL_CONSOLE = "115200 ttyO0"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4

View File

@@ -9,9 +9,11 @@ XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
SERIAL_CONSOLE = "115200 ttyS0"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -24,7 +26,7 @@ SERIAL_CONSOLE = "115200 ttyS0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4000"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2400"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

View File

@@ -5,10 +5,3 @@
require conf/machine/am437x-evm.conf
UBOOT_MACHINE = "am43xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x"

View File

@@ -1,19 +1,16 @@
#@TYPE: Machine
#@NAME: AM57xx EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx EVM
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
SERIAL_CONSOLE = "115200 ttyS2"
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"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyO2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
UBOOT_MACHINE = "am57xx_evm_config"

View File

@@ -5,14 +5,3 @@
require conf/machine/am57xx-evm.conf
UBOOT_MACHINE = "am57xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
OPTEEMACHINE = "ti"
OPTEEFLAVOR = "am57xx"
OPTEEOUTPUTMACHINE = "ti"

View File

@@ -1,36 +0,0 @@
#@TYPE: Machine
#@NAME: BeagleBoard X15
#@DESCRIPTION: Machine configuration for the BeagleBoard X15
require conf/machine/include/dra7xx.inc
MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLE = "115200 ttyS2"
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb"
UBOOT_MACHINE = "am57xx_evm_config"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"

View File

@@ -10,9 +10,7 @@ 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 ttyS2"
SERIAL_CONSOLE = "115200 ttyO2"
UBOOT_MACHINE = "omap3_beagle_config"

View File

@@ -3,19 +3,12 @@
#@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"
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES = "MLO u-boot.img"
IMAGE_FSTYPES += "tar.xz wic.xz"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyS0"
SERIAL_CONSOLE = "115200 ttyO0"
UBOOT_MACHINE = "am335x_boneblack_config"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"

View File

@@ -6,14 +6,11 @@ require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz"
SERIAL_CONSOLE = "115200 ttyS0"
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"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
UBOOT_MACHINE = "dra7xx_evm_config"

View File

@@ -5,14 +5,3 @@
require conf/machine/dra7xx-evm.conf
UBOOT_MACHINE = "dra7xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
OPTEEMACHINE = "ti"
OPTEEFLAVOR = "dra7xx"
OPTEEOUTPUTMACHINE = "ti"

View File

@@ -1,12 +0,0 @@
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.")
}

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

@@ -1,2 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":k2e"

View File

@@ -1,2 +0,0 @@
require conf/machine/include/keystone.inc
SOC_FAMILY_append = ":k2g"

View File

@@ -1,7 +1,7 @@
SOC_FAMILY = "keystone"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
@@ -23,5 +23,5 @@ UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "boot-monitor"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci dsp"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"

View File

@@ -1,7 +1,7 @@
SOC_FAMILY = "omap-a15"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
# Increase this everytime you change something in the kernel
@@ -12,8 +12,6 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "zImage uImage"
KERNEL_CLASSES += "kernel-uimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
@@ -33,4 +31,4 @@ MACHINE_GUI_CLASS = "smallscreen"
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip"

View File

@@ -1,7 +1,7 @@
SOC_FAMILY = "omap3"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
DEFAULTTUNE ?= "cortexa8thf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -26,8 +26,6 @@ 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"

View File

@@ -1,7 +1,7 @@
SOC_FAMILY = "omap4"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"

View File

@@ -1,7 +1,7 @@
SOC_FAMILY = "ti33x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
DEFAULTTUNE ?= "cortexa8thf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -26,8 +26,6 @@ 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"

View File

@@ -1,7 +1,7 @@
SOC_FAMILY = "ti43x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -26,8 +26,6 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"

View File

@@ -2,17 +2,19 @@
#@NAME: Keystone 2 K2E machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
require conf/machine/include/k2e.inc
require conf/machine/include/keystone.inc
KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SYSVINIT_ENABLED_GETTYS = ""
@@ -22,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:

View File

@@ -1,14 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2E HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E HS EVM
require conf/machine/k2e-evm.conf
UBOOT_MACHINE = "k2e_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2e"

View File

@@ -2,19 +2,19 @@
#@NAME: Keystone 2 K2G machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
require conf/machine/include/k2g.inc
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "alsa"
KERNEL_DEVICETREE = "keystone-k2g-evm.dtb keystone-k2g-evm-lcd.dtb keystone-k2g-ice.dtb"
MACHINE_FEATURES += "alsa opencl"
UBOOT_MACHINE = "k2g_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2g"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SYSVINIT_ENABLED_GETTYS = ""
@@ -24,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 1926 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:

View File

@@ -1,14 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G HS EVM
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G HS EVM
require conf/machine/k2g-evm.conf
UBOOT_MACHINE = "k2g_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/k2g"

View File

@@ -4,15 +4,17 @@
require conf/machine/include/keystone.inc
KERNEL_DEVICETREE = "keystone-k2hk-evm.dtb"
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SYSVINIT_ENABLED_GETTYS = ""
@@ -22,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3900"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:

View File

@@ -4,15 +4,17 @@
require conf/machine/include/keystone.inc
KERNEL_DEVICETREE = "keystone-k2l-evm.dtb"
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2l_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2l"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi tar.gz tar.xz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SYSVINIT_ENABLED_GETTYS = ""
@@ -22,7 +24,7 @@ SYSVINIT_ENABLED_GETTYS = ""
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 1926 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2000"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:

View File

@@ -6,9 +6,7 @@ require conf/machine/include/omap-a15.inc
IMAGE_FSTYPES += "ubi tar.gz"
KERNEL_DEVICETREE = "omap5-uevm.dtb"
SERIAL_CONSOLE = "115200 ttyS2"
SERIAL_CONSOLE = "115200 ttyO2"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more

View File

@@ -8,9 +8,7 @@ MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
SERIAL_CONSOLE = "115200 ttyS2"
SERIAL_CONSOLE = "115200 ttyO2"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat sgx"

View File

@@ -5,17 +5,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "u-boot-mkimage-native"
SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
PV = "4.0+git${SRCPV}"
PV = "3.0+git${SRCPV}"
PR = "r1"
BRANCH = "master"
S = "${WORKDIR}/git"
SRCREV = "cf8b431e8b3b2ee4a4aa08964d56d3ce1b11da24"
SRCREV = "035329caed63abe7193c855ad5d561ae783b19d7"
BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"

View File

@@ -1,24 +0,0 @@
DESCRIPTION = "Firmware files for Bluetooth"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f39eac9f4573be5b012e8313831e72a9"
PV = "8.7.1+git${SRCPV}"
CLEANBROKEN = "1"
SRCREV = "0ee619b598d023fffc77679f099bc2a4815510e4"
BRANCH = "master"
SRC_URI = "git://git.ti.com/ti-bt/service-packs.git;branch=${BRANCH}"
S = "${WORKDIR}/git"
do_compile() {
:
}
do_install() {
install -d ${D}${base_libdir}/firmware/ti-connectivity
oe_runmake "DEST_DIR=${D}" "BASE_LIB_DIR=${base_libdir}" install
}
FILES_${PN} += "${base_libdir}/firmware/ti-connectivity/*"

View File

@@ -0,0 +1,29 @@
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
PV = "1.9.0"
PR = "r1"
PE = "1"
SRCREV = "d85e6a17da1025adac9ab7f97dd7aa2a58c517ce"
BRANCH ?= "ti-v3.14.y"
SRC_URI = "git://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
do_compile() {
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"
}
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/
install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/
}
FILES_${PN} += "${base_libdir}/firmware"

View File

@@ -3,10 +3,10 @@ DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
PV = "1.9.2"
PR = "r0"
PV = "1.9.1"
PR = "r3"
SRCREV = "7eb9c0856a9e8b3b42bf64f761da135852b8eea7"
SRCREV = "97c2c32d0bc8ca0254710dcb5df055aa9a569ae6"
BRANCH ?= "ti-v4.1.y"
SRC_URI = "git://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=git;branch=${BRANCH}"

View File

@@ -12,7 +12,3 @@ EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_
MAKE_TARGETS = "module"
KERNEL_MODULE_AUTOLOAD += "cmemk"
do_install_prepend() {
cp ${B}/src/cmem/module/Module.symvers ${B}/ || true
}

View File

@@ -3,11 +3,11 @@ HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
BRANCH = "lu-next"
# This corresponds to version 4.14.00.00_eng
SRCREV = "b514a99ac45c64f0439282d0774d7cff5def4c6f"
BRANCH ?= "lu-next"
# This corresponds to version 4.11.00.00_eng
SRCREV = "852e97b5584cbdb6aa0fdef02a7c4e245409bcb6"
PV = "4.14.00.00+git${SRCPV}"
PV = "4.11.00.00+git${SRCPV}"
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"

View File

@@ -4,7 +4,7 @@ include cmem.inc
RDEPENDS_${PN} = "cmem-mod"
PR = "r1"
PR = "r0"
PACKAGES =+ "${PN}-test"

View File

@@ -1,5 +1,5 @@
require common-csl-ip.inc
PR = "${INC_PR}.4"
PR = "${INC_PR}.3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -15,8 +15,8 @@ LIMSOCS_ti43x = "am437x"
LIMSOCS_omap-a15 = "am571x am572x"
LIMSOCS_k2hk-evm = "k2h k2k"
LIMSOCS_k2l-evm = "k2l"
LIMSOCS_k2e = "k2e"
LIMSOCS_k2g = "k2g"
LIMSOCS_k2e-evm = "k2e"
LIMSOCS_k2g-evm = "k2g"
export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
export DEST_ROOT="${S}"

View File

@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
COMPATIBLE_MACHINE = "keystone|dra7xx"
PV = "03.03.00.05A"
PV = "3.3.0.3C"
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.05A"
CSL_SRCREV = "811646f507d985dac04544c60c965cadf5e26a4f"
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.03C"
CSL_SRCREV = "ccd8dc29a5edce1a4d6409cb06b460bec6d3ecac"
BRANCH="${CSL_GIT_BRANCH}"
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"

View File

@@ -8,6 +8,6 @@ DEPENDS_append = " rm-lld-rtos \
"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2e = "k2e"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2g = "k2g"
XDCARGS_k2g-evm = "k2g"

View File

@@ -22,6 +22,6 @@ INC_PR = "r1"
DEVICELIST = "k2h k2k k2l k2e"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"

View File

@@ -14,7 +14,7 @@ inherit module
PLATFORM = ""
PLATFORM_dra7xx = "DRA7xx_PLATFORM"
PLATFORM_keystone = "KEYSTONE_PLATFORM"
PLATFORM_k2e = "K2E_PLATFORM"
PLATFORM_k2e-evm = "K2E_PLATFORM"
EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"

View File

@@ -1,6 +1,6 @@
# This corresponds to version 1.4.0
SRCREV = "0aedcabdbbcbfc7558f70fc50afc95583302a087"
PV = "1.4.0"
# This corresponds to version 1.3.0
SRCREV = "4d92879b632ba70402b61fa65cc58f5373eb5217"
PV = "1.3.0"
INC_PR = "r0"
SRC_URI = "git://git.ti.com/sdo-emu/dsptop.git;protocol=git;branch=${BRANCH}"

View File

@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979
DEPENDS = "libulm ncurses"
PR = "${INC_PR}.2"
PR = "${INC_PR}.1"
S = "${WORKDIR}/git/dsptop"
@@ -12,7 +12,7 @@ DEVICE = ""
DEVICE_dra7xx = "DRA7xx"
DEVICE_keystone = "C66AK2Hxx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
do_install() {
oe_runmake install DESTDIR=${D}

View File

@@ -14,7 +14,7 @@ DEVICE_keystone = "C66AK2Hxx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
do_compile() {
oe_runmake arm XPORT_ONLY CC="${CC}"
oe_runmake arm XPORT_ONLY
oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include
}

View File

@@ -103,6 +103,7 @@ do_compile () {
make PLATFORM=${p} TARGET=${t} FORMAT=${FORMAT}
done
done
sourceipk_do_create_srcipk
}
do_install () {

View File

@@ -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_02_26"
EDMA3_LLD_SRCREV = "1c67565620f5a5305cf3293bba669c6aa1a7e40a"
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_01_24"
EDMA3_LLD_SRCREV = "e864a057032b070fc04628bac1345ecef01e2224"
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.02.26"
PV = "2.12.01.24"
INC_PR = "r0"

View File

@@ -1,24 +0,0 @@
DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
inherit module
MACHINE_KERNEL_PR_append = "c"
PR = "${MACHINE_KERNEL_PR}"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k4.9"
SRCREV = "030df5ecf503ef3c83dca6e732e6d47d4a11cd4b"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/src"
EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"
do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

View File

@@ -1,29 +0,0 @@
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"

View File

@@ -3,18 +3,18 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git"
HPLIB_GIT_PROTOCOL = "git"
HPLIB_GIT_BRANCH = "master"
# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.08"
HPLIB_SRCREV = "5e9b27854f5d6f9f37a0ed8d7516d4874427cd8b"
# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.07"
HPLIB_SRCREV = "74dde26bfcdeb248fae29eb883ac78db89263f9f"
BRANCH = "${HPLIB_GIT_BRANCH}"
SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${HPLIB_SRCREV}"
PV = "01.01.00.08+git${SRCPV}"
PV = "01.01.00.07+git${SRCPV}"
INC_PR = "r0"

View File

@@ -1,7 +1,7 @@
DESCRIPTION = "TI Hyperlink Low Level Driver"
LICENSE = "BSD-3-Clause"
COMPATIBLE_MACHINE = "k2hk-evm|k2e"
COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
LLDNAME="hyplnk"
@@ -24,6 +24,6 @@ PV = "2.1.0.6"
INC_PR = "r0"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"

View File

@@ -0,0 +1,35 @@
python __anonymous() {
features = bb.data.getVar("MACHINE_FEATURES", d, 1)
if not features:
return
if "mmip" not in features:
raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
}
DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=81f4b23808c36c9223523f43e35d291c"
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN} = " libdce"
SRC_URI = "http://downloads.ti.com/infotainment/esd/jacinto6/glsdk/ipumm/3_00_08_02/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
SRC_URI[md5sum] = "53f47909c2e2575b188bba9ddc325437"
SRC_URI[sha256sum] = "4ac7598bbbb5dd0cd6504906afe0e09d76ba612a3c326e45425e67535e5f2d09"
S = "${WORKDIR}/ipumm-dra7xx-evm-${PV}"
TARGET = "dra7-ipu2-fw.xem4"
do_install() {
mkdir -p ${D}${base_libdir}/firmware
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
PR = "r2"

View File

@@ -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=5cc572579f07af266ab57fc17d762c7f"
LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=036f6300761559fbc5ce7d06e1ccea5a"
COMPATIBLE_MACHINE = "dra7xx"
@@ -17,12 +17,11 @@ RDEPENDS_${PN} = " libdce"
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
SRCREV = "fd441443a4289c801a0c8d9f00b6966f7fe3476c"
SRCREV = "1627fec802da688fe44c6b0cac43ff811b08f064"
S = "${WORKDIR}/git"
PV = "3.00.13.00"
PR = "r5"
PV = "3.00.10.01"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
@@ -54,12 +53,10 @@ do_compile() {
}
TARGET = "dra7-ipu2-fw.xem4"
TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
install -m 0644 ${S}/${TARGET_MAP} ${D}${base_libdir}/firmware/${TARGET}.map
}
ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4"
@@ -68,3 +65,5 @@ ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN
ALTERNATIVE_PRIORITY = "20"
FILES_${PN} += "${base_libdir}/firmware/*"
PR = "r1"

View File

@@ -9,9 +9,9 @@ DEPENDS="common-csl-ip mmap-lld"
RDEPENDS_${PN}="uio-module-drv"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2g = "k2g"
DEVICELIST_k2e-evm = "k2e"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2g-evm = "k2g"
CHOICELIST = " yes \
no \

View File

@@ -8,7 +8,7 @@ PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e"
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -8,21 +8,21 @@ 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.11A"
NWAL_LLD_SRCREV = "a93303e3d682d7161030113b72c3e1adf755bf89"
# Below commit ID corresponds to "DEV.NWAL.02.01.00.10A"
NWAL_LLD_SRCREV = "e7ed8c5abc4b93b99a5f45699eef8f3b8ca51d1e"
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.11A"
INC_PR = "r0"
PV = "02.01.00.10"
INC_PR = "r1"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/nwal"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
CHOICELIST = "yes no"

View File

@@ -1,20 +0,0 @@
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}
}

View File

@@ -1,20 +0,0 @@
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"

View File

@@ -1,20 +0,0 @@
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}
}

View File

@@ -0,0 +1,30 @@
From 60a938e6902c7cb8bec34abbc5a3723c8094d728 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Tue, 1 Dec 2015 00:00:00 -0500
Subject: [PATCH] makefile_armv7: fix missing separator error
Doesn't seem to work in all versions of Make, fails like this:
makefile_armv7:27: *** missing separator. Stop.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
makefile_armv7 | 3 ---
1 file changed, 3 deletions(-)
diff --git a/makefile_armv7 b/makefile_armv7
index a2bc4f6..1ae6e0a 100644
--- a/makefile_armv7
+++ b/makefile_armv7
@@ -24,9 +24,6 @@ else
export LLD_NAME=pa
endif
-echo DEVICE=$(DEVICE)
-echo LLD_NAME=$(LLD_NAME)
-
# Output for prebuilt generated libraries
export ARMV7LIBDIR ?= ./lib
export ARMV7OBJDIR ?= ./obj/$(DEVICE)
--
2.2.0

View File

@@ -9,24 +9,25 @@ 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.01"
PA_LLD_SRCREV = "e95de49323678a55072c90fb213b94f96cf494b1"
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.12"
PA_LLD_SRCREV = "d3f3f5d93d3febc24099974bbc77e67c80a83b1e"
BRANCH = "${PA_LLD_GIT_BRANCH}"
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH} \
file://0001-makefile_armv7-fix-missing-separator-error.patch"
SRCREV = "${PA_LLD_SRCREV}"
PV = "03.00.02.01"
INC_PR = "r0"
PV = "03.00.01.12"
INC_PR = "r2"
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
DEVICELIST = "k2h k2k k2l k2e"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
LIBPA = "libpa"
LIBPA_k2hk-evm = "libpa"
LIBPA_k2e = "libpa2"
LIBPA_k2e-evm = "libpa2"
LIBPA_k2l-evm = "libpa2"

View File

@@ -9,5 +9,5 @@ DEPENDS_append = " rm-lld-rtos \
"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2e = "k2e"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2l-evm = "k2l"

View File

@@ -7,7 +7,7 @@ inherit module
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
MACHINE_KERNEL_PR_append = "m"
MACHINE_KERNEL_PR_append = "i"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -20,12 +20,12 @@ RPROVIDES_${PN} = "omapdrm-pvr"
RREPLACES_${PN} = "omapdrm-pvr"
RCONFLICTS_${PN} = "omapdrm-pvr"
BRANCH = "ti-img-sgx/${PV}/k4.9"
BRANCH = "ti-img-sgx/${PV}/k4.4"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "0086977380d3320d70a3abc78b95fa0641427073"
SRCREV = "c13efb766a8fc680374ae7affc6df535f823bacb"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"

View File

@@ -2,20 +2,20 @@ DESCRIPTION = "Programmable Real-time Unit Software Package"
HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS"
LICENSE = "BSD-3-Clause & GPL-2.0 & PD"
LIC_FILES_CHKSUM = "file://PRU-Package-v5.0-Manifest.html;md5=a86a37c8b6396ad0ad6ae752f1aa8fcc"
LIC_FILES_CHKSUM = "file://PRU-Package-v5.0-Manifest.html;md5=eec933459cb42544706e35289de38e03"
inherit update-alternatives
BRANCH = "master"
SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}"
SRCREV = "4efd227bebd8eb0bc12f40fac043dc9c26d4f8c3"
SRCREV = "913cf232ebe655603d3385de2b9cde4af7af5308"
PV = "5.1.0"
PR = "r1"
PV = "5.0.0"
PR = "r0"
require recipes-ti/includes/ti-paths.inc
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PACKAGES_prepend = " \
@@ -39,7 +39,7 @@ SUBDIRS = "examples pru_cape/pru_fw lib/src labs"
PLATFORM_ti33x = "am335x"
PLATFORM_ti43x = "am437x"
PLATFORM_omap-a15 = "am572x"
PLATFORM_k2g = "k2g"
PLATFORM_k2g-evm = "k2g"
do_compile() {
for dir in ${SUBDIRS}
@@ -84,7 +84,7 @@ do_install_append_omap-a15() {
done
}
do_install_append_k2g() {
do_install_append_k2g-evm() {
for i in 0 1
do
for j in 0 1
@@ -102,7 +102,7 @@ FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt*"
PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw"
PRU_ICSS_ALTERNATIVES_ti43x = "am437x-pru0_0-fw am437x-pru0_1-fw am437x-pru1_0-fw am437x-pru1_1-fw"
PRU_ICSS_ALTERNATIVES_omap-a15 = "am57xx-pru1_0-fw am57xx-pru1_1-fw am57xx-pru2_0-fw am57xx-pru2_1-fw"
PRU_ICSS_ALTERNATIVES_k2g = "k2g-pru0_0-fw k2g-pru0_1-fw k2g-pru1_0-fw k2g-pru1_1-fw"
PRU_ICSS_ALTERNATIVES_k2g-evm = "k2g-pru0_0-fw k2g-pru0_1-fw k2g-pru1_0-fw k2g-pru1_1-fw"
# Set up link names for the firmwares
ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "/lib/firmware/am335x-pru0-fw"

View File

@@ -1,18 +1,21 @@
DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x, AM335x and K2G"
DESCRIPTION = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
PV = "3.1.4"
PR = "r1"
PV_am57xx-evm = "1.0.0"
PV_am437x-evm = "2.1.2"
PV_am335x-evm = "2.1.2"
PR = "r2"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "am57xx-evm|am437x-evm|am335x-evm|k2g"
COMPATIBLE_MACHINE = "am57xx-evm|am437x-evm|am335x-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "4ed1022c62bfe4ed4c66112024c8ee1301e9439d"
SRCREV = "4096bf1129c4a707069e685edd44ca64bd51421d"
BRANCH ?= "ti-linux-firmware-4.1.y"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
@@ -22,7 +25,6 @@ S = "${WORKDIR}/git"
TARGET_am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
TARGET_am437x-evm = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf"
TARGET_am335x-evm = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf"
TARGET_k2g = "k2g-pru0-prueth-fw.elf k2g-pru1-prueth-fw.elf"
do_install() {
install -d ${D}${base_libdir}/firmware/ti-pruss

View File

@@ -1,21 +0,0 @@
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}
}

View File

@@ -1,20 +0,0 @@
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"

View File

@@ -1,22 +0,0 @@
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}
}

View File

@@ -8,5 +8,5 @@ DEPENDS_append = " rm-lld-rtos"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2e = "k2e"
XDCARGS_k2g = "k2g"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2g-evm = "k2g"

View File

@@ -9,19 +9,19 @@ QMSS_LLD_GIT_PROTOCOL = "git"
QMSS_LLD_GIT_BRANCH = "master"
QMSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/qmss"
# commit ID corresponding to "DEV.QMSS_LLD.02.01.00.14B"
QMSS_LLD_SRCREV = "04095405680f4ec92eeef9312ba04f7808b1c813"
# commit ID corresponding to DEV.QMSS_LLD.02.01.00.14A
QMSS_LLD_SRCREV = "8fc6a846e509d6ad8499e1de68abd912d7947069"
BRANCH ="${QMSS_LLD_GIT_BRANCH}"
SRC_URI = "${QMSS_LLD_GIT_URI};destsuffix=${QMSS_LLD_GIT_DESTSUFFIX};protocol=${QMSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${QMSS_LLD_SRCREV}"
PV = "02.01.00.14B"
INC_PR = "r0"
PV = "02.01.00.14"
INC_PR = "r1"
DEVICELIST = "k2h k2k k2l k2e"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}"

View File

@@ -7,6 +7,6 @@ PR = "${INC_PR}.0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2e = "k2e"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2g = "k2g"
XDCARGS_k2g-evm = "k2g"

View File

@@ -7,6 +7,8 @@ SRC_URI = "git://github.com/tomba/rwmem.git"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
do_install() {
install -d ${D}${bindir}
install -m 0755 rwmem ${D}${bindir}

View File

@@ -10,7 +10,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
CHOICELIST = "no yes"

View File

@@ -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.16"
SA_LLD_SRCREV = "eb1508714586f92e66bf5a8a4c212e8277f6b065"
# Below commit ID corresponds to "DEV.SA_LLD.03.00.00.14"
SA_LLD_SRCREV = "e0448f5172f9a4d945f9ad1b2a583574c378b5c7"
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.16"
INC_PR = "r0"
PV = "03.00.00.14"
INC_PR = "r2"
S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"

View File

@@ -3,7 +3,8 @@ DESCRIPTION = "SerDes firmware for Keystone PCIe and 1/10GigE"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
PV = "3.3.0.2c"
PV = "1.0.0"
PR = "r0"
CLEANBROKEN = "1"
@@ -11,19 +12,25 @@ COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "8d861bd8f8f792df60b6873989ff208766fbebae"
SRCREV = "8756d98081e1011a1334b0769f13ffb31d3b41bd"
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"
TARGET = "ks2_pcie_serdes.bin ks2_gbe_serdes.bin ks2_xgbe_serdes.bin"
ORIGINPCIE = "ks2_pcie_serdes_1.0.0.bin"
ORIGINGBE = "ks2_gbe_serdes_1.0.0.bin"
ORIGINXGBE = "ks2_xgbe_serdes_1.0.0.bin"
TARGETPCIE = "ks2_pcie_serdes.bin"
TARGETGBE = "ks2_gbe_serdes.bin"
TARGETXGBE = "ks2_xgbe_serdes.bin"
do_install() {
install -d ${D}${base_libdir}/firmware
for f in ${TARGET}; do
install -m 0644 ${S}/ti-keystone/$f ${D}${base_libdir}/firmware/$f
done
install -m 0644 ${S}/ti-keystone/${ORIGINPCIE} ${D}${base_libdir}/firmware/${TARGETPCIE}
install -m 0644 ${S}/ti-keystone/${ORIGINGBE} ${D}${base_libdir}/firmware/${TARGETGBE}
install -m 0644 ${S}/ti-keystone/${ORIGINXGBE} ${D}${base_libdir}/firmware/${TARGETXGBE}
}
FILES_${PN} = "${base_libdir}/firmware"

View File

@@ -3,16 +3,16 @@ DESCRIPTION = "TI SCI firmware"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
PV = "0.1.1.37"
PV = "0.1.1.12"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "k2g"
COMPATIBLE_MACHINE = "k2g-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "9fe8861924a990dcd48ada5099df592273c2e166"
SRCREV = "89c279adfdd0e58f002ba6f0c26a14869b2d74cb"
BRANCH ?= "ti-linux-firmware-4.1.y"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"

View File

@@ -22,7 +22,7 @@ INC_PR = "r1"
DEVICELIST = "k2k k2h k2e k2l"
DEVICELIST_tci6614-evm = "c6614"
DEVICELIST_k2hk-evm = "k2k k2h"
DEVICELIST_k2e = "k2e"
DEVICELIST_k2e-evm = "k2e"
DEVICELIST_k2l-evm = "k2l"
S = "${WORKDIR}/${TRACEFRAMEWORK_GIT_DESTSUFFIX}"

View File

@@ -0,0 +1,20 @@
require u-boot-ti.inc
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native"
DESCRIPTION = "u-boot bootloader for TI devices"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
PR = "r14"
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-2014.07"
SRCREV = "fb6ab76dad21e12b12d0f824fcfa2609a26ec695"
SPL_BINARY = "MLO"
SPL_UART_BINARY = "u-boot-spl.bin"

View File

@@ -0,0 +1,78 @@
require u-boot-ti.inc
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native"
DESCRIPTION = "u-boot bootloader for TI devices"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95"
PR = "r25"
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-2015.07"
SRCREV = "46c915c96358c426bb1f4dd1e25a9a805d93a24e"
# Support for secure devices - detailed info is in doc/README.ti-secure
TI_SECURE_DEV_PKG ?= ""
TI_SECURE_DEV_PKG_dra7xx-hs-evm = "${TI_SECURE_DEV_PKG_DRA7}"
TI_SECURE_DEV_PKG_am437x-hs-evm = "${TI_SECURE_DEV_PKG_AM4}"
export TI_SECURE_DEV_PKG
SPL_BINARY = "MLO"
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"
do_compile_append_am437x-hs-evm () {
if [ -f ${S}/u-boot-spl_HS_ISSW ]; then
rm -rf ${S}/MLO
cp ${S}/u-boot-spl_HS_ISSW ${S}/MLO
fi
}
do_install_append_keystone () {
install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
install ${S}/${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 ${S}/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 ${S}/${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 ${S}/${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}
}

View File

@@ -1,7 +1,100 @@
require u-boot-ti.inc
PR = "r30"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native"
BRANCH = "ti-u-boot-2016.05"
DESCRIPTION = "u-boot bootloader for TI devices"
SRCREV = "4db46a6bbde46e4587b77e14763787f66c292701"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
PR = "r10"
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 = "a4560200fc597109328a6454094fa77516434880"
# Support for secure devices - detailed info is in doc/README.ti-secure
TI_SECURE_DEV_PKG ?= ""
TI_SECURE_DEV_PKG_dra7xx-hs-evm = "${TI_SECURE_DEV_PKG_DRA7}"
TI_SECURE_DEV_PKG_am57xx-hs-evm = "${TI_SECURE_DEV_PKG_DRA7}"
TI_SECURE_DEV_PKG_am437x-hs-evm = "${TI_SECURE_DEV_PKG_AM4}"
export TI_SECURE_DEV_PKG
SPL_BINARY = "MLO"
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}"
do_compile_append_am437x-hs-evm () {
if [ -f ${S}/u-boot-spl_HS_ISSW ]; then
rm -rf ${S}/MLO
cp ${S}/u-boot-spl_HS_ISSW ${S}/MLO
fi
}
do_install_append () {
if [ -f ${S}/${UBOOT_HS_XLD_BINARY} ]; then
install ${S}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
}
do_deploy_append () {
if [ -f ${S}/${UBOOT_HS_XLD_BINARY} ]; then
install ${S}/${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
}
do_install_append_keystone () {
install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
install ${S}/${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 ${S}/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 ${S}/${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 ${S}/${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}
}

View File

@@ -1,5 +0,0 @@
require u-boot-ti.inc
BRANCH = "ti-u-boot-2017.01"
SRCREV = "bc8176c3f14dfabd7ebb883b65b2b04b70f3cf0a"

View File

@@ -4,7 +4,7 @@ def get_git_revision(p):
import subprocess
try:
return subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=p, shell=True, stdout=subprocess.PIPE, universal_newlines=True).communicate()[0].rstrip()
return subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=p, shell=True, stdout=subprocess.PIPE).communicate()[0].rstrip()
except OSError:
return None
@@ -16,18 +16,8 @@ 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://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 bc-native"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -38,126 +28,26 @@ 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 = "u-boot-spl.bin"
SPL_UART_BINARY_keystone = ""
SPL_UART_BINARY ?= ""
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_SPL_BINARY_k2e-hs-evm = ""
UBOOT_SPI_BINARY = "u-boot.img"
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
UBOOT_SPI_GPH_BINARY_k2e-hs-evm = ""
# 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 [ -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
if [ "x${SPL_UART_BINARY}" != "x" ]
then
install ${S}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_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
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 () {
if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
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}
fi
install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
fi
}
do_deploy_append_keystone () {
if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
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}
fi
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}
if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
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}
fi
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]
then
install ${S}/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
}

View File

@@ -1,29 +0,0 @@
From 3a8fc3ccf00796254d6cef4b6d4cd70dc37012e1 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Fri, 10 Mar 2017 13:28:29 -0500
Subject: [PATCH] Add Makefile to install firmware files
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 Makefile
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1cf38e3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+# Installs the the ti-connectivity wlan firmware files into the root file system
+
+install:
+ @if [ ! -d $(DESTDIR) ] ; then \
+ echo "Target filesystem directory doesn't exist."; \
+ exit 1; \
+ fi
+ install -d $(DEST_DIR)/lib/firmware/ti-connectivity
+ cp *.bin $(DEST_DIR)/lib/firmware/ti-connectivity/
--
2.7.4

View File

@@ -1,26 +0,0 @@
DESCRIPTION = "Firmware files for use with TI wl18xx"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
SRC_URI = " \
git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH} \
file://0001-Add-Makefile-to-install-firmware-files.patch \
"
# Tag: R8.7-SP1 (8.7.1)
SRCREV = "fe3909e93d15a4b17e43699dde2bba0e9a3c0abc"
BRANCH = "master"
S = "${WORKDIR}/git"
CLEANBROKEN = "1"
do_compile() {
:
}
do_install() {
oe_runmake 'DEST_DIR=${D}' install
}
FILES_${PN} = "/lib/firmware/ti-connectivity/*"

View File

@@ -12,6 +12,8 @@ SRC_URI = "git://git.ti.com/ti-bt/uim.git"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
do_install() {
install -d ${D}${bindir}
install -m 0755 uim ${D}${bindir}

View File

@@ -1,24 +0,0 @@
DESCRIPTION = "The calibrator utility for TI wireless solution based on wl18xx driver"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
DEPENDS = "libnl"
RDEPENDS_${PN} = "wl18xx-fw"
#Tag: R8.7_SP1 (8.7.1)
SRCREV = "39542357111d1f24e866c2857d561a348c04cce4"
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
S = "${WORKDIR}/git"
export CROSS_COMPILE = "${TARGET_PREFIX}"
EXTRA_OEMAKE = "CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/libnl3/ -DCONFIG_LIBNL32 " \
LDFLAGS="${LDFLAGS} -L${STAGING_LIBDIR}" \
CC="${CC}" \
NLVER=3"
do_install() {
install -d ${D}${bindir}
install -m 0755 calibrator ${D}${bindir}/
}

View File

@@ -1,22 +0,0 @@
DESCRIPTION = "Scripts and configuration files for TI wireless drivers"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c0d175d1f4a705"
# Tag: R8.7_SP1 (8.7.1)
SRCREV = "a07b6e711d2a70608101d3d6cdc5749c4d8a96d5"
BRANCH = "sitara-scripts"
SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-scripts.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
FILES_${PN} += "${datadir}/wl18xx/"
do_install() {
install -d ${D}${datadir}/wl18xx/
scripts=`find ./ -type f -name "*.*"`
for s in $scripts
do
install -m 0755 $s ${D}${datadir}/wl18xx/
done
}

View File

@@ -1,39 +0,0 @@
DESCRIPTION = "Configuration utility for TI wireless drivers"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a9438"
# Tag: R8.7_SP1 (8.7.1) +fix
SRCREV = "ee653d2845b0029c14f49ca83a2f6c02037ec239"
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git"
S = "${WORKDIR}/git/wlconf"
EXTRA_OEMAKE = "CC="${CC}""
do_install() {
install -d ${D}${bindir}
install -d ${D}${bindir}/wlconf/
install -d ${D}${bindir}/wlconf/official_inis
install -d ${D}/lib/firmware/ti-connectivity
install -m 0755 wlconf ${D}${bindir}/wlconf/
install -m 0755 dictionary.txt ${D}${bindir}/wlconf/
install -m 0755 struct.bin ${D}${bindir}/wlconf/
install -m 0755 default.conf ${D}${bindir}/wlconf/
install -m 0755 wl18xx-conf-default.bin ${D}${bindir}/wlconf/
install -m 0755 wl18xx-conf-default.bin ${D}/lib/firmware/ti-connectivity/wl18xx-conf.bin
install -m 0755 README ${D}${bindir}/wlconf/
install -m 0755 example.conf ${D}${bindir}/wlconf/
install -m 0755 example.ini ${D}${bindir}/wlconf/
install -m 0755 configure-device.sh ${D}${bindir}/wlconf/
install -m 0755 ${S}/official_inis/* \
${D}${bindir}/wlconf/official_inis/
}
FILES_${PN} += " \
${bindir}/wlconf \
${bindir}/wlconf/official_inis \
/lib/firmware/ti-connectivity/wl18xx-conf.bin \
"
FILES_${PN}-dbg += "${bindir}/wlconf/.debug"

View File

@@ -1,10 +1,8 @@
SUMMARY = "Userspace interface for the kernel GBM services"
HOMEPAGE = "http://git.ti.com/glsdk/libgbm.git"
DESCRIPTION = "Userspace interface for the kernel GBM services."
HOMEPAGE = "http://git.ti.com"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://gbm.c;beginline=1;endline=26;md5=b871c7f2f477df29ee4c0ec437b187f7"
DEPENDS = "libdrm udev"
DEPENDS = "libdrm"
inherit autotools pkgconfig

View File

@@ -1,39 +0,0 @@
DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://Manifest.html;md5=4d759c4e533af6aaeff2af7f405697c2"
PACKAGE_ARCH = "${MACHINE_ARCH}"
CLEANBROKEN = "1"
BRANCH = "ti-${PV}"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
SRCREV = "ab0ca5bff345f6c13807fea3c4acabf5f2b9b10a"
# There's only hardfp version available
python __anonymous() {
tunes = bb.data.getVar("TUNE_FEATURES", d, 1)
if not tunes:
return
pkgn = bb.data.getVar("PN", d, 1)
pkgv = bb.data.getVar("PV", d, 1)
if "callconvention-hard" not in tunes:
bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
}
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
PR = "r1"
S = "${WORKDIR}/git"
EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}"
do_install() {
oe_runmake install
}
INSANE_SKIP_${PN} += "ldflags"

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 = "d184140aa5c17e13e1bf21151f1a7bc068bdf8bf"
SRCREV = "4cdbb6b192fc5cac53695faca3c3f8be16ca871d"
# There's only hardfp version available
python __anonymous() {
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
inherit update-rc.d
PR = "r24"
PR = "r13"
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
DEPENDS += "libdrm udev libgbm wayland libffi"
@@ -63,7 +63,7 @@ FILES_${PN} += "${includedir}/*"
FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins"
FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libGLESv2.so ${libdir}/libpvrDRMWSEGL.so ${libdir}/libpvrGBMWSEGL.so ${libdir}/libpvrws_WAYLAND.so"
RDEPENDS_${PN} += "${PN}-plugins"
ALLOW_EMPTY_${PN}-plugins = "1"
@@ -73,6 +73,5 @@ INHIBIT_SYSROOT_STRIP = "1"
INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
INSANE_SKIP_${PN}-plugins = "dev-so"
INSANE_SKIP_${PN} += "already-stripped"
CLEANBROKEN = "1"

View File

@@ -0,0 +1,88 @@
SUMMARY = "Linux Kernel Selftests"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz"
SRC_URI[md5sum] = "fe9dc0f6729f36400ea81aa41d614c37"
SRC_URI[sha256sum] = "caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f"
S = "${WORKDIR}/linux-${PV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "virtual/kernel popt"
inherit kernel-arch
TARGETS = "cpu-hotplug efivarfs exec firmware ftrace kcmp memfd memory-hotplug \
mount mqueue net ptrace size sysctl timers user vm"
# Arch specific tests
TARGETS_append_x86 = " breakpoints ipc x86"
TARGETS_append_x86-64 = " breakpoints ipc x86"
TARGETS_append_powerpc = " powerpc"
TARGETS_append_powerpc64 = " powerpc"
EXTRA_OEMAKE += "-C tools/testing/selftests TARGETS="${TARGETS}" INSTALL_PATH=${D}${bindir}/kselftests CC="${CC}""
# Their Makefiles are so sloppy, let's clean up a bit
do_configure () {
sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/lib.mk
sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/timers/Makefile
sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile
sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile
sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile
sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile
}
do_compile () {
oe_runmake
}
do_install () {
oe_runmake install
}
PACKAGE_BEFORE_PN = "${PN}-breakpoints ${PN}-cpu-hotplug ${PN}-efivarfs ${PN}-exec ${PN}-firmware ${PN}-ftrace \
${PN}-ipc ${PN}-kcmp ${PN}-memfd ${PN}-memory-hotplug ${PN}-mount ${PN}-mqueue ${PN}-net ${PN}-powerpc \
${PN}-ptrace ${PN}-size ${PN}-sysctl ${PN}-timers ${PN}-user ${PN}-vm ${PN}-x86"
FILES_${PN}-breakpoints = "${bindir}/kselftests/breakpoints"
FILES_${PN}-cpu-hotplug = "${bindir}/kselftests/cpu-hotplug"
FILES_${PN}-efivarfs = "${bindir}/kselftests/efivarfs"
FILES_${PN}-exec = "${bindir}/kselftests/exec"
FILES_${PN}-firmware = "${bindir}/kselftests/firmware"
FILES_${PN}-ftrace = "${bindir}/kselftests/ftrace"
FILES_${PN}-ipc = "${bindir}/kselftests/ipc"
FILES_${PN}-kcmp = "${bindir}/kselftests/kcmp"
FILES_${PN}-memfd = "${bindir}/kselftests/memfd"
FILES_${PN}-memory-hotplug = "${bindir}/kselftests/memory-hotplug"
FILES_${PN}-mount = "${bindir}/kselftests/mount"
FILES_${PN}-mqueue = "${bindir}/kselftests/mqueue"
FILES_${PN}-net = "${bindir}/kselftests/net"
FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
FILES_${PN}-size = "${bindir}/kselftests/size"
FILES_${PN}-sysctl = "${bindir}/kselftests/sysctl"
FILES_${PN}-timers = "${bindir}/kselftests/timers"
FILES_${PN}-user = "${bindir}/kselftests/user"
FILES_${PN}-vm = "${bindir}/kselftests/vm"
FILES_${PN}-x86 = "${bindir}/kselftests/x86"
FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug"
RDEPENDS_${PN}-cpu-hotplug += "bash"
RDEPENDS_${PN}-efivarfs += "bash"
RDEPENDS_${PN}-memory-hotplug += "bash"
RDEPENDS_${PN}-net += "bash"
RDEPENDS_${PN}-vm += "bash"
RDEPENDS_${PN} += "bash ${PN}-cpu-hotplug ${PN}-efivarfs ${PN}-exec ${PN}-firmware ${PN}-ftrace \
${PN}-kcmp ${PN}-memfd ${PN}-memory-hotplug ${PN}-mount ${PN}-mqueue ${PN}-net ${PN}-ptrace \
${PN}-size ${PN}-sysctl ${PN}-timers ${PN}-user ${PN}-vm"
RDEPENDS_${PN}_append_x86 = " ${PN}-breakpoints ${PN}-ipc ${PN}-x86"
RDEPENDS_${PN}_append_x86-64 = " ${PN}-breakpoints ${PN}-ipc ${PN}-x86"
RDEPENDS_${PN}_append_powerpc = " ${PN}-powerpc"
RDEPENDS_${PN}_append_powerpc64 = " ${PN}-powerpc"
INSANE_SKIP_${PN} = "already-stripped"

View File

@@ -1,188 +0,0 @@
SUMMARY = "Linux Kernel Selftests"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz"
SRC_URI[md5sum] = "0a68ef3615c64bd5ee54a3320e46667d"
SRC_URI[sha256sum] = "029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a"
S = "${WORKDIR}/linux-${PV}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "libcap libcap-ng popt rsync-native"
inherit kernel-arch
# Filter out arch specific tests
TARGETS = " \
${@bb.utils.contains_any("TARGET_ARCH", [ "x86", "x86-64" ], "breakpoints", "", d)} \
capabilities \
cpu-hotplug \
efivarfs \
exec \
firmware \
ftrace \
futex \
${@bb.utils.contains_any("TARGET_ARCH", [ "x86", "x86-64" ], "ipc", "", d)} \
kcmp \
lib \
membarrier \
memfd \
memory-hotplug \
mount \
mqueue \
net \
nsfs \
${@bb.utils.contains_any("TARGET_ARCH", [ "powerpc", "powerpc64" ], "powerpc", "", d)} \
pstore \
ptrace \
seccomp \
sigaltstack \
size \
static_keys \
sysctl \
timers \
user \
vm \
${@bb.utils.contains_any("TARGET_ARCH", [ "x86", "x86-64" ], "x86", "", d)} \
zram \
"
EXTRA_OEMAKE += "-C tools/testing/selftests TARGETS="${TARGETS}" INSTALL_PATH=${D}${bindir}/kselftests CC="${CC}""
# Their Makefiles are so sloppy, let's clean up a bit
do_configure () {
sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/lib.mk
sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/timers/Makefile
sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile
sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile
sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile
sed "s|TARGETS|F_TARGETS|g" -i ${S}/tools/testing/selftests/futex/functional/Makefile
sed "s|^LDFLAGS += -lpthread|LDLIBS += -lpthread|g" -i ${S}/tools/testing/selftests/seccomp/Makefile
sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile
sed "s|BINARIES|TEST_PROGS|g" -i ${S}/tools/testing/selftests/sigaltstack/Makefile
}
do_compile () {
oe_runmake
}
do_install () {
oe_runmake install
chown -R root:root ${D}
# fixup run_kselftest.sh due to spurious lines starting by "make[1]:"
sed -i '/^make/d' ${D}${bindir}/kselftests/run_kselftest.sh
}
PACKAGE_BEFORE_PN = " \
${PN}-breakpoints \
${PN}-capabilities \
${PN}-cpu-hotplug \
${PN}-efivarfs \
${PN}-exec \
${PN}-firmware \
${PN}-ftrace \
${PN}-futex \
${PN}-ipc \
${PN}-kcmp \
${PN}-lib \
${PN}-membarrier \
${PN}-memfd \
${PN}-memory-hotplug \
${PN}-mount \
${PN}-mqueue \
${PN}-net \
${PN}-nsfs \
${PN}-powerpc \
${PN}-pstore \
${PN}-ptrace \
${PN}-seccomp \
${PN}-sigaltstack \
${PN}-size \
${PN}-static-keys \
${PN}-sysctl \
${PN}-timers \
${PN}-user \
${PN}-vm \
${PN}-x86 \
${PN}-zram \
"
FILES_${PN}-breakpoints = "${bindir}/kselftests/breakpoints"
FILES_${PN}-capabilities = "${bindir}/kselftests/capabilities"
FILES_${PN}-cpu-hotplug = "${bindir}/kselftests/cpu-hotplug"
FILES_${PN}-efivarfs = "${bindir}/kselftests/efivarfs"
FILES_${PN}-exec = "${bindir}/kselftests/exec"
FILES_${PN}-firmware = "${bindir}/kselftests/firmware"
FILES_${PN}-ftrace = "${bindir}/kselftests/ftrace"
FILES_${PN}-futex = "${bindir}/kselftests/futex"
FILES_${PN}-ipc = "${bindir}/kselftests/ipc"
FILES_${PN}-kcmp = "${bindir}/kselftests/kcmp"
FILES_${PN}-lib = "${bindir}/kselftests/lib"
FILES_${PN}-membarrier = "${bindir}/kselftests/membarrier"
FILES_${PN}-memfd = "${bindir}/kselftests/memfd"
FILES_${PN}-memory-hotplug = "${bindir}/kselftests/memory-hotplug"
FILES_${PN}-mount = "${bindir}/kselftests/mount"
FILES_${PN}-mqueue = "${bindir}/kselftests/mqueue"
FILES_${PN}-net = "${bindir}/kselftests/net"
FILES_${PN}-nsfs = "${bindir}/kselftests/nsfs"
FILES_${PN}-powerpc = "${bindir}/kselftests/powerpc"
FILES_${PN}-pstore = "${bindir}/kselftests/pstore"
FILES_${PN}-ptrace = "${bindir}/kselftests/ptrace"
FILES_${PN}-seccomp = "${bindir}/kselftests/seccomp"
FILES_${PN}-sigaltstack = "${bindir}/kselftests/sigaltstack"
FILES_${PN}-size = "${bindir}/kselftests/size"
FILES_${PN}-static-keys = "${bindir}/kselftests/static_keys"
FILES_${PN}-sysctl = "${bindir}/kselftests/sysctl"
FILES_${PN}-timers = "${bindir}/kselftests/timers"
FILES_${PN}-user = "${bindir}/kselftests/user"
FILES_${PN}-vm = "${bindir}/kselftests/vm"
FILES_${PN}-x86 = "${bindir}/kselftests/x86"
FILES_${PN}-zram = "${bindir}/kselftests/zram"
FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug"
RDEPENDS_${PN}-cpu-hotplug += "bash"
RDEPENDS_${PN}-efivarfs += "bash"
RDEPENDS_${PN}-futex += "bash ncurses"
RDEPENDS_${PN}-memory-hotplug += "bash"
RDEPENDS_${PN}-net += "bash"
RDEPENDS_${PN}-vm += "bash"
RDEPENDS_${PN}-zram += "bash"
RDEPENDS_${PN} += "bash \
${PN}-capabilities \
${PN}-cpu-hotplug \
${PN}-efivarfs \
${PN}-exec \
${PN}-firmware \
${PN}-ftrace \
${PN}-futex \
${PN}-kcmp \
${PN}-lib \
${PN}-membarrier \
${PN}-memfd \
${PN}-memory-hotplug \
${PN}-mount \
${PN}-mqueue \
${PN}-net \
${PN}-nsfs \
${PN}-pstore \
${PN}-ptrace \
${PN}-seccomp \
${PN}-sigaltstack \
${PN}-size \
${PN}-static-keys \
${PN}-sysctl \
${PN}-timers \
${PN}-user \
${PN}-vm \
${PN}-zram \
"
RDEPENDS_${PN}_append_x86 = " ${PN}-breakpoints ${PN}-ipc ${PN}-x86"
RDEPENDS_${PN}_append_x86-64 = " ${PN}-breakpoints ${PN}-ipc ${PN}-x86"
RDEPENDS_${PN}_append_powerpc = " ${PN}-powerpc"
RDEPENDS_${PN}_append_powerpc64 = " ${PN}-powerpc"
INSANE_SKIP_${PN} = "already-stripped"

View File

@@ -1,80 +1,18 @@
# Add concept of machine variants to split DTBs into subsets
#
# Use these for temporary overrides
CMEM_MACHINE = "${MACHINE}"
CMEM_MACHINE_am57xx-evm = "am571x am572x"
CMEM_MACHINE_am57xx-hs-evm = "am571x am572x"
CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x"
CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x"
SRC_URI += "file://cmem.dtsi"
# 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
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"
# Flag to enable CMEM injection
RESERVE_CMEM ?= "0"
# Add correct cmem.dtsi to SRC_URI for each variant for a given machine
python do_unpack() {
old_overrides = d.getVar('OVERRIDES', False)
do_setup_cmem() {
if [ "${RESERVE_CMEM}" == "1" ]
then
cp ${WORKDIR}/cmem.dtsi ${S}/arch/arm/boot/dts/${MACHINE}-cmem.dtsi
# Initialize with empty string to simplify logic to append to SRC_URI
cmem_dtsi = set([''])
for cmem_machine in (d.getVar('CMEM_MACHINE', True) or '').split():
# Create copy of data for additional override
localdata = bb.data.createCopy(d)
localdata.setVar('OVERRIDES', '%s:%s' % (cmem_machine, old_overrides))
bb.data.update_data(localdata)
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() {
import shutil
old_overrides = d.getVar('OVERRIDES', False)
if d.getVar('RESERVE_CMEM', True) is '1':
for cmem_machine in (d.getVar('CMEM_MACHINE', True) or '').split():
# Create copy of data for additional override
localdata = bb.data.createCopy(d)
localdata.setVar('OVERRIDES', '%s:%s' % (cmem_machine, old_overrides))
bb.data.update_data(localdata)
# Get source directory and dtsi filename
src_dir = localdata.getVar('WORKDIR', True)
src_dtsi = localdata.getVar('CMEM_DTSI', True)
# Get destination directory and destination dtsi filename which adds
# the MACHINE prefix.
dst_dir = os.path.join(localdata.getVar('S', True), 'arch/arm/boot/dts')
dst_dtsi = localdata.expand('${MACHINE}-${CMEM_DTSI}')
# Copy cmem.dtsi into source tree
shutil.copy(os.path.join(src_dir,src_dtsi), os.path.join(dst_dir,dst_dtsi))
# Inject dtsi into each dts in list
for dtb in (localdata.getVar('CMEM_DEVICETREE', True) or '').split():
dts = dtb[:-4] + '.dts'
with open(os.path.join(dst_dir,dts), 'a') as dts_file:
dts_file.write('\n#include "%s"\n' % dst_dtsi)
for dtb in ${KERNEL_DEVICETREE}
do
dts=`echo $dtb | sed -e 's|dtb$|dts|'`
echo "#include \"${MACHINE}-cmem.dtsi\"" >> ${S}/arch/arm/boot/dts/$dts
done
fi
}
do_patch[postfuncs] += "do_setup_cmem"

View File

@@ -1,29 +0,0 @@
/ {
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>;
};
};
};

View File

@@ -1,29 +0,0 @@
/ {
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>;
};
};
};

Some files were not shown because too many files have changed in this diff Show More