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

Compare commits

..

167 Commits

Author SHA1 Message Date
Hao Zhang
8beec1ca66 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:24 -04:00
Hao Zhang
475c45d192 keystone: linux: add K2L and K2E DTB for RT build
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:38 -04:00
Hao Zhang
48f59a0765 keystone: linux: add K2E and K2L DTB build support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:36 -04:00
Hao Zhang
0056050410 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:15:48 -04:00
Hao Zhang
d8ca0d9739 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:15:45 -04:00
Hao Zhang
4be60cf6cf 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:15:42 -04:00
Hao Zhang
39b137a069 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:15:37 -04:00
Denys Dmytriyenko
61fdfef43e 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:41:32 -04:00
Denys Dmytriyenko
b76d4d740b 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:41:29 -04:00
Sam Nelson
14858daa69 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:07:03 -04:00
Denys Dmytriyenko
dbc21e6e6d u-boot-ti-staging: update with QSPI fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-06 13:00:58 -05:00
Denys Dmytriyenko
2139986702 linux-ti-staging: update with musb, QSPI and touchscreen fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-06 12:58:50 -05:00
Sam Nelson
625b43736f 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:39:59 -05:00
Denys Dmytriyenko
e4b90a654c 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:42 -05:00
Denys Dmytriyenko
8d59a8f6f2 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:25 -05:00
Sam Nelson
082d640cf1 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:11 -05:00
Denys Dmytriyenko
726a67e38f 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:21 -05:00
Denys Dmytriyenko
b5216d7f9c linux-ti-staging: add latest critical fixes locally for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 11:06:35 -05:00
Franklin S. Cooper Jr
2c86c1957c 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:53:45 -05:00
Denys Dmytriyenko
3bca395fab linux-omap-psp: specify branch for bitbake to find SRCREV
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 10:46:01 -05:00
Denys Dmytriyenko
975ce2d93d linux-ti-staging: remove local patches that got merged to kernel tree
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-18 11:46:57 -05:00
Denys Dmytriyenko
800105c4c2 linux-ti-staging: drop SMP-disabling patch that breaks suspend/resume
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-17 10:26:36 -05:00
Denys Dmytriyenko
5b56c0ce90 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:13:53 -05:00
Denys Dmytriyenko
2ac3b4537f linux-ti-staging: update with v2 of LCD resume fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-14 16:36:45 -05:00
Denys Dmytriyenko
f3551ab724 am33x-cm3: update with I2C clock rate calculation fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-13 17:58:28 -05:00
Denys Dmytriyenko
7df8efba13 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:28 -05:00
Denys Dmytriyenko
5b6c24b167 linux-ti-staging: update with PM, connectivity and Display/Audio fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 16:54:26 -05:00
Denys Dmytriyenko
e5984623e9 u-boot-ti-staging: update with QSPI partition size changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 16:54:26 -05:00
Denys Dmytriyenko
bef5c59b8c 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:16:13 -05:00
Denys Dmytriyenko
71a8222476 linux-ti-staging: update to 3.12.10, merge Audio/Display fixed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 22:16:09 -05:00
Denys Dmytriyenko
89d2711fb4 am33x-cm3: update md5 for license reformat, fix CC unset issue
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 01:01:14 -05:00
Denys Dmytriyenko
51b183dcde u-boot-ti-staging: update with many fixes for the upcoming release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:38:44 -05:00
Denys Dmytriyenko
db1e0b9f31 linux-ti-staging: update with many fixes for the upcoming release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:38:44 -05:00
Denys Dmytriyenko
28a7655f79 am33x-cm3: update with FW version 0x185 aka 05.00.00.02
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:38:44 -05:00
Baptiste DURAND
d8d36acb07 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:36 -05:00
Sam Nelson
87b39200b2 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:01 -05:00
Sam Nelson
2bae56cfdc 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:57:07 -05:00
Sam Nelson
df6816424c 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:57:07 -05:00
Sam Nelson
5d77a6c878 boot-monitor: keystone-evm: update to latest version
- Update SRC URL
- Update Revision string
- Update SRCREV commit id

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

-----
Updated Revision numbers
-----
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-27 20:00:02 -05:00
Sam Nelson
f97d0f5b24 cmem: adding new recipe for cmem
cmem module provides user space contiguous memory allocation

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-27 16:21:05 -05:00
Denys Dmytriyenko
7f2773454b linux-ti-staging: update to stable 3.12.9, other bugfixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-27 14:38:43 -05:00
Denys Dmytriyenko
f894102725 linux-ti-staging: update to stable 3.12.8, other bugfixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-23 13:52:52 -05:00
Chase Maupin
5e6aed54ec linux-ti-staging: remove initscript dependency
* Remove the RDEPENDS for the am33x-cm3-initscript package since
  the latest kernel source use the hotplug functionality to load
  the firmware.
* Updated the SRCREV to the latest kernel sources which include
  the hotplug fix.
* Bump the MACHINE_KERNEL_PR for the am335x and am437x devices
  which are affected.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:33:42 -05:00
Chase Maupin
c27ca998e2 am33x-cm3: clarify when initscripts are needed
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:33:41 -05:00
Chase Maupin
dde9c84e16 omap-a15: set the UBI_VOLNAME to match u-boot default
* By setting the UBI_VOLNAME variable the default name for the
  UBI rootfs will match the default used by u-boot so images
  built through OpenEmbedded will work with out-of-box u-boot.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:33:41 -05:00
Samuli Piippo
007d3ff11b libgles-omap3: add missing INSANE_SKIP for es9
es9 package was missing INSANE_SKIP used for other esX packages.

Signed-off-by: Samuli Piippo <samuli.piippo@digia.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:33:41 -05:00
Denys Dmytriyenko
561b40ddf9 vpe-vpdma: update SRCREV and pass CROSS_COMPILE
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:33:41 -05:00
Chase Maupin
21f4d17302 Graphics SDK: Add 5.01.00.01 version
* Add the 5.01.00.01 version of the graphics SDK which supports
  suspend/resume operations for the v3.12 and later kernels.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-14 15:28:44 -05:00
Chase Maupin
6493ace690 linux-ti-staging: Add dependency for VPE firmware
* The VPE firmware should only be added for the dra7xx-evm
  machine type since that is the device with the VPE IP.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-14 14:45:32 -05:00
Chase Maupin
c0de045840 vpe-vpdma: Package for VPE DMA FW and test app
* This recipe will create the firmware and test application
  packages.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-14 14:45:32 -05:00
Denys Dmytriyenko
3d32a8e701 linux-ti-staging: update with fix for remoteproc/DT conflict
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-18 12:54:50 -05:00
Denys Dmytriyenko
3e172af061 u-boot-ti-staging: update with am43x dtb relocation fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-17 21:39:58 -05:00
Denys Dmytriyenko
2d22078fa2 linux-ti-staging: update with fixes for platform and connectivity
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-17 21:39:58 -05:00
Chase Maupin
c7237350bc am33x-cm3: Add support for ti43x devices
* The ti43x devices use the same firmware image but load it
  slightly differently.
* Add a different init script to load the firmware image for
  ti43x devices.
* Because there are different init script make the package
  machine specific.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-14 02:29:53 -05:00
Denys Dmytriyenko
ad434b55d1 u-boot-ti-staging: update with omap5 clock fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-14 02:23:54 -05:00
Denys Dmytriyenko
9743993745 linux-ti-staging: update with fixes for audio-display and connectivity
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-14 02:23:54 -05:00
Denys Dmytriyenko
b764ba4c14 u-boot-ti-staging: update with more fixes for release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:24 -05:00
Denys Dmytriyenko
ac5e361a84 linux-ti-staging: update to 3.12.4 with more fixes for release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:24 -05:00
Denys Dmytriyenko
1738b8b572 am33x-cm3: update to v05.00.00.01 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:24 -05:00
Denys Dmytriyenko
7d91b3d793 am437x-evm.conf: update UBI values specific to AM437x NAND
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:24 -05:00
Denys Dmytriyenko
802a01fd24 linux-ti-staging: update to 3.12.2 plus fixes in connectivity, pm, rpmsg etc.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-07 16:29:22 -05:00
Denys Dmytriyenko
67499500f2 libgles-omap3, omap3-sgx-modules: swap around DEFAULT_PREFERENCE setting
This way the default for am335x and am437x will be the new 5.00.00.01 Graphics
SDK release, that matches the default 3.12 kernel.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-12-04 14:52:08 -05:00
Denys Dmytriyenko
7923a08761 omapdrm-pvr: fix the license definition
From the README file:

You may use, distribute and copy this software under the terms of the MIT
license.  Details of this license can be found in the file "MIT-COPYING".

Alternatively, you may use, distribute and copy this software under the terms
of the GNU General Public License version 2.  The full GNU General Public
License version 2 can be found in the file "GPL-COPYING".

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-25 09:34:47 -05:00
Franklin S. Cooper Jr
671713a344 ti43x.inc: Add SGX as MACHINE_FEATURES
* New Graphics SDK with am43x support has been added.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-22 13:57:01 -05:00
Denys Dmytriyenko
c7320f2271 linux-ti-staging: 3.12.1, SGX DT, fixes in audio/display, connectivity, pm, etc.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-22 13:54:04 -05:00
Denys Dmytriyenko
29ebd45c3d linux-ti-glsdk: omap5-sevm DTB no longer exists
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-22 02:38:04 -05:00
Denys Dmytriyenko
8d8b62c137 recipes-bsp: add recipe for PowerVR SGX544MP2 kernel drivers
* The PowerVR SGX544MP2 is found on omap5 and dra7xx devices. This
  recipe adds support for the PowerVR graphics subsystem.

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Siddharth Heroor <heroor@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-22 02:38:04 -05:00
Mrinmayee Hingolikar
8f881dd965 libgles: added OMAP5 libs for graphics acceleration
These libraries are not distributable in source and hence
are available only as binary. They implement OpenGLES 1.x and
OpenGLES 2.x accelerated using SGX 544-MP2 found in OMAP5
class of devices.

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 23:17:55 -05:00
Mrinmayee Hingolikar
a3932f6c66 abefw: firmware for OMAP4 and OMAP5 ABE
The OMAP5 Audio Backend requires a 'firmware' to enable
  sound. This recipe installs a prebuilt firmware. This
  part is a hack, as in the current form, the firmware
  cannot be cross-compiled. There is a plan to fix this
  and hopefully, this recipe is short-lived. Once the code
  is fixed, we should have new recipes that build the firmware
  and clean up this recipe.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 23:17:55 -05:00
Mrinmayee Hingolikar
d6b47b7cd7 u-boot-glsdk: update to latest fixes
* Migration of u-boot code to omapzoom.org. The development tree is shared
  between the Linux and Android teams.This enables a common u-boot development
  platform for both the teams for better alignment.
* Enable UART boot mode for dra7xx
* Add VIP,VPE and Ethernet crossbar setting for dra7xx
* Add SPL API, QSPI, and serial flash support of dra7xx

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 23:17:55 -05:00
Denys Dmytriyenko
5ae405999c libgles-omap3: update cputype to support 3.12 and AM43x device
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Denys Dmytriyenko
dd58f81f92 omap3-sgx-modules: add new Graphics SDK 05.00.00.01 alpha release
* Initial support for AM43x platform
* 3.12 kernel support for AM335x & AM43x

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Denys Dmytriyenko
802c10bc65 libgles-omap3: add new Graphics SDK 5.00.00.01 alpha release
* Adds initial support for AM43x platform
* Supports 3.12 kernel for AM335x and AM43x

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Franklin S. Cooper Jr
e0cd3a7e6f libgles-omap3: Add support for AM43x in common libgles-omap3 include files
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-21 21:49:40 -05:00
Denys Dmytriyenko
b4d07f3b7c linux-ti-staging: update with the final 3.12 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-05 13:37:28 -05:00
Denys Dmytriyenko
dabd83e96f layer.conf: prepend instead of append to sort before oe-core in BBPATH
This helps avoid bblayers.conf ordering issues, when temporarily overriding
files from oe-core in meta-ti.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-05 13:37:22 -05:00
Mrinmayee Hingolikar
400dc74ceb linux-ti-glsdk: Update to latest fixes
* Kernel source migration from git.ti.com to omapzoom.org. The development
  tree is shared between the Linux and Android teams.This enables a common
  kernel development platform for both the teams for better alignment.
* Add support for VIP and VPE
* Add wilink/wlan support
* Enable rpmsg/remoteproc driver for multimedia

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-01 16:14:57 -04:00
Denys Dmytriyenko
39d7d9de23 am33x-cm3: update to specify correct tag and branch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-31 13:08:19 -04:00
Denys Dmytriyenko
7e054d1277 linux-ti-staging: update to 3.12-rc7 and latest merges of feature trees
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-30 10:41:36 -04:00
Denys Dmytriyenko
9f888be5ef am33x-cm3: update PM firmware for AM335x to 05.00.00.00
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Dave Gerlach <d-gerlach@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Cc: Carlos Hernandez <ceh@ti.com>
Cc: Russ Dill <Russ.Dill@ti.com>
2013-10-29 13:44:20 -04:00
Chase Maupin
4aca8bd063 linux-ti-staging: Update for AM437x GP EVM DTB
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-25 17:59:42 -04:00
Chase Maupin
b4349f8596 dra7xx-evm: remove u-boot preferred provider
* Now the DRA7xx support is fully merged into upstream u-boot
  then we can remove setting the PREFERRED_PROVIDER for
  u-boot and virtual/bootloader to u-boot-dra7xx and instead
  pick up the default setting from the omap-a15.inc file.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-22 16:25:38 -04:00
Denys Dmytriyenko
f61008a203 linux-ti-staging: update to 3.12-rc5 and latest merges of feature trees
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-18 12:25:30 -04:00
Chase Maupin
6d0651e0ac u-boot-ti-staging: update to 2013.10 release
* Update the U-Boot LICENSE md5sum for the new release.
* Update the PV for the new U-Boot release
* Add the SRCREV that points to the 2013.10 release
* Use the ti-u-boot-2013.10 branch

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-18 12:20:42 -04:00
Denys Dmytriyenko
084544208a init-ifupdown: move interfaces file from netbase to new init-ifupdown
This change has been backported from master to dylan

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-13 19:14:22 -04:00
Denys Dmytriyenko
d486c82e49 recipes: cruft removal and seasonal cleanup
* Eliminate need for BBMASK - remove images requiring systemd/angstrom dependency
* Move ti-test packagegroup to proper location and update from latest Arago
* Move BoneScript and Bone GSG recipes to recipes-ti/beagleboard
* README in recipes-ti warns about unsupported nature of those packages

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-13 18:25:19 -04:00
Franklin S. Cooper Jr
fa4872bb1f Revert "linux-ti-staging_git: Mimic patch "Correct post(inst|rm) package association""
This reverts commit c9a63ed5f4.

Patch has been picked up in oe-core/dylan.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-13 17:56:08 -04:00
Franklin S. Cooper Jr
76beabe375 machine conf: Set correct default ubi volume name for 335x and 437x
* For am335x and am437x, the kernel and  u-boot expects the ubifs volume name
  to be set to "rootfs".
* Set UBI_VOLNAME variable to "rootfs" so that the ubifs files generated by OE
  will work.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-13 17:56:03 -04:00
Franklin S. Cooper Jr
07001d9115 linux-ti-staging: Switch DTB from using machine name to soc family name
* Use SOC family value for am437x instead of machine name for DTB files.
* This mimics the current approach taken for am335x.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-10 18:47:15 -04:00
Denys Dmytriyenko
a46b7207a3 ti33x: switch KERNEL_IMAGETYPE to zImage by default
To be used with latest u-boot that prefers zImage over uImage

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-10-10 12:17:57 -04:00
Denys Dmytriyenko
db99578a19 linux-ti-staging: merged PM, platform & connectivity, install boneblack DTB
* The PM for TI parts was merged in
* Platform and connectivity got updated
* Since we now have separate DTB for BeagleBone Black, install it too

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-09 13:28:15 -04:00
Denys Dmytriyenko
1e928b703d linux-ti-staging: bump to 3.12-rc4 with latest merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-08 12:15:45 -04:00
Franklin S. Cooper Jr
c9a63ed5f4 linux-ti-staging_git: Mimic patch "Correct post(inst|rm) package association"
* Mimic the patch kernel.bbclass: Correct post(inst|rm) package association
* This patch ensures that a proper symlink is created that satisfies U-boot's
  requirement of having the kernel image in the rootfs.
* This patch is already part of oe-core master and needs to be added to oe-core
  dylan.
* It can be reverted from meta-ti once it is pushed to oe-core/dylan

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-04 14:59:47 -04:00
Denys Dmytriyenko
c4b3772061 linux-ti-kernel: update with more merges, get devtree files in to rootfs
Set up the run-time dependency on the package with devicetree files to be
installed in /boot directory of the rootfs. The new U-boot prefers to load
them from /boot directory of the rootfs instead of the separate boot partition.
Also, there are some specific requirements for naming DTB files in /boot
directory (like no extra prefixes), but that should be addressed separately.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-04 09:15:20 -04:00
Denys Dmytriyenko
6b9525bd09 u-boot-ti-staging: update to the latest 2013.10-rc4, README changed slightly
* Bump the SRCREV for 2013.10-rc4 pre-release
* The Licenses/README file has been changed with new licenses added, but the
  general license hasn't changed from GPLv2, so re-hash the file

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Tom Rini <trini@ti.com>
2013-10-02 16:11:20 -04:00
Denys Dmytriyenko
24edd661d5 linux: set PR from MACHINE_KERNEL_PR, bypass machine_kernel_pr.bbclass from meta-oe
Essentially, machine_kernel_pr.bbclass does this one line assignment, but
introduces a new unnecessary dependency on meta-openembedded/meta-oe layer.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-30 16:34:15 -04:00
Denys Dmytriyenko
1723eb0089 linux-ti-staging: update to 3.12-rc3 with rpmsg, connectivity, audio and display merged
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-30 16:34:15 -04:00
Denys Dmytriyenko
9e55646453 linux-keystone: update from 3.6.6 to 3.8.4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-30 16:34:15 -04:00
Denys Dmytriyenko
9d38e2e41b linux-omap-psp-2.6.32: remove old linux-omap3 PSP kernel
* Many machines are supported by newer 3.x kernel recipes
* Few old platforms are still supported by 2.6.37 recipes
* Some platforms are not supported in meta-ti, like Crane, Touchbook, Overo
* For any platform still requiring this outdated kernel, the recipe can be picked
  up from Danny or Denzil

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-30 16:34:15 -04:00
Denys Dmytriyenko
e8455c323f linux-davinci 2.6.32: remove old hawkboard-specific kernel
* Hawkboard platform is not supported in meta-ti.
* Since there no new revs of the kernel, the old recipe can be picked up from
  Danny or Denzil.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-09-30 16:34:09 -04:00
Denys Dmytriyenko
fd9313f1e1 linux-omap4-3.1.0: remove old pandaboard-specific kernel
Pandaboard is supported by newer 3.4+ kernel recipes.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-30 16:34:08 -04:00
Denys Dmytriyenko
edfd76fce4 linux-3.0: remove old beagleboard-specific 3.0 and 3.1rc kernel recipes
Beagleboard is supported by newer 3.2 and 3.3.7 kernel recipes.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-09-30 16:34:01 -04:00
Denys Dmytriyenko
06afc3984d linux-omap-2.6.39: remove old beagleboard-specific and not supported kernel
Beagleboard is supported by newer 3.x kernel recipes.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-09-30 16:33:39 -04:00
Denys Dmytriyenko
9e595df297 Revert "linux: Inherit new machine_kernel_pr class"
This adds a new mandatory dependency on meta-openembedded layer. While we are
still trying to resolve an existing optional dependency, not bring a new one.
The MACHINE_KERNEL_PR requirement will need to be handled differently.

This reverts commit 6c1ab34c88.
2013-09-26 12:32:16 -04:00
Franklin S. Cooper Jr
6c1ab34c88 linux: Inherit new machine_kernel_pr class
* MACHINE_KERNEL_PR was originally defined in the kernel class located in
  meta-oe which overrode the version of the class in oe-core.
* Some time ago kernel.bbclass was removed from meta-oe and a separate class
  machine_kernel_pr was created to add support for MACHINE_KERNEL_PR.
* Since this variable is used significantly in both meta-ti and meta-arago make
  sure all the kernel recipes directly or indirectly inherit this new class.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-25 18:51:27 -04:00
Denys Dmytriyenko
4fb79a828f linux-ti-staging: fix missing kernel image in /boot
We rely on kernel-base having run-time dependency on kernel-image, which
normally would pull uImage/zImage into /boot directory of rootfs.
Thanks to Chase for pointing me in the right direction by noticing that our
addition of cm3 firmware breaks that dependency for ti33x.
The reason for that is RDEPENDS is being conditionally assigned with ?=
in kernel.bbclass and using += with machine-override clears that value due
to the order of processing. Hence _append should be used instead of += to
process it after the machine-override takes place.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-09-25 16:54:15 -04:00
Denys Dmytriyenko
f75224052b ti43x, omap-a15: switch KERNEL_IMAGETYPE to zImage by default
* To be used with latest u-boot, that prefers zImage over uImage
* ti33x will follow as soon as u-boot changes its default for that platform

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Tom Rini <trini@ti.com>
2013-09-25 16:54:15 -04:00
Denys Dmytriyenko
d2a65d09c8 linux-ti-staging: make 3.12-rc the default for supported platforms, drop omap5-sevm.dtb
* DTB for OMAP5 sEVM was removed upstream, drop it from the recipe
* Don't mask the default preference to be picked up normally by supported machines

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-25 16:53:47 -04:00
Denys Dmytriyenko
124465369f u-boot-ti-staging: update to the latest 2013.10-rc2 and make it the default
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-25 16:53:13 -04:00
Denys Dmytriyenko
3cd1ddb25e linux*: don't force KERNEL_IMAGETYPE from recipes, let machine config set it
Some kernel versions (and corresponding u-boot) may still need to set uImage,
as preferred image type, since the machine config changes preference to zImage
for newer kernels - keep that for ti33x and omap-a15 stuck on 3.2 and 3.8.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2013-09-25 16:52:53 -04:00
Denys Dmytriyenko
a27001ce6d linux-ti-staging: bump to 3.12-rc1 with platform-base and PMIC merged
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Dan Murphy <DMurphy@ti.com>
2013-09-20 15:22:24 -04:00
Denys Dmytriyenko
c187c2c590 ligles-omap3, omap3-sgx-modules: correct checksum assignment
Checksums are handled as var attributes and require immediate expansion,
so use := operation as in the original patches, that got lost in the update.
Otherwise do_fetch will fail to validate the checksums.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-16 17:06:35 -04:00
Denys Dmytriyenko
ebfbd8ee95 libgles-omap3: add automatic selection between softfp and hardfp binaries
This is based on the work by Franklin Cooper, with following changes:
* Cleanup and simplify the logic
* Reduce the number of Python calls
* Expand support from Raw to X11 variant

The original description:
* The Graphics SDK includes some binaries that are prebuilt.
* These prebuilt binaries come in two versions of the Graphics SDK. By default
  the prebuilt binaries are built using a softfp toolchain. A separate hardfp
  Graphics SDK exist that contains binaries that are prebuilt with a hardfp
  toolchain.
* Add support for both by checking to see if the toolchain used in the OE build
  is using a hardfp or softfp toolchain.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-13 12:07:09 -04:00
Denys Dmytriyenko
e923dfcaf3 omap3-sgx-modules: add automatic selection between softfp and hardfp binaries
This is based on the work by Franklin Cooper, with following changes:
* Cleanup and simplify the logic
* Reduce the number of Python calls
* Expand support from Raw to X11 variant

The original description:
* The Graphics SDK includes some binaries that are prebuilt.
* These prebuilt binaries come in two versions of the Graphics SDK. By default
  the prebuilt binaries are built using a softfp toolchain. A separate hardfp
  Graphics SDK exist that contains binaries that are prebuilt with a hardfp
  toolchain.
* Add support for both by checking to see if the toolchain used in the OE build
  is using a hardfp or softfp toolchain.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-13 12:06:53 -04:00
Denys Dmytriyenko
c517bb7043 ti-pru-sw-edma-driver: let module.bbclass package modules automatically
The new method is to automatically package modules into kernel-module-<modname>
and make the custom name depend on the standard unified one. Messing with
FILES_${PN} usually causes problems, so avoid it and let module.bbclass do
it's magic.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-11 22:18:27 -04:00
Denys Dmytriyenko
e2748c6cb2 ti-ocf-crypto-module: let module.bbclass package modules automatically
The new method is to automatically package modules into kernel-module-<modname>
and make the custom name depend on the standard unified one. Messing with
FILES_${PN} usually causes problems, so avoid it and let module.bbclass do
it's magic.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-09 21:57:18 -04:00
Denys Dmytriyenko
84576bfff1 libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-03 13:05:56 -04:00
Denys Dmytriyenko
9be75edbe0 libgles-omap3: introduce INC_PR
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:51 -04:00
Denys Dmytriyenko
9bf0bc5611 libgles-omap3-x11: do not fail if pvr-init is not yet installed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:44 -04:00
Denys Dmytriyenko
87fe2c4653 ompa3-sgx-modules-x11: fix some build failures with latest versions
* Do not hardcode kernel source location and name.
* Fix some discrepancies between GFX SDK versions as related to DRM.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:38 -04:00
Denys Dmytriyenko
ae4f09067c libgles-omap3: fix some conflicts between X11 and Raw versions
* Properly define all PROVIDES, RPROVIDES, RCONFLICTS and RREPLACES variables.
* Skip X11 recipe altogether in non-X11 distros to avoid broken dependencies
  for missing X libraries.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-09-03 13:05:14 -04:00
Denys Dmytriyenko
bbc9ae0c90 ti43x: disable sgx for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-28 10:52:23 -04:00
Denys Dmytriyenko
62b9360fef linux-ti-staging/linux-ti-glsdk: adjust DTB handling to new syntax
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-26 12:25:26 -04:00
Denys Dmytriyenko
95d34de649 linux-dtb.inc: overlay the latest version from oe-core/master
With recent kernel versions now using CPP and kernel headers, it's better
to use kernel's in-tree DTB compilation instead of building and using our
own DTC compiler externally. This overlays the changed approach from latest
oe-core/master into Dylan.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-26 12:21:21 -04:00
Denys Dmytriyenko
e9e944715a am437x-evm: add machine config for Sitara AM437x EVM
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-08-26 10:34:16 -04:00
Denys Dmytriyenko
b90ba5a2db ti43x: add new SOC family for Sitara AM43xx Cortex-A9 processors
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-08-26 10:34:16 -04:00
Denys Dmytriyenko
2abe4771ea u-boot-ti-staging: add the latest integration tree in prep for 2013.10 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-08-26 10:33:53 -04:00
Denys Dmytriyenko
c652f49c33 linux-ti-staging: add the latest integration tree in prep for 3.12 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-08-23 16:19:24 -04:00
Denys Dmytriyenko
89a028b124 boot-monitor: use commit ID instead of tag, update to latest release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-23 11:03:12 -04:00
Valentin Cobelea
ee570b6331 recipes-ti: fix warning "variable key FILES_${PN}-dev replaces original key"
Use properly FILES_${PN}-dev to avoid warning about replacing value with default.

Signed-off-by: Valentin Cobelea <valentin.cobelea@enea.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-19 19:23:37 -04:00
Ian Reinhart Geiser
ec83f7d77a xserver-xf86-config: Fix filespath usage
The old way of setting THISDIR in a bbappend clobbers THISDIR for
other layers.  This change makes it use the new way that is done
in dylan.

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-19 19:23:32 -04:00
Ian Reinhart Geiser
acf1d6a980 formfactor: Fix filespath usage
The old way of setting THISDIR in a bbappend clobbers THISDIR for
other layers.  This change makes it use the new way that is done
in dylan.

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-19 19:23:27 -04:00
Denys Dmytriyenko
cc1a67b39d libdrm: restore libdrm-tests package that got missed with TI version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-10 16:55:55 -04:00
Franklin S. Cooper Jr
c8377df0b4 u-boot: Add memory alignment fix for armv7 for am37x and am3517
* On am335x a memory alignment issue was found when using the Linaro toolchain.
* A similar patch was applied for am335x that fixed this well documented issue.
* Add a similar fix to am37x and am3517 since this is a generic armv7 issue.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-11 13:51:45 -04:00
Franklin S. Cooper Jr
f35d7c5849 u-boot-am33x: Update am335x to use latest u-boot for 3.2 kernel
Latest commit includes the following:
* Add support for Beaglebone Black
* Add fix for Linaro toolchain to insure NOR and RNDIS works.
* Add workaround for Errata 1.0.24
* Enable DDR3 power down for BBB and GP evm.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-11 13:51:45 -04:00
Franklin S. Cooper Jr
673f6c08c1 linux-am335x-psp: Add 1 GHZ Support for BBB
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 12:01:47 -04:00
Franklin S. Cooper Jr
f815f3aa4c linux-am335x-psp: Add Beaglebone Black support
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 12:01:43 -04:00
Franklin S. Cooper Jr
988bc01988 am33x-cm3: Add support for PG 2.1 silicon.
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 12:01:39 -04:00
Franklin S. Cooper Jr
fc01b1e984 linux-am335x-psp: Add patch to enable SR on PG 2.x boards.
* Add patch that enables Smart Reflex on new PG 2.x boards.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 12:01:34 -04:00
Franklin S. Cooper Jr
23506a1771 linux-am335x-psp: Enable USB with DMA by default
* Patches have been added to fix some USB with DMA.
* Enable support for this by default by removing the patch that disabled it.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 12:01:30 -04:00
Franklin S. Cooper Jr
72a9e98bfc linux-am335x-psp: Update to PSP release 04.06.00.11
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 12:01:25 -04:00
Siddharth Heroor
1e463c7395 u-boot-glsdk: add GLSDK Staging tree
* The GLSDK u-boot staging tree is based off the Core SDK 2013.04.02
  release. This tree will be used to stage patches and fixes on
  top of the Core SDK U-Boot. The GLSDK release will use this tree
  for product development.
* Includes fix to OMAP5 so that QSPI is not enabled.

Signed-off-by: Siddharth Heroor <heroor@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 11:39:28 -04:00
Siddharth Heroor
c5d939ad13 linux-ti-glsdk: update to latest fixes
* Fixes for USB, SATA and enables GPU (omapdrm).
* Fix OMAP5 LDO1 value.

Signed-off-by: Siddharth Heroor <heroor@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-02 11:39:26 -04:00
Siddharth Heroor
becf98b038 libdrm: Add GLSDK specific staging tree for omap-a15
* Override SRC_URI to use TI's tree at https://git.ti.com/glsdk/libdrm
  This tree includes patches on top of the upstream libdrm for
  omap5 and dra7xx class of devices.

v2 :
* Change PR to "${INC_PR}.0" instead of using the SRCREV as per comments
  received in v1.
* Add missing configure options to get Kernel Mode Setting (KMS) as
  well. This was missing in the original patch.

Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
Signed-off-by: Siddharth Heroor <heroor@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-01 00:54:55 -04:00
Siddharth Heroor
f31fba1c2a recipes-kernel: Add GLSDK specific kernel tree for omap-a15
* Machine compatible with only omap-a15 devices.
* The TI Staging tree will not be used to maintain K3.8. Instead,
  this new tree is set up as a production tree. Pending features
  for 3.8 will be implemented on this tree.
  - Backported features from linux mainline
  - Backported bug-fixes from linux mainline and linux-stable.
  - Features implemented by the GLSDK team which maybe product
    specific.
  This is the tree on which GLSDK kernel releases will be made.
* This recipe is based off the Core SDK 2013.04.02 released kernel
  recipe - recipes-kernel/linux/linux-ti-staging_3.8.bb

Signed-off-by: Siddharth Heroor <heroor@ti.com>
cc: Mrinmayee Hingolikar <mrinmayee@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-28 13:16:22 -04:00
Denys Dmytriyenko
869c1a5de3 u-boot: add support for SPL UART variant
This is an adaptation of a patch by Carlos Hernandez

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-25 14:12:37 -04:00
Denys Dmytriyenko
21f9705c8b omap3-sgx-modules: remove unnecessary patches for x11, cleanup old patch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:27 -04:00
Denys Dmytriyenko
14671da0be libgles-omap3-x11: add missing X11 version of the recipe, after it got split
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Denys Dmytriyenko
a6e3b7466f libgles-omap3: don't RCONFLICT/RREPLACE no-x version with x11 as it breaks non-X distros
* Enables building/installing both X11 and RAW libs/demos. Plus otherwise the
  build is broken for non-X distros, as it pulls in X11 deps due to RREPLACES...
* Fix broken DEPENDS copy/paste typo.
* Also, clean up after the previous changes - extra empty lines, indentation, etc.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
147715e937 omap3-sgx-modules-x11: Separate X11 SGX driver package into new recipe
omap3-sgx-modules now contains only non-X11 drivers. The X11 driver is
available in the omap3-sgx-modules-x11 package.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
74019397b8 libgles-omap3-x11: Separate X11 SGX driver package into new recipe
libgles-omap3 now contains only non-X11 drivers. The X11 driver is
available in the libgles-omap3-x11 package. This package has
dependency on specific kernel versions for DRM builds.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
60b90439f7 libgles-omap3: Package files with right permission
This patch adds correct permissions for startup script pvr-init.

This is part of a clean up of the Graphics recipe starting from
4.09.00.01 version of the Graphics SDK.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
9971090bfc libgles-omap3: Add missing RPROVIDES
RPROVIDES specifies the libraries that are dynamically loaded
at runtime. This patch fixes "no package provides libGLESv2.so" and
similar errors that occur when including packages like qtbase.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
e6e536bc27 libgles-omap3: Remove copying of unused header files
Current recipe copies lot of headers that are unused, including
unsupported files for OpenVG. This patch removes copying of such files.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
4b299c53e3 libgles-omap3: Remove OpenVG references
OpenVG API is no longer supported in the SGX Graphics SDK.
Customers are encouraged to move to OpenGL ES2.x.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
250f27d11f libgles-omap3: Remove unsupported core build option ES2.0
ES2.0 build option for SGX user binaries is deprecated as the
corresponding SOC is no longer in production

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
f1192cf401 omap3-sgx-modules: Remove X11 related build and packaging
SGX530 driver for X11 is only buildable and testable standalone
with the pre-built X11 package provided with the Graphics SDK.
This patch removes X11 build from the default kernel module recipe,
to enable moving X11 build to a separate recipe.

This is part of a clean up of the Graphics recipe starting from
4.09.00.01 version of the Graphics SDK.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Prabindh Sundareson
519575bd04 libgles-omap3: Remove X11 related build and packaging
SGX530 driver for X11 is only buildable and testable standalone
with the pre-built X11 package provided with the Graphics SDK.
This patch removes X11 build from the default recipe, to enable
moving X11 build to a separate recipe.

This is part of a clean up of the Graphics recipe starting from
4.09.00.01 version of the Graphics SDK.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:53:05 -04:00
Denys Dmytriyenko
5c395d6efb linux-ti-staging: update to ti2013.04.02 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:50:36 -04:00
Chase Maupin
6049ce3cc2 u-boot-dra7xx: update to latest sources
* Update to latest sources which pulls in the QSPI patches

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:50:27 -04:00
Chase Maupin
41a59d395d linux-ti-staging: update kernel SRCREV
* Update the kernel SRCREV to pickup DSS fixes for the dra7xx
  devices.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:50:17 -04:00
Denys Dmytriyenko
59e12fdc29 u-boot-dra7xx: add latest u-boot from the integration branch
While the code is being pulled from ti-u-boot integration tree, J6/DRA7xx bring up
is being done from a separate branch that does not include all the commits made
for am335x. Hence, until those branches are merged with the mainline and unified
in a single recipe, a separate recipe just for DRA7xx makes more sense. This
recipe should eventually go away and unified under u-boot-ti-staging one.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-06-21 13:50:07 -04:00
Chase Maupin
5b1feb3a2b dra7xx-evm: Update serial console
* Updated the serial console to use ttyO0 which is what the
  evm uses.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:49:58 -04:00
Chase Maupin
463ad61b83 linux-ti-staging: Add dra7xx-evm support
* Add the DTB entries for the dra7xx-evm machine type
* Update to the latest git sources which have dra7xx-evm support.
* Update the PV to match the latest source version

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:49:44 -04:00
Denys Dmytriyenko
51d77864e0 am-sysinfo: remove an old outdated svn version
The recipe has been moved to meta-arago-extras long time ago. Moreover, SCM has
changed from svn to git, so this recipe is quite outdated.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:49:32 -04:00
Franklin S. Cooper Jr
9d102914f9 am33x-cm3: Split init script into its own package
* 3.8+ kernels use an init script to load the cm3 firmware.
* 3.2 kernel require the cm3 firmware during compile time therefore no init
  script is needed.
* Separate the init script from the main package and place it in its own
  package.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:49:21 -04:00
Denys Dmytriyenko
e889ac6dec linux-ti-staging: add package-specifier for RDEPENDS variable
Run-time variables are package-specific, not recipe.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 13:48:56 -04:00
2734 changed files with 523122 additions and 7246 deletions

4
README
View File

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

View File

@@ -0,0 +1,156 @@
inherit image
# Add the fstypes we need
IMAGE_FSTYPES_append = " tar.bz2 sdimg"
# Ensure required utilities are present
IMAGE_DEPENDS_sdimg = "genext2fs-native e2fsprogs-native"
# Change this to match your host distro
LOSETUP ?= "/sbin/losetup"
# Since these need to go in /etc/fstab we can hardcode them
# Since the vars are weakly assigned, you can override them from your local.conf
LOOPDEV ?= "/dev/loop1"
LOOPDEV_BOOT ?= "/dev/loop2"
LOOPDEV_FS ?= "/dev/loop3"
# Default to 4GiB images
SDIMG_SIZE ?= "444"
# FS type for rootfs
ROOTFSTYPE ?= "ext4"
BOOTPARTNAME_beaglebone = "BEAGLE_BONE"
BOOTPARTNAME ?= "${MACHINE}"
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
# Files and/or directories to be copied into the vfat partition
FATPAYLOAD ?= ""
IMAGE_CMD_sdimg () {
SDIMG=${WORKDIR}/sd.img
# sanity check fstab entry for boot partition mounting
if [ "x$(cat /etc/fstab | grep ${LOOPDEV_BOOT} | grep ${WORKDIR}/tmp-mnt-boot | grep user || true)" = "x" ]; then
echo "/etc/fstab entries need to be created with the user flag for the loop devices like:"
echo "${LOOPDEV_BOOT} ${WORKDIR}/tmp-mnt-boot vfat user 0 0"
false
fi
# cleanup loops
for loop in ${LOOPDEV} ${LOOPDEV_BOOT} ${LOOPDEV_FS} ; do
${LOSETUP} -d $loop || true
done
# If an SD image is already present, reuse and reformat it
if [ ! -e ${SDIMG} ] ; then
dd if=/dev/zero of=${SDIMG} bs=$(echo '255 * 63 * 512' | bc) count=${SDIMG_SIZE}
fi
${LOSETUP} ${LOOPDEV} ${SDIMG}
# Create partition table
dd if=/dev/zero of=${LOOPDEV} bs=1024 count=1024
SIZE=$(/sbin/fdisk -l ${LOOPDEV} | grep Disk | grep bytes | awk '{print $5}')
CYLINDERS=$(echo $SIZE/255/63/512 | bc)
{
echo ,9,0x0C,*
echo ,,,-
} | /sbin/sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${LOOPDEV}
# Prepare loop devices for boot and filesystem partitions
BOOT_OFFSET=32256
FS_OFFSET_SECT=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep Linux | perl -p -i -e "s/\s+/ /"|cut -d " " -f 2)
FS_OFFSET=$(echo "$FS_OFFSET_SECT * 512" | bc)
FS_SIZE_BLOCKS=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep Linux | perl -p -i -e "s/\s+/ /g" \
|cut -d " " -f 4 | cut -d "+" -f 1)
LOOPDEV_BLOCKS=$(/sbin/fdisk -l -u ${LOOPDEV} 2>&1 | grep FAT | perl -p -i -e "s/\s+/ /g"|cut -d " " -f 5)
LOOPDEV_BYTES=$(echo "$LOOPDEV_BLOCKS * 1024" | bc)
${LOSETUP} -d ${LOOPDEV}
${LOSETUP} ${LOOPDEV_BOOT} ${SDIMG} -o ${BOOT_OFFSET}
/sbin/mkfs.vfat ${LOOPDEV_BOOT} -n ${BOOTPARTNAME} $LOOPDEV_BLOCKS
# Prepare filesystem partition
# Copy ubi used by flashing scripts
if [ -e ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ] ; then
echo "Copying UBIFS image to file system"
cp ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${IMAGE_ROOTFS}/boot/fs.ubi
fi
# Prepare boot partion. First mount the boot partition, and copy the boot loader and supporting files
# from the root filesystem
mkdir -p ${WORKDIR}/tmp-mnt-boot
mount $LOOPDEV_BOOT ${WORKDIR}/tmp-mnt-boot
echo "Copying bootloaders into the boot partition"
if [ -e ${IMAGE_ROOTFS}/boot/MLO ] ; then
cp -v ${IMAGE_ROOTFS}/boot/MLO ${WORKDIR}/tmp-mnt-boot
else
cp -v ${DEPLOY_DIR_IMAGE}/MLO ${WORKDIR}/tmp-mnt-boot
fi
# Check for u-boot SPL
if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.img ] ; then
suffix=img
else
suffix=bin
fi
cp -v ${IMAGE_ROOTFS}/boot/uEnv.txt ${WORKDIR}/tmp-mnt-boot || true
cp -v ${IMAGE_ROOTFS}/boot/user.txt ${WORKDIR}/tmp-mnt-boot || true
cp -v ${IMAGE_ROOTFS}/boot/uImage ${WORKDIR}/tmp-mnt-boot || true
if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true
else
cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix
fi
if [ -n ${FATPAYLOAD} ] ; then
echo "Copying payload into VFAT"
for entry in ${FATPAYLOAD} ; do
# add the || true to stop aborting on vfat issues like not supporting .~lock files
cp -av ${IMAGE_ROOTFS}$entry ${WORKDIR}/tmp-mnt-boot || true
done
fi
echo "${IMAGE_NAME}-${IMAGEDATESTAMP}" > ${IMAGE_ROOTFS}/etc/image-version-info
# Cleanup VFAT mount
echo "Cleaning up VFAT mount"
umount ${WORKDIR}/tmp-mnt-boot
${LOSETUP} -d ${LOOPDEV_BOOT} || true
# Prepare rootfs parition
echo "Creating rootfs loopback"
${LOSETUP} ${LOOPDEV_FS} ${SDIMG} -o ${FS_OFFSET}
FS_NUM_INODES=$(echo $FS_SIZE_BLOCKS / 4 | bc)
case "${ROOTFSTYPE}" in
ext3)
genext2fs -z -N $FS_NUM_INODES -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${LOOPDEV_FS}
tune2fs -L ${IMAGE_NAME} -j ${LOOPDEV_FS}
;;
ext4)
genext2fs -z -N $FS_NUM_INODES -b $FS_SIZE_BLOCKS -d ${IMAGE_ROOTFS} ${LOOPDEV_FS}
tune2fs -L ${IMAGE_NAME} -j -O extents,uninit_bg,dir_index ${LOOPDEV_FS}
;;
*)
echo "Please set ROOTFSTYPE to something supported"
exit 1
;;
esac
${LOSETUP} -d ${LOOPDEV_FS} || true
gzip -c ${WORKDIR}/sd.img > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-${IMAGEDATESTAMP}.img.gz
rm -f ${WORKDIR}/sd.img
}

View File

@@ -1,101 +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 ti-cgt6x-native ti-pdk-build-rtos"
DEPENDS_append_omap-a15 = " ti-ccsv6-native"
DEPENDS_remove_ti33x = "ti-cgt6x-native"
DEPENDS_remove_ti43x = "ti-cgt6x-native"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
# HTML hyperlink text
PDK_COMP_LINK_TEXT ?= ""
DOC_FILE = "API_Documentation_${PN}.html"
create_doc_link () {
PDK_COMP_DIR=`get_build_dir_bash`
echo "<a href=\"${PDK_COMP_DIR}/docs/doxygen/html/index.html\">${PDK_COMP_LINK_TEXT}</a>" >> ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc/${DOC_FILE}
}
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"
XDCMAKE ?= "1"
LIMSOCS ?= ""
LIMBOARDS ?= ""
PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}"
do_configure() {
BUILD_DIR=${B}/`get_build_dir_bash`
mkdir -p ${BUILD_DIR}
cp -r ${S}/* ${BUILD_DIR}
if [ "${XDCMAKE}" == "1" ]
then
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/" {} \;
fi
}
do_compile() {
if [ "${XDCMAKE}" == "1" ]
then
${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 .
else
BUILD_DIR=${B}/`get_build_dir_bash`
cd ${BUILD_DIR}
make release LIMIT_SOCS="${LIMSOCS}" LIMIT_BOARDS="${LIMBOARDS}"
fi
}
do_install () {
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
if [ "${PDK_COMP_LINK_TEXT}" != "" ]
then
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/.extras/doc
create_doc_link
fi
}
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"

View File

@@ -1,5 +1,5 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
BBPATH =. "${LAYERDIR}:"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
@@ -7,21 +7,3 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ti"
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "6"
LICENSE_PATH += "${LAYERDIR}/licenses"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
ti-sgx-ddk-km \
ti-sgx-ddk-um \
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"
IMAGE_FSTYPES += "tar.gz ubi"
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 += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0 115200;ttyS3 115200;ttyO3"
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 5700"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

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

View File

@@ -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,14 +6,12 @@ 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 += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubi tar.gz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
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: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 2700"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 994"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

View File

@@ -1,14 +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"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am4x"

View File

@@ -1,36 +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 += "tar.xz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyO2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
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

@@ -1,18 +0,0 @@
#@TYPE: Machine
#@NAME: AM57xx HS EVM
#@DESCRIPTION: Machine configuration for the TI AM57xx HS EVM
require conf/machine/am57xx-evm.conf
UBOOT_MACHINE = "am57xx_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
OPTEEMACHINE = "ti"
OPTEEFLAVOR = "am57xx"
OPTEEOUTPUTMACHINE = "ti"

View File

@@ -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,15 +2,11 @@
#@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"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyO0"
UBOOT_MACHINE = "dra7xx_evm_config"
@@ -25,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:
@@ -34,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,18 +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"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
OPTEEMACHINE = "ti"
OPTEEFLAVOR = "dra7xx"
OPTEEOUTPUTMACHINE = "ti"

View File

@@ -1,13 +1,12 @@
require conf/machine/include/tune-arm926ejs.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r54"
MACHINE_KERNEL_PR = "r53"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPE = "uImage"
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-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 opencl"

View File

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

View File

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

View File

@@ -1,27 +1,21 @@
SOC_FAMILY = "keystone"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-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 ?= "armv7athf-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 ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
@@ -14,17 +13,16 @@ 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 = "r127"
MACHINE_KERNEL_PR = "r125"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPE = "uImage"
# Default providers, may need to override for specific machines
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-omap"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "omap3_evm_config"

View File

@@ -1,12 +1,10 @@
SOC_FAMILY = "omap4"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-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_u-boot = "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 \
@@ -15,9 +13,9 @@ XSERVER = "xserver-xorg \
xf86-video-omap"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r4"
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 ?= "armv7athf-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 ?= "armv7athf-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

@@ -2,19 +2,15 @@
#@NAME: Keystone 2 K2E machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
require conf/machine/include/k2e.inc
MACHINE_FEATURES += "opencl"
require conf/machine/include/keystone.inc
UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""

View File

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

View File

@@ -1,34 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G EVM
require conf/machine/include/k2g.inc
MACHINE_FEATURES += "alsa opencl"
UBOOT_MACHINE = "k2g_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2g"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
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

@@ -1,7 +0,0 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2G ICE machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2G ICE
require conf/machine/k2g-evm.conf
UBOOT_MACHINE = "k2g_ice_config"

View File

@@ -4,17 +4,13 @@
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
@@ -24,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

@@ -4,17 +4,13 @@
require conf/machine/include/keystone.inc
MACHINE_FEATURES += "opencl"
UBOOT_MACHINE = "k2l_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2l"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubi tar.gz cpio"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""

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,62 +0,0 @@
TEXAS INSTRUMENTS TEXT FILE LICENSE
Copyright (c) [earliest year] - [latest year] Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, royalty-free,
non-exclusive license under copyrights and patents it now or hereafter owns
or controls to make, have made, use, import, offer to sell and sell
("Utilize") this software subject to the terms herein. With respect to the
foregoing patent license, such license is granted solely to the extent that
any such patent is necessary to Utilize the software alone. The patent
license shall not apply to any combinations which include this software,
other than combinations with devices manufactured by or for TI ("TI
Devices"). No hardware patent is licensed hereunder.
Redistributions must preserve existing copyright notices and reproduce this
license (including the above copyright notice and the disclaimer and (if
applicable) source code license limitations below) in the documentation
and/or other materials provided with the distribution
Redistribution and use in binary form, without modification, are permitted
provided that the following conditions are met:
* No reverse engineering, decompilation, or disassembly of this software is
permitted with respect to any software provided in binary form.
* any redistribution and use are licensed by TI for use only with TI
Devices.
* Nothing shall obligate TI to provide you with source code for the software
licensed and provided to you in object code.
If software source code is provided to you, modification and redistribution
of the source code are permitted provided that the following conditions are
met:
* any redistribution and use of the source code, including any resulting
derivative works, are licensed by TI for use only with TI Devices.
* any redistribution and use of any object code compiled from the source
code and any resulting derivative works, are licensed by TI for use only
with TI Devices.
Neither the name of Texas Instruments Incorporated nor the names of its
suppliers may be used to endorse or promote products derived from this
software without specific prior written permission.
DISCLAIMER.
THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1,206 +0,0 @@
Texas Instruments Incorporated
Technology and Software Publicly Available
Software License Agreement
Important - Please read the following license agreement carefully. This is
a legally binding agreement. Do not click "i have read and agree" or use
(as applicable) the Licensed Materials unless: (1) you are authorized to
accept and agree to the terms of this license agreement on behalf of
yourself or your company (as applicable) and (2) you intend to be bound by
the terms of this license agreement on behalf of yourself or your company
(as applicable).
This Software License Agreement ("Agreement") is a legal agreement between
you (either an individual or entity) and Texas Instruments Incorporated
("TI"), 12500 TI Boulevard, Dallas, Texas 75243. The "Licensed Materials"
subject to this Agreement include the software programs (in whole or in
part), that accompany this Agreement and set forth in the applicable
software manifest and which you access "on-line" and/or electronic
documentation (in whole or in part) associated and provided with these
software programs. By installing, copying or otherwise using the Licensed
Materials you agree to abide by the terms of this Agreement. If you choose
not to accept or agree with these terms, do not download or install the
Licensed Materials.
Note Regarding Possible Access to Open Source Software: The Licensed
Materials may be bundled with Open Source Software. "Open Source Software"
means any software licensed under terms requiring that (A) other software
("Proprietary Software") incorporated, combined or distributed with such
software or developed using such software: (i) be disclosed or distributed
in source code form; or (ii) otherwise be licensed on terms inconsistent
with the terms of this Agreement, including but not limited to permitting
use of the Proprietary Software on or with devices other than TI Devices, or
(B) require the owner of Proprietary Software to license any of its patents
to users of the Open Source Software and/or Proprietary Software
incorporated, combined or distributed with such Open Source Software or
developed using such Open Source Software.
You may gain access to Open Source Software, in which case such Open Source
Software will be listed in the applicable software manifest (in whole or in
part, the "Open Source Materials"). Your use of the Open Source Materials
is subject to the separate licensing terms applicable to such Open Source
Materials as specified in the applicable software manifest. For
clarification, this Agreement does not limit your rights under, or grant you
rights that supersede, the license terms of any applicable Open Source
Materials license agreement. If any of the Open Source Materials have been
provided to you in object code only, TI will provide to you or show you
where can access the source code versions of such Open Source Materials if
you contact TI at Texas Instruments Incorporated, 12500 TI Boulevard, Mail
Station 8638, Dallas, Texas 75243, Attention: Contracts Manager. You may
terminate this Agreement in the event you choose not to accept or agree with
the terms in any applicable Open Source Materials license agreement,
provided that such termination occurs within five (5) calendar days of
acceptance of this Agreement and you abide by all applicable license terms
in this Agreement until such termination.
1. License.
a. Source Code License. For the Licensed Materials provided in source code
format, TI hereby grants to you a limited, non-exclusive license to
reproduce, use, and create modified or derivative works of the Licensed
Materials provided to you in source code format and to distribute an
unlimited number of copies of such source code Licensed Materials, or any
derivatives thereof, in any format.
b. Object Code License. For the Licensed Materials provided in object code
format, TI hereby grants to you a limited, non-exclusive license to
reproduce and use the Licensed Materials provided to you in object code
format and to distribute an unlimited number of object or executable copies
of such object code Licensed Materials.
2. Termination. This Agreement is effective until terminated. Without
prejudice to any other rights, TI may terminate your right to use the
Licensed Materials under this Agreement if you fail to comply with the terms
of this Agreement. In such event, you shall destroy all copies of the
Licensed Materials, including all portions and derivatives thereof.
3. Intellectual Property Rights.
a. The Licensed Materials being provided to you hereunder are being made
publicly available by TI, even though they contain copyrighted material of
TI and its licensors, if applicable. In no event may you alter, remove or
destroy any copyright notice included in the Licensed Materials. To the
extent that any of the Licensed Materials are provided in binary or object
code only, you may not unlock, decompile, reverse engineer, disassemble or
otherwise translate such binary or object code to human-perceivable form.
The source code of such reverse engineered code may contain TI trade secret
and other proprietary information. TI reserves all rights not specifically
granted under this Agreement.
b. Certain Licensed Materials may (i) require patent licenses from third
parties claiming patent rights covering implementation of the Licensed
Materials or (ii) be based on industry recognized standards or software
programs published by industry recognized standards bodies and certain third
parties may claim to own patents or copyrights that cover implementation of
those standards. You acknowledge and agree that this Agreement does not
convey a license to any such third party patents and copyrights.
c. YOU ACKNOWLEDGE AND AGREE THAT TI SHALL NOT BE LIABLE FOR AND SHALL NOT
DEFEND OR INDEMNIFY YOU AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT
RELATES TO OR IS BASED ON YOUR MANUFACTURE, USE, OR DISTRIBUTION OF THE
LICENSED MATERIALS OR YOUR MANUFACTURE, USE, OFFER FOR SALE, SALE,
IMPORTATION OR DISTRIBUTION OF YOUR PRODUCTS THAT INCLUDE OR INCORPORATE THE
LICENSED MATERIALS.
d. You acknowledge and agree that you are responsible for any fees or
royalties that may be payable to any third party based on such third party's
interests in the Licensed Materials described in Section 3(b) above (the
"Third Party Payment Obligations"). You agree to indemnify TI against any
Third Party Payment Obligations and will defend any claim, suit or
proceeding brought against TI insofar as such claim, suit or proceeding is
based on your failure to pay any Third Party Payment Obligations.
4. Warranties and Limitations. THE LICENSED MATERIALS ARE PROVIDED "AS IS".
TI AND ITS LICENSORS MAKE NO WARRANTY OR REPRESENTATION, EXPRESS, IMPLIED OR
STATUTORY, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTIBILITY, FITNESS FOR
A PARTICULAR PURPOSE, LACK OF VIRUSES, ACCURACY OR COMPLETENESS OF
RESPONSES, RESULTS AND LACK OF NEGLIGENCE. TI DISCLAIMS ANY WARRANTY OF
TITLE, QUIET ENJOYMENT, QUIET POSESSION, AND NON-INFRINGEMENT OF ANY THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE LICENSED MATERIALS OR
USE OF THOSE MATERIALS.
YOU ACKNOWLEDGE AND AGREE THAT THE LICENSED MATERIALS MAY NOT BE INTENDED
FOR PRODUCTION APPLICATIONS AND MAY CONTAIN IRREGULARITIES AND DEFECTS NOT
FOUND IN PRODUCTION SOFTWARE. FURTHERMORE, YOU ACKNOWLEDGE AND AGREE THAT
THE LICENSED MATERIALS HAVE NOT BEEN TESTED OR CERTIFIED BY ANY GOVERNMENT
AGENCY OR INDUSTRY REGULATORY ORGANIZATION OR ANY OTHER THIRD PARTY
ORGANIZATION. YOU AGREE THAT PRIOR TO USING, INCORPORATING OR DISTRIBUTING
THE LICENSED MATERIALS IN OR WITH ANY COMMERCIAL PRODUCT THAT YOU WILL
THOROUGHLY TEST THE PRODUCT AND THE FUNCTIONALITY OF THE LICENSED MATERIALS
IN OR WITH THAT PRODUCT AND BE SOLELY RESPONSIBLE FOR ANY PROBLEMS OR
FAILURES.
IN NO EVENT SHALL TI OR ITS LICENSORS BE LIABLE FOR ANY SPECIAL, INDIRECT,
INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED ON ANY THEORY
OF LIABILITY, ARISING IN ANY WAY OUT OF THIS AGREEMENT, OR YOUR USE OF THE
LICENSED MATERIALS, WHETHER OR NOT TI HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES. EXCLUDED DAMAGES INCLUDE, BUT ARE NOT LIMITED TO, COST OF
REMOVAL OR REINSTALLATION, OUTSIDE COMPUTER TIME, LABOR COSTS, LOSS OR
CORRUPTION OF DATA, LOSS OF GOODWILL, LOSS OF PROFITS, LOSS OF SAVINGS, OR
LOSS OF USE OR INTERRUPTION OF BUSINESS OR ANY OTHER ECONOMIC LOSS. IN NO
EVENT WILL TI'S AGGREGATE LIABILITY UNDER THIS AGREEMENT OR ARISING OUT OF
YOUR USE OF THE LICENSED MATERIALS EXCEED FIVE HUNDRED U.S. DOLLARS
(US$500).
Because some jurisdictions do not allow the exclusion or limitation of
incidental or consequential damages or limitation on how long an implied
warranty lasts, the above limitations or exclusions may not apply to you.
5. Export Control. The Licensed Materials may be subject to the export or
import regulations of certain countries. You agree to comply with all such
regulations and acknowledge that you have the responsibility to obtain any
licenses or other authorizations that may be required to export, re-export
or import the Licensed Materials.
6. Governing Law, Jurisdiction and Severability. This Agreement will be
governed by and interpreted in accordance with the laws of the State of
Texas, without reference to conflict of laws principles. If for any reason
a court of competent jurisdiction finds any provision of the Agreement to be
unenforceable, that provision will be enforced to the maximum extent
possible to effectuate the intent of the parties and the remainder of the
Agreement shall continue in full force and effect. This Agreement shall not
be governed by the United Nations Convention on Contracts for the
International Sale of Goods, or by the Uniform Computer Information
Transactions Act (UCITA). The parties agree that non-exclusive jurisdiction
for any dispute arising out of or relating to this Agreement lies within the
courts located in the State of Texas. Notwithstanding the foregoing, any
judgment may be enforced in any United States or foreign court, and either
party may seek injunctive relief in any United States or foreign court.
Failure by TI to enforce any provision of this Agreement shall not be deemed
a waiver of future enforcement of that or any other provision in this
Agreement or any other agreement that may be in place between the parties.
7. PRC Provisions. If you are located in the People's Republic of China
("PRC") or if the Licensed Materials will be sent to the PRC, the following
provisions shall apply:
a. Registration Requirements. You shall be solely responsible for
performing all acts and obtaining all approvals that may be required in
connection with this Agreement by the government of the PRC, including but
not limited to registering pursuant to, and otherwise complying with, the
PRC Measures on the Administration of Software Products, Management
Regulations on Technology Import-Export, and Technology Import and Export
Contract Registration Management Rules. Upon receipt of such approvals from
the government authorities, you shall forward evidence of all such approvals
to TI for its records. In the event that you fail to obtain any such
approval or registration, you shall be solely responsible for any and all
losses, damages or costs resulting therefrom, and shall indemnify TI for all
such losses, damages or costs.
b. Governing Language. This Agreement is written and executed in the
English language. If a translation of this Agreement is required for any
purpose, including but not limited to registration of the Agreement pursuant
to any governmental laws, regulations or rules, you shall be solely
responsible for creating such translation. Any translation of this
Agreement into a language other than English is intended solely in order to
comply with such laws or for reference purposes, and the English language
version shall be authoritative and controlling.
8. Entire Agreement. This is the entire agreement between you and TI and
supersedes any prior agreement between the parties related to the subject
matter of this Agreement. No amendment or modification of this Agreement
will be effective unless in writing and signed by a duly authorized
representative of TI. You hereby warrant and represent that you have
obtained all authorizations and other applicable consents required
empowering you to enter into this Agreement.

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,47 +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}"
DEPENDS = "u-boot-mkimage-native"
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
SRC_URI = "git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
PV = "4.0+git${SRCPV}"
PV = "2.0"
PR = "r1+gitr${SRCPV}"
BRANCH = "master"
S = "${WORKDIR}/git"
SRCREV = "cf8b431e8b3b2ee4a4aa08964d56d3ce1b11da24"
BOOT_MONITOR_IMAGE ?= "skern-${BOOT_MONITOR_MAKE_TARGET}.bin"
FLOATABI = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.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,28 +0,0 @@
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
PV = "1.9.2"
PR = "r0"
SRCREV = "7eb9c0856a9e8b3b42bf64f761da135852b8eea7"
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 = "${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
do_compile() {
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"
}
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/
install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/
}
FILES_${PN} += "${base_libdir}/firmware"

View File

@@ -3,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.13.00.01_eng
SRCREV = "1389059f01eabc1e853a384f0e5f51c4f3e4f197"
PV = "4.13.00.01+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 = "r1"
PR = "r0+gitr${SRCPV}"
PACKAGES =+ "${PN}-test"

View File

@@ -1,22 +0,0 @@
require common-csl-ip.inc
PR = "${INC_PR}.4"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit ti-pdk
DEPENDS_remove = "${PN}"
# Build with make instead of XDC
XDCMAKE = "0"
LIMSOCS_ti33x = "am335x"
LIMSOCS_ti43x = "am437x"
LIMSOCS_omap-a15 = "am571x am572x"
LIMSOCS_k2hk-evm = "k2h k2k"
LIMSOCS_k2l-evm = "k2l"
LIMSOCS_k2e = "k2e"
LIMSOCS_k2g = "k2g"
export PDK_CSL_ROOT_PATH ="${WORKDIR}/build"
export DEST_ROOT="${S}"

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 = "03.03.00.05A"
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"
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.05A"
CSL_SRCREV = "811646f507d985dac04544c60c965cadf5e26a4f"
BRANCH="${CSL_GIT_BRANCH}"
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"
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 = "k2e"
XDCARGS_k2l-evm = "k2l"
XDCARGS_k2g = "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 = "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"
# Below commit ID corresponds to "DEV.DFE_LLD.01.00.00.08"
DFE_LLD_SRCREV = "d51482ef18889bbbd8e9cdc207c6fe9e27b1ab03"
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.8"
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 = "3b9cea492f23d7dabb9ffa0e69631b858ba8e90a"
PV = "1.00.00.06"
S = "${WORKDIR}/git"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc
PR = "r3"
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 = "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.4.0
SRCREV = "0aedcabdbbcbfc7558f70fc50afc95583302a087"
PV = "1.4.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}.2"
S = "${WORKDIR}/git/dsptop"
DEVICE = ""
DEVICE_dra7xx = "DRA7xx"
DEVICE_keystone = "C66AK2Hxx"
EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
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 CC="${CC}"
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,116 +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
}
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"
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_02_26"
EDMA3_LLD_SRCREV = "1c67565620f5a5305cf3293bba669c6aa1a7e40a"
BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${EDMA3_LLD_SRCREV}"
PV = "2.12.02.26"
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,24 +0,0 @@
DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
inherit module
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k4.4"
SRCREV = "65887c911db495fb66c6847c8b6eadc76c7470f4"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/src"
EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"
do_install() {
install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

View File

@@ -1,29 +0,0 @@
DESCRIPTION = "Goodix GT9271 config firmware"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENCE.Spectrum-GT9271;md5=2a6de6be7af1fe46370c684daf27c852"
PV = "1.0.0.0"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "f1a8d1d0131f83bd1a775cde7075eb67c070892c"
BRANCH ?= "ti-linux-firmware-4.1.y"
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
ORIGIN = "DRA71x-RevA-GT9271_SpecDig_Config.bin"
TARGET = "goodix_9271_cfg.bin"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/ti-evm/${ORIGIN} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} = "${base_libdir}/firmware"

View File

@@ -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 = "k2e"
HPLIB_GIT_URI = "git://git.ti.com/keystone-rtos/hplib.git"
HPLIB_GIT_PROTOCOL = "git"
HPLIB_GIT_BRANCH = "master"
# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.08"
HPLIB_SRCREV = "5e9b27854f5d6f9f37a0ed8d7516d4874427cd8b"
BRANCH = "${HPLIB_GIT_BRANCH}"
SRC_URI = "${HPLIB_GIT_URI};protocol=${HPLIB_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${HPLIB_SRCREV}"
PV = "01.01.00.08+git${SRCPV}"
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"
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 = "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,70 +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=5cc572579f07af266ab57fc17d762c7f"
COMPATIBLE_MACHINE = "dra7xx"
RDEPENDS_${PN} = " libdce"
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
SRCREV = "fd441443a4289c801a0c8d9f00b6966f7fe3476c"
S = "${WORKDIR}/git"
PV = "3.00.13.00"
PR = "r5"
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"
TARGET_MAP = "platform/ti/dce/baseimage/package/cfg/out/ipu/release/ipu.xem4.map"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/${TARGET} ${D}${base_libdir}/firmware/${TARGET}.${BPN}
install -m 0644 ${S}/${TARGET_MAP} ${D}${base_libdir}/firmware/${TARGET}.map
}
ALTERNATIVE_${PN} = "dra7-ipu2-fw.xem4"
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/*"

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,22 +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_configure () {
sed -i -e 's/march=armv7-a/march=armv7ve/' build/armv7/libiqn2_aearmv7.mk
}
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 = "k2e"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2g = "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.17"
PR = "r0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "k2hk-evm|k2l-evm|k2e"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRCREV = "f43b4f61315e3642e05edb9c58b098f9cc69fdb6"
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.11A"
NWAL_LLD_SRCREV = "a93303e3d682d7161030113b72c3e1adf755bf89"
BRANCH = "${NWAL_LLD_GIT_BRANCH}"
SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${NWAL_LLD_SRCREV}"
PV = "02.01.00.11A"
INC_PR = "r0"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/nwal"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "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,20 +0,0 @@
DESCRIPTION = "TI OSAL tests"
DEPENDS="common-csl-ip osal"
include osal.inc
PR = "${INC_PR}.0"
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
do_compile () {
# Build the tests
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
}
do_install () {
# Install the binary
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
}

View File

@@ -1,20 +0,0 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=8cbd8efb1460e4f16e6b00c8a7686be4"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
OSAL_GIT_PROTOCOL = "git"
OSAL_GIT_BRANCH = "master"
OSAL_GIT_DESTSUFFIX = "git/ti/osal"
# Below commit ID corresponds to "DEV.OSAL.01.00.00.05E"
OSAL_SRCREV = "5125c71d756530513500b463d3301d03dee04497"
BRANCH = "${OSAL_GIT_BRANCH}"
SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${OSAL_SRCREV}"
PV = "01.00.00.05E"
INC_PR = "r0"

View File

@@ -1,20 +0,0 @@
DESCRIPTION = "TI OSAL library for Linux"
DEPENDS="common-csl-ip"
include osal.inc
PR = "${INC_PR}.0"
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
do_compile () {
# Build the lib
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
}
do_install () {
# Install the lib
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}

View File

@@ -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,32 +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.02.01"
PA_LLD_SRCREV = "e95de49323678a55072c90fb213b94f96cf494b1"
BRANCH = "${PA_LLD_GIT_BRANCH}"
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${PA_LLD_SRCREV}"
PV = "03.00.02.01"
INC_PR = "r0"
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
DEVICELIST = "k2h k2k k2l k2e"
DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2l-evm = "k2l"
DEVICELIST_k2e = "k2e"
LIBPA = "libpa"
LIBPA_k2hk-evm = "libpa"
LIBPA_k2e = "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 = "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

@@ -0,0 +1,81 @@
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs (for X11)"
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_09_00_01"
IMGPV = "1.9.2188537"
inherit module
MACHINE_KERNEL_PR_append = "d"
PR = "${MACHINE_KERNEL_PR}"
# Select the corresponding hardfp/softfp filename and checksums based on tune flags
BINFILE_SOFTFP = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
MD5SUM_SOFTFP = "bd35e9d8843aff3a2aca9d41e7db1c7d"
SHA256SUM_SOFTFP = "eb37f75ddde4640b09e760fa86e689beb394330ecdf68786188c34f249247647"
BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_hardfp_minimal_demos.bin"
MD5SUM_HARDFP = "c9f656dce062d1ab10afffd4dfb71b67"
SHA256SUM_HARDFP = "dbfeba8e1298f139495816334edec1455e6b49b1e11bd1b2aa0a888e5788bb6b"
BINFILE = "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${BINFILE_HARDFP}', '${BINFILE_SOFTFP}', d)}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
SRC_URI[md5sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${MD5SUM_HARDFP}', '${MD5SUM_SOFTFP}', d)}"
SRC_URI[sha256sum] := "${@base_contains('TUNE_FEATURES', 'callconvention-hard', '${SHA256SUM_HARDFP}', '${SHA256SUM_SOFTFP}', d)}"
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 ?= "1"
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
do_compile() {
export TOOLCHAIN="${TOOLCHAIN_PATH}"
export PLAT_CC="${CC}"
export PLAT_CPP="${CXX}"
export PLAR_AR="${AR}"
for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/
done
if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then
cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \
${S}/services4/3rdparty/linux_drm/Kbuild || true
else
if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then
cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \
${S}/services4/3rdparty/linux_drm/Kbuild || true
fi
fi
oe_runmake 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/bufferclass_ti/bufferclass_ti.ko \
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}

View File

@@ -0,0 +1,346 @@
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c-orig 2011-03-08 04:27:35.000000000 -0800
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_displayclass.c 2011-03-17 13:11:31.000000000 -0700
@@ -235,9 +235,20 @@ static OMAP_ERROR UnblankDisplay(OMAPLFB
{
int res;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+ console_lock();
+#else
acquire_console_sem();
+#endif
+
res = fb_blank(psDevInfo->psLINFBInfo, 0);
+
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+ console_unlock();
+#else
release_console_sem();
+#endif
+
#if !defined (CONFIG_OMAP2_DSS)
if (res != 0 && res != -EINVAL)
{
@@ -1118,7 +1129,11 @@ static OMAP_ERROR InitDev(OMAPLFB_DEVINF
OMAP_ERROR eError = OMAP_ERROR_GENERIC;
unsigned long FBSize;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+ console_lock();
+#else
acquire_console_sem();
+#endif
if (fb_idx < 0 || fb_idx >= num_registered_fb)
{
@@ -1254,7 +1269,11 @@ static OMAP_ERROR InitDev(OMAPLFB_DEVINF
errModPut:
module_put(psLINFBOwner);
errRelSem:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+ console_unlock();
+#else
release_console_sem();
+#endif
return eError;
}
@@ -1263,7 +1282,11 @@ static void DeInitDev(OMAPLFB_DEVINFO *p
struct fb_info *psLINFBInfo = psDevInfo->psLINFBInfo;
struct module *psLINFBOwner;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+ console_lock();
+#else
acquire_console_sem();
+#endif
psLINFBOwner = psLINFBInfo->fbops->owner;
@@ -1274,7 +1297,11 @@ static void DeInitDev(OMAPLFB_DEVINFO *p
module_put(psLINFBOwner);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+ console_unlock();
+#else
release_console_sem();
+#endif
}
OMAP_ERROR OMAPLFBInit(void)
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c-orig 2011-03-08 04:27:35.000000000 -0800
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c 2011-03-17 13:40:15.000000000 -0700
@@ -24,11 +24,14 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/pci.h>
--- GFX_Linux_KM/services4/srvkm/common/resman.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/common/resman.c 2011-03-17 14:20:07.000000000 -0700
@@ -24,15 +24,17 @@
*
******************************************************************************/
+#include <linux/version.h>
#include "services_headers.h"
#include "resman.h"
#ifdef __linux__
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <linux/sched.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,9)
#include <linux/hardirq.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c 2011-03-17 14:33:09.000000000 -0700
@@ -24,9 +24,13 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
#include <asm/io.h>
#include <asm/uaccess.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_uaccess.h-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_uaccess.h 2011-03-17 14:39:14.000000000 -0700
@@ -27,11 +27,14 @@
#ifndef __PVR_UACCESS_H__
#define __PVR_UACCESS_H__
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <asm/uaccess.h>
static inline unsigned long pvr_copy_to_user(void __user *pvTo, const void *pvFrom, unsigned long ulBytes)
--- GFX_Linux_KM/services4/srvkm/env/linux/mm.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/mm.c 2011-03-17 14:46:23.000000000 -0700
@@ -24,11 +24,14 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <asm/io.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/mutils.h-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/mutils.h 2011-03-17 14:54:37.000000000 -0700
@@ -27,11 +27,13 @@
#ifndef __IMG_LINUX_MUTILS_H__
#define __IMG_LINUX_MUTILS_H__
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
-
-#include <linux/version.h>
+#endif
#if !(defined(__i386__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)))
#if defined(SUPPORT_LINUX_X86_PAT)
--- GFX_Linux_KM/services4/srvkm/env/linux/mm.h-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/mm.h 2011-03-17 15:33:56.000000000 -0700
@@ -27,11 +27,14 @@
#ifndef __IMG_LINUX_MM_H__
#define __IMG_LINUX_MM_H__
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/list.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/mmap.c-orig 2011-03-17 20:39:31.000000000 -0700
+++ GFX_Linux_KM/services4/srvkm/env/linux/mmap.c 2011-03-17 20:40:00.000000000 -0700
@@ -24,11 +24,14 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/vmalloc.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/proc.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/proc.c 2011-03-17 21:01:35.000000000 -0700
@@ -24,13 +24,16 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
#include <linux/init.h>
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/fs.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/module.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/module.c 2011-03-17 21:32:19.000000000 -0700
@@ -24,9 +24,13 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
#if !defined(SUPPORT_DRI_DRM)
@@ -44,7 +48,6 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/fs.h>
#include <linux/proc_fs.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/event.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/event.c 2011-03-18 08:51:42.000000000 -0700
@@ -24,11 +24,14 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <asm/io.h>
#include <asm/page.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22))
--- GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/osfunc.c 2011-03-18 08:58:16.000000000 -0700
@@ -24,11 +24,14 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
-#include <linux/version.h>
#include <asm/io.h>
#include <asm/page.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22))
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_drm.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_drm.c 2011-03-18 09:01:06.000000000 -0700
@@ -26,14 +26,17 @@
#if defined(SUPPORT_DRI_DRM)
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
+#endif
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/version.h>
#include <linux/fs.h>
#include <linux/proc_fs.h>
#include <asm/ioctl.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/mutils.c-orig 2011-03-08 04:27:36.000000000 -0800
+++ GFX_Linux_KM/services4/srvkm/env/linux/mutils.c 2011-03-18 09:08:12.000000000 -0700
@@ -24,10 +24,13 @@
*
******************************************************************************/
+#include <linux/version.h>
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
-#include <linux/version.h>
+#endif
#include <linux/spinlock.h>
#include <linux/mm.h>
--- GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c-orig 2011-03-31 13:46:48.000000000 -0700
+++ GFX_Linux_KM/services4/srvkm/env/linux/pvr_debug.c 2011-03-31 15:14:10.000000000 -0700
@@ -76,7 +76,8 @@ static IMG_CHAR gszBufferIRQ[PVR_MAX_MSG
static PVRSRV_LINUX_MUTEX gsDebugMutexNonIRQ;
-static spinlock_t gsDebugLockIRQ = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(gsDebugLockIRQ);
+
#if !defined (USE_SPIN_LOCK)
#define USE_SPIN_LOCK (in_interrupt() || !preemptible())

View File

@@ -0,0 +1,38 @@
From: Steve Sakoman
Subject: omap3-sgx-modules: Fix build for Linux 3.0
This patch implements the header change from plat/display.h to video/omapdss.h
Signed-off-by: Steve Sakoman <steve at sakoman.com>
--- GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c-orig 2011-08-01 07:21:45.000000000 -0700
+++ GFX_Linux_KM/services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c 2011-08-01 07:29:32.000000000 -0700
@@ -47,12 +47,12 @@
#if defined (SUPPORT_TI_DSS_FW)
#include <asm/io.h>
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
-#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39)))
+#include <video/omapdss.h>
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31))
#include <plat/display.h>
-#else
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
#include <mach/display.h>
-#endif
#else
#include <asm/arch-omap/display.h>
#endif
@@ -64,7 +64,11 @@ extern int omap_dispc_request_irq(unsign
extern void omap_dispc_free_irq(unsigned long, void (*)(void *), void *);
extern void omap_dispc_set_plane_base(int plane, IMG_UINT32 phys_addr);
#else
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,39))
+#include <video/omapdss.h>
+#else
#include <plat/display.h>
+#endif
#include <linux/console.h>
#include <linux/fb.h>
static omap_dispc_isr_t *pOMAPLFBVSyncISRHandle = NULL;

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