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

Compare commits

..

68 Commits
fido ... dora

Author SHA1 Message Date
Franklin S. Cooper Jr
d1578c08bd u-boot-ti-staging:_2013.10: Update to pull in critical fixes
* Critical fixes have been added to the ti-u-boot-2013.10 branch for AM4x.
* Update commit id to point to this new commit.
* For all other platforms nothing should have changed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 12:23:53 -04:00
Hao Zhang
eb3821432d keystone: config: fix K2L boot monitor build target name error
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:23:18 -04:00
Denys Dmytriyenko
7eb568bda9 am180x-evm: don't request ubi FS w/o setting MKUBIFS and UBINIZE vars
It was ignored previously, but now it breaks the build.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:18:23 -04:00
Denys Dmytriyenko
4c4f7e1d12 Revert "dra7xx-evm: Add sgx to MACHINE_FEATURES"
Since sgx support is broken for newer kernels and Qt4, disable it for now
until Qt5 becomes default and kernel drivers are updated.

This reverts commit f9253dc88f.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-13 10:43:47 -04:00
Hao Zhang
72138932ea keystone: linux: add K2L and K2E DTB for RT build
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:10 -04:00
Hao Zhang
92effbbcad keystone: linux: add K2E and K2L DTB build support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:03 -04:00
Denys Dmytriyenko
72def59ce0 linux-ti-staging: lower the preference for 3.15 recipe for now
* It breaks libgles/SGX due to missing omafb/omafb.h header
* Will be switching to 3.14 instead for LTS

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2014-05-29 14:56:37 -04:00
Hao Zhang
882c2acca7 keystone: u-boot: add build support for EMIF16 NAND gph image
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-29 14:56:22 -04:00
Denys Dmytriyenko
afabec7ba3 linux-ti-staging: fix _append/_prepend logic in prev changes
* Add a missing space to KERNEL_CONFIG_FRAGMENTS_append
* Use FILESEXTRAPATHS_prepend instead of _append version

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 23:13:47 -04:00
Maupin, Chase
5548cad9ff linux-ti-staging: Add version 3.15 of TI integration kernel
* Add version 3.15 of the TI integration kernel.  Major changes
  from previous version are:
    * Config fragments now come primarily from the integration
      tree.  Removed baseport and connectivity fragments for now
      and the others can be removed as they are added to the
      integration tree.
    * Added a non-smp.cfg config to disable SMP for single core
      devices instead of using a patch to the defconfig file as
      we did in the past.
* Use the right SRCREV

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 15:01:27 -04:00
Maupin, Chase
901b6c2b24 setup-defconfig: allow use of in-kernel config fragments
* Allow the use of in-kernel config fragments instead of only
  pulling config fragments from the OE meta data.
* The absolute path to the config fragment is used to allow
  pointing to different fragment locations.
* Update the linux-ti-staging_3.12 recipe which uses config
  fragments to specify the absolute path

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 15:01:21 -04:00
Maupin, Chase
803c7f96b7 linux-ti-staging: Make files directory version specific
* As we add the next version of the linux-ti-staging kernel there
  will be a different list of config fragments, removed patches,
  etc.  For this reason it makes sense to have the file directory
  be version specific

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 15:01:15 -04:00
Maupin, Chase
091a44e838 linux-ti-staging: Remove old 3.8 version
* The 3.8 version is replaced with v3.12 which has full support
  for all devices.
* As part of adding a v3.15 version cleanup the v3.8 version to
  reduce the number of kernels to latest and last stable.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 15:01:10 -04:00
Denys Dmytriyenko
aac938b153 linux-ti-staging: bump to 3.12.20 stable release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 15:01:04 -04:00
Denys Dmytriyenko
86f7e559ac omap5-sgx-ddk-um-linux: remove version 1.9.0.10 as replaced by 1.9.0.12
Also version 1.9.0.10 of the recipe doesn't have necessary PROVIDES and
results in conflicts with mesa and other gl/gles providers.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-23 15:00:57 -04:00
Mrinmayee Hingolikar
f79abadb2b omap5-sgx-ddk-um-linux: Add version 1.9.0.12
* Pulled in latest version 1.9.0.12 from meta-ti-gsldk and
  preserved authorship for Mrinmayee
* Mark this recipe as providing the gles1, gles2, and egl
  libraries so that it doesn't conflict with other recipes like
  mesa and will be pulled in to satisfy those dependencies

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 16:23:41 -04:00
Maupin, Chase
f9253dc88f dra7xx-evm: Add sgx to MACHINE_FEATURES
* Add sgx to the MACHINE_FEATURES so that the dra7xx-evm can
  start including sgx libraries.  NOTE: currently there are
  no driver modules that work with v3.12 of the Linux kernel
  but this does work with version 3.8.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:19 -04:00
Mrinmayee Hingolikar
c5c384d009 bltsville: Add TI BLTsville library
* Migrated from meta-ti-glsdk and preserved authorship for
  Mrinmayee
* This library allows use of the GC320 2D blitter
* Modified for upstream:
    * LICENSE was changed to BSD-3-Clause but the TI-TSPA license
      is still present as well so modified this to be a dual
      license package.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:15 -04:00
Karthik Ramanan
d607e15547 vis: Add radio application firmware
* Migrated from meta-ti-glsdk and preserved authorship for
  Karthik
* Modified for upstream:
    * Made PACKAGE_ARCH machine specific
    * Removed bogus HOMEPAGE setting
    * Separated the firmware into a ${PN}-fw package and left the
      ARM side RadioApp in the base package.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:13 -04:00
Mrinmayee Hingolikar
445007a3e3 dspdce-fw: Add DSP firmware recipe
* Migrated the dspdce-fw recipe from meta-ti-glsdk and
  preserved authorship for Mrinmayee.
* Cleaned up for upstream:
    * Removed the MACHINE name from the recipe name
    * Used MACHINE variable in SRC_URI
    * Update to use default variables such as base_libdir

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:40:10 -04:00
Mrinmayee Hingolikar
4f1c668dc9 ipumm-fw: Add MM accelerator firmware recipe
* Based on recipes from meta-ti-glsdk and preserved authorship
  for Mrinmayee
* Modified for upstreaming:
    * Combined the dra7xx-evm and omap5-evm versions into a
      shared recipe.  This changes the recipe name to just
      ipumm-fw.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:39:55 -04:00
Maupin, Chase
7bfd7b5d15 ti-ipc: Consolidate IPC recipes with include file
* Update the 3.00.00 and 3.21.00.07 versions of ti-ipc to use
  a common ti-ipc.inc file which combines the configuration and
  installation steps for both to be common.
* Modify the tiiipclad-daemon.sh script to have a replacement
  variable so that it can be used for more than a single device.
* Move the tiipclad-daemon script to the ti-ipc directory with
  the rest of the files used by this recipe.
* Fix the permissions for the tiipclad-daemon script

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:39:43 -04:00
Mrinmayee Hingolikar
5e740e406e ti-ipc: Add version 3.21.00.07
* Added version 3.21.00.07 from the meta-ti-glsdk layer.
  Preserved authorship by Mrinmayee
* Cleaned up the recipe for upstream by removing the sed lines
  in do_configure and instead using EXTRA_OEMAKE values passed
  into the make process.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:39:34 -04:00
Maupin, Chase
983dd84d53 ti-ipc: Consolidate include file and old recipe
* The ti-ipc.inc file was for the legacy 1.24.00.16 version of
  ti-ipc.  So consolidate these files together since there is
  only one version of the ti-ipc recipe that needs that .inc
  file and there are no updates planned for it.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:39:25 -04:00
Hao Zhang
2f587a46d7 keystone: k2e-evm config: add k2e-evm machine config
Add a new k2e-evm machine config for Keystone II SoC family.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:13:23 -04:00
Hao Zhang
f6c89f01b7 keystone: k2l-evm conf: add k2l-evm machine config
k2l-evm machine config shares the same Keystone SoC family, it has K2L EVM
specific machine configuration for UBI image, boot monitor, U-boot, etc.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:13:15 -04:00
Hao Zhang
0f4c436a04 keystone: machine config: change machine config name from keystone-evm to k2hk-evm
Keystone II SOC family has multiple devices and EVMs: k2hk, k2l
and k2e, each EVM should have a separate machine config, and share
the common keystone SOC family.

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:13:06 -04:00
Hao Zhang
e16b3f5c49 keystone: u-boot: rename tci6638 to k2hk evm config
Rename U-boot "tci6638_evm_config" to "k2hk_evm_config" to align
with DTB device name.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:12:51 -04:00
Denys Dmytriyenko
990d8f6225 linux-keystone: update to the latest tag 03.10.10_14.03_03
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-09 13:40:58 -04:00
Denys Dmytriyenko
6cdd462232 u-boot-keystone: update to the latest version
Modified version of the original patch from Sam Nelson

* Update source URL/REV
* Added SPI NOR binaries and deployed images

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-09 13:40:48 -04:00
Denys Dmytriyenko
323a782a84 linux-ti-staging: add baseport, connectivity, ipc and systest config fragments
Do not apply systest fragment by default on the production build.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Chase Maupin <chase.maupin@ti.com>
2014-05-06 18:09:16 -04:00
Denys Dmytriyenko
11cef2ccb3 setup-defconfig.inc: implement config fragments by using in-kernel script
* Use in-kernel merge_config.sh script and KERNEL_CONFIG_FRAGMENTS list
* Move copying provided defconfig from own task to do_configure() for atomicity
* Don't use curly brackets for shell variables to avoid conflict with Bitbake

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Chase Maupin <chase.maupin@ti.com>
2014-05-06 18:08:09 -04:00
Denys Dmytriyenko
ceb91a69d1 am437x-evm: increase LEB count to fit full rootfs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2014-04-24 13:32:37 -04:00
Denys Dmytriyenko
97067d97d3 recipes: use proper TI-TSPA license name instead of TSPA
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-04-24 13:32:32 -04:00
Denys Dmytriyenko
758b4becfc am33x-cm3, ti-msp430: update license from TI-BSD to BSD-3-Clause
Per recommendation from OSRB and Legal.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-04-24 13:32:13 -04:00
Denys Dmytriyenko
7860fdf1e0 licenses: add standard TI licenses
The new Texas Instruments Text File License (TI-TFL) is now replacing the
old Technology and Software Publicly Available (TSPA) license. But there are
older versions of the components previously released under TI-TSPA license.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-04-24 13:32:00 -04:00
Denys Dmytriyenko
ebc910f016 linux-ti-staging: update to the latest stable 3.12.17 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-04-11 15:44:18 -04:00
Denys Dmytriyenko
b5d21cb2f4 linux-mainline: add 3.14 mainline recipe
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-26 15:43:26 -04:00
Sam Nelson
6534ddcc6c keystone-evm: Update NAND size to 512 MB
- The keystone-evm actually has 512 MB Nand
   ( Changing from previous size of 128 MB)
- LEB calculated with reserved 10 MB for boot and 20 MB
  for receovery image

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-25 17:06:55 -04:00
Samuli Piippo
2c7119bfab libgles-omap3: create ESx.0 folders only if they exist
Instead of creating all folders, only create those that exist
in the Graphics SDK. This fixes QA issue with unshipped ES9.0
folder which does not exists in 4.09.00.01.

Signed-off-by: Samuli Piippo <samuli.piippo@digia.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-25 16:57:06 -04:00
Denys Dmytriyenko
d343e3021c u-boot-ti-staging: update with QSPI fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-06 13:50:01 -05:00
Denys Dmytriyenko
df3e392464 linux-ti-staging: update with musb, QSPI and touchscreen fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-06 13:49:58 -05:00
Sam Nelson
2c3d72b181 ti-ipc: Add recipe for ti-ipc version 3.0.x
- Supports communication between processors in TI keystone architecture

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-04 23:40:53 -05:00
Denys Dmytriyenko
2d2af9cd29 linux-ti-staging: rebase patch to disable SMP to apply cleanly
No PR bump is needed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-27 14:08:28 -05:00
Denys Dmytriyenko
4acd58e753 linux-ti-staging: latest performance, connectivity, audio and PM fixes
Most patches were merged in the kernel, remove locally

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-27 13:43:39 -05:00
Sam Nelson
12905c6428 linux-keystone: Update latest tag
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-26 16:33:32 -05:00
Denys Dmytriyenko
ff8c391fdb linux-ti-staging: ARM_SCU patch got merged, add PREEMPT_VOLUNTARY patch, reshuffle
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-24 20:53:40 -05:00
Denys Dmytriyenko
29de82b1b5 linux-ti-staging: add latest critical fixes locally for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 12:05:16 -05:00
Franklin S. Cooper Jr
a5616a99d2 Graphics SDK: Add version 05.01.01.01
* Add latest version of the Graphics SDK that includes bug fixes.
* Fixed Suspend and Resume issue on AM43x.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 10:55:09 -05:00
Denys Dmytriyenko
8ec2048cfb linux-omap-psp: specify branch for bitbake to find SRCREV
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 10:46:16 -05:00
Denys Dmytriyenko
8626009864 linux-ti-staging: remove local patches that got merged to kernel tree
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-18 11:47:13 -05:00
Denys Dmytriyenko
ec8544247c linux-ti-staging: drop SMP-disabling patch that breaks suspend/resume
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-17 10:29:12 -05:00
Denys Dmytriyenko
58140ec4f4 linux-ti-staging: update with QSPI partition fixes and properly list LCD patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-14 17:31:08 -05:00
Denys Dmytriyenko
ce2c6835ca linux-ti-staging: update with v2 of LCD resume fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-14 16:45:33 -05:00
Denys Dmytriyenko
9d9cee21c5 am33x-cm3: update with I2C clock rate calculation fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-13 17:58:57 -05:00
Denys Dmytriyenko
12482f8f91 linux-ti-staging: apply network performance and LCD fixes locally for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-13 17:58:57 -05:00
Denys Dmytriyenko
2506f037aa linux-ti-staging: update with PM, connectivity and Display/Audio fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 16:54:44 -05:00
Denys Dmytriyenko
4c7332752c u-boot-ti-staging: update with QSPI partition size changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 16:54:44 -05:00
Denys Dmytriyenko
1923b5f921 u-boot-ti-staging: update with fixes for NAND partition names and sizes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 22:17:03 -05:00
Denys Dmytriyenko
cb01c93702 linux-ti-staging: update to 3.12.10, merge Audio/Display fixed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 22:17:00 -05:00
Denys Dmytriyenko
e786a9e186 am33x-cm3: update md5 for license reformat, fix CC unset issue
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 01:01:26 -05:00
Denys Dmytriyenko
53703700b3 u-boot-ti-staging: update with many fixes for the upcoming release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:39:04 -05:00
Denys Dmytriyenko
466e558617 linux-ti-staging: update with many fixes for the upcoming release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:39:04 -05:00
Denys Dmytriyenko
fe1f2777d0 am33x-cm3: update with FW version 0x185 aka 05.00.00.02
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:39:04 -05:00
Baptiste DURAND
499b62588b linux-omap4 3.4: Fix random segfaults and boot issues seen with gcc 4.8
Based on work
87efc663c4

Signed-off-by: Baptiste DURAND <baptiste.durand@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 18:35:49 -05:00
Sam Nelson
0bc3d9bb11 linux-keystone-rt: Add new recipe for build rt-kernel
- Builds kernel tree with RT patches

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 18:30:11 -05:00
Sam Nelson
467cfb121e linux-keystone: Update to linux kernel version 3.10
- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args
- Added PV 3.10.10

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 17:59:50 -05:00
Sam Nelson
c5e7cb5109 keystone: Add pci feature to MACHINE Keystone
- Device support pci interface

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 17:59:50 -05:00
2680 changed files with 519549 additions and 6469 deletions

View File

@@ -1,66 +0,0 @@
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
inherit perlnative
DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native"
DEPENDS_append_omap-a15 = " ti-cgt6x-native ti-ccsv6-native"
DEPENDS_append_keystone = " ti-cgt6x-native"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
get_build_dir_bash() {
if [ -f ${S}/package.xdc ]
then
grep '^package' ${S}/package.xdc | sed -e 's|\[.*$||' | awk '{ print $2 }' | sed -e 's|\.|/|g'
else
echo ${S}
return 1
fi
}
export CROSS_TOOL_PRFX="arm-none-eabi-"
export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}"
export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}"
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
export ROOTDIR = "${B}"
export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
export XDCPATH = "${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;${PDK_INSTALL_DIR}/packages"
export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl"
PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}"
do_configure() {
BUILD_DIR=${B}/`get_build_dir_bash`
mkdir -p ${BUILD_DIR}
cp -r ${S}/* ${BUILD_DIR}
cd ${BUILD_DIR}
sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
}
do_compile() {
${XDC_INSTALL_DIR}/xdc clean ${PARALLEL_XDC} -PR .
${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC} XDCARGS="${XDCARGS}" ROOTDIR="${ROOTDIR}" -PR .
${XDC_INSTALL_DIR}/xdc release XDCARGS="${XDCARGS}" -PR .
}
do_install () {
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
}
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"

View File

@@ -9,19 +9,3 @@ BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "6"
LICENSE_PATH += "${LAYERDIR}/licenses"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
omapdrm-pvr \
omap5-sgx-ddk-um-linux \
ti-ipc \
ti-ipc-rtos \
cmem-mod \
hplib-mod \
gdbserverproxy-module-drv \
debugss-module-drv \
uio-module-drv \
mpm-transport \
cppi-lld \
qmss-lld \
multiprocmgr \
"

View File

@@ -5,12 +5,14 @@
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "da850_am18xxevm_config"
UBOOT_SUFFIX = "ais"
UBOOT_MACHINE = "da850evm_config"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyS2"
PREFERRED_PROVIDER_virtual/kernel = "linux-omapl138-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am180x"
PREFERRED_PROVIDER_u-boot = "u-boot-am180x"

View File

@@ -6,14 +6,12 @@ require conf/machine/include/ti33x.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyO0"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -26,7 +24,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4600"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -6,7 +6,7 @@ require conf/machine/include/omap3.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.gz"
@@ -15,6 +15,11 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyO2"
USE_VT = "2"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am3517"
PREFERRED_PROVIDER_u-boot = "u-boot-am3517"
UBOOT_MACHINE = "am3517_evm_config"
XLOAD_MACHINE = "am3517evm_config"

View File

@@ -6,7 +6,7 @@ require conf/machine/include/omap3.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.gz"
@@ -14,6 +14,10 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyO0"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am37x"
PREFERRED_PROVIDER_u-boot = "u-boot-am37x"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:

View File

@@ -6,10 +6,10 @@ require conf/machine/include/ti43x.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = "115200 ttyO0"
@@ -24,7 +24,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2200"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1918"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: AM437x HS EVM
#@DESCRIPTION: Machine configuration for the TI AM437x HS EVM
require conf/machine/am437x-evm.conf
UBOOT_MACHINE = "am43xx_hs_evm_config"

View File

@@ -1,34 +0,0 @@
#@TYPE: Machine
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
SERIAL_CONSOLE = "115200 ttyO2"
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

@@ -5,7 +5,11 @@
require conf/machine/include/omap3.inc
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-beagleboard"
PREFERRED_PROVIDER_u-boot = "u-boot-beagleboard"
IMAGE_FSTYPES += "tar.gz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"

View File

@@ -5,10 +5,10 @@
require conf/machine/include/ti33x.inc
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyO0"
UBOOT_MACHINE = "am335x_boneblack_config"
UBOOT_MACHINE = "am335x_evm_config"

View File

@@ -2,11 +2,9 @@
#@NAME: DRA7xx EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
require conf/machine/include/dra7xx.inc
require conf/machine/include/omap-a15.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubi tar.gz tar.xz"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = "115200 ttyO0"
@@ -23,7 +21,7 @@ UBOOT_MACHINE = "dra7xx_evm_config"
# 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"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
@@ -32,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
# Currently removing the sgx machine feature because there is no SGX package
# available for omap5
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"

View File

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: DRA7xx HS EVM
#@DESCRIPTION: Machine configuration for the TI DRA7xx HS EVM
require conf/machine/dra7xx-evm.conf
UBOOT_MACHINE = "dra7xx_hs_evm_config"

View File

@@ -5,7 +5,7 @@ MACHINE_KERNEL_PR = "r53"
KERNEL_IMAGETYPE = "uImage"
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/kernel = "linux-davinci"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_MACHINE = "davinci_dvevm_config"

View File

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

View File

@@ -1,27 +1,21 @@
SOC_FAMILY = "keystone"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-keystone"
PREFERRED_PROVIDER_u-boot = "u-boot-keystone"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r10"
MACHINE_KERNEL_PR = "r7"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPE = "uImage"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "boot-monitor"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"

View File

@@ -1,11 +1,10 @@
SOC_FAMILY = "omap-a15"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa15thf-neon"
require conf/machine/include/tune-cortexa15.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r7"
MACHINE_KERNEL_PR = "r3"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
@@ -24,11 +23,8 @@ XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
MACHINE_GUI_CLASS = "smallscreen"
GUI_MACHINE_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
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"

View File

@@ -1,7 +1,6 @@
SOC_FAMILY = "omap3"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa8thf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -14,15 +13,15 @@ XSERVER = "xserver-xorg \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r126"
MACHINE_KERNEL_PR = "r125"
KERNEL_IMAGETYPE = "uImage"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"

View File

@@ -1,11 +1,10 @@
SOC_FAMILY = "omap4"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap4"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
@@ -14,9 +13,9 @@ XSERVER = "xserver-xorg \
xf86-video-omap"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r3"
MACHINE_KERNEL_PR = "r1"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPE = "uImage"
UBOOT_MACHINE = "omap4_panda_config"

View File

@@ -1,7 +1,6 @@
SOC_FAMILY = "ti33x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa8thf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -14,10 +13,10 @@ XSERVER = "xserver-xorg \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r22"
MACHINE_KERNEL_PR = "r21"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"

View File

@@ -1,7 +1,6 @@
SOC_FAMILY = "ti43x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "cortexa9thf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -14,10 +13,10 @@ XSERVER = "xserver-xorg \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r3"
MACHINE_KERNEL_PR = "r2"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"

View File

@@ -8,7 +8,7 @@ UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = "115200 ttyS0"

View File

@@ -1,32 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "alsa"
UBOOT_MACHINE = "k2g_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2g"
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 1926 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: physical eraseblock size: 256 KiB
# UBI: sub-page size: 4096
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"

View File

@@ -8,7 +8,7 @@ UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = "115200 ttyS0"
@@ -20,7 +20,7 @@ SYSVINIT_ENABLED_GETTYS = ""
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3900"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:

View File

@@ -8,7 +8,7 @@ UBOOT_MACHINE = "k2l_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2l"
IMAGE_FSTYPES += "ubi tar.gz tar.xz cpio"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = "115200 ttyS0"

View File

@@ -6,7 +6,7 @@ require conf/machine/include/omap3.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
GUI_MACHINE_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "jffs2 tar.gz"
@@ -15,6 +15,8 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyS0"
USE_VT = "0"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
EXTRA_IMAGEDEPENDS += "x-load"
# NOTE: there are NAND and OneNAND versions of this board...

View File

@@ -19,7 +19,7 @@ SERIAL_CONSOLE = "115200 ttyO2"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
@@ -30,3 +30,7 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
UBOOT_MACHINE = "omap5_uevm_config"
# Currently removing the sgx machine feature because there is no SGX package
# available for omap5
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"

View File

@@ -4,7 +4,7 @@
require conf/machine/include/omap4.inc
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"

View File

@@ -1,18 +0,0 @@
DESCRIPTION = "TI Antenna Interface peripheral module low level driver test binaries"
DEPENDS = "common-csl-ip aif2-lld qmss-lld cppi-lld"
include aif2-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} AIF2_SRC_DIR=${WORKDIR}/git"
do_compile () {
oe_runmake clean DEVICE=k2hk
oe_runmake tests DEVICE=k2hk
}
do_install () {
oe_runmake installbin DEVICE=k2hk AIF2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
}

View File

@@ -1,22 +0,0 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
AIF2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/aif2-lld.git"
AIF2_LLD_GIT_PROTOCOL = "git"
AIF2_LLD_GIT_BRANCH = "master"
AIF2_LLD_GIT_DESTSUFFIX = "git/ti/drv/aif2"
# The following commit correspond to DEV.AIF2LLD.01.02.00.01
AIF2_LLD_SRCREV = "a701bbb5ed2976d5723c955c87a685f7517cffa3"
BRANCH = "${AIF2_LLD_GIT_BRANCH}"
SRC_URI = "${AIF2_LLD_GIT_URI};destsuffix=${AIF2_LLD_GIT_DESTSUFFIX};protocol=${AIF2_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${AIF2_LLD_SRCREV}"
PV = "1.2.0.1"
INC_PR = "r0"
COMPATIBLE_MACHINE = "k2hk-evm"
S = "${WORKDIR}/${AIF2_LLD_GIT_DESTSUFFIX}"

View File

@@ -1,17 +0,0 @@
DESCRIPTION = "Antenna Interface low level driver"
DEPENDS = "common-csl-ip qmss-lld cppi-lld"
include aif2-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
oe_runmake lib DEVICE=k2hk
}
do_install () {
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}

View File

@@ -1,46 +1,39 @@
DESCRIPTION = "Boot Monitor - TI ARM Boot monitor code"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
LICENSE = "BSD"
BOOT_MONITOR_BINARY ?= "skern.bin"
BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
PV = "3.0+git${SRCPV}"
PR = "r1"
PV = "2.0"
PR = "r1+gitr${SRCPV}"
BRANCH = "master"
S = "${WORKDIR}/git"
SRCREV = "035329caed63abe7193c855ad5d561ae783b19d7"
BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" LD="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
FILES_${PN} = "/boot"
inherit deploy
#Tag "K2_BM_14.05"
SRCREV = "0e3ffe1ea4a0cee38ae2406901b7cf4d5324b5e9"
do_compile () {
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
oe_runmake image_${BOOT_MONITOR_MAKE_TARGET}
oe_runmake ${BOOT_MONITOR_MAKE_TARGET}
}
do_install () {
install -d ${D}/boot
install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${D}/boot/
}
inherit deploy
addtask deploy before do_build after do_compile
do_deploy () {
install -d ${DEPLOYDIR}
install -m 0644 ${S}/${BOOT_MONITOR_IMAGE} ${DEPLOYDIR}/
install ${S}/${BOOT_MONITOR_BINARY} ${DEPLOYDIR}/${BOOT_MONITOR_IMAGE}
}
addtask deploy before do_build after do_compile

View File

@@ -1,29 +0,0 @@
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "BSD-3-Clause"
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 = "${@base_contains("TUNE_FEATURES", "vfp", base_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

@@ -1,28 +0,0 @@
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
PV = "1.9.1"
PR = "r2"
SRCREV = "730f0695ca2dda65abcff5763e8f108517bc0d43"
BRANCH ?= "ti-v4.1.y"
SRC_URI = "git://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_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,12 +3,10 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
include cmem.inc
# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR_append = "b"
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
inherit module
EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"'
MAKE_TARGETS = "module"
KERNEL_MODULE_AUTOLOAD += "cmemk"

View File

@@ -1,13 +1,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"
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
BRANCH ?= "lu-next"
# This corresponds to version 4.10.02.05_eng
SRCREV = "8df44102413c2d653341c5b7e6caee882e206d8c"
PV = "4.10.02.05+git${SRCPV}"
BRANCH ?= "master"
# This corresponds to version 4.00.01.08
SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
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 = "r0"
PR = "r0+gitr${SRCPV}"
PACKAGES =+ "${PN}-test"

View File

@@ -1,26 +0,0 @@
require common-csl-ip.inc
PR = "${INC_PR}.2"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit ti-pdk
DEPENDS_remove = "${PN}"
XDCARGS_ti33x = "am335x"
XDCARGS_ti43x = "am437x"
XDCARGS_omap-a15 = "am571x am572x"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2g-evm = "k2g"
do_configure_append() {
# Create empty makefile
# If libraries are supported for this device, then this will be overwritten
cat > ${BUILD_DIR}/makefile << __EOF__
# Nothing to do
all:
__EOF__
}

View File

@@ -1,22 +0,0 @@
DESCRIPTION = "Chip support library low level interface"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
COMPATIBLE_MACHINE = "keystone|dra7xx"
PV = "3.3.0.2C"
INC_PR = "r0"
CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
CSL_GIT_PROTOCOL ="git"
CSL_GIT_BRANCH = "master"
CSL_GIT_DESTSUFFIX = "git"
# commit ID corresponds to DEV.CSL_PROCESSOR-SDK.03.03.00.02C
CSL_SRCREV = "dc8aac00e86cd434865d750666ac551f2e238263"
BRANCH="${CSL_GIT_BRANCH}"
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
SRCREV = "${CSL_SRCREV}"
S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}"

View File

@@ -1,17 +0,0 @@
require common-csl-ip.inc
PR = "${INC_PR}.0"
ALLOW_EMPTY_${PN} = "1"
CLEANBROKEN = "1"
do_compile() {
:
}
do_install () {
install -d ${D}${includedir}/ti/csl
find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
}

View File

@@ -1,13 +0,0 @@
inherit ti-pdk
require cppi-lld.inc
PR = "${INC_PR}.0"
DEPENDS_append = " rm-lld-rtos \
qmss-lld-rtos \
"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2g-evm = "k2g"

View File

@@ -1,27 +0,0 @@
DESCRIPTION = "TI CPPI low level driver unit test and example binaries"
DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld"
include cppi-lld.inc
PR = "${INC_PR}.0"
CHOICELIST = "yes no"
do_compile () {
# Now build the lld in the updated directory
for device in ${DEVICELIST}
do
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S}
for choice in ${CHOICELIST}
do
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
done
}

View File

@@ -1,27 +0,0 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
CPPI_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git"
CPPI_LLD_GIT_PROTOCOL = "git"
CPPI_LLD_GIT_BRANCH = "master"
CPPI_LLD_GIT_DESTSUFFIX = "git/ti/drv/cppi"
# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.12A"
CPPI_LLD_SRCREV = "6a1d2891b3de9891dea71a069a261c6368209413"
BRANCH = "${CPPI_LLD_GIT_BRANCH}"
SRC_URI = "${CPPI_LLD_GIT_URI};destsuffix=${CPPI_LLD_GIT_DESTSUFFIX};protocol=${CPPI_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${CPPI_LLD_SRCREV}"
PV = "02.01.00.12"
INC_PR = "r1"
DEVICELIST = "k2h k2k k2l k2e"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e-evm = "k2e"
S = "${WORKDIR}/${CPPI_LLD_GIT_DESTSUFFIX}"

View File

@@ -1,31 +0,0 @@
DESCRIPTION = "TI CPPI Module low level driver"
DEPENDS = "common-csl-ip rm-lld qmss-lld"
include cppi-lld.inc
PR = "${INC_PR}.1"
do_compile () {
# Now build the lld in the updated directory
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
for device in ${DEVICELIST}
do
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
done
}
do_install () {
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
# Set the generic device library symbolic link to default k2h
cd ${D}${libdir}
# Link only the first device in the list
for device in ${DEVICELIST}
do
ln -sf libcppi_${device}.so.1.0.0 libcppi_device.so.1
break
done
ln -sf libcppi_device.so.1 libcppi_device.so
}

View File

@@ -1,25 +0,0 @@
DESCRIPTION = "TI Unified Instrumentation Architecture in C (cUIA)"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://cuia_${CUIA_PV}_manifest.html;md5=0eea94e3bb94de4ddee77653eba1c7c5"
CUIA_PV = "1_00_00_13"
CUIA_PVExtra = ""
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/UIA/SCMCSDK/cuia_${CUIA_PV}${CUIA_PVExtra}.tar.gz;name=cuia"
SRC_URI[cuia.md5sum] = "ef53989ac70c191841cd656cdc8770be"
SRC_URI[cuia.sha256sum] = "f16d138a9146fdc7d52cba77bd30596da65835f6ffe4092baf2b33d1c1a4fb0d"
S = "${WORKDIR}/cuia_${CUIA_PV}${CUIA_PVExtra}"
CLEANBROKEN = "1"
do_compile () {
cd ${S}
oe_runmake clean
oe_runmake all
}
do_install() {
cd ${S}
oe_runmake DESTDIR=${D} libdir=${libdir} includedir=${includedir} install
}

View File

@@ -1,20 +0,0 @@
DESCRIPTION = "TI Digital Radio Front End lld test application"
DEPENDS = "common-csl-ip dfe-lld iqn2-lld"
include dfe-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}"
do_compile () {
# Now build the lld in the updated directory
oe_runmake clean DEVICE=k2l
oe_runmake tests DEVICE=k2l
oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes
}
do_install () {
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir}
}

View File

@@ -1,22 +0,0 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
DFE_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git"
DFE_LLD_GIT_PROTOCOL = "git"
DFE_LLD_GIT_BRANCH = "master"
DFE_LLD_GIT_DESTSUFFIX = "git/ti/drv/dfe"
# The following commit correspond to DEV.DFE_LLD.01.00.00.07
DFE_LLD_SRCREV = "7a85310ee5e406f50a4c118610e07aade7d3cee2"
BRANCH = "${DFE_LLD_GIT_BRANCH}"
SRC_URI = "${DFE_LLD_GIT_URI};destsuffix=${DFE_LLD_GIT_DESTSUFFIX};protocol=${DFE_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${DFE_LLD_SRCREV}"
PV = "1.0.0.7"
INC_PR = "r0"
COMPATIBLE_MACHINE = "k2l-evm"
S = "${WORKDIR}/${DFE_LLD_GIT_DESTSUFFIX}"

View File

@@ -1,17 +0,0 @@
DESCRIPTION = "Digital Radio Front End low level driver"
DEPENDS = "common-csl-ip"
include dfe-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
oe_runmake lib DEVICE=k2l
}
do_install () {
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}

View File

@@ -1,62 +0,0 @@
DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d"
COMPATIBLE_MACHINE = "dra7xx"
SRC_URI = "git://git.ti.com/glsdk/dspdce.git;protocol=git"
SRCREV = "88705fd4584edd1289e4bb50658def936de90433"
PV = "1.00.00.06"
S = "${WORKDIR}/git"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
PR = "r2"
inherit update-alternatives
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
export HWVERSION = "ES10"
export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
export XDCVERSION = "ti-xdctools-tree"
export BIOSVERSION = "ti-sysbios-tree"
export IPCVERSION = "ti-ipc-tree"
export CEVERSION = "ti-codec-engine-tree"
export FCVERSION = "ti-framework-components-tree"
export XDAISVERSION = "ti-xdais-tree"
export OSALVERSION = "ti-osal-tree"
export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
export C66XCGTOOLSPATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
do_configure() {
cd ${S}
make unconfig
make vayu_config
}
do_compile() {
cd ${S}
make dspbin
}
TARGET = "dra7-dsp1-fw.xe66"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${base_libdir}/firmware/${TARGET}.${BPN}
}
ALTERNATIVE_${PN} = "dra7-dsp1-fw.xe66"
ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}"
ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${base_libdir}/firmware/${TARGET}.${BPN}"
ALTERNATIVE_PRIORITY = "10"
INSANE_SKIP_${PN} = "arch"
FILES_${PN} += "${base_libdir}/firmware/*"

View File

@@ -1,24 +0,0 @@
DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR_append = "d"
PR = "${MACHINE_KERNEL_PR}"
PV_append = "+git${SRCPV}"
S = "${WORKDIR}/git/debugss_module/debugss-mod"
inherit module
PLATFORM = ""
PLATFORM_dra7xx = "DRA7xx_PLATFORM"
PLATFORM_keystone = "KEYSTONE_PLATFORM"
PLATFORM_k2e-evm = "K2E_PLATFORM"
EXTRA_OEMAKE = "'PLATFORM=${PLATFORM}' KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
COMPATIBLE_MACHINE = "dra7xx|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
include dsptop.inc

View File

@@ -1,8 +0,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}"
BRANCH = "master"

View File

@@ -1,29 +0,0 @@
DESCRIPTION = "TI dsptop utility."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
DEPENDS = "libulm ncurses"
PR = "${INC_PR}.1"
S = "${WORKDIR}/git/dsptop"
DEVICE = ""
DEVICE_dra7xx = "DRA7xx"
DEVICE_keystone = "C66AK2Hxx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
do_install() {
oe_runmake install DESTDIR=${D}
}
COMPATIBLE_MACHINE = "dra7xx|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN} = "debugss-module-drv"
RDEPENDS_${PN}_append_keystone = " temperature-module-drv"
include dsptop.inc
PARALLEL_MAKE = ""

View File

@@ -1,42 +0,0 @@
DESCRIPTION = "TI dsptop utility."
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979"
DEPENDS = "ti-cgt6x-native"
PR = "${INC_PR}.0"
S = "${WORKDIR}/git/dsptop/ulm"
DEVICE=""
DEVICE_dra7xx = "DRA7xx"
DEVICE_keystone = "C66AK2Hxx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}"
do_compile() {
oe_runmake arm XPORT_ONLY
oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include
}
do_install() {
install -d ${D}${includedir}
install -d ${D}${libdir}
install -d ${D}${datadir}/ti/ulm
cp -f tiulm.h ${D}${includedir}
cp -f release/libtiulm.a ${D}${libdir}
cp -f tiulm.h ${D}${datadir}/ti/ulm
cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm
}
COMPATIBLE_MACHINE = "dra7xx|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
FILES_${PN}-dev += "\
${datadir}/ti/ulm \
"
include dsptop.inc
ALLOW_EMPTY_${PN} = "1"
PARALLEL_MAKE= ""

View File

@@ -1,18 +0,0 @@
DESCRIPTION = "Smart Reflex Sub-System (SRSS) module driver for Keystone devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3"
# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
PV_append = "+git${SRCPV}"
S = "${WORKDIR}/git/temperature_module/temperature-mod"
inherit module
EXTRA_OEMAKE = "KVERSION=${KERNEL_VERSION} KERNEL_SRC=${STAGING_KERNEL_DIR}"
COMPATIBLE_MACHINE = "keystone"
include dsptop.inc

View File

@@ -1,117 +0,0 @@
require edma3-lld.inc
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
PR = "${INC_PR}.0"
DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PLATFORMLIST = ""
TARGETLIST = ""
PLATFORMLIST_ti33x = " \
am335x-evm \
"
TARGETLIST_ti33x = " \
a8 \
"
PLATFORMLIST_ti43x = " \
am437x-evm \
"
TARGETLIST_ti43x = " \
arm9 \
"
PLATFORMLIST_omap-a15 = " \
tda2xx-evm \
"
TARGETLIST_omap-a15 = " \
66 \
a15 \
m4 \
"
PLATFORMLIST_keystone = " \
tci6636k2h-evm \
tci6638k2k-evm \
tci6630k2l-evm \
c66ak2e-evm \
tci66ak2g02-evm \
"
TARGETLIST_keystone = " \
66 \
a15 \
"
FORMAT="ELF"
S = "${WORKDIR}/git"
PARALLEL_MAKE = ""
export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr"
export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
export CGTOOLS = "${XDCCGROOT}"
export CGTOOLS_ELF = "${XDCCGROOT}"
export CODEGEN_PATH_DSP = "${XDCCGROOT}"
export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
export TMS470_CGTOOLS = "${M4_TOOLCHAIN_INSTALL_DIR}"
export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
export PATH := "${XDC_INSTALL_DIR}:${PATH}"
export ROOTDIR="${S}"
export INTERNAL_SW_ROOT="${S}"
export CROSSCC="${TARGET_PREFIX}gcc"
export CROSSAR="${TARGET_PREFIX}ar"
export CROSSLNK="${TARGET_PREFIX}gcc"
do_configure () {
sed -i -e "s|_config.bld|config.bld|g" ${S}/makerules/env.mk
sed -i -e "s|^edma3_lld_PATH =.*$|edma3_lld_PATH = ${S}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_M3 =.*$|CODEGEN_PATH_M3 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_M4 =.*$|CODEGEN_PATH_M4 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_A8 =.*$|CODEGEN_PATH_A8 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_A8_GCC =.*$|CODEGEN_PATH_A8_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_ARM9 =.*$|CODEGEN_PATH_ARM9 = ${M4_TOOLCHAIN_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_A9_GCC =.*$|CODEGEN_PATH_A9_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_A15 =.*$|CODEGEN_PATH_A15 = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_A15_GCC =.*$|CODEGEN_PATH_A15_GCC = ${GCC_ARM_NONE_TOOLCHAIN}|g" ${S}/makerules/env.mk
sed -i -e "s|^UTILS_INSTALL_DIR =.*$|UTILS_INSTALL_DIR = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^bios_PATH =.*$|bios_PATH = ${SYSBIOS_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^xdc_PATH =.*$|xdc_PATH = ${XDC_INSTALL_DIR}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_DSP =.*$|CODEGEN_PATH_DSP = ${XDCCGROOT}|g" ${S}/makerules/env.mk
sed -i -e "s|^CODEGEN_PATH_DSPELF =.*$|CODEGEN_PATH_DSPELF = ${XDCCGROOT}|g" ${S}/makerules/env.mk
cd ${S}/packages
${XDC_INSTALL_DIR}/xdc .interfaces -PR .
}
do_compile () {
cd ${S}/packages
for p in ${PLATFORMLIST}
do
for t in ${TARGETLIST}
do
make PLATFORM=${p} TARGET=${t} FORMAT=${FORMAT}
done
done
sourceipk_do_create_srcipk
}
do_install () {
install -d ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${EDMA3_LLD_INSTALL_DIR_RECIPE}
}
INSANE_SKIP_${PN}-dev = "arch ldflags"
ALLOW_EMPTY_${PN} = "1"
FILES_${PN}-dev += "${EDMA3_LLD_INSTALL_DIR_RECIPE}"

View File

@@ -1,17 +0,0 @@
DESCRIPTION = "TI EDMA3 low level driver and test code"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
EDMA3_LLD_GIT_PROTOCOL = "git"
EDMA3_LLD_GIT_BRANCH = "master"
# The following commit corresponds to tag DEV_EDMA3_LLD_02_12_01_23A
EDMA3_LLD_SRCREV = "84c84a82332b30ece3b00f7d769270466ae836e0"
BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${EDMA3_LLD_SRCREV}"
PV = "2.12.01.23"
INC_PR = "r0"

View File

@@ -1,73 +0,0 @@
require edma3-lld.inc
PR = "${INC_PR}.0"
COMPATIBLE_MACHINE = "keystone"
DEPENDS = "common-csl-ip"
PLATFORMLIST = "tci6636k2h-evm \
tci6636k2h-evm \
tci6638k2k-evm \
tci6630k2l-evm \
c66ak2e-evm \
tci66ak2g02-evm \
"
PACKAGES =+ "${PN}-test"
FILES_${PN}-test = "${bindir}/*"
S = "${WORKDIR}/git"
do_compile () {
cd ${S}/packages
for platform in ${PLATFORMLIST}
do
ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc" CROSSAR="${TARGET_PREFIX}ar" \
CROSSLNK="${TARGET_PREFIX}gcc" INTERNAL_SW_ROOT="${S}" make \
PLATFORM="$platform" TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF \
SONAME=libedma3.so all
done
}
do_install () {
install -d ${D}/${libdir}
# Static Libraries
cp ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg \
${D}/${libdir}/libedma3.a
cp ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg \
${D}/${libdir}/libedma3rm.a
# Shared Libraries
cp -a ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
cp -a ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
# Copy Headers
install -d ${D}/${includedir}/ti/sdo/edma3/drv/
install -d ${D}/${includedir}/ti/sdo/edma3/rm
cp ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
cp ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
# Copy Sample Config
install -d ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
cp ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c \
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
cp ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c \
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
cp ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c \
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
cp ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c \
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
install -d ${D}/${bindir}
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/bin/tci6636k2h-evm/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg \
${D}/${bindir}/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/bin/tci6638k2k-evm/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg \
${D}/${bindir}/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/bin/tci6630k2l-evm/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg \
${D}/${bindir}/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg \
${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
}

View File

@@ -1 +1,2 @@
PRINC := "${@int(PRINC) + 1}"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

View File

@@ -1,22 +0,0 @@
DESCRIPTION = "TI High Performance Library kernel module"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779"
DEPENDS = "hplib"
include hplib.inc
# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
S ="${WORKDIR}/git/ti/runtime/hplib/module"
EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}"
inherit module
do_install () {
oe_runmake install INSTALL_MOD_PATH="${D}"
}
KERNEL_MODULE_AUTOLOAD += "hplibmod"

View File

@@ -1,32 +0,0 @@
DESCRIPTION = "TI High performance library test binaries"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
DEPENDS = "common-csl-ip qmss-lld sa-lld pktlib hplib"
include hplib.inc
PR = "${INC_PR}.0"
CHOICELIST = "yes no"
S = "${WORKDIR}/git/ti/runtime/hplib"
EXTRA_OEMAKE += '-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}'
do_compile () {
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake tests HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
done
}

View File

@@ -1,20 +0,0 @@
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
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.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.07+git${SRCPV}"
INC_PR = "r0"

View File

@@ -1,33 +0,0 @@
DESCRIPTION = "TI High performance libraries"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib"
RDEPENDS_${PN} = "hplib-mod"
include hplib.inc
PR = "${INC_PR}.0"
CHOICELIST = "yes no"
S = "${WORKDIR}/git/ti/runtime/hplib"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
done
}

View File

@@ -1,26 +0,0 @@
include hyplnk-lld.inc
PR = "${INC_PR}.0"
DEPENDS = "common-csl-ip hyplnk-lld"
do_compile () {
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
HYPLNK_SRC_DIR="${S}"
for device in ${DEVICELIST}
do
make -f makefile_armv7 tests examples \
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
DEVICE="$device" HYPLNK_SRC_DIR="${S}"
done
}
do_install () {
for device in ${DEVICELIST}
do
make -f makefile_armv7 installbin \
PDK_INSTALL_PATH="${STAGING_INCDIR}" DEVICE="$device" \
HYPLNK_SRC_DIR="${S}" \
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
done
}

View File

@@ -1,29 +0,0 @@
DESCRIPTION = "TI Hyperlink Low Level Driver"
LICENSE = "BSD-3-Clause"
COMPATIBLE_MACHINE = "k2hk-evm|k2e-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
LLDNAME="hyplnk"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git"
HYPLNK_GIT_PROTOCOL = "git"
HYPLNK_GIT_BRANCH = "master"
HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}"
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.06
HYPLNK_SRCREV = "a1953ca33114c5a4daca6289a7fb75b201f566d2"
BRANCH="${HYPLNK_GIT_BRANCH}"
SRC_URI = "${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${HYPLNK_SRCREV}"
PV = "2.1.0.6"
INC_PR = "r0"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2e-evm = "k2e"
S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"

View File

@@ -1,32 +0,0 @@
include hyplnk-lld.inc
PR = "${INC_PR}.1"
DEPENDS = "common-csl-ip"
do_compile () {
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
HYPLNK_SRC_DIR="${S}"
for device in ${DEVICELIST}
do
make -f makefile_armv7 lib PDK_INSTALL_PATH="${STAGING_INCDIR}"\
DEVICE="$device" HYPLNK_SRC_DIR="${S}"
done
}
do_install () {
make -f makefile_armv7 install PDK_INSTALL_PATH="${STAGING_INCDIR}" \
INSTALL_INC_BASE_DIR="${D}/${includedir}" \
INSTALL_LIB_BASE_DIR="${D}${libdir}" HYPLNK_SRC_DIR="${S}"
# Set the generic device library symbolic link to default k2h
cd ${D}${libdir}
# Link only the first device in the list
for device in ${DEVICELIST}
do
ln -sf libhyplnk_${device}.so.1.0.0 libhyplnk_device.so.1
break
done
ln -sf libhyplnk_device.so.1 libhyplnk_device.so
}

View File

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

@@ -1,69 +0,0 @@
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://Texas_Instruments_ipumm_Manifest.pdf;md5=036f6300761559fbc5ce7d06e1ccea5a"
COMPATIBLE_MACHINE = "dra7xx"
RDEPENDS_${PN} = " libdce"
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
SRCREV = "c579a48d3b201fe276e406add64512eb5e90e75f"
S = "${WORKDIR}/git"
PV = "3.00.10.00"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
inherit update-alternatives
DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ccsv6-native ti-ipc-rtos"
export HWVERSION="ES10"
export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
export XDCVERSION="ti-xdctools-tree"
export BIOSVERSION="ti-sysbios-tree"
export IPCVERSION="ti-ipc-tree"
export CEVERSION="ti-codec-engine-tree"
export FCVERSION="ti-framework-components-tree"
export XDAISVERSION="ti-xdais-tree"
export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}"
export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
do_configure() {
oe_runmake unconfig
oe_runmake vayu_smp_config
}
do_compile() {
oe_runmake
}
TARGET = "dra7-ipu2-fw.xem4"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
}
ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4"
ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}"
ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${base_libdir}/firmware/${TARGET}.${BPN}"
ALTERNATIVE_PRIORITY = "20"
FILES_${PN} += "${base_libdir}/firmware/*"
PR = "r1"

View File

@@ -1,18 +0,0 @@
DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
DEPENDS = "common-csl-ip iqn2-lld dfe-lld"
include iqn2-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git"
do_compile () {
oe_runmake clean DEVICE=k2l
oe_runmake tests DEVICE=k2l
}
do_install () {
oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
}

View File

@@ -1,21 +0,0 @@
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
LICENSE = "BSD-3-Clause"
IQN2_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git"
IQN2_LLD_GIT_PROTOCOL = "git"
IQN2_LLD_GIT_BRANCH = "master"
IQN2_LLD_GIT_DESTSUFFIX = "git/ti/drv/iqn2"
# Following commit corresponds to DEV.IQN_LLD.01.00.00.10
IQN2_LLD_SRCREV = "dfc6bdd3b397b58e234f74eadda6d79ee399e682"
BRANCH = "${IQN2_LLD_GIT_BRANCH}"
SRC_URI = "${IQN2_LLD_GIT_URI};destsuffix=${IQN2_LLD_GIT_DESTSUFFIX};protocol=${IQN2_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${IQN2_LLD_SRCREV}"
PV = "1.0.0.10"
INC_PR = "r0"
COMPATIBLE_MACHINE = "k2l-evm"
S = "${WORKDIR}/${IQN2_LLD_GIT_DESTSUFFIX}"

View File

@@ -1,18 +0,0 @@
DESCRIPTION = "TI IQN2 peripheral module low level driver"
DEPENDS = "common-csl-ip"
include iqn2-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
oe_runmake clean
oe_runmake lib
}
do_install () {
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}

View File

@@ -1,44 +0,0 @@
DESCRIPTION = "TI KEYSTONE MMAP driver test binaries "
include mmap-lld.inc
PR = "${INC_PR}.0"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS="common-csl-ip mmap-lld"
RDEPENDS_${PN}="uio-module-drv"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2e-evm = "k2e"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2g-evm = "k2g"
CHOICELIST = " yes \
no \
"
do_compile () {
for device in ${DEVICELIST}
do
make -f makefile_armv7 clean \
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
DEVICE="$device" MPAX_SRC_DIR="${S}"
for choice in ${CHOICELIST}
do
make -f makefile_armv7 tests examples \
PDK_INSTALL_PATH=${STAGING_INCDIR} \
DEVICE="$device" MPAX_SRC_DIR="${S}" \
USEDYNAMIC_LIB="$choice"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
make -f makefile_armv7 installbin \
PDK_INSTALL_PATH=${STAGING_INCDIR} \
DEVICE="$device" MPAX_SRC_DIR="${S}" \
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
done
}

View File

@@ -1,22 +0,0 @@
LICENSE = "BSD-3-Clause"
COMPATIBLE_MACHINE = "keystone"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
MMAP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git"
MMAP_LLD_GIT_PROTOCOL = "git"
MMAP_LLD_GIT_BRANCH = "master"
MMAP_LLD_GIT_DESTSUFFIX = "git/ti/runtime/mmap"
# Commit correspond to DEV.MMAP.02.00.00.07
MMAP_LLD_SRCREV = "4426949ddfafdc8ea9408dbf5a642c3e840f4997"
BRANCH="${MMAP_LLD_GIT_BRANCH}"
SRC_URI = "${MMAP_LLD_GIT_URI};destsuffix=${MMAP_LLD_GIT_DESTSUFFIX};protocol=${MMAP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${MMAP_LLD_SRCREV}"
PV = "2.0.0.7"
INC_PR = "r0"
S = "${WORKDIR}/git/ti/runtime/mmap"

View File

@@ -1,14 +0,0 @@
DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming"
include mmap-lld.inc
PR = "${INC_PR}.0"
DEPENDS="common-csl-ip"
do_compile () {
make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
}
do_install () {
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}

View File

@@ -1,56 +0,0 @@
DESCRIPTION = "NETCP PA firmware for Keystone"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
PV = "3.0.1.8"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "dd8db49ed57f8ac448451cc5e54973c71a99faea"
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"
FWBASENAME = " \
ks2_pa_eg0_pdsp0 \
ks2_pa_eg0_pdsp1 \
ks2_pa_eg0_pdsp2 \
ks2_pa_eg1_pdsp0 \
ks2_pa_eg2_pdsp0 \
ks2_pa_in0_pdsp0 \
ks2_pa_in0_pdsp1 \
ks2_pa_in1_pdsp0 \
ks2_pa_in1_pdsp1 \
ks2_pa_in2_pdsp0 \
ks2_pa_in3_pdsp0 \
ks2_pa_in4_pdsp0 \
ks2_pa_in4_pdsp1 \
ks2_pa_post_pdsp0 \
ks2_pa_post_pdsp1 \
"
FWBASENAME_k2hk-evm = " \
ks2_pa_pdsp0_classify1 \
ks2_pa_pdsp1_classify1 \
ks2_pa_pdsp2_classify1 \
ks2_pa_pdsp3_classify2 \
ks2_pa_pdsp4_pam \
ks2_pa_pdsp5_pam \
"
do_install() {
install -d ${D}${base_libdir}/firmware
for f in ${FWBASENAME}; do
install -m 0644 ${S}/ti-keystone/$f.bin ${D}${base_libdir}/firmware/$f.bin
done
}
FILES_${PN} = "${base_libdir}/firmware"

View File

@@ -1,29 +0,0 @@
DESCRIPTION = "NETCP SA firmware for Keystone"
LICENSE = "TI-TFL"
LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
PV = "1.0.0"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "588f602a21c62f90b1f4318b881c80a1e711317a"
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 = "sa_mci.fw"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/ti-keystone/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} = "${base_libdir}/firmware"

View File

@@ -1,27 +0,0 @@
DESCRIPTION = "TI Network Abstraction Layer unit test binaries"
DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib nwal-lld"
include nwal-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
oe_runmake tests NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
done
}

View File

@@ -1,28 +0,0 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git"
NWAL_LLD_GIT_PROTOCOL = "git"
NWAL_LLD_GIT_BRANCH = "master"
# Below commit ID corresponds to "DEV.NWAL.02.01.00.10A"
NWAL_LLD_SRCREV = "e7ed8c5abc4b93b99a5f45699eef8f3b8ca51d1e"
BRANCH = "${NWAL_LLD_GIT_BRANCH}"
SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${NWAL_LLD_SRCREV}"
PV = "02.01.00.10"
INC_PR = "r1"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/nwal"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e-evm = "k2e"
CHOICELIST = "yes no"

View File

@@ -1,27 +0,0 @@
DESCRIPTION = "TI Network abstraction layer LLD library "
DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib"
include nwal-lld.inc
PR = "${INC_PR}.0"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
oe_runmake lib NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
done
}

View File

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

@@ -1,28 +0,0 @@
DESCRIPTION = "TI PA LLD unit test and example binaries"
DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld"
include pa-lld.inc
PR = "${INC_PR}.1"
CHOICELIST = "yes no"
do_compile () {
# Now build the lld unit test examples
for device in ${DEVICELIST}
do
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
for choice in ${CHOICELIST}
do
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
done
}

View File

@@ -1,33 +0,0 @@
LICENSE = "BSD-3-Clause & TI-TFL"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=cd04fb087063a2a82c4ce61983836871"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pa-lld.git"
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.01.08A"
PA_LLD_SRCREV = "9294e42fd5763555c28e46b51246bab439fd552e"
BRANCH = "${PA_LLD_GIT_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.01.08"
INC_PR = "r1"
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
DEVICELIST = "k2h k2k k2l k2e"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e-evm = "k2e"
LIBPA = "libpa"
LIBPA_k2hk-evm = "libpa"
LIBPA_k2e-evm = "libpa2"
LIBPA_k2l-evm = "libpa2"

View File

@@ -1,23 +0,0 @@
DESCRIPTION = "TI PA LLD library"
DEPENDS = "common-csl-ip rm-lld"
include pa-lld.inc
PR = "${INC_PR}.1"
do_compile () {
# Now build the lld in the updated directory
for device in ${DEVICELIST}
do
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device"
done
}
do_install () {
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
# Set the generic device library symbolic link
ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1
ln -sf libpa_device.so.1 ${D}${libdir}/libpa_device.so
}

View File

@@ -1,13 +0,0 @@
inherit ti-pdk
require pktlib.inc
PR = "${INC_PR}.0"
DEPENDS_append = " rm-lld-rtos \
qmss-lld-rtos \
cppi-lld-rtos \
"
XDCARGS_k2hk-evm = "k2h k2k"
XDCARGS_k2e-evm = "k2e"
XDCARGS_k2l-evm = "k2l"

View File

@@ -1,24 +0,0 @@
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://docs/Doxyfile;md5=91d01dc3788e1f405f000b2089191a0a"
COMPATIBLE_MACHINE = "keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
PKTLIB_GIT_PROTOCOL = "git"
PKTLIB_GIT_BRANCH = "master"
PKTLIB_GIT_DESTSUFFIX = "git/ti/runtime/pktlib"
# Below commit ID corresponds to "DEV.PKTLIB.2.1.0.7"
PKTLIB_SRCREV = "22f66931964c25f83d1971f7eb78902d10c17d8a"
BRANCH = "${PKTLIB_GIT_BRANCH}"
# Don't use DESTSUFFIX when cloning since repo contains ti/runtime/pktlib directory tree
SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${PKTLIB_SRCREV}"
PV = "2.1.0.7"
INC_PR = "r2"
S = "${WORKDIR}/${PKTLIB_GIT_DESTSUFFIX}"

View File

@@ -1,18 +0,0 @@
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
include pktlib.inc
PR = "${INC_PR}.1"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
do_compile () {
oe_runmake lib
}
do_install () {
oe_runmake install
}

View File

@@ -1,52 +0,0 @@
From e2db38959a70d1be604a297276a0b0c2ac219bf5 Mon Sep 17 00:00:00 2001
From: Darren Etheridge <detheridge@ti.com>
Date: Tue, 29 Jul 2014 16:06:17 -0500
Subject: [PATCH 1/4] PoC: GFX: SDK: Make 5_01_01_01 work against 3.14 LTS
An API rename is the main change. Also hacked in some function prototypes
for enabling use of the tilcdc DRM driver instead of the fbdev driver on
AM335x. However this all really needs a good cleanup as it is hacky at
the moment.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
---
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 5 +++++
GFX_Linux_KM/services4/srvkm/env/linux/mutils.h | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
index 5c3fc48..3857b95 100644
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
@@ -93,6 +93,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <linux/mutex.h>
#include <video/da8xx-fb.h>
+/* used by SGX OMAPLFB drvier */
+typedef void (*vsync_callback_t)(void *arg);
+int register_vsync_cb(vsync_callback_t handler, void *arg, int idx);
+int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx);
+
#if defined(PVR_OMAPLFB_DRM_FB)
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0))
#include <plat/display.h>
diff --git a/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h b/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
index 31e0dac..90ec41c 100644
--- a/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
+++ b/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
@@ -79,7 +79,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define IOREMAP(pa, bytes) ioremap_cache(pa, bytes)
#else
#if defined(__arm__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
- #define IOREMAP(pa, bytes) ioremap_cached(pa, bytes)
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0))
+ #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes)
+ #else
+ #define IOREMAP(pa, bytes) ioremap_cached(pa, bytes)
+ #endif
#else
#define IOREMAP(pa, bytes) ioremap(pa, bytes)
#endif
--
1.9.1

View File

@@ -1,121 +0,0 @@
From 7886ef77e4b48a7edd14acbcbe48f6a898251e78 Mon Sep 17 00:00:00 2001
From: Darren Etheridge <detheridge@ti.com>
Date: Fri, 25 Jul 2014 16:03:14 -0500
Subject: [PATCH 2/5] SGX: linux: use platform data to provide reset info
In ti-linux-3.14.y we will not have a reset driver unlike ti-linux-3.12.y
so this commit removes the dependency on the reset driver and instead
uses the platform data that in a dt environment is configured in
mach-omap2/pdata-quirks.c
Signed-off-by: Darren Etheridge <detheridge@ti.com>
---
GFX_Linux_KM/services4/srvkm/env/linux/module.c | 34 ++++++++++++++++++++-----
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/GFX_Linux_KM/services4/srvkm/env/linux/module.c b/GFX_Linux_KM/services4/srvkm/env/linux/module.c
index e03dc00..90e16ce 100644
--- a/GFX_Linux_KM/services4/srvkm/env/linux/module.c
+++ b/GFX_Linux_KM/services4/srvkm/env/linux/module.c
@@ -47,6 +47,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#endif
+#ifndef CONFIG_RESET_CONTROLLER
+#include <linux/platform_data/sgx-omap.h>
+#endif
+
#if defined(SUPPORT_DRI_DRM) && !defined(SUPPORT_DRI_DRM_PLUGIN)
#define PVR_MOD_STATIC
#else
@@ -344,9 +348,11 @@ static LDM_DRV powervr_driver = {
LDM_DEV *gpsPVRLDMDev;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
+#ifdef CONFIG_RESET_CONTROLLER
struct reset_control *rstc;
bool already_deasserted = false;
#endif
+#endif
#if defined(MODULE) && defined(PVR_LDM_PLATFORM_MODULE) && \
!defined(PVR_USE_PRE_REGISTERED_PLATFORM_DEV)
@@ -388,11 +394,14 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
#endif
{
SYS_DATA *psSysData;
- int ret;
+ int ret;
+ struct device *dev = &pDevice->dev;
+ struct gfx_sgx_platform_data *pdata = dev->platform_data;
+
PVR_TRACE(("PVRSRVDriverProbe(pDevice=%p)", pDevice));
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
+#ifdef CONFIG_RESET_CONTROLLER
rstc = reset_control_get(&pDevice->dev, NULL);
-
if (IS_ERR(rstc))
{
dev_err(&pDevice->dev, "%s: error: reset_control_get\n", __func__);
@@ -403,7 +412,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
if (ret < 0)
{
- dev_err(&pDevice->dev, "%s: error: reset_control_clear_reset\n", __func__);
+ dev_err(dev, "%s: error: reset_control_clear_reset\n", __func__);
return ret;
}
@@ -413,11 +422,22 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
{
already_deasserted = true;
}
- else if (ret < 0)
+ else if (ret < 0)
{
- dev_err(&pDevice->dev, "%s: error: reset_control_deassert\n", __func__);
+ dev_err(dev, "%s: error: reset_control_deassert\n", __func__);
return ret;
}
+#else
+ if (pdata && pdata->deassert_reset) {
+ ret = pdata->deassert_reset(pDevice, pdata->reset_name);
+ if (ret) {
+ dev_err(dev, "Unable to reset SGX!\n");
+ }
+ } else {
+ dev_err(dev, "SGX Platform data missing deassert_reset!\n");
+ return -ENODEV;
+ }
+#endif /* CONFIG_RESET_CONTROLLER */
#endif
#if 0 /* INTEGRATION_POINT */
@@ -432,7 +452,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
{
return -EINVAL;
}
-#endif
+#endif
/* SysInitialise only designed to be called once.
*/
psSysData = SysAcquireDataNoCheck();
@@ -445,6 +465,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
}
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
+#ifdef CONFIG_RESET_CONTROLLER
if (!already_deasserted)
{
ret = reset_control_is_reset(rstc);
@@ -454,6 +475,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
}
}
reset_control_put(rstc);
+#endif /* CONFIG_RESET_CONTROLLER */
#endif
return PVRSRVIONClientCreate();
--
1.9.1

View File

@@ -1,153 +0,0 @@
From cf5156ff82e14fe01a194f9fa9a9adc528ac72f0 Mon Sep 17 00:00:00 2001
From: Darren Etheridge <detheridge@ti.com>
Date: Tue, 29 Jul 2014 15:39:56 -0500
Subject: [PATCH 3/4] SGX: displayclass: am335x, am437x - fix mutex deadlock
warning
Rearrange the locking semantics in the Unblank screen function to
remove the kernel warning about a possible deadlock scenario.
The warning presents itself on the console like this:
[ 2976.202979] ======================================================
[ 2976.202983] [ INFO: possible circular locking dependency detected ]
[ 2976.202994] 3.14.11-00997-gb20d0ac-dirty #53 Tainted: G O
[ 2976.202997] -------------------------------------------------------
[ 2976.203005] OGLES2Chameleon/1203 is trying to acquire lock:
[ 2976.203058] (console_lock){+.+.+.}, at: [<bf07a310>]
OMAPLFBUnblankDisplay+0x24/0xbc [omaplfb]
[ 2976.203062]
[ 2976.203062] but task is already holding lock:
[ 2976.203087] (&fb_info->lock){+.+.+.}, at: [<c0312358>]
lock_fb_info+0x18/0x3c
[ 2976.203090]
[ 2976.203090] which lock already depends on the new lock.
[ 2976.203090]
[ 2976.203093]
[ 2976.203093] the existing dependency chain (in reverse order) is:
[ 2976.203101]
[ 2976.203101] -> #1 (&fb_info->lock){+.+.+.}:
[ 2976.203112] [<c0312358>] lock_fb_info+0x18/0x3c
[ 2976.203124] [<c0313a7c>] register_framebuffer+0x174/0x26c
[ 2976.203146] [<c033c314>] omapfb_create_framebuffers+0x48c/0x7ac
[ 2976.203157] [<c033d3c4>] omapfb_probe+0x4d4/0x848
[ 2976.203170] [<c0381cc8>] platform_drv_probe+0x18/0x48
[ 2976.203189] [<c038096c>] driver_probe_device+0x10c/0x238
[ 2976.203199] [<c0380b2c>] __driver_attach+0x94/0x98
[ 2976.203208] [<c037f0f0>] bus_for_each_dev+0x54/0x88
[ 2976.203216] [<c03800f0>] bus_add_driver+0xd8/0x1d8
[ 2976.203223] [<c038115c>] driver_register+0x78/0xf4
[ 2976.203234] [<c0008968>] do_one_initcall+0xe4/0x144
[ 2976.203250] [<c07d3c18>] kernel_init_freeable+0xfc/0x1cc
[ 2976.203261] [<c0563260>] kernel_init+0x8/0xec
[ 2976.203275] [<c000e648>] ret_from_fork+0x14/0x2c
[ 2976.203284]
[ 2976.203284] -> #0 (console_lock){+.+.+.}:
[ 2976.203301] [<c008bc00>] console_lock+0x4c/0x60
[ 2976.203328] [<bf07a310>] OMAPLFBUnblankDisplay+0x24/0xbc [omaplfb]
[ 2976.203340] [<bf0797f4>] OpenDCDevice+0x60/0x78 [omaplfb]
[ 2976.203459] [<bf041ac0>] PVRSRVOpenDCDeviceKM+0xec/0x178 [pvrsrvkm]
[ 2976.203654] [<bf05645c>] PVRSRVOpenDCDeviceBW+0x6c/0xac [pvrsrvkm]
[ 2976.203811] [<bf056d10>] BridgedDispatchKM+0xf4/0x14c [pvrsrvkm]
[ 2976.203966] [<bf04f304>] PVRSRV_BridgeDispatchKM+0xf0/0x204
[pvrsrvkm]
[ 2976.203987] [<c0129500>] do_vfs_ioctl+0x78/0x61c
[ 2976.203997] [<c0129b08>] SyS_ioctl+0x64/0x74
[ 2976.204013] [<c000e580>] ret_fast_syscall+0x0/0x48
[ 2976.204016]
[ 2976.204016] other info that might help us debug this:
[ 2976.204016]
[ 2976.204019] Possible unsafe locking scenario:
[ 2976.204019]
[ 2976.204022] CPU0 CPU1
[ 2976.204024] ---- ----
[ 2976.204030] lock(&fb_info->lock);
[ 2976.204036] lock(console_lock);
[ 2976.204041] lock(&fb_info->lock);
[ 2976.204046] lock(console_lock);
[ 2976.204048]
[ 2976.204048] *** DEADLOCK ***
[ 2976.204048]
[ 2976.204055] 2 locks held by OGLES2Chameleon/1203:
[ 2976.204217] #0: (psPVRSRVMutex#2/1){+.+.+.}, at: [<bf04f238>]
PVRSRV_BridgeDispatchKM+0x24/0x204 [pvrsrvkm]
[ 2976.204240] #1: (&fb_info->lock){+.+.+.}, at: [<c0312358>]
lock_fb_info+0x18/0x3c
Signed-off-by: Darren Etheridge <detheridge@ti.com>
---
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 8 +++++---
GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c | 7 +++++--
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
index 3857b95..a5cc7d0 100644
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
@@ -812,10 +812,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
{
#ifdef FBDEV_PRESENT
int res;
+
+ OMAPLFB_CONSOLE_LOCK();
if (!lock_fb_info(psDevInfo->psLINFBInfo))
{
printk(KERN_ERR DRIVER_PREFIX
": %s: Device %u: Couldn't lock FB info\n", __FUNCTION__, psDevInfo->uiFBDevID);
+ OMAPLFB_CONSOLE_UNLOCK();
return (OMAPLFB_ERROR_GENERIC);
}
@@ -825,14 +828,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
* notification.
*/
-
- OMAPLFB_CONSOLE_LOCK();
psDevInfo->psLINFBInfo->flags |= FBINFO_MISC_USEREVENT;
res = fb_blank(psDevInfo->psLINFBInfo, bBlank ? 1 : 0);
psDevInfo->psLINFBInfo->flags &= ~FBINFO_MISC_USEREVENT;
- OMAPLFB_CONSOLE_UNLOCK();
unlock_fb_info(psDevInfo->psLINFBInfo);
+ OMAPLFB_CONSOLE_UNLOCK();
+
if (res != 0 && res != -EINVAL)
{
printk(KERN_ERR DRIVER_PREFIX
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
index c79dbd0..58b8640 100755
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
@@ -948,10 +948,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
{
#ifdef FBDEV_PRESENT
int res;
+
+ OMAPLFB_CONSOLE_LOCK();
if (!lock_fb_info(psDevInfo->psLINFBInfo))
{
printk(KERN_ERR DRIVER_PREFIX
": %s: Device %u: Couldn't lock FB info\n", __FUNCTION__, psDevInfo->uiFBDevID);
+ OMAPLFB_CONSOLE_UNLOCK();
return (OMAPLFB_ERROR_GENERIC);
}
@@ -961,13 +964,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
* notification.
*/
- OMAPLFB_CONSOLE_LOCK();
psDevInfo->psLINFBInfo->flags |= FBINFO_MISC_USEREVENT;
res = fb_blank(psDevInfo->psLINFBInfo, bBlank ? 1 : 0);
psDevInfo->psLINFBInfo->flags &= ~FBINFO_MISC_USEREVENT;
- OMAPLFB_CONSOLE_UNLOCK();
unlock_fb_info(psDevInfo->psLINFBInfo);
+ OMAPLFB_CONSOLE_UNLOCK();
+
if (res != 0 && res != -EINVAL)
{
printk(KERN_ERR DRIVER_PREFIX
--
1.9.1

View File

@@ -1,45 +0,0 @@
From c9258e090aec91e70efa814e5a38048b0c45754a Mon Sep 17 00:00:00 2001
From: Darren Etheridge <detheridge@ti.com>
Date: Tue, 29 Jul 2014 15:54:14 -0500
Subject: [PATCH 4/4] SGX: linux: make it building against ti-linux-3.14.y
The fbdev drivers moved into their own directory under drivers/video.
All of the omap2 dss stuff moved there as well so update the Makefile
to point to the right place.
Keep the old directory around to not break builds against older kernel.
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild | 1 +
GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
index 1ae2359..9e0c843 100755
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
@@ -15,6 +15,7 @@ EXTRA_CFLAGS = -DLINUX \
-I$(PVR_BUILD_DIR)/services4/include \
-I$(PVR_BUILD_DIR)/services4/system/$(PVR_SYSTEM) \
-I$(KERNELDIR)/drivers/video/omap2 \
+ -I$(KERNELDIR)/drivers/video/fbdev/omap2 \
-I$(PVR_BUILD_DIR)/services4/system/include \
$(SYS_CFLAGS.1) \
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
index 1ae2359..9e0c843 100755
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
@@ -15,6 +15,7 @@ EXTRA_CFLAGS = -DLINUX \
-I$(PVR_BUILD_DIR)/services4/include \
-I$(PVR_BUILD_DIR)/services4/system/$(PVR_SYSTEM) \
-I$(KERNELDIR)/drivers/video/omap2 \
+ -I$(KERNELDIR)/drivers/video/fbdev/omap2 \
-I$(PVR_BUILD_DIR)/services4/system/include \
$(SYS_CFLAGS.1) \
--
2.0.2

View File

@@ -10,7 +10,7 @@ BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
inherit module
MACHINE_KERNEL_PR_append = "c"
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
DEFAULT_PREFERENCE_omap3 = "99"
@@ -32,8 +32,17 @@ TI_PLATFORM_ti814x = "ti81xx"
TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
do_install() {
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B} INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}

View File

@@ -0,0 +1,54 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
require ../../recipes-ti/includes/ti-eula-unpack.inc
SGXPV = "4_08_00_01"
IMGPV = "1.9.2139099"
BINFILE = "Graphics_SDK_setuplinux_${SGXPV}.bin"
inherit module
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
SRC_URI[md5sum] = "dd0d994a48ecc4293f272a1fddddf159"
SRC_URI[sha256sum] = "fd721288c95314e0d676dd89462e1dec994e185cb608bcb8ac4a4b5809f9693a"
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
PVRBUILD = "release"
export KERNELDIR = "${STAGING_KERNEL_DIR}"
INHIBIT_PACKAGE_STRIP = "1"
TI_PLATFORM_omap3 = "omap3630"
TI_PLATFORM_ti814x = "ti81xx"
TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
do_install() {
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
if [ "${SUPPORT_XORG}" = "1" ]; then
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
fi
}

View File

@@ -0,0 +1,54 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
require ../../recipes-ti/includes/ti-eula-unpack.inc
SGXPV = "4_08_00_02"
IMGPV = "1.9.2188537"
BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
inherit module
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
SRC_URI[md5sum] = "0efa3a38266e6f41f8cc4fad0187f0d6"
SRC_URI[sha256sum] = "c732044b515a598e1fab661b7463aa9c53d4fa37f4980dfa85cd02b7468d0cd9"
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
PVRBUILD = "release"
export KERNELDIR = "${STAGING_KERNEL_DIR}"
INHIBIT_PACKAGE_STRIP = "1"
TI_PLATFORM_omap3 = "omap3630"
TI_PLATFORM_ti814x = "ti81xx"
TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
do_install() {
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
if [ "${SUPPORT_XORG}" = "1" ]; then
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
fi
}

View File

@@ -10,7 +10,7 @@ IMGPV = "1.9.2188537"
inherit module
MACHINE_KERNEL_PR_append = "d"
MACHINE_KERNEL_PR_append = "c"
PR = "${MACHINE_KERNEL_PR}"
DEFAULT_PREFERENCE = "-1"
@@ -44,10 +44,19 @@ TI_PLATFORM_ti814x = "ti81xx"
TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=0"
MAKE_TARGETS_append_ti33x = " PM_RUNTIME=1"
do_install() {
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B} INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}

View File

@@ -0,0 +1,67 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
require ../../recipes-ti/includes/ti-eula-unpack.inc
SGXPV = "5_00_00_01"
IMGPV = "1.10.2359475"
inherit module
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_alpha_hardfp_minimal_demos.bin"
MD5SUM_HARDFP = "ae6125d7f8a313ea5c02afded893052d"
SHA256SUM_HARDFP = "c2782a2f85024741722b936ec9dca66b858ae8561aa71b693f11e12d8c0385e0"
# For now we only have hardfp version
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))
}
BINFILE := "${BINFILE_HARDFP}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/${SGXPV}/exports/${BINFILE}"
SRC_URI[md5sum] := "${MD5SUM_HARDFP}"
SRC_URI[sha256sum] := "${SHA256SUM_HARDFP}"
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
PVRBUILD = "release"
export KERNELDIR = "${STAGING_KERNEL_DIR}"
INHIBIT_PACKAGE_STRIP = "1"
TI_PLATFORM_omap3 = "omap3630"
TI_PLATFORM_ti814x = "ti81xx"
TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
TI_PLATFORM_ti43x = "ti43xx"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
MODULESLOCATION_ti43x = "dc_ti43xx_linux"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
do_install() {
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}

View File

@@ -5,17 +5,17 @@ LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
require ../../recipes-ti/includes/ti-eula-unpack.inc
SGXPV = "5_01_01_02"
SGXPV = "5_01_00_01"
IMGPV = "1.10.2359475"
inherit module
MACHINE_KERNEL_PR_append = "b"
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
BINFILE_HARDFP = "Graphics_SDK_setuplinux_hardfp_${SGXPV}.bin"
MD5SUM_HARDFP = "94bcb31ea7eb50df1dfa4037055b638e"
SHA256SUM_HARDFP = "54641222cdb49b03f996cbd6412de227198d9e084f5647d706bbf4217e8cdb07"
MD5SUM_HARDFP = "0ee7d59808330d442a51c0990c2cb30e"
SHA256SUM_HARDFP = "769daae439677a7a85bbbced14cee4f85b19823e0b99560078d0a864c525c128"
# For now we only have hardfp version
python __anonymous() {
@@ -33,7 +33,6 @@ BINFILE := "${BINFILE_HARDFP}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/${SGXPV}/exports/${BINFILE}"
SRC_URI[md5sum] := "${MD5SUM_HARDFP}"
SRC_URI[sha256sum] := "${SHA256SUM_HARDFP}"
@@ -51,8 +50,18 @@ TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
TI_PLATFORM_ti43x = "ti43xx"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
MODULESLOCATION_ti43x = "dc_ti43xx_linux"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
do_install() {
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B} INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}

View File

@@ -10,7 +10,7 @@ IMGPV = "1.10.2359475"
inherit module
MACHINE_KERNEL_PR_append = "d"
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
BINFILE_HARDFP = "Graphics_SDK_setuplinux_hardfp_${SGXPV}.bin"
@@ -33,11 +33,6 @@ BINFILE := "${BINFILE_HARDFP}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/${SGXPV}/exports/${BINFILE}"
SRC_URI += "file://0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch;striplevel=2 \
file://0002-SGX-linux-use-platform-data-to-provide-reset-info.patch;striplevel=2 \
file://0003-SGX-displayclass-am335x-am437x-fix-mutex-deadlock-wa.patch;striplevel=2 \
file://0004-SGX-linux-make-it-building-against-ti-linux-3.14.y.patch;striplevel=2"
SRC_URI[md5sum] := "${MD5SUM_HARDFP}"
SRC_URI[sha256sum] := "${SHA256SUM_HARDFP}"
@@ -55,8 +50,18 @@ TI_PLATFORM_ti816x = "ti81xx"
TI_PLATFORM_ti33x = "ti335x"
TI_PLATFORM_ti43x = "ti43xx"
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
MODULESLOCATION_ti33x = "dc_ti335x_linux"
MODULESLOCATION_ti43x = "dc_ti43xx_linux"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
do_install() {
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B} INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/pvrsrvkm.ko \
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}

View File

@@ -1,34 +0,0 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=74506d9b8e5edbce66c2747c50fcef12"
inherit module
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
MACHINE_KERNEL_PR_append = "i"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
BRANCH = "ti-img-sgx/${PV}/k4.1"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "fed0756f1b8b9d526da2821635c7d742989d47c3"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"
TARGET_PRODUCT_ti43x = "ti437x"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
do_compile_prepend() {
cd ${S}/eurasia_km/eurasiacon/build/linux2/omap_linux
}
do_install() {
make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
}

View File

@@ -0,0 +1,26 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap5 SoCs"
HOMEPAGE = "http://git.ti.com"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://README;beginline=13;endline=22;md5=74506d9b8e5edbce66c2747c50fcef12"
inherit module
MACHINE_KERNEL_PR_append = "a"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git"
S = "${WORKDIR}/git"
SRCREV = "86a4ffae3458c51f0a58e44b17b7a4fd92d2b8c6"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}"'
do_compile_prepend() {
cd ${S}/eurasiacon/build/linux2/omap5430_linux
}
do_install() {
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/extra/
cp ${S}/eurasiacon/binary2_omap5430_linux_release/target/kbuild/omapdrm_pvr.ko \
${D}/lib/modules/${KERNEL_VERSION}/extra/
}

View File

@@ -1,139 +0,0 @@
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-v4.0-Manifest.html;md5=5ea937e4ff2c924a735d42e61ad8cbe3"
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 = "804b548e69ef9fdf44445f6d0968d81cb8a1e7b4"
PV = "4.0.2"
PR = "r2"
require recipes-ti/includes/ti-paths.inc
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PACKAGES_prepend = " \
${PN}-halt \
${PN}-rpmsg-echo \
"
RDEPENDS_${PN}_append = " \
${PN}-halt \
${PN}-rpmsg-echo \
"
DEPENDS = "ti-cgt-pru-native"
S = "${WORKDIR}/git"
export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
SUBDIRS = "examples pru_cape/pru_fw lib/src labs"
PLATFORM_ti33x = "am335x"
PLATFORM_ti43x = "am437x"
PLATFORM_omap-a15 = "am572x"
do_compile() {
for dir in ${SUBDIRS}
do
make -C ${S}/$dir
done
}
do_install() {
install -d ${D}/lib/firmware/pru
install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
${D}/lib/firmware/pru
}
do_install_append_ti33x() {
for i in 0 1
do
install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
${D}/lib/firmware/pru
done
}
do_install_append_ti43x() {
for i in 0 1
do
install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt1_${i}/gen/PRU_RPMsg_Echo_Interrupt1_${i}.out \
${D}/lib/firmware/pru
done
}
do_install_append_omap-a15() {
for i in 1 2
do
for j in 0 1
do
install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
${D}/lib/firmware/pru
done
done
}
FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out"
FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt*"
# Set up names for the firmwares
PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw"
PRU_ICSS_ALTERNATIVES_ti43x = "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"
# Set up link names for the firmwares
ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "/lib/firmware/am335x-pru0-fw"
ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "/lib/firmware/am335x-pru1-fw"
ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "/lib/firmware/am437x-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "/lib/firmware/am437x-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru1_0-fw] = "/lib/firmware/am57xx-pru1_0-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru1_1-fw] = "/lib/firmware/am57xx-pru1_1-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru2_0-fw] = "/lib/firmware/am57xx-pru2_0-fw"
ALTERNATIVE_LINK_NAME[am57xx-pru2_1-fw] = "/lib/firmware/am57xx-pru2_1-fw"
# Create the pru-icss-halt firmware alternatives
ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am437x-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am57xx-pru2_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_PRIORITY_pru-icss-halt = "50"
# Craete the pru-icss-rpmsg-echo firmware alternatives
ALTERNATIVE_pru-icss-rpmsg-echo = "${PRU_ICSS_ALTERNATIVES}"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am335x-pru1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am437x-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru1_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_0-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out"
ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am57xx-pru2_1-fw] = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out"
ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100"
ALLOW_EMPTY_${PN} = "1"
# This installs PRU firmware, so skip "arch" QA check
INSANE_SKIP_${PN}-halt = "arch"
INSANE_SKIP_${PN}-rpmsg-echo = "arch"

View File

@@ -7,9 +7,8 @@ COMPATIBLE_MACHINE = "omapl138"
INHIBIT_PACKAGE_STRIP = "1"
MACHINE_KERNEL_PR_append = "b"
MACHINE_KERNEL_PR_append = "b+svnr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
PV_append = "+svn${SRCPV}"
SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;protocol=https;user=anonymous;pswd=''"

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