1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-13 01:50:46 +00:00

Compare commits

..

201 Commits
dylan ... dora

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

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

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

This reverts commit f9253dc88f.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 17:59:50 -05:00
Denys Dmytriyenko
2b524321a2 sdcard_image: remove deprecated class
This class has been deprecated for a while. The recommended replacement is
to use Yocto Project's new "wic" tool.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-29 16:06:58 -05:00
Sam Nelson
bb88de3462 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:13 -05:00
Sam Nelson
b17cf2d6f1 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:20 -05:00
Denys Dmytriyenko
02410a889e linux-ti-staging: update to stable 3.12.9, other bugfixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-27 14:38:50 -05:00
Denys Dmytriyenko
280c88666f linux-ti-staging: update to stable 3.12.8, other bugfixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-23 13:53:24 -05:00
Chase Maupin
21d21908c8 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:34:22 -05:00
Chase Maupin
31fc390ec5 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:34:22 -05:00
Chase Maupin
04166046ed 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:34:22 -05:00
Samuli Piippo
f9411677f9 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:34:22 -05:00
Denys Dmytriyenko
1305132ed6 vpe-vpdma: update SRCREV and pass CROSS_COMPILE
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-17 12:34:22 -05:00
Chase Maupin
327187973e 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:29:55 -05:00
Chase Maupin
c7df1eec2b 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 15:29:44 -05:00
Chase Maupin
5253225aaa 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 15:29:30 -05:00
Denys Dmytriyenko
85c3554110 linux-ti-staging: update with fix for remoteproc/DT conflict
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-18 12:54:57 -05:00
Denys Dmytriyenko
27b1d08a4e u-boot-ti-staging: update with am43x dtb relocation fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-17 21:40:11 -05:00
Denys Dmytriyenko
0d5b0cab9d linux-ti-staging: update with fixes for platform and connectivity
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-17 21:40:11 -05:00
Chase Maupin
be7a5b8c57 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:59 -05:00
Denys Dmytriyenko
05bbc5ff52 u-boot-ti-staging: update with omap5 clock fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-14 02:24:02 -05:00
Denys Dmytriyenko
abc894ec7f linux-ti-staging: update with fixes for audio-display and connectivity
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-14 02:24:02 -05:00
Denys Dmytriyenko
e22a920b73 u-boot-ti-staging: update with more fixes for release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:42 -05:00
Denys Dmytriyenko
e705228ff3 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:42 -05:00
Denys Dmytriyenko
ea8dc988e3 am33x-cm3: update to v05.00.00.01 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:42 -05:00
Denys Dmytriyenko
5cde1e9e09 am437x-evm.conf: update UBI values specific to AM437x NAND
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-12-11 18:37:42 -05:00
Denys Dmytriyenko
24e01a7268 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:27 -05:00
Denys Dmytriyenko
e95731b49d 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:36 -05:00
Denys Dmytriyenko
fa822379ad 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:35:02 -05:00
Franklin S. Cooper Jr
6f1ab0fe37 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:11 -05:00
Denys Dmytriyenko
d6dc5d7bd1 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:11 -05:00
Denys Dmytriyenko
fe468b0dd5 linux-ti-glsdk: omap5-sevm DTB no longer exists
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-22 02:38:12 -05:00
Denys Dmytriyenko
3c401ae6d9 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:12 -05:00
Mrinmayee Hingolikar
8ade2a489a 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:18:17 -05:00
Mrinmayee Hingolikar
46e020df8e 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:18:17 -05:00
Mrinmayee Hingolikar
5d0302db82 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:18:17 -05:00
Denys Dmytriyenko
cc4221a100 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:52:02 -05:00
Denys Dmytriyenko
e1351fa799 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:51:57 -05:00
Denys Dmytriyenko
afcfeba4e6 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:51:49 -05:00
Franklin S. Cooper Jr
767fd6ec40 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:51:39 -05:00
Denys Dmytriyenko
a226182089 layer.conf: revert previous prepending to BBPATH change
This reverts commit 35234fa937.

This was mainly needed for DTB fix that is specific to dylan branch and
is not required for master, plus it complicates life for other layers.

There is still a problem with Poky when manually adding layers and not
thinking about the correct order...

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-12 00:52:48 -05:00
Denys Dmytriyenko
80a55c8937 linux-ti-staging: update with the final 3.12 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-04 19:29:32 -05:00
Denys Dmytriyenko
35234fa937 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-04 15:00:32 -05:00
Denys Dmytriyenko
d3a24f40b9 mesa: remove local bbappends, as now mesa-gl provides virtual/libgl
With the recent introduction of mesa-gl, there is no longer a need to override
main mesa PROVIDES list to avoid conflicts with libgles-omap3, remove bbappends

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-04 14:36:09 -05:00
Mrinmayee Hingolikar
15243e8ec3 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:12 -04:00
Denys Dmytriyenko
058a386cd1 am33x-cm3: update to specify correct tag and branch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-11-01 11:56:10 -04:00
Denys Dmytriyenko
2035209f3e 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:42:04 -04:00
Denys Dmytriyenko
693b976e2b 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:53 -04:00
Chase Maupin
466c2ab71c 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:58:53 -04:00
Chase Maupin
fe3eb57f58 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:26:27 -04:00
Denys Dmytriyenko
c115046649 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:43:25 -04:00
Chase Maupin
3f3bad8889 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:21:30 -04:00
Denys Dmytriyenko
b3df09902d 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-14 12:32:52 -04:00
Franklin S. Cooper Jr
466575a7e7 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:28 -04:00
Franklin S. Cooper Jr
5a74c8a01b 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:36 -04:00
Denys Dmytriyenko
6903f2aba8 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:18:16 -04:00
Denys Dmytriyenko
acdd0cba6d 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:27:13 -04:00
Denys Dmytriyenko
b4f33a5a40 linux-ti-staging: bump to 3.12-rc4 with latest merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-10-08 12:18:49 -04:00
Denys Dmytriyenko
b739286d69 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 14:41:37 -04:00
Denys Dmytriyenko
2b089a561d 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-04 14:41:33 -04:00
Denys Dmytriyenko
9c36e6c757 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:36:56 -04:00
Denys Dmytriyenko
c92678ad4d 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:36:48 -04:00
Denys Dmytriyenko
a44d61576a linux-keystone: update from 3.6.6 to 3.8.4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-30 16:36:40 -04:00
Denys Dmytriyenko
b742bb4375 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:36:31 -04:00
Denys Dmytriyenko
9f4e9c44f4 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:36:24 -04:00
Denys Dmytriyenko
c08098f04d 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:36:15 -04:00
Denys Dmytriyenko
c168b9dca4 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:36:04 -04:00
Denys Dmytriyenko
8c96f41ba6 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:35:52 -04:00
Denys Dmytriyenko
4b78ad59df 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 1450f19380.
2013-09-26 12:35:40 -04:00
Franklin S. Cooper Jr
1450f19380 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:50:18 -04:00
Denys Dmytriyenko
7b4870a30d 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:57:08 -04:00
Denys Dmytriyenko
ccc9b8c50c 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:57:04 -04:00
Denys Dmytriyenko
f472c8dca1 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:56:58 -04:00
Denys Dmytriyenko
48887f4327 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:56:53 -04:00
Denys Dmytriyenko
2173296d12 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:56:48 -04:00
Denys Dmytriyenko
69723eef85 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-23 13:56:40 -04:00
Denys Dmytriyenko
384f3c57d3 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 18:04:39 -04:00
Denys Dmytriyenko
499fba5e6c 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:52 -04:00
Denys Dmytriyenko
bb8ab63ea9 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:07:48 -04:00
Denys Dmytriyenko
ed4ebd0b7c 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-12 11:24:53 -04:00
Denys Dmytriyenko
f3c7afb5a3 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-10 13:41:31 -04:00
Denys Dmytriyenko
cb6f542fe8 libgles-omap3, omap3-sgx-modules: remove old 4.03.00.02 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-09-03 13:07:49 -04:00
Denys Dmytriyenko
9e07040a0b 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:07:45 -04:00
Denys Dmytriyenko
2b3f2c2939 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:07:41 -04:00
Denys Dmytriyenko
dc3f0f5c74 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:07:36 -04:00
Denys Dmytriyenko
338c5373aa 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:07:27 -04:00
Denys Dmytriyenko
a378dd0edc ti43x: disable sgx for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-28 10:52:49 -04:00
Denys Dmytriyenko
5a5d98c1ad linux-ti-staging/linux-ti-glsdk: adjust DTB handling to new syntax
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-27 21:27:54 -04:00
Denys Dmytriyenko
7144d488e7 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:35:54 -04:00
Denys Dmytriyenko
e75aa7f022 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:35:44 -04:00
Denys Dmytriyenko
66df71869c 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:35:41 -04:00
Denys Dmytriyenko
2550014973 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-26 10:35:37 -04:00
Denys Dmytriyenko
c3f7e586d5 boot-monitor: use commit ID instead of tag, update to latest release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-23 15:44:14 -04:00
Valentin Cobelea
eb33051707 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:21:21 -04:00
Ian Reinhart Geiser
bb82b0b279 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:15:18 -04:00
Ian Reinhart Geiser
09d3398e80 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:15:18 -04:00
Denys Dmytriyenko
ed417f659a libdrm: restore libdrm-tests package that got missed with TI version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-10 16:56:08 -04:00
Denys Dmytriyenko
8fc6ff04ff mesa: bump the version again to match oe-core
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-08-10 13:20:47 -04:00
Denys Dmytriyenko
3f3f05eea3 mesa: update bbappend to the latest version from oe-core
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-07-30 17:43:47 -04:00
Franklin S. Cooper Jr
41a214e8f6 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:58:28 -04:00
Franklin S. Cooper Jr
f7b8ea2398 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:58:23 -04:00
Franklin S. Cooper Jr
29dc2a79e0 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:00:49 -04:00
Franklin S. Cooper Jr
0bd76f05cd 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:00:43 -04:00
Franklin S. Cooper Jr
5649700b66 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:00:37 -04:00
Franklin S. Cooper Jr
2a0dbeb5ae 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:00:30 -04:00
Franklin S. Cooper Jr
c6f0b8c57f 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:00:25 -04:00
Franklin S. Cooper Jr
a8bc4effa7 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:00:20 -04:00
Siddharth Heroor
2eeba6ed4d 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:19 -04:00
Siddharth Heroor
3075e00497 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:10 -04:00
Siddharth Heroor
2144ae369a 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:55:01 -04:00
Siddharth Heroor
8ba1f54665 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:17 -04:00
Denys Dmytriyenko
32ec4417ad 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:25 -04:00
Denys Dmytriyenko
bc80eb2756 init-ifupdown: move interfaces file from netbase to new init-ifupdown
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 16:06:15 -04:00
Denys Dmytriyenko
b122c64469 omap3-sgx-modules: remove unnecessary patches for x11, cleanup old patch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-21 14:50:15 -04:00
Denys Dmytriyenko
139669f04a 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:43:25 -04:00
Denys Dmytriyenko
b02c0284fb 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:43:25 -04:00
Prabindh Sundareson
df2d999252 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:43:24 -04:00
Prabindh Sundareson
086be90ce8 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:43:24 -04:00
Prabindh Sundareson
fb3742c11d 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:43:24 -04:00
Prabindh Sundareson
0783a113fa 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:43:24 -04:00
Prabindh Sundareson
c4fa819032 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:43:24 -04:00
Prabindh Sundareson
91b307e78a 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:43:24 -04:00
Prabindh Sundareson
074ad8ecf2 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:43:24 -04:00
Prabindh Sundareson
b9d459af62 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:43:24 -04:00
Prabindh Sundareson
adb1681db7 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:43:24 -04:00
Denys Dmytriyenko
a8c949d455 linux-ti-staging: update to ti2013.04.02 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-12 12:24:32 -04:00
Chase Maupin
bfe66bdca1 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-10 11:37:56 -04:00
Denys Dmytriyenko
7b1623b581 mesa: update bbappend to the latest version from or-core
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-06-07 21:51:14 -04:00
Chase Maupin
ed54827bdd 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-05 14:31:09 -04:00
Denys Dmytriyenko
88bdf2e3d9 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-05 11:55:22 -04:00
Chase Maupin
64b76e0915 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-04 16:39:56 -04:00
Chase Maupin
b0eb4888a4 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-04 16:35:15 -04:00
Denys Dmytriyenko
37f543f618 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-05-07 11:59:07 -04:00
Franklin S. Cooper Jr
dca9b52adc 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-05-07 11:43:05 -04:00
Denys Dmytriyenko
11e989cd26 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-05-06 18:45:33 -04:00
Denys Dmytriyenko
de8061b927 netbase: bump the version to follow oe-core
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-05-06 15:16:43 -04:00
51 changed files with 822 additions and 425 deletions

View File

@@ -1,156 +0,0 @@
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,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,3 +7,5 @@ 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"

View File

@@ -9,7 +9,7 @@ UBOOT_MACHINE = "da850evm_config"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
IMAGE_FSTYPES += "tar.gz ubi"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyS2"

View File

@@ -24,7 +24,7 @@ SERIAL_CONSOLE = "115200 ttyO0"
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 994"
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1918"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:

62
licenses/TI-TFL Normal file
View File

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

206
licenses/TI-TSPA Normal file
View File

@@ -0,0 +1,206 @@
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,10 +1,10 @@
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
LICENSE = "TI-BSD"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
PV = "05.00.00.03"
PR = "r0"
PR = "r1"
# Make package machine specific due to different init scripts
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -4,7 +4,7 @@ DESCRIPTION = "u-boot bootloader for Multi-Core BU devices"
COMPATIBLE_MACHINE = "keystone"
PR = "r4+gitr${SRCPV}"
PR = "r5+gitr${SRCPV}"
# Tag "K2_UBOOT_2013_01_14.05_16"
SRCREV = "fee500417b989fc9906d86e377b4d3d96033d54e"
@@ -15,12 +15,13 @@ SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRAN
S = "${WORKDIR}/git"
UBOOT_SUFFIX = "bin"
UBOOT_MAKE_TARGET = "u-boot-spi.gph"
UBOOT_MAKE_TARGET = "u-boot-spi.gph u-boot-nand.gph"
# SPI NOR Flash binaries
UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
UBOOT_SPI_BINARY = "u-boot.img"
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
UBOOT_NAND_GPH_BINARY = "u-boot-nand.gph"
# SPI NOR Flash deployed images
UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
@@ -29,6 +30,8 @@ UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
UBOOT_NAND_GPH_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.gph"
UBOOT_NAND_GPH_SYMLINK = "u-boot-nand-${MACHINE}.gph"
do_install_append () {
install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
@@ -39,6 +42,9 @@ do_install_append () {
install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
install ${S}/${UBOOT_NAND_GPH_BINARY} ${D}/boot/${UBOOT_NAND_GPH_IMAGE}
ln -sf ${UBOOT_NAND_GPH_IMAGE} ${D}/boot/${UBOOT_NAND_GPH_BINARY}
}
do_deploy_append () {
@@ -56,4 +62,9 @@ do_deploy_append () {
rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
install ${S}/${UBOOT_NAND_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_NAND_GPH_IMAGE}
rm -f ${UBOOT_NAND_GPH_BINARY} ${UBOOT_NAND_GPH_SYMLINK}
ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_SYMLINK}
ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_BINARY}
}

View File

@@ -5,14 +5,14 @@ DESCRIPTION = "u-boot bootloader for TI devices"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
PV = "2013.10"
PR = "r7+gitr${SRCPV}"
PR = "r8+gitr${SRCPV}"
SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
BRANCH ?= "ti-u-boot-2013.10"
# Corresponds to tag ti2013.12.01
SRCREV = "78d8ebd4a0214b72a125f5b98c5ed2f9a3e5e783"
# Corresponds to tag ti2013.12.01_amsdk-07.01
SRCREV = "259ff9a577cc66cb40e3cdff3e41628e466f0fef"
SPL_BINARY = "MLO"
SPL_UART_BINARY = "u-boot-spl.bin"

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "Userspace libraries and headers for TI BLTsville implementation"
HOMEPAGE = "http://omapzoom.org/?p=platform/external/bltsville.git;a=summary"
LICENSE = "BSD-3-Clause & TI-TSPA"
LIC_FILES_CHKSUM = "file://COPYING;md5=10a9abb9c5bb19edd83a8cf66eef7148 \
file://ticpu/license;md5=0bb831850a0de80e32a63772d89c6562"
PR = "r2"
SRCREV = "016586280ecdae201fd6e340ec8c4f8a9605cc94"
inherit autotools pkgconfig
SRC_URI = "git://git.omapzoom.org/platform/external/bltsville.git;protocol=git"
S = "${WORKDIR}/git"
do_configure() {
chmod +x autogen.sh
./autogen.sh --prefix=${prefix} --with-libtool-sysroot=${STAGING_DIR_TARGET}
}
FILES_${PN} += "${libdir}/libbltsville_ticpu_license.txt"

View File

@@ -158,24 +158,14 @@ do_install () {
#Create different folders for ease of installing into different platforms with different display drivers/ SGX core
install -d ${D}${libdir}/ES9.0
install -d ${D}${libdir}/ES8.0
install -d ${D}${libdir}/ES6.0
install -d ${D}${libdir}/ES5.0
install -d ${D}${libdir}/ES3.0
install -d ${D}${bindir}/ES9.0
install -d ${D}${bindir}/ES8.0
install -d ${D}${bindir}/ES6.0
install -d ${D}${bindir}/ES5.0
install -d ${D}${bindir}/ES3.0
shared_prog="eglinfo pvr2d_test ${PVR_INIT} services_test sgx_blit_test sgx_clipblit_test sgx_flip_test sgx_init_test sgx_render_flip_test"
raw_prog="gles1test1 gles2test1"
for esrev in 3 5 6 8 9 ; do
ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\}))
if [ -e ${ESLOCATION} ] ; then
install -d ${D}${libdir}/ES${esrev}.0
install -d ${D}${bindir}/ES${esrev}.0
cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/
for esprog in $shared_prog $raw_prog ; do
install -m 0755 ${ESLOCATION}/$esprog ${D}${bindir}/ES${esrev}.0/ 2>/dev/null || true

View File

@@ -1,8 +1,8 @@
require libgles-omap3-x11.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
PR = "${INC_PR}.2"
PR = "${INC_PR}.3"
DEFAULT_PREFERENCE = "-1"

View File

@@ -1,6 +1,6 @@
require libgles-omap3.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"

View File

@@ -1,6 +1,6 @@
require libgles-omap3.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"

View File

@@ -1,8 +1,8 @@
require libgles-omap3-no-x.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
PR = "${INC_PR}.2"
PR = "${INC_PR}.3"
BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"

View File

@@ -1,8 +1,8 @@
require libgles-omap3-no-x.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
PR = "${INC_PR}.1"
PR = "${INC_PR}.2"
BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"

View File

@@ -1,8 +1,8 @@
require libgles-omap3-no-x.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
PR = "${INC_PR}.1"
PR = "${INC_PR}.2"
BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"

View File

@@ -1,8 +1,8 @@
require libgles-omap3-no-x.inc
LICENSE = "TSPA"
LICENSE = "TI-TSPA"
PR = "${INC_PR}.0"
PR = "${INC_PR}.1"
BINLOCATION_omap3 = "${S}/gfx_rel_es3.x"
BINLOCATION_ti816x = "${S}/gfx_rel_es6.x"

View File

@@ -1,26 +0,0 @@
DESCRIPTION = "Userspace libraries for omap5 sgx"
HOMEPAGE = "http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk"
LICENSE = "TSPA"
LIC_FILES_CHKSUM = "file://OMAP5-Linux-Graphics-DDK-UM-Manifest.doc;md5=d280df8e94bb2e7b9251c8526078eeb8"
COMPATIBLE_MACHINE = "omap-a15"
INHIBIT_PACKAGE_STRIP = "1"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/OMAP5_1_09_00_10//exports/${PN}-${PV}.tar.gz;protocol=http"
PR = "r0"
SRC_URI[md5sum] = "3cfb875de031098a4c1eeeaf4e442367"
SRC_URI[sha256sum] = "20b849088c0fd3ee5dd6bad8ddf16fb2b3267aa053cf3488c762fbc72f22489a"
S = "${WORKDIR}/${PN}-${PV}"
do_install () {
oe_runmake install DESTDIR=${D}
}
FILES_${PN} += "${libdir}/gbm/"
INSANE_SKIP_${PN} = "useless-rpaths"
INSANE_SKIP_${PN}-dev = "useless-rpaths"

View File

@@ -0,0 +1,28 @@
DESCRIPTION = "Userspace libraries for SGX"
HOMEPAGE = "http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://OMAP5-Linux-Graphics-DDK-UM-Manifest.doc;md5=360d293df455e4f2d363bb4014a49603"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git"
SRCREV = "994922a5655c63b05343a9238cb30e6ef61744be"
PR = "r2"
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
RREPLACES_${PN} = "libegl libgles1 libgles2"
RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
RREPLACES_${PN}-dbg = "libegl-dbg"
S = "${WORKDIR}/git"
do_install () {
oe_runmake install DESTDIR=${D}
}
FILES_${PN} = "${bindir}/*"
FILES_${PN} += " ${libdir}/*"
FILES_${PN} += "${includedir}/* /usr/share/sgx-lib/"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} += "dev-so"

View File

@@ -1,7 +0,0 @@
PRINC := "${@int(PRINC) + 1}"
# avoid providing conflicts for libgles-omap3 compatibles
PROVIDES_omap3 = "virtual/libgl"
PROVIDES_ti814x = "virtual/libgl"
PROVIDES_ti816x = "virtual/libgl"
PROVIDES_ti33x = "virtual/libgl"

View File

@@ -1 +0,0 @@
require mesa-omap3-common.inc

View File

@@ -1 +0,0 @@
require mesa-omap3-common.inc

View File

@@ -1,69 +0,0 @@
# Support for device tree generation
FILES_kernel-devicetree = "/${KERNEL_IMAGEDEST}/devicetree*"
python __anonymous () {
d.appendVar("PACKAGES", " kernel-devicetree")
}
do_install_append() {
if test -n "${KERNEL_DEVICETREE}"; then
for DTB in ${KERNEL_DEVICETREE}; do
if echo ${DTB} | grep -q '/dts/'; then
bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
fi
DTB_BASE_NAME=`basename ${DTB} .dtb`
DTB_NAME=`echo ${KERNEL_IMAGE_BASE_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
DTB_PATH="${B}/arch/${ARCH}/boot/dts/${DTB}"
oe_runmake ${DTB}
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="${B}/arch/${ARCH}/boot/${DTB}"
fi
install -m 0644 ${DTB_PATH} ${D}/${KERNEL_IMAGEDEST}/devicetree-${DTB_SYMLINK_NAME}.dtb
done
fi
}
do_deploy_append() {
if test -n "${KERNEL_DEVICETREE}"; then
for DTB in ${KERNEL_DEVICETREE}; do
if echo ${DTB} | grep -q '/dts/'; then
bbwarn "${DTB} contains the full path to the the dts file, but only the dtb name should be used."
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
fi
DTB_BASE_NAME=`basename ${DTB} .dtb`
DTB_NAME=`echo ${KERNEL_IMAGE_BASE_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
DTB_PATH="${B}/arch/${ARCH}/boot/dts/${DTB}"
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="${B}/arch/${ARCH}/boot/${DTB}"
fi
install -d ${DEPLOYDIR}
install -m 0644 ${DTB_PATH} ${DEPLOYDIR}/${DTB_NAME}.dtb
cd ${DEPLOYDIR}
ln -sf ${DTB_NAME}.dtb ${DTB_SYMLINK_NAME}.dtb
cd -
done
fi
}
pkg_postinst_kernel-devicetree () {
cd /${KERNEL_IMAGEDEST}
for DTB_FILE in ${KERNEL_DEVICETREE}
do
DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
update-alternatives --install /${KERNEL_IMAGEDEST}/${DTB_BASE_NAME}.dtb ${DTB_BASE_NAME}.dtb devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
done
}
pkg_postrm_kernel-devicetree () {
cd /${KERNEL_IMAGEDEST}
for DTB_FILE in ${KERNEL_DEVICETREE}
do
DTB_BASE_NAME=`basename ${DTB_FILE} | awk -F "." '{print $1}'`
DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
update-alternatives --remove ${DTB_BASE_NAME}.dtb devicetree-${DTB_SYMLINK_NAME}.dtb ${KERNEL_PRIORITY} || true
done
}

View File

@@ -0,0 +1,37 @@
SECTION = "kernel"
DESCRIPTION = "Mainline Linux kernel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Add a run-time dependency for the PM firmware to be installed
# on the target file system.
RDEPENDS_kernel-base_append_ti33x = " am33x-cm3"
# Default is to package all dtb files for ti33x devices unless building
# for the specific beaglebone machine.
KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
COMPATIBLE_MACHINE = "ti33x"
S = "${WORKDIR}/git"
BRANCH = "master"
# Corresponds to tag v3.14-rc8
SRCREV = "b098d6726bbfb94c06d6e1097466187afddae61f"
PV = "3.13+3.14rc8"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=${BRANCH} \
file://defconfig \
"

View File

@@ -0,0 +1,8 @@
##################################################
# Baseport Config Options
##################################################
CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_OMAP_AES=y
CONFIG_CRYPTO_DEV_OMAP_SHAM=y
CONFIG_CRYPTO_TEST=m
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n

View File

@@ -0,0 +1,14 @@
##################################################
# Connectivity Configs
##################################################
CONFIG_MTD_NAND_OMAP_BCH=y
CONFIG_MTD_TESTS=m
CONFIG_SPI_SPIDEV=y
CONFIG_USB_TEST=m
CONFIG_USB_ACM=y
CONFIG_USB_SERIAL_PL2303=y
CONFIG_USB_PRINTER=y
CONFIG_USB_NET_AX8817X=y
CONFIG_USB_G_MULTI=m
CONFIG_USB_G_MULTI_RNDIS=y
CONFIG_USB_G_MULTI_CDC=y

View File

@@ -0,0 +1 @@
use-kernel-config=omap2plus_defconfig

View File

@@ -0,0 +1,18 @@
##################################################
# IPC config options
##################################################
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_OF_IOMMU=y
CONFIG_OMAP_IOMMU=y
CONFIG_OMAP_IOVMM=y
CONFIG_OMAP_IOMMU_DEBUG=y
CONFIG_VIRTIO=m
CONFIG_RPMSG=m
CONFIG_RPMSG_RPC=m
CONFIG_REMOTEPROC=m
CONFIG_OMAP_REMOTEPROC=m
CONFIG_OMAP_REMOTEPROC_IPU=y
CONFIG_OMAP_REMOTEPROC_DSP=y
CONFIG_OMAP_REMOTEPROC_IPU1=y
CONFIG_OMAP_REMOTEPROC_DSP2=y

View File

@@ -0,0 +1,20 @@
##################################################
# Systest config options
##################################################
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEVKMEM=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=n
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=n
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_KERNEL=y
CONFIG_PM_DEBUG=y
CONFIG_DEBUG_GPIO=y
CONFIG_USB_DEBUG=y
CONFIG_SND_DEBUG=y
CONFIG_RTC_DEBUG=y

View File

@@ -0,0 +1 @@
use-kernel-config=omap2plus_defconfig

View File

@@ -0,0 +1,18 @@
##################################################
# IPC config options
##################################################
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y
CONFIG_OF_IOMMU=y
CONFIG_OMAP_IOMMU=y
CONFIG_OMAP_IOVMM=y
CONFIG_OMAP_IOMMU_DEBUG=y
CONFIG_VIRTIO=m
CONFIG_RPMSG=m
CONFIG_RPMSG_RPC=m
CONFIG_REMOTEPROC=m
CONFIG_OMAP_REMOTEPROC=m
CONFIG_OMAP_REMOTEPROC_IPU=y
CONFIG_OMAP_REMOTEPROC_DSP=y
CONFIG_OMAP_REMOTEPROC_IPU1=y
CONFIG_OMAP_REMOTEPROC_DSP2=y

View File

@@ -0,0 +1,5 @@
##################################################
# Non-SMP config options
##################################################
CONFIG_SMP=n
CONFIG_NR_CPUS=n

View File

@@ -0,0 +1,20 @@
##################################################
# Systest config options
##################################################
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEVKMEM=y
CONFIG_HAVE_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=n
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=n
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_KERNEL=y
CONFIG_PM_DEBUG=y
CONFIG_DEBUG_GPIO=y
CONFIG_USB_DEBUG=y
CONFIG_SND_DEBUG=y
CONFIG_RTC_DEBUG=y

View File

@@ -8,6 +8,9 @@ inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
# Look in the generic major.minor directory for files
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.12:"
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
@@ -36,16 +39,22 @@ S = "${WORKDIR}/git"
BRANCH = "ti-linux-3.12.y"
# Corresponds to tag ti2013.12.01
SRCREV = "2325bb5680986b6914d8fd0b5d0bdc20081fe8d3"
PV = "3.12.10"
SRCREV = "ffe21d87399ec09620878613a9ebfbc6c1d7c548"
PV = "3.12.20"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "k+gitr${SRCPV}"
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
KERNEL_CONFIG_FRAGMENTS = "${WORKDIR}/baseport.cfg ${WORKDIR}/connectivity.cfg \
${WORKDIR}/ipc.cfg"
SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
file://defconfig \
file://baseport.cfg \
file://connectivity.cfg \
file://ipc.cfg \
file://systest.cfg \
"
# Disable SMP in defconfig on single-core platforms to reduce overhead

View File

@@ -0,0 +1,61 @@
SECTION = "kernel"
DESCRIPTION = "Linux kernel for TI devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
DEFAULT_PREFERENCE = "-1"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
# Look in the generic major.minor directory for files
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.15:"
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Add a run-time dependency for the PM firmware to be installed
# on the target file system.
RDEPENDS_kernel-base_append_ti33x = " am33x-cm3"
RDEPENDS_kernel-base_append_ti43x = " am33x-cm3"
# Add a run-time dependency for the VPE VPDMA firmware to be installed
# on the target file system.
RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw"
# Default is to package all dtb files for ti33x devices unless building
# for the specific beaglebone machine.
KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am437x-gp-evm.dtb"
KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"
KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
S = "${WORKDIR}/git"
BRANCH = "ti-linux-3.15.y"
SRCREV = "3fd9aad17d3b4d1d7ee50ae788c0a096921e7216"
PV = "3.14+3.15-rc6"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
KERNEL_CONFIG_DIR = "ti_config_fragments"
KERNEL_CONFIG_FRAGMENTS = "${WORKDIR}/ipc.cfg"
KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${WORKDIR}/non-smp.cfg"
KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${WORKDIR}/non-smp.cfg"
SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
file://defconfig \
file://ipc.cfg \
file://systest.cfg \
file://non-smp.cfg \
"

View File

@@ -1,39 +0,0 @@
SECTION = "kernel"
DESCRIPTION = "Linux kernel for TI devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
KERNEL_IMAGETYPE = "uImage"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
# Add a run-time dependency for the PM firmware to be installed
# on the target file system.
RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
# Default is to package all dtb files for ti33x devices unless building
# for the specific beaglebone machine.
KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb"
KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb"
KERNEL_DEVICETREE_omap5-evm = "omap5-sevm.dtb omap5-uevm.dtb"
KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb"
COMPATIBLE_MACHINE = "ti33x|omap-a15"
S = "${WORKDIR}/git"
BRANCH = "ti-linux-3.8.y"
# This commit corresponds to ti2013.04.02 release tag
SRCREV = "f3cb62a800ae37f17a3382b10d155ee02dbc83fc"
PV = "3.8.13"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "g+gitr${SRCPV}"
PR = "${MACHINE_KERNEL_PR}"
SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
file://defconfig \
"

View File

@@ -5,28 +5,54 @@ KERNEL_LOCALVERSION ?= ""
# Check the defconfig file and see if it points to an in kernel
# defconfig that should be used, or if it is a complete config file
addtask setup_defconfig before do_configure after do_patch
do_setup_defconfig() {
# define our own do_configure that will:
# 1. Check the .config file and see if string use-kernel-config= is present
# 2. If the use-kernel-config string is present parse out the config to use
# and run make $config
# 3. else run yes '' | oe_runmake oldconfig like the default do_configure
# does
do_configure() {
# Always copy the defconfig file to .config to keep consistency
# between the case where there is a real config and the in kernel
# tree config
cp ${WORKDIR}/defconfig ${S}/.config
}
# define our own do_configure that will:
# 1. Check the .config file and see if string use-kernel-config= is present
# 2. If the use-kernel-config string is present parse out the config to use
# and run make ${config}
# 3. else run yes '' | oe_runmake oldconfig like the default do_configure
# does
do_configure() {
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
config=`cat ${S}/.config | grep use-kernel-config | cut -d= -f2`
if [ "x${config}" != "x" ]
if [ ! -z "$config" ]
then
oe_runmake ${config}
oe_runmake $config
else
yes '' | oe_runmake oldconfig
fi
# Check for kernel config fragments. The assumption is that the config
# fragment will be specified with the absolute path. For example:
# * ${WORKDIR}/config1.cfg
# * ${S}/config2.cfg
# Iterate through the list of configs and make sure that you can find
# each one. If not then error out.
# NOTE: If you want to override a configuration that is kept in the kernel
# with one from the OE meta data then you should make sure that the
# OE meta data version (i.e. ${WORKDIR}/config1.cfg) is listed
# after the in kernel configuration fragment.
# Check if any config fragments are specified.
if [ ! -z "${KERNEL_CONFIG_FRAGMENTS}" ]
then
for f in ${KERNEL_CONFIG_FRAGMENTS}
do
# Check if the config fragment was copied into the WORKDIR from
# the OE meta data
if [ ! -e "$f" ]
then
echo "Could not find kernel config fragment $f"
exit 1
fi
done
# Now that all the fragments are located merge them.
( cd ${WORKDIR} && ${S}/scripts/kconfig/merge_config.sh -m -r -O ${S} ${S}/.config ${KERNEL_CONFIG_FRAGMENTS} 1>&2 )
yes '' | oe_runmake oldconfig
fi
}

View File

@@ -2,7 +2,7 @@ DESCRIPTION = "TI C6Accel - DSP Software Libraries on ARM"
HOMEPAGE = "https://gforge01.dal.design.ti.com/gf/project/dsplib4arm/"
SECTION = "devel"
LICENSE = "TI TSPA"
LICENSE = "TI-TSPA"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc

View File

@@ -0,0 +1,24 @@
DESCRIPTION = "Firmware for DSP "
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=587a7b9fdd99f98fbe99af4a4ba3362a"
COMPATIBLE_MACHINE = "dra7xx-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_02/exports/dspdce-${MACHINE}-1.00.00.02.tar.gz;protocol=http"
S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
SRC_URI[md5sum] = "df19baf16f828b5d32b4eed50f0364f5"
SRC_URI[sha256sum] = "0c0f34674110d1ef0300b61b572a326daffb95a31cc9d45888b2e50a83c6f555"
TARGET = "dra7-dsp1-fw.xe66"
do_install() {
mkdir -p ${D}${base_libdir}/firmware
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
INSANE_SKIP_${PN} = "arch"

View File

@@ -1,36 +1,58 @@
DESCRIPTION = "TI Inter Process Ccommunication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/index.html"
DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
SECTION = "devel"
LICENSE = "BSD"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=f2518e421e230f06fe6d449718d02edc"
require ../includes/ti-paths.inc
require ../includes/ti-staging.inc
require ../includes/ti-eula-unpack.inc
DEPENDS += "virtual/kernel"
S = "${WORKDIR}/ipc_${PV}"
PR = "r1"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc_setuplinux_${PV}.bin;name=ipcbin"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI =+ "file://ipc.pc"
PLATFORM = "UNKNOWN"
PLATFORM_omap5-evm = "OMAP54XX"
PLATFORM_dra7xx-evm = "DRA7XX"
PLATFORM_keystone = "TCI6638"
DEPENDS = "ti-sysbios ti-cgt6x ti-xdctools"
DAEMON = "UNKNOWN"
DAEMON_omap5-evm = "lad_omap54xx_smp"
DAEMON_dra7xx-evm = "lad_dra7xx"
DAEMON_keystone = "lad_tci6638"
BINFILE="ipc_setuplinux_${PV}.bin"
TI_BIN_UNPK_CMDS="Y: q:workdir:Y"
inherit autotools pkgconfig update-rc.d
SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git \
file://0002-ipc-Added-installation-prefix-feature-to-products.ma.patch \
file://tiipclad-daemon.sh \
"
S = "${WORKDIR}/git"
INITSCRIPT_NAME = "tiipclad-daemon.sh"
INITSCRIPT_PARAMS = "defaults 10"
EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_INSTALL_DIR=${TOOLCHAIN_PATH} TOOLCHAIN_LONGNAME=${TOOLCHAIN_SYS} PLATFORM=${PLATFORM} PREFIX=${prefix}"
do_configure() {
sed -i -e s:@VERSION@:${PV}:g ${WORKDIR}/ipc.pc
cp ${WORKDIR}/ipc.pc ${S}
oe_runmake -f ${S}/ipc-linux.mak config
}
do_install() {
install -d ${D}${IPC_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE}
install -d ${D}/${libdir}/pkgconfig
install ${S}/ipc.pc ${D}/${libdir}/pkgconfig/
do_install_append() {
install -d ${D}${sysconfdir}/init.d/
# Modify the tiipclad-daemon.sh script to point to the right
# lad daemon executable.
sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.sh
install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}
FILES_${PN}-dev = "${libdir}/*"
PACKAGES =+ "${PN}-test"
RDEPENDS_${PN}-test += "${PN}"
FILES_${PN}-test = " \
${bindir}/NameServerApp \
${bindir}/MessageQApp \
${bindir}/MessageQMulti \
${bindir}/ping_rpmsg"

View File

@@ -0,0 +1,38 @@
From 26d09063063593aec760151393226b96bc7ab9f8 Mon Sep 17 00:00:00 2001
From: Mrinmayee Hingolikar <mrinmayee@ti.com>
Date: Thu, 5 Sep 2013 17:01:15 +0530
Subject: [PATCH] ipc: Added installation prefix feature to products.mak
Signed-off-by: Mrinmayee Hingolikar <mrinmayee@ti.com>
---
ipc-linux.mak | 1 +
products.mak | 1 +
2 files changed, 2 insertions(+)
diff --git a/ipc-linux.mak b/ipc-linux.mak
index 788a5a2..01579e4 100644
--- a/ipc-linux.mak
+++ b/ipc-linux.mak
@@ -38,6 +38,7 @@ include products.mak
config:
@echo "Configuring Linux Ipc ..."
./configure --host=$(TOOLCHAIN_LONGNAME) \
+ --prefix=$(PREFIX) \
CC=$(TOOLCHAIN_PREFIX)gcc \
PLATFORM=$(PLATFORM) \
CMEM_INSTALL_DIR=$(CMEM_INSTALL_DIR) \
diff --git a/products.mak b/products.mak
index e418d2f..4578a1e 100644
--- a/products.mak
+++ b/products.mak
@@ -55,6 +55,7 @@ PLATFORM ?=
TOOLCHAIN_LONGNAME = arm-none-linux-gnueabi
TOOLCHAIN_INSTALL_DIR = $(DEPOT)/_your_arm_code_gen_install_
TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)-
+PREFIX = /usr/local
# Optional: Path to Linux Kernel - needed to build the MmRpc user libraries
# (for devices that support it)
--
1.7.9.5

View File

@@ -1,6 +1,6 @@
#! /bin/sh
tiipclad_daemon=/usr/bin/lad_tci6638
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params=lad.txt
test -x "$tiipclad_daemon" || exit 0

View File

@@ -1,8 +1,41 @@
require ti-ipc.inc
DESCRIPTION = "TI Inter Process Ccommunication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)"
HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/index.html"
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://ipc_${PV}_manifest.html;md5=573f5a5c0448d28bf8db35f438244d7f"
require ../includes/ti-paths.inc
require ../includes/ti-staging.inc
require ../includes/ti-eula-unpack.inc
PV = "1_24_00_16"
LIC_FILES_CHKSUM = "file://ipc_${PV}_manifest.html;md5=573f5a5c0448d28bf8db35f438244d7f"
S = "${WORKDIR}/ipc_${PV}"
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/${PV}/exports/ipc_setuplinux_${PV}.bin;name=ipcbin \
file://ipc.pc"
DEPENDS = "ti-sysbios ti-cgt6x ti-xdctools"
BINFILE="ipc_setuplinux_${PV}.bin"
TI_BIN_UNPK_CMDS="Y: q:workdir:Y"
do_configure() {
sed -i -e s:@VERSION@:${PV}:g ${WORKDIR}/ipc.pc
cp ${WORKDIR}/ipc.pc ${S}
}
do_install() {
install -d ${D}${IPC_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${IPC_INSTALL_DIR_RECIPE}
install -d ${D}/${libdir}/pkgconfig
install ${S}/ipc.pc ${D}/${libdir}/pkgconfig/
}
FILES_${PN}-dev = "${libdir}/*"
SRC_URI[ipcbin.md5sum] = "d2f7cc82310d555ca039dcd353bd94c5"
SRC_URI[ipcbin.sha256sum] = "96df7835e920c7dabcd63d30ec8bc2aea7cd0c6197c9fb9ca0f8a9b681aa5396"

View File

@@ -1,52 +1,7 @@
DESCRIPTION="This support the communication between processors \
in a multi-processor environment and communication to peripherals. \
This communication includes message passing, streams, and linked lists. \
These modules work transparently in both uni-processor and multi-processor \
configurations."
require ti-ipc.inc
HOMEPAGE="http://processors.wiki.ti.com/index.php/Category:IPC"
# For this version of IPC the PLATFORM value is lowercase
PLATFORM_keystone = "tci6638"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://products.mak;beginline=2;endline=30;md5=195feadf798bb4165bcb1a23ffd50dbb"
SECTION = "console"
COMPATIBLE_MACHINE = "keystone"
TARGET_PLATFORM = "tci6638"
PR = "r0"
BRANCH ?= "master"
# The following commit corresponds to 3.00.04.29
SRCREV = "12794ea33870b782bffe1fe4398e86e93fb64396"
SRC_URI = " \
git://git.ti.com/ipc/ipcdev.git;protocol=git;branch=${BRANCH} \
file://tiipclad-daemon.sh"
S = "${WORKDIR}/git"
export PLATFORM = "${TARGET_PLATFORM}"
export PARALLEL_MAKE = ""
PACKAGES =+ "${PN}-test"
FILES_${PN}-test = " \
${bindir}/NameServerApp \
${bindir}/MessageQApp \
${bindir}/MessageQMulti \
${bindir}/ping_rpmsg"
DEPENDS += "virtual/kernel"
EXTRA_OECONF += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR}"
inherit autotools
INITSCRIPT_NAME = "tiipclad-daemon.sh"
INITSCRIPT_PARAMS = "defaults 10"
inherit update-rc.d
do_install_append() {
install -d ${D}${sysconfdir}/init.d/
install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
}

View File

@@ -0,0 +1,4 @@
require ti-ipc.inc
# This commit corresponds to 3.21.00.07
SRCREV = "c18fece0c9f0dc76361dc1ee11b7ee2417479847"

View File

@@ -0,0 +1,30 @@
DESCRIPTION = "Firmware for IPU "
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc"
LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45"
COMPATIBLE_MACHINE = "omap-a15"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-3.00.04.02.tar.gz;protocol=http;name=${MACHINE}"
# DRA7xx checksums
SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379"
SRC_URI[dra7xx-evm.sha256sum] = "0b26fd13f9c318b52c18b9bff56862ef1f58a768b19285b87c035e65bc828ddc"
# OMAP5 checksums
SRC_URI[omap5-evm.md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"
SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da22ec0d5beaa5cc65"
S = "${WORKDIR}/ipumm-${MACHINE}-${PV}"
TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4"
TARGET_omap5-evm = "ducati-m3-core0.xem3"
do_install() {
mkdir -p ${D}${base_libdir}/firmware
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"

View File

@@ -1,6 +1,6 @@
DESCRIPTION = "eZ430 Chronos Tools - MSP430 Development Kit/Watch"
HOMEPAGE = "http://processors.wiki.ti.com/index.php/EZ430-Chronos"
LICENSE = "TI-BSD"
LICENSE = "BSD-3-Clause"
# We can't use the actualy source file, since it has space in its name :(
LIC_FILES_CHKSUM = "file://eZ430-Chronos_CC_1_1.tcl;md5=59ba6ee0a26650ec660a4e65a9462806"

View File

@@ -0,0 +1,31 @@
DESCRIPTION = "Radio Application Firmware"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
COMPATIBLE_MACHINE = "dra7xx-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exports/vis-${MACHINE}-01.50.07.15.tar.gz;protocol=http"
SRC_URI[md5sum] = "fe8b00e398fb3b7ada0c15b601867acb"
SRC_URI[sha256sum] = "6e2aa47ae892910616ebdc96646af778af9a59ca0657716ab4fa4b24a9afae69"
S = "${WORKDIR}"
DSPAPP = "dra7-dsp1-fw-radio.xe66"
GPPAPP = "RadioApp"
do_install() {
install -d ${D}${base_libdir}/firmware
install -d ${D}${bindir}
install ${S}/prebuilt/${DSPAPP} ${D}${base_libdir}/firmware/${DSPAPP}
install -m 0755 ${S}/prebuilt/${GPPAPP} ${D}${bindir}/${GPPAPP}
}
PACKAGES += "${PN}-fw"
RDEPENDS_${PN} += "${PN}-fw"
FILES_${PN}-fw += "${base_libdir}/firmware/${DSPAPP}"
INSANE_SKIP_${PN}-fw = "arch"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"