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

Compare commits

...

106 Commits

Author SHA1 Message Date
Fathi Boudra
057cab8689 kselftests: add bash/ncurses runtime dependency for futex test
futex test requires tput at runtime.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17 16:27:28 -04:00
Dan Murphy
293e636859 uboot-ti-staging: update to ti2017.00-rc5 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17 16:27:21 -04:00
Dan Murphy
2490a85ab6 linux-ti-staging: update to ti2017.00-rc5 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17 16:27:17 -04:00
Florian Wickert
e1039549fd u-boot-ti.inc: added dependency to bc-native
The script in scripts/Makefile.spl uses bc in line 201. Not having the dependency in the recipe can make the compile task fail.

Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17 16:27:13 -04:00
Fathi Boudra
6ee7393f8f kselftests: fix seccomp test build failure
Use the same fixup as used for timers test:
use LDLIBS to properly link against libpthread.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17 14:07:35 -04:00
Fathi Boudra
95895b7e73 kselftests: add libcap-ng dependency
libcap-ng is required to build capabilities tests.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-17 14:07:10 -04:00
Denys Dmytriyenko
27b6a303fb kselftests: fix sigaltstack packaging
sigaltstack was not using TEST_PROGS resulting in binary not being installed

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Fathi Boudra <fathi.boudra@linaro.org>
2017-03-17 13:59:01 -04:00
Fathi Boudra
a33dfa1c6a kselftests: update to 4.9
* Adjust md5sum/sha256sum for the updated tarball
* Add libpcap dependency, needed by vm/mlock-random-test
* Rewrite TARGETS as a list (easier to copy/paste/update) and filter out
  arch specific tests using bb.utils.contains_any()
* Add new tests introduced with 4.9 : capabilities, futex, lib,
  membarrier, nsfs, pstore, seccomp, sigalstack, static_keys, zram.
* Adjust the packages list for the new tests.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-15 17:51:10 -04:00
Denys Dmytriyenko
0862a33b8d linux-ti-staging_4.4: update to 4.4.54
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-15 17:45:43 -04:00
Jacob Stiffler
44bdbe5095 openmp-rtos: bump SRCREV to version 2.6.0.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-15 17:45:38 -04:00
Denys Dmytriyenko
56af3084a1 kselftests: set file ownership to root, avoid contamination warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-14 18:17:39 -04:00
Sam Nelson
a7479c0cd7 ti-ipc-rtos: Update to remove host-user-contaminated warnings
Update to copy NOT to preserve ownership (but to preserve mode and
timestamps)

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-14 18:17:35 -04:00
Denys Dmytriyenko
5e46f1e65d wl18xx-calibrator: add version 8.7.1 (R8.7_SP1)
Previous versions were provided by meta-arago-extras as ti-wifi-utils, moving to meta-ti now.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-10 16:51:45 -05:00
Denys Dmytriyenko
83c6afb3f1 wl18xx-target-scripts: add version 8.7.1 (R8.7_SP1)
Previous versions were provided by meta-arago-extras, moving to meta-ti now.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-10 16:51:40 -05:00
Denys Dmytriyenko
62e6c18daa wlconf: add version 8.7.1 (R8.7_SP1)
Previous versions were provided by meta-arago-extras, moving to meta-ti now.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-10 16:51:36 -05:00
Denys Dmytriyenko
dfaeb87136 bt-fw: add version 8.7.1 (R8.7_SP1)
Previous versions were provided by meta-arago-extras, moving to meta-ti now.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-10 16:51:03 -05:00
Denys Dmytriyenko
432336c5fd wl18xx-fw: add version 8.7.1 (R8.7_SP1)
Previous versions were provided by meta-arago-extras, moving to meta-ti now.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-10 16:50:56 -05:00
Dan Murphy
eb9cfbb20a linux-ti-staging: update to ti2017.00-rc4 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-10 16:50:52 -05:00
Dan Murphy
e4a7d2fe56 linux-ti-staging: update to ti2017.00-rc3 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-06 14:28:39 -05:00
Dan Murphy
205e488a59 uboot-ti-staging: update to ti2017.00-rc3 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-06 14:28:37 -05:00
Denys Dmytriyenko
d2395ca5e1 linux-ti-staging: still need to pass LOADADDR for uImage image types
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-06 14:18:07 -05:00
Denys Dmytriyenko
f86641d4b5 omap-a15.conf: enable uImage as alternative image type to zImage
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-06 14:18:02 -05:00
Denys Dmytriyenko
f8d3107a3b conf/machine: simplify console settings, deprecate ttyO use
Now, that 4.9 finally switched from ttyO to ttyS and all issues were addressed,
no need to try all possible combinations in most cases.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-06 14:17:54 -05:00
Denys Dmytriyenko
870b2f482c libgbm: depend on udev, as it uses libudev, cleanup
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-06 14:17:44 -05:00
Denys Dmytriyenko
5a8ca1452f conf/machine: deprecate opencl feature, introduce dsp feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-01 21:03:35 -05:00
Denys Dmytriyenko
c94f0e9626 k2g-ice: remove separate config in favor of generic k2g-evm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-01 21:03:12 -05:00
Denys Dmytriyenko
2c8294a83b ti-ipc: explicitly depend on virtual/kernel:do_shared_workdir
ipc code looks for kernel's generated version.h file:
  #include linux_version_include(KERNEL_BUILD_DIR)

which now ends up in the following shared workdir:
  work-shared/<mach>/kernel-build-artifacts/include/generated/uapi/linux/version.h

It appears if kernel is provided by sstate, shared workdir is not
getting populated, so depend on the task explicitly.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-28 19:12:24 -05:00
Denys Dmytriyenko
5299898b92 ti-ipc: update from "eng" to GA version of 3.45
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 22:54:37 -05:00
Dan Murphy
9961951d56 uboot-ti-staging: update to ti2017.00-rc2 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 15:42:47 -05:00
Dan Murphy
f9fe9be6d4 linux-ti-staging: update to ti2017.00-rc2 tag
Update to ti2017.00-rc2 tag as well as 4.9.13 kernel
revision

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 15:42:45 -05:00
Anand Balagopalakrishnan
3440fd7d22 ti-sgx-ddk-um: add support for GBM pixmap surface
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 13:23:17 -05:00
Karthik Ramanan
ee88c0f7ce ipumm-fw: update to 3.00.13.00
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 13:22:50 -05:00
Anand Balagopalakrishnan
93192da44c ti-sgx-ddk-um: add support for dmabuf import in GBM WSEGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 13:15:37 -05:00
Dan Murphy
4c76c98d2a conf: am43: Add hdmi dtb file to Device tree files
AM43x was missing the hdmi dtb file in the
KERNEL_DEVICETREE variable.  Adding this in allows for
a copy to deploy directory.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 13:15:31 -05:00
Anand Balagopalakrishnan
841faaae48 ti-sgx-ddk-um: fix memory leak with EGL Image DMABuf import
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-27 13:14:12 -05:00
Denys Dmytriyenko
4633c1dd6e u-boot-ti.inc: k2e-hs-evm doesn't provide the same binaries as other KS2 devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Reviewed-by: Dan Murphy<dmurphy@ti.com>
2017-02-27 13:13:52 -05:00
Denys Dmytriyenko
3e118a8b4b u-boot-ti.inc: restructure SPL/UART variables, disable k2e-hs-evm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-18 19:42:31 -05:00
Denys Dmytriyenko
3fe8ffe67c conf/machine: bump max_leb_cnt for am3
Previous commit meant to increase it more than just by 200...

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-18 19:21:04 -05:00
Denys Dmytriyenko
8d327cb43e linux-ti-staging: update to ti2017.00-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-17 18:19:31 -05:00
Denys Dmytriyenko
fbeb76f197 u-boot-ti-staging: update to ti2017.00-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-17 18:19:30 -05:00
Denys Dmytriyenko
75f58488d8 conf/machine: bump max_leb_cnt for am3 and am4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-17 13:25:23 -05:00
Denys Dmytriyenko
31906c8260 linux-ti-staging: update with latest rpmsg merge to unblock KS2 MPM
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Dan Murphy <dmurphy@ti.com>
2017-02-17 01:51:57 -05:00
Jacob Stiffler
653b7d7d94 ti-cgt-pru: update to version 2.1.4
* The old license file, LICENSE.txt, has been removed in this release,
  so use the HTML manifest for the license.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-17 01:51:52 -05:00
Sam Nelson
660f6ae625 cmem: Update to new version 4.14.0.0_eng
Has update to changes related to Kernel 4.9

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-17 01:51:46 -05:00
Gowtham Tammana
5a1d6edfe8 ti-gc320-driver: move to k4.9
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 16:27:42 -05:00
Karthik Ramanan
bffa5941ef libdce: Update SRCREV
This change will include:
 * New interface file for MJPEG Encoder
 * Increase max instances of Engines

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:39:11 -05:00
Karthik Ramanan
502ffcb5a8 ipumm-fw: Updated to MJPEG encoder
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:39:07 -05:00
Denys Dmytriyenko
c7c35e3a27 conf/machine: add LCD-specific DTB entries for dra7/am57/k2g
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:39:01 -05:00
Dan Murphy
b1c37b4587 linux-ti-staging: update to 4.9.10
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:38:52 -05:00
Denys Dmytriyenko
0ea919c009 am180x-evm: update machine config to work with latest BSP
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:38:33 -05:00
Karthik Ramanan
0d82de923a ti-sgx-ddk-um: enhance wl_display validation criterion
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-15 14:38:03 -05:00
Denys Dmytriyenko
1941f65454 linux-ti-staging: update to 4.9.9
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-10 12:16:13 -05:00
Sam Nelson
84b5d97201 uio-test-pruss: Update to fix issue with make
Add device option to build for specific device
Make package Machine dependent

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-09 21:09:11 -05:00
Sam Nelson
952a788d17 multiprocmgr-test: Add test c66x images, sources and scripts to package
multiprocmgr-test installs source files, host binaries and associated
    scripts (ti/examples/mpm/test)
multiprocmgr-rtos-test installs the C66x test images in the same
directory structure.

Other updates include
- Use of oe_runmake instead of make
- Added runtime dependency of multiprocmgr-rtos-test & bash

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-09 21:09:07 -05:00
Sam Nelson
880ca7f51c ti-ipc: Update to new version 3.45.00.00_eng
Also moved RELEASE_TYPE & RELEASE_SUFFIX variables to ti-ipc-rtos.inc

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-09 13:15:10 -05:00
Anand Balagopalakrishnan
81babbc15a ti-sgx-ddk-km: move to k4.9
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-08 11:02:09 -05:00
Denys Dmytriyenko
6be0cfe030 linux-ti-staging: update to 4.9.8
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-06 20:03:47 -05:00
Denys Dmytriyenko
19a884c127 am335x-hs-evm: update UBOOT_MACHINE var for latest u-boot version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-06 13:16:33 -05:00
Anand Balagopalakrishnan
16f6a2713d ti-sgx-ddk-km: enable parallel builds
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-06 13:16:29 -05:00
Denys Dmytriyenko
935753e938 linux-ti-staging: add version 4.9.7
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-02 18:34:19 -05:00
Denys Dmytriyenko
ca30444d72 conf/machine: set KERNEL_DEVICETREE dtb list per machine
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-02 18:34:13 -05:00
Denys Dmytriyenko
fb42bf85af linux-ti-staging: remove old 4.1 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-02 18:34:08 -05:00
Denys Dmytriyenko
a79ee0ddd4 u-boot-ti-staging: add version 2017.01
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-02 18:34:04 -05:00
Denys Dmytriyenko
ed4873bed8 u-boot: move common settings and code to u-boot-ti.inc
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-02-02 18:34:00 -05:00
Gowtham Tammana
0d128cff49 ti-gc320-driver: Update SRCREV
This update includes the following
  - Remove dependency on dmac_flus/inv/clean_range
  - Remove spurious page count increment

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-30 15:51:31 -05:00
Denys Dmytriyenko
c7835c1768 machine: update max_leb_cnt across the board
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-20 17:41:31 -05:00
Denys Dmytriyenko
f78085faf7 beaglebone: add check for potential conflicts with meta-yocto-bsp
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-20 17:41:26 -05:00
e-ruei1@ti.com
430ef4bcbd ti-sgx-ddk-km: remove update of sysconfig register in driver
The OCP SYSCONFIG register should be controlled by kernel hwmod only.
the original code sets the SGX idle and standby mode to "No Standby"
which prevents the SGX power domain to reach off state during suspend.
Even though the problem was only introduced with kernel 4.4 upgrade, i.e.
it seemed to be no harm before, we should remove the same.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-18 21:09:37 -05:00
Denys Dmytriyenko
f3df43255c README, layer.conf: update for morty and list dependencies
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-18 18:54:34 -05:00
Sam Nelson
b1c690300e cmem: Update to new version 4.13.00.01_eng
Update to new version 4.13.00.01_eng with bug fix

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-13 13:15:55 -05:00
Denys Dmytriyenko
f88402a40a u-boot-ti-staging: update to ti2016.06-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-09 19:24:39 -05:00
Denys Dmytriyenko
8981c77196 linux-ti-staging: update to 4.4.41 and ti2016.06-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-01-09 19:24:37 -05:00
Denys Dmytriyenko
ae03bd2d26 u-boot-ti-staging: update to ti2016.06-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-23 21:08:45 -05:00
Denys Dmytriyenko
8bff8a36ca linux-ti-staging: update to ti2016.06-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-23 21:08:43 -05:00
Gowtham Tammana
79d67f45dd ti-gc320-driver: add support for RT kernel
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-23 21:08:40 -05:00
Karthik Ramanan
a71dd19fc6 ti-sgx-ddk-km: Fix error in calculation of page array
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-22 13:19:40 -05:00
Karthik Ramanan
4f569d664e ti-sgx-ddk-um: Add support for YUYV EGLImage
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-22 13:19:38 -05:00
Sam Nelson
9a146d37ad cmem: Update commit id for 4.13.00.00_eng
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-21 13:23:55 -05:00
Denys Dmytriyenko
3c2c9c0ffa cmem.inc: only mangle SRC_URI in do_unpack instead of anon function
Avoid taskhash mismatch errors.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-21 13:23:52 -05:00
Jacob Stiffler
354b342d8e pruss-lld: utilize oe_runmake
* Use the oe_runmake wrapper to invoke make
* Supply common make arguments to EXTRA_OEMAKE such as which makefile
  to invoke.
* This resolves build issues when pruss-lld needs to be reconfigured
  as do_configure would make the clean target of the incorrect
  makefile.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-20 16:32:12 -05:00
Sam Nelson
d1356260e8 ti-ipc: Update to new patch release 3.44.01.01
-Enables parallel build when rtos build invokes xdc to reduce build time

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:19:17 -05:00
Sam Nelson
78a25f3bb7 mpm-transport: Update to new version 2.0.3
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:19:15 -05:00
Sam Nelson
9740942a7b multiprocmgr: Update to new version 3.0.2.0
This version add dependce on CMEM

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:19:13 -05:00
Justin Sobota
9b921d910c common-csl-ip: Upstream version 3.3.0.5A
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:15:23 -05:00
Justin Sobota
8b2a194b4a openmp-rtos: Upstream version 2.5.0.0
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:15:16 -05:00
Justin Sobota
8d5dc51612 pruss-lld: Upstream version 1.0.0.5A
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:15:14 -05:00
Justin Sobota
acb8746388 osal: Upstream version 1.0.0.5E
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:15:09 -05:00
Justin Sobota
c971a8f601 nwal-lld: Upstream version 2.1.0.11A
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:15:04 -05:00
Justin Sobota
e6b912ab89 ti-pdk-build-rtos: Upstream version 1.0.0.3
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:15:00 -05:00
Justin Sobota
f01e341737 sa-lld: Upstream version 3.0.0.16
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:14:54 -05:00
Justin Sobota
f34b7fa11d pa-lld: Upstream version 3.0.2.1
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:14:49 -05:00
Justin Sobota
06340aca21 ti-xdctools: Upstream version 3.32.01.22
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:14:44 -05:00
Justin Sobota
186ce26268 ti-sysbios: Upstream version 6.46.01.38
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:14:39 -05:00
Justin Sobota
6d793ed293 edma3-lld: Upstream version 2.12.2.26
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-19 18:14:35 -05:00
Denys Dmytriyenko
c9bc3e91fb u-boot-ti-staging: update to ti2016.06-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 14:09:43 -05:00
Denys Dmytriyenko
1e428ed1e9 linux-ti-staging: update to 4.4.39 and ti2016.06-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 14:09:40 -05:00
Karthik Ramanan
6c4e15144c libdce: Update SRCREV add MJPEG Encoder support
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 12:44:50 -05:00
Karthik Ramanan
ec9ec37df2 ipumm-fw: Update SRCREV
This will include the following updates:
 * Addition of MJPEG Encoder
 * minor bug fixes
 * codec updates for mpeg2d

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 12:44:47 -05:00
Sam Nelson
f9913896a7 recipes-kernel:cmem.dtsi:K2G: Update to remove redefinition of mpm areas
Cleaning up redefinition of mpm areas and moving to use what is defined
in the base device tree files as is.
This effectively changes to a new memory partition.
Note that this change needs a corresponding change in the dts files in
the kernel tree to adjust the mpm memory area to the new memory
partition.

The CMEM areas here are adjusted such that there is no overlap with the
mpm areas defined in the dts files in the kernel tree.
Note also the address ranges are arranged differently for K2G compared
to  the other Keystone platforms.
(This is to accomodate common memory map for multiple k2g platforms)

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 12:44:44 -05:00
Sam Nelson
d4be639847 recipes-kernel:cmem.dtsi:Keystone2: Update to remove redefinition of mpm areas
Cleaning up redefinition of mpm areas and moving to use what is defined
in the base device tree files as is.
This effectively changes to a new memory partition.
Note that this change needs a corresponding change in the dts files in
the kernel tree to adjust the mpm memory area to the new memory
partition.

The CMEM areas here are adjusted such that there is no overlap with the
mpm areas defined in the dts files in the kernel tree.

Also fixes issue with K2L, by removing overlapping memory area section.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-16 12:44:41 -05:00
Denys Dmytriyenko
ab331c387f linux-ti-staging: update to 4.4.37 and ti2016.06-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:26:30 -05:00
Denys Dmytriyenko
022973ce97 u-boot-ti-staging: update to ti2016.06-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:26:26 -05:00
Denys Dmytriyenko
26ed101024 goodix-fw: add Goodix GT9271 config firmware
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:26:20 -05:00
Denys Dmytriyenko
6597647a52 am57xx-hs-evm, dra7xx-hs-evm: update OPTEEFLAVOR to match latest OPTEE code
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:26:18 -05:00
Denys Dmytriyenko
845092ef8e cmem: add support for memory carveouts of dra71 variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-09 17:26:14 -05:00
Denys Dmytriyenko
07b8724fbe conf/machine: split SECDEV use for am5x and dra7 machines
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-08 17:42:30 -05:00
114 changed files with 1049 additions and 563 deletions

2
README
View File

@@ -8,7 +8,7 @@ This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
branch: morty
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto

View File

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

View File

@@ -11,6 +11,8 @@ UBOOT_SUFFIX = "ais"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
IMAGE_FSTYPES += "tar.gz"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLE = "115200 ttyS2"
KERNEL_DEVICETREE = "da850-evm.dtb da850-lcdk.dtb"

View File

@@ -11,8 +11,9 @@ MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0 115200;ttyS3 115200;ttyO3"
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
@@ -26,7 +27,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 5600"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 7000"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:

View File

@@ -4,7 +4,7 @@
require conf/machine/am335x-evm.conf
UBOOT_MACHINE = "am335x_hs_evm_mmc_config"
UBOOT_MACHINE = "am335x_hs_evm_config"
UBOOT_ENTRYPOINT = "0x82000000"
UBOOT_LOADADDRESS = "0x82000000"

View File

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

View File

@@ -12,7 +12,9 @@ MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyO0"
KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4

View File

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

View File

@@ -8,9 +8,12 @@ MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyO2"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyS2"
KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb \
am57xx-evm.dtb am57xx-evm-reva3.dtb \
am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb \
am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
UBOOT_MACHINE = "am57xx_evm_config"

View File

@@ -11,8 +11,8 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/am5x"
OPTEEMACHINE = "ti"
OPTEEFLAVOR = "am57xx_evm"
OPTEEFLAVOR = "am57xx"
OPTEEOUTPUTMACHINE = "ti"

View File

@@ -10,7 +10,9 @@ MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"
SERIAL_CONSOLE = "115200 ttyO2"
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb"
SERIAL_CONSOLE = "115200 ttyS2"
UBOOT_MACHINE = "omap3_beagle_config"

View File

@@ -3,12 +3,15 @@
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
require conf/machine/include/ti33x.inc
require conf/machine/include/beaglebone.inc
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
SERIAL_CONSOLE = "115200 ttyO0"
SERIAL_CONSOLE = "115200 ttyS0"
UBOOT_MACHINE = "am335x_boneblack_config"

View File

@@ -8,9 +8,12 @@ MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyO0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
SERIAL_CONSOLE = "115200 ttyS0"
KERNEL_DEVICETREE = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd101t2045.dtb dra7-evm-lcd-osd101t2587.dtb \
dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \
dra72-evm-revc.dtb dra72-evm-revc-lcd-osd101t2045.dtb dra72-evm-revc-lcd-osd101t2587.dtb \
dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb"
UBOOT_MACHINE = "dra7xx_evm_config"

View File

@@ -11,8 +11,8 @@ UBOOT_LOADADDRESS = "0x82000000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_AUTO}/dra7"
OPTEEMACHINE = "ti"
OPTEEFLAVOR = "dra7_evm dra72_evm_revc dra71_evm"
OPTEEFLAVOR = "dra7xx"
OPTEEOUTPUTMACHINE = "ti"

View File

@@ -0,0 +1,12 @@
python () {
layers = bb.data.getVar("BBFILE_COLLECTIONS", d, 1)
if not layers:
return
if "yoctobsp" in layers:
bb.fatal("\nmeta-yocto-bsp has been detected in bblayers.conf, which provides basic reference BSP for beaglebone platform. " \
"\nSince meta-ti provides official comprehensive BSP for TI SoCs, including beaglebone, there could be potential conflicts " \
"\nbetween beaglebone machine definitions available in meta-yocto-bsp and meta-ti layers. It is recommended to remove " \
"\nor disable meta-yocto-bsp in bblayers.conf, when using meta-ti and building for beaglebone platform. Alternatively, " \
"\nit is possible to build for am335x-evm with meta-ti, which is a more generic platform for Sitara AM335x SoC and " \
"\nalso covers beaglebone variants.")
}

View File

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

View File

@@ -23,5 +23,5 @@ UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
EXTRA_IMAGEDEPENDS += "boot-monitor"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci dsp"
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"

View File

@@ -12,6 +12,8 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "zImage uImage"
KERNEL_CLASSES += "kernel-uimage"
UBOOT_ARCH = "arm"
UBOOT_ENTRYPOINT = "0x80008000"
@@ -31,4 +33,4 @@ MACHINE_GUI_CLASS = "smallscreen"
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp"

View File

@@ -26,6 +26,8 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "omap3_evm_config"
XLOAD_MACHINE = "omap3evm_config"

View File

@@ -26,6 +26,8 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb am335x-icev2.dtb"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"

View File

@@ -26,6 +26,8 @@ PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am43xx_evm_config"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
include cmem.inc
# This package builds a kernel module, use kernel PR as base and append a local
MACHINE_KERNEL_PR_append = "a"
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
inherit module

View File

@@ -4,10 +4,10 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
BRANCH = "lu-next"
# This corresponds to version 4.13.00.00_eng
SRCREV = "d6d3e84c84d0e84a9b96c3f6f789ac642d03afcb"
# This corresponds to version 4.14.00.00_eng
SRCREV = "b514a99ac45c64f0439282d0774d7cff5def4c6f"
PV = "4.13.00.00+git${SRCPV}"
PV = "4.14.00.00+git${SRCPV}"
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"

View File

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

View File

@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
COMPATIBLE_MACHINE = "keystone|dra7xx"
PV = "03.03.00.04B"
PV = "03.03.00.05A"
INC_PR = "r0"
CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git"
@@ -12,8 +12,8 @@ CSL_GIT_PROTOCOL ="git"
CSL_GIT_BRANCH = "master"
CSL_GIT_DESTSUFFIX = "git"
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.04B"
CSL_SRCREV = "a74dc132a21085214b49c3ae8884825d87b6dd2f"
# Below commit ID corresponds to "DEV.CSL_PROCESSOR-SDK.03.03.00.05A"
CSL_SRCREV = "811646f507d985dac04544c60c965cadf5e26a4f"
BRANCH="${CSL_GIT_BRANCH}"
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"

View File

@@ -6,12 +6,12 @@ EDMA3_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
EDMA3_LLD_GIT_PROTOCOL = "git"
EDMA3_LLD_GIT_BRANCH = "master"
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_01_25A"
EDMA3_LLD_SRCREV = "b2d61c61dd048bdea35e9b2810647b4d419a82b5"
# Below commit ID corresponds to tag "DEV_EDMA3_LLD_02_12_02_26"
EDMA3_LLD_SRCREV = "1c67565620f5a5305cf3293bba669c6aa1a7e40a"
BRANCH = "${EDMA3_LLD_GIT_BRANCH}"
SRC_URI = "${EDMA3_LLD_GIT_URI};protocol=${EDMA3_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${EDMA3_LLD_SRCREV}"
PV = "2.12.01.25A"
PV = "2.12.02.26"
INC_PR = "r0"

View File

@@ -5,13 +5,13 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
inherit module
MACHINE_KERNEL_PR_append = "a"
MACHINE_KERNEL_PR_append = "c"
PR = "${MACHINE_KERNEL_PR}"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k4.4"
BRANCH = "ti-${PV}-k4.9"
SRCREV = "7a2b06ad1df46a274336f7ae0e24a9d67e72cd66"
SRCREV = "030df5ecf503ef3c83dca6e732e6d47d4a11cd4b"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git/src"

View File

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

View File

@@ -9,7 +9,7 @@ python __anonymous() {
DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=e3e7d6efc7aca87789775198c4ca9f8e"
LIC_FILES_CHKSUM = "file://Texas_Instruments_ipumm_Manifest.pdf;md5=5cc572579f07af266ab57fc17d762c7f"
COMPATIBLE_MACHINE = "dra7xx"
@@ -17,12 +17,12 @@ RDEPENDS_${PN} = " libdce"
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
SRCREV = "cd93550ed32c7849de91288e7d90cba3bd89614b"
SRCREV = "fd441443a4289c801a0c8d9f00b6966f7fe3476c"
S = "${WORKDIR}/git"
PV = "3.00.12.00"
PR = "r0"
PV = "3.00.13.00"
PR = "r5"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-staging.inc

View File

@@ -8,15 +8,15 @@ NWAL_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git"
NWAL_LLD_GIT_PROTOCOL = "git"
NWAL_LLD_GIT_BRANCH = "master"
# Below commit ID corresponds to "DEV.NWAL.02.01.00.10A"
NWAL_LLD_SRCREV = "e7ed8c5abc4b93b99a5f45699eef8f3b8ca51d1e"
# Below commit ID corresponds to "DEV.NWAL.02.01.00.11A"
NWAL_LLD_SRCREV = "a93303e3d682d7161030113b72c3e1adf755bf89"
BRANCH = "${NWAL_LLD_GIT_BRANCH}"
SRC_URI = "${NWAL_LLD_GIT_URI};protocol=${NWAL_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${NWAL_LLD_SRCREV}"
PV = "02.01.00.10"
INC_PR = "r1"
PV = "02.01.00.11A"
INC_PR = "r0"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/nwal"

View File

@@ -0,0 +1,20 @@
DESCRIPTION = "TI OSAL tests"
DEPENDS="common-csl-ip osal"
include osal.inc
PR = "${INC_PR}.0"
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
do_compile () {
# Build the tests
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
}
do_install () {
# Install the binary
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
}

20
recipes-bsp/osal/osal.inc Normal file
View File

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

View File

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

View File

@@ -9,14 +9,14 @@ PA_LLD_GIT_PROTOCOL = "git"
PA_LLD_GIT_BRANCH = "master"
PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.02.00"
PA_LLD_SRCREV = "dca2a281c0c57f3b3018a93fae5485825a33042c"
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.02.01"
PA_LLD_SRCREV = "e95de49323678a55072c90fb213b94f96cf494b1"
BRANCH = "${PA_LLD_GIT_BRANCH}"
SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${PA_LLD_SRCREV}"
PV = "03.00.02.00"
PV = "03.00.02.01"
INC_PR = "r0"
S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"

View File

@@ -7,7 +7,7 @@ inherit module
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
MACHINE_KERNEL_PR_append = "i"
MACHINE_KERNEL_PR_append = "m"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -20,19 +20,17 @@ RPROVIDES_${PN} = "omapdrm-pvr"
RREPLACES_${PN} = "omapdrm-pvr"
RCONFLICTS_${PN} = "omapdrm-pvr"
BRANCH = "ti-img-sgx/${PV}/k4.4"
BRANCH = "ti-img-sgx/${PV}/k4.9"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
SRCREV = "e68719ba7c54602c710b6615cd665f5b7f47f85e"
SRCREV = "0086977380d3320d70a3abc78b95fa0641427073"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"
TARGET_PRODUCT_ti43x = "ti437x"
PARALLEL_MAKE = ""
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
do_compile_prepend() {

View File

@@ -0,0 +1,21 @@
DESCRIPTION = "TI PRUSS low level driver tests"
DEPENDS="common-csl-ip pruss-lld osal"
include pruss-lld.inc
PR = "${INC_PR}.1"
S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
do_compile () {
# Build the tests
oe_runmake tests
}
do_install () {
# Install the binary
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
}

View File

@@ -0,0 +1,20 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd124a6e799e2bd458"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git"
PRUSS_LLD_GIT_PROTOCOL = "git"
PRUSS_LLD_GIT_BRANCH = "master"
PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.05A"
PRUSS_LLD_SRCREV = "7421ea14f163fb3c95c3645fe0add1e05da9d748"
BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${PRUSS_LLD_SRCREV}"
PV = "01.00.00.05A"
INC_PR = "r0"

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "TI PRUSS low level driver library"
DEPENDS="common-csl-ip osal"
include pruss-lld.inc
PR = "${INC_PR}.2"
S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
# Build the lib
oe_runmake clean
oe_runmake lib
}
do_install () {
# Install the lib
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}

View File

@@ -8,14 +8,14 @@ SA_LLD_GIT_PROTOCOL = "git"
SA_LLD_GIT_BRANCH = "master"
SA_LLD_GIT_DESTSUFFIX = "git/ti/drv/sa"
# Below commit ID corresponds to "DEV.SA_LLD.03.00.00.15"
SA_LLD_SRCREV = "59dbcc8b1ed05d81161bc4c472bed8916a004728"
# Below commit ID corresponds to "DEV.SA_LLD.03.00.00.16"
SA_LLD_SRCREV = "eb1508714586f92e66bf5a8a4c212e8277f6b065"
BRANCH = "${SA_LLD_GIT_BRANCH}"
SRC_URI = "${SA_LLD_GIT_URI};destsuffix=${SA_LLD_GIT_DESTSUFFIX};protocol=${SA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${SA_LLD_SRCREV}"
PV = "03.00.00.15"
PV = "03.00.00.16"
INC_PR = "r0"
S = "${WORKDIR}/${SA_LLD_GIT_DESTSUFFIX}"

View File

@@ -1,113 +1,7 @@
require u-boot-ti.inc
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native"
PR = "r30"
DESCRIPTION = "u-boot bootloader for TI devices"
BRANCH = "ti-u-boot-2016.05"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
PR = "r26"
PV_append = "+git${SRCPV}"
SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
BRANCH ?= "ti-u-boot-2016.05"
SRCREV = "6c5519b6fc09274d28d653a9a3cabf7dc74883ca"
# Support for secure devices - detailed info is in doc/README.ti-secure
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
SPL_BINARY = "MLO"
SPL_BINARY_k2e-hs-evm = ""
SPL_UART_BINARY = "u-boot-spl.bin"
# Keystone specifics
UBOOT_SUFFIX_keystone = "bin"
SPL_UART_BINARY_keystone = ""
# SPI NOR Flash binaries
UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
UBOOT_SPI_BINARY = "u-boot.img"
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
# SPI NOR Flash deployed images
UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin"
UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
# HS XLD
UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
# HS MLO
UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
do_compile_append_am437x-hs-evm () {
if [ -f ${B}/u-boot-spl_HS_ISSW ]; then
rm -rf ${B}/MLO
cp ${B}/u-boot-spl_HS_ISSW ${B}/MLO
fi
}
do_install_append () {
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
fi
}
do_deploy_append () {
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${DEPLOYDIR}/${UBOOT_HS_XLD_IMAGE}
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
fi
}
do_install_append_keystone () {
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
}
do_deploy_append_keystone () {
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}
rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}
rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
}
SRCREV = "4db46a6bbde46e4587b77e14763787f66c292701"

View File

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

View File

@@ -16,8 +16,18 @@ require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
SUMMARY = "u-boot bootloader for TI devices"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
BRANCH ?= "master"
SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
PV_append = "+git${SRCPV}"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native bc-native"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -28,26 +38,126 @@ PKG_${PN}-dbg = "u-boot-dbg"
S = "${WORKDIR}/git"
# Support for secure devices - detailed info is in doc/README.ti-secure
TI_SECURE_DEV_PKG ?= ""
export TI_SECURE_DEV_PKG
# SPL (Second Program Loader)
SPL_BINARY = "MLO"
SPL_BINARY_k2e-hs-evm = ""
SPL_BINARY_omapl138 = ""
# SPL (Second Program Loader) to be loaded over UART
SPL_UART_BINARY ?= ""
SPL_UART_BINARY = "u-boot-spl.bin"
SPL_UART_BINARY_keystone = ""
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
# Keystone specifics
UBOOT_SUFFIX_keystone = "bin"
# SPI NOR Flash binaries
UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
UBOOT_SPI_SPL_BINARY_k2e-hs-evm = ""
UBOOT_SPI_BINARY = "u-boot.img"
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
UBOOT_SPI_GPH_BINARY_k2e-hs-evm = ""
# SPI NOR Flash deployed images
UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin"
UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
# HS XLD
UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
# HS MLO
UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
do_compile_append_am437x-hs-evm () {
if [ -f ${B}/u-boot-spl_HS_ISSW ]; then
rm -rf ${B}/MLO
cp ${B}/u-boot-spl_HS_ISSW ${B}/MLO
fi
}
do_install_append () {
if [ "x${SPL_UART_BINARY}" != "x" ]
then
install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
fi
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/spl/${SPL_UART_BINARY} ${D}/boot/${SPL_UART_IMAGE}
ln -sf ${SPL_UART_IMAGE} ${D}/boot/${SPL_UART_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
fi
}
do_deploy_append () {
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]
then
install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
fi
cd ${DEPLOYDIR}
if [ "x${SPL_UART_BINARY}" != "x" ]; then
install ${B}/spl/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_IMAGE}
rm -f ${DEPLOYDIR}/${SPL_UART_BINARY} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_BINARY}
ln -sf ${SPL_UART_IMAGE} ${DEPLOYDIR}/${SPL_UART_SYMLINK}
fi
if [ -f ${B}/${UBOOT_HS_XLD_BINARY} ]; then
install ${B}/${UBOOT_HS_XLD_BINARY} ${DEPLOYDIR}/${UBOOT_HS_XLD_IMAGE}
rm -f ${UBOOT_HS_XLD_BINARY} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
fi
if [ -f ${B}/${UBOOT_HS_MLO_BINARY} ]; then
install ${B}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}
rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
fi
}
do_install_append_keystone () {
if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
fi
install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
fi
}
do_deploy_append_keystone () {
if [ "x${UBOOT_SPI_SPL_BINARY}" != "x" ]; then
install ${B}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}
rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK}
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
fi
install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}
rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
fi
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
BRANCH = "ti-img-sgx/${PV}"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
SRCREV = "3c0537748dd283b2de9c5369570aa2aade5a9979"
SRCREV = "d184140aa5c17e13e1bf21151f1a7bc068bdf8bf"
# There's only hardfp version available
python __anonymous() {
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
inherit update-rc.d
PR = "r18"
PR = "r23"
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
DEPENDS += "libdrm udev libgbm wayland libffi"

View File

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

View File

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

View File

@@ -4,12 +4,13 @@
CMEM_MACHINE = "${MACHINE}"
CMEM_MACHINE_am57xx-evm = "am571x am572x"
CMEM_MACHINE_am57xx-hs-evm = "am571x am572x"
CMEM_MACHINE_dra7xx-evm = "dra72x dra74x"
CMEM_MACHINE_dra7xx-hs-evm = "dra72x dra74x"
CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x"
CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x"
# Set cmem.dtsi per machine or machine variant
CMEM_DTSI = "cmem.dtsi"
CMEM_DTSI_am571x = "cmem-am571x.dtsi"
CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
# Split device trees between variants
@@ -17,6 +18,7 @@ CMEM_DEVICETREE = "${KERNEL_DEVICETREE}"
CMEM_DEVICETREE_am571x = "am571x-idk.dtb am571x-idk-lcd-osd.dtb am571x-idk-lcd-osd101t2587.dtb"
CMEM_DEVICETREE_am572x = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-evm.dtb am57xx-evm-reva3.dtb am572x-idk.dtb \
am572x-idk-lcd-osd.dtb am572x-idk-lcd-osd101t2587.dtb"
CMEM_DEVICETREE_dra71x = "dra71-evm.dtb dra71-evm-lcd-auo-g101evn01.0.dtb"
CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd.dtb dra72-evm-lcd-osd101t2587.dtb \
dra72-evm-revc.dtb dra72-evm-revc-lcd-osd101t2045.dtb dra72-evm-revc-lcd-osd101t2587.dtb"
CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb dra7-evm-lcd-osd101t2587.dtb"
@@ -25,7 +27,7 @@ CMEM_DEVICETREE_dra74x = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb
RESERVE_CMEM ?= "0"
# Add correct cmem.dtsi to SRC_URI for each variant for a given machine
python() {
python do_unpack() {
old_overrides = d.getVar('OVERRIDES', False)
# Initialize with empty string to simplify logic to append to SRC_URI
@@ -40,6 +42,7 @@ python() {
cmem_dtsi.add(localdata.getVar('CMEM_DTSI', True))
d.appendVar('SRC_URI', ' file://'.join(cmem_dtsi))
bb.build.exec_func('base_do_unpack', d)
}
python do_setup_cmem() {

View File

@@ -0,0 +1,29 @@
/ {
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
cmem_block_mem_0: cmem_block_mem@a0000000 {
reg = <0x0 0xa0000000 0x0 0x0c000000>;
no-map;
status = "okay";
};
};
cmem {
compatible = "ti,cmem";
#address-cells = <1>;
#size-cells = <0>;
#pool-size-cells = <2>;
status = "okay";
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmem-buf-pools = <1 0x0 0x0c000000>;
};
};
};

View File

@@ -1,7 +1,7 @@
/ {
reserved-memory {
cmem_block_mem_0: cmem_block_mem@829000000 {
reg = <0x00000008 0x22000000 0x00000000 0x1E000000>;
cmem_block_mem_0: cmem_block_mem@830000000 {
reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
no-map;
status = "okay";
};
@@ -19,7 +19,7 @@
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmem-buf-pools = <1 0x00000000 0x1E000000>;
cmem-buf-pools = <1 0x00000000 0x18000000>;
};
cmem_block_1: cmem_block@1 {
@@ -29,13 +29,6 @@
};
};
&dsp_common_mpm_area {
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
};
&mpm_mem {
reg = <0xa0000000 0x02000000>;
};
&msm_ram {
sram_cmem: sram-cmem@80000 {
reg = <0x80000 0xc0000>;

View File

@@ -1,14 +1,8 @@
/ {
reserved-memory {
cmem_block_mem_0: cmem_block_mem@829000000 {
reg = <0x00000008 0x29000000 0x00000000 0x17000000>;
no-map;
status = "okay";
};
cmem_block_mem_2: cmem_block_mem@822000000 {
reg = <0x00000008 0x22000000 0x00000000 0x07000000>;
cmem_block_mem_0: cmem_block_mem@818000000 {
reg = <0x00000008 0x18000000 0x00000000 0x5000000>;
no-map;
status = "okay";
};
@@ -26,28 +20,16 @@
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmem-buf-pools = <1 0x00000000 0x17000000>;
cmem-buf-pools = <1 0x00000000 0x5000000>;
};
cmem_block_1: cmem_block@1 {
reg = <1>;
sram = <&sram_cmem>;
};
cmem_block_2: cmem_block@2 {
reg = <2>;
memory-region = <&cmem_block_mem_2>;
};
};
};
&dsp_common_mpm_area {
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
};
&mpm_mem {
reg = <0xa0000000 0x02000000>;
};
&msm_ram {
sram_cmem: sram-cmem@a0000 {
reg = <0xa0000 0x57000>;

View File

@@ -1,14 +1,8 @@
/ {
reserved-memory {
cmem_block_mem_0: cmem_block_mem@829000000 {
reg = <0x00000008 0x29000000 0x00000000 0x17000000>;
no-map;
status = "okay";
};
cmem_block_mem_2: cmem_block_mem@822000000 {
reg = <0x00000008 0x22000000 0x00000000 0x07000000>;
cmem_block_mem_0: cmem_block_mem@830000000 {
reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
no-map;
status = "okay";
};
@@ -26,28 +20,16 @@
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmem-buf-pools = <1 0x00000000 0x17000000>;
cmem-buf-pools = <1 0x00000000 0x18000000>;
};
cmem_block_1: cmem_block@1 {
reg = <1>;
sram = <&sram_cmem>;
};
cmem_block_2: cmem_block@2 {
reg = <2>;
memory-region = <&cmem_block_mem_2>;
};
};
};
&dsp_common_mpm_area {
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
};
&mpm_mem {
reg = <0xa0000000 0x02000000>;
};
&msm_ram {
sram_cmem: sram-cmem@100000 {
reg = <0x100000 0x480000>;

View File

@@ -1,14 +1,8 @@
/ {
reserved-memory {
cmem_block_mem_0: cmem_block_mem@829000000 {
reg = <0x00000008 0x22000000 0x00000000 0x1E000000>;
no-map;
status = "okay";
};
cmem_block_mem_1: cmem_block_mem@00c080000 {
reg = <0x00000000 0x0c080000 0x00000000 0x000c0000>;
cmem_block_mem_0: cmem_block_mem@830000000 {
reg = <0x00000008 0x30000000 0x00000000 0x18000000>;
no-map;
status = "okay";
};
@@ -26,7 +20,7 @@
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmem-buf-pools = <1 0x00000000 0x1E000000>;
cmem-buf-pools = <1 0x00000000 0x18000000>;
};
cmem_block_1: cmem_block@1 {
@@ -36,13 +30,6 @@
};
};
&dsp_common_mpm_area {
reg = <0x00000008 0x20000000 0x00000000 0x02000000>;
};
&mpm_mem {
reg = <0xa0000000 0x02000000>;
};
&msm_ram {
sram_cmem: sram-cmem@80000 {
reg = <0x80000 0xc0000>;

View File

@@ -1 +0,0 @@
use-combined-config=ti_config_fragments/defconfig_fragment

View File

@@ -1 +0,0 @@
use-combined-config=ti_config_fragments/multi_core_defconfig_fragment

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_keystone_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am3x_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am4x_release

View File

@@ -1 +0,0 @@
use-combined-config=ti_config_fragments/rt_defconfig_fragment

View File

@@ -1 +0,0 @@
use-combined-config=ti_config_fragments/rt_multi_core_defconfig_fragment

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_keystone_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am3x_rt_release

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am4x_rt_release

View File

@@ -1,9 +0,0 @@
require linux-ti-staging_4.1.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
BRANCH = "ti-rt-linux-4.1.y"
SRCREV = "3bef1493dbbc61880f09cfda285cd0032a501d41"

View File

@@ -6,4 +6,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
BRANCH = "ti-rt-linux-4.4.y"
SRCREV = "dd8a2ec8d0acf6431e7f67b4cebf44171cfa837d"
SRCREV = "00eb0a0737110139728384e2be21656f9669f8a8"

View File

@@ -0,0 +1,9 @@
require linux-ti-staging_4.9.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
BRANCH = "ti-rt-linux-4.9.y"
SRCREV = "520e8f9cc5af10112715d011c1d83b3ee850d8ec"

View File

@@ -1 +0,0 @@
use-combined-config=ti_config_fragments/system_test_defconfig_fragment

View File

@@ -1 +0,0 @@
use-combined-config=ti_config_fragments/multi_core_system_test_defconfig_fragment

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_omap2_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_dra7x_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_k2g_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_keystone_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am3x_debug

View File

@@ -0,0 +1 @@
use-tisdk-config=ti_sdk_am4x_debug

View File

@@ -1,5 +1,5 @@
require linux-ti-staging_4.1.bb
require linux-ti-staging_4.9.bb
# Look in the generic major.minor directory for files
# This will have priority over generic non-rt path
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"

View File

@@ -1,92 +0,0 @@
SECTION = "kernel"
DESCRIPTION = "Linux kernel for TI devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/cmem.inc
require recipes-kernel/linux/ti-uio.inc
# Look in the generic major.minor directory for files
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:"
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Add a run-time dependency for the PM firmware to be installed
# on the target file system.
RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
# Add a run-time dependency for the VPE VPDMA firmware to be installed
# on the target file system.
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
# Install boot-monitor skern file into /boot dir of rootfs
RDEPENDS_kernel-base_append_keystone = " boot-monitor"
# Install ti-sci-fw into /boot dir of rootfs
RDEPENDS_kernel-base_append_k2g-evm = " ti-sci-fw"
# Add run-time dependency for SerDes firmware to the rootfs
RDEPENDS_kernel-base_append_keystone = " serdes-fw"
# Add run-time dependency for NETCP PA firmware to the rootfs
RDEPENDS_kernel-base_append_k2hk-evm = " netcp-pa-fw"
RDEPENDS_kernel-base_append_k2e-evm = " netcp-pa-fw"
RDEPENDS_kernel-base_append_k2l-evm = " netcp-pa-fw"
# Add run-time dependency for PRU Ethernet firmware to the rootfs
RDEPENDS_kernel-base_append_am57xx-evm = " prueth-fw"
RDEPENDS_kernel-base_append_am437x-evm = " prueth-fw"
# Default is to package all dtb files for ti33x devices unless building
# for the specific beaglebone machine.
KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb"
KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"
KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb dra7-evm-lcd-lg.dtb dra7-evm-lcd-osd.dtb dra72-evm.dtb dra72-evm-lcd-lg.dtb dra72-evm-lcd-osd.dtb"
KERNEL_DEVICETREE_dra7xx-hs-evm = "${KERNEL_DEVICETREE_dra7xx-evm}"
KERNEL_DEVICETREE_am57xx-evm = "am57xx-beagle-x15.dtb am57xx-beagle-x15-es2plus.dtb am57xx-evm.dtb am57xx-evm-es2plus.dtb am572x-idk.dtb am571x-idk.dtb am572x-idk-lcd-osd.dtb am571x-idk-lcd-osd.dtb"
KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb"
KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb"
KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb"
KERNEL_DEVICETREE_pandaboard = "omap4-panda.dtb omap4-panda-es.dtb"
KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb"
KERNEL_DEVICETREE_k2g-evm = "k2g-evm.dtb"
KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|omap3|omap4|keystone"
S = "${WORKDIR}/git"
BRANCH = "ti-lsk-linux-4.1.y"
SRCREV = "6b41ca0b945d73ac8c8318083f79411639836643"
PV = "4.1.18+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "l"
PR = "${MACHINE_KERNEL_PR}"
KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
# SoC specific config fragments are not enabled yet
KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${KERNEL_CONFIG_DIR}/am33xx_only.cfg"
KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${KERNEL_CONFIG_DIR}/am43xx_only.cfg"
KERNEL_CONFIG_FRAGMENTS_append_dra7xx = " ${KERNEL_CONFIG_DIR}/dra7_only.cfg"
MULTI_CONFIG_BASE_SUFFIX = ""
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
file://defconfig"

View File

@@ -16,15 +16,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.4:"
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Add a run-time dependency for the PM firmware to be installed
# on the target file system.
# Add run-time dependency for PM firmware to the rootfs
RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
# Add a run-time dependency for the VPE VPDMA firmware to be installed
# on the target file system.
# Add run-time dependency for VPE VPDMA firmware to the rootfs
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
# Add run-time dependency for Goodix firmware to the rootfs
RDEPENDS_kernel-base_append_dra7xx = " goodix-fw"
# Install boot-monitor skern file into /boot dir of rootfs
RDEPENDS_kernel-base_append_keystone = " boot-monitor"
@@ -80,8 +81,8 @@ S = "${WORKDIR}/git"
BRANCH = "ti-lsk-linux-4.4.y"
SRCREV = "33a812efb875d4dd31d1705fa6144ed11324a6eb"
PV = "4.4.32+git${SRCPV}"
SRCREV = "ecd4eada6ffe24c7edde11a66e406ac96ab557f5"
PV = "4.4.54+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"

View File

@@ -0,0 +1,68 @@
SECTION = "kernel"
DESCRIPTION = "Linux kernel for TI devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/cmem.inc
require recipes-kernel/linux/ti-uio.inc
# Look in the generic major.minor directory for files
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
# Pull in the devicetree files into the rootfs
RDEPENDS_kernel-base += "kernel-devicetree"
# Add run-time dependency for PM firmware to the rootfs
RDEPENDS_kernel-base_append_ti33x = " amx3-cm3"
RDEPENDS_kernel-base_append_ti43x = " amx3-cm3"
# Add run-time dependency for VPE VPDMA firmware to the rootfs
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
# Add run-time dependency for Goodix firmware to the rootfs
RDEPENDS_kernel-base_append_dra7xx = " goodix-fw"
# Install boot-monitor skern file into /boot dir of rootfs
RDEPENDS_kernel-base_append_keystone = " boot-monitor"
# Install ti-sci-fw into /boot dir of rootfs
RDEPENDS_kernel-base_append_k2g = " ti-sci-fw"
# Add run-time dependency for SerDes firmware to the rootfs
RDEPENDS_kernel-base_append_keystone = " serdes-fw"
# Add run-time dependency for QMSS PDSP firmware to the rootfs
RDEPENDS_kernel-base_append_keystone = " qmss-pdsp-fw"
# Add run-time dependency for NETCP PA firmware to the rootfs
RDEPENDS_kernel-base_append_k2hk-evm = " netcp-pa-fw"
RDEPENDS_kernel-base_append_k2e = " netcp-pa-fw"
RDEPENDS_kernel-base_append_k2l-evm = " netcp-pa-fw"
# Add run-time dependency for PRU Ethernet firmware to the rootfs
RDEPENDS_kernel-base_append_am57xx-evm = " prueth-fw"
RDEPENDS_kernel-base_append_am437x-evm = " prueth-fw"
RDEPENDS_kernel-base_append_am335x-evm = " prueth-fw"
RDEPENDS_kernel-base_append_k2g = " prueth-fw"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
S = "${WORKDIR}/git"
BRANCH = "ti-lsk-linux-4.9.y"
SRCREV = "102f61776e63e58bc75c13297a8fac34d99c8590"
PV = "4.9.13+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "c"
PR = "${MACHINE_KERNEL_PR}"
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
KERNEL_GIT_PROTOCOL = "git"
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
file://defconfig"

View File

@@ -7,7 +7,9 @@ inherit autotools pkgconfig
DEPENDS = "libdrm ti-ipc"
SRC_URI = "git://git.omapzoom.org/repo/libdce.git;protocol=git"
SRCREV = "1b1b5a2e5e995f607c22651579b49aa98d08610a"
SRCREV = "398dd27e7f3181fff9e3d910b418c69f1493f52f"
PR = "r4"
S = "${WORKDIR}/git"
EXTRA_OECONF += "IPC_HEADERS=${STAGING_INCDIR}/ti/ipc/mm"

View File

@@ -1,12 +0,0 @@
require recipes-ti/bios/ti-sysbios.inc
PV = "6_45_01_29"
PR = "r0"
LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=dbcd89745f1745f24ace8171a96ed493"
SRC_URI[sysbiosbin.md5sum] = "16cf6dc3c5cc9d2b877fa7d81dd12150"
SRC_URI[sysbiosbin.sha256sum] = "efaf5f1d725f3fd06e45476109b1124c74c16c39c870d12929e071047c3e5a22"
TI_BIN_UNPK_CMDS=""
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"

View File

@@ -0,0 +1,12 @@
require recipes-ti/bios/ti-sysbios.inc
PV = "6_46_01_38"
PR = "r0"
LIC_FILES_CHKSUM = "file://manifest_bios_${PV}.html;md5=da86dca468e5dd80484dc83473ea32e3"
SRC_URI[sysbiosbin.md5sum] = "5aee070f73eb6f3d9aab2ff9c483f396"
SRC_URI[sysbiosbin.sha256sum] = "3a04a584c3ee3221997b7d616ba45bbcc21ad241f4a4ab5c0f28c465d538af90"
TI_BIN_UNPK_CMDS=""
TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}"

View File

@@ -2,8 +2,8 @@ DESCRIPTION = "TI PRU Code Generation Tools"
HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD"
LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-pru/LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca"
LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.1.x_manifest.html;md5=d7fea45a7968939ff953ae8a1e6719f4"
LIC_FILES_CHKSUM_class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.1.x_manifest.html;md5=d7fea45a7968939ff953ae8a1e6719f4"
require recipes-ti/includes/ti-paths.inc
require recipes-ti/includes/ti-unpack.inc
@@ -18,11 +18,11 @@ BINFILE_NAME_class-target = "cgt-pru-arm"
SRC_URI = "http://software-dl.ti.com/codegen/esd/cgt_public_sw/PRU/${PV}/${BINFILE};name=${BINFILE_NAME}"
SRC_URI[cgt-pru-x86.md5sum] = "d9923acea12dc41fc975c381804bd5ed"
SRC_URI[cgt-pru-x86.sha256sum] = "bbea68a6e793156cfb4874777bfd41a32b20172d3a8f61db6aed33a697a58e30"
SRC_URI[cgt-pru-x86.md5sum] = "496b32b9804cf5b5b293dd938f7c5339"
SRC_URI[cgt-pru-x86.sha256sum] = "c80dbf35e7401f4c122ff25cc2f6b5db496607782fb4583cee8663a2763f4472"
SRC_URI[cgt-pru-arm.md5sum] = "3b97df4966715bdb50f9a9fc58fe6b24"
SRC_URI[cgt-pru-arm.sha256sum] = "819a4680296fabf1ae0d4e0184276f8ab5324621d35388026d1b678ea71040c9"
SRC_URI[cgt-pru-arm.md5sum] = "b13bf0cdf484102cdfcb92a81b8092a2"
SRC_URI[cgt-pru-arm.sha256sum] = "c125bbe4e805b830e5d746ade929dc1f202f25a6863d5005ed97cc5a82e26754"
do_install() {
install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}
@@ -40,6 +40,10 @@ FILES_${PN}-dbg = "${TI_CGT_PRU_INSTALL_DIR_RECIPE}/bin/.debug \
${TI_CGT_PRU_INSTALL_DIR_RECIPE}/lib/.debug \
"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INSANE_SKIP_${PN} += "arch staticdev already-stripped"
BBCLASSEXTEND = "native nativesdk"

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