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

Compare commits

..

1389 Commits

Author SHA1 Message Date
Dan Murphy
ca209d8cab uboot-ti-staging: update to ti2017.00-rc6 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-28 17:21:07 -04:00
Dan Murphy
00533fa70a linux-ti-staging: update to ti2017.00-rc6 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-28 17:21:06 -04:00
Denys Dmytriyenko
f6090d5a8b ti-ipc: add module dependency between omap_remoteproc and virtio_rpmsg_bus
This is required to workaround the remoteproc crash due to watchdog interrupt
conflicts - LCPD-9490

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Sam Nelson <sam.nelson@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
2017-03-28 17:07:09 -04:00
Sam Nelson
e65502c42e ti-ipc-examples: Update with change of directory structure
Separated Linux host examples into separate package ti-ipc-examples-
linux and installed into /usr/bin directory.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-27 10:56:25 -04:00
Denys Dmytriyenko
ae9edd5f1e beaglebone: setup wic to produce SD card image
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-21 21:17:54 -04:00
Denys Dmytriyenko
3d731d4004 beagle-x15: add separate config for BeagleBoard X15
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-21 21:14:06 -04:00
Denys Dmytriyenko
fbe3f7f6e5 omapl138: rename old am180x platform into new generic omapl138-lcdk
Updated all corresponding defconfigs as well.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:52 -04:00
Denys Dmytriyenko
b8cfbcdb0f am57xx-evm: fix description
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:48 -04:00
Denys Dmytriyenko
e32835a8bf k2g-hs-evm: add new machine config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:42 -04:00
Fathi Boudra
dbf9269bea kselftests: fix up run_kselftest.sh due to spurious lines
run_kselftests.sh contains randomly spurious lines starting by "make[1]:".
The way the script is generated is most likely broken.
Until, we've got a proper fix, get rid of the lines after the generated
script is installed.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 16:42:37 -04:00
Karthik Ramanan
c42f1c0891 ti-sgx-ddk-um: Add INSANE_SKIP with already-stripped
Without this option, there is build failure on poky

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 13:50:09 -04:00
Fathi Boudra
87d42d7dc7 kselftests: fix futex functional tests build
Recursive makefile is broken because it's using the same TARGETS variable
as selftests topdir and prevent to build futex functional tests:
make[2]: Nothing to be done for `all'.

Rename the variable to F_TARGETS in the futex functional tests Makefile.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2017-03-20 13:50:05 -04:00
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
e-ruei1@ti.com
92f46e91b8 ti-sgx-ddk-um: fix a bug at the drmModeAddFB() call at null_drm_ws.c
Both parameter depth and bpp are set to uiPixelWidthInBits at the current
implementation, however, the depth may not be the same as bpp for certain
pixel format such as XRGB8888. This bug was exposed by the recent DRM
driver change introducing strict error checking. To fix this problem,
add utility function uiPixelDepthInBits to derive and use depth based on
the pixel format.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-07 14:50:06 -05:00
Sam Nelson
76625a437d mpm-transport: Update commit id with fixes
Update and fixes to handle different type of memory sections in sysfs
entry or device tree.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-07 14:49:47 -05:00
Denys Dmytriyenko
8be700838f am335x-evm, am437x-evm: increase leb count for ubi
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:45:45 -05:00
Sam Nelson
102c4181a7 recipes-kernel: cmem.dtsi: Update memory sections for DDR and MSMC
cmem.dtsi splits the already defined dsp_common_mpm_area DDR memory into
a smaller MPM segment and other CMEM blocks.
The mpm_block_mem is removed and instead the original memory sections
dsp_common_mpm_area and mpm_mem in the kernel dtb are updated to reflect

On the MSMC memory, cmem.dtsi defines a sram subnode instead of the
reserved memory.
mpm MSMC areas are already captured in the kernel dtb.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:45:41 -05:00
Sam Nelson
521df13d7a cmem: Update to new version 4.13.0.0_eng
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:45:19 -05:00
Sam Nelson
79a8691f60 Revert "linux/cmem: patch keystone dtsi files to co-exist with new sram driver"
This reverts commit b9dbc83d76.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:44:22 -05:00
Sam Nelson
c8ac370ef6 ti-ipc: Add recipe to build ipc-examples
Builds both linux and RTOS IPC examples
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:44:19 -05:00
Sam Nelson
420e25c4c8 ti-ipc: Reorganised recipes to help in adding ipc examples recipes
Created ti-ipc-common.inc & ti-ipc-rtos.inc to gather common definitions
Updated commmit ids for ipc-examples
Update ti-ipc-rtos to add ALT_PLATFORM examples

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-12-06 19:44:15 -05:00
Denys Dmytriyenko
9acb9cde60 cmem-mod: workaround the new Module.symvers requirement
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-23 13:09:37 -05:00
Anand Balagopalakrishnan
f2ce07dc7a ti-sgx-ddk-um: add apphint to control number of GBM WSEGL surface buffers
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-23 13:08:23 -05:00
Denys Dmytriyenko
b552423476 rwmem: fix build with any toolchain and use default CC var
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-23 13:08:17 -05:00
Denys Dmytriyenko
ab0505ceb0 dsptop: fix build with any toolchain by passing correct CC var
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-23 13:08:10 -05:00
Denys Dmytriyenko
d229e1cd79 u-boot-ti-staging: update to ti2016.05-rc5 tag to fix am5 mmc issues
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-18 11:31:15 -05:00
Denys Dmytriyenko
b9dbc83d76 linux/cmem: patch keystone dtsi files to co-exist with new sram driver
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-18 11:28:56 -05:00
Jacob Stiffler
af2cbf00fc linux: k2g: use k2g-evm files for all k2g SOCs
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-16 14:39:41 -05:00
Denys Dmytriyenko
47178cf77a am335x-evm, am437x-evm: increase leb count for ubi
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-16 14:33:04 -05:00
Anand Balagopalakrishnan
e1b686cc01 ti-sgx-ddk-km: disable parallel builds for SGX driver
Random build failures are reported on SGX driver when building for

different targets. Disable parallel compilation in SGX driver.

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-16 14:32:54 -05:00
Jason Reeder
4f1c3bf31f pru-icss: bump SRCREV and PV due to updates
Due to bug fixes and updates, the package version number
is being incremented to 5.1.0. The commit ID is also being
updated to reflect these changes.

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 22:34:22 -05:00
Denys Dmytriyenko
066ea40fe2 linux-ti-staging: update to ti2016.05-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 16:18:11 -05:00
Denys Dmytriyenko
a930c7a267 u-boot-ti-staging: update to ti2016.05-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 16:18:08 -05:00
Denys Dmytriyenko
108f5ee0ec cmem: add special handling for dra72x variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 14:32:28 -05:00
Denys Dmytriyenko
c5162b67b2 ti-ipc: update to include -pthread fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-15 14:32:24 -05:00
Denys Dmytriyenko
1b2141f7e9 linux-ti-staging: correct SRCREV for RT
Was mistakingly copied from non-RT.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-06 21:19:19 -05:00
Denys Dmytriyenko
c75feb9985 u-boot-ti-staging: update to ti2016.05-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-06 18:18:58 -05:00
Denys Dmytriyenko
31f70192ea linux-ti-staging: update to 4.4.30 and ti2016.05-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-06 18:18:56 -05:00
Denys Dmytriyenko
540afce71c linux-ti-staging: pull in prueth-fw for k2g
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-11-04 17:40:55 -04:00
Denys Dmytriyenko
150d1eb426 u-boot-ti-staging: update to ti2016.05-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-31 17:21:47 -04:00
Denys Dmytriyenko
dfc8aaee18 linux-ti-staging: update to 4.4.29 (sans RT) and ti2016.05-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-31 17:21:44 -04:00
Denys Dmytriyenko
d435c2a374 dra7xx-hs-evm: add DRA71x OPTEE flavor to the list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-31 17:21:41 -04:00
Sam Nelson
f821e1fd8e ti-ipc: Update to new version 3.44.00
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-31 17:21:37 -04:00
Denys Dmytriyenko
26e28b2409 libulm: pass CC to work with internal toolchains that depend on sysroot flag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-31 17:21:29 -04:00
Denys Dmytriyenko
e4f5ee61fb libdce: update to 3.00.12.00 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-27 19:42:52 -04:00
Khem Raj
1124b4bfd0 ti-unpack.inc: Use absolute paths in require directive
This helps in using this inc file from other BSP
layers which are dependent on meta-ti

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-27 19:42:50 -04:00
Khem Raj
bdefb88c97 uim: Fix build breaks when toolchain is used from sstate
CC is being redefined here but its not considering
the essential options to specify the sysroot as a result
this breaks on systems tied to sstate servers where the toolchain
might have had a different sysroot when built, in here
it fails to find the standard headers due to missing sysroot
options.

Deleting the extra oeconf works fine.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-27 19:42:47 -04:00
Denys Dmytriyenko
ec712fdccb ti-ipc: update to 3.43.03.05 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:55:47 -04:00
Denys Dmytriyenko
841864ad41 ipumm-fw: update to the latest 3.00.12.00 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:55:47 -04:00
Denys Dmytriyenko
527d28add9 ti-sci-fw: update to the latest 0.1.1-37 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:55:47 -04:00
Denys Dmytriyenko
b9a6907006 prueth-fw: update with k2g-ice firmware images
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:55:47 -04:00
Denys Dmytriyenko
7a2820b86b u-boot-ti-staging: update to ti2016.05-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:55:36 -04:00
Denys Dmytriyenko
1c6657c2be linux-ti-staging: update to 4.4.27 and ti2016.05-rc1 tag
Also reorder and update DTB files for all platforms.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:53:34 -04:00
Anand Balagopalakrishnan
4d3e4a6f37 ti-sgx-ddk-um: add support for importing DMABUF as EGLImage
This patch adds support for importing DMABUFs as EGLImages.
This work is based on the Spec defined in
https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt

The feature currently supports YUYV and NV12 formats
In addition, the following are supported:
* YUV full range and narrow range
* YUV color space BT709 and BT601
* YUV color space BT2020 is not supported
* Chroma siting parameters are ignored

For YUYV buffers, user needs to pass the width, height, and a 3-tuple
consisting of the dmabuf fd, pitch, and offset=0.

For YUV buffers, user needs to pass the width, height and two 3-tuples
consisting of the dmabuf fds, pitches, and offsets=0.
Please note that multiple dmabuf fds are not supported, and therefore,
for NV12,
* fd[0] must be equal to fd[1] and
* pitch[0] must be equal to pitch[1]

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:53:30 -04:00
Denys Dmytriyenko
fd78bce5ba conf/recipes: add k2g-ice machine and k2g SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-25 18:53:25 -04:00
Anand Balagopalakrishnan
a5ff1c0717 ti-sgx-ddk-km: remove dependency between user-mode and kernel-mode builds
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-24 22:29:04 -04:00
Anand Balagopalakrishnan
f227a0045f ti-sgx-ddk-um: remove invalid tests for sgx
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-24 22:29:01 -04:00
Jacob Stiffler
882eb9e799 multiprocmgr: add systemd service
* The multiprocmgr's mpmsrv daemon requires a set of kernel modules to
  be loaded prior to initialization.
* Add a systemd service so that these dependencies may be specified.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-24 22:28:57 -04:00
Denys Dmytriyenko
6951735397 u-boot-ti-staging: fix B != S and python3 issues
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Gary Thomas <gary@mlbassoc.com>
2016-10-19 22:36:07 -04:00
Denys Dmytriyenko
48ffe2b2da recipes: python3 fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-10 05:48:51 -04:00
Denys Dmytriyenko
02a43b25f7 u-boot-ti-staging: also copy HS MLO variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-07 21:01:34 -04:00
Denys Dmytriyenko
e68a4572bd linux-ti-staging: update for moved ti2016.04-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-07 21:01:32 -04:00
Jacob Stiffler
428cdee45c openmp-rtos: bump SRCREV to version 2.4.0.1
* Fixes uniitialized variable causing assertion failure.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-07 21:01:27 -04:00
Jacob Stiffler
79b047066b linux: cmem: k2e, k2l-evm: update reserved memory
* The MSMC region needs to be relocated as it was conflicting with the
  boot monitor's persistent memory.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-07 14:40:49 -04:00
Jacob Stiffler
666e6bd210 dsptop: bump SRCREV to version 1.4.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-07 14:40:47 -04:00
Denys Dmytriyenko
8fe4460673 u-boot-ti-staging: update to ti2016.04-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-06 17:25:53 -04:00
Denys Dmytriyenko
e3b90586db linux-ti-staging: update to 4.4.23 and ti2016.04-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-06 17:25:51 -04:00
Sam Nelson
e3e29853fe ti-ipc-rtos: Remove M4F target for omap-a15
- M4F target is not needed for omap-a15
- This reduces build time for platform associated with omap-a15

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-10-05 14:36:38 -04:00
Justin Sobota
20c8ba3c1e ti-pdk-build-rtos: Update to version 1.0.0.2B
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-30 12:40:21 -04:00
Justin Sobota
24ecff7a12 gcc-arm-none-eabi-native: Update to version 4.9.2015q3
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-30 12:40:18 -04:00
Justin Sobota
17416d98b5 common-csl-ip: Update to version 3.3.0.4B
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-30 12:40:15 -04:00
Denys Dmytriyenko
c8d2b437f1 linux-ti-staging: update to ti2016.04-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-28 03:26:21 -04:00
Denys Dmytriyenko
fe13d9fdc4 ti-sci-fw: update to version 0.1.1.22
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-28 03:26:17 -04:00
Denys Dmytriyenko
479e8fb94e u-boot-ti-staging: update to ti2016.04-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-28 03:26:13 -04:00
Sam Nelson
1a28c9dbaf cmem: Update to new version 4.12.00.00
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-28 03:26:08 -04:00
Denys Dmytriyenko
9ffe3eb8cf u-boot-ti-staging: don't replace MLO with HS_ISSW for am335x HS platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-23 18:47:00 -04:00
Denys Dmytriyenko
018d6239ea conf/machine: update OPTEE OS flavor names slightly
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-23 18:46:58 -04:00
Denys Dmytriyenko
939b243286 conf/machine,recipes: introduce k2e SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-20 15:31:41 -04:00
Denys Dmytriyenko
e13d153971 linux-ti-staging: specify DTB for k2e HS platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-20 12:33:31 -04:00
Denys Dmytriyenko
19dc633d80 common-csl-ip-rtos: add support for k2e-hs-evm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-20 11:39:52 -04:00
Denys Dmytriyenko
bad4a7a79c u-boot-ti-staging: bump PR due to SECDEV variable change
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-20 09:31:54 -04:00
Denys Dmytriyenko
1ddcc7c8e2 linux-ti-staging: update to 4.4.21 and ti2016.04-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-19 18:59:38 -04:00
Denys Dmytriyenko
6e43afafb5 conf/machine, u-boot-ti-staging: add am335x-hs-evm platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-19 18:59:36 -04:00
Denys Dmytriyenko
fd546211ef u-boot-ti-staging: disable SPL target for k2e-hs-evm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-19 18:59:34 -04:00
Denys Dmytriyenko
e4f34457ca conf/machine: rename SECDEV variables for additional platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-19 18:59:33 -04:00
Denys Dmytriyenko
0f3c7f7123 u-boot-ti-staging: update to ti2016.04-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-19 18:59:29 -04:00
Denys Dmytriyenko
3d05c51b8f u-boot-ti-staging: remove old versions
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-19 18:59:25 -04:00
Sam Nelson
7d2600d419 mpm-transport: Update to new version 2.0.2.0
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:48 -04:00
Ajay Jayaraj
ee82aceff2 openmp-rtos: Updated version to 2.04.00.00
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:44 -04:00
Sam Nelson
fa5ca59327 ti-ipc: Update to new version 3.43.02.04
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:39 -04:00
Justin Sobota
a95c51e3cf ti-pdk-build-rtos: Bump version and add comp_top.mk to install
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:32 -04:00
Justin Sobota
d10551b907 sa-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:27 -04:00
Justin Sobota
ea0e4c4824 qmss-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:22 -04:00
Justin Sobota
9aeeb60207 pa-lld: Bump version and remove makefile error patch
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:17 -04:00
Justin Sobota
f42668a44f edma3-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:11 -04:00
Justin Sobota
f16d65902b common-csl-ip: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:06 -04:00
Jacob Stiffler
0623707d80 linux: add new method for cmem injection
* Add new method to perform CMEM DT injection as it is required to
  customize at a finer level than machine.
* Now CMEM injection can be performed per DT.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-16 12:18:01 -04:00
Denys Dmytriyenko
f0ae7e1c36 serdes-fw: update to 3.3.0.2c version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:38 -04:00
Denys Dmytriyenko
c554a8735a k2e-hs-evm: add K2E HS EVM config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:35 -04:00
Denys Dmytriyenko
71db7c8915 machines: add OPTEE config for dra7 and am57 machines
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:31 -04:00
Denys Dmytriyenko
c02651fe14 amx3-cm3: update to 1.9.2 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:28 -04:00
Denys Dmytriyenko
c000a7f230 am33x-cm3: remove old CM3 PM FW recipe for 3.14 kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:24 -04:00
Denys Dmytriyenko
fb237a2dd0 boot-monitor: update and bump version due to image format change
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:21 -04:00
Denys Dmytriyenko
f99c570076 u-boot-ti-staging: update to ti2016.04-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:17 -04:00
Denys Dmytriyenko
39e43c3fa6 linux-ti-staging: update to 4.4.20 and ti2016.04-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 22:26:09 -04:00
Jason Reeder
e1d913c242 pru-icss: bump SRCREV, PV, and PR due to updates
Due to bug fixes and updates, the package version number
is being incremented to 5.0.1. The commit ID is also being
updated to reflect these changes.

Line ending corrections to the manifest file also caused
a new checksum value to be necessary. This has been updated
in this commit as well.

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 18:18:12 -04:00
Denys Dmytriyenko
81e08ffacc linux-ti-staging: add QMSS PDSP FW dependency for Keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-12 18:18:10 -04:00
Denys Dmytriyenko
d5a5dcfe7c linux-ti-staging: update to the latest, change systest defconfig names
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-06 17:44:02 -04:00
e-ruei1@ti.com
32a73016d5 ti-sgx-ddk-km: bump SRCREV for compiler warning fix
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-09-01 20:17:23 -04:00
Denys Dmytriyenko
c8e80c8249 prueth-fw: update to version 3.1.4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-29 19:48:15 -04:00
Denys Dmytriyenko
011b283c8b ti-linux-staging: update to 4.4.19 and ti2016.03-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-25 14:13:22 -04:00
Denys Dmytriyenko
482c26fe67 u-boot-ti-staging: update to ti2016.03-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-25 14:13:19 -04:00
Denys Dmytriyenko
f09eabd840 README: add note about list subscription
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-25 14:13:16 -04:00
Gowtham Tammana
7e84356c3b ti-gc320-libs: add recipe for gc320 user lib
Userspace libraries for GC320 chipset on TI SoCs

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-23 14:40:14 -04:00
Gowtham Tammana
30e001db25 ti-gc320-driver: recipe for gc320 kernel mode driver
Kernel drivers for the Vivante GC320 chipset found in TI SoCs

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-23 14:40:11 -04:00
Denys Dmytriyenko
3ff27c8665 linux-ti-staging: update to ti2016.03-rc3 tag, rebase to 4.4.18
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-16 16:26:06 -04:00
Denys Dmytriyenko
65e237b3af u-boot-ti-staging: update to ti2016.03-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-16 16:26:02 -04:00
Denys Dmytriyenko
97a255ed77 machines: move TI_SECURE_DEV_PKG and add UBOOT_* vars for fitimage support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-16 16:25:59 -04:00
Denys Dmytriyenko
40e6a59283 machine/k2*-evm: disable uncompressed cpio by default
Let distro decide which image can be initramfs.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-12 20:05:37 -04:00
Denys Dmytriyenko
b092171408 machines: drop tar.gz images in favor of tar.xz
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-10 22:33:06 -04:00
Denys Dmytriyenko
bea4b235a2 am57xx/dra7xx: disable UBI images by default
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-10 22:33:04 -04:00
Denys Dmytriyenko
d811ff9370 linux-ti-staging: update to ti2016.03-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-08 14:20:09 -04:00
e-ruei1@ti.com
f42d5e385d ti-sgx-ddk-um: Add libPVRScopeServices.so to plugins list
libPVRScopeServices.so is required for the Imagination PVRTune operation.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-08 11:38:27 -04:00
Denys Dmytriyenko
7917662b00 linux-ti-staging: update to ti2016.03-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-02 22:59:21 -04:00
Denys Dmytriyenko
84a57949f0 u-boot-ti-staging: update to ti2016.03-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-02 22:59:19 -04:00
Denys Dmytriyenko
f420d6ca44 edma3-lld-rtos, ti-ipc-rtos, multiprocmgr-rtos: remove sneaked in sourceipk calls
There's no sourceipk functionality in meta-ti.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-08-02 21:43:43 -04:00
Denys Dmytriyenko
78b386ee50 kselftests: update to 4.4, don't need to depend on kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-29 17:51:55 -04:00
Karthik Ramanan
49fe9230f5 ipumm-fw: cleanup recipe for pre-built binary
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-29 17:51:52 -04:00
Karthik Ramanan
a3eb80a83d ipumm-fw: bump for multi-instance sync fix
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-29 17:51:50 -04:00
Denys Dmytriyenko
8faa366e1b linux-ti-staging: update to 4.4.16 with latest domain trees merged
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-27 21:36:11 -04:00
Denys Dmytriyenko
6eccda9769 u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-27 21:36:08 -04:00
Denys Dmytriyenko
6747b4f345 conf: set lower DEFAULTTUNE across machines
Set DEFAULTTUNE optimization in BSP from specific Cortex level to more generic
armv7a, but keep thumb, neon and hard-float options enabled due to numerous BSP
components requiring them. While enabling additional Cortex optimization might
gain a tiny performance improvement, it makes binary feeds incompatible between
A8, A9 and A15 machines, leads to unnecessary rebuilds and hides potential
packaging or recipe issues. Hence the decision to enable Cortex optimization
should be left to the Distro.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-27 21:36:05 -04:00
Karthik Ramanan
1b656bb030 ti-ccsv6-native: update to new version 6.1.3.00034
updated MD5/SHA256 checksum from the previous recipe

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-25 14:41:11 -04:00
Jacob Stiffler
1d531400a8 vlib-c66x: prevent stripping of binaries due to differnt arch/format
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-19 21:42:09 -04:00
Jacob Stiffler
91490ee0d8 netapi: Upgrade to version 1.1.0.7
* update DT path to rxqueue

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-19 21:42:06 -04:00
Jacob Stiffler
d12c6b3df9 ti-framework-components: update to version 3.40.02.07
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-19 21:42:03 -04:00
Jacob Stiffler
2e63b4633d hplib: bump SRCREV to version 1.1.0.8
* added performance improvement in find_slots routine to skip full bit
  map words in search

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-19 21:42:00 -04:00
Karthik Ramanan
40bfd01824 ipumm-fw: Install map file into the targetfs
This will be required to analyze the remoteproc crash related
issues, whenever it occurs.

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-19 21:41:56 -04:00
Denys Dmytriyenko
543dac569b linux-ti-staging: add 2 new DRA7 RevC LCD DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-12 16:54:39 -04:00
Denys Dmytriyenko
242ac44081 linux-ti-staging: update to ti2016.02-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-10 15:41:02 -04:00
Denys Dmytriyenko
6b81203cf3 u-boot-ti-staging: add HS_X-LOADER images, update to ti2016.02-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-10 15:40:59 -04:00
Sam Nelson
a94384585b ti-ipc: Update to new version 3.43.01.03
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-10 15:40:57 -04:00
Denys Dmytriyenko
d1c43c5eac machine: bump max_leb_cnt numbers again
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-04 02:07:40 -04:00
Denys Dmytriyenko
2b475879bf linux-ti-staging: update to ti2016.02-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:14:16 -04:00
Denys Dmytriyenko
e9974fd96b u-boot-ti-staging: update to ti2016.02-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:14:14 -04:00
Denys Dmytriyenko
256be65a21 uio-module-drv-test: replace machine override with SOC override
This package is now used for multiple omap-a15 SOCs, having only single machine
covered in overrides breaks other machines.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:14:11 -04:00
Justin Sobota
4a9d60fe40 edma3-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-07-03 22:14:09 -04:00
Denys Dmytriyenko
55b4ca5ecb uio-module-drv-test: correct COMPATIBLE_MACHINE
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 22:23:59 -04:00
Denys Dmytriyenko
d2aad25651 uio-test-pruss: correct COMPATIBLE_MACHINE
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 21:28:08 -04:00
Jacob Stiffler
da853122bc openmp-rtos: bump SRCREV to version 2.3.1.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:37 -04:00
Jacob Stiffler
de0f143272 ti-ipc-rtos: add dependency on zip-native
* The zip utility is used during the build

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:33 -04:00
Justin Sobota
f76dd445ad dfe-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:29 -04:00
Justin Sobota
0c88837fc3 srio-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:24 -04:00
Justin Sobota
b33f0fa848 sa-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:20 -04:00
Justin Sobota
1170edc503 rm-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:16 -04:00
Justin Sobota
a291c74486 pa-lld: Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:12 -04:00
Justin Sobota
85cce50881 common-csl-ip: Move to new make infrastructure & Bump version
Signed-off-by: Justin Sobota <jsobota@ti.com>
Tested-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:11:05 -04:00
Justin Sobota
de355a34c4 ti-pdk: Add makefile support to ti-pdk.bbclass for RTOS components
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:10:45 -04:00
Anand Balagopalakrishnan
39493a8a0d ti-sgx-ddk-km: disable active power management
Disable active power management in SGX. This will enable host triggered
suspend-resume for SGX.

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

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-29 17:10:30 -04:00
Denys Dmytriyenko
a33fcfe570 linux-ti-staging: update to ti2016.02-rc2 tag, update DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 15:33:14 -04:00
Denys Dmytriyenko
0131b5e6b5 u-boot-ti-staging: update to ti2016.02-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 15:33:10 -04:00
Sam Nelson
c7ac506be8 ti-ipc: Update comment on IPC tag
Updated tag added to ipc dev branch to the same commit id
to avoid confusion.

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

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

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

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

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-24 10:30:36 -04:00
Denys Dmytriyenko
d2cc0238c3 u-boot-ti-staging: add support for AM57xx HS platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-22 11:13:43 -04:00
Denys Dmytriyenko
c2d2a3845f netcp-pa-fw: update to version 3.0.1.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-21 00:48:22 -04:00
Denys Dmytriyenko
667794c92b amx3-cm3: update to the latest for am3 ddr fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-21 00:48:20 -04:00
Denys Dmytriyenko
478bbe5cda am57xx-hs-evm: add AM5 HS platform config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 17:43:44 -04:00
Denys Dmytriyenko
3a84e751a4 u-boot-ti-staging: update to ti2016.02-rc1 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:56:27 -04:00
Denys Dmytriyenko
09715125dd linux-ti-staging: update to 4.4.13, use new defconfig builder
Convert to using tisdk configs from defconfig_map processed by defconfig_builder.

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

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

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

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

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

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

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

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-20 16:55:23 -04:00
Denys Dmytriyenko
dc6bbf30a4 libdce: move from meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-10 13:33:05 -04:00
Denys Dmytriyenko
727ae19914 recipes: cleanup
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-07 18:45:38 -04:00
Denys Dmytriyenko
4e14a0a8ee ipumm-fw: bump for codec updates and bugfixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-07 18:08:17 -04:00
Denys Dmytriyenko
6ba3a1880e u-boot-ti-staging: update to ti2016.01-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-02 20:12:13 -04:00
Denys Dmytriyenko
fdcae875ba linux-ti-staging: update to 4.4.12 and ti2016.01-rc4 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-02 20:12:11 -04:00
Denys Dmytriyenko
58bebcf6b3 cm3-pm-firmware: correct license to TI-TSPA
It was incorrectly identified as BSD-3-Clause

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

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 15:46:26 -04:00
Sam Nelson
c20b24e9e8 ti-ipc: Update to new version 3.43
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-06-01 15:46:22 -04:00
Ming Wei
213c02d6f3 ti-ccsv6-native: update to new version 6.1.3.00033
updated ARM-CGT version and MD5/SHAR256 checksum

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

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

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

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-26 21:59:42 -04:00
Denys Dmytriyenko
27700dc201 machine: bump max_leb_cnt for am3 and am4 platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 23:58:47 -04:00
Denys Dmytriyenko
c475fb2177 u-boot-ti-staging: update to final 2016.05 and ti2016.01-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 12:31:42 -04:00
Denys Dmytriyenko
9d2d43c476 linux-ti-staging: update to 4.4.11 and ti2016.01-rc3 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 12:31:40 -04:00
Denys Dmytriyenko
fb7e4fb69d machine: add opencl feature to corresponding platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-22 12:31:38 -04:00
Sam Nelson
83d0ad1ba2 linux-ti-staging: Add new device tree target am572x-idk-pru-excl-uio.dtb
This new device tree file is to support pruss with uio based drivers
alone.
Adds uio entries for pruss susbsystem and disables other drivers
controlling the same.
New dtb is added only if ENABLE_TI_UIO_DEVICES is enabled.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-18 16:51:41 -04:00
Denys Dmytriyenko
2bd5259c12 u-boot-ti-staging: update for ti2016.01-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-16 12:22:01 -04:00
Denys Dmytriyenko
5a80211feb linux-ti-staging: update to 4.4.10 and ti2016.01-rc2 tag
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-16 12:21:58 -04:00
Sam Nelson
af64c0cb48 uio-module-drv: Update to 2.0.0.0 GA version
Reformatted recipes to have one common PV between module and test
recipes

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:27 -04:00
Anand Balagopalakrishnan
a6318a5709 ti-sgx-ddk-um: update srcrev and bump PR
* rebuild SGX user mode driver with GCC 5.3

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:24 -04:00
Jacob Stiffler
76ba469167 ti-softhsmv2: bump SRCREV to version to 2.0.0.0
* License checksum has changed due to an updated date in the LICENSE
  file

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-13 14:57:22 -04:00
Jacob Stiffler
0e804eb4d9 ti-sgx-ddk-um: Add DEPENDS based on REDEPENDS
* The ti-sgx-ddk-um recipe installs pre-built libraries
* Because of this, the dependencies are given as RDEPENDS as they are
  not needed for building the recipe
* However, this may break recipes which depend on ti-sgx-ddk-um, as
  the ti-sgx-ddk-um dependencies may not yet be populated in the
  sysroot.
* This resolves the break in the dependency chain by translating the
  RDEPENDS into a list of DEPENDS

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-11 20:44:02 -04:00
Denys Dmytriyenko
ddbb13e225 u-boot-ti-staging: update to ti2016.01-rc1
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-09 12:50:36 -04:00
Denys Dmytriyenko
1fc1e6e5cf linux-ti-staging: update to ti2016.01-rc1
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-09 12:50:32 -04:00
Denys Dmytriyenko
f7c550cdfb prueth-fw: add FW images for am335x
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-09 12:50:28 -04:00
Denys Dmytriyenko
9b6527720c ti-sci-fw: update to the latest 0.1.1.12
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-09 10:40:15 -04:00
Denys Dmytriyenko
3f9714bd9f u-boot-ti-staging: 2016.05-rc3 with K2, PRU and other updates
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-05 16:44:03 -04:00
Denys Dmytriyenko
71380b1923 linux-ti-staging: 4.4.9 with SGX, A/D, platform, connectivity, rpmsg updates
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-05 16:43:58 -04:00
Anand Balagopalakrishnan
57e55c84c9 ti-sgx-ddk-km: update srcrev and branch name, bump PR
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-05 11:16:05 -04:00
Anand Balagopalakrishnan
ce947bca0e ti-sgx-ddk-um: update srcrev and bump PR
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-05 11:16:03 -04:00
Denys Dmytriyenko
d236f27110 machines: configure all used consoles regardless of UART driver
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-04 13:40:40 -04:00
Jacob Stiffler
c1eecb62f2 openmp-rtos: Add zip-native as a dependency
* The openmp-rtos build procedure uses zip to create the release
  package and is therefore the native zip is required as a dependency

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-04 13:40:38 -04:00
Denys Dmytriyenko
e9729ddb00 eudev: install the new firmware rule
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-04 12:41:42 -04:00
Denys Dmytriyenko
a3c5205f4d linux-ti-staging: update with latest fixes, add new DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-04 12:41:40 -04:00
Denys Dmytriyenko
103171802b ti-unpack: update for new Ubuntu 32bit lib packaging
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-03 16:35:35 -04:00
Denys Dmytriyenko
55408800f8 recipes: replace remaining base_contains with bb.utils.contains
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-05-02 22:18:59 -04:00
Denys Dmytriyenko
9b2e9feb49 ti-osal: correct EPL license reference
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-29 21:32:58 -04:00
Denys Dmytriyenko
3b6b0b7d2f ti-cgt-pru: suppress already stripped warning
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-29 21:32:55 -04:00
Denys Dmytriyenko
b64a94a41f gcc-arm-none-eabi-native: suppress already stripped warning
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-29 21:32:51 -04:00
Denys Dmytriyenko
4b96409bcc eudev: immediately tell kernel that userspace FW loading failed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-29 21:32:46 -04:00
Denys Dmytriyenko
ca43376a8c vis: prevent sysroot stripping due to DSP firmware
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 15:00:22 -04:00
Denys Dmytriyenko
398fb12007 u-boot: remove outdated versions
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 15:00:18 -04:00
Denys Dmytriyenko
a7e4b9560a u-boot-ti-staging: add version 2016.05 (rc1)
Set UBOOT_LOCALVERSION by default similar to KERNEL_LOCALVERSION

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 15:00:11 -04:00
Denys Dmytriyenko
ed03cab5fb linux-ti-staging: update to 4.4.8 and latest domain merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 15:00:06 -04:00
Denys Dmytriyenko
4f6c54d944 am335x-evm: bump max_leb_cnt
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 15:00:00 -04:00
Denys Dmytriyenko
497d0b774e am335x-evm: handle omap vs. 8250 uart gracefully b/w EVM and IDK
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 14:59:54 -04:00
Sam Nelson
257a370e7a cmem: Update to new eng version 4.11.00.00_eng
Resolves issues with kernel version 4.4

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-28 14:59:45 -04:00
Denys Dmytriyenko
6dea1b68af sgx: drop old outdated omap3-sgx-modules and libgles-omap3 recipes
Besides being outdated and deprecated in favor of new ti-sgx-ddk recipes
(previously known as omapdrm-pvr and omap5-sgx-ddk), 3D graphics drivers
are kernel specific and corresponding kernel versions (prior to 4.0) have
all been dropped already.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:59 -04:00
Denys Dmytriyenko
c70102c671 sgx: rename and clean up kernel and user space components
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:54 -04:00
Jacob Stiffler
7ae1abe462 netapi: clean up recipes
* Define variables to abstract GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:48 -04:00
Justin Sobota
701bb5c16f ipc-transport-rtos: Add RTOS packages for IPC transports
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:42 -04:00
Justin Sobota
185cbba966 ipc-transport: Clean up recipe
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-26 14:54:36 -04:00
Denys Dmytriyenko
7663c3bcf5 libgbm: add latest version 10.0.0 from meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-20 16:50:30 -04:00
Denys Dmytriyenko
d82a408e1f libdrm: drop outdated custom version, use latest upstream now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-20 16:50:28 -04:00
Jacob Stiffler
feea83bfaf gdbc6x: Bump SRCREV for AM57xx EVM PG2.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-20 13:16:23 -04:00
Denys Dmytriyenko
161173fd66 eudev: only install omap rules file for TI machines
Play nice with other BSPs

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:05:37 -04:00
Denys Dmytriyenko
4b74d640a2 conf: update old machines to use linux-ti-staging and u-boot-ti-staging
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:05:33 -04:00
Justin Sobota
1061600ede pktlib-rtos: Add RTOS package for pktlib
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:05:25 -04:00
Justin Sobota
d0cc24a3de pktlib: Clean up recipe
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:05:23 -04:00
Justin Sobota
3b233d5b7d traceframework-rtos: Add RTOS package for Traceframework
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:05:18 -04:00
Justin Sobota
4a4cfdb3b2 traceframework: Clean up recipe
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:05:15 -04:00
Karthik Ramanan
fdda559e85 bltsville: Deprecate - no longer supported
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-19 18:04:52 -04:00
Denys Dmytriyenko
f7e2920ba3 ti-softhsmv2: stop altering and expanding SELECTED_OPTIMIZATION variable
This var now contains staging paths and by expanding it early, sstate ends up
churning the package for each machine built.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-18 11:30:55 -04:00
Denys Dmytriyenko
12fbf1a374 ti-softhsmv2: don't fail QA on real .so plugin in -dev pkg
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-13 16:52:50 -04:00
Denys Dmytriyenko
032995ed34 iqn2-lld: fix -march gcc flag, as cortex-a15 belongs to armv7ve
https://gcc.gnu.org/ml/gcc-cvs/2014-01/msg00982.html

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-12 19:09:47 -04:00
Denys Dmytriyenko
88264372d0 linux-ti-staging: update to 4.4.7
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-12 17:48:13 -04:00
Denys Dmytriyenko
66e481c2d8 bios: prevent any stripping of binaries due to different arch/format
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-08 01:49:59 -04:00
Denys Dmytriyenko
565e7335f8 recipes-ti: prevent any stripping of binaries due to different arch/format
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-02 14:29:24 -04:00
Denys Dmytriyenko
58b9860b51 HACK: ti-xdctools, ti-xdais: disable stripping for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 23:41:30 -04:00
Denys Dmytriyenko
3d61a1932e linux-ti-staging: update DBT list for AM4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 23:40:47 -04:00
Denys Dmytriyenko
083919451b linux-ti-staging 4.4: add PRU Ethernet FW dependency for AM4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 17:36:09 -04:00
Denys Dmytriyenko
7098e8685f linux-ti-staging 4.1: add PRU Ethernet FW dependency for AM4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 17:35:36 -04:00
Denys Dmytriyenko
c012770e13 linux-ti-staging: add latest 4.4 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 15:22:53 -04:00
Denys Dmytriyenko
8bb3fd849c linux: remove old and outdated kernel recipes and configs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 14:40:21 -04:00
Denys Dmytriyenko
8f59f94036 udev: rename bbappend to apply to eudev
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-04-01 14:40:13 -04:00
Justin Sobota
effb07cd5d ti-ccsv6-native: Upgrade to version 6.1.2.00015
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:59 -04:00
Jacob Stiffler
5f403d5e83 mmap-lld: Upgrade to 2.0.0.7
* add k2l-evm and k2g-evm support

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:55 -04:00
Jacob Stiffler
f98eaf8352 nwal-lld: Bump SRCREV for fix
* Update Osal_cache_op_measure to take pointer to a double long to
  match with the hplib

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:51 -04:00
Jacob Stiffler
fbb8f98e26 sa-lld: Bump SRCREV for fix
* Fix linker option for linux example and test binaries

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:46 -04:00
Jacob Stiffler
d484cf2f4a qmss-lld: Bump SRCREV for fix
* Fix linker option for linux example and test binaries

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:41 -04:00
Jacob Stiffler
f9654a93f5 pa-lld: Bump SRCREV for fix
* Fix linker option for linux example and test binaries

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:36 -04:00
Jacob Stiffler
cdbd63bb1a cppi-lld: Bump SRCREV for fix
* Fix linker option for linux example and test binaries

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:32 -04:00
Jacob Stiffler
b4ba1e936e common-csl-ip: Bump SRCREV for fix
* The Klockwork warnings removal change is reverted back.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-31 11:46:28 -04:00
Jacob Stiffler
c38921cd82 pktlib: Upgrade to version 2.1.0.7
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 16:25:52 -04:00
Jacob Stiffler
491f3bc8a9 gdbc6x: Bump SRCREV so that all machines use same branch
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:20:56 -04:00
Denys Dmytriyenko
d90c889953 linux-ti-staging: update with PRU PHY state change fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:14:21 -04:00
Denys Dmytriyenko
bfa182cd14 u-boot-ti-staging: update with UART1_RTSN pinmux fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:14:18 -04:00
Jacob Stiffler
a1969cba7d nwal-lld: Upgrade to version 2.1.0.10
* Fix test linker options

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:14:15 -04:00
Jacob Stiffler
f0692b8a7c hplib: Upgrade to version 1.1.0.7
* This version includes the following changes
  - Port to the 4.1 kernel
  - Fix the test linker options

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:14:12 -04:00
Jacob Stiffler
54cebf1ad8 edma3-lld: Upgrade to version 2.12.1.23 and add k2g-evm support
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:14:08 -04:00
Jacob Stiffler
8c21aea517 common-csl-ip: Bump SRCREV for fix
* Definition of PLLC registers in CSL: wrong offset for EMUCNT0/1

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-22 15:14:05 -04:00
Denys Dmytriyenko
7e26452bae ti-sci-fw: update to the latest version 0.1.1.4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 12:43:32 -04:00
Jacob Stiffler
42a2580732 openmp-rtos: Bump version for hotfix
* fix am57x NOLOAD auto-init and omp atomic race bugs

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:44:11 -04:00
Jacob Stiffler
cf0e2c35a3 traceframework: Bump SRCREV for fix
* tf:cuiaTest:fixing linker options

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:44:06 -04:00
Jacob Stiffler
2f62e73937 srio-lld: Update to version 2.0.0.15
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:44:02 -04:00
Jacob Stiffler
4780437ac7 sa-lld: Upgrade to version 3.0.0.13
* Update license with TI-TFL license

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:57 -04:00
Jacob Stiffler
3fa7271642 pa-lld: Upgrade to version 3.0.1.8
* Update license to add TI-TFL license

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:49 -04:00
Jacob Stiffler
60e51f9c00 hyplnk-lld: Upgrade to version 2.1.0.6
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:43 -04:00
Jacob Stiffler
b4c7f17dec cppi-lld: Upgrade to version 2.1.0.12
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:37 -04:00
Jacob Stiffler
e97ff395b5 qmss-lld: Upgrade to version 2.1.0.14
* Update license with TI-TFL license

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:31 -04:00
Jacob Stiffler
bffc8a3277 rm-lld: Upgrade to version 2.2.0.1
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:23 -04:00
Jacob Stiffler
aa36ab3402 common-csl-ip: Upgrade to version 3.3.0.2A
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-21 11:43:19 -04:00
Denys Dmytriyenko
a278178ae6 linux-ti-staging: update with latest connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-19 16:03:59 -04:00
Sam Nelson
9bcc143763 srio-lld-test: Add explicit dependency on uio-module-drv
Test code uses uio driver for mapping peripheral registers and hence the
addition of dependency.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-19 15:47:20 -04:00
Sam Nelson
cdac107836 mpm-transport: Update commit id for 2.0.0.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-17 16:57:21 -04:00
Jason Reeder
8dcc1c2a85 pru-icss: bump SRCREV and PV to bring in updates
Due to bug fixes and updates the package version is being
incremented to 4.0.2. The commit ID is also being updated
to reflect these changes.

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-17 16:57:19 -04:00
Sam Nelson
30688674ca uio: Fix issues with driver reference in uio related dts entries
Correct incorrect driver compatibility key. uio driver implemented with
uio-module-drv for keystone2.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 16:07:07 -04:00
Jacob Stiffler
503a211e8b cmem: Bump SRCREV for keystone fix
* set dma_pfn_offset for keystone2 devices

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 15:25:57 -04:00
Denys Dmytriyenko
af57c86b1d u-boot-ti-staging: update with fix for L3 Custom Error on AM4 HS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 15:10:25 -04:00
Denys Dmytriyenko
43b9729966 linux-ti-staging: update with latest A/D, platform and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 15:10:23 -04:00
Sam Nelson
9ba41bd6cf qmss-lld-test: Add explicit dependency on uio-module-drv
Test code uses uio driver for mapping peripheral registers and hence
the addition of dependency.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 14:40:46 -04:00
e-ruei1@ti.com
3b4a735d5f omap5-sgx-ddk-um-linux:bump SRCREV for bug fixes in nullDRM EGL
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 14:40:42 -04:00
Jacob Stiffler
665505e569 dsptop: Upgrade to 1.3.0
* This upgrade includes debugss support for AM57xx EVM PG2.0

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-16 14:40:40 -04:00
Denys Dmytriyenko
0da13d5a37 u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-11 14:25:27 -05:00
Denys Dmytriyenko
e6de36610f linux-ti-staging: update with latest connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-11 14:25:26 -05:00
Denys Dmytriyenko
1318500616 conf/machine: enable tar.xz images for current machines
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-11 14:25:03 -05:00
Jacob Stiffler
873c090f55 openmp-rtos: Upgrade to 2.2.1.2
* The following fix is provided in this upgrade:
  - Fix K2G .tomp_svNcMem initialization

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-11 14:07:52 -05:00
Jacob Stiffler
e3a356ad4c debugss-module-drv: Add support for k2e-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-11 14:07:51 -05:00
Denys Dmytriyenko
c56e55b55c am335x: use ttyS to check for actual device, while 8250 is disabled
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-09 22:16:30 -05:00
Denys Dmytriyenko
110f22565f ti-ipc-rtos: preserve FW dir structure, use update-alternatives for test_omx*
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:44:12 -05:00
Denys Dmytriyenko
771673de5b ipumm-fw: use update-alternatives to manage FW symlink
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:44:10 -05:00
Denys Dmytriyenko
ded818502e dspdce-fw: replace mkdir/cp with install
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:44:07 -05:00
Denys Dmytriyenko
1a04a95a37 ipumm-fw: update to 3.00.10.00 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:44:04 -05:00
Denys Dmytriyenko
3464972e79 ipumm-fw: remove old versions
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:44:01 -05:00
Jacob Stiffler
a78fe1bff3 openmp-rtos: Upgrade to version 2.2.1.1
* Upgrade to obtain the following fixes:
  - Fix task barrier at end of parallel region with num_threads(1)
  - Avoid unused QMSS dependency on K2G

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:43:58 -05:00
Jacob Stiffler
b0f07f5de8 HACK: edma3-lld-rtos: Add dependency on all toolchains
* Despite supporting building of individual targets, there is a
  dependency on all toolchains even if the coresponding core is not
  part of a specific platform.
* This fixes do_configure with ti-xdctools_3.32.00.06 and
  ti-sysbios_6.45.01.29

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:43:55 -05:00
Jacob Stiffler
83e6205c85 edma3-lld-rtos: Point TMS470_CGTOOLS to correct toolchain
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-08 18:43:53 -05:00
Denys Dmytriyenko
8a5aceae6c u-boot-ti-staging: update with DLL_CALIB_CTRL fix for AM57xx
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:54 -05:00
Denys Dmytriyenko
fa46db7cf5 linux-ti-staging: update with connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:51 -05:00
Denys Dmytriyenko
61384b9c6d prueth-fw: add FW images for AM437x
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:45 -05:00
Denys Dmytriyenko
b21fd32825 k2g-evm: add alsa to machine features list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:41 -05:00
Denys Dmytriyenko
60d34737a7 am335x-evm: add ttyO3 support for ICE variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:37 -05:00
Denys Dmytriyenko
088a824542 multiprocmgr-test: don't repackage between machines, as only K2 uses it
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:34 -05:00
Justin Sobota
10d7fc9f0d ti-xdctools: Update to verion 3.32.00.06
License checksum calculation now ignores generation date

Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:17 -05:00
Justin Sobota
ffbd040e0d ti-sysbios: Update to 6.45.01.29
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-07 20:29:11 -05:00
Jacob Stiffler
749ec9792a multiprocmgr: Add SRCREV
* This commit corresponds to the tag DEV.MPM-3.00.01.00

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 16:58:25 -05:00
Sam Nelson
6702fcf992 multiprocmgr: Update to new verison 3.0.1.0
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 12:12:42 -05:00
Denys Dmytriyenko
4586cebb08 linux-ti-staging: update with latest A/D, connectivity and rpmsg fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 12:12:40 -05:00
e-ruei1@ti.com
f7be8fd696 omap5-sgx-ddk-um-linux: Add INSANE_SKIP list for plugins
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 12:07:30 -05:00
Jacob Stiffler
8120df0a4f openmp-rtos: Bump version to 2.2.1.0 and add k2g-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 12:07:24 -05:00
Jacob Stiffler
9af397c36d common-csl-ip-rtos: Add support for k2g-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-04 12:07:21 -05:00
Denys Dmytriyenko
a548f34b08 u-boot-ti-staging: update with latest HS, K2 and AM4 fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-02 22:49:46 -05:00
Denys Dmytriyenko
52a25ddbaa linux-ti-staging: update with platform, connectivity and rpmsg fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-02 22:49:45 -05:00
Sam Nelson
d9d49d48ae ti-ipc: Update to GA version IPC 3.42
Updated to GA version and commit for IPC 3.42
Added additional platform for K2HK

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-02 22:20:52 -05:00
e-ruei1@ti.com
06153e9c19 omap5-sgx-ddk-um-linux: Add plugins list
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-02 22:20:46 -05:00
Jacob Stiffler
3ceebfaf5f linux: cmem: k2g-evm: Add CMEM regions for k2g-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-03-01 18:05:00 -05:00
Anand Balagopalakrishnan
ecdf9adb4d omapdrm_pvr: remove version 1.9.2253347 as replaced by 1.14.3699939
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:16:01 -05:00
Anand Balagopalakrishnan
a64524579a omap5-sgx-ddk-um-linux: remove version 1.9.0.12 as replaced by 1.14.3699939
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:15:56 -05:00
Anand Balagopalakrishnan
648a2cc057 omap5-sgx-ddk-um-linux: bump SRCREV for bug fixes in Wayland EGL
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:15:49 -05:00
Anand Balagopalakrishnan
4cdee8256c omap5-sgx-ddk-um-linux: register PVR service for autostart on boot
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-29 16:15:46 -05:00
Denys Dmytriyenko
273edba784 linux-ti-staging: update with latest fixes, set dra7xx-hs-evm DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-25 14:18:35 -05:00
Gou, Hongmei
db838e9fee vlib-c66x: add version 3.2.1.0
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-24 19:57:40 -05:00
Denys Dmytriyenko
25d35314b9 linux-ti-staging: rdepends on prueth-fw
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-23 16:26:56 -05:00
Denys Dmytriyenko
c0e9d9f4ca prueth-fw: add firmware images for PRU Ethernet on AM57xx
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-23 16:26:53 -05:00
Denys Dmytriyenko
d3e3d05baa u-boot-ti-staging: add support for DRA7 and AM4 secure devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-23 16:26:48 -05:00
Denys Dmytriyenko
c2526d67ea linux-ti-staging: update with platform merge, new AM5 DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-23 16:26:44 -05:00
Denys Dmytriyenko
7baa1a878b conf/machine: add initial configs for HS platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-17 23:31:34 -05:00
Denys Dmytriyenko
0131faccae u-boot-ti-staging: update with latest merges, including HS support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-17 23:31:33 -05:00
Anand Balagopalakrishnan
f235062226 omap5-sgx-ddk-um-linux: bump SRCREV for gl2ext header change
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-17 16:34:25 -05:00
Denys Dmytriyenko
6774097dfe linux-ti-staging: update to 4.1.18 and latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-16 23:03:15 -05:00
Jacob Stiffler
afec0bb279 ti-ipc: Extract SRC info into unique variables
* This makes it easier to override the source revision for all ti-ipc
  recipes

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-16 15:59:15 -05:00
Denys Dmytriyenko
56ae0ada5b omap5-evm: increase max_leb_cnt
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-16 15:59:13 -05:00
Denys Dmytriyenko
86cbe225d3 linux-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-15 17:56:44 -05:00
Jacob Stiffler
cce1f18c78 omap5-sgx-ddk-um-linux: Specify COMPATIBLE_MACHINE list
* This is only compatible with ti33x, ti43, and omap-a15 as a SRCREV
  is only supplied for these SOC families.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-15 17:27:22 -05:00
Anand Balagopalakrishnan
9b2781e62b omap5-sgx-ddk-um-linux: SGX user mode driver v1.14 for all TI SoCs
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-15 17:26:58 -05:00
Anand Balagopalakrishnan
13b3ec3e24 omapdrm_pvr: SGX kernel mode driver v1.14 for all TI SoCs
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-15 17:26:56 -05:00
Denys Dmytriyenko
6d733273cc netcp-pa-fw: update to 3.0.1.8 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-12 16:33:39 -05:00
Denys Dmytriyenko
7e492603be ti-sci-fw: update to 0.1.1.1 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-12 16:33:37 -05:00
Denys Dmytriyenko
4e8fd045b6 linux-ti-staging: update with platform, connectivity and A/D merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-12 16:33:33 -05:00
Denys Dmytriyenko
10b611eb19 u-boot-ti-staging: update with few more fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-12 16:33:28 -05:00
Denys Dmytriyenko
6ef9db3a42 linux-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-09 16:36:27 -05:00
Denys Dmytriyenko
4f86f34be7 u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-09 16:36:25 -05:00
Denys Dmytriyenko
546e2200e2 layer.conf: add cppi-lld, qmss-lld and multiprocmgr to ABI safe list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-09 15:47:38 -05:00
Denys Dmytriyenko
68cd1e1d95 common-csl-ip: only rtos part is machine-specific, not main package
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-09 15:47:35 -05:00
Denys Dmytriyenko
c27b74eadb ompa5-evm.conf: bump max_leb_cnt
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-09 15:47:33 -05:00
Denys Dmytriyenko
e16e6caf6a pru-icss: actually bump SRCREV for previous change
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-09 09:06:18 -05:00
Jason Reeder
1b6b2ecd0c pru-icss: update RPMsg folder names for am437x
Previously, only examples for PRUSS1 were provided for the
am437x device. A patch now exists to load firmwares into
PRUSS0 instead of PRUSS1. This caused a naming convention
change in the am437x RPMsg examples. This commit updates
the recipe to use the new folder naming convention.

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 15:30:20 -05:00
Denys Dmytriyenko
fff240c234 ti-ipc-rtos: also install IPU M4 images
TODO: do we need to preserve naming/hierarchy for multiple DSP/IPU instances?

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:30:15 -05:00
Denys Dmytriyenko
9ec00aa941 k2hk-evm: increase max_leb_cnt
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:30:13 -05:00
Jacob Stiffler
d3a7ce8cf3 ipc-transport: Extract source info to common inc file
* Also use new variables to specify the source info so this can be
  easily overridden and applied to each recipe.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:30:09 -05:00
Sam Nelson
bcb5ecc357 ti-ipc: Update to new version 3.42.0.0_eng
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:30:06 -05:00
Thomas Perrot
7819958463 conf: change GUI_MACHINE_CLASS to MACHINE_GUI_CLASS
Correct the name of the variable used to define the size of the logo:
GUI_MACHINE_CLASS renamed MACHINE_GUI_CLASS.

Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:28:50 -05:00
Adam YH Lee
65739cbc43 libgles-omap3: fix RPM compatibility by faking hardcoded deps
When RPM is used as the packaging type, rootfs will fail because RPM, by
design, check for file level dependency. Here one of the shared objects
(libpvrEWS_REMWSEGL.so) has dependency on ld-linux.so.3 and libews.so.

It is unclear why meta-ti requires ld-linux.so.3, which is a dynamic
loader for soft-float arch. Hence I fake the existence here.

Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-08 12:22:33 -05:00
Denys Dmytriyenko
e355f6fa2b netapi: disable debian naming for consistency
Libraries have SOC in the name, but some machines (k2hk) build multiple variants.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-04 12:30:11 -05:00
Jacob Stiffler
48467358fe linux-ti-staging: Update to include uio device tree entries
- Adds device tree entries for multiple devices that use uio driver
- These entries are added for k2h, k2l & k2e : keystone2 platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-03 21:07:03 -05:00
Denys Dmytriyenko
907496285d linux-ti-staging: update to 4.1.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:32:11 -05:00
Jacob Stiffler
db523c31f6 temperature-module-drv: Smart Reflex Sub-System (SRSS) module driver
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:40 -05:00
Jacob Stiffler
1f1a613d75 dsptop: Bump SRCREV to the latest
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:36 -05:00
Jacob Stiffler
504c5919e7 netapi: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:29 -05:00
Jacob Stiffler
a2abb468cd netapi: Use INC_PR
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:27 -05:00
Jacob Stiffler
0d7f26f111 conf: machine: am57xx-evm, dra7xx-evm: Increase max_leb_cnt
* With the addition of the video analytics demo, the filesystem has
  exceeded size limited by the previous max_leb_cnt.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:19 -05:00
Jacob Stiffler
24005c9e12 linux: cmem: Update reserved CMEM regions
* dra7xx:
  - Increase DDR region required to pass OpenCL conformance
  - Add OCMC region
* k2e-evm, k2l-evm:
  - Add reserved regions for these machines

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:08:10 -05:00
Jacob Stiffler
0fbe32c1eb uio-module-drv: Add to KERNEL_MODULE_AUTOLOAD
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:43:28 -05:00
Jacob Stiffler
989bd95a9a hplib-mod: Add to KERNEL_MODULE_AUTOLOAD
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:38:36 -05:00
Jacob Stiffler
36b78cc4fa traceframework: Upgrade to version 01.01.01.08
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:38:01 -05:00
Jacob Stiffler
ee868aae19 srio-lld: Upgrade to version 02.00.00.14
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:57 -05:00
Jacob Stiffler
39910bde29 sa-lld: Upgrade to version 03.00.00.12
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:53 -05:00
Jacob Stiffler
59e8a98aff pktlib: Upgrade to version 2.1.0.6
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:47 -05:00
Jacob Stiffler
691e7d5699 pa-lld: Upgrade to version 03.00.01.07
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:45 -05:00
Jacob Stiffler
95fa72af85 nwal-lld: Upgrade to version 02.01.00.09
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:40 -05:00
Jacob Stiffler
7432f5d702 mmap-lld: Upgrade to version 2.0.0.6
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:36 -05:00
Jacob Stiffler
61292335f7 iqn2-lld: Upgrade to version 1.0.0.10
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:34 -05:00
Jacob Stiffler
df7fa1e758 hyplnk-lld: Bump SRCREV
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:32 -05:00
Jacob Stiffler
47857e5626 dfe-lld: Upgrade to version 1.0.0.7
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:27 -05:00
Jacob Stiffler
3ed5908d0b aif2-lld: Upgrade to version 1.2.0.1
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:37:24 -05:00
Jacob Stiffler
f6ab2c715f multiprocmgr-rtos: Add RTOS package for multiprocmgr
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:21:35 -05:00
Jacob Stiffler
401b85924a multiprocmgr: Clean up recipes
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-28 13:21:33 -05:00
Jacob Stiffler
cbe0d8c8fd edma3-lld-rtos: Extend supported SOCs
* Extend support to ti33x and ti43x
* Fix build for keystone

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:57:06 -05:00
Jacob Stiffler
533dfb7d57 edma3-lld: Upgrade version to 2.12.01.22
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:57:05 -05:00
Denys Dmytriyenko
548f634c1c netcp-sa-fw: add initial version 1.0.0
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:56:59 -05:00
Jacob Stiffler
354ef246e3 gdbc6x: Extend support to keystone SOCs
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:34 -05:00
Jacob Stiffler
ac917dc786 openmp-rtos: Add the OpenMP RTOS package
* supports OpenMP on c66x cores

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:29 -05:00
Jacob Stiffler
d2281f5a67 cppi-lld-rtos: Add RTOS package for CPPI LLD
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:25 -05:00
Jacob Stiffler
c3c3278598 cppi-lld: Upgrade version to 2.1.0.11
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:20 -05:00
Jacob Stiffler
5586a8a508 qmss-lld-rtos: Add RTOS package for QMSS LLD
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:15 -05:00
Jacob Stiffler
2eaba56cbf qmss-lld: Upgrade to version 2.1.0.12
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:11 -05:00
Jacob Stiffler
000228e96c rm-lld-rtos: Add RTOS package of the RM LLD
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:06 -05:00
Jacob Stiffler
4593264a4f rm-lld: Bump version to 02.02.00.00
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:54:02 -05:00
Jacob Stiffler
3244a40057 rm-lld: Seperate source info into .inc file
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:53:58 -05:00
Jacob Stiffler
e887c3f2a6 common-csl-ip: Upgrade to version 3.3.0.1B
* Re-implement common-csl-ip-rtos using the ti-pdk class

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:53:53 -05:00
Jacob Stiffler
a83eb9039e ti-pdk.bbclass: Add class for creating RTOS PDK components
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:53:49 -05:00
Jacob Stiffler
183b1828ed ti-cg-xml: Add version 2.41.00
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:53:45 -05:00
Jacob Stiffler
5437ef8b7a ti-cgt6x: Upgrade to version 8.1.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-27 15:53:39 -05:00
Denys Dmytriyenko
d3977448e5 linux-ti-staging: add runtime dependency on NETCP PA firmware
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-26 16:02:12 -05:00
Denys Dmytriyenko
b1b50a0adf linux-ti-staging: update to 4.1.16 with latest merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-26 15:32:31 -05:00
Denys Dmytriyenko
950d5467a6 netcp-pa-fw: add initial version 1.0.0
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-26 15:18:28 -05:00
Denys Dmytriyenko
963c35fc49 linux-ti-staging: update to the latest, use RT defconfig for Keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-22 01:01:25 -05:00
Denys Dmytriyenko
085f3d58e4 linux-ti-staging: split out systest defconfig into own recipe
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-22 00:51:49 -05:00
Paul Barker
63b3736c18 ti-softhsmv2: Use target includes for zlib and openssl
ti-softhsmv2 needs to look at the target include directories instead of the host
include directories for zlib and openssl header files. By using
STAGING_EXECPREFIXDIR we can support changes to exec_prefix.

Signed-off-by: Paul Barker <paul.barker@commagility.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-22 00:51:46 -05:00
Denys Dmytriyenko
6efdb527f4 u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-18 13:39:50 -05:00
Denys Dmytriyenko
c2897c9989 linux-ti-staging: update to 4.1.15 and latest merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-18 13:39:49 -05:00
Anand Balagopalakrishnan
7d70637ea1 omap5-sgx-ddk-um-linux: bump SRCREV for AM57x/DRA7xx to the latest DDK UM
* Resolve SGX HWrecovery when Wayland OpenGLES clients are killed
* Enable screenshots in Weston
* Resolve SGX HWrecovery with glmark2 benchmark
* Resolve rendering issues with half float textures

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-18 12:44:26 -05:00
Anand Balagopalakrishnan
c9af648865 omapdrm-pvr: bump SRCREV for AM57x/DRA7xx
* Fix use of freed GEM object
* Disable debug options in release build

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-01-18 12:44:22 -05:00
Denys Dmytriyenko
d3ed6de7f5 linux-ti-staging-rt: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-23 16:47:19 -05:00
Denys Dmytriyenko
22f32bf159 linux-ti-staging: update to the latest and add deps for serdes fw
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-23 16:45:40 -05:00
Denys Dmytriyenko
5ae74e827c serdes-fw: add SerDes firmware images for Keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-22 11:33:51 -05:00
Dan Murphy
1ddf4bb564 boot-monitor: Update commit sha for boot monitor
Update the commit sha to the latest commit for
the boot monitor and uptick the rev as well
The update contains non-critical build fixes

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-18 14:19:50 -05:00
Denys Dmytriyenko
24efdcb8b5 qmss-pdsp-fw, ti-sci-fw: update ti-linux-firmware.git branch to ti-linux-firmware-4.1.y
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Dan Murphy <dmurphy@ti.com>
2015-12-17 20:07:10 -05:00
Justin Sobota
cd866ab2fb ipc-transport-srio: Update to new version 2.0.0.1
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-17 20:07:06 -05:00
Justin Sobota
9439753f48 ipc-transport-qmss: Update to new version 2.0.0.1
Signed-off-by: Justin Sobota <jsobota@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-17 20:07:02 -05:00
Denys Dmytriyenko
f360a7127d linux-ti-staging: add LCD DTBs for AM5 IDK platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-15 22:19:24 -05:00
Denys Dmytriyenko
b814db9112 multiprocmgr: mark as machine-specific due to kernel dependency
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-15 22:19:21 -05:00
Jacob Stiffler
aa5ff5293a ti-ipc-rtos: Install firmware to /lib/firmware
* By default libdir = /usr/lib and base_libdir = /lib
* Therefore install firmware to ${base_libdir}/firmware

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-15 11:59:35 -05:00
Sam Nelson
7ab0b57b8f multiprocmgr: Update to new version 3.0.0.2
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-15 11:59:32 -05:00
Sam Nelson
6832345829 mpm-transport: Update to new version 2.0.0.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-15 11:59:29 -05:00
Sam Nelson
252265119d ti-ipc: Update branch and information for IPC GA release
- Commit id is perserved from previous eng version

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-15 11:59:26 -05:00
Denys Dmytriyenko
c2023a7c25 layer.conf: add mpm-transport to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-11 13:49:27 -05:00
Sam Nelson
9552cf5c71 ti-ipc: Update to new version 3.41.0.7_eng
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-10 13:31:05 -05:00
Denys Dmytriyenko
cda23bd31a u-boot-ti-staging: update to the latest rev
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-10 00:42:14 -05:00
Denys Dmytriyenko
ffbe1edbf1 layer.conf: add ti-rpc-rtos to ABI safe list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-07 23:15:43 -05:00
Gou, Hongmei
a757f12b9d imglib-c66x: add version 3.1.1.0
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:24:25 -05:00
Gou, Hongmei
9e1e9d0a87 mathlib-c66x: add version 3.1.1.0
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:24:23 -05:00
Denys Dmytriyenko
8a1736037d dspdce-fw: fix alternatives handling
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:11:49 -05:00
Sam Nelson
3e02323dd2 multiprocmgr: Update to new version 3.0.0.1_eng
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:11:40 -05:00
e-ruei1@ti.com
b5f84f1b1b omapdrm-pvr:Bump SRCREV of ti33x and ti43x to pick up the latest DDK KM fix
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:11:26 -05:00
Denys Dmytriyenko
2174d649c2 linux-ti-staging-rt: update to the latest rev
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:11:07 -05:00
Denys Dmytriyenko
03017243a4 linux-ti-staging: update to the latest, rename pmmc-fw to ti-sci-fw
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:10:58 -05:00
Denys Dmytriyenko
f5c1f1943b ti-sci-fw: rename PMMC firmware to TI SCI and update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:10:44 -05:00
Sam Nelson
8e8618fb00 ti-ipc: Update to new version 3.41.00.06_eng
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:10:38 -05:00
Sam Nelson
5ea65eceb4 mpm-transport: Change file permissions
- Remove executable permission for json and include files.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-04 22:10:32 -05:00
Gou, Hongmei
3cb73c27e6 dsplib-c66x: add version 3.4.0.0
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-03 13:30:02 -05:00
Denys Dmytriyenko
163786e74a linux-ti-staging: remove outdated 3.12 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-03 10:43:01 -05:00
Jacob Stiffler
e1f0a0758e dspdce-fw: Bump SRCREV for build fix
* fix issue where dspdce-fw would rebuild dependencies

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-02 16:50:10 -05:00
Jacob Stiffler
a0845475bd ipumm-fw: Bump SRCREV for build fix
* fix issue where ipumm-fw would rebuild dependencies

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-02 16:50:08 -05:00
Jason Reeder
bdd8a5c7a8 pru-icss: bump SRCREV and PV due to bug fixes
Due to bug fixes and updates the package version is being
incremented to 4.0.1. The commit ID is also being updated
to reflect these changes.

Signed-off-by: Jason Reeder <jreeder@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-01 22:06:13 -05:00
Denys Dmytriyenko
8195b22cb1 pa-lld: set sane defaults when platform is not defined
Also fix this build error:
| makefile_armv7:27: *** missing separator.  Stop.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-12-01 15:44:15 -05:00
Sam Nelson
77c46bc317 uio-module-drv: Update to new version 2.0.0.0_eng
- Update to eng release 2.0.0.0
- Added install append for new API header file

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-30 16:46:03 -05:00
Denys Dmytriyenko
46f20bb8d4 mpm-transport: fix syntax for appending dependencies
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-30 16:45:59 -05:00
Denys Dmytriyenko
6cbe8dcb5f mmap-lld: mark as compatible with all Keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-30 16:45:55 -05:00
Sam Nelson
b2eabd892a multiprocmgr: Update to new version 3.0.0.0
- Update to work with kernel version 4.1 and also other uio driver
changes.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-30 16:45:51 -05:00
Sam Nelson
91ba0c77fb mpm-transport: Update to new version 2.0.0.0
- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies
according to the platform is updated
- Add use of oe_runmake instead of direct call to make

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-30 16:45:45 -05:00
Denys Dmytriyenko
7a5b3add42 omap5-evm: bump max_leb_cnt once more
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-30 12:06:15 -05:00
Jacob Stiffler
e6ff1dfa3d linux-ti-staging: k2g-evm: Add pmmc-fw as dependency
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-25 16:52:22 -05:00
Denys Dmytriyenko
02caea956d omap5-evm.conf: bump max_leb_cnt
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-24 18:19:02 -05:00
Denys Dmytriyenko
4fd966bcd5 qmss-pdsp-fw: add initial QMSS PDSP firmware
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-24 17:44:44 -05:00
Denys Dmytriyenko
9f5af2f7d1 pmmc-fw: add initial PMMC firmware binary
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-24 17:44:42 -05:00
Jacob Stiffler
bc7dad24ef ti-ipc-rtos: Fix omap-a15 DEPENDS
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-24 13:15:34 -05:00
Eric Ruei
9c3254ecb6 omap5-sgx-ddk-um-linux: bump SRCREV of ti33x for configuration variable DefaultPixelFormat support
* DefaultPixelFormat is used to set the default EGL pixel format

Signed-off-by: Eric Ruei <a0850410@uda0850410>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-24 13:15:32 -05:00
Sam Nelson
52c5cc74e9 ipc: ti-ipc, ti-ipc-rtos: Update to new version of IPC 3.41.0.3_eng
- Update to new version of IPC: 3.41.0.3_eng
- Add recipe to build ti-ipc-rtos from git repo
- Remove K2G hack

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-20 22:27:26 -05:00
Denys Dmytriyenko
4f095b2a09 cm3-pm-firmware: update with the new git URL
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-18 18:16:59 -05:00
Denys Dmytriyenko
3bc6bb5302 traceframework: overwrite instead of append to DEVICELIST var
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-16 01:18:28 -05:00
Denys Dmytriyenko
a31a7a6e71 cppi, qmss, traceframework: set sane defaults when platform is not defined
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-14 01:22:44 -05:00
Denys Dmytriyenko
3b55cafa6c HACK: ti-ipc: temporarily use k2e variables for k2g platform
Full support is not yet available, but should unblock k2g builds

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 17:35:34 -05:00
Denys Dmytriyenko
d539e15f6a ti-ipc: add k2g platform variables
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 09:19:44 -05:00
Denys Dmytriyenko
8a09bd1d60 u-boot-ti-staging: update with latest fixes, including Keystone builds
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 09:14:44 -05:00
Denys Dmytriyenko
f5721982b1 ti-ipc: update to 3.41.00.02-eng
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 08:15:19 -05:00
Denys Dmytriyenko
73c8b89296 kselftests: make machine-specific due to kernel-specific conditionals
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 08:15:15 -05:00
Denys Dmytriyenko
d69c4241c6 linux-ti-staging: update to 4.1.13, add am571-idk DTB
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-12 08:15:11 -05:00
Denys Dmytriyenko
9e6cbd0ef1 u-boot-ti-staging: update to the latest, change am57/x15 defconfig name
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-10 15:34:01 -05:00
Gou, Hongmei
cd3fcb02fc omap5-sgx-ddk-um-linux: bump SRCREV and update powervr.ini and .so inclusion for AM3
* Bump SRCREV for DRM FLIP mode support, and update powervr.ini correspondingly
* Add plugins package to include the necessary .so files

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-10 10:45:23 -05:00
Denys Dmytriyenko
634f676c8e multi-kernel: don't fail removing symlinks when config or commit changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:32:50 -05:00
Jacob Stiffler
7f96040e3a linux: cmem: k2hk-evm: Reduce reserved memory
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:32:40 -05:00
Denys Dmytriyenko
a32043d538 linux-ti-staging-rt: introduce RT version of staging kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:32:28 -05:00
Denys Dmytriyenko
0c900b8df3 linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:32:19 -05:00
Jacob Stiffler
dac64c6888 pru-icss: install multiple example firmwares
* Create packages for the PRU_Halt and PRU_RPMsg_Echo_Interrupt
  example firmwares
* Use update-alternatives to link these to the required firmware path

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:31:54 -05:00
Gou, Hongmei
d5e19628cf omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4
* Support wayland/DRM mode
* Remove powervr.ini which is no longer needed
* Add plugins package to include the necessary .so files

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:31:39 -05:00
Denys Dmytriyenko
dca006ff39 omap5-sgx-ddk-um-linux: explicitly specify RDEPENDS on libdrm
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:31:33 -05:00
Gou, Hongmei
7997132312 omapdrm-pvr: disable PVR_NULLDRM to support DRI_DRM for AM4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-09 14:28:51 -05:00
Denys Dmytriyenko
c5082b2550 boot-monitor: migrate to the new git source, major version bump
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-05 14:39:54 -05:00
Denys Dmytriyenko
9e959a5e67 multi-kernel.inc: improve handling of configs with different version string
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:04:01 -05:00
Jacob Stiffler
489224afdc traceframework: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:41 -05:00
Jacob Stiffler
7776cbe00f traceframework: Clean up recipes
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:37 -05:00
Jacob Stiffler
327559a0a5 srio-lld: Only compatible with k2hk-evm
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:32 -05:00
Jacob Stiffler
5a37604c89 srio-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:29 -05:00
Jacob Stiffler
2aadb3d5c0 sa-lld-test: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:23 -05:00
Jacob Stiffler
1e37806e85 sa-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:19 -05:00
Jacob Stiffler
36800c7c7c rm-lld: Clean up recipes
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 10:03:16 -05:00
Jacob Stiffler
f01c8007f5 qmss-lld: Only build binaries relevent to the machine
* Due to this change, the init script is no longer needed

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:48 -05:00
Jacob Stiffler
c252c77314 qmss-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:44 -05:00
Jacob Stiffler
8618a97a98 pktlib: Clean up recipes
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:40 -05:00
Jacob Stiffler
bb3b5d10f0 pa-lld: Only build binaries relevent to the machine
* Due to this change, the init script is no longer needed

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:36 -05:00
Jacob Stiffler
51c651cf8c pa-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:32 -05:00
Jacob Stiffler
092e391b81 nwal-lld: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:28 -05:00
Jacob Stiffler
c4ef4c75a6 nwal-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:24 -05:00
Jacob Stiffler
edb9c10938 mmap-lld-test: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:20 -05:00
Jacob Stiffler
ba5a045f85 mmap-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:16 -05:00
Jacob Stiffler
dc2dab062d iqn2-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:12 -05:00
Jacob Stiffler
f905be96ee hyplnk-lld: Only build binaries relevent to the machine
* Due to this change, the init script is no longer needed

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:57:38 -05:00
Jacob Stiffler
41ee00c8f1 hyplnk-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:57:32 -05:00
Jacob Stiffler
d5627fa3d7 hplib: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:57:18 -05:00
Jacob Stiffler
20f7def0e4 hplib: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:57:12 -05:00
Jacob Stiffler
4aaf561265 edma3-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:57:07 -05:00
Jacob Stiffler
30bc6a176a dfe-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:56:57 -05:00
Jacob Stiffler
f9410c0804 cppi-lld: Only build binaries relevent to the machine
* Due to this change, the init script is no longer needed

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:56:48 -05:00
Jacob Stiffler
2801ef9ce5 cppi-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:56:43 -05:00
Jacob Stiffler
6042df4426 common-csl-ip: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:56:35 -05:00
Jacob Stiffler
51cf2fad40 aif2-lld: Clean up recipes
* Use INC_PR to track recipe revisions
* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:56:28 -05:00
Denys Dmytriyenko
88b45cf175 k2g-evm: add K2G platform
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-03 15:57:19 -05:00
Denys Dmytriyenko
ce08a64bad ti-u-boot: update with latest fixes and features
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-03 15:57:15 -05:00
Denys Dmytriyenko
bd37f936af linux-ti-staging: update to 4.1.12 with latest merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-03 15:57:11 -05:00
Denys Dmytriyenko
7f133f9025 linux-ti-staging: add DTBs for IDK platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-03 15:57:06 -05:00
Denys Dmytriyenko
d913fef378 linux-ti-staging: remove unused patches/configs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-03 15:57:01 -05:00
Jacob Stiffler
644ab65a9e pru-icss: Add PRU software package version 4.0.0.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-29 15:40:03 -04:00
Jacob Stiffler
ae61b347ac ti-cgt-pru: Add version 2.1.1
* TI PRU Code Generation Tools

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-29 15:40:00 -04:00
Jacob Stiffler
1010d17019 linux: cmem.inc: Implement way to configure more complex CMEM config
* Supply the entire cmem.dtsi per machine
  - Disabled by default
  - Currently only supported for dra7xx and k2hk-evm
* Enable by setting RESERVE_CMEM = "1"

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-29 15:39:56 -04:00
Gou, Hongmei
c960677116 ipumm-fw: update recipe to build ipumm-fw from git source
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-28 16:06:11 -04:00
Jacob Stiffler
667b451588 am57xx-evm,dra7xx-evm: Increase max_leb_cnt
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-28 16:06:08 -04:00
Sam Nelson
e72915d14e pa-lld: Add missing init script
- The init script is used to create symbolic link to the right
  device library

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-28 16:06:02 -04:00
Jacob Stiffler
6a022be98f gcc-arm-none-eabi-native: Add GCC baremetal toolchain
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-28 16:05:57 -04:00
Sam Nelson
51f0cdc888 aif2-lld: Add low level driver package for keystone2 antenna interface
- Provides low level driver and test binaries for keystone2 antenna
  interface peripheral

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-23 15:36:06 -04:00
Jacob Stiffler
b948c9010a cmem: Bump SRCREV to support LPAE in DT processing
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-22 13:00:39 -04:00
Jacob Stiffler
ffeefcb8e5 ti-ccsv6-native: Add CCS 6.1.1.00022
* Due to licensing, this installer must be downloaded manually and
  placed into either the downloads directory, or placed on a mirror.
* Please see http://processors.wiki.ti.com/index.php/Download_CCS#Code_Composer_Studio_Version_6_Downloads

* NOTE: That the Linux off-line installation tarball is the file required.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-22 13:00:08 -04:00
Sam Nelson
5ae46649cd sa-lld: Update to new version 3.0.0.11
- Add device independent symbolic link for dynamic library
- Add utils to test build

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-22 12:58:39 -04:00
Sam Nelson
ff68b5f5f4 pa-lld: Update to new version 3.0.1.5
- Add script to create device independent symbolic link to actual
  device library

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-22 12:58:37 -04:00
Sam Nelson
7beba2b8a2 ti-softhsmv2: Update to new version 1.3.0.4
- Update License checksum
- Skip PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-22 12:57:42 -04:00
Gou, Hongmei
5f12d9f826 dspdce-fw: update recipe to build dspdce-fw from git source
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-22 12:57:26 -04:00
Denys Dmytriyenko
78a9eb7bec u-boot-ti-staging: update to the lates, change Keystone build steps
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 19:21:57 -04:00
Denys Dmytriyenko
8e85e26c4f linux-ti-staging: update to 4.1.10 and all recent merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 19:21:55 -04:00
Sam Nelson
2892deae25 ipc/ipc-transport: Update to new version 2.0.0.0
- Updates srio and qmss transports

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:30 -04:00
Sam Nelson
d027ee6beb netapi: Update commit id of final version of 1.1.0.6
- Increment PR to update

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:28 -04:00
Sam Nelson
4816b46a96 engine-pkcs11: Update to new version 1.3.0.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:27 -04:00
Sam Nelson
8d93320465 multiprocmgr: Update to new version 2.0.1.10
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:23 -04:00
Sam Nelson
be30f1f502 mpm-transport: Update to new version 1.0.8.3
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:22 -04:00
Sam Nelson
b4f79a7290 traceframework: Update to new version 1.1.1.7
-Skip PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:18 -04:00
Sam Nelson
8417ec6e31 srio-lld: Update to new version 2.0.0.13
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:17 -04:00
Sam Nelson
c88b680970 nwal-lld: Update to new version 2.1.0.8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:14 -04:00
Sam Nelson
8dd503d20f pktlib: Update to new version 2.1.0.5
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:10 -04:00
Sam Nelson
00e134c009 iqn2-lld: Update to new version 1.0.0.8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:07 -04:00
Sam Nelson
72deb332eb hyplnk-lld: Update to new version 2.1.0.5
- Remove seperate build for dynamic and static cases
  Make now creates two test binaries one use dynamic and other using
  static library

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:04 -04:00
Sam Nelson
5a7f78ce07 dfe-lld: Update to new version 1.0.0.5
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:02 -04:00
Sam Nelson
fdfbba57fc hplib: Update to new version 1.1.0.6
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:11:00 -04:00
Sam Nelson
82dc76a45b cppi-lld: Update to new version 2.1.0.10
-Skip PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:10:58 -04:00
Sam Nelson
238c1a5411 qmss-lld: Update to new version 2.1.0.11
-Skip PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 17:10:55 -04:00
Sam Nelson
a266decde2 rm-lld: Update to new version 2.1.2.0
-Skip PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 15:12:46 -04:00
Sam Nelson
087573d0a2 common-csl-ip: Update new version for Keystone2 02.01.01.00
- Removed extra line

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 14:41:19 -04:00
Jacob Stiffler
f2dab4ab9c omapdrm-pvr: bump SRCREV for am3 and am4
* Remove the OCP_SYSCONFIG setting so that power management capability
  will not be disabled
* Put SGX device in reset state when PVRSRV driver is removed
* Disable the Interrupt Sync Check unless SUPPORT_LISR_MISR_SYNC is defined.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-10-19 14:41:08 -04:00
Denys Dmytriyenko
5920c55bc0 u-boot-ti-stagaing: redo the last fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-21 12:51:18 -04:00
Denys Dmytriyenko
45fc8f5586 linux-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-21 12:51:15 -04:00
Jacob Stiffler
b71de915aa ipumm-fw: Update to 3.00.09.01
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-16 21:31:16 -04:00
Jacob Stiffler
81616e13da ti-framework-components: Bump version to 3.40.01.04
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-16 21:31:13 -04:00
Jacob Stiffler
7228cbefff ti-sysbios: Bump version to 6.42.02.29
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-16 21:31:10 -04:00
Jacob Stiffler
c751653431 ti-ipc: Bump version to 3.40.01.08
* This provides a fix for GateMP support.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-16 21:31:07 -04:00
Denys Dmytriyenko
e5c4802658 linux-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-11 16:44:55 -04:00
Denys Dmytriyenko
ef3318a712 u-boot-ti-staging: update with WAKEUP2 touchscreen fix
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-11 16:44:51 -04:00
Jacob Stiffler
d5697a3529 gdbserverproxy-module-drv: Fix build issue with fido
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-11 15:53:15 -04:00
Jacob Stiffler
aa08a44357 debugss-module-drv: Fix build issue with fido
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-11 15:53:13 -04:00
Denys Dmytriyenko
250d88ce3a kselftests: ipc tests are machine-specific, don't blindly put in main RDEPENDS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-10 01:21:29 -04:00
Denys Dmytriyenko
2abd8f8540 vpe-tests: resolve conflict with vpdma-fw
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-09 16:09:09 -04:00
Denys Dmytriyenko
6e8a0b2b3c boot-monitor: adjust resulting skern name to be SOC specific, not machine specific
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-09 16:09:02 -04:00
Denys Dmytriyenko
6798a96d55 u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-09 16:08:55 -04:00
Denys Dmytriyenko
434570893e linux-ti-staging: update with latest platform fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-09 16:08:49 -04:00
Jacob Stiffler
c2374ee026 cmem-mod: update for changed module autoload syntax.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-09 16:08:42 -04:00
Denys Dmytriyenko
dc515ca85e linux-ti-staging: for keystone RDEPENDS on boot-monitor
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 18:46:13 -04:00
Gou, Hongmei
eaf9466cf2 ti-codec-engine: update to version 3.24.00.08
* version update and install/stage the source tree w/o compiling examples

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 18:43:29 -04:00
Gou, Hongmei
0b3a26ca45 ti-osal: add the latest version of 1.24.00.09
* ti-osal is added for building dspdce-fw and ipumm-fw in Yocto

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 18:36:23 -04:00
Denys Dmytriyenko
5c129778bd libdrm: remove unused patch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 17:57:15 -04:00
Denys Dmytriyenko
a2c60cc3d5 boot-monitor: also package resulting skern file into /boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 14:45:15 -04:00
Denys Dmytriyenko
deca190cc8 linux-ti-staging: update with latest connectivity changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 11:57:32 -04:00
Denys Dmytriyenko
58fa9e0446 amx3-cm3: update PM firmware, still version 191
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 11:57:28 -04:00
Gou, Hongmei
fa435c1983 omapdrm-pvr: Bump SRCREV for am4/k4.1 branch
* Sync up with the current kernel code

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 11:57:23 -04:00
Gou, Hongmei
45f4403d2c omap5-sgx-ddk-um-linux: Bump SRCREV for am4/k4.1 branch
* Get changes for adding softlinks for libGLES_CM.so.1 and libGLESv2.so.1

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 11:57:18 -04:00
Denys Dmytriyenko
74680a2282 keystone: with the switch to latest u-boot, update UBI volume name
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-08 11:57:13 -04:00
Denys Dmytriyenko
008e80c27f linux-ti-staging: SGX patches went into kernel, drop them locally
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-04 16:13:29 -04:00
Denys Dmytriyenko
5f1263e769 u-boot-ti-staging: port gph deployment hacks for keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-04 16:13:27 -04:00
Denys Dmytriyenko
a56d68804c u-boot-ti-staging, keystone: update with latest fixes, switch keystone over
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-04 16:13:25 -04:00
Denys Dmytriyenko
9a673a7ee2 linux-ti-staging: update with latest merges, first 4 SGX patches upstreamed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-04 00:58:43 -04:00
Denys Dmytriyenko
6b02dab85c linux-ti-staging: update with latest changes, add new DTBs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-02 09:45:30 -04:00
Sam Nelson
9c6635c265 uio-module-drv: Update to new version 1.0.2.3
- Also add test code recipe for uio-module-drv
- Common part of recipe moved to uio-module-drv.inc

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-02 09:45:26 -04:00
Karthik Ramanan
000fc8922a ipumm-fw: update to 3.00.08.02
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-09-02 09:45:11 -04:00
Denys Dmytriyenko
387a462eea layer.conf: add omapdrm-pvr and omap5-sgx-ddk-um-linux to ABI safe list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-31 12:37:12 -04:00
Sam Nelson
e3ebd913da boot-monitor: Update to new version 15.07
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:40:13 -04:00
Sam Nelson
43f20398a1 u-boot-keystone: Update to new version 2013_01_15.07_01
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:40:11 -04:00
Sam Nelson
23d29720dd linux-keystone: update to new version 3.10.72_15.08
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:40:09 -04:00
Gou, Hongmei
243a8245ca am335x-evm: bump max_leb_cnt to fit larger image
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:04:03 -04:00
Gou, Hongmei
62fe901541 libdrm: add ti33x and ti43x to COMPATIBLE_MACHINE
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:03:59 -04:00
Gou, Hongmei
483a8ce22c omap5-sgx-ddk-um-linux: add AM3 and AM4, and pvr-init to initialization
* Add AM3 and AM4 which use null_windown DRM
* Add pvr-init to /etc/init.d

Signed-off-by: Hongmei Gou <h-gou@ti.com>

v2 changes:
1) Use 8 as the initialization number for pvr-init, since pvr-init needs to be done before starting weston which uses number 9
2) Create empty powervr.ini as the default, and place ti33x and ti43x specific ones in their corresponding directories
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:03:54 -04:00
Gou, Hongmei
2b585314cc omapdrm-pvr: add AM3 and AM4 which use null_window DRM
Bumped driver revs to match latest kernel patches.

Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:03:49 -04:00
Denys Dmytriyenko
71d8398e91 linux-ti-staging: bump rev, update GFX patches w/ AM3/AM4 support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 20:03:44 -04:00
Denys Dmytriyenko
0101a0942c omapdrm-pvr: bump rev to match v3 of corresponding kernel patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 12:30:22 -04:00
Gou, Hongmei
241739c16b am437x-evm: bump max_leb_cnt to fit larger image
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-28 12:30:19 -04:00
Denys Dmytriyenko
1b5a2e7bb3 u-boot-ti-staging: bump rev
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-27 15:59:01 -04:00
Denys Dmytriyenko
b5be811d51 linux-ti-staging: bump rev, update J6/AM5 GFX patches to rev3
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-27 15:58:59 -04:00
Denys Dmytriyenko
d8cba916f3 machines: bump max_leb_cnt to fit larger images
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-25 16:53:42 -04:00
Denys Dmytriyenko
40d2c2ee8a omapdrm-pvr/omap5-sgx-ddk-um-linux: update due to branch shuffle
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 15:20:24 -04:00
Anand Balagopalakrishnan
9f19b1f20d omap5-sgx-ddk-um-linux: update SGX user mode binaries to latest version
* Fix for SGX HW recovery issue when Weston EGL clients are killed

Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:33:21 -04:00
Anand Balagopalakrishnan
1b09f22319 omapdrm-pvr: recipe update for SGX KM on 4.1 kernel
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:33:16 -04:00
Denys Dmytriyenko
c59f4a7d99 u-boot-ti-staging: bump rev with dra7 fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:33:09 -04:00
Denys Dmytriyenko
a5d4b009b9 linux-ti-staging: bump rev, add interim GFX patches for J6/AM5
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:33:04 -04:00
Jacob Stiffler
2ea16a9542 cmem: Bump SRCREV to fix build with GCC 4.9 and Linux 4.1
* Changes retain compatibility with older tolchain and kernl.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-24 14:20:19 -04:00
Denys Dmytriyenko
3d31d82b33 ti-ipc: fix build when STAGING_KERNEL_DIR != STAGING_KERNEL_BUILDDIR
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-19 20:55:09 -04:00
Molfetta, Stephen
781e7e00c4 tiipclad-daemon.sh: Enabling GateMP support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-19 20:54:50 -04:00
Denys Dmytriyenko
914f44a3f6 linux-ti-staging: update with rpmsg and platform merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-18 19:36:38 -04:00
Denys Dmytriyenko
6ded549f22 u-boot-ti-staging: update with recent fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-17 13:35:57 -04:00
Denys Dmytriyenko
62b20e2871 linux-ti-staging: update to 4.1.6
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-17 13:35:50 -04:00
Denys Dmytriyenko
b9be739ab4 linux-ti-staging: update to 4.1.5
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-12 00:02:29 -04:00
Denys Dmytriyenko
f8feacf2d2 cuia: revert to clean in do_compile, disable automatic in do_configure
Need to unconditionally clean the sources before building the first time,
due to wrong binaries present. But calling clean twice also causes failure.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-11 23:33:11 -04:00
Denys Dmytriyenko
f55ca0fc55 kselftests: add 4.1 version of Kernel Selftest suite
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-11 23:33:07 -04:00
Denys Dmytriyenko
d49ed0e9ff cuia: don't call clean from do_compile, do_configure takes care of that
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 15:04:28 -04:00
Denys Dmytriyenko
65eff2515a linux-ti-staging: update with latest merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 13:56:10 -04:00
Denys Dmytriyenko
fe59254f38 u-boot-ti-staging: update with more KS2 and other changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 13:16:58 -04:00
Denys Dmytriyenko
267bc8a80b omap5-sgx-ddk-um-linux: Makefile doesn't have clean target
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 13:16:05 -04:00
Jacob Stiffler
616ac89542 ti-xdctools: Add version 3.31.02.38.
* This version adheres to the new "core" package format.
* Add the version-indepedent include file for the core packages
* Extract common information between the core and legacy packages
  into the ti-xdctools-common.inc file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-10 13:09:57 -04:00
Denys Dmytriyenko
bd2ba7ff5e am335x-evm: bump max_leb_cnt to fit larger FS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-07 18:00:40 -04:00
Denys Dmytriyenko
ed6de54533 linux-ti-staging, keystone.inc: update, add keystone support to staging kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-07 17:46:39 -04:00
Jacob Stiffler
0d7433db7a ti-cgt6x: Upgrade to version 8.0.3
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-04 22:21:46 -04:00
Jacob Stiffler
40aaf1f968 ti-sysbios: Update version to 6.41.04.54
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-04 22:18:50 -04:00
Denys Dmytriyenko
5ff540fe7c u-boot-ti-staging: update with Keystone2 fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-03 15:23:40 -04:00
Denys Dmytriyenko
1399fb86c9 linux-ti-staging 4.1: update to 4.1.4
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-03 15:23:38 -04:00
Denys Dmytriyenko
b09888d423 linux-ti-staging 3.14: update to 3.14.49
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-08-03 15:23:35 -04:00
Denys Dmytriyenko
a213b60796 linux-ti-staging: update with recent merges, switch to new PM firmware
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-30 11:25:27 -04:00
Denys Dmytriyenko
650aff73de amx3-cm3: add new PM firmware for 4.1 kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-30 11:25:25 -04:00
Denys Dmytriyenko
5648801d02 am33x-cm3: move into cm3-pm-firmware folder
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-30 11:25:22 -04:00
Denys Dmytriyenko
519abe696a bltsville: fix build when B != S
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-29 22:56:23 -04:00
Denys Dmytriyenko
2774bf2add u-boot-ti-staging: update to the latest 2015.07
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 20:39:02 -04:00
Denys Dmytriyenko
1138995853 linux-ti-staging 4.1: update with latest feature merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 20:39:01 -04:00
Denys Dmytriyenko
970bac98f1 linux-ti-staging 3.14: update to 3.14.48 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 20:38:59 -04:00
Karthik Ramanan
cdce9f93dd ipumm-fw: Update download path and checksum
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 20:35:59 -04:00
Denys Dmytriyenko
3ab76df119 linux-ti-staging 4.1: update to latest 4.1.3 and more staging work
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-27 09:51:31 -04:00
Denys Dmytriyenko
d8000b30b5 linux-ti-staging 4.1: update few DTBs and the latest merge
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-22 14:25:41 -04:00
Denys Dmytriyenko
2d2633227f libdrm.inc: overlay recently removed .inc used by our custom version
Consider dropping custom version altogether after verifying everything
is upstreamed.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:40 -04:00
Denys Dmytriyenko
5a891f797c u-boot-ti-staging: add version 2015.07-rc3
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:34 -04:00
Denys Dmytriyenko
5a03a4c1a5 linux-ti-staging: add version 4.1.1
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:31 -04:00
Denys Dmytriyenko
49f504e1e9 linux-ti-staging: update to 3.14.47 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-08 18:00:29 -04:00
Karthik Ramanan
5f6cf869fb omap5-sgx-ddk-um-linux: Bug fixes for memory leak
* Fix memory leak in Wayland WSEGL
* Refactor the code for print messages

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-07 16:27:08 -04:00
Karthik Ramanan
cf0499ca61 omapdrm-pvr: Bug fixes and updates to the driver
* Fixed array out of bounds issue which causes failure in create_gem_wrapper
* Truncate SGX HW recovery traces

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-07 16:26:49 -04:00
Jacob Stiffler
1dd7db9681 ti-softhsmv2: Stop recipe from using headers from host build machine.
* Without the "--with-zlib" configure option, the zlib header will be
  obtained from the build machines "/usr/include" directory if the
  header exists there.
* From ${S}/m4/acx_zlib.m4:

AC_DEFUN([ACX_ZLIB],[
        AC_ARG_WITH(zlib,
                AC_HELP_STRING([--with-zlib=PATH],[Specify prefix of path of zlib]),
                [
                        ZLIB_PATH="$withval"
                ],
                [
                        ZLIB_PATH="/usr"
                ])

        AC_MSG_CHECKING(what are the zlib includes)
        ZLIB_INCLUDES="-I$ZLIB_PATH/include"
...

* Therefore add configure option to point to staging sysroot for zlib
  header and add dependency on zlib.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-07-02 19:12:05 -04:00
Denys Dmytriyenko
99a12978ab layer.conf: add more modules to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 21:43:44 -04:00
Sam Nelson
416c472d48 hyplnk-lld: Correct reference to k2l library
- Hyperlink module is not present in k2l device.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 15:08:30 -04:00
Sam Nelson
eadcdb3b89 hplib: Add Run time dependency on hplib-mod
- Library requires hplib kernel module loaded

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 15:07:53 -04:00
Sam Nelson
1a0d1223f8 boot-monitor: Mark the package as machine-specific
- Recipe builds machine specific skern image

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-30 15:07:18 -04:00
Denys Dmytriyenko
45ff23f558 u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-17 11:22:35 -04:00
Denys Dmytriyenko
ed16b90219 linux-ti-staging: update with latest PM and A/D fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-17 11:22:33 -04:00
Denys Dmytriyenko
7b4dbc5405 linux-ti-staging: update with latest connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-16 10:36:41 -04:00
Denys Dmytriyenko
7d62fb4bae layer.conf: add cmem and gdbserverproxy modules to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-15 18:51:35 -04:00
Denys Dmytriyenko
568a795646 linux-ti-staging: A/D fix for vpe firmware load race
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-11 21:35:58 -04:00
Denys Dmytriyenko
dca7c77f7d linux-ti-staging: update with latest A/D and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-08 17:39:26 -04:00
Jacob Stiffler
147aeb445c rtos-recipes: Add files to ${PN}-dev instead of ${PN}.
* These packages only contain firmware development files.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-05 10:17:40 -04:00
Jacob Stiffler
edbe41e86b linux-ti-staging: Fix dra7 DTBs appearing in am57xx-evm build.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-04 15:59:43 -04:00
Denys Dmytriyenko
cf929ea656 ipumm-fw: update to 3.00.08.01
Note: this prebuilt FW image hasn't been released publicly yet - interim copy
It doesn't have the correct Manifest either.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-03 20:26:44 -04:00
Denys Dmytriyenko
74878fce9d ti-ipc: update to 3.36.01.11
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-03 20:26:42 -04:00
Denys Dmytriyenko
d32d88e267 linux-ti-staging: update with latest platform and PM fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-03 13:42:43 -04:00
Denys Dmytriyenko
6d1c337af7 Revert "llvm-common: Extend to nativesdk class."
This reverts commit 5c880613a3.
2015-06-02 21:38:56 -04:00
Denys Dmytriyenko
17b0aad90f linux-ti-staging: update with latest PM, connectivity and A/D fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 11:56:49 -04:00
Hao Zhang
3b48caa6f9 linux-keystone: update to new kernel version 3.10.72
Branch name changed to release specific branch

Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:59:46 -04:00
Jacob Stiffler
df0ebb3931 omapdrm-pvr: Use kernel mechanism for module installation.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:59:24 -04:00
Sam Nelson
f573db51b2 cmem: Update to new version 4.10.01.02
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:58:51 -04:00
Jacob Stiffler
c0bb5060bf edma3-lld-rtos: Add the EDMA3 LLD RTOS package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:54:08 -04:00
Jacob Stiffler
957f09f167 edma3-lld: Update to version 2.12.01.21.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:54:06 -04:00
Jacob Stiffler
e3ef7b7991 edma3-lld: Seperate source and version into include file.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:54:04 -04:00
Jacob Stiffler
7a9e78f4ea common-csl-ip-rtos: Add CSL RTOS package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:47:44 -04:00
Jacob Stiffler
abe45eb438 common-csl-ip.inc: Add source revision for dra7xx.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:47:35 -04:00
Jacob Stiffler
4557b937db common-csl-ip: Seperate source and version into include file.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:47:27 -04:00
Jacob Stiffler
3860ef375f ti-paths: Add PDK_INSTALL_DIR for RTOS drivers.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:47:18 -04:00
Jacob Stiffler
362b3ae6e6 ti-framework-components: Add version 3.40.00.02.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:42:45 -04:00
Jacob Stiffler
e7816d0b73 ti-framework-components: Add all files to the main package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:42:41 -04:00
Jacob Stiffler
6beab1e635 ti-framework-components: Move LIC_FILES_CHKSUM into recipe.
* This is version specific, so it should not be in a version-agnostic
  include file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:42:39 -04:00
Jacob Stiffler
fb67ece977 gdbc6x: Add version 1.1.0
* The gdbc6x utility provides remote gdb capabilities for C6x DSP
  cores.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:32:35 -04:00
Jacob Stiffler
b4181e7346 gdbserver-c6x: Add version 1.1.0
* c6x DSP development files required to support remote gdb debugging.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:30:29 -04:00
Jacob Stiffler
5c880613a3 llvm-common: Extend to nativesdk class.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:22:33 -04:00
Jacob Stiffler
74356ce9c0 ti-ipc-rtos: Add the TI-RTOS IPC package version 3.35.01.07
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-06-01 10:09:50 -04:00
Denys Dmytriyenko
21875db27e u-boot-ti-staging: update with usb fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-26 10:14:24 -04:00
Denys Dmytriyenko
b671b8f554 linux-ti-staging: update with connectivity and A/D fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-26 10:14:22 -04:00
Jacob Stiffler
2d4cb9b2a0 ti-xdais: Add version 7.24.00.04
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:18:10 -04:00
Jacob Stiffler
472737bc11 ti-xdais: Move LIC_FILES_CHKSUM into recipe.
* This is version specific, so it should not be in a version-agnostic
  include file.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:18:03 -04:00
Jacob Stiffler
38484e132f ti-sysbios: Add version 6.41.02.41
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:17:56 -04:00
Jacob Stiffler
0e7d11f9c1 ti-xdctools: Add version 3.30.06.67
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 14:13:00 -04:00
Jacob Stiffler
ab2753ca7d ti-cgt6x: Fix installation for native and nativesdk classes.
* Many RTOS packages assume that the entire cgt is installed in a
  single directory as opposed to standard install paths.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 13:56:23 -04:00
Jacob Stiffler
63f1954c61 gdbserverproxy-module-drv: Add version 1.1.0
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:37:41 -04:00
Jacob Stiffler
5f79e6fcaf dsptop: Add version 1.2.0
* dsptop is a utility that provides a top-like interface to observe
  DSP resource usage in real-time.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:33:07 -04:00
Jacob Stiffler
d20340cdf0 libulm: Add ULM library for ARM and DSP.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:31:51 -04:00
Jacob Stiffler
2e5b5d7127 debugss-module-drv: Add version 1.2.0
* The debugss-module-drv is require for the dsptop utility.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-22 12:05:37 -04:00
Denys Dmytriyenko
92af7cd1bf omap5-sgx-ddk-um-linux: fix GNU_HASH and RPATH QA warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:11:26 -04:00
Denys Dmytriyenko
447523d268 vpe-tests: mark as machine-specific due to kernel dependency
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:11:20 -04:00
Denys Dmytriyenko
dc1e24098b layer.conf: add ti-ipc to safe ABI list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:11:13 -04:00
Denys Dmytriyenko
fef30ea1bf recipes: move SRCPV from PR to PV, so PRServ can package AUTOINC after patching
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:11:06 -04:00
Denys Dmytriyenko
e7601086a4 u-boot: remove unused and upstreamed 2015.01
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-21 11:10:59 -04:00
Jacob Stiffler
3fca98cfc0 linux-ti-staging-3.14: Allow CMEM DT injection.
* Disabled by default.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 15:31:08 -04:00
Jacob Stiffler
3ae905f31e linux/cmem.inc: Support reserving memory for CMEM.
To reserve contiguous memory for CMEM:
* include the "recipes-kernel/linux/cmem.inc"
* Set CMEM_BASE and CMEM_SIZE to the physical memory address and size,
  respectively, to reserve for CMEM.

Currently limited to reserving a single memory region used to create
a single buffer pool of a single buffer.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 15:31:05 -04:00
Denys Dmytriyenko
8a90b7e948 linux-mainline: update to the latest stable 3.14.43 and lower default preference
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-19 14:24:11 -04:00
Denys Dmytriyenko
b5e15e90c7 u-boot-ti-staging: update with spi fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-18 14:46:07 -04:00
Denys Dmytriyenko
81c73df2ac linux-ti-staging: update to 3.14.43 with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-18 14:45:54 -04:00
Denys Dmytriyenko
60a7bfbf96 linux-ti-staging: update to 3.14.42 with more fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-13 17:43:41 -04:00
Denys Dmytriyenko
eeb5d555f2 boot-monitor: pass custom LD var that includes sysroot option
Otherwise it fails to link against static libgcc with OE toolchain.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-13 17:43:39 -04:00
Denys Dmytriyenko
5899523f97 u-boot-ti-staging: update with connectivity, x15 and other fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-11 17:48:39 -04:00
Denys Dmytriyenko
0144edd01d linux-ti-staging: update to 3.14.41 with platform, connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-11 17:48:34 -04:00
Denys Dmytriyenko
84a71a2560 linux: remove outdated kernel recipes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:51:41 -04:00
Denys Dmytriyenko
7126dca19c omap4/pandaboard: switch from outdated 3.4 kernel to 3.14-staging
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:51:37 -04:00
Denys Dmytriyenko
7b2924983c u-boot-ti-staging: update with more fixes (x15, usb, etc.)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:51:33 -04:00
Denys Dmytriyenko
292d722cb4 linux-ti-staging: update with more fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-05-06 13:51:30 -04:00
Denys Dmytriyenko
1bdbc46ac0 linux-ti-staging: update to 3.14.40 and PM, A/D and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-29 11:36:55 -04:00
Sam Nelson
ce70c4cf38 traceframework: Update commit id for version 1.1.1.6
- Fixes issue with parallel build

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:31:17 -04:00
Sam Nelson
c76497d7b7 hplib: Update to new version 1.1.0.5
- Fixes issues with parallel builds

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:31:12 -04:00
Sam Nelson
438a4397f4 nwal-lld: Update to new version 2.1.0.6
- Fixes issues with parallel builds

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:31:10 -04:00
Sam Nelson
972ae9702a netapi: Update to new version 1.1.0.6
- Fixes issues with parallel builds

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-28 18:31:07 -04:00
Denys Dmytriyenko
9e82bad750 linux-ti-staging: update with PM and other fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-27 18:08:59 -04:00
Denys Dmytriyenko
80193adbc4 ti-cgt6x: update LICENSE to the proper format
This avoids warnings in master.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-27 11:41:51 -04:00
Sam Nelson
0a47b71b8c multiprocmgr: Update to new version 2.0.1.8
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:03:59 -04:00
Sam Nelson
b60c3babda ipc-transport-srio: Add recipe for ipc transport using srio interface
- Adds ipc transport layer using srio interface
- Supports k2h & k2k devices
- test recipe provides test code using srio transport

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:03:56 -04:00
Sam Nelson
ef36322150 ipc-transport-qmss: Add recipe for ipc qmss transport and test code
- Provides ipc transport layer using qmss module
- Supports k2h, k2k, k2e, k2l devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:03:53 -04:00
Sam Nelson
2c19121bb5 ipc: Update to new version 3.35.1.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-22 12:03:50 -04:00
Denys Dmytriyenko
4390f867bf linux-ti-staging: update to 3.14.39 plus fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:49:29 -04:00
Jacob Stiffler
2895d07922 am57xx-evm: ubifs: Increase max_leb_cnt.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:19:20 -04:00
Sam Nelson
44b0f284c5 mpm-transport: Update to new version 1.0.6.0
- Add new transport using qmss, srio modules
- Update new dependency on cmem, rm-lld, qmss-lld, cppi-lld & srio-lld

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:19:18 -04:00
Sam Nelson
3a38871f3c mmap-lld: Update to new version 2.0.0.4
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-20 16:19:15 -04:00
Sam Nelson
d616b0ac65 netapi: Update to new version 1.1.0.5
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:55 -04:00
Sam Nelson
58718b0bce uio-module-drv: Update to new version 1.0.2.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:53 -04:00
Sam Nelson
65c7f82f42 srio-lld: Update to new version 2.0.0.12
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:52 -04:00
Sam Nelson
6cacc505e9 nwal-lld: Update to new version 2.1.0.5
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:51 -04:00
Sam Nelson
02ef026612 sa-lld: Update to new version 3.0.0.10
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:50 -04:00
Sam Nelson
34a31a1b1c pa-lld: Update to new version 3.0.1.4
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:48 -04:00
Sam Nelson
a6302b4f09 rm-lld: Update to new version 2.1.0.8
- Updated test files

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:46 -04:00
Sam Nelson
a2235a7004 qmss-lld: Update to new version 2.1.0.10
- Add init script for creating symbolic link for generic device library at boot time

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:45 -04:00
Sam Nelson
ea7cc76170 iqn2-lld: Update to new version 1.0.0.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:43 -04:00
Sam Nelson
3a17af114e hyplnk-lld: Update to new version 2.1.0.2
- Add init script to add symbolic link for generic device library
- remove unused CHOICELIST

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:41 -04:00
Sam Nelson
79945047c7 dfe-lld: Update to new version 1.0.0.4
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 18:08:39 -04:00
Sam Nelson
ff1129b597 common-csl-ip: Update to new version 2.1.0.7
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 13:59:29 -04:00
Sam Nelson
58d45b9abd cppi-lld: Update to new version 2.1.0.8
- Add init script for creating symbolic link for generic device library boot time

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 13:59:25 -04:00
Sam Nelson
bbe8b4f17d srss-tc: Update to new version 1.0.0.1
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-10 13:59:22 -04:00
Denys Dmytriyenko
9aac69cf99 rwmem: add rwmem tool
https://github.com/tomba/rwmem

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-08 18:43:38 -04:00
Denys Dmytriyenko
0c3976cc76 uim: update and move from gitorious.org
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-08 18:43:36 -04:00
Jacob Stiffler
f59d1e8ade omap3-sgx-modules: Install via the kernel's "modules_install" target.
* This allows the modules to have a consistent installation structure
  when directly building from source.
* Previously, these modules would be manualy installed to appears as
  in-tree modules.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-06 18:46:00 -04:00
Karthik Ramanan
c6d2bd9547 ipumm-fw: Add RDEPENDS to libdce
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-06 18:45:57 -04:00
Karthik Ramanan
e736788b5f omapdrm-pvr: add support for voluntary kernel preemption option
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-04-06 18:45:54 -04:00
Denys Dmytriyenko
b81014dbb5 u-boot-ti-staging: update with x15 fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-27 12:48:28 -04:00
Denys Dmytriyenko
12e2b8ed12 linux-ti-staging: update with connectivity and a&d fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-27 12:41:39 -04:00
Denys Dmytriyenko
1b66b5a01c ipumm-fw: dra7xx variant is reused for am57x MACHINE too
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-20 21:57:06 -04:00
Denys Dmytriyenko
b8e581a97e linux-ti-staging: update with more connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-20 12:22:17 -04:00
Denys Dmytriyenko
ac2adc4032 ipumm-fw: split omap5-evm and dra7xx-evm recipes due to different versions
The last version update left omap5-evm behind, which breaks the recipe.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 23:51:53 -04:00
Denys Dmytriyenko
185220eb05 omap-a15, dra7xx: add mmip feature to entire SOC family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 17:52:08 -04:00
Denys Dmytriyenko
adc038f66b linux-ti-staging: update with connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 17:30:16 -04:00
Sam Nelson
071fcc3932 linux-keystone: update to new kernel version 3.10.61
- Branch names changed to release version specific branch

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-19 17:30:13 -04:00
Jacob Stiffler
c69c6e137e multiprocmgr: Add virutal/kernel dependency.
* "linux/remoteproc_user.h" is included by ./src/daemon/mpmdlif.c

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-17 21:03:25 -04:00
Denys Dmytriyenko
7ceb1ff5dd linux-ti-staging: update with wlcore and connectivity fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-12 18:46:27 -04:00
Denys Dmytriyenko
92c85ad129 ti-u-boot: update with am57x support and pinmux fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-11 16:48:34 -04:00
Denys Dmytriyenko
5e055796a9 linux-ti-staging: update to 3.14.35 and platform merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-11 16:48:32 -04:00
Sam Nelson
9991516e5d ti-ipc: Update to new version of ipc 3.35.00.05
- Update license checksum
- Add support for k2hk, k2l & k2e evm.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-04 13:30:02 -05:00
Denys Dmytriyenko
f9eb73dcb7 linux-ti-staging: update with platform, connectivity, a&d fixes, am57 dtb
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-04 13:29:53 -05:00
Jacob Stiffler
0d25bbfab6 sitara-linux-ti-staging: Update commit to fix touchscreen issues on AM335x SK
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-04 13:29:40 -05:00
Denys Dmytriyenko
98c9baf2fc linux-ti-staging: update with recent platform and connectivity changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-03-03 20:08:57 -05:00
Denys Dmytriyenko
b00618ca33 linux-ti-staging: update to 3.14.34 plus platform and pm fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-27 17:29:51 -05:00
Denys Dmytriyenko
76cb99ae62 linux-keystone: add 3.13 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-27 17:29:44 -05:00
Denys Dmytriyenko
23d3e10a0f kernel .inc: fix the breakage due to S!=B separation in master
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-27 17:29:37 -05:00
Denys Dmytriyenko
4ce69eff28 udev: rules for seamless transition to 8250_omap serial driver
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 20:32:28 -05:00
Denys Dmytriyenko
bf4ea24143 linux-ti-staging: update with fixes from feature trees
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 20:32:22 -05:00
Sam Nelson
6356441620 netapi: Add recipe for NETAPI module
- Provide TI user space network library and test code
- Supports k2h, k2k, k2l & k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 14:04:22 -05:00
Jacob Stiffler
b490d090a1 cmem: Bump version to 4.10.0.1 and enable autoload of module.
* This version introduces the ability to configure CMEM through
  the device tree.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 12:12:11 -05:00
Jacob Stiffler
fe7542b7c5 ti-cgt6x: Add verion 8.0.0
* Supports native and nativesdk classes as well as target.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-26 12:10:29 -05:00
Karthik Ramanan
936fa6c789 ipumm-fw: Latest firmware compatible with IPC 3.30.03.14
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:11:22 -05:00
Karthik Ramanan
04d062fd4d dspdce-fw: Updated dspdce firmware for IPC 3.30.03.14
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:11:20 -05:00
Karthik Ramanan
3c4a10ce46 omapdrm-pvr: recipe update for SGX KM for Kernel 3.14
* Change do_install for updated directory structure

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:11:17 -05:00
Sam Nelson
22b8d340af srio-lld: Add recipe for srio peripheral low level driver
- Provides user space low level driver for srio peripheral
- Devices supported k2h & k2k

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-24 16:09:53 -05:00
Karthik Ramanan
b615fa4a50 omap5-sgx-ddk-um-linux: Updated SRCREV to include bugfixes
* This version is compatible with version Kernel 3.14

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-20 12:27:35 -05:00
Jacob Stiffler
b06623fa2a ti-eula-unpack: Add support for general binary installers.
* ti-unpack.inc has been created to allow support for general binary
  installers by creating a variable which is used to pass arbitrary
  arguments to the executable.
* ti-eula-unpack.inc sets the default arguments to retain support for
  recipes which still use this feature.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-20 12:27:30 -05:00
Karthik Ramanan
7f762b9fe5 ti-ipc: Upgrade to IPC 3.30.03.14
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:45:46 -05:00
Sam Nelson
25b2d8a992 engine-pkcs11: Add recipe for PKCS11 engine
- Provides OpenSSL PKCS11 engine

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:45:43 -05:00
Sam Nelson
df05474802 iqn2-lld: Add recipe for iqn2 lld test code
- Adds test code for iqn2 peripheral low level driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:45:38 -05:00
Sam Nelson
8d3547f81b dfe-lld: Add recipe for dfe test code
- Adds test code for Digital front end low level driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:45:35 -05:00
Sam Nelson
bfc42e6786 iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver
- Provides low level driver for TI iqn2 peripheral module
- Supports k2l device

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:45:32 -05:00
Sam Nelson
ea65cbe1c9 dfe-lld: Add recipe for Digital Radio Front end low level driver
- Provides low level driver for Digital Radio front end
- Supports device k2l

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-19 16:45:28 -05:00
Denys Dmytriyenko
56ea9223d7 linux-ti-staging: update to 3.14.33 with A&D, connectivity, platform and rpmsg updates
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-12 11:02:30 -05:00
Denys Dmytriyenko
43a0f57eb9 multi-kernel: improve deploying additional files and sstate handling
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-12 11:02:28 -05:00
Sam Nelson
665779f5d7 libp11: Add recipe for libp11
- Provides PKCS11 abstraction library

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:30:25 -05:00
Sam Nelson
fc80f04360 ti-ipc: Correct error in ti ipc lad daemon startup script
- Need to add -l for the log file parameter
- Added -- to pass log file as additional parameter

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:17:02 -05:00
Sam Nelson
e19f8be96a common-csl-ip: Update to version 2.1.0.6
- Commit id updated

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:16:11 -05:00
Denys Dmytriyenko
6747cadbe2 keystone: stop backfilling rtc
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:15:28 -05:00
Karthik Ramanan
592fe0c751 vpe-tests: Add DEPENDS for the recipe
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-10 15:14:45 -05:00
Denys Dmytriyenko
8fad660bd8 u-boot-ti-staging: update with am57x/x15 and config fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2015-02-02 21:35:18 -05:00
Denys Dmytriyenko
01f65d34cc linux-ti-staging: update to 3.14.31, plus latest feature merges
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2015-02-02 21:35:15 -05:00
Franklin S. Cooper Jr
aacec4fb82 Graphics SDK: Add 05.01.01.02
* This graphics sdk is a minor update to the 05.01.01.01 version but includes
  updates to support the 3.14 kernel.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:15:38 -05:00
Franklin S. Cooper Jr
f5c8c59a41 sitara-linux-ti-staging_3.14.bb: Update commit to pull in suspend/standby fix
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:15:34 -05:00
Sam Nelson
cd30336829 udma: Add recipe for user space library for udma kernel driver
- Provides zero copy access from user-space to packet dma channels
  via udma kernel driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:15:30 -05:00
Sam Nelson
02faeb9883 ti-softhsmv2: Add recipe for ti customised softhsm package
- Provide library, deamon and util for ti customised softhsm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:15:26 -05:00
Karthik Ramanan
766d60e931 dra7xx-evm: ubifs: Increase "max_leb_cnt"
* This is need to allow some room for customers to build on top
      of the filesystem that we support
    * This is needed for larger filesystem size to support dev image.

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-02-02 15:15:20 -05:00
Nikhil Devshatwar
7cddc2a6d9 vpdma-fw: Separate vpdma-fw and vpe-tests recipe
VPDMA firmware is published publicly as IPUMM firmware.
This patch creates a separate recipe for VPDMA firmware.
Also, it updates the package names in kernel dependencies.

The vpe-tests is an independent recipe which can be included
in the packagegroup if required.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-27 19:39:20 -05:00
Sam Nelson
82da11cf23 nwal-lld: Add recipes for Network abstraction layer low level driver and test code
- Provide Network abstraction layer for keystone devices.
- Supports k2h, k2k, k2l & k2e devices.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-27 19:39:16 -05:00
Sam Nelson
ef55116901 srss-tc: Add recipe for Smart reflex application
- Provides Smart reflex temperature control with keystone devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-26 13:01:14 -05:00
Denys Dmytriyenko
c6e1b39389 linux-ti-staging: update to stable 3.14.29
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-26 13:00:29 -05:00
Sam Nelson
47b1d13a6e traceframework: Add recipe for TI trace framework library
- Provide libraries and test code for trace framework.
- Support framework to stream data from producer to multiple consumers
- Supports devices K2H, K2K, K2E, K2L & c6614

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:15:17 -05:00
Sam Nelson
a9fe62d130 multiprocmgr: Update to new version of MPM 2.0.1.7
- Recipe split into main and test recipes.
- Added dependency on mpm-transport & libdaemon & syslog-ng
- Added startup scripts for daemon
- Removed PR

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:15:14 -05:00
Sam Nelson
73d028e699 multiprocmgr: Moved recipe verbatim from meta-arago
- Original location: meta-arago:
  meta-arago-extras/recipes-bsp/multiprocmgr/multiprocmgr_git.bb

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:15:10 -05:00
Sam Nelson
ca6a156ea8 hplib: Add recipe for TI high performance library
- Provides high performance library, kernel module, user space libraries
  and test binaries
- Supports devices k2h, k2k, k2l & k2e

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-21 15:15:07 -05:00
Sam Nelson
6a7aa3b035 cuia: Add recipe for TI unified Instrumentation Architecture in C module
- Provides instrumentation libraries in C for TI SoCs

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-15 21:35:15 -05:00
Franklin S. Cooper Jr
cf62459026 sitara-linux-ti-staging: Create recipe for Sitara 3.14 kernel tree
* The Sitara 3.14 Kernel tree is based on the linux-ti-staging_3.14 recipe and
  kernel. However, the tree includes additional patches and configs.
* This tree is only meant for AM335x and AM437x

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-15 21:35:13 -05:00
Denys Dmytriyenko
b20619dacb linux-ti-staging: update with PM fixes for am43x
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 20:45:46 -05:00
Sam Nelson
160d356e18 pktlib: Update to explicitly include compile and install steps
- without this the compilation and install doesnot happen
  because of main make filename.
- Correct mistake on extra oemake options

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:35:47 -05:00
Denys Dmytriyenko
b9031f04a3 setup-defconfig: fix bashism
Reported by Francesco Del Degan

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:27:57 -05:00
Denys Dmytriyenko
7c286ecdcb linux-ti-staging: update with latest fixes in connectivity and A/D
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:27:48 -05:00
Denys Dmytriyenko
147207eb6c u-boot 2015.01: prepare recipe for upcoming mainline 2015.01 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:27:38 -05:00
Denys Dmytriyenko
b3b198886f u-boot-ti-staging: update with the latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 14:27:30 -05:00
Denys Dmytriyenko
d281b5a96e multi-kernel: update to work with latest code
Handle multi-config kernel builds with separate namespaces to allow installing
them side by side safely.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-09 11:08:21 -05:00
Sam Nelson
aa91640624 pktlib: Adds recipe for pklib component
- pktlib: provides library for handling packet descriptor for keystone devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 12:00:29 -05:00
Jacob Stiffler
6660abbdc4 am57xx-evm, dra7xx-evm: ubifs: Increase "max_leb_cnt"
* This is needed for larger filesystem size.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 12:00:25 -05:00
Jacob Stiffler
4e5954d65e ti-ipc: Upgrade to IPC 3.30.01.12 GA.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 12:00:21 -05:00
Denys Dmytriyenko
abdbb75fb0 setup-defconfig: support combined defconfig with listed config fragments
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 12:00:17 -05:00
Sam Nelson
a44e87ab51 mpm-transport: Update to new version 1.0.6.0
- Commit id and version updated to DEV.MPM-TRANSPORT-01.00.06.00

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-01-08 12:00:13 -05:00
Sam Nelson
091c19a8fb sa-lld: Add recipes for SA module low level driver
- Provides library and test code for Security accelerator module
- Supports k2h, k2k, k2l & k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:37 -05:00
Sam Nelson
838c9edd2e pa-lld: Add recipes for PA low level driver and test code
- Provides low level driver for Packet accelerator module
- Supports k2h, k2k, k2l & k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:34 -05:00
Denys Dmytriyenko
bd65d9994e u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:30 -05:00
Denys Dmytriyenko
82997cee6c linux-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:27 -05:00
Denys Dmytriyenko
6f6e5ef243 am33x-cm3: update to version 0x190
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 18:33:23 -05:00
Sam Nelson
ce24dff877 mpm-transport: Add new recipe for multiproc transport library and test code
- mpm-transport provide basic transport layer for moving data between different processing nodes
- Support communication with the process nodes using shared memory and hyperlink interface

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:43:33 -05:00
Sam Nelson
d0a7ce516f qmss-lld: Add new recipe for QMSS Module low level driver
- Provides low level driver and test code for Queue managment subsystem module
- Supports k2h, k2k, k2l k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:43:30 -05:00
Sam Nelson
70664faa8d cppi-lld: Add new recipe for CPPI Module low level driver
- Provides low level driver and test code for Communications port programming
  interface module
- Supports k2h, k2k, k2l k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:43:27 -05:00
Sam Nelson
123dac8c82 edma3-lld: add new recipe for edma3 low level driver
- Provides low level driver for EDMA3 module
- supports k2k, k2l, k2e evm platforms

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-15 15:00:57 -05:00
Sam Nelson
f81589410d mmap-lld; Add new recipe for mmap lld
- Provides memory map driver using Keystone MPAX module
- Test recipe is used to build test binaries using the mmap lld library
- Supports k2h, k2k & k2e

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-15 15:00:33 -05:00
Denys Dmytriyenko
977e53ebc9 linux-ti-staging: update to 3.14.26, add new DTBs, sort configs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-09 11:53:59 -05:00
Denys Dmytriyenko
9ce5c18442 u-boot-ti-staging: update 2014.07 with few fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-21 14:50:22 -05:00
Denys Dmytriyenko
2684ab4391 linux-mainline: update to 3.14.25
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-21 14:50:19 -05:00
Denys Dmytriyenko
1e91f4a2ee linux-ti-staging: update to 3.14.25
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-21 14:50:17 -05:00
Sam Nelson
0e3d63eb9f hyplnk-lld: Add new recipe for Hyperlink lld
- Provides low level driver for Hyperlink module
- Test recipe is used to build tests and examples using
  the hyperlink library.
- Supports k2h, k2k & k2e

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-11-12 14:32:55 -05:00
Denys Dmytriyenko
c3343c1458 dra7xx: add "mmip" to MACHINE_FEATURES
This reverts commit 651f0b4673.
2014-11-03 20:39:21 -05:00
Sam Nelson
3096ee95d1 boot-monitor: Update to latest tag 14.09
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:43:01 -04:00
Sam Nelson
8893c47468 u-boot-keystone: Update to latest tag 2013_01_14.09
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:58 -04:00
Sam Nelson
a0a56512b5 linux-keystone: update to the latest tag 03.10.10_14.09_01
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:55 -04:00
Karthik Ramanan
61396da367 dspdce-fw: Updated dspdce firmware for latest IPC version
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:52 -04:00
Karthik Ramanan
52774fad04 ipumm-fw: Updated ipumm firmware for latest IPC version
* This includes the error handling support.
* Minor bug fixes
* Relax support for entire DRA7xx SOC family to cover AM57x

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-27 21:42:49 -04:00
Denys Dmytriyenko
129783a9cb u-boot-ti-staging: update with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-10 17:08:00 -04:00
Denys Dmytriyenko
b425235a24 linux-ti-staging 3.12: update to 3.12.30 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-10 17:07:57 -04:00
Denys Dmytriyenko
3c225030f7 linux-ti-staging 3.14: update to latest with connectivity, pm, a/d fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-10 17:07:53 -04:00
Denys Dmytriyenko
651f0b4673 Revert "dra7xx: add "mmip" to MACHINE_FEATURES"
Results in gstreamer conflicts in SDK.

This reverts commit aedc4d91bc.
2014-10-10 14:56:14 -04:00
Enric Balletbo i Serra
a9a74cc33d ti-linuxutils: Fix build problems for kernel up to 3.17
Add to patches to fix the build of cmemk and sdmak kernel modules.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:50:11 -04:00
Enric Balletbo i Serra
888ea37444 ti-dsplink: Fix irq mismatch for kernel versions greater than 3.7.0.
Commit 7d7e1eb (ARM: OMAP2+: Prepare for irqs.h removal) and commit
ec2c082 (ARM: OMAP2+: Remove hardcoded IRQs and enable SPARSE_IRQ)
from kernel updated the way interrupts for OMAP2/3 devices are defined.

Fix irq number as dsplink misses to add the NR_IRQS relative offset.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:50:09 -04:00
Enric Balletbo i Serra
f6c7946591 ti-dmai: Fix build with recent kernels and compilers.
Remove unused includes that only redefine some typedefs already defined in
other includes and add the --sysroot flag to fix a linkage problem.

Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:50:07 -04:00
Jacob Stiffler
0f2fed9a0c ti-ipc: Upgrade to IPC 3.30.00.09
* Added new recipe for latest IPC
* Removed older recipe versions
* Latest recipe points to IPC 3.30.00.09

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:33:18 -04:00
Jacob Stiffler
aedc4d91bc dra7xx: add "mmip" to MACHINE_FEATURES
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:33:15 -04:00
Sam Nelson
a9fd89aa06 rm-lld: Rename recipe and update to new version
- Removed ti-prefix based on review
- Update to new version 2.1.0.6
- Add dependency on libdaemon
- Remove device dependency
- Updated license to BSD-3-Clause

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:27:31 -04:00
Sam Nelson
5171650c1c ti-rm: Move from meta-arago to meta-ti
- Moved recipe from meta-arago based on review comments
- Provides resource manager low level driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-08 13:27:29 -04:00
Denys Dmytriyenko
02d7db614f linux-mainline 3.14: update to 3.14.20
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 20:50:22 -04:00
Denys Dmytriyenko
73c48a9d3d linux-ti-staging 3.12: update to 3.12.29
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 20:50:20 -04:00
Denys Dmytriyenko
3b14cb6aba linux-ti-staging 3.14: update with latest fixes
non-smp configuration has moved to the kernel

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 20:50:18 -04:00
Denys Dmytriyenko
3070224598 boot-monitor: pass float ABI flag to fix gcc-4.9.1 issue with stubs
Otherwise fails with the below error, similar to am33x-cm3:

fatal error: gnu/stubs-soft.h: No such file or directory

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 18:44:36 -04:00
Sam Nelson
fe53dc3cbd uio-module-drv: Add new recipe for user space io driver
- Provides User space IO driver for on-chip modules

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:28:31 -04:00
Sam Nelson
0b17797a12 common-csl-ip: Update to csl version 2.1.0.5
- Updated description
- Updated LICENSE to BSD-3-Clause
- Updated Commit id
- Removed trailing whitespaces

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:23:56 -04:00
Sam Nelson
c8f0bf9655 common-csl-ip: (ti-csl) Moved from meta-arago and renamed
- Moved from meta-arago (where it was called ti-csl_git.bb)
  http://arago-project.org/git/?p=meta-arago.git;a=blob_plain;f=meta-arago-extras/recipes-bsp/ti-csl/ti-csl_git.bb;hb=HEAD
- Renamed it to common-csl-ip_git.bb
- This package provides chip support library interface files

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:23:37 -04:00
Karthik Ramanan
6c4d8ab62b omap5-sgx-ddk-um-linux: Updated SRCREV to include bugfixes
* This version is compatible with version Kernel 3.12

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:03:17 -04:00
Karthik Ramanan
d0ee68d6ba bltsville: Updated SRCREV to the latest
* Contains incremental updates and bug fixes

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:02:42 -04:00
Karthik Ramanan
29939be7f3 omapdrm-pvr: recipe update for SGX KM compatible with Kernel 3.12
* Also adapted recipe to directory restructuring

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-10-07 15:02:09 -04:00
Denys Dmytriyenko
93264b1627 linux-ti-staging: update with fixes in platform, connectivity and A/D
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-29 15:56:47 -04:00
Denys Dmytriyenko
71e6ae3702 linux-mainline: update to version 3.14.19
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:12:43 -04:00
Denys Dmytriyenko
36480f2147 u-boot-ti-staging: update with numerous fixes on top of 2014.07
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:12:33 -04:00
Denys Dmytriyenko
0737b83ee7 linux-ti-staging: update to 3.14.19 with latest fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:12:25 -04:00
Denys Dmytriyenko
d0124de6b1 am33x-cm3: update to version 0x189
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 15:12:15 -04:00
Khem Raj
3735bc4108 am33x-cm3: Add TOOLCHAIN_OPTIONS to redefined CC
This error will show up when using sstate which was generated
using a different buiid time sysroot. Since we override CC we
still need to honor --sysroot which is specified via TOOLCHAIN_OPTIONS

Fixes

| DEBUG: Executing shell function do_compile
|      CC       src/sys_exec/sys_init.o
| In file included from src/sys_exec/rsc_table.h:13:0,
|                  from src/sys_exec/sys_init.c:19:
|
/home/ubuntu/work/angstrom/build/tmp-angstrom_next-glibc/sysroots/x86_64-linux/usr/lib/arm-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.9.2/include/stdint.h:9:26:
fatal error: stdint.h: No such file or directory
|  # include_next <stdint.h>
|                           ^
| compilation terminated.
| make: *** [src/sys_exec/sys_init.o] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-22 12:30:00 -04:00
Denys Dmytriyenko
9c2ae7b791 dra7xx: add "pci" to MACHINE_FEATURES
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-11 10:43:11 -04:00
Denys Dmytriyenko
ec7902f7ef vpe-vpdma: pass float ABI flag to fix gcc-4.9.1 issue with stubs
Similar fix as 7b8ee4026e, see for more details.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-11 10:43:09 -04:00
Denys Dmytriyenko
24f0cd652c am33x-cm3: add voltage scaling binaries
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-09-08 18:00:33 -04:00
Denys Dmytriyenko
59ff8301e4 linux-ti-staging: update with A&D merge, add new DTBs for AM437x-SK and J6Eco
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-09-08 10:30:14 -04:00
Peter A. Bigot
2febbb8d35 linux-ti-staging_3.14: make kernel origin configurable
Using variables for KERNEL_GIT_URI and KERNEL_GIT_PROTOCOL allows layer
bbappends to specify local repositories to test of pending changes that
are not available in the official TI kernel, without requiring
duplication of config fragments specified in SRC_URI in the base recipe.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-08 10:30:12 -04:00
Denys Dmytriyenko
4f6a9e5b98 linux-ti-staging: fix breakage in rpmsg/rproc caused by the merge
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:29:37 -04:00
Denys Dmytriyenko
a52b0f6c8a linux-ti-staging: merge audio/display changes, drop local SGX-related patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:01:12 -04:00
Denys Dmytriyenko
192a50aa54 linux-mainline 3.14: update to the latest stable 3.14.17 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:01:10 -04:00
Denys Dmytriyenko
4203a49dab linux-ti-staging 3.12: update to the latest stable 3.12.27 version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-09-04 12:01:08 -04:00
Denys Dmytriyenko
9b88e08c14 linux-ti-staging: update to the latest rev and add wlan config
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-09-03 12:41:24 -04:00
Denys Dmytriyenko
e13e44b1d6 machine: clean up MACHINE_FEATURES for omap5, dra7, am57
* Enable "sgx" feature on all - the driver may still be missing, but GLES is
  available from omap5-sgx-ddk-linux package
* Enable "touchscreen" feature only on dra7 and am57 - not available on omap5

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-29 12:36:41 -04:00
Denys Dmytriyenko
d2c40099cd u-boot-ti-staging: update with DRA7 and AM335 ENV/FAT/SD changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-20 20:08:12 -04:00
Denys Dmytriyenko
c739fca5ed am33x-cm3: pass float ABI flag to fix gcc-4.9.1 issue with stubs
Since we are re-using the Linux cross-compiler to compile Cortex-M3 firmware
code and not a dedicated bare-metal compiler, we have to match the float ABI
for the compiler to find the correct gnu/stubs.h files. In other words, if we
built a hardfp compiler, it doesn't have the corresponding gnu/stubs-soft.h
header and fails when building anything non-hardfp. Even though float ABI
flag doesn't make any sense for Cortex-M3 build. The error looks like this:

|      CC       src/sys_exec/trace.o
|      CC       src/sys_exec/sys_init.o
| In file included from /OE/sysroots/am335x-evm/usr/include/features.h:402:0,
|                  from /OE/sysroots/am335x-evm/usr/include/stdint.h:25,
|                  from /OE/sysroots/x86_64-linux/usr/lib/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.1/include/stdint.h:9,
|                  from src/sys_exec/rsc_table.h:13,
|                  from src/sys_exec/sys_init.c:19:
| /OE/sysroots/am335x-evm/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory
|  # include <gnu/stubs-soft.h>
|                              ^
| compilation terminated.
| Makefile:51: recipe for target 'src/sys_exec/sys_init.o' failed
| make: *** [src/sys_exec/sys_init.o] Error 1

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-18 18:38:38 -04:00
Denys Dmytriyenko
0bde1c7762 linux-ti-staging: update to 3.14.17 stable
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-14 12:34:31 -04:00
Denys Dmytriyenko
dca184c679 am33x-cm3: update with version 1.8.7
* Move repo to git.ti.com
* Bump PE due to versioning schema change
* Drop init scripts needed back in 3.8 days

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-12 17:52:39 -04:00
Denys Dmytriyenko
20c7907504 beaglebone.conf: use correct UBOOT_MACHINE
Previous patch introduced a typo, the correct name is am335x_boneblack_config.

Thanks to Diego Sueiro <diego.sueiro@gmail.com> for spotting it.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-12 17:52:37 -04:00
Alexandre Belloni
f0ed00fdfd beaglebone: use the am335x_boneblack u-boot configuration
Using the am335x_boneblack configuration for u-boot allows to save the
environment to the emmc. Else, it is not possible to save the
environment at all.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-11 21:45:17 -04:00
Denys Dmytriyenko
2f74322abf linux-ti-staging: update to 3.14.16 with am57xx and other updates
Add am57xx-beagle-x15.dtb to the list of installed dra7xx DTB files.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-11 21:44:09 -04:00
Franklin S. Cooper Jr
3de384bb34 am57xx-evm: Update the config name used in U-boot for this board
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-08-11 20:09:02 -04:00
Denys Dmytriyenko
f7b1140774 omap3-sgx-modules: update one of Darren's patches to match change in 3.14 API
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-05 13:06:31 -04:00
Denys Dmytriyenko
68b5408693 linux-ti-staging 3.14: update to latest 3.14.15
Update SGX patching, as now being partially upstreamed to the kernel.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-05 13:06:29 -04:00
Denys Dmytriyenko
bb6c9bf5c1 linux-ti-staging 3.12: update to latest 3.12.26
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-08-04 16:48:12 -04:00
Denys Dmytriyenko
1d4407e7f6 omap3-sgx-modules 5.01.01.01: add Darren's patches to work with 3.14 kernel
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-31 19:12:20 -04:00
Denys Dmytriyenko
fb9ad0c920 linux-ti-staging: add Darren's SGX patches to make graphics work with 3.14
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-07-31 19:12:17 -04:00
Denys Dmytriyenko
26e782c71a u-boot-ti-staging: add TI staging version of u-boot 2014.07
Mainline version of 2014.07 will be pushed to mainline OE-Core soon.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-07-29 20:32:03 -04:00
Denys Dmytriyenko
16179dfab3 linux-ti-staging: update to 3.14.14 with wlcore defconfig changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-29 20:32:00 -04:00
Denys Dmytriyenko
ecd9028a08 u-boot: update to 2014.07 release version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
2014-07-25 13:05:14 -04:00
Franklin S. Cooper Jr
3a2d6f20f8 am57xx-evm.conf: Use correct TTY port
* This machine config is based on dra7xx-evm.conf.
* However, due to differences in the boards a different serial console is used.
* Update port for the am57xx-evm (GP).

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-23 16:15:12 -04:00
Denys Dmytriyenko
072fca87de linux-ti-staging: update to the latest source with new config fragments
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-18 16:29:34 -04:00
Maupin, Chase
aeb2f9bb58 vis: inhibit package strip for DSP binaries
* These binaries are for the DSP and the strip command in the
  ARM compiler does not work on them.  Without this the following
  error is seen:
    * ERROR: runstrip: ''arm-linux-gnueabihf-strip' --remove-section=.comment
      --remove-section=.note '<PATH>/dra7-dsp1-fw-radio.xe66'' strip
      command failed

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:43:26 -04:00
Maupin, Chase
f4f82f787c Update dra7xx-evm settings to use dra7xx SOC_FAMILY
* Update to use the dra7xx SOC_FAMILY instead of the specific
  dra7xx-evm machine type.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:42:26 -04:00
Maupin, Chase
224e2e3113 dra7xx-evm: Use dra7xx include
* Update the include file used to the dra7xx.inc file which
  brings access to the dra7xx SOC_FAMILY

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:42:19 -04:00
Maupin, Chase
14ae4fa5a3 am57xx-evm: Add the AM57xx machine type
* Add the AM57xx machine type which is used to differentiate
  between the AM57xx and the DRA7xx which are derivative devices
  with different HW platforms and SoC capabilities.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:42:10 -04:00
Maupin, Chase
d85e008dec dra7xx: create DRA7xx include file for new SOC Family
* Create the dra7xx.inc file which inherits the omap-a15.inc file
  and then adds the dra7xx as another valid SOC_FAMILY setting.
* The addition of the dra7xx SOC_FAMILY is done while still keeping
  access to the omap-a15 family.  What this means is that omap-a15
  can apply to omap5-evm, dra7xx-evm, and am57xx-evm.  Then the
  dra7xx family can be used to differentiate between omap5 and
  dra7xx based devices.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:41:59 -04:00
Ash Charles
8836c5a33b Conditionally set ${TOOLCHAIN_PATH} used by some recipes
Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:41:38 -04:00
Cody P Schafer
af07567111 libgles-omap3: add already-stripped to INSANE_SKIP to fix build in poky
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-07-02 15:41:30 -04:00
Denys Dmytriyenko
b5d24149fe u-boot: switch from SPL/MLO to "ais" image for omapl138 SOCs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Cc: Tom Rini <trini@ti.com>
2014-07-02 15:41:16 -04:00
Denys Dmytriyenko
15b808a927 linux-ti-staging: temporarily lower default priority due to sgx breakage
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:48 -04:00
Denys Dmytriyenko
ababf72d38 linux-mainline: update to use linux-3.14.y stable branch
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:42 -04:00
Denys Dmytriyenko
96e81aed3c u-boot-am37x: remove old machine-specific version in favor of mainline
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:36 -04:00
Denys Dmytriyenko
4cb36eead6 conf/machine: update legacy machines to use latest mainline kernel and u-boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-24 19:17:29 -04:00
Denys Dmytriyenko
4b79986d03 recipes: consolidate firmware recipes under recipes-bsp in own directories
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:57:05 -04:00
Denys Dmytriyenko
171d3312e5 libgles-omap3, omap3-sgx-modules: remove old 4.8.x and 5.x versions
Leave 4.9 as the last release providing softfp binaries and x11 support.
Leave 4.5 for now as being widely used on legacy omap3 devices.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:56:56 -04:00
Denys Dmytriyenko
5a82920f4f u-boot: remove old platform-specific versions
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:56:50 -04:00
Denys Dmytriyenko
bf0741681d linux: remove old platform-specific 2.6.37 kernels
Most of the legacy devices should be working fine with latest kernels,
either ti-staging or mainline.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:56:46 -04:00
Ash Charles
a09450e12d ti-dmai: Allow do_prepsources to run release.sh
The do_prepsources task runs after do_unpack at which point the
${S}/patches directory has been created.  In the last step of
do_prepsources, code should be copied over to ${S} by the release.sh
script.  However, this script silently fails if the target directory
(${S}) is not empty---it contains the 'patches' directory.  The
failure manifests in the do_patch step when trying to applying patches
against the source which wasn't populated by release.sh.

Here, we pre-emptively clean out the directory release.sh intends to
use.  The patch directory is re-created by the do_patch step.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:46:39 -04:00
Ash Charles
5bb6e1083a Use INSANE_SKIP_${PN} = "installed-vs-shipped"
A number of recipes in recipes-ti install more files than are
packaged causing lots of QA errors.  We choose to ignore these.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:46:12 -04:00
Ash Charles
95db662c8a gstreamer-ti: Revert to build in place ${B} = ${S}
This recipe use autotools and breaks when built out-of-tree
(${B} != ${S}).

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:45:17 -04:00
Scott Ellis
721bf99af0 gstreamer-ti: Break packages into dev and staticdev
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:44:55 -04:00
Scott Ellis
7f1df7522d Remove deprecated update-modules from recipes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 17:43:26 -04:00
Franklin S. Cooper Jr
00a2173047 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:24:00 -04:00
Denys Dmytriyenko
dbdb539e24 linux-ti-staging: add device trees for legacy omap3 devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:42:01 -04:00
Denys Dmytriyenko
57191eaf9e linux-ti-staging: update to latest 3.14 stable, as being LTS
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:42:00 -04:00
Denys Dmytriyenko
721aad503b machine configs: set optimized hardfp DEFAULTTUNE if not set
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:41:57 -04:00
Denys Dmytriyenko
727c295132 linux-mainline: update to 3.14.8 and enable legacy omap3 devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-23 11:41:45 -04:00
Hao Zhang
f351978d95 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:07 -04:00
Maupin, Chase
125f8cf47e u-boot: remove old mainline versions
* Remove old mainline u-boot versions since the latest version
  has better support for TI platforms.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:21:47 -04:00
Maupin, Chase
7c5088b0d0 u-boot: Add mainline u-boot version 2014.07-rc3
* The latest mainline u-boot works well for most TI devices and
  we want to enable more people to use and test it.  Adding
  version 2014.07-rc3 will allow more people to build and use this
  u-boot version
* Add a dependency on dtc-native since the latest mainline of u-boot
  now requires this and not every build host will have the right
  version.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-16 18:20:34 -04:00
Denys Dmytriyenko
de54630569 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:31 -04:00
Denys Dmytriyenko
cab5d82697 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:53 -04:00
Hao Zhang
a85921a5a5 keystone: linux: add K2L and K2E DTB for RT build
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:19 -04:00
Hao Zhang
e4be015537 keystone: linux: add K2E and K2L DTB build support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-06-10 22:12:18 -04:00
Denys Dmytriyenko
e4abf98729 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:46 -04:00
Hao Zhang
9277a0276f keystone: u-boot: add build support for EMIF16 NAND gph image
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-29 14:56:44 -04:00
Denys Dmytriyenko
c7f1fb41d7 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:21:26 -04:00
Maupin, Chase
4517d35a64 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:00:13 -04:00
Maupin, Chase
1c87802589 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 14:49:47 -04:00
Maupin, Chase
ecfdfaa6fd 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 14:48:52 -04:00
Maupin, Chase
aad802f452 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 14:48:44 -04:00
Denys Dmytriyenko
def35960f4 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>
2014-05-23 14:48:35 -04:00
Denys Dmytriyenko
ce23e062d0 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>
2014-05-23 14:48:30 -04:00
Andreas Müller
0784e22039 formfactor: : remove PRINC
last oe-core PR-bump was commited May 2nd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 16:42:16 -04:00
Andreas Müller
0d959e9330 xserver-xf86-config_0.1: remove PRINC
last oe-core PR-bump was commited May 2nd

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 16:42:07 -04:00
Mrinmayee Hingolikar
a701d20e99 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:28 -04:00
Maupin, Chase
c78c191870 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:38:57 -04:00
Mrinmayee Hingolikar
66b91b7d24 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:38:22 -04:00
Karthik Ramanan
82cb9bf59a 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:38:10 -04:00
Mrinmayee Hingolikar
8168e00b6d 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:37:56 -04:00
Mrinmayee Hingolikar
d7f791b654 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:37:46 -04:00
Maupin, Chase
e36f2c3b78 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:37:35 -04:00
Mrinmayee Hingolikar
d0b2529bb5 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:37:19 -04:00
Maupin, Chase
ec17eef312 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:36:58 -04:00
Hao Zhang
cc23fcacc1 keystone: k2e-evm config: add k2e-evm machine config
Add a new k2e-evm machine config for Keystone II SoC family.

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

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

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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-21 15:15:16 -04:00
Denys Dmytriyenko
4e5bcb5712 linux-keystone: update to the latest tag 03.10.10_14.03_03
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-09 13:41:11 -04:00
Denys Dmytriyenko
025c51fa1f u-boot-keystone: update to the latest version
Modified version of the original patch from Sam Nelson

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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-05-09 13:41:07 -04:00
Denys Dmytriyenko
788da6f205 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:10:26 -04:00
Denys Dmytriyenko
58f0ba756b 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:10:17 -04:00
Denys Dmytriyenko
ebc0f84be0 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:33:17 -04:00
Denys Dmytriyenko
b61c1a7f1b recipes: use proper TI-TSPA license name instead of TSPA
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-04-24 13:33:13 -04:00
Denys Dmytriyenko
036917ffe4 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:33:08 -04:00
Denys Dmytriyenko
0442fa03bc 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:33:03 -04:00
Denys Dmytriyenko
cffa34a876 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:30 -04:00
Denys Dmytriyenko
3e4580f365 linux-mainline: add 3.14 mainline recipe
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-26 15:43:38 -04:00
Sam Nelson
c260e8440b keystone-evm: Update NAND size to 512 MB
- The keystone-evm actually has 512 MB Nand
   ( Changing from previous size of 128 MB)
- LEB calculated with reserved 10 MB for boot and 20 MB
  for receovery image

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-25 17:07:09 -04:00
Samuli Piippo
b7d07640ad 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:15 -04:00
Denys Dmytriyenko
aacecf0179 u-boot-ti-staging: update with QSPI fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-06 13:49:51 -05:00
Denys Dmytriyenko
1ef46b3418 linux-ti-staging: update with musb, QSPI and touchscreen fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-03-06 13:49:42 -05:00
Sam Nelson
d2c9c3b981 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:36 -05:00
Denys Dmytriyenko
3b596055fe 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:36 -05:00
Denys Dmytriyenko
ada96f348c 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:32 -05:00
Sam Nelson
fcecf57528 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:25 -05:00
Denys Dmytriyenko
733a99c09f 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:34 -05:00
Denys Dmytriyenko
f6e604d7eb linux-ti-staging: add latest critical fixes locally for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 12:05:10 -05:00
Franklin S. Cooper Jr
881c9b5b49 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:01 -05:00
Denys Dmytriyenko
90f78e4355 linux-omap-psp: specify branch for bitbake to find SRCREV
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-21 10:46:09 -05:00
Denys Dmytriyenko
bb73d15060 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:06 -05:00
Denys Dmytriyenko
7969c525c2 linux-ti-staging: drop SMP-disabling patch that breaks suspend/resume
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-17 10:29:05 -05:00
Denys Dmytriyenko
90108cdd05 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:00 -05:00
Denys Dmytriyenko
a1c69cf2f8 linux-ti-staging: update with v2 of LCD resume fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-14 16:45:19 -05:00
Denys Dmytriyenko
fae7d7ec89 am33x-cm3: update with I2C clock rate calculation fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-13 17:58:47 -05:00
Denys Dmytriyenko
368eaedaf7 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:47 -05:00
Denys Dmytriyenko
3e1959b2b6 linux-ti-staging: update with PM, connectivity and Display/Audio fixes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 16:54:35 -05:00
Denys Dmytriyenko
fae2cb3f19 u-boot-ti-staging: update with QSPI partition size changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-11 16:54:35 -05:00
Denys Dmytriyenko
4082922c59 u-boot-ti-staging: update with fixes for NAND partition names and sizes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 22:16:45 -05:00
Denys Dmytriyenko
4a28965ca4 linux-ti-staging: update to 3.12.10, merge Audio/Display fixed
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 22:16:43 -05:00
Denys Dmytriyenko
5a0938245d am33x-cm3: update md5 for license reformat, fix CC unset issue
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-06 01:01:20 -05:00
Denys Dmytriyenko
6e850e49af u-boot-ti-staging: update with many fixes for the upcoming release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:38:58 -05:00
Denys Dmytriyenko
458275ae43 linux-ti-staging: update with many fixes for the upcoming release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:38:58 -05:00
Denys Dmytriyenko
63ace6f107 am33x-cm3: update with FW version 0x185 aka 05.00.00.02
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-02-05 21:38:58 -05:00
Baptiste DURAND
07809e70f4 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:44 -05:00
Sam Nelson
06c1b593d2 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:07 -05:00
Sam Nelson
99ac3f85cc 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:42 -05:00
Sam Nelson
67b010ffcb 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:42 -05:00
Andreas Müller
ff6a6b61f5 beaglebone-capes: update oe-core's LICENSE checksum
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-29 17:31:56 -05:00
Andreas Müller
2da692a83c gadget-init: update oe-core's LICENSE checksum
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-01-29 17:31:55 -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
Denys Dmytriyenko
5e6fb2bcf1 linux-am335x-psp: fix typo in the filename to use underscore
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-26 17:23:05 -04:00
Denys Dmytriyenko
0eb21a9a09 u-boot-ti-staging: update to ti2013.04.00 release
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-26 16:06:38 -04:00
Denys Dmytriyenko
13f54d47c9 linux-ti-staging: update to ti2013.04.00 release
Also, remove do_deploy_append() fix, as it's in oe-core now.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-26 15:55:47 -04:00
Franklin S. Cooper Jr
35be5df266 am33x-cm3: Update to latest cm3 release
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-22 21:36:07 -04:00
Franklin S. Cooper Jr
c5229011a5 u-boot: Add am3517 u-boot recipe
* Add correct u-boot recipe for am3517.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-22 21:36:07 -04:00
Franklin S. Cooper Jr
b73a2e363b u-boot-am33x: Update u-boot recipe to 2013.01.01
* Update to latest version of u-boot that supports the 3.2 kernel.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-22 16:20:28 -04:00
Franklin S. Cooper Jr
6efc27aedc linux-am335x: Update to latest 3.2 kernel release
* Update to the latest PSP release (version 04.06.00.10) of the 3.2 kernel.
* Rename recipe to match meta-ti kernel recipe naming convention.
* Use in tree defconfig instead of providing a separate defconfig. These
  defconfigs were the same anyway.
* Add additional crypto patches that were needed to fix suspend and resume
  issues.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-22 16:20:27 -04:00
Franklin S. Cooper Jr
22d4ea302d linux-omap-psp: Update commit
* Update to latest supported release.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-22 16:20:27 -04:00
Denys Dmytriyenko
25e974f3be u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-18 16:06:49 -04:00
Denys Dmytriyenko
bdb5b9384c linux-ti-staging: update to the latest 3.8.8
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-18 16:04:16 -04:00
Chase Maupin
5296478b70 linux-ti-staging: make cm3 firmware a run-time dependency
* Make the am33x-cm3 firmware a run-time dependency instead of
  build time since it is no longer required at build time.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-18 15:44:11 -04:00
Chase Maupin
14a312f1e9 am33x-cm3: use init script to load firmware
* The PM firmware is now loaded using an init script so make
  the init script installation part of the firmware package.
* Fix up the SRC_URI to the proper format.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-18 15:44:04 -04:00
Chase Maupin
05d5325de7 u-boot-ti-staging: Add SRCPV to the PR
* Add the SRCPV to the PR to make it clear which revision of
  the sources are being built and to match the kernel
  versioning.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-17 20:20:00 -04:00
Chase Maupin
38e3173249 setup-defconfig: allow using KERNEL_LOCALVERSION
* Add capability to use KERNEL_LOCALVERSION to set an extra
  version string in the kernel.  This mimics functionality
  submitted to the kernel.bbclass but since this overwrites
  the do_configure it must be added here as well.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-17 20:19:48 -04:00
Denys Dmytriyenko
59ce44ac51 tune-cortexa{15,7}: remove local tunes, already in oe-core/master
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-10 17:05:37 -04:00
Chase Maupin
c14c386946 ti-graphics: Add latest 4.09.00.01 version
* Add the latest 4.09.00.01 version of the graphis SDK.  This
  version will compile against the latest v3.8 kernel.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-05 19:30:36 -04:00
Denys Dmytriyenko
815fde974b linux-ti-staging: update with the latest dss fixes in omap5 dts
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-03 21:41:38 -04:00
Denys Dmytriyenko
88dd446c6b omap-a15.inc: also set TI staging preferred provider for u-boot
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-03 18:45:18 -04:00
Denys Dmytriyenko
362c3cf9bb u-boot-ti-staging: update SRCREV for more omap5 changes, bump PR
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-03 18:40:07 -04:00
Franklin S. Cooper Jr
7650926c69 libgles-omap3: Add version 4.08.00.02 of the Graphics SDK
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-02 15:40:00 -04:00
Franklin S. Cooper Jr
ecb90f34c4 omap3-sgx-modules: Add version 4.08.00.02 of the Graphics SDK kernel modules
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-02 14:23:59 -04:00
Franklin S. Cooper Jr
e377abc5f7 libgles-omap3.inc: Add tweaks needed for newer version of the Graphics SDK
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-02 14:23:59 -04:00
Chase Maupin
7c7ee62e42 omap5-evm: update U-Boot machine to omap5 uevm
* The U-Boot config to be used in the latest code has been updated
  to use omap5_uevm instead of omap5_evm.
* Update to the latest code to pickup this change and modify the
  machine file as well.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-04-02 14:14:51 -04:00
Chase Maupin
ca0f68d71b linux: Use setup-defconfig in kernel recipes
* Now that the setup-defconfig.inc file has been moved to the
  meta-ti layer the kernel recipes should include this file.
* This makes way to clear this inclusion from the bbappend files
  in meta-arago

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-29 13:34:46 -04:00
Chase Maupin
886bea2308 dra7xx-evm: Add DRA7xx machine type
* Add the dra7xx-evm machine type which is part of the omap-a15
  SOC_FAMILY

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-29 13:34:46 -04:00
Denys Dmytriyenko
70c17ece82 linux-ti-staging: one more update to latest 3.8.5
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-28 16:47:04 -04:00
Denys Dmytriyenko
971ee4a206 linux-ti-staging: rename to have version in name, update to latest
* Update to the latest kernel sources.  This also requires changing
  the dtb file names since the omap5 devices have changed to use
  uevm instead of panda and sevm instead of evm.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
2013-03-28 15:11:56 -04:00
Chase Maupin
c41c5cce4c linux-ti-staging: Add panda dts file as supported DTS
* Add the omap5-panda.dts file as a supported DTS to be built.
  This file is for use on the panda and uEVM boards.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-26 14:32:45 -04:00
Chase Maupin
e409a64f4c omap5-evm: Update serial console to proper value
* The serial console for the OMAP5 uEVM is ttyO2 not ttyO0

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-26 14:32:45 -04:00
Chase Maupin
bb07c1eaa0 linux-ti-staging: Update to latest staging kernel
* Update to the latest 3.8.4 based staging kernel

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-26 14:32:45 -04:00
Chase Maupin
5a0982d9ff omap5-evm: Add OMAP5 EVM configuration
* Add the machine configuration for the OMAP5 EVM device.
* Create the omap-a15.inc file to be shared with all OMAP
  Cortex-A15 derivative devices.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-26 14:32:45 -04:00
Chase Maupin
ff82dd3cc3 linux-ti-staging: Add OMAP5 support
* Add the KERNEL_DEVICETREE definitions for omap5-evm
* Add the omap-a15 SOC_FAMILY to the list of COMPATIBLE_MACHINEs

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-26 14:32:45 -04:00
Andreas Müller
352bb2f0a8 mesa-dri: follow oe-core's renaming to mesa
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-25 14:00:03 -04:00
Denys Dmytriyenko
ecc2eb9d86 beagleboard: switch default u-boot preference to machine-specific tree
SDKs or other users of meta-ti can still use one of the other recipes for
stability or featureset, by setting PREFERRED_PROVIDER in their config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
e8da1f6893 am3517-evm: switch default u-boot preference to machine-specific tree
SDKs or other users of meta-ti can still use one of the other recipes for
stability or featureset, by setting PREFERRED_PROVIDER in their config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
d50cf9ee40 am37x-evm: switch default u-boot preference to machine-specific tree
SDKs or other users of meta-ti can still use one of the other recipes for
stability or featureset, by setting PREFERRED_PROVIDER in their config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
948b5f11d3 am180x: switch default u-boot preference to machine-specific tree
SDKs or other users of meta-ti can still use one of the other recipes for
stability or featureset, by setting PREFERRED_PROVIDER in their config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
10c6e29430 keystone: switch default u-boot preference to machine-specific tree
SDKs or other users of meta-ti can still use one of the other recipes for
stability or featureset, by setting PREFERRED_PROVIDER in their config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
b87ac0eafb ti33x: switch default u-boot preference to ti-staging tree
SDKs or other users of meta-ti can still use one of the other recipes for
stability or featureset, by setting PREFERRED_PROVIDER in their config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
a2f7ef8b64 u-boot: modify mainline version to use the new .inc file
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
48673d8784 u-boot-am33x: modify am33x specific version to use new namespace feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:33 -04:00
Denys Dmytriyenko
7c9f57083e u-boot-am37x: modify am37x specific version to use new namespace feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:32 -04:00
Denys Dmytriyenko
3b49d182d5 u-boot 2011.12: modify multi-machine version for the new .inc file
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:32 -04:00
Denys Dmytriyenko
10e430c370 u-boot-am33x: modify am33x specific version to use new namespace feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:32 -04:00
Denys Dmytriyenko
3b88800423 u-boot-beagleboard: modify beagleboard specific version to use new namespace feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:32 -04:00
Denys Dmytriyenko
1ab747c80d u-boot-am180x: modify am180x specific version to use new namespace feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 21:31:26 -04:00
Denys Dmytriyenko
a32b383e97 u-boot-keystone: modify keystone specific version to use new namespace feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 19:27:28 -04:00
Denys Dmytriyenko
a529d36e8a u-boot-ti-staging: add new recipe for TI unified staging tree
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 19:27:28 -04:00
Denys Dmytriyenko
32bb599a61 u-boot.inc: refactor local include file to base off core with TI customizations
* Introduce own namespace to allow multiple instances of the same base version,
  possibly pulled from different trees or patched/customized for specific SoC.
* Suffix-less variant u-boot_YYYY.MM.bb is reserved for mainline versions of the
  recipe with no or minimal patches, with broader machine selection.
* Recipes for machine- or SoC-specific trees should use corresponding suffix -
  either machine, SoC or the name of the tree.
* The .inc file lets the suffixed recipes to provide virtual/bootloader, u-boot,
  as well as generate conventional u-boot binary packages for direct run-time
  dependencies.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 19:27:28 -04:00
Denys Dmytriyenko
d51042bb73 u-boot 2011.09-psp: remove an older no longer used version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 19:27:28 -04:00
Denys Dmytriyenko
22a2fa4b97 u-boot 2011.06: remove an older no longer used version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 19:27:28 -04:00
Denys Dmytriyenko
90955082ee u-boot-git: remove a very old no longer used version
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 19:27:28 -04:00
Denys Dmytriyenko
261a5e9842 linux-ti33x-psp 3.1: remove an older outdated 3.1 kernel recipe for ti33x
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-03-18 19:22:41 -04:00
Denys Dmytriyenko
809e2d46f2 ti33x: switch default preference to ti-staging tree
SDKs or other users of meta-ti can still use one of the older 3.2 recipes for
stability or featureset, by setting PREFERRED_PROVIDER in distro or local config.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-03-18 19:22:41 -04:00
Denys Dmytriyenko
d3e7ad3171 linux-ti-staging: update to the latest merge of 3.8.3
Switch to using the official git.ti.com URL instead of temp gitorious.ti.com

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Chase Maupin <chase.maupin@ti.com>
2013-03-18 19:22:41 -04:00
Denys Dmytriyenko
d61bfa88ed linux-omapl138: fix alignment issue of 2.6.37 kernel with gcc-4.7
Patch by Steve Sakoman

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 14:28:13 -04:00
Denys Dmytriyenko
0a42d9cf21 linux-omap-psp: fix alignment issue of 2.6.37 kernel with gcc-4.7
Patch by Steve Sakoman

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-18 14:28:13 -04:00
Denys Dmytriyenko
4f21d3b86b machines: unify all machines to produce tar.gz instead of tar.bz2 by default
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-12 17:48:57 -04:00
Denys Dmytriyenko
03974f7c84 linux-ti-staging: update SRCREV and bump MACHINE_KERNEL_PR
* Update SRCREV for the recent merges in TI staging tree, still 3.8.2
* Bump MACHINE_KERNEL_PR to trigger rebuilding out-of-tree components

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 17:32:09 -04:00
Chase Maupin
afa0c62571 linux-ti-staging: fix DTB deploy steps
* Until the permanent fix can be picked up in oe-core fix the
  do_deploy function to properly package the dtb files built
  as part of the kernel build.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 17:17:40 -04:00
Chase Maupin
54d48a8dd2 linux-ti-staging: package all dtb files for ti33x
* For the ti33x SOC_FAMILY device package the dtb files for all
  of the am335x boards instead of just the single EVM file.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 17:17:36 -04:00
Chase Maupin
c611337599 linux-ti-staging: mark dependencies am335x specific
* The DEPENDS on am33x-cm3 and the installation of the cm3
  firmware is specific to ti33x SOC_FAMILY devices.  Mark those
  pieces as specific so that other devices to not depend on
  am335x cm3 firmware.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 17:17:31 -04:00
Chase Maupin
9646393ed8 linux-ti-staging: use setup-defconfig
* Use the setup-defconfig.inc functionality to specify the in
  kernel tree defconfig file to use rather than hard coding it
  in the do_configure step.
* This is to make it easier to modify which configs are use by
  other layers as well as supporting additional machines which
  may not use omap2plus_defconfig as needed.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 17:17:10 -04:00
Chase Maupin
b294677588 setup-defconfig: move from meta-arago to meta-ti
* Moved the setup-defconfig.inc file from meta-arago to meta-ti.
  This functionality is used by the SDKs to allow the option for
  using an in-tree configuration file for the kernel build.
* This option was chosen to make it easy for other layers to
  override the config with their own using the normal OE method
  of specifying a defconfig file in their layer rather than having
  to use some custom variable setting.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 17:17:04 -04:00
Denys Dmytriyenko
c586bd9a66 ti81x: remove platform configs, kernel, u-boot, since ti81x is not supported
* There is no support for these platforms from meta-ti.
* If someone is willing to maintain them, please let us know or feel free to
  take it to a separate layer.
* Therefore, remove SoC and machine configs, kernel, u-boot and X11 configs

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 16:47:43 -04:00
Denys Dmytriyenko
f5b282271c omap3-touchbook: remove machine definition, since it's unsupported
There is no support for this device from meta-ti. Plus I don't have the device.
If there's anyone willing to maintain it, please let me know or feel free to
take it to a separate layer.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 16:47:43 -04:00
Denys Dmytriyenko
24520543b1 hawkboard: remove machine definition, since it's unsupported
There is no support for this board from meta-ti. Plus I don't have the board.
If there's anyone willing to maintain it, please let me know.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-11 16:47:43 -04:00
Denys Dmytriyenko
3cb6c8fb6e am180x: cleanup machine config, remove common SoC settings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-08 16:15:35 -05:00
Denys Dmytriyenko
c2e972c6ea keystone: unify and cleanup configs
* Centralize common/SoC settings in keystone.inc SOC_FAMILY config.
* Set/override uncommon specifics in machine configs.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-08 16:15:35 -05:00
Denys Dmytriyenko
2b23831ed1 omap4, pandaboard: unify and cleanup configs
* Centralize common/SoC settings in omap4.inc SOC_FAMILY config.
* Set/override uncommon specifics in machine configs.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-08 16:15:35 -05:00
Denys Dmytriyenko
e37816400e ti33x, am335x, beaglebone: unify and cleanup configs
* Centralize common/SoC settings in ti33x.inc SOC_FAMILY config.
* Set/override uncommon specifics in machine configs.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-08 16:15:35 -05:00
Denys Dmytriyenko
82a8d7c5f2 omap3, am37x, am3517, beagleboard: unify and cleanup configs
* Centralize common/SoC settings in omap3.inc SOC_FAMILY config.
* Set/override uncommon specifics in machine configs.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-08 16:15:35 -05:00
Denys Dmytriyenko
62f7277a7a linux-omapl138: correct recipe's DESCRIPTION
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-08 16:13:03 -05:00
Denys Dmytriyenko
26b97d3214 tune-cortexa{15,7}: update tunes files with recent changes in oe-core
* PACKAGE_EXTRA_ARCHS
* appending to TUNE_FEATURES
* TUNE for thumb+neon

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 14:50:50 -05:00
Robert P. J. Day
79d34baabe u-boot: unify denx.de SRC_URIs to match all others
Every other u-boot git SRC_URI has a different value, so make the odd
ones out consistent with the rest, as in:

-SRC_URI = "git://www.denx.de/git/u-boot.git ...
+SRC_URI = "git://git.denx.de/u-boot.git ...

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 12:42:37 -05:00
Denys Dmytriyenko
79e90aebdb multi-kernel: match oe-core for MODULE_IMAGE_BASE_NAME, set it conditionally
Thanks to Robert P. J. Day, MODULE_IMAGE_BASE_NAME was added to oe-core - only
~3.5 years after it got into Classic-OE and with a typo of MODULE_*, not plural
MODULES_*, so match it here and set conditionally.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 12:26:10 -05:00
Denys Dmytriyenko
85120ef4cb linux-omap: replace use of FILESPATHPKG with FILESEXTRAPATHS
Thanks to Robert P. J. Day for reporting.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 12:14:17 -05:00
Denys Dmytriyenko
e97da12725 u-boot: add latest mainline release 2013.01.01
* This is a pure _mainline_ version w/o any patches on top.
* Should work reasonably well for most platforms and is provided as an
  alternative to specialized pre-integrated and patched versions.
* It is not enabled by default, since specialized versions usually have
  more features and better support, although maybe slightly older.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 11:42:41 -05:00
Denys Dmytriyenko
a80ec1d7be u-boot 2012.10: add the latest SDK 05.06 version from meta-arago
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 11:34:57 -05:00
Denys Dmytriyenko
39d1a0caa7 linux-ti-staging: add recipe for tracking TI latest staging tree
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-03-04 11:12:29 -05:00
Hao Zhang
a5ebeba1c7 keystone-evm config: add ubifs support
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-28 15:18:53 -05:00
Denys Dmytriyenko
263a46fa46 Revert "linux-omap3: Add supported kernel recipe for am37x-evm and am3517-evm"
The same recipe already exists under linux-omap-psp name.

This reverts commit 153b5ed063.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-28 14:57:26 -05:00
Franklin S. Cooper Jr
4d99e63181 machine configs: Add SGX to MACHINE_FEATURES
* Add sgx to MACHINE_FEATURES to indicate that a particular machine supports
  sgx.
* TI chips are available in multiple variants including some that supports sgx
  while others do not.
* By adding sgx as a machine feature other layers can create generic
  packagegroups or images for a particular soc but will only include sgx
  dependencies if the particular machine has sgx support.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-25 19:48:41 -05:00
Franklin S. Cooper Jr
3aeebece0e linux: Add kernel version 3.3.7 for beagleboard
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-25 17:54:07 -05:00
Franklin S. Cooper Jr
153b5ed063 linux-omap3: Add supported kernel recipe for am37x-evm and am3517-evm
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-25 17:53:59 -05:00
Denys Dmytriyenko
988829b7f6 mesa-dri: update to 9.0.2 to follow oe-core
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-18 16:47:16 -05:00
Peter A. Bigot
ae45412131 libgles-omap3: ignore QA errors
This patch allows libgles-omap3 to build on the danny branch.  The following
warnings are not addressed:

 WARNING: libgles-omap3: No generic license file exists for: proprietary-binary in any provider
 WARNING: QA Issue: libgles-omap3: Files/directories were installed but not shipped
  /usr/lib/ES2.0
 WARNING: libgles-omap3: The compile log indicates that host include and/or library paths were used.
         Please check the log '/prj/oe/omap/build-gumstix-community-danny/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libgles-omap3-4.05.00.03-r35/temp/log.do_compile' for more information.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 18:18:00 -05:00
Franklin S. Cooper Jr
e71c559171 omap3-sgx-modules: Add v4.08.00.01 of the SGX modules
* Add version 4.08.00.01 of the SGX modules.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 18:17:53 -05:00
Franklin S. Cooper Jr
dace27f5c8 libgles-omap3: Add v4.08.00.01 of the Graphics SDK
* Add version v4.08.00.01 of the Graphics SDK.
* Add X11 support via DRI/DRM Xorg driver
* Replace pvrsrvinit with pvrsrvctl (Imagination Technologies based change)

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 18:17:47 -05:00
Denys Dmytriyenko
516eff31f6 machines: set default virtual/bootloader for remaining machines
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 16:50:32 -05:00
Chase Maupin
3c67c9357c am335x-evm: Increase UBI max size to 500MB
* Based on the EVM and beaglebone + NAND memory cape we can
  increase the base file system size to 500MB since by default
  there is about 504MB of space allocated to the file system
  partition in the NAND.
* The max size in LEBs was determined using the formula at
  http://processors.wiki.ti.com/index.php/UBIFS_Support

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 16:23:09 -05:00
Peter A. Bigot
544a96c935 linux-mainline 3.2: update beagleboard defconfig
Link the TLC59108 driver statically so ULCD7 initialization occurs
automatically as it did before f0e2305c7e which removed the initialization
from u-boot.  (Angstrom-v2012.12 does not include this module by default.)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-17 15:40:25 -05:00
Franklin S. Cooper Jr
081428db7d u-boot_2012.04.01: Add latest u-boot recipe for am37x-evm
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 18:22:43 -05:00
Franklin S. Cooper Jr
a0c81bbe4f ti-ocf-crypto-module: Port ti-ocf-crypto-module from Arago
* Recipe pulls in ti-ocf-crypto-module from gforge
* For am37x, this module allows access to the crypto hardware accelerators
  through OCF-Linux.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 18:17:26 -05:00
Franklin S. Cooper Jr
201b231d72 u-boot_2010.12-psp03.21.00.04.sdk: Add latest u-boot recipe for am180x-evm
Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 18:16:22 -05:00
Franklin S. Cooper Jr
98ad55b8ea ti-pru-sw-edma-driver: Port PRU SW edma driver from Arago
* Add PRU SW edma driver recipe for the omapl138 machines

* This recipe builds and installs an edma driver module that supports the
  edma user space libraries built by the ti-pru-sw-edma-library recipe.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 18:14:57 -05:00
Franklin S. Cooper Jr
a98c0c3d2a linux-omapl138-psp: Add latest linux-omapl138 patches
* Add latest patches to linux-omapl138 that were added since this recipe was
  added to meta-ti.
* Update to latest am180x-evm defconfig
* Mimic the following commits from arago:

  linux-davinci: update to add mmc patches

    * Optimizations to reduce overhead on weak platforms

  linux: disable DMA for MUSB

    * For the am3517, am180x, and am335x devices the CPPI 4.1 DMA
      should NOT be used for the MUSB controller.  Using this DMA
      can cause the controller to lockup.
    * Updated the defconfigs to set the use of PIO mode
    * Added a patch to updated the PIO mode description to make it
      easier to determine when it can be used.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 18:13:47 -05:00
Franklin S. Cooper Jr
757c0e50bf linux-omapl138-psp_2.6.37: Add MACHINE_KERNEL_PR and fix white space issues.
* Add MACHINE_KERNEL_PR variable to enable future tweaks to this recipe.
* Convert tabs to whitespaces

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 18:12:29 -05:00
Franklin S. Cooper Jr
567d65c34d machine config: Correct SERIAL_CONSOLE variable for am3517-evm and am37x-evm
* When testing on am37x-evm I noticed that no prompt to login was ever shown
  when connected via serial port.
* I finally noticed that the SERIAL_CONSOLE variable was set incorrectly and
  didn't match the value in the old Arago layer.
* After using the values specific in the machine file in the Arago layer I was
  able to login via serial port.
* This has been verified on both the am37x-evm and am3517-evm.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 14:55:06 -05:00
Denys Dmytriyenko
f054a7c14a am335x-evm, omap3*: drop remaining TARGET_ARCH, wrecking sstate
Bump MACHINE_KERNEL_PR to rebuild the correct sstate.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-02-12 14:48:05 -05:00
Murali Karicheri
3eb71003af keystone: update defconfig with latest for mcsdk alpha7
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-29 14:45:05 -05:00
Murali Karicheri
629f5ddd5d keystone: update kernel and bootloaders recipes for mcsdk alpha7 release
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-29 14:45:02 -05:00
Murali Karicheri
1920403ef2 keystone: boot-monitor: add initial recipe
This adds recipe to build boot monitor image. Boot monitor is
a standalone image that is loaded and executed from u-boot to
replace the RBL provided monitor code in ARM with Linux boot
specific code.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-28 18:51:00 -05:00
Denys Dmytriyenko
9daa29790d multi-kernel.inc: drop use of KERNEL_CCSUFFIX to match oe-core
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-25 03:02:18 -05:00
Denys Dmytriyenko
356ae86a9b multi-kernel.inc: repeat do_configure after do_compileconfigs
Populate default defconfig into .config and process with oldconfig target

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-24 22:50:23 -05:00
Cliff Brake
7fe6837f40 beagleboard.conf: add additional sound modules
require for audio to function

Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-24 22:49:37 -05:00
Cliff Brake
9273b57d95 linux_3.1: add extra '#' to multi-line comment
Bitbake is getting more particular:
ERROR: There is a confusing multiline, partially commented expression on
line 27 of file /scratch/oe/oe-build-core-3/sources/meta-ti/...
Please clarify whether this is all a comment or should be parsed.

Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-24 22:49:07 -05:00
Denys Dmytriyenko
5a4eff42f2 linux-keystone: update to the latest dev release for keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-24 13:59:44 -05:00
Denys Dmytriyenko
9b7c3af377 u-boot: update to the latest dev release for keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-24 13:59:39 -05:00
Denys Dmytriyenko
61cfba29dc netbase: fix file search path for 'interfaces' file
This .bbappend file is used to override the 'interfaces' file for certain
targets. The current version is broken in that it does not search the correct
path(s).

Thanks to Robert P. J. Day and Gary Thomas for spotting the issue and providing
patches.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-16 12:29:57 -05:00
Andreas Müller
f9952c5fa4 mesa-dri: update to 9.0.1 to match oe-core
this makes Cliff Brake's unapplied patch obsolete

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2013-01-14 18:38:03 -05:00
Denys Dmytriyenko
033abf6684 linux-keystone: update from version 3.6-rc6 to 3.6.6
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-12-03 15:46:24 -05:00
Denys Dmytriyenko
e2e92f525f keystone: bump MACHINE_KERNEL_PR for previous changes
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-30 11:44:24 -05:00
Denys Dmytriyenko
536c442f97 keystone-evm: update serial port and virtual terminal settings
Keystone uses the old ttyS0 serial name instead of the new ttyO0.
Also disable spawning gettys on virtual terminals.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-30 11:31:07 -05:00
Nicolas Dechesne
7bc112911d conf/machine: omap4: update configs after xorg upgrade
There were some changes in the xserver-xorg upstream project that need
to be reflected here too:
 * extmod module was removed completely as it became empty;
 * DRI1, DRI2, DBE (among others) were made built-in;

(see poky rev: 5cea09e3d010d4799eab296b2a0cb83a0af09c76)

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-28 12:28:15 -05:00
Nicolas Dechesne
2b37d0ee55 Revert "xf86-video-omap: add new recipe for OMAP4/5 X11 video driver"
This reverts commit 410dc026f2.

Because this recipe was integrated in oe-core (then poky master).

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-28 12:28:10 -05:00
Nicolas Dechesne
8b6f2e0f96 Revert "libdrm: enable omap experimental api support"
This reverts commit cce5a7aea9.

Because oe-core (then poky master) was upgraded to libdrm 2.40,
and because OMAP experimental support was enabled there too.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-28 12:28:05 -05:00
Denys Dmytriyenko
4cd8d3c891 keystone-evm.conf: enable cpio images by default
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-27 11:40:06 -05:00
Denys Dmytriyenko
fe6972418a u-boot: add version 2012.07 for keystone machines
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-19 00:04:38 -05:00
Franklin S. Cooper Jr
e63ef28072 libgles-omap3: Verify pvrsrvkm module was found
* Check to see if the pvrsrvkm.ko module was found and that the insmod
  for that module was successful.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-16 15:05:21 -05:00
Franklin S. Cooper Jr
3c3a59dcc7 libgles-omap3: Adjust for non X11 distros
* Non X11 base distros are unable to build this Graphics SDK.
* This patch tweaks the libgles-omap3 include file to always build the
  Graphics SDK in Raw mode and also build in X11 mode only if X11 is
  a part of the DISTRO_FEATURE. Components are built, installed and packaged
  based on which mode the Graphics SDK is built in.
* Create a new variable PVR_INIT that is by default set to pvrsrvinit. This is
  needed for newer version of the Graphics SDK that replaced this file.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-16 15:02:39 -05:00
Chase Maupin
37e525ba2c conf/machine: Update the FSTYPES for AMSDK machines
* Updated the IMAGE_FSTYPES to ubi and tar.gz for the AMSDK
  machine types as the base file system type.
* This was done to speed up compression/decompression time at
  the expense of file size.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-15 17:43:54 -05:00
Paul Woegerer
c23f472783 linux-omap4-3.1.0: Add sched_process_exec tracing
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-12 20:52:31 -05:00
Denys Dmytriyenko
53dcf7977a linux-omap-psp 2.6.37: add more recent version of OMAP3 kernel
Ported from Arago the kernel that corresponds to PSP version 04.02.00.07 with
corresponding SDK patches applied on top.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-01 22:50:53 -04:00
Denys Dmytriyenko
12f4fb47ab linux-keystone: add kernel for keystone SOC
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-01 20:46:05 -04:00
Denys Dmytriyenko
afe91bea43 conf/machine: add keystone SOC and keystone-evm machine
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-11-01 20:46:05 -04:00
Denys Dmytriyenko
b4d1463c1f tune-cortexa7: add tunes for ARM Cortex-A7
http://www.arm.com/products/processors/cortex-a/cortex-a7.php

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-31 00:49:41 -04:00
Denys Dmytriyenko
44a31f698c tune-cortexa15: add tunes for ARM Cortex-A15
http://www.arm.com/products/processors/cortex-a/cortex-a15.php

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-31 00:49:26 -04:00
Nicolas Dechesne
95e12712dd pandaboard: use xf86-video-omap by default in XSERVER config
Also we need to pull in module-exa as xf86-video-omap relies
on it, at run time.

And replaced the default xorg.conf for 'omap4' machine to take
new driver into account. Do not enable HWcursor (e.g. mouse
using DSS overlay) to keep things simple for now..

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-24 20:57:37 -04:00
Nicolas Dechesne
410dc026f2 xf86-video-omap: add new recipe for OMAP4/5 X11 video driver
Since this component is still actively being developed, let's use
a _git.bb recipe. We can introduce 'x.y' version later.

Even though xf-video-omap can be combined with private/restricted
EXA sub-driver for SGX/PVR, it can also work without it. In which
case EXA aren't using SGX, but all standard driver features still
work, and it is a replacement for xf-video-fbdev.

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-24 20:57:23 -04:00
Enrico Butera
cce5a7aea9 libdrm: enable omap experimental api support
This is needed to build gst-plugin-ducati.

Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-24 20:57:10 -04:00
Hervé Fache
4f3522a9dc linux-omap4: update to 3.4 from GLP 1.6.6 release
Used Herve's version as a base with some mods from Enrico and additional fixes
on top, defconfig is the validated one from GLP release.

Signed-off-by: Hervé Fache <h-fache@ti.com>
Cc: Enrico Butera <ebutera@users.berlios.de>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-18 12:19:35 -04:00
Franklin S. Cooper Jr
c911405cbc linux-am335x-3.2.0-psp04.06.00.08: Add PSP v04.06.00.08 of the Linux kernel
* Add the PSP release version of the Linux kernel for the am335x-evm
* Include a variable called KERNEL_PATCHES which can be used to add
  patches on top of the PSP release of the Linux kernel. Currently used
  to apply various patches that add functionality or fixes bugs.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-17 16:24:06 -04:00
Franklin S. Cooper Jr
2a3c7305fb recipes: Fix ti-eula-unpack issue. Tweak sgx modules and libgles recipes.
* Commit d8fc4a6862 addressed an issue where
  too many newlines characters were being sent since print by default already
  sends a newline character. This commit however resulted in bin files being
  installed in the WORKDIR and broke other recipes which commit
  a94f765b98 addressed. This lead to a very
  cluttered WORKDIR.
* This patch updates ti-eula-unpack.inc to switch from using a print to a write.
  Since write doesn't automatically send newlines it is a bit more obvious when
  newlines are sent.
* Part of the reason that bin files were being installed in the WORKDIR was
  due to TI_BIN_UNPK_WDEXT being blank for some recipes. For instance in the
  libgles-omap3 recipes, when the workdir command is set in TI_BIN_UNPK_CMDS the
  directory that the Graphics SDK will be installed into is
  workdir+TI_BIN_UNPK_WDEXT. A blank TI_BIN_UNPK_WDEXT means the SDK will be
  installed in WORKDIR. By setting TI_BIN_UNPK_WDEXT to a proper value the
  recipes can be sure it is installed in the proper directory.
* Determine which file to download based on the defined BINFILE and not a
  hardcoded value. This idea was taken from arago.

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>
2012-10-10 16:00:04 -04:00
Franklin S. Cooper Jr
80ebdb06c3 u-boot_2011.09-psp04.06.00.08: Add PSP v04.06.00.08 of u-boot
* Add the PSP release version 04.06.00.08 of u-boot.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-10-10 12:47:22 -04:00
Franklin S. Cooper Jr
80cc70e501 libgles-omap3.inc: Tweak PLATFORM variable.
* Newer versions of libgles-omap3 utilize a different PLATFORM value. This
  patch allows the PLATFORM variable to be easily overridden if needed.
* Replace the hardcoded usage of LinuxOMAP3 with the PLATFORM variable.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-26 14:18:48 -04:00
Denys Dmytriyenko
7b288d7d05 ti-hw-bringup-image: remove duplicate timestamp-service, as it's in systemd-image
Since systemd-image from meta-angstrom already includes timestamp-service, remove
the duplicate from ti-hw-bringup-image recipe, which uses the former as a base.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-18 20:02:34 -04:00
Denys Dmytriyenko
cca4383363 layer.conf: lower layer priority from 10 to 6
Lowering layer priority from 10 to 6 aligns meta-ti with other BSP layers
and also allows distributions to override our recipes.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-18 20:02:34 -04:00
Andreas Müller
48cab231fc libgles-omap3: fix for latest oe-core mesa changes
* add virtual/libgles1 virtual/libgles2 to PROVIDES
* add RREPLACES_{PN}* for mesa's libegl* libgles1* libgles2*

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-18 18:34:10 -04:00
Andreas Müller
bef66dc21a mesa: add appends to avoid providing conflicts
For libgles-omap3 compatible machines mesa should only provide libgl.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>

Rebased to squash removal of mesa-xlib.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-18 18:33:36 -04:00
Koen Kooi
9ef35da0c8 beaglebone-tester: FTDI eeprom test, v2
Check descriptor instead of VID/PID

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 02:03:19 -04:00
Koen Kooi
77c90bb7c2 beaglebone tester: bump SRCREV for FTDI test
An extra test for the FTDI eeprom was added to catch programming errors that would break CCS.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 02:02:36 -04:00
Koen Kooi
b6a95c1a24 beaglebone-tester: ship testaudio, fix depends
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 02:01:59 -04:00
Koen Kooi
fcf369f332 linux-ti33x-psp 3.2: update beaglebone defconfig
* Add more RTC modules
* Disable cgroup controllers with a lot of overhead

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 01:51:37 -04:00
Koen Kooi
acc985b09c linux-mainline: update to 3.2.28
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 01:51:28 -04:00
Koen Kooi
df83a59b6b linux-ti33x-psp 3.2: update to 3.2.28 and add motorcape support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 01:51:19 -04:00
Koen Kooi
f55bb66b46 linux-ti335x-psp 3.2: mux orientation detect for camera sensor to gpio instead of gpmc
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 01:51:07 -04:00
Koen Kooi
6203cbca5c linux-ti33x-psp 3.2: update to 3.2.25
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 01:50:52 -04:00
Koen Kooi
e4ea426bb5 linux-ti33x-psp 3.2: LCD7 A3 support, eMMC cape support, camera cape improvements
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 01:50:35 -04:00
Khem Raj
306bec90c4 recipes: Use 'packagegroup' instead of 'task'
bring recipes in sync with OE-Core, task bbclass
is now replaced by packagegroup.

and task recipes are now called packagegroup_something

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-09-14 00:22:11 -04:00
Roger Monk
7b54887b95 u-boot_2011.09[.10rc]: Always use gnu ld for LD
- Pull in gnu ld patch for 2011.10rc recipe
   - Bump PR

Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-08-07 23:20:06 -04:00
Koen Kooi
fc003234aa u-boot 2011.09+git: update to latest version of Tom Rini's tree
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-08-07 22:58:32 -04:00
Andreas Müller
131d02fe36 ti-dmai.inc: fix 'proto='-warning on recipe parsing
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-08-07 21:29:43 -04:00
Roger Monk
297f5217bf am-sysinfo: switch 'proto' to 'protocol' in SRC_URI
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-08-07 21:07:44 -04:00
Roger Monk
864173a96a gstreamer-ti: convert proto to protocol in SRC_URI
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-08-07 21:07:44 -04:00
Koen Kooi
9bc77dff5f linux-ti33x-psp 3.2: update to 3.2.23
Regenerate all beaglebone patches and add one vfs tracer patch for powertop

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:37:17 -04:00
Koen Kooi
751040122d linux-ti33x-psp 3.2: enable more tracing features for beaglebone
This makes powertop 2.0 happy

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:36:24 -04:00
Koen Kooi
cb872e3786 linux-ti33x-psp 3.2: add fixed for cssp, fbset and OPP50
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:35:56 -04:00
Koen Kooi
e1b4ab72cf u-boot 2011.09+git: update to latest version of Tom Rini's tree
All patches have been rediffed and boot tested

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:35:27 -04:00
Koen Kooi
d6e45b129c linux-ti33x-psp 3.2: add support for audio cape and disable LBO gpio for battery cape
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:35:13 -04:00
Koen Kooi
7955b1d946 linux-ti33x-psp 3.2: add camera driver for beaglebone
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:34:03 -04:00
Koen Kooi
51ce8e5738 beaglebone-capes: use backlight hack for all LCD4 variants
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:25:01 -04:00
Koen Kooi
24ba2ae085 linux-ti33x-psp 3.2: fix audio/spidev clash on beaglebone
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:24:25 -04:00
Koen Kooi
189ce92b4c linux-ti33x-psp 3.2: update to 3.2.21, add libertas fixes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:23:44 -04:00
Koen Kooi
2257c7b47a beaglebone-tester: re-enable pmic test
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:23:28 -04:00
Koen Kooi
bbc293f9e1 beaglebone-tester: bump SRCREV to fix serial console race
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-25 20:23:06 -04:00
Andreas Müller
d3ff5630a7 netbase: follow oe-core to v5.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-07-13 17:39:30 -04:00
Andreas Müller
30fb40ebc1 linux.inc: remove unused variable RPSRC
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-21 19:18:07 -04:00
Andreas Müller
b36393d42d linux.inc: remove require linux-tools.inc
linux-tools.inc was removed in oe-core (perf has own package) [1].

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=b485f3e0e55ad62079ed0913970ff0620f4808ea

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-21 19:18:07 -04:00
2633 changed files with 8176 additions and 870417 deletions

11
README
View File

@@ -8,13 +8,7 @@ This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
When not depending on meta-openembedded and not using systemd, you may need to
mask few miscellaneous recipes requiring systemd, by adding this to local.conf:
BBMASK = "meta-ti/recipes-misc"
branch: morty
The base BSP part of meta-ti should work with different OpenEmbedded/Yocto
@@ -25,6 +19,7 @@ Please follow the recommended setup procedures of your OE distribution.
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
Please note - meta-ti mailing list requires subscription for posting:
https://lists.yoctoproject.org/listinfo/meta-ti
Maintainers: Denys Dmytriyenko <denys@ti.com>
Koen Kooi <koen@dominion.thruhere.net>

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
}

101
classes/ti-pdk.bbclass Normal file
View File

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

View File

@@ -6,4 +6,24 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ti"
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "10"
BBFILE_PRIORITY_meta-ti = "6"
LICENSE_PATH += "${LAYERDIR}/licenses"
LAYERDEPENDS_meta-ti = "core"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
ti-sgx-ddk-km \
ti-sgx-ddk-um \
ti-ipc \
ti-ipc-rtos \
cmem-mod \
hplib-mod \
gdbserverproxy-module-drv \
debugss-module-drv \
uio-module-drv \
mpm-transport \
cppi-lld \
qmss-lld \
multiprocmgr \
"

View File

@@ -1,17 +0,0 @@
#@TYPE: Machine
#@NAME: AM180x CPUs on an AM180x EVM board
#@DESCRIPTION: Machine configuration for the TI AM180x EVM board
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "da850evm_config"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
MACHINE_FEATURES = "kernel26 serial ethernet"
SERIAL_CONSOLE = "115200 ttyS2"
PREFERRED_PROVIDER_virtual/kernel = "linux-omapl138-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"

View File

@@ -1,22 +1,20 @@
#@TYPE: Machine
#@NAME: AM335x EVM
#@DESCRIPTION: Machine configuration for the TI AM335x EVM
TARGET_ARCH = "arm"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
GUI_MACHINE_CLASS = "smallscreen"
require conf/machine/include/ti33x.inc
IMAGE_FSTYPES += "ubi tar.bz2"
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
SERIAL_CONSOLE = "115200 ttyO0"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLE = ""
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
@@ -29,7 +27,7 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1988"
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 7000"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
@@ -38,10 +36,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 1988"
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am335x_evm_config"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"

View File

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

View File

@@ -2,38 +2,25 @@
#@NAME: AM3517 EVM
#@DESCRIPTION: Machine configuration for the TI Sitara AM3517 EVM
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-input-tslib \
xf86-video-omapfb \
xf86-input-keyboard"
GUI_MACHINE_CLASS = "smallscreen"
require conf/machine/include/omap3.inc
# Ship all kernel modules
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "ubi tar.bz2"
IMAGE_FSTYPES += "ubi tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyS2"
USE_VT = "2"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
KERNEL_DEVICETREE = "am3517-evm.dtb"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "am3517_evm_config"
XLOAD_MACHINE = "am3517evm_config"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen ethernet"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
@@ -48,4 +35,3 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -2,37 +2,21 @@
#@NAME: AM37x EVM
#@DESCRIPTION: Machine configuration for the TI AM37x EVM
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-input-tslib \
xf86-video-omapfb \
xf86-input-keyboard"
GUI_MACHINE_CLASS = "smallscreen"
require conf/machine/include/omap3.inc
# Ship all kernel modules
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "jffs2 tar.bz2"
IMAGE_FSTYPES += "ubi tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
SERIAL_CONSOLE = "115200 ttyS0"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "omap3_evm_config"
XLOAD_MACHINE = "omap3evm_config"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
@@ -47,4 +31,3 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -0,0 +1,35 @@
#@TYPE: Machine
#@NAME: AM437x EVM
#@DESCRIPTION: Machine configuration for the TI AM437x EVM
require conf/machine/include/ti43x.inc
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
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
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# From dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: logical eraseblock size: 253952 bytes
# from ubiattach stdout:
# UBI device number 0, total 994 LEBs
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 4000"
# do ubiattach /dev/ubi_ctrl -m 11 -O 4096
# from dmesg:
# UBI: smallest flash I/O unit: 4096
# UBI: physical eraseblock size: 262144 bytes (256 KiB)
# UBI: sub-page size: 4096
# UBI: VID header offset: 4096 (aligned 4096)
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"

View File

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

View File

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

View File

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

View File

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

View File

@@ -2,28 +2,17 @@
#@NAME: Beagleboard machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-omapfb \
xf86-input-keyboard"
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/omap3.inc
# SPL build
EXTRA_IMAGEDEPENDS = "u-boot"
# Only has DVI connector for external screen
MACHINE_GUI_CLASS = "bigscreen"
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
IMAGE_FSTYPES += "tar.gz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"
IMAGE_FSTYPES += "tar.bz2 ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp "
KERNEL_DEVICETREE = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-beagle-xm-ab.dtb"
# Guesswork
SERIAL_CONSOLE = "115200 ttyO2"
SERIAL_CONSOLE = "115200 ttyS2"
UBOOT_MACHINE = "omap3_beagle_config"
@@ -44,8 +33,6 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
# and sdio
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
# For a modularized kernel we want to drag in networking, sound, rtc etc."
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl"
MACHINE_EXTRA_RRECOMMENDS = "kernel-module-smsc95xx kernel-module-snd-soc-twl4030 kernel-module-rtc-twl \
kernel-module-snd-soc-omap kernel-module-snd-soc-omap-mcbsp kernel-module-snd-soc-omap3beagle"

View File

@@ -2,25 +2,20 @@
#@NAME: BeagleBone machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
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
GUI_MACHINE_CLASS = "bigscreen"
MACHINE_GUI_CLASS = "bigscreen"
require conf/machine/include/ti33x.inc
EXTRA_IMAGEDEPENDS = "u-boot"
WKS_FILE = "sdimage-bootpart.wks"
IMAGE_BOOT_FILES = "MLO u-boot.img"
IMAGE_FSTYPES += "tar.xz wic.xz"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
SERIAL_CONSOLE = "115200 ttyS0"
IMAGE_FSTYPES += "tar.bz2 "
UBOOT_MACHINE = "am335x_boneblack_config"
# Guesswork
SERIAL_CONSOLE = "115200 ttyO0"
UBOOT_MACHINE = "am335x_evm_config"
# and sdio
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"

View File

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

View File

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

View File

@@ -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,14 +1,14 @@
require conf/machine/include/tune-arm926ejs.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r51"
MACHINE_KERNEL_PR = "r54"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPE = "uImage"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
PREFERRED_PROVIDER_virtual/kernel = "linux-davinci"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_MACHINE = "davinci_dvevm_config"
UBOOT_ENTRYPOINT = "0x80008000"
@@ -19,6 +19,4 @@ EXTRA_IMAGEDEPENDS += "u-boot"
SERIAL_CONSOLE ?= "115200 ttyS0"
EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n"
#ROOT_FLASH_SIZE = "29"
MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa"

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,36 @@
SOC_FAMILY = "omap-a15"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa15.inc
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r7"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
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"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-video-fbdev"
MACHINE_GUI_CLASS = "smallscreen"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip dsp"

View File

@@ -1,15 +1,42 @@
SOC_FAMILY = "omap3"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r121"
KERNEL_IMAGETYPE = "uImage"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-omapfb \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r127"
KERNEL_IMAGETYPE = "zImage"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
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"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
EXTRA_IMAGEDEPENDS += "u-boot x-load"
# If SPL is not used, may need to add x-load
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen/ethernet for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa sgx"

View File

@@ -1,23 +1,25 @@
SOC_FAMILY = "omap4"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-omap4"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xserver-xorg-extension-dri \
xserver-xorg-extension-dri2 \
xserver-xorg-extension-glx \
xserver-xorg-module-exa \
xf86-input-evdev \
xf86-video-fbdev"
xf86-video-omap"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r1"
MACHINE_KERNEL_PR = "r4"
KERNEL_IMAGETYPE = "uImage"
KERNEL_IMAGETYPE = "zImage"
UBOOT_MACHINE = "omap4_panda_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"

View File

@@ -1,14 +1,44 @@
SOC_FAMILY = "ti33x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r12"
KERNEL_IMAGETYPE = "uImage"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r22"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
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"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"

View File

@@ -0,0 +1,44 @@
SOC_FAMILY = "ti43x"
require conf/machine/include/soc-family.inc
DEFAULTTUNE ?= "armv7athf-neon"
require conf/machine/include/tune-cortexa9.inc
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
# For built-in LCD, add xf86-input-tslib
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-video-fbdev \
xf86-input-keyboard"
# Default to external video, change to smallscreen for built-in LCD
MACHINE_GUI_CLASS = "bigscreen"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r3"
# Default providers, may need to override for specific machines
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
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"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.
UBI_VOLNAME = "rootfs"
EXTRA_IMAGEDEPENDS += "u-boot"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx"

32
conf/machine/k2e-evm.conf Normal file
View File

@@ -0,0 +1,32 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2E machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
require conf/machine/include/k2e.inc
KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"
UBOOT_MACHINE = "k2e_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2e"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"

View File

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

34
conf/machine/k2g-evm.conf Normal file
View File

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

View File

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

View File

@@ -0,0 +1,32 @@
#@TYPE: Machine
#@NAME: Keystone 2 K2HK machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
require conf/machine/include/keystone.inc
KERNEL_DEVICETREE = "keystone-k2hk-evm.dtb"
UBOOT_MACHINE = "k2hk_evm_config"
BOOT_MONITOR_MAKE_TARGET = "k2hk"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
SERIAL_CONSOLE = "115200 ttyS0"
SYSVINIT_ENABLED_GETTYS = ""
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4000"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"

32
conf/machine/k2l-evm.conf Normal file
View File

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

View File

@@ -1,40 +1,23 @@
#@TYPE: Machine
#@NAME: OMAP3 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP3 EVM
TARGET_ARCH = "arm"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-input-tslib \
xf86-video-omapfb \
xf86-input-keyboard"
GUI_MACHINE_CLASS = "smallscreen"
require conf/machine/include/omap3.inc
# Ship all kernel modules
# Use built-in LCD by default
XSERVER += "xf86-input-tslib"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen ethernet"
IMAGE_FSTYPES += "jffs2 tar.bz2"
IMAGE_FSTYPES += "jffs2 tar.gz"
EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
SERIAL_CONSOLE = "115200 ttyS0"
USE_VT = "0"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "omap3_evm_config"
XLOAD_MACHINE = "omap3evm_config"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
EXTRA_IMAGEDEPENDS += "x-load"
# NOTE: there are NAND and OneNAND versions of this board...
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
@@ -49,4 +32,3 @@ MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

View File

@@ -0,0 +1,34 @@
#@TYPE: Machine
#@NAME: OMAP5 EVM
#@DESCRIPTION: Machine configuration for the TI OMAP5 uEVM
require conf/machine/include/omap-a15.inc
IMAGE_FSTYPES += "ubi tar.gz"
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
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 4300"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
UBOOT_MACHINE = "omap5_uevm_config"

View File

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

View File

@@ -4,15 +4,13 @@
require conf/machine/include/omap4.inc
UBOOT_MACHINE = "omap4_panda_config"
MACHINE_GUI_CLASS = "bigscreen"
GUI_MACHINE_CLASS = "bigscreen"
IMAGE_FSTYPES += "tar.gz"
IMAGE_FSTYPES += "tar.bz2"
KERNEL_DEVICETREE = "omap4-panda.dtb omap4-panda-a4.dtb omap4-panda-es.dtb"
SERIAL_CONSOLE = "115200 ttyO2"
SERIAL_CONSOLE = "115200 ttyS2"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen touchscreen usbgadget usbhost vfat"
MACHINE_FEATURES = "kernel26 wifi bluetooth alsa apm ext2 screen usbgadget usbhost vfat sgx"

View File

@@ -1,17 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -1,17 +0,0 @@
An "extras" (AKA best-effort) layer for meta-ti
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: master
URI: git://git.yoctoproject.org/meta-ti
layers: meta
branch: master
Send pull requests, patches, comments or questions to meta-ti@yoctoproject.org
Maintainers: Denys Dmytriyenko <denys@ti.com>
Koen Kooi <koen@dominion.thruhere.net>

View File

@@ -1,9 +0,0 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-ti-extras"
BBFILE_PATTERN_meta-ti := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-ti = "10"

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: AM389x evm
#@DESCRIPTION: Machine configuration for the AM389x evm
require conf/machine/include/ti814x.inc

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: am389x evm
#@DESCRIPTION: Machine configuration for the am389x evm
require conf/machine/include/ti816x.inc

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: c6a814x evm
#@DESCRIPTION: Machine configuration for the c6a814x evm
require conf/machine/include/ti814x.inc

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: c6a816x evm
#@DESCRIPTION: Machine configuration for the c6a816x evm
require conf/machine/include/ti816x.inc

View File

@@ -1,5 +0,0 @@
#@TYPE: Machine
#@NAME: DM814x evm
#@DESCRIPTION: Machine configuration for the DM814x evm
require conf/machine/include/ti814x.inc

View File

@@ -1,29 +0,0 @@
#@TYPE: Machine
#@NAME: OMAP-L138 based board
#@DESCRIPTION: Machine configuration for the TI Hawkboard
require conf/machine/include/davinci.inc
require conf/machine/include/omapl138.inc
UBOOT_MACHINE = "da850_omapl138_evm_config"
UBOOT_ENTRYPOINT = "0xc0008000"
UBOOT_LOADADDRESS = "0xc0008000"
MACHINE_FEATURES = "kernel26 serial ethernet ide screen"
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 971 LEBs (123293696 bytes, 117.6 MiB), available 958 LEBs (121643008 bytes, 116.0 MiB), LEB size 126976 bytes (124.0 KiB)
MKUBIFS_ARGS = "-m 2048 -e 126976 -c 948"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
SERIAL_CONSOLE = "115200 ttyS2"

View File

@@ -1,26 +0,0 @@
SOC_FAMILY = "ti814x"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r2"
KERNEL_IMAGETYPE = "uImage"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "ti8148_evm_config_nand"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Only build u-boot
EXTRA_IMAGEDEPENDS += "u-boot"
# Ship all kernel modules
IMAGE_FSTYPES += "jffs2 tar.bz2"
EXTRA_IMAGECMD_jffs2 = "-lqn -e 128"
SERIAL_CONSOLE = "115200 ttyO0"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"

View File

@@ -1,26 +0,0 @@
SOC_FAMILY = "ti816x"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-ti81xx-psp"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r2"
KERNEL_IMAGETYPE = "uImage"
UBOOT_ARCH = "arm"
UBOOT_MACHINE = "ti8168_evm_config"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
# Only build u-boot
EXTRA_IMAGEDEPENDS += "u-boot"
# Ship all kernel modules
IMAGE_FSTYPES += "jffs2 tar.bz2"
EXTRA_IMAGECMD_jffs2 = "-lqn -e 128"
SERIAL_CONSOLE = "115200 ttyO2"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"

View File

@@ -1,49 +0,0 @@
#@TYPE: Machine
#@NAME: Always Innovating touchbook
#@DESCRIPTION: Machine configuration for the http://www.alwaysinnovating.com/touchbook/
TARGET_ARCH = "arm"
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
xf86-input-evdev \
xf86-input-mouse \
xf86-input-tslib \
xf86-video-fbdev \
xf86-video-omapfb \
xf86-input-keyboard"
# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"
require conf/machine/include/omap3.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
IMAGE_FSTYPES += "tar.bz2"
EXTRA_IMAGECMD_jffs2 = "-lnp "
# Guesswork
SERIAL_CONSOLE = "115200 ttyS2"
UBOOT_MACHINE = "omap3_beagle_config"
XLOAD_MACHINE = "beagleboard_config"
# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 129024 bytes
# from ubiattach stdout:
# UBI device number 0, total 1996 LEBs
MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
# and sdio
MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa touchscreen"

View File

@@ -1,51 +0,0 @@
From 1415ec63689ef39bcb24b5095941ec4cc884035c Mon Sep 17 00:00:00 2001
From: Mikael Pettersson <mikpe@it.uu.se>
Date: Sun, 15 Aug 2010 10:47:23 +0100
Subject: [PATCH 1/2] ARM: 6329/1: wire up sys_accept4() on ARM
sys_accept4() was added in kernel 2.6.28, but ARM was not updated
to include it. The number and types of parameters is such that
no ARM-specific processing is needed, so wiring up sys_accept4()
just requires defining __NR_accept4 and adding a direct call in
the syscall entry table.
Tested with an EABI 2.6.35 kernel and Ulrich Drepper's original
accept4() test program, modified to define __NR_accept4 for ARM.
Using the updated unistd.h also eliminates a warning then building
glibc (2.10.2 and newer) about accept4() being unimplemented.
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
arch/arm/include/asm/unistd.h | 1 +
arch/arm/kernel/calls.S | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h
index dd2bf53..d02cfb6 100644
--- a/arch/arm/include/asm/unistd.h
+++ b/arch/arm/include/asm/unistd.h
@@ -392,6 +392,7 @@
#define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363)
#define __NR_perf_event_open (__NR_SYSCALL_BASE+364)
#define __NR_recvmmsg (__NR_SYSCALL_BASE+365)
+#define __NR_accept4 (__NR_SYSCALL_BASE+366)
/*
* The following SWIs are ARM private.
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index 37ae301..afeb71f 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -375,6 +375,7 @@
CALL(sys_rt_tgsigqueueinfo)
CALL(sys_perf_event_open)
/* 365 */ CALL(sys_recvmmsg)
+ CALL(sys_accept4)
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted
--
1.6.6.1

View File

@@ -1,26 +0,0 @@
From b0a773f958b03ba77317f8b762d90d3c00269292 Mon Sep 17 00:00:00 2001
From: Roger Monk <r-monk@ti.com>
Date: Wed, 25 Aug 2010 16:45:46 +0100
Subject: [PATCH] ahci-ti: Fix (currently harmless) typo in SATA PHY configuration
Signed-off-by: Roger Monk <r-monk@ti.com>
---
drivers/ata/ahci-ti.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/ata/ahci-ti.c b/drivers/ata/ahci-ti.c
index 9e36c9d..674b216 100644
--- a/drivers/ata/ahci-ti.c
+++ b/drivers/ata/ahci-ti.c
@@ -80,7 +80,7 @@ void ata_plat_init (void __iomem *base)
phy_val = PHY_MPY << 0 | PHY_LB << 4 | PHY_LOS << 6 |
PHY_RXINVPAIR << 7 | PHY_RXTERM << 8 |
PHY_RXCDR << 10 | PHY_RXEQ << 13 |
- PHY_RXINVPAIR << 17 | PHY_TXCM << 18 |
+ PHY_TXINVPAIR << 17 | PHY_TXCM << 18 |
PHY_TXSWING << 19 | PHY_TXDE << 22 |
PHY_OVERRIDE << 30 | PHY_ENPLL << 31;
--
1.6.0.4

View File

@@ -1,58 +0,0 @@
From 787c524fc478068d18eef72f43074b47722e50b0 Mon Sep 17 00:00:00 2001
From: Greg KH <gregkh@suse.de>
Date: Thu, 5 Aug 2010 13:53:35 -0700
Subject: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
We really shouldn't be asking userspace to create new root filesystems.
So follow along with all of the other in-kernel filesystems, and provide
a mount point in sysfs.
For cgroupfs, this should be in /sys/fs/cgroup/ This change provides
that mount point when the cgroup filesystem is registered in the kernel.
Acked-by: Paul Menage <menage@google.com>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Lennart Poettering <lennart@poettering.net>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
kernel/cgroup.c | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 0249f4b..db21dd8 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1472,6 +1472,8 @@ static struct file_system_type cgroup_fs_type = {
.kill_sb = cgroup_kill_sb,
};
+static struct kobject *cgroup_kobj;
+
static inline struct cgroup *__d_cgrp(struct dentry *dentry)
{
return dentry->d_fsdata;
@@ -3283,9 +3285,18 @@ int __init cgroup_init(void)
hhead = css_set_hash(init_css_set.subsys);
hlist_add_head(&init_css_set.hlist, hhead);
BUG_ON(!init_root_id(&rootnode));
+
+ cgroup_kobj = kobject_create_and_add("cgroup", fs_kobj);
+ if (!cgroup_kobj) {
+ err = -ENOMEM;
+ goto out;
+ }
+
err = register_filesystem(&cgroup_fs_type);
- if (err < 0)
+ if (err < 0) {
+ kobject_put(cgroup_kobj);
goto out;
+ }
proc_create("cgroups", 0, NULL, &proc_cgroupstats_operations);
--
1.6.6.1

View File

@@ -1,29 +0,0 @@
From 37a7868b15be9415abd3f57477afc8be956666e6 Mon Sep 17 00:00:00 2001
From: Roger Monk <r-monk@ti.com>
Date: Wed, 25 Aug 2010 16:46:28 +0100
Subject: [PATCH] ahci-ti: Update SATA PHY configuration - RXCDR --> 4
* Update SATA PHY configuration for Receiver Clock/Data Recovery
* Set to 0x4 = 2nd order, low precision
Signed-off-by: Roger Monk <r-monk@ti.com>
---
drivers/ata/ahci-ti.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/ata/ahci-ti.c b/drivers/ata/ahci-ti.c
index 674b216..853d251 100644
--- a/drivers/ata/ahci-ti.c
+++ b/drivers/ata/ahci-ti.c
@@ -55,7 +55,7 @@ void ata_plat_remove(struct ata_host *host);
#define PHY_LOS 1 /* bit6 1 */
#define PHY_RXINVPAIR 0 /* bit7 1 */
#define PHY_RXTERM 0 /* bits9:8 2 */
-#define PHY_RXCDR 0 /* bits12:10 3 */
+#define PHY_RXCDR 4 /* bits12:10 3 */
#define PHY_RXEQ 1 /* bits16:13 4 */
#define PHY_TXINVPAIR 0 /* bit17 1 */
#define PHY_TXCM 0 /* bit18 1 */
--
1.6.0.4

View File

@@ -1,27 +0,0 @@
From 69600e5a42512204bc4eb83a3a459496b049107f Mon Sep 17 00:00:00 2001
From: Roger Monk <r-monk@ti.com>
Date: Wed, 25 Aug 2010 17:47:16 +0100
Subject: [PATCH] board-da850-hawk: Disable NAND SUBPAGE
* This was causing issues with UBI
* Solution/Workaround identified by Caglar Akyuz - now applied locally to board file
---
arch/arm/mach-davinci/board-da850-hawk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-hawk.c b/arch/arm/mach-davinci/board-da850-hawk.c
index 87ed017..bbfe32a 100644
--- a/arch/arm/mach-davinci/board-da850-hawk.c
+++ b/arch/arm/mach-davinci/board-da850-hawk.c
@@ -118,7 +118,7 @@ static struct davinci_nand_pdata da850_hawk_nandflash_data = {
.nr_parts = ARRAY_SIZE(da850_hawk_nandflash_partition),
.ecc_mode = NAND_ECC_HW,
.ecc_bits = 4,
- .options = NAND_USE_FLASH_BBT,
+ .options = NAND_USE_FLASH_BBT | NAND_NO_SUBPAGE_WRITE,
.timing = &da850_hawk_nandflash_timing,
};
--
1.6.0.4

File diff suppressed because it is too large Load Diff

View File

@@ -1,29 +0,0 @@
From 2ee9f2c655710d9e60a5a9b49871edc316e5363d Mon Sep 17 00:00:00 2001
From: Roger Monk <r-monk@ti.com>
Date: Wed, 25 Aug 2010 17:29:14 +0100
Subject: [PATCH] board-da850-evm: Disable NAND SUBPAGE
* This was causing issues with UBI
* Solution/Workaround identified by Caglar Akyuz - now applied locally to board file
Signed-off-by: Roger Monk <r-monk@ti.com>
---
arch/arm/mach-davinci/board-da850-evm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index cfed439..502b914 100755
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -187,7 +187,7 @@ static struct davinci_nand_pdata da850_evm_nandflash_data = {
.nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
.ecc_mode = NAND_ECC_HW,
.ecc_bits = 4,
- .options = NAND_USE_FLASH_BBT,
+ .options = NAND_USE_FLASH_BBT | NAND_NO_SUBPAGE_WRITE,
.timing = &da850_evm_nandflash_timing,
};
--
1.6.0.4

View File

@@ -1,334 +0,0 @@
From: Melissa Watkins <m-watkins@ti.com>
Date: Wed, 24 Nov 2010 02:59:34 -0600
Subject: [PATCH 1/3] uio_pruss1: Core driver addition
This patch adds the uio_pru driver and updates the uio Makefile
and Kconfig files to support this driver. The uio_pru driver provides
a framework for handling the PRU in the user space and is responsible
for the device setup and the primary interrupt handling.
Signed-off-by: Amit Chatterjee <amit.chatterjee@ti.com>
Signed-off-by: Melissa Watkins <m-watkins@ti.com>
---
drivers/uio/Kconfig | 10 ++
drivers/uio/Makefile | 1 +
drivers/uio/uio_pru.c | 279 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 290 insertions(+), 0 deletions(-)
create mode 100644 drivers/uio/uio_pru.c
diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index 8aa1955..8ae8280 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -94,4 +94,14 @@ config UIO_PCI_GENERIC
primarily, for virtualization scenarios.
If you compile this as a module, it will be called uio_pci_generic.
+config UIO_PRUSS
+ tristate "Texas Instruments PRUSS driver"
+ depends on ARCH_DAVINCI_DA850
+ default n
+ help
+ PRUSS driver for OMAPL13X/DA8XX/AM17XX/AM18XX devices
+ PRUSS driver requires user space components
+ To compile this driver as a module, choose M here: the module
+ will be called uio_pruss.
+
endif
diff --git a/drivers/uio/Makefile b/drivers/uio/Makefile
index 73b2e75..e6d8adb 100644
--- a/drivers/uio/Makefile
+++ b/drivers/uio/Makefile
@@ -6,3 +6,4 @@ obj-$(CONFIG_UIO_SMX) += uio_smx.o
obj-$(CONFIG_UIO_AEC) += uio_aec.o
obj-$(CONFIG_UIO_SERCOS3) += uio_sercos3.o
obj-$(CONFIG_UIO_PCI_GENERIC) += uio_pci_generic.o
+obj-$(CONFIG_UIO_PRUSS) += uio_pru.o
diff --git a/drivers/uio/uio_pru.c b/drivers/uio/uio_pru.c
new file mode 100644
index 0000000..82dc35e
--- /dev/null
+++ b/drivers/uio/uio_pru.c
@@ -0,0 +1,279 @@
+/*
+ * UIO TI Programmable Real-Time Unit (PRU) driver.
+ *
+ * (C) 2010 Amit Chatterjee <amit.chatterjee@ti.com>
+ *
+ * Copyright (C) {YEAR} Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation version 2.
+ *
+ * This program is distributed .as is. WITHOUT ANY WARRANTY of any
+ * kind, whether express or implied; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <linux/device.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
+#include <linux/uio_driver.h>
+#include <linux/io.h>
+#include <linux/clk.h>
+#include <linux/dma-mapping.h>
+
+#define DRV_NAME "pruss"
+#define DRV_VERSION "0.01"
+
+/*
+0x01C30000 - 0x01C301FF Data RAM 0
+0x01C30200 - 0x01C31FFF Reserved
+0x01C32000 - 0x01C321FF Data RAM 1
+0x01C32200 - 0x01C33FFF Reserved
+0x01C34000 - 0x01C36FFF INTC Registers
+0x01C37000 - 0x01C373FF PRU0 Control Registers
+0x01C37400 - 0x01C377FF PRU0 Debug Registers
+0x01C37800 - 0x01C37BFF PRU1 Control Registers
+0x01C37C00 - 0x01C37FFF PRU1 Debug Registers
+0x01C38000 - 0x01C38FFF PRU0 Instruction RAM
+0x01C39000 - 0x01C3BFFF Reserved
+0x01C3C000 - 0x01C3CFFF PRU1 Instruction RAM
+0x01C3D000 - 0x01C3FFFF Reserved
+*/
+/*
+ * 3 PRU_EVTOUT0 PRUSS Interrupt
+ * 4 PRU_EVTOUT1 PRUSS Interrupt
+ * 5 PRU_EVTOUT2 PRUSS Interrupt
+ * 6 PRU_EVTOUT3 PRUSS Interrupt
+ * 7 PRU_EVTOUT4 PRUSS Interrupt
+ * 8 PRU_EVTOUT5 PRUSS Interrupt
+ * 9 PRU_EVTOUT6 PRUSS Interrupt
+ * 10 PRU_EVTOUT7 PRUSS Interrupt
+*/
+
+#define PRUSS_INSTANCE (8)
+
+static struct clk *pruss_clk = NULL, *ecap0_clk = NULL;
+static struct uio_info *info[PRUSS_INSTANCE];
+static void *ddr_virt_addr;
+static dma_addr_t ddr_phy_addr;
+
+
+
+static irqreturn_t pruss_handler(int irq, struct uio_info *dev_info)
+{
+ return IRQ_HANDLED;
+}
+
+static int __devinit pruss_probe(struct platform_device *dev)
+{
+ int ret = -ENODEV;
+ int count = 0;
+ struct resource *regs_pruram, *regs_l3ram, *regs_ddr;
+ char *string;
+
+ /* Power on PRU in case its not done as part of boot-loader */
+ pruss_clk = clk_get(&dev->dev, "pruss");
+ if (IS_ERR(pruss_clk)) {
+ dev_err(&dev->dev, "no pruss clock available\n");
+ ret = PTR_ERR(pruss_clk);
+ pruss_clk = NULL;
+ return ret;
+ } else {
+ clk_enable (pruss_clk);
+ }
+
+ ecap0_clk = clk_get(&dev->dev, "ecap0");
+ if (IS_ERR(ecap0_clk)) {
+ dev_err(&dev->dev, "no ecap0 clock available\n");
+ ret = PTR_ERR(ecap0_clk);
+ ecap0_clk = NULL;
+ return ret;
+ } else {
+ clk_enable(ecap0_clk);
+ }
+
+
+
+ for (count = 0; count < PRUSS_INSTANCE; count++) {
+ info[count] = (struct uio_info *)kzalloc(sizeof(struct uio_info), GFP_KERNEL);
+ if (!info[count])
+ return -ENOMEM;
+
+ }
+
+ regs_pruram = platform_get_resource(dev, IORESOURCE_MEM, 0);
+ if (!regs_pruram) {
+ dev_err(&dev->dev, "No memory resource specified\n");
+ goto out_free;
+ }
+
+ regs_l3ram = platform_get_resource(dev, IORESOURCE_MEM, 1);
+ if (!regs_l3ram) {
+ dev_err(&dev->dev, "No memory resource specified\n");
+ goto out_free;
+ }
+
+ regs_ddr = platform_get_resource(dev, IORESOURCE_MEM, 2);
+ if (!regs_ddr) {
+ dev_err(&dev->dev, "No memory resource specified\n");
+ goto out_free;
+ }
+ ddr_virt_addr = dma_alloc_coherent(&dev->dev, regs_ddr->end-regs_ddr->start+1, &ddr_phy_addr, GFP_KERNEL|GFP_DMA);
+
+
+ for (count = 0; count < PRUSS_INSTANCE; count++) {
+ info[count]->mem[0].addr = regs_pruram->start;
+ if (!info[count]->mem[0].addr) {
+ dev_err(&dev->dev, "Invalid memory resource\n");
+ break;
+ }
+
+ info[count]->mem[0].size = regs_pruram->end - regs_pruram->start + 1;
+ info[count]->mem[0].internal_addr = ioremap(regs_pruram->start, info[count]->mem[0].size);
+
+ if (!info[count]->mem[0].internal_addr) {
+ dev_err(&dev->dev, "Can't remap memory address range\n");
+ break;
+ }
+ info[count]->mem[0].memtype = UIO_MEM_PHYS;
+
+
+ info[count]->mem[1].addr = regs_l3ram->start;
+ if (!info[count]->mem[1].addr) {
+ dev_err(&dev->dev, "Invalid memory resource\n");
+ break;
+ }
+
+ info[count]->mem[1].size = regs_l3ram->end - regs_l3ram->start + 1;
+ info[count]->mem[1].internal_addr = ioremap(regs_l3ram->start, info[count]->mem[1].size);
+
+ if (!info[count]->mem[1].internal_addr) {
+ dev_err(&dev->dev, "Can't remap memory address range\n");
+ break;
+ }
+ info[count]->mem[1].memtype = UIO_MEM_PHYS;
+
+
+ info[count]->mem[2].size = regs_ddr->end - regs_ddr->start + 1;
+ if (!(info[count]->mem[2].size-1)) {
+ dev_err(&dev->dev, "Invalid memory resource\n");
+ break;
+ }
+
+
+ info[count]->mem[2].internal_addr = ddr_virt_addr;
+
+ if (!info[count]->mem[2].internal_addr) {
+ dev_err(&dev->dev, "Can't remap memory address range\n");
+ break;
+ }
+ info[count]->mem[2].addr = ddr_phy_addr;
+ info[count]->mem[2].memtype = UIO_MEM_PHYS;
+
+
+ string = kzalloc(20, GFP_KERNEL);
+ sprintf(string, "pruss_evt%d", count);
+ info[count]->name = string;
+ info[count]->version = "0.01";
+
+ /* Register PRUSS IRQ lines */
+ info[count]->irq = IRQ_DA8XX_EVTOUT0+count;
+
+ info[count]->irq_flags = IRQF_SHARED;
+ info[count]->handler = pruss_handler;
+
+ ret = uio_register_device(&dev->dev, info[count]);
+
+ if (ret < 0)
+ break;
+ }
+
+ platform_set_drvdata(dev, info);
+
+ if (ret < 0) {
+ if (ddr_virt_addr)
+ dma_free_coherent(&dev->dev, regs_ddr->end - regs_ddr->start + 1, ddr_virt_addr, ddr_phy_addr);
+ while (count--) {
+ uio_unregister_device(info[count]);
+ if (info[count]->name)
+ kfree(info[count]->name);
+ iounmap(info[count]->mem[0].internal_addr);
+ }
+ } else {
+ return 0;
+ }
+
+out_free:
+ for (count = 0; count < PRUSS_INSTANCE; count++) {
+ if (info[count])
+ kfree(info[count]);
+ }
+
+ if (pruss_clk != NULL)
+ clk_put(pruss_clk);
+ if (ecap0_clk != NULL)
+ clk_put(ecap0_clk);
+
+ return ret;
+}
+
+static int __devexit pruss_remove(struct platform_device *dev)
+{
+ int count = 0;
+ struct uio_info **info;
+
+ info = (struct uio_info **)platform_get_drvdata(dev);
+
+ for (count = 0; count < PRUSS_INSTANCE; count++) {
+ uio_unregister_device(info[count]);
+ if (info[count]->name)
+ kfree(info[count]->name);
+
+ }
+ iounmap(info[0]->mem[0].internal_addr);
+ iounmap(info[0]->mem[1].internal_addr);
+ if (ddr_virt_addr)
+ dma_free_coherent(&dev->dev, info[0]->mem[2].size, info[0]->mem[2].internal_addr, info[0]->mem[2].addr);
+
+ for (count = 0; count < PRUSS_INSTANCE; count++) {
+ if (info[count])
+ kfree(info[count]);
+ }
+
+ platform_set_drvdata(dev, NULL);
+
+ if (pruss_clk != NULL)
+ clk_put(pruss_clk);
+ if (ecap0_clk != NULL)
+ clk_put(ecap0_clk);
+
+
+ return 0;
+}
+
+static struct platform_driver pruss_driver = {
+ .probe = pruss_probe,
+ .remove = __devexit_p(pruss_remove),
+ .driver = {
+ .name = DRV_NAME,
+ .owner = THIS_MODULE,
+ },
+};
+
+static int __init pruss_init_module(void)
+{
+ return platform_driver_register(&pruss_driver);
+}
+module_init(pruss_init_module);
+
+static void __exit pruss_exit_module(void)
+{
+ platform_driver_unregister(&pruss_driver);
+}
+module_exit(pruss_exit_module);
+
+MODULE_LICENSE("GPL v2");
+MODULE_VERSION(DRV_VERSION);
+MODULE_AUTHOR("Amit Chatterjee <amit.chatterjee@ti.com>");
--
1.7.0.4

View File

@@ -1,243 +0,0 @@
From: Melissa Watkins <m-watkins@ti.com>
Date: Wed, 24 Nov 2010 04:18:07 -0600
Subject: [PATCH 2/3] uio_pruss2: Platform changes
Adding resources supporting the uio_pru driver within the
da850 (omapl138) device.
Signed-off-by: Amit Chatterjee <amit.chatterjee@ti.com>
Signed-off-by: Melissa Watkins <m-watkins@ti.com>
---
arch/arm/configs/da850_omapl138_defconfig | 8 +++-
arch/arm/mach-davinci/board-da850-evm.c | 3 +
arch/arm/mach-davinci/da850.c | 38 +++++++++++++-
arch/arm/mach-davinci/devices-da8xx.c | 75 ++++++++++++++++++++++++++++
arch/arm/mach-davinci/include/mach/da8xx.h | 3 +
5 files changed, 124 insertions(+), 3 deletions(-)
diff --git a/arch/arm/configs/da850_omapl138_defconfig b/arch/arm/configs/da850_omapl138_defconfig
index b312050..baebec8 100644
--- a/arch/arm/configs/da850_omapl138_defconfig
+++ b/arch/arm/configs/da850_omapl138_defconfig
@@ -1361,6 +1361,7 @@ CONFIG_USB_MUSB_HDRC=y
CONFIG_USB_MUSB_SOC=y
CONFIG_USB_MUSB_HOST=y
# CONFIG_USB_MUSB_PERIPHERAL is not set
+# CONFIG_USB_MUSB_DUAL_ROLE is not set
# CONFIG_USB_MUSB_OTG is not set
CONFIG_USB_MUSB_HDRC_HCD=y
# CONFIG_MUSB_PIO_ONLY is not set
@@ -1535,7 +1536,12 @@ CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_DRV_OMAP=y
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
-# CONFIG_UIO is not set
+CONFIG_UIO=y
+# CONFIG_UIO_PDRV is not set
+# CONFIG_UIO_PDRV_GENIRQ is not set
+# CONFIG_UIO_SMX is not set
+# CONFIG_UIO_SERCOS3 is not set
+CONFIG_UIO_PRUSS=m
#
# TI VLYNQ
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 009e9b5..1687c7c 100755
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1070,6 +1070,9 @@ static __init void da850_evm_init(void)
platform_device_register(&da850_gpio_i2c);
+ /* Register PRUSS device */
+ da8xx_register_pruss();
+
ret = da8xx_register_watchdog();
if (ret)
pr_warning("da830_evm_init: watchdog registration failed: %d\n",
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 513ae85..8bd1919 100755
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -237,6 +237,13 @@ static struct clk tptc2_clk = {
.flags = ALWAYS_ENABLED,
};
+static struct clk pruss_clk = {
+ .name = "pruss",
+ .parent = &pll0_sysclk2,
+ .lpsc = DA8XX_LPSC0_DMAX,
+ .flags = ALWAYS_ENABLED,
+};
+
static struct clk uart0_clk = {
.name = "uart0",
.parent = &pll0_sysclk2,
@@ -385,13 +392,37 @@ static struct clk usb20_clk = {
.gpsc = 1,
};
-
static struct clk sata_clk = {
.name = "ahci",
.parent = &pll0_sysclk2,
.lpsc = DA850_LPSC1_SATA,
.gpsc = 1,
};
+
+static struct clk ecap0_clk = {
+ .name = "ecap0",
+ .parent = &pll0_sysclk2,
+ .lpsc = DA8XX_LPSC1_ECAP,
+ .flags = DA850_CLK_ASYNC3,
+ .gpsc = 1,
+};
+
+static struct clk ecap1_clk = {
+ .name = "ecap1",
+ .parent = &pll0_sysclk2,
+ .lpsc = DA8XX_LPSC1_ECAP,
+ .flags = DA850_CLK_ASYNC3,
+ .gpsc = 1,
+};
+
+static struct clk ecap2_clk = {
+ .name = "ecap2",
+ .parent = &pll0_sysclk2,
+ .lpsc = DA8XX_LPSC1_ECAP,
+ .flags = DA850_CLK_ASYNC3,
+ .gpsc = 1,
+};
+
static struct clk_lookup da850_clks[] = {
CLK(NULL, "ref", &ref_clk),
CLK(NULL, "pll0", &pll0_clk),
@@ -419,6 +450,7 @@ static struct clk_lookup da850_clks[] = {
CLK(NULL, "tptc1", &tptc1_clk),
CLK(NULL, "tpcc1", &tpcc1_clk),
CLK(NULL, "tptc2", &tptc2_clk),
+ CLK(NULL, "pruss", &pruss_clk),
CLK(NULL, "uart0", &uart0_clk),
CLK(NULL, "uart1", &uart1_clk),
CLK(NULL, "uart2", &uart2_clk),
@@ -441,7 +473,9 @@ static struct clk_lookup da850_clks[] = {
CLK(NULL, "usb11", &usb11_clk),
CLK(NULL, "usb20", &usb20_clk),
CLK(NULL, "ahci", &sata_clk),
-
+ CLK(NULL, "ecap0", &ecap0_clk),
+ CLK(NULL, "ecap1", &ecap1_clk),
+ CLK(NULL, "ecap2", &ecap2_clk),
CLK(NULL, NULL, NULL),
};
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c
index 0842590..94979b3 100755
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -972,6 +972,81 @@ int __init da8xx_register_sata(void)
return platform_device_register(&da850_ahci_device);
}
+static struct resource pruss_resources[] = {
+ [0] = {
+ .start = DA8XX_PRUSS_BASE,
+ .end = DA8XX_PRUSS_BASE + SZ_64K - 1,
+ .flags = IORESOURCE_MEM,
+ },
+ [1] = {
+ .start = DA8XX_L3RAM_BASE,
+ .end = DA8XX_L3RAM_BASE + SZ_128K - 1,
+ .flags = IORESOURCE_MEM,
+ },
+ [2] = {
+ .start = 0,
+ .end = SZ_256K - 1,
+ .flags = IORESOURCE_MEM,
+ },
+
+ [3] = {
+ .start = IRQ_DA8XX_EVTOUT0,
+ .end = IRQ_DA8XX_EVTOUT0,
+ .flags = IORESOURCE_IRQ,
+ },
+ [4] = {
+ .start = IRQ_DA8XX_EVTOUT1,
+ .end = IRQ_DA8XX_EVTOUT1,
+ .flags = IORESOURCE_IRQ,
+ },
+ [5] = {
+ .start = IRQ_DA8XX_EVTOUT2,
+ .end = IRQ_DA8XX_EVTOUT2,
+ .flags = IORESOURCE_IRQ,
+ },
+ [6] = {
+ .start = IRQ_DA8XX_EVTOUT3,
+ .end = IRQ_DA8XX_EVTOUT3,
+ .flags = IORESOURCE_IRQ,
+ },
+ [7] = {
+ .start = IRQ_DA8XX_EVTOUT4,
+ .end = IRQ_DA8XX_EVTOUT4,
+ .flags = IORESOURCE_IRQ,
+ },
+ [8] = {
+ .start = IRQ_DA8XX_EVTOUT5,
+ .end = IRQ_DA8XX_EVTOUT5,
+ .flags = IORESOURCE_IRQ,
+ },
+ [9] = {
+ .start = IRQ_DA8XX_EVTOUT6,
+ .end = IRQ_DA8XX_EVTOUT6,
+ .flags = IORESOURCE_IRQ,
+ },
+ [10] = {
+ .start = IRQ_DA8XX_EVTOUT7,
+ .end = IRQ_DA8XX_EVTOUT7,
+ .flags = IORESOURCE_IRQ,
+ },
+};
+
+static struct platform_device pruss_device = {
+ .name = "pruss",
+ .id = 0,
+ .num_resources = ARRAY_SIZE(pruss_resources),
+ .resource = pruss_resources,
+ .dev = {
+ .coherent_dma_mask = 0xffffffff,
+ }
+
+};
+
+int __init da8xx_register_pruss()
+{
+ return platform_device_register(&pruss_device);
+}
+
#define CFGCHIP2 DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP2_REG)
/*
* Configure the USB PHY for DA8xx platforms.
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h
index f76433f..632d7e2 100755
--- a/arch/arm/mach-davinci/include/mach/da8xx.h
+++ b/arch/arm/mach-davinci/include/mach/da8xx.h
@@ -75,6 +75,8 @@ extern void __iomem *da8xx_syscfg1_base;
#define DA8XX_USB0_BASE 0x01e00000
#define DA850_SATA_BASE 0x01E18000
#define DA850_SATA_CLK_PWRDN 0x01E2C018
+#define DA8XX_PRUSS_BASE 0x01C30000
+#define DA8XX_L3RAM_BASE 0x80000000
#define PINMUX0 0x00
#define PINMUX1 0x04
@@ -162,6 +164,7 @@ int __init da850_register_vpif_capture(struct vpif_capture_config
int cppi41_init(void);
int da8xx_register_sata(void);
+int da8xx_register_pruss(void);
extern struct platform_device da8xx_serial_device;
--
1.7.0.4

View File

@@ -1,45 +0,0 @@
From: Melissa Watkins <m-watkins@ti.com>
Date: Wed, 24 Nov 2010 04:20:24 -0600
Subject: [PATCH 3/3] uio_pruss3: Workarounds put into core code to support our devices
This patch modifies uio.c to support the uio_pruss driver. The UIO user space module relies on IO memory being mapped to user space. The IO map works fine for all mapped virtual addresses less than 0x80000000. However for the uio_pruss driver, the virtual address is on the higher side, so it fails. The fix added in this patch is mainly to check if the page map returned is correct.
Signed-off-by: Amit Chatterjee <amit.chatterjee@ti.com>
Signed-off-by: Melissa Watkins <m-watkins@ti.com>
---
drivers/uio/uio.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index e941367..3241d26 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -19,7 +19,6 @@
#include <linux/device.h>
#include <linux/mm.h>
#include <linux/idr.h>
-#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kobject.h>
#include <linux/uio_driver.h>
@@ -615,7 +615,7 @@ static int uio_find_mem_index(struct vm_area_struct *vma)
for (mi = 0; mi < MAX_UIO_MAPS; mi++) {
if (idev->info->mem[mi].size == 0)
return -1;
- if (vma->vm_pgoff == mi)
+ if ((idev->info->mem[mi].addr) >> PAGE_SHIFT == vma->vm_pgoff)
return mi;
}
return -1;
@@ -659,7 +664,7 @@ static int uio_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
return 0;
}
-static const struct vm_operations_struct uio_vm_ops = {
+static struct vm_operations_struct uio_vm_ops = {
.open = uio_vma_open,
.close = uio_vma_close,
.fault = uio_vma_fault,
--
1.7.0.4

File diff suppressed because it is too large Load Diff

View File

@@ -1,160 +0,0 @@
--- /tmp/mach-types 2009-03-17 16:55:42.000000000 +0100
+++ git/arch/arm/tools/mach-types 2009-03-17 16:56:28.000000000 +0100
@@ -12,7 +12,7 @@
#
# http://www.arm.linux.org.uk/developer/machines/?action=new
#
-# Last update: Sun Nov 30 16:39:36 2008
+# Last update: Tue Mar 17 15:56:28 2009
#
# machine_is_xxx CONFIG_xxxx MACH_TYPE_xxx number
#
@@ -1811,7 +1811,7 @@
jade MACH_JADE JADE 1821
ks8695_softplc MACH_KS8695_SOFTPLC KS8695_SOFTPLC 1822
gprisc3 MACH_GPRISC3 GPRISC3 1823
-stamp9260 MACH_STAMP9260 STAMP9260 1824
+stamp9g20 MACH_STAMP9G20 STAMP9G20 1824
smdk6430 MACH_SMDK6430 SMDK6430 1825
smdkc100 MACH_SMDKC100 SMDKC100 1826
tavorevb MACH_TAVOREVB TAVOREVB 1827
@@ -1993,4 +1993,138 @@
benzina MACH_BENZINA BENZINA 2003
blaze MACH_BLAZE BLAZE 2004
linkstation_ls_hgl MACH_LINKSTATION_LS_HGL LINKSTATION_LS_HGL 2005
-htcvenus MACH_HTCVENUS HTCVENUS 2006
+htckovsky MACH_HTCVENUS HTCVENUS 2006
+sony_prs505 MACH_SONY_PRS505 SONY_PRS505 2007
+hanlin_v3 MACH_HANLIN_V3 HANLIN_V3 2008
+sapphira MACH_SAPPHIRA SAPPHIRA 2009
+dack_sda_01 MACH_DACK_SDA_01 DACK_SDA_01 2010
+armbox MACH_ARMBOX ARMBOX 2011
+harris_rvp MACH_HARRIS_RVP HARRIS_RVP 2012
+ribaldo MACH_RIBALDO RIBALDO 2013
+agora MACH_AGORA AGORA 2014
+omap3_mini MACH_OMAP3_MINI OMAP3_MINI 2015
+a9sam6432_b MACH_A9SAM6432_B A9SAM6432_B 2016
+usg2410 MACH_USG2410 USG2410 2017
+pc72052_i10_revb MACH_PC72052_I10_REVB PC72052_I10_REVB 2018
+mx35_exm32 MACH_MX35_EXM32 MX35_EXM32 2019
+topas910 MACH_TOPAS910 TOPAS910 2020
+hyena MACH_HYENA HYENA 2021
+pospax MACH_POSPAX POSPAX 2022
+hdl_gx MACH_HDL_GX HDL_GX 2023
+ctera_4bay MACH_CTERA_4BAY CTERA_4BAY 2024
+ctera_plug_c MACH_CTERA_PLUG_C CTERA_PLUG_C 2025
+crwea_plug_i MACH_CRWEA_PLUG_I CRWEA_PLUG_I 2026
+egauge2 MACH_EGAUGE2 EGAUGE2 2027
+didj MACH_DIDJ DIDJ 2028
+m_s3c2443 MACH_MEISTER MEISTER 2029
+htcblackstone MACH_HTCBLACKSTONE HTCBLACKSTONE 2030
+cpuat9g20 MACH_CPUAT9G20 CPUAT9G20 2031
+smdk6440 MACH_SMDK6440 SMDK6440 2032
+omap_35xx_mvp MACH_OMAP_35XX_MVP OMAP_35XX_MVP 2033
+ctera_plug_i MACH_CTERA_PLUG_I CTERA_PLUG_I 2034
+pvg610_100 MACH_PVG610 PVG610 2035
+hprw6815 MACH_HPRW6815 HPRW6815 2036
+omap3_oswald MACH_OMAP3_OSWALD OMAP3_OSWALD 2037
+nas4220b MACH_NAS4220B NAS4220B 2038
+htcraphael_cdma MACH_HTCRAPHAEL_CDMA HTCRAPHAEL_CDMA 2039
+htcdiamond_cdma MACH_HTCDIAMOND_CDMA HTCDIAMOND_CDMA 2040
+scaler MACH_SCALER SCALER 2041
+zylonite2 MACH_ZYLONITE2 ZYLONITE2 2042
+aspenite MACH_ASPENITE ASPENITE 2043
+teton MACH_TETON TETON 2044
+ttc_dkb MACH_TTC_DKB TTC_DKB 2045
+bishop2 MACH_BISHOP2 BISHOP2 2046
+ippv5 MACH_IPPV5 IPPV5 2047
+farm926 MACH_FARM926 FARM926 2048
+mmccpu MACH_MMCCPU MMCCPU 2049
+sgmsfl MACH_SGMSFL SGMSFL 2050
+tt8000 MACH_TT8000 TT8000 2051
+zrn4300lp MACH_ZRN4300LP ZRN4300LP 2052
+mptc MACH_MPTC MPTC 2053
+h6051 MACH_H6051 H6051 2054
+pvg610_101 MACH_PVG610_101 PVG610_101 2055
+stamp9261_pc_evb MACH_STAMP9261_PC_EVB STAMP9261_PC_EVB 2056
+pelco_odysseus MACH_PELCO_ODYSSEUS PELCO_ODYSSEUS 2057
+tny_a9260 MACH_TNY_A9260 TNY_A9260 2058
+tny_a9g20 MACH_TNY_A9G20 TNY_A9G20 2059
+aesop_mp2530f MACH_AESOP_MP2530F AESOP_MP2530F 2060
+dx900 MACH_DX900 DX900 2061
+cpodc2 MACH_CPODC2 CPODC2 2062
+tilt_8925 MACH_TILT_8925 TILT_8925 2063
+davinci_dm357_evm MACH_DAVINCI_DM357_EVM DAVINCI_DM357_EVM 2064
+swordfish MACH_SWORDFISH SWORDFISH 2065
+corvus MACH_CORVUS CORVUS 2066
+taurus MACH_TAURUS TAURUS 2067
+axm MACH_AXM AXM 2068
+axc MACH_AXC AXC 2069
+baby MACH_BABY BABY 2070
+mp200 MACH_MP200 MP200 2071
+pcm043 MACH_PCM043 PCM043 2072
+hanlin_v3c MACH_HANLIN_V3C HANLIN_V3C 2073
+kbk9g20 MACH_KBK9G20 KBK9G20 2074
+adsturbog5 MACH_ADSTURBOG5 ADSTURBOG5 2075
+avenger_lite1 MACH_AVENGER_LITE1 AVENGER_LITE1 2076
+suc82x MACH_SUC SUC 2077
+at91sam7s256 MACH_AT91SAM7S256 AT91SAM7S256 2078
+mendoza MACH_MENDOZA MENDOZA 2079
+kira MACH_KIRA KIRA 2080
+mx1hbm MACH_MX1HBM MX1HBM 2081
+quatro43xx MACH_QUATRO43XX QUATRO43XX 2082
+quatro4230 MACH_QUATRO4230 QUATRO4230 2083
+nsb400 MACH_NSB400 NSB400 2084
+drp255 MACH_DRP255 DRP255 2085
+thoth MACH_THOTH THOTH 2086
+firestone MACH_FIRESTONE FIRESTONE 2087
+asusp750 MACH_ASUSP750 ASUSP750 2088
+ctera_dl MACH_CTERA_DL CTERA_DL 2089
+socr MACH_SOCR SOCR 2090
+htcoxygen MACH_HTCOXYGEN HTCOXYGEN 2091
+heroc MACH_HEROC HEROC 2092
+zeno6800 MACH_ZENO6800 ZENO6800 2093
+sc2mcs MACH_SC2MCS SC2MCS 2094
+gene100 MACH_GENE100 GENE100 2095
+as353x MACH_AS353X AS353X 2096
+sheevaplug MACH_SHEEVAPLUG SHEEVAPLUG 2097
+at91sam9g20 MACH_AT91SAM9G20 AT91SAM9G20 2098
+mv88f6192gtw_fe MACH_MV88F6192GTW_FE MV88F6192GTW_FE 2099
+cc9200 MACH_CC9200 CC9200 2100
+sm9200 MACH_SM9200 SM9200 2101
+tp9200 MACH_TP9200 TP9200 2102
+snapperdv MACH_SNAPPERDV SNAPPERDV 2103
+avengers_lite MACH_AVENGERS_LITE AVENGERS_LITE 2104
+avengers_lite1 MACH_AVENGERS_LITE1 AVENGERS_LITE1 2105
+omap3axon MACH_OMAP3AXON OMAP3AXON 2106
+ma8xx MACH_MA8XX MA8XX 2107
+mp201ek MACH_MP201EK MP201EK 2108
+davinci_tux MACH_DAVINCI_TUX DAVINCI_TUX 2109
+mpa1600 MACH_MPA1600 MPA1600 2110
+pelco_troy MACH_PELCO_TROY PELCO_TROY 2111
+nsb667 MACH_NSB667 NSB667 2112
+rovers5_4mpix MACH_ROVERS5_4MPIX ROVERS5_4MPIX 2113
+twocom MACH_TWOCOM TWOCOM 2114
+ubisys_p9_rcu3r2 MACH_UBISYS_P9_RCU3R2 UBISYS_P9_RCU3R2 2115
+hero_espresso MACH_HERO_ESPRESSO HERO_ESPRESSO 2116
+afeusb MACH_AFEUSB AFEUSB 2117
+t830 MACH_T830 T830 2118
+spd8020_cc MACH_SPD8020_CC SPD8020_CC 2119
+om_3d7k MACH_OM_3D7K OM_3D7K 2120
+picocom2 MACH_PICOCOM2 PICOCOM2 2121
+uwg4mx27 MACH_UWG4MX27 UWG4MX27 2122
+uwg4mx31 MACH_UWG4MX31 UWG4MX31 2123
+cherry MACH_CHERRY CHERRY 2124
+mx51_babbage MACH_MX51_BABBAGE MX51_BABBAGE 2125
+s3c2440turkiye MACH_S3C2440TURKIYE S3C2440TURKIYE 2126
+tx37 MACH_TX37 TX37 2127
+sbc2800_9g20 MACH_SBC2800_9G20 SBC2800_9G20 2128
+benzglb MACH_BENZGLB BENZGLB 2129
+benztd MACH_BENZTD BENZTD 2130
+cartesio_plus MACH_CARTESIO_PLUS CARTESIO_PLUS 2131
+solrad_g20 MACH_SOLRAD_G20 SOLRAD_G20 2132
+mx27wallace MACH_MX27WALLACE MX27WALLACE 2133
+fmzwebmodul MACH_FMZWEBMODUL FMZWEBMODUL 2134
+rd78x00_masa MACH_RD78X00_MASA RD78X00_MASA 2135
+smallogger MACH_SMALLOGGER SMALLOGGER 2136
+ccw9p9215 MACH_CCW9P9215 CCW9P9215 2137
+dm355_leopard MACH_DM355_LEOPARD DM355_LEOPARD 2138
+ts219 MACH_TS219 TS219 2139
+tny_a9263 MACH_TNY_A9263 TNY_A9263 2140

View File

@@ -1,57 +0,0 @@
require multi-kernel.inc
DESCRIPTION = "Linux kernel for DaVinci processors"
KERNEL_IMAGETYPE = "uImage"
COMPATIBLE_MACHINE = "hawkboard"
DEFAULT_PREFERENCE_hawkboard = "1"
BRANCH = "master"
SRC_URI_append = " file://defconfig "
S = "${WORKDIR}/git"
# The main PR is now using MACHINE_KERNEL_PR, for davinci see conf/machine/include/davinci.inc
# OMAPL tracking master branch - PSP 3.20.00.12
ARAGO_L1_REV = "2acf935c01b9adb50164d421c40cdc5862b9e143"
ARAGO_L1_BR = "master"
ARAGO_L1_PV = "2.6.32+2.6.33-rc4-${PR}+gitr${SRCREV}"
ARAGO_L1_URI = "git://arago-project.org/git/projects/linux-omapl1.git;protocol=git;branch=${BRANCH} "
SRCREV_hawkboard = "${ARAGO_L1_REV}"
PV_omapl138 = "${ARAGO_L1_PV}"
BRANCH_omapl138 = "${ARAGO_L1_BR}"
SRC_URI_append_omapl138 = "${ARAGO_L1_URI}"
SRC_URI_append_omapl138 = " file://logo_linux_clut224.ppm \
file://0001-ahci-ti-Fix-currently-harmless-typo-in-SATA-PHY.patch \
file://0002-ahci-ti-Update-SATA-PHY-configuration-RXCDR.patch \
file://0001-board-da850-evm-Disable-NAND-SUBPAGE.patch \
file://0001-uio_pruss1-Core-driver-addition.patch \
file://0002-uio_pruss2-Platform-changes.patch \
file://0003-uio_pruss3-Workarounds-put-into-core-code.patch \
file://0001-cgroupfs-create-sys-fs-cgroup-to-mount-cgroupfs-on.patch \
file://0001-ARM-6329-1-wire-up-sys_accept4-on-ARM.patch \
"
SRC_URI_append_hawkboard = " \
file://patch-2.6.33rc4-psp-to-hawkboard.patch \
file://0001-board-da850-hawk-Disable-NAND-SUBPAGE.patch \
"
# Perf in 2.6.33rc has broken perl handling, so disable it
do_compile_perf() {
:
}
do_install_perf() {
:
}

View File

@@ -1,117 +0,0 @@
From 16c1bdb30f1bcd750b29dffd2ef3003be2d30610 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Fri, 20 May 2011 12:48:37 +0200
Subject: [PATCH 1/7] OMAP3: beagle: add support for beagleboard xM revision C
The USB enable GPIO has been inverted and the USER button moved.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
arch/arm/mach-omap2/board-omap3beagle.c | 34 +++++++++++++++++++++++-------
1 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 2de4b02..77bafa8 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -62,7 +62,9 @@
* AXBX = GPIO173, GPIO172, GPIO171: 1 1 1
* C1_3 = GPIO173, GPIO172, GPIO171: 1 1 0
* C4 = GPIO173, GPIO172, GPIO171: 1 0 1
- * XM = GPIO173, GPIO172, GPIO171: 0 0 0
+ * XMA = GPIO173, GPIO172, GPIO171: 0 0 0
+ * XMB = GPIO173, GPIO172, GPIO171: 0 0 1
+ * XMC = GPIO173, GPIO172, GPIO171: 0 1 0
*/
enum {
OMAP3BEAGLE_BOARD_UNKN = 0,
@@ -70,6 +72,7 @@ enum {
OMAP3BEAGLE_BOARD_C1_3,
OMAP3BEAGLE_BOARD_C4,
OMAP3BEAGLE_BOARD_XM,
+ OMAP3BEAGLE_BOARD_XMC,
};
static u8 omap3_beagle_version;
@@ -124,9 +127,18 @@ static void __init omap3_beagle_init_rev(void)
printk(KERN_INFO "OMAP3 Beagle Rev: xM\n");
omap3_beagle_version = OMAP3BEAGLE_BOARD_XM;
break;
+ case 1:
+ printk(KERN_INFO "OMAP3 Beagle Rev: xM B\n");
+ omap3_beagle_version = OMAP3BEAGLE_BOARD_XM;
+ break;
+ case 2:
+ printk(KERN_INFO "OMAP3 Beagle Rev: xM C\n");
+ omap3_beagle_version = OMAP3BEAGLE_BOARD_XMC;
+ break;
default:
- printk(KERN_INFO "OMAP3 Beagle Rev: unknown %hd\n", beagle_rev);
- omap3_beagle_version = OMAP3BEAGLE_BOARD_UNKN;
+ printk(KERN_INFO
+ "OMAP3 Beagle Rev: unknown %hd, assuming xM C or newer\n", beagle_rev);
+ omap3_beagle_version = OMAP3BEAGLE_BOARD_XMC;
}
return;
@@ -278,7 +290,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
{
int r;
- if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) {
+ if (cpu_is_omap3630()) {
mmc[0].gpio_wp = -EINVAL;
} else if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_C1_3) ||
(omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_C4)) {
@@ -298,7 +310,8 @@ static int beagle_twl_gpio_setup(struct device *dev,
/* REVISIT: need ehci-omap hooks for external VBUS
* power switch and overcurrent detect
*/
- if (omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XM) {
+ if (omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XM
+ && omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC) {
r = gpio_request(gpio + 1, "EHCI_nOC");
if (!r) {
r = gpio_direction_input(gpio + 1);
@@ -320,7 +333,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0);
/* DVI reset GPIO is different between beagle revisions */
- if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM)
+ if (cpu_is_omap3630())
beagle_dvi_device.reset_gpio = 129;
else
beagle_dvi_device.reset_gpio = 170;
@@ -334,7 +347,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
* P7/P8 revisions(prototype): Camera EN
* A2+ revisions (production): LDO (supplies DVI, serial, led blocks)
*/
- if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) {
+ if (cpu_is_omap3630()) {
r = gpio_request(gpio + 1, "nDVI_PWR_EN");
if (!r) {
r = gpio_direction_output(gpio + 1, 0);
@@ -625,7 +638,7 @@ static void __init beagle_opp_init(void)
}
/* Custom OPP enabled for XM */
- if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) {
+ if (cpu_is_omap3630()) {
struct omap_hwmod *mh = omap_hwmod_lookup("mpu");
struct omap_hwmod *dh = omap_hwmod_lookup("iva");
struct device *dev;
@@ -665,6 +678,11 @@ static void __init omap3_beagle_init(void)
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
omap3_beagle_init_rev();
omap3_beagle_i2c_init();
+
+ if (cpu_is_omap3630()) {
+ gpio_buttons[0].gpio = 4;
+ }
+
platform_add_devices(omap3_beagle_devices,
ARRAY_SIZE(omap3_beagle_devices));
omap_display_init(&beagle_dss_data);
--
1.6.6.1

View File

@@ -1,359 +0,0 @@
From 27494059a5d005b8cad4e0e8640ff031b86220dc Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Fri, 20 May 2011 13:06:24 +0200
Subject: [PATCH 2/7] OMAP3: beagle: add support for expansionboards
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
arch/arm/mach-omap2/board-omap3beagle.c | 272 ++++++++++++++++++++++++++++++-
1 files changed, 269 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 77bafa8..db285e1 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -21,6 +21,7 @@
#include <linux/io.h>
#include <linux/leds.h>
#include <linux/gpio.h>
+#include <linux/irq.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <linux/opp.h>
@@ -154,6 +155,167 @@ fail0:
return;
}
+char expansionboard_name[16];
+
+#if defined(CONFIG_WL12XX) || defined(CONFIG_WL12XX_MODULE)
+#include <linux/regulator/fixed.h>
+#include <linux/wl12xx.h>
+
+#define OMAP_BEAGLE_WLAN_EN_GPIO (139)
+#define OMAP_BEAGLE_BT_EN_GPIO (138)
+#define OMAP_BEAGLE_WLAN_IRQ_GPIO (137)
+#define OMAP_BEAGLE_FM_EN_BT_WU (136)
+
+struct wl12xx_platform_data omap_beagle_wlan_data __initdata = {
+ .irq = OMAP_GPIO_IRQ(OMAP_BEAGLE_WLAN_IRQ_GPIO),
+ .board_ref_clock = 2, /* 38.4 MHz */
+};
+
+static int gpios[] = {OMAP_BEAGLE_BT_EN_GPIO, OMAP_BEAGLE_FM_EN_BT_WU, -1};
+static struct platform_device wl12xx_device = {
+ .name = "kim",
+ .id = -1,
+ .dev.platform_data = &gpios,
+};
+
+static struct omap2_hsmmc_info mmcbbt[] = {
+ {
+ .mmc = 1,
+ .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
+ .gpio_wp = 29,
+ },
+ {
+ .name = "wl1271",
+ .mmc = 2,
+ .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD,
+ .gpio_wp = -EINVAL,
+ .gpio_cd = -EINVAL,
+ .ocr_mask = MMC_VDD_165_195,
+ .nonremovable = true,
+ },
+ {} /* Terminator */
+ };
+
+static struct regulator_consumer_supply beagle_vmmc2_supply =
+ REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1");
+
+static struct regulator_init_data beagle_vmmc2 = {
+ .constraints = {
+ .min_uV = 1850000,
+ .max_uV = 1850000,
+ .apply_uV = true,
+ .valid_modes_mask = REGULATOR_MODE_NORMAL
+ | REGULATOR_MODE_STANDBY,
+ .valid_ops_mask = REGULATOR_CHANGE_MODE
+ | REGULATOR_CHANGE_STATUS,
+ },
+ .num_consumer_supplies = 1,
+ .consumer_supplies = &beagle_vmmc2_supply,
+};
+
+static struct fixed_voltage_config beagle_vwlan = {
+ .supply_name = "vwl1271",
+ .microvolts = 1800000, /* 1.8V */
+ .gpio = OMAP_BEAGLE_WLAN_EN_GPIO,
+ .startup_delay = 70000, /* 70ms */
+ .enable_high = 1,
+ .enabled_at_boot = 0,
+ .init_data = &beagle_vmmc2,
+};
+
+static struct platform_device omap_vwlan_device = {
+ .name = "reg-fixed-voltage",
+ .id = 1,
+ .dev = {
+ .platform_data = &beagle_vwlan,
+ },
+};
+#endif
+
+#if defined(CONFIG_ENC28J60) || defined(CONFIG_ENC28J60_MODULE)
+
+#include <plat/mcspi.h>
+#include <linux/spi/spi.h>
+
+#define OMAP3BEAGLE_GPIO_ENC28J60_IRQ 157
+
+static struct omap2_mcspi_device_config enc28j60_spi_chip_info = {
+ .turbo_mode = 0,
+ .single_channel = 1, /* 0: slave, 1: master */
+};
+
+static struct spi_board_info omap3beagle_zippy_spi_board_info[] __initdata = {
+ {
+ .modalias = "enc28j60",
+ .bus_num = 4,
+ .chip_select = 0,
+ .max_speed_hz = 20000000,
+ .controller_data = &enc28j60_spi_chip_info,
+ },
+};
+
+static void __init omap3beagle_enc28j60_init(void)
+{
+ if ((gpio_request(OMAP3BEAGLE_GPIO_ENC28J60_IRQ, "ENC28J60_IRQ") == 0) &&
+ (gpio_direction_input(OMAP3BEAGLE_GPIO_ENC28J60_IRQ) == 0)) {
+ gpio_export(OMAP3BEAGLE_GPIO_ENC28J60_IRQ, 0);
+ omap3beagle_zippy_spi_board_info[0].irq = OMAP_GPIO_IRQ(OMAP3BEAGLE_GPIO_ENC28J60_IRQ);
+ irq_set_irq_type(omap3beagle_zippy_spi_board_info[0].irq, IRQ_TYPE_EDGE_FALLING);
+ } else {
+ printk(KERN_ERR "could not obtain gpio for ENC28J60_IRQ\n");
+ return;
+ }
+
+ spi_register_board_info(omap3beagle_zippy_spi_board_info,
+ ARRAY_SIZE(omap3beagle_zippy_spi_board_info));
+}
+
+#else
+static inline void __init omap3beagle_enc28j60_init(void) { return; }
+#endif
+
+#if defined(CONFIG_KS8851) || defined(CONFIG_KS8851_MODULE)
+
+#include <plat/mcspi.h>
+#include <linux/spi/spi.h>
+
+#define OMAP3BEAGLE_GPIO_KS8851_IRQ 157
+
+static struct omap2_mcspi_device_config ks8851_spi_chip_info = {
+ .turbo_mode = 0,
+ .single_channel = 1, /* 0: slave, 1: master */
+};
+
+static struct spi_board_info omap3beagle_zippy2_spi_board_info[] __initdata = {
+ {
+ .modalias = "ks8851",
+ .bus_num = 4,
+ .chip_select = 0,
+ .max_speed_hz = 36000000,
+ .controller_data = &ks8851_spi_chip_info,
+ },
+};
+
+static void __init omap3beagle_ks8851_init(void)
+{
+ if ((gpio_request(OMAP3BEAGLE_GPIO_KS8851_IRQ, "KS8851_IRQ") == 0) &&
+ (gpio_direction_input(OMAP3BEAGLE_GPIO_KS8851_IRQ) == 0)) {
+ gpio_export(OMAP3BEAGLE_GPIO_KS8851_IRQ, 0);
+ omap3beagle_zippy2_spi_board_info[0].irq = OMAP_GPIO_IRQ(OMAP3BEAGLE_GPIO_KS8851_IRQ);
+ irq_set_irq_type(omap3beagle_zippy2_spi_board_info[0].irq, IRQ_TYPE_EDGE_FALLING);
+ } else {
+ printk(KERN_ERR "could not obtain gpio for KS8851_IRQ\n");
+ return;
+ }
+
+ spi_register_board_info(omap3beagle_zippy2_spi_board_info,
+ ARRAY_SIZE(omap3beagle_zippy2_spi_board_info));
+}
+
+#else
+static inline void __init omap3beagle_ks8851_init(void) { return; }
+#endif
+
static struct mtd_partition omap3beagle_nand_partitions[] = {
/* All the partition sizes are listed in terms of NAND block size */
{
@@ -272,6 +434,12 @@ static struct omap2_hsmmc_info mmc[] = {
.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
.gpio_wp = 29,
},
+ {
+ .mmc = 2,
+ .caps = MMC_CAP_4_BIT_DATA,
+ .transceiver = true,
+ .ocr_mask = 0x00100000, /* 3.3V */
+ },
{} /* Terminator */
};
@@ -301,11 +469,25 @@ static int beagle_twl_gpio_setup(struct device *dev,
}
/* gpio + 0 is "mmc0_cd" (input/IRQ) */
mmc[0].gpio_cd = gpio + 0;
+#if defined(CONFIG_WL12XX) || defined(CONFIG_WL12XX_MODULE)
+ if(!strcmp(expansionboard_name, "bbtoys-wifi")) {
+ omap2_hsmmc_init(mmcbbt);
+ /* link regulators to MMC adapters */
+ beagle_vmmc1_supply.dev = mmcbbt[0].dev;
+ beagle_vsim_supply.dev = mmcbbt[0].dev;
+ } else {
+ omap2_hsmmc_init(mmc);
+ /* link regulators to MMC adapters */
+ beagle_vmmc1_supply.dev = mmc[0].dev;
+ beagle_vsim_supply.dev = mmc[0].dev;
+ }
+#else
omap2_hsmmc_init(mmc);
/* link regulators to MMC adapters */
beagle_vmmc1_supply.dev = mmc[0].dev;
beagle_vsim_supply.dev = mmc[0].dev;
+#endif
/* REVISIT: need ehci-omap hooks for external VBUS
* power switch and overcurrent detect
@@ -466,7 +648,7 @@ static struct twl4030_platform_data beagle_twldata = {
.vpll2 = &beagle_vpll2,
};
-static struct i2c_board_info __initdata beagle_i2c_boardinfo[] = {
+static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = {
{
I2C_BOARD_INFO("twl4030", 0x48),
.flags = I2C_CLIENT_WAKE,
@@ -481,10 +663,24 @@ static struct i2c_board_info __initdata beagle_i2c_eeprom[] = {
},
};
+#if defined(CONFIG_RTC_DRV_DS1307) || \
+ defined(CONFIG_RTC_DRV_DS1307_MODULE)
+
+static struct i2c_board_info __initdata beagle_i2c2_boardinfo[] = {
+ {
+ I2C_BOARD_INFO("ds1307", 0x68),
+ },
+};
+#else
+static struct i2c_board_info __initdata beagle_i2c2_boardinfo[] = {};
+#endif
+
static int __init omap3_beagle_i2c_init(void)
{
- omap_register_i2c_bus(1, 2600, beagle_i2c_boardinfo,
- ARRAY_SIZE(beagle_i2c_boardinfo));
+ omap_register_i2c_bus(1, 2600, beagle_i2c1_boardinfo,
+ ARRAY_SIZE(beagle_i2c1_boardinfo));
+ omap_register_i2c_bus(2, 400, beagle_i2c2_boardinfo,
+ ARRAY_SIZE(beagle_i2c2_boardinfo));
/* Bus 3 is attached to the DVI port where devices like the pico DLP
* projector don't work reliably with 400kHz */
omap_register_i2c_bus(3, 100, beagle_i2c_eeprom, ARRAY_SIZE(beagle_i2c_eeprom));
@@ -627,6 +823,15 @@ static struct omap_musb_board_data musb_board_data = {
.power = 100,
};
+static int __init expansionboard_setup(char *str)
+{
+ if (!str)
+ return -EINVAL;
+ strncpy(expansionboard_name, str, 16);
+ printk(KERN_INFO "Beagle expansionboard: %s\n", expansionboard_name);
+ return 0;
+}
+
static void __init beagle_opp_init(void)
{
int r = 0;
@@ -693,6 +898,65 @@ static void __init omap3_beagle_init(void)
/* REVISIT leave DVI powered down until it's needed ... */
gpio_direction_output(170, true);
+ if(!strcmp(expansionboard_name, "zippy"))
+ {
+ printk(KERN_INFO "Beagle expansionboard: initializing enc28j60\n");
+ omap3beagle_enc28j60_init();
+ printk(KERN_INFO "Beagle expansionboard: assigning GPIO 141 and 162 to MMC1\n");
+ mmc[1].gpio_wp = 141;
+ mmc[1].gpio_cd = 162;
+ }
+
+ if(!strcmp(expansionboard_name, "zippy2"))
+ {
+ printk(KERN_INFO "Beagle expansionboard: initializing ks_8851\n");
+ omap3beagle_ks8851_init();
+ printk(KERN_INFO "Beagle expansionboard: assigning GPIO 141 and 162 to MMC1\n");
+ mmc[1].gpio_wp = 141;
+ mmc[1].gpio_cd = 162;
+ }
+
+ if(!strcmp(expansionboard_name, "trainer"))
+ {
+ printk(KERN_INFO "Beagle expansionboard: exporting GPIOs 130-141,162 to userspace\n");
+ gpio_request(130, "sysfs");
+ gpio_export(130, 1);
+ gpio_request(131, "sysfs");
+ gpio_export(131, 1);
+ gpio_request(132, "sysfs");
+ gpio_export(132, 1);
+ gpio_request(133, "sysfs");
+ gpio_export(133, 1);
+ gpio_request(134, "sysfs");
+ gpio_export(134, 1);
+ gpio_request(135, "sysfs");
+ gpio_export(135, 1);
+ gpio_request(136, "sysfs");
+ gpio_export(136, 1);
+ gpio_request(137, "sysfs");
+ gpio_export(137, 1);
+ gpio_request(138, "sysfs");
+ gpio_export(138, 1);
+ gpio_request(139, "sysfs");
+ gpio_export(139, 1);
+ gpio_request(140, "sysfs");
+ gpio_export(140, 1);
+ gpio_request(141, "sysfs");
+ gpio_export(141, 1);
+ gpio_request(162, "sysfs");
+ gpio_export(162, 1);
+ }
+
+ if(!strcmp(expansionboard_name, "bbtoys-wifi"))
+ {
+ if (wl12xx_set_platform_data(&omap_beagle_wlan_data))
+ pr_err("error setting wl12xx data\n");
+ printk(KERN_INFO "Beagle expansionboard: registering wl12xx bt platform device\n");
+ platform_device_register(&wl12xx_device);
+ printk(KERN_INFO "Beagle expansionboard: registering wl12xx wifi platform device\n");
+ platform_device_register(&omap_vwlan_device);
+ }
+
usb_musb_init(&musb_board_data);
usbhs_init(&usbhs_bdata);
omap3beagle_flash_init();
@@ -705,6 +969,8 @@ static void __init omap3_beagle_init(void)
beagle_opp_init();
}
+early_param("buddy", expansionboard_setup);
+
MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")
/* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */
.boot_params = 0x80000100,
--
1.6.6.1

View File

@@ -1,36 +0,0 @@
From 91e701f3287923d11dd295b6a62186909e362503 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Sat, 21 May 2011 16:18:30 +0200
Subject: [PATCH 3/7] OMAP3: beagle: add MADC support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
arch/arm/mach-omap2/board-omap3beagle.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index db285e1..da4ba50 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -634,6 +634,10 @@ static struct twl4030_codec_data beagle_codec_data = {
.audio = &beagle_audio_data,
};
+static struct twl4030_madc_platform_data beagle_madc_data = {
+ .irq_line = 1,
+};
+
static struct twl4030_platform_data beagle_twldata = {
.irq_base = TWL4030_IRQ_BASE,
.irq_end = TWL4030_IRQ_END,
@@ -642,6 +646,7 @@ static struct twl4030_platform_data beagle_twldata = {
.usb = &beagle_usb_data,
.gpio = &beagle_gpio_data,
.codec = &beagle_codec_data,
+ .madc = &beagle_madc_data,
.vmmc1 = &beagle_vmmc1,
.vsim = &beagle_vsim,
.vdac = &beagle_vdac,
--
1.6.6.1

View File

@@ -1,88 +0,0 @@
From 9d7f46abab88c74e674461a2f4e9ab35b524a6ef Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 25 May 2011 08:56:06 +0200
Subject: [PATCH 4/7] OMAP3: beagle: add regulators for camera interface
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
arch/arm/mach-omap2/board-omap3beagle.c | 50 +++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index da4ba50..211cbdf 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -453,6 +453,44 @@ static struct regulator_consumer_supply beagle_vsim_supply = {
static struct gpio_led gpio_leds[];
+static struct regulator_consumer_supply beagle_vaux3_supply = {
+ .supply = "cam_1v8",
+};
+
+static struct regulator_consumer_supply beagle_vaux4_supply = {
+ .supply = "cam_2v8",
+};
+
+/* VAUX3 for CAM_1V8 */
+static struct regulator_init_data beagle_vaux3 = {
+ .constraints = {
+ .min_uV = 1800000,
+ .max_uV = 1800000,
+ .apply_uV = true,
+ .valid_modes_mask = REGULATOR_MODE_NORMAL
+ | REGULATOR_MODE_STANDBY,
+ .valid_ops_mask = REGULATOR_CHANGE_MODE
+ | REGULATOR_CHANGE_STATUS,
+ },
+ .num_consumer_supplies = 1,
+ .consumer_supplies = &beagle_vaux3_supply,
+};
+
+/* VAUX4 for CAM_2V8 */
+static struct regulator_init_data beagle_vaux4 = {
+ .constraints = {
+ .min_uV = 1800000,
+ .max_uV = 1800000,
+ .apply_uV = true,
+ .valid_modes_mask = REGULATOR_MODE_NORMAL
+ | REGULATOR_MODE_STANDBY,
+ .valid_ops_mask = REGULATOR_CHANGE_MODE
+ | REGULATOR_CHANGE_STATUS,
+ },
+ .num_consumer_supplies = 1,
+ .consumer_supplies = &beagle_vaux4_supply,
+};
+
static int beagle_twl_gpio_setup(struct device *dev,
unsigned gpio, unsigned ngpio)
{
@@ -504,6 +542,16 @@ static int beagle_twl_gpio_setup(struct device *dev,
pr_err("%s: unable to configure EHCI_nOC\n", __func__);
}
+ if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) {
+ /*
+ * Power on camera interface - only on pre-production, not
+ * needed on production boards
+ */
+ gpio_request(gpio + 2, "CAM_EN");
+ gpio_direction_output(gpio + 2, 1);
+ }
+
+
/*
* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, XM active
* high / others active low)
@@ -651,6 +699,8 @@ static struct twl4030_platform_data beagle_twldata = {
.vsim = &beagle_vsim,
.vdac = &beagle_vdac,
.vpll2 = &beagle_vpll2,
+ .vaux3 = &beagle_vaux3,
+ .vaux4 = &beagle_vaux4,
};
static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = {
--
1.6.6.1

View File

@@ -1,31 +0,0 @@
From aa93263ed7827e33148396656b7e7ab4579509a5 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 25 May 2011 08:57:40 +0200
Subject: [PATCH 5/7] OMAP3: beagle: HACK! add in 1GHz OPP
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
arch/arm/mach-omap2/board-omap3beagle.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 211cbdf..221bfda 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -911,11 +911,13 @@ static void __init beagle_opp_init(void)
/* Enable MPU 1GHz and lower opps */
dev = &mh->od->pdev.dev;
r = opp_enable(dev, 800000000);
+ r |= opp_enable(dev, 1000000000);
/* TODO: MPU 1GHz needs SR and ABB */
/* Enable IVA 800MHz and lower opps */
dev = &dh->od->pdev.dev;
r |= opp_enable(dev, 660000000);
+ r |= opp_enable(dev, 800000000);
/* TODO: DSP 800MHz needs SR and ABB */
if (r) {
pr_err("%s: failed to enable higher opp %d\n",
--
1.6.6.1

View File

@@ -1,27 +0,0 @@
From dd2c7ba245ec1b17e3d323a6c4a1cad9697dbbbe Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 15 Jun 2011 16:25:50 +0200
Subject: [PATCH 6/7] OMAP3: BEAGLE: fix RTC
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
arch/arm/mach-omap2/board-omap3beagle.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 221bfda..61564a4 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -941,6 +941,9 @@ static void __init omap3_beagle_init(void)
omap3_beagle_init_rev();
omap3_beagle_i2c_init();
+ /* Ensure msecure is mux'd to be able to set the RTC. */
+ omap_mux_init_signal("sys_drm_msecure", OMAP_PIN_OFF_OUTPUT_HIGH);
+
if (cpu_is_omap3630()) {
gpio_buttons[0].gpio = 4;
}
--
1.6.6.1

View File

@@ -1,33 +0,0 @@
From bd0b2f97c48aa6aac0c6a494f1c6ba5af5de486b Mon Sep 17 00:00:00 2001
From: Steve Sakoman <steve@sakoman.com>
Date: Mon, 18 Jul 2011 23:13:41 -0500
Subject: [PATCH] omap_hsmmc: Set dto to max value of 14 to avoid SD Card timeouts
This fixes MMC errors due to timeouts on certain SD Cards following suggestions
to set dto to 14 by Jason Kridner and Steven Kipisz
Details of the issue:
http://talk.maemo.org/showthread.php?p=1000707#post1000707
This fix was originally proposed by Sukumar Ghoral of TI.
---
drivers/mmc/host/omap_hsmmc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 9646a75..7443647 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1049,6 +1049,9 @@ static void set_data_timeout(struct omap_hsmmc_host *host,
dto = 14;
}
+ /* Set dto to max value of 14 to avoid SD Card timeouts */
+ dto = 14;
+
reg &= ~DTO_MASK;
reg |= dto << DTO_SHIFT;
OMAP_HSMMC_WRITE(host->base, SYSCTL, reg);
--
1.7.0.4

View File

@@ -1,42 +0,0 @@
From 101b0aedf8152711847e2f9f347d267a3ac7f287 Mon Sep 17 00:00:00 2001
From: Sanjeev Premi <premi@ti.com>
Date: Fri, 24 Jun 2011 16:23:45 +0000
Subject: [PATCH 7/7] omap3: beagle: Use GPTIMERi 1 for clockevents
The current selection of the GPTIMER on was result of
a hardware issue in early versions of the Beagleboards
(Ax and B1 thru B4). [1] [2]
Its been long since the hardware issue has been fixed.
This patch uses GPTIMER 1 for all newer board revisions
incl. Beagleboard XM.
[1] http://thread.gmane.org/gmane.comp.hardware.beagleboard.general/91
[2] Errata #7 at http://elinux.org/BeagleBoard#Errata
Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
---
arch/arm/mach-omap2/board-omap3beagle.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 61564a4..20d5912 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -806,7 +806,10 @@ static void __init omap3_beagle_init_irq(void)
{
omap_init_irq();
#ifdef CONFIG_OMAP_32K_TIMER
- omap2_gp_clockevent_set_gptimer(12);
+ if (omap3_beagle_version == OMAP3BEAGLE_BOARD_AXBX)
+ omap2_gp_clockevent_set_gptimer(12);
+ else
+ omap2_gp_clockevent_set_gptimer(1);
#endif
}
--
1.6.6.1

View File

@@ -1,859 +0,0 @@
From e630a914bf14bf190feaf4a2cc57f6b27c4024e1 Mon Sep 17 00:00:00 2001
From: Javier Martin <javier.martin@vista-silicon.com>
Date: Wed, 1 Jun 2011 17:36:48 +0200
Subject: [PATCH 1/3] Add driver for Aptina (Micron) mt9p031 sensor.
Clock frequency of 57MHz used in previous version was wrong since
when VDD_IO is 1.8V it can only support 48MHz.
Two new platform flags have been added:
- vdd_io: indicates whether the chip is powered with 1.8 or 2.8 VDD_IO.
So that it can use the maximum allowed frequency.
- version: monochrome and color versions of the chip have exactly
the same ID, so the only way to select one of them is through
platform data.
Internal PLL is now used to generate PIXCLK depending on VDD_IO.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
---
drivers/media/video/Kconfig | 7 +
drivers/media/video/Makefile | 1 +
drivers/media/video/mt9p031.c | 763 +++++++++++++++++++++++++++++++++++++++++
include/media/mt9p031.h | 23 ++
4 files changed, 794 insertions(+), 0 deletions(-)
create mode 100644 drivers/media/video/mt9p031.c
create mode 100644 include/media/mt9p031.h
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 00f51dd..cb87e35 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -329,6 +329,13 @@ config VIDEO_OV7670
OV7670 VGA camera. It currently only works with the M88ALP01
controller.
+config VIDEO_MT9P031
+ tristate "Aptina MT9P031 support"
+ depends on I2C && VIDEO_V4L2
+ ---help---
+ This is a Video4Linux2 sensor-level driver for the Aptina
+ (Micron) mt9p031 5 Mpixel camera.
+
config VIDEO_MT9V011
tristate "Micron mt9v011 sensor support"
depends on I2C && VIDEO_V4L2
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index ace5d8b..912b29b 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -65,6 +65,7 @@ obj-$(CONFIG_VIDEO_UPD64083) += upd64083.o
obj-$(CONFIG_VIDEO_OV7670) += ov7670.o
obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
+obj-$(CONFIG_VIDEO_MT9P031) += mt9p031.o
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o
diff --git a/drivers/media/video/mt9p031.c b/drivers/media/video/mt9p031.c
new file mode 100644
index 0000000..cd830b1
--- /dev/null
+++ b/drivers/media/video/mt9p031.c
@@ -0,0 +1,763 @@
+/*
+ * Driver for MT9P031 CMOS Image Sensor from Aptina
+ *
+ * Copyright (C) 2011, Javier Martin <javier.martin@vista-silicon.com>
+ *
+ * Copyright (C) 2011, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
+ *
+ * Based on the MT9V032 driver and Bastian Hecht's code.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/delay.h>
+#include <linux/device.h>
+#include <linux/i2c.h>
+#include <linux/log2.h>
+#include <linux/pm.h>
+#include <linux/slab.h>
+#include <media/v4l2-subdev.h>
+#include <linux/videodev2.h>
+
+#include <media/mt9p031.h>
+#include <media/v4l2-chip-ident.h>
+#include <media/v4l2-subdev.h>
+#include <media/v4l2-device.h>
+
+#define MT9P031_EXTCLK_FREQ 20000000
+
+#define MT9P031_CHIP_VERSION 0x00
+#define MT9P031_CHIP_VERSION_VALUE 0x1801
+#define MT9P031_ROW_START 0x01
+#define MT9P031_ROW_START_MIN 1
+#define MT9P031_ROW_START_MAX 2004
+#define MT9P031_ROW_START_DEF 54
+#define MT9P031_COLUMN_START 0x02
+#define MT9P031_COLUMN_START_MIN 1
+#define MT9P031_COLUMN_START_MAX 2750
+#define MT9P031_COLUMN_START_DEF 16
+#define MT9P031_WINDOW_HEIGHT 0x03
+#define MT9P031_WINDOW_HEIGHT_MIN 2
+#define MT9P031_WINDOW_HEIGHT_MAX 2003
+#define MT9P031_WINDOW_HEIGHT_DEF 2003
+#define MT9P031_WINDOW_WIDTH 0x04
+#define MT9P031_WINDOW_WIDTH_MIN 18
+#define MT9P031_WINDOW_WIDTH_MAX 2751
+#define MT9P031_WINDOW_WIDTH_DEF 2751
+#define MT9P031_H_BLANKING 0x05
+#define MT9P031_H_BLANKING_VALUE 0
+#define MT9P031_V_BLANKING 0x06
+#define MT9P031_V_BLANKING_VALUE 25
+#define MT9P031_OUTPUT_CONTROL 0x07
+#define MT9P031_OUTPUT_CONTROL_CEN 2
+#define MT9P031_OUTPUT_CONTROL_SYN 1
+#define MT9P031_SHUTTER_WIDTH_UPPER 0x08
+#define MT9P031_SHUTTER_WIDTH 0x09
+#define MT9P031_PLL_CONTROL 0x10
+#define MT9P031_PLL_CONTROL_PWROFF 0x0050
+#define MT9P031_PLL_CONTROL_PWRON 0x0051
+#define MT9P031_PLL_CONTROL_USEPLL 0x0052
+#define MT9P031_PLL_CONFIG_1 0x11
+#define MT9P031_PLL_CONFIG_1_M_48MHZ 0x5000
+#define MT9P031_PLL_CONFIG_1_N_48MHZ 0x05
+#define MT9P031_PLL_CONFIG_1_M_96MHZ 0x3600
+#define MT9P031_PLL_CONFIG_1_N_96MHZ 0x05
+#define MT9P031_PLL_CONFIG_2 0x12
+#define MT9P031_PLL_CONFIG_2_P1_48MHZ 5
+#define MT9P031_PLL_CONFIG_2_P1_96MHZ 2
+#define MT9P031_PIXEL_CLOCK_CONTROL 0x0a
+#define MT9P031_FRAME_RESTART 0x0b
+#define MT9P031_SHUTTER_DELAY 0x0c
+#define MT9P031_RST 0x0d
+#define MT9P031_RST_ENABLE 1
+#define MT9P031_RST_DISABLE 0
+#define MT9P031_READ_MODE_1 0x1e
+#define MT9P031_READ_MODE_2 0x20
+#define MT9P031_READ_MODE_2_ROW_MIR 0x8000
+#define MT9P031_READ_MODE_2_COL_MIR 0x4000
+#define MT9P031_ROW_ADDRESS_MODE 0x22
+#define MT9P031_COLUMN_ADDRESS_MODE 0x23
+#define MT9P031_GLOBAL_GAIN 0x35
+
+struct mt9p031 {
+ struct v4l2_subdev subdev;
+ struct media_pad pad;
+ struct v4l2_rect rect; /* Sensor window */
+ struct v4l2_mbus_framefmt format;
+ struct mt9p031_platform_data *pdata;
+ struct mutex power_lock; /* lock to protect power_count */
+ int power_count;
+ u16 xskip;
+ u16 yskip;
+ /* cache register values */
+ u16 output_control;
+};
+
+static struct mt9p031 *to_mt9p031(const struct i2c_client *client)
+{
+ return container_of(i2c_get_clientdata(client), struct mt9p031, subdev);
+}
+
+static int reg_read(struct i2c_client *client, const u8 reg)
+{
+ s32 data = i2c_smbus_read_word_data(client, reg);
+ return data < 0 ? data : swab16(data);
+}
+
+static int reg_write(struct i2c_client *client, const u8 reg,
+ const u16 data)
+{
+ return i2c_smbus_write_word_data(client, reg, swab16(data));
+}
+
+static int mt9p031_set_output_control(struct mt9p031 *mt9p031, u16 clear,
+ u16 set)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
+ u16 value = (mt9p031->output_control & ~clear) | set;
+ int ret;
+
+ ret = reg_write(client, MT9P031_OUTPUT_CONTROL, value);
+ if (ret < 0)
+ return ret;
+ mt9p031->output_control = value;
+ return 0;
+}
+
+static int mt9p031_reset(struct i2c_client *client)
+{
+ struct mt9p031 *mt9p031 = to_mt9p031(client);
+ int ret;
+
+ /* Disable chip output, synchronous option update */
+ ret = reg_write(client, MT9P031_RST, MT9P031_RST_ENABLE);
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_RST, MT9P031_RST_DISABLE);
+ if (ret < 0)
+ return ret;
+ return mt9p031_set_output_control(mt9p031,
+ MT9P031_OUTPUT_CONTROL_CEN, 0);
+}
+
+static int mt9p031_power_on(struct mt9p031 *mt9p031)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
+ int ret;
+
+ /* Ensure RESET_BAR is low */
+ if (mt9p031->pdata->reset) {
+ mt9p031->pdata->reset(&mt9p031->subdev, 1);
+ msleep(1);
+ }
+ /* Emable clock */
+ if (mt9p031->pdata->set_xclk)
+ mt9p031->pdata->set_xclk(&mt9p031->subdev, MT9P031_EXTCLK_FREQ);
+ /* Now RESET_BAR must be high */
+ if (mt9p031->pdata->reset) {
+ mt9p031->pdata->reset(&mt9p031->subdev, 0);
+ msleep(1);
+ }
+ /* soft reset */
+ ret = mt9p031_reset(client);
+ if (ret < 0) {
+ dev_err(&client->dev, "Failed to reset the camera\n");
+ return ret;
+ }
+ return 0;
+}
+
+static void mt9p031_power_off(struct mt9p031 *mt9p031)
+{
+ if (mt9p031->pdata->reset) {
+ mt9p031->pdata->reset(&mt9p031->subdev, 1);
+ msleep(1);
+ }
+ if (mt9p031->pdata->set_xclk)
+ mt9p031->pdata->set_xclk(&mt9p031->subdev, 0);
+}
+
+static int mt9p031_enum_mbus_code(struct v4l2_subdev *sd,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_mbus_code_enum *code)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+
+ if (code->pad || code->index)
+ return -EINVAL;
+
+ code->code = mt9p031->format.code;
+ return 0;
+}
+
+static struct v4l2_mbus_framefmt *mt9p031_get_pad_format(
+ struct mt9p031 *mt9p031,
+ struct v4l2_subdev_fh *fh,
+ unsigned int pad, u32 which)
+{
+ switch (which) {
+ case V4L2_SUBDEV_FORMAT_TRY:
+ return v4l2_subdev_get_try_format(fh, pad);
+ case V4L2_SUBDEV_FORMAT_ACTIVE:
+ return &mt9p031->format;
+ default:
+ return NULL;
+ }
+}
+
+static struct v4l2_rect *mt9p031_get_pad_crop(struct mt9p031 *mt9p031,
+ struct v4l2_subdev_fh *fh, unsigned int pad, u32 which)
+{
+ switch (which) {
+ case V4L2_SUBDEV_FORMAT_TRY:
+ return v4l2_subdev_get_try_crop(fh, pad);
+ case V4L2_SUBDEV_FORMAT_ACTIVE:
+ return &mt9p031->rect;
+ default:
+ return NULL;
+ }
+}
+
+static int mt9p031_get_crop(struct v4l2_subdev *sd,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_crop *crop)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+ struct v4l2_rect *rect = mt9p031_get_pad_crop(mt9p031, fh, crop->pad,
+ crop->which);
+ if (!rect)
+ return -EINVAL;
+
+ crop->rect = *rect;
+
+ return 0;
+}
+
+static u16 mt9p031_skip_for_crop(s32 source, s32 *target, s32 max_skip)
+{
+ unsigned int skip;
+
+ if (source - source / 4 < *target) {
+ *target = source;
+ return 1;
+ }
+
+ skip = DIV_ROUND_CLOSEST(source, *target);
+ if (skip > max_skip)
+ skip = max_skip;
+ *target = 2 * DIV_ROUND_UP(source, 2 * skip);
+
+ return skip;
+}
+
+static int mt9p031_set_params(struct i2c_client *client,
+ struct v4l2_rect *rect, u16 xskip, u16 yskip)
+{
+ struct mt9p031 *mt9p031 = to_mt9p031(client);
+ int ret;
+ u16 xbin, ybin;
+ const u16 hblank = MT9P031_H_BLANKING_VALUE,
+ vblank = MT9P031_V_BLANKING_VALUE;
+ __s32 left;
+
+ /*
+ * TODO: Attention! When implementing horizontal flipping, adjust
+ * alignment according to R2 "Column Start" description in the datasheet
+ */
+ if (xskip & 1) {
+ xbin = 1;
+ left = rect->left & (~3);
+ } else if (xskip & 2) {
+ xbin = 2;
+ left = rect->left & (~7);
+ } else {
+ xbin = 4;
+ left = rect->left & (~15);
+ }
+ ybin = min(yskip, (u16)4);
+
+ /* Disable register update, reconfigure atomically */
+ ret = mt9p031_set_output_control(mt9p031, 0,
+ MT9P031_OUTPUT_CONTROL_SYN);
+ if (ret < 0)
+ return ret;
+
+ dev_dbg(&client->dev, "skip %u:%u, rect %ux%u@%u:%u\n",
+ xskip, yskip, rect->width, rect->height, rect->left, rect->top);
+
+ /* Blanking and start values - default... */
+ ret = reg_write(client, MT9P031_H_BLANKING, hblank);
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_V_BLANKING, vblank);
+ if (ret < 0)
+ return ret;
+
+ ret = reg_write(client, MT9P031_COLUMN_ADDRESS_MODE,
+ ((xbin - 1) << 4) | (xskip - 1));
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_ROW_ADDRESS_MODE,
+ ((ybin - 1) << 4) | (yskip - 1));
+ if (ret < 0)
+ return ret;
+
+ dev_dbg(&client->dev, "new physical left %u, top %u\n",
+ rect->left, rect->top);
+
+ ret = reg_write(client, MT9P031_COLUMN_START,
+ rect->left);
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_ROW_START,
+ rect->top);
+ if (ret < 0)
+ return ret;
+
+ ret = reg_write(client, MT9P031_WINDOW_WIDTH,
+ rect->width - 1);
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_WINDOW_HEIGHT,
+ rect->height - 1);
+ if (ret < 0)
+ return ret;
+
+ /* Re-enable register update, commit all changes */
+ ret = mt9p031_set_output_control(mt9p031,
+ MT9P031_OUTPUT_CONTROL_SYN, 0);
+ if (ret < 0)
+ return ret;
+
+ mt9p031->xskip = xskip;
+ mt9p031->yskip = yskip;
+ return ret;
+}
+
+static int mt9p031_set_crop(struct v4l2_subdev *sd,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_crop *crop)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+ struct v4l2_mbus_framefmt *f;
+ struct v4l2_rect *c;
+ struct v4l2_rect rect;
+ u16 xskip, yskip;
+ s32 width, height;
+
+ dev_dbg(mt9p031->subdev.v4l2_dev->dev, "%s(%ux%u@%u:%u : %u)\n",
+ __func__, crop->rect.width, crop->rect.height,
+ crop->rect.left, crop->rect.top, crop->which);
+
+ /*
+ * Clamp the crop rectangle boundaries and align them to a multiple of 2
+ * pixels.
+ */
+ rect.width = ALIGN(clamp(crop->rect.width,
+ MT9P031_WINDOW_WIDTH_MIN,
+ MT9P031_WINDOW_WIDTH_MAX), 2);
+ rect.height = ALIGN(clamp(crop->rect.height,
+ MT9P031_WINDOW_HEIGHT_MIN,
+ MT9P031_WINDOW_HEIGHT_MAX), 2);
+ rect.left = ALIGN(clamp(crop->rect.left,
+ MT9P031_COLUMN_START_MIN,
+ MT9P031_COLUMN_START_MAX), 2);
+ rect.top = ALIGN(clamp(crop->rect.top,
+ MT9P031_ROW_START_MIN,
+ MT9P031_ROW_START_MAX), 2);
+
+ c = mt9p031_get_pad_crop(mt9p031, fh, crop->pad, crop->which);
+
+ if (rect.width != c->width || rect.height != c->height) {
+ /*
+ * Reset the output image size if the crop rectangle size has
+ * been modified.
+ */
+ f = mt9p031_get_pad_format(mt9p031, fh, crop->pad,
+ crop->which);
+ width = f->width;
+ height = f->height;
+
+ xskip = mt9p031_skip_for_crop(rect.width, &width, 7);
+ yskip = mt9p031_skip_for_crop(rect.height, &height, 8);
+ } else {
+ xskip = mt9p031->xskip;
+ yskip = mt9p031->yskip;
+ f = NULL;
+ }
+ if (f) {
+ f->width = width;
+ f->height = height;
+ }
+
+ *c = rect;
+ crop->rect = rect;
+
+ mt9p031->xskip = xskip;
+ mt9p031->yskip = yskip;
+ mt9p031->rect = *c;
+ return 0;
+}
+
+static int mt9p031_get_format(struct v4l2_subdev *sd,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_format *fmt)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+
+ fmt->format =
+ *mt9p031_get_pad_format(mt9p031, fh, fmt->pad, fmt->which);
+ return 0;
+}
+
+static u16 mt9p031_skip_for_scale(s32 *source, s32 target,
+ s32 max_skip, s32 max)
+{
+ unsigned int skip;
+
+ if (*source - *source / 4 < target) {
+ *source = target;
+ return 1;
+ }
+
+ skip = min(max, *source + target / 2) / target;
+ if (skip > max_skip)
+ skip = max_skip;
+ *source = target * skip;
+
+ return skip;
+}
+
+static int mt9p031_set_format(struct v4l2_subdev *sd,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_format *format)
+{
+ struct v4l2_mbus_framefmt *__format;
+ struct v4l2_rect *__crop, rect;
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+ unsigned int width;
+ unsigned int height;
+ u16 xskip, yskip;
+
+ __crop = mt9p031_get_pad_crop(mt9p031, fh, format->pad, format->which);
+
+ width = clamp_t(int, ALIGN(format->format.width, 2), 2,
+ MT9P031_WINDOW_WIDTH_MAX);
+ height = clamp_t(int, ALIGN(format->format.height, 2), 2,
+ MT9P031_WINDOW_HEIGHT_MAX);
+
+ rect.width = __crop->width;
+ rect.height = __crop->height;
+
+ xskip = mt9p031_skip_for_scale(&rect.width, width, 7,
+ MT9P031_WINDOW_WIDTH_MAX);
+ if (rect.width + __crop->left > MT9P031_WINDOW_WIDTH_MAX)
+ rect.left = (MT9P031_WINDOW_WIDTH_MAX - rect.width) / 2;
+ else
+ rect.left = __crop->left;
+ yskip = mt9p031_skip_for_scale(&rect.height, height, 8,
+ MT9P031_WINDOW_HEIGHT_MAX);
+ if (rect.height + __crop->top > MT9P031_WINDOW_HEIGHT_MAX)
+ rect.top = (MT9P031_WINDOW_HEIGHT_MAX - rect.height) / 2;
+ else
+ rect.top = __crop->top;
+
+ dev_dbg(mt9p031->subdev.v4l2_dev->dev, "%s(%ux%u : %u)\n", __func__,
+ width, height, format->which);
+ if (__crop)
+ *__crop = rect;
+
+ __format = mt9p031_get_pad_format(mt9p031, fh, format->pad,
+ format->which);
+ __format->width = width;
+ __format->height = height;
+ format->format = *__format;
+
+ mt9p031->xskip = xskip;
+ mt9p031->yskip = yskip;
+ mt9p031->rect = *__crop;
+ return 0;
+}
+
+static int mt9p031_pll_enable(struct i2c_client *client)
+{
+ struct mt9p031 *mt9p031 = to_mt9p031(client);
+ int ret;
+
+ ret = reg_write(client, MT9P031_PLL_CONTROL, MT9P031_PLL_CONTROL_PWRON);
+ if (ret < 0)
+ return ret;
+
+ /* Always set the maximum frequency allowed by VDD_IO */
+ if (mt9p031->pdata->vdd_io == MT9P031_VDD_IO_2V8) {
+ ret = reg_write(client, MT9P031_PLL_CONFIG_1,
+ MT9P031_PLL_CONFIG_1_M_96MHZ |
+ MT9P031_PLL_CONFIG_1_N_96MHZ);
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_PLL_CONFIG_2,
+ MT9P031_PLL_CONFIG_2_P1_96MHZ);
+ if (ret < 0)
+ return ret;
+ } else {
+ ret = reg_write(client, MT9P031_PLL_CONFIG_1,
+ MT9P031_PLL_CONFIG_1_M_48MHZ |
+ MT9P031_PLL_CONFIG_1_N_48MHZ);
+ if (ret < 0)
+ return ret;
+ ret = reg_write(client, MT9P031_PLL_CONFIG_2,
+ MT9P031_PLL_CONFIG_2_P1_48MHZ);
+ if (ret < 0)
+ return ret;
+ }
+ mdelay(1);
+ ret = reg_write(client, MT9P031_PLL_CONTROL,
+ MT9P031_PLL_CONTROL_PWRON |
+ MT9P031_PLL_CONTROL_USEPLL);
+ mdelay(1);
+ return ret;
+}
+
+static inline int mt9p031_pll_disable(struct i2c_client *client)
+{
+ return reg_write(client, MT9P031_PLL_CONTROL,
+ MT9P031_PLL_CONTROL_PWROFF);
+}
+
+static int mt9p031_s_stream(struct v4l2_subdev *sd, int enable)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
+ struct v4l2_rect rect = mt9p031->rect;
+ u16 xskip = mt9p031->xskip;
+ u16 yskip = mt9p031->yskip;
+ int ret;
+
+ if (enable) {
+ ret = mt9p031_set_params(client, &rect, xskip, yskip);
+ if (ret < 0)
+ return ret;
+ /* Switch to master "normal" mode */
+ ret = mt9p031_set_output_control(mt9p031, 0,
+ MT9P031_OUTPUT_CONTROL_CEN);
+ if (ret < 0)
+ return ret;
+ ret = mt9p031_pll_enable(client);
+ } else {
+ /* Stop sensor readout */
+ ret = mt9p031_set_output_control(mt9p031,
+ MT9P031_OUTPUT_CONTROL_CEN, 0);
+ if (ret < 0)
+ return ret;
+ ret = mt9p031_pll_disable(client);
+ }
+ return ret;
+}
+
+static int mt9p031_video_probe(struct i2c_client *client)
+{
+ s32 data;
+
+ /* Read out the chip version register */
+ data = reg_read(client, MT9P031_CHIP_VERSION);
+ if (data != MT9P031_CHIP_VERSION_VALUE) {
+ dev_err(&client->dev,
+ "No MT9P031 chip detected, register read %x\n", data);
+ return -ENODEV;
+ }
+
+ dev_info(&client->dev, "Detected a MT9P031 chip ID %x\n", data);
+
+ return 0;
+}
+
+static int mt9p031_set_power(struct v4l2_subdev *sd, int on)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+ int ret = 0;
+
+ mutex_lock(&mt9p031->power_lock);
+
+ /*
+ * If the power count is modified from 0 to != 0 or from != 0 to 0,
+ * update the power state.
+ */
+ if (mt9p031->power_count == !on) {
+ if (on) {
+ ret = mt9p031_power_on(mt9p031);
+ if (ret) {
+ dev_err(mt9p031->subdev.v4l2_dev->dev,
+ "Failed to power on: %d\n", ret);
+ goto out;
+ }
+ } else {
+ mt9p031_power_off(mt9p031);
+ }
+ }
+
+ /* Update the power count. */
+ mt9p031->power_count += on ? 1 : -1;
+ WARN_ON(mt9p031->power_count < 0);
+
+out:
+ mutex_unlock(&mt9p031->power_lock);
+ return ret;
+}
+
+static int mt9p031_registered(struct v4l2_subdev *sd)
+{
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev);
+ int ret;
+
+ ret = mt9p031_set_power(&mt9p031->subdev, 1);
+ if (ret) {
+ dev_err(&client->dev,
+ "Failed to power on device: %d\n", ret);
+ return ret;
+ }
+
+ ret = mt9p031_video_probe(client);
+
+ mt9p031_set_power(&mt9p031->subdev, 0);
+
+ return ret;
+}
+
+static int mt9p031_open(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
+{
+ struct mt9p031 *mt9p031;
+ mt9p031 = container_of(sd, struct mt9p031, subdev);
+
+ mt9p031->rect.width = MT9P031_WINDOW_WIDTH_DEF;
+ mt9p031->rect.height = MT9P031_WINDOW_HEIGHT_DEF;
+ mt9p031->rect.left = MT9P031_COLUMN_START_DEF;
+ mt9p031->rect.top = MT9P031_ROW_START_DEF;
+
+ if (mt9p031->pdata->version == MT9P031_MONOCHROME_VERSION)
+ mt9p031->format.code = V4L2_MBUS_FMT_Y12_1X12;
+ else
+ mt9p031->format.code = V4L2_MBUS_FMT_SGRBG12_1X12;
+
+ mt9p031->format.width = MT9P031_WINDOW_WIDTH_DEF;
+ mt9p031->format.height = MT9P031_WINDOW_HEIGHT_DEF;
+ mt9p031->format.field = V4L2_FIELD_NONE;
+ mt9p031->format.colorspace = V4L2_COLORSPACE_SRGB;
+
+ mt9p031->xskip = 1;
+ mt9p031->yskip = 1;
+ return mt9p031_set_power(sd, 1);
+}
+
+static int mt9p031_close(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh)
+{
+ return mt9p031_set_power(sd, 0);
+}
+
+static struct v4l2_subdev_core_ops mt9p031_subdev_core_ops = {
+ .s_power = mt9p031_set_power,
+};
+
+static struct v4l2_subdev_video_ops mt9p031_subdev_video_ops = {
+ .s_stream = mt9p031_s_stream,
+};
+
+static struct v4l2_subdev_pad_ops mt9p031_subdev_pad_ops = {
+ .enum_mbus_code = mt9p031_enum_mbus_code,
+ .get_fmt = mt9p031_get_format,
+ .set_fmt = mt9p031_set_format,
+ .get_crop = mt9p031_get_crop,
+ .set_crop = mt9p031_set_crop,
+};
+
+static struct v4l2_subdev_ops mt9p031_subdev_ops = {
+ .core = &mt9p031_subdev_core_ops,
+ .video = &mt9p031_subdev_video_ops,
+ .pad = &mt9p031_subdev_pad_ops,
+};
+
+static const struct v4l2_subdev_internal_ops mt9p031_subdev_internal_ops = {
+ .registered = mt9p031_registered,
+ .open = mt9p031_open,
+ .close = mt9p031_close,
+};
+
+static int mt9p031_probe(struct i2c_client *client,
+ const struct i2c_device_id *did)
+{
+ int ret;
+ struct mt9p031 *mt9p031;
+ struct mt9p031_platform_data *pdata = client->dev.platform_data;
+ struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
+
+ if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_WORD_DATA)) {
+ dev_warn(&adapter->dev,
+ "I2C-Adapter doesn't support I2C_FUNC_SMBUS_WORD\n");
+ return -EIO;
+ }
+
+ mt9p031 = kzalloc(sizeof(struct mt9p031), GFP_KERNEL);
+ if (!mt9p031)
+ return -ENOMEM;
+
+ mutex_init(&mt9p031->power_lock);
+ v4l2_i2c_subdev_init(&mt9p031->subdev, client, &mt9p031_subdev_ops);
+ mt9p031->subdev.internal_ops = &mt9p031_subdev_internal_ops;
+
+ mt9p031->pdata = pdata;
+
+ mt9p031->pad.flags = MEDIA_PAD_FL_SOURCE;
+ ret = media_entity_init(&mt9p031->subdev.entity, 1, &mt9p031->pad, 0);
+ if (ret)
+ return ret;
+
+ mt9p031->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
+
+ return 0;
+}
+
+static int mt9p031_remove(struct i2c_client *client)
+{
+ struct v4l2_subdev *sd = i2c_get_clientdata(client);
+ struct mt9p031 *mt9p031 = container_of(sd, struct mt9p031, subdev);
+
+ v4l2_device_unregister_subdev(sd);
+ media_entity_cleanup(&sd->entity);
+ kfree(mt9p031);
+
+ return 0;
+}
+
+static const struct i2c_device_id mt9p031_id[] = {
+ { "mt9p031", 0 },
+ { }
+};
+MODULE_DEVICE_TABLE(i2c, mt9p031_id);
+
+static struct i2c_driver mt9p031_i2c_driver = {
+ .driver = {
+ .name = "mt9p031",
+ },
+ .probe = mt9p031_probe,
+ .remove = mt9p031_remove,
+ .id_table = mt9p031_id,
+};
+
+static int __init mt9p031_mod_init(void)
+{
+ return i2c_add_driver(&mt9p031_i2c_driver);
+}
+
+static void __exit mt9p031_mod_exit(void)
+{
+ i2c_del_driver(&mt9p031_i2c_driver);
+}
+
+module_init(mt9p031_mod_init);
+module_exit(mt9p031_mod_exit);
+
+MODULE_DESCRIPTION("Aptina MT9P031 Camera driver");
+MODULE_AUTHOR("Bastian Hecht <hechtb@gmail.com>");
+MODULE_LICENSE("GPL v2");
diff --git a/include/media/mt9p031.h b/include/media/mt9p031.h
new file mode 100644
index 0000000..27b4c75
--- /dev/null
+++ b/include/media/mt9p031.h
@@ -0,0 +1,23 @@
+#ifndef MT9P031_H
+#define MT9P031_H
+
+struct v4l2_subdev;
+
+enum {
+ MT9P031_COLOR_VERSION = 0,
+ MT9P031_MONOCHROME_VERSION = 1,
+};
+
+enum {
+ MT9P031_VDD_IO_1V8 = 0,
+ MT9P031_VDD_IO_2V8 = 1,
+};
+
+struct mt9p031_platform_data {
+ int (*set_xclk)(struct v4l2_subdev *subdev, int hz);
+ int (*reset)(struct v4l2_subdev *subdev, int active);
+ int vdd_io; /* MT9P031_VDD_IO_1V8 or MT9P031_VDD_IO_2V8 */
+ int version; /* MT9P031_COLOR_VERSION or MT9P031_MONOCHROME_VERSION */
+};
+
+#endif
--
1.6.6.1

View File

@@ -1,853 +0,0 @@
From ba65e798c98e9c4d331deb2b51337964336d3f78 Mon Sep 17 00:00:00 2001
From: Detlev Casanova <detlev.casanova@gmail.com>
Date: Sun, 28 Nov 2010 19:07:20 +0100
Subject: [PATCH 2/3] v4l: Add mt9v032 sensor driver
The MT9V032 is a parallel wide VGA sensor from Aptina (formerly Micron)
controlled through I2C.
The driver creates a V4L2 subdevice. It currently supports binning and
cropping, and the gain, auto gain, exposure, auto exposure and test
pattern controls.
Signed-off-by: Detlev Casanova <detlev.casanova@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
drivers/media/video/Kconfig | 7 +
drivers/media/video/Makefile | 1 +
drivers/media/video/mt9v032.c | 773 +++++++++++++++++++++++++++++++++++++++++
include/media/mt9v032.h | 12 +
4 files changed, 793 insertions(+), 0 deletions(-)
create mode 100644 drivers/media/video/mt9v032.c
create mode 100644 include/media/mt9v032.h
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index cb87e35..3a5bc57 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -344,6 +344,13 @@ config VIDEO_MT9V011
mt0v011 1.3 Mpixel camera. It currently only works with the
em28xx driver.
+config VIDEO_MT9V032
+ tristate "Micron MT9V032 sensor support"
+ depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+ ---help---
+ This is a Video4Linux2 sensor-level driver for the Micron
+ MT9V032 752x480 CMOS sensor.
+
config VIDEO_TCM825X
tristate "TCM825x camera sensor support"
depends on I2C && VIDEO_V4L2
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index 912b29b..6679c6a 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -67,6 +67,7 @@ obj-$(CONFIG_VIDEO_TCM825X) += tcm825x.o
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o
obj-$(CONFIG_VIDEO_MT9P031) += mt9p031.o
obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
+obj-$(CONFIG_VIDEO_MT9V032) += mt9v032.o
obj-$(CONFIG_VIDEO_SR030PC30) += sr030pc30.o
obj-$(CONFIG_VIDEO_NOON010PC30) += noon010pc30.o
diff --git a/drivers/media/video/mt9v032.c b/drivers/media/video/mt9v032.c
new file mode 100644
index 0000000..c64e1dc
--- /dev/null
+++ b/drivers/media/video/mt9v032.c
@@ -0,0 +1,773 @@
+/*
+ * Driver for MT9V032 CMOS Image Sensor from Micron
+ *
+ * Copyright (C) 2010, Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+ *
+ * Based on the MT9M001 driver,
+ *
+ * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/delay.h>
+#include <linux/i2c.h>
+#include <linux/log2.h>
+#include <linux/mutex.h>
+#include <linux/slab.h>
+#include <linux/videodev2.h>
+#include <linux/v4l2-mediabus.h>
+
+#include <media/mt9v032.h>
+#include <media/v4l2-ctrls.h>
+#include <media/v4l2-device.h>
+#include <media/v4l2-subdev.h>
+
+#define MT9V032_PIXEL_ARRAY_HEIGHT 492
+#define MT9V032_PIXEL_ARRAY_WIDTH 782
+
+#define MT9V032_CHIP_VERSION 0x00
+#define MT9V032_CHIP_ID_REV1 0x1311
+#define MT9V032_CHIP_ID_REV3 0x1313
+#define MT9V032_COLUMN_START 0x01
+#define MT9V032_COLUMN_START_MIN 1
+#define MT9V032_COLUMN_START_DEF 1
+#define MT9V032_COLUMN_START_MAX 752
+#define MT9V032_ROW_START 0x02
+#define MT9V032_ROW_START_MIN 4
+#define MT9V032_ROW_START_DEF 5
+#define MT9V032_ROW_START_MAX 482
+#define MT9V032_WINDOW_HEIGHT 0x03
+#define MT9V032_WINDOW_HEIGHT_MIN 1
+#define MT9V032_WINDOW_HEIGHT_DEF 480
+#define MT9V032_WINDOW_HEIGHT_MAX 480
+#define MT9V032_WINDOW_WIDTH 0x04
+#define MT9V032_WINDOW_WIDTH_MIN 1
+#define MT9V032_WINDOW_WIDTH_DEF 752
+#define MT9V032_WINDOW_WIDTH_MAX 752
+#define MT9V032_HORIZONTAL_BLANKING 0x05
+#define MT9V032_HORIZONTAL_BLANKING_MIN 43
+#define MT9V032_HORIZONTAL_BLANKING_MAX 1023
+#define MT9V032_VERTICAL_BLANKING 0x06
+#define MT9V032_VERTICAL_BLANKING_MIN 4
+#define MT9V032_VERTICAL_BLANKING_MAX 3000
+#define MT9V032_CHIP_CONTROL 0x07
+#define MT9V032_CHIP_CONTROL_MASTER_MODE (1 << 3)
+#define MT9V032_CHIP_CONTROL_DOUT_ENABLE (1 << 7)
+#define MT9V032_CHIP_CONTROL_SEQUENTIAL (1 << 8)
+#define MT9V032_SHUTTER_WIDTH1 0x08
+#define MT9V032_SHUTTER_WIDTH2 0x09
+#define MT9V032_SHUTTER_WIDTH_CONTROL 0x0a
+#define MT9V032_TOTAL_SHUTTER_WIDTH 0x0b
+#define MT9V032_TOTAL_SHUTTER_WIDTH_MIN 1
+#define MT9V032_TOTAL_SHUTTER_WIDTH_DEF 480
+#define MT9V032_TOTAL_SHUTTER_WIDTH_MAX 32767
+#define MT9V032_RESET 0x0c
+#define MT9V032_READ_MODE 0x0d
+#define MT9V032_READ_MODE_ROW_BIN_MASK (3 << 0)
+#define MT9V032_READ_MODE_ROW_BIN_SHIFT 0
+#define MT9V032_READ_MODE_COLUMN_BIN_MASK (3 << 2)
+#define MT9V032_READ_MODE_COLUMN_BIN_SHIFT 2
+#define MT9V032_READ_MODE_ROW_FLIP (1 << 4)
+#define MT9V032_READ_MODE_COLUMN_FLIP (1 << 5)
+#define MT9V032_READ_MODE_DARK_COLUMNS (1 << 6)
+#define MT9V032_READ_MODE_DARK_ROWS (1 << 7)
+#define MT9V032_PIXEL_OPERATION_MODE 0x0f
+#define MT9V032_PIXEL_OPERATION_MODE_COLOR (1 << 2)
+#define MT9V032_PIXEL_OPERATION_MODE_HDR (1 << 6)
+#define MT9V032_ANALOG_GAIN 0x35
+#define MT9V032_ANALOG_GAIN_MIN 16
+#define MT9V032_ANALOG_GAIN_DEF 16
+#define MT9V032_ANALOG_GAIN_MAX 64
+#define MT9V032_MAX_ANALOG_GAIN 0x36
+#define MT9V032_MAX_ANALOG_GAIN_MAX 127
+#define MT9V032_FRAME_DARK_AVERAGE 0x42
+#define MT9V032_DARK_AVG_THRESH 0x46
+#define MT9V032_DARK_AVG_LOW_THRESH_MASK (255 << 0)
+#define MT9V032_DARK_AVG_LOW_THRESH_SHIFT 0
+#define MT9V032_DARK_AVG_HIGH_THRESH_MASK (255 << 8)
+#define MT9V032_DARK_AVG_HIGH_THRESH_SHIFT 8
+#define MT9V032_ROW_NOISE_CORR_CONTROL 0x70
+#define MT9V032_ROW_NOISE_CORR_ENABLE (1 << 5)
+#define MT9V032_ROW_NOISE_CORR_USE_BLK_AVG (1 << 7)
+#define MT9V032_PIXEL_CLOCK 0x74
+#define MT9V032_PIXEL_CLOCK_INV_LINE (1 << 0)
+#define MT9V032_PIXEL_CLOCK_INV_FRAME (1 << 1)
+#define MT9V032_PIXEL_CLOCK_XOR_LINE (1 << 2)
+#define MT9V032_PIXEL_CLOCK_CONT_LINE (1 << 3)
+#define MT9V032_PIXEL_CLOCK_INV_PXL_CLK (1 << 4)
+#define MT9V032_TEST_PATTERN 0x7f
+#define MT9V032_TEST_PATTERN_DATA_MASK (1023 << 0)
+#define MT9V032_TEST_PATTERN_DATA_SHIFT 0
+#define MT9V032_TEST_PATTERN_USE_DATA (1 << 10)
+#define MT9V032_TEST_PATTERN_GRAY_MASK (3 << 11)
+#define MT9V032_TEST_PATTERN_GRAY_NONE (0 << 11)
+#define MT9V032_TEST_PATTERN_GRAY_VERTICAL (1 << 11)
+#define MT9V032_TEST_PATTERN_GRAY_HORIZONTAL (2 << 11)
+#define MT9V032_TEST_PATTERN_GRAY_DIAGONAL (3 << 11)
+#define MT9V032_TEST_PATTERN_ENABLE (1 << 13)
+#define MT9V032_TEST_PATTERN_FLIP (1 << 14)
+#define MT9V032_AEC_AGC_ENABLE 0xaf
+#define MT9V032_AEC_ENABLE (1 << 0)
+#define MT9V032_AGC_ENABLE (1 << 1)
+#define MT9V032_THERMAL_INFO 0xc1
+
+struct mt9v032 {
+ struct v4l2_subdev subdev;
+ struct media_pad pad;
+
+ struct v4l2_mbus_framefmt format;
+ struct v4l2_rect crop;
+
+ struct v4l2_ctrl_handler ctrls;
+
+ struct mutex power_lock;
+ int power_count;
+
+ struct mt9v032_platform_data *pdata;
+ u16 chip_control;
+ u16 aec_agc;
+};
+
+static struct mt9v032 *to_mt9v032(struct v4l2_subdev *sd)
+{
+ return container_of(sd, struct mt9v032, subdev);
+}
+
+static int mt9v032_read(struct i2c_client *client, const u8 reg)
+{
+ s32 data = i2c_smbus_read_word_data(client, reg);
+ dev_dbg(&client->dev, "%s: read 0x%04x from 0x%02x\n", __func__,
+ swab16(data), reg);
+ return data < 0 ? data : swab16(data);
+}
+
+static int mt9v032_write(struct i2c_client *client, const u8 reg,
+ const u16 data)
+{
+ dev_dbg(&client->dev, "%s: writing 0x%04x to 0x%02x\n", __func__,
+ data, reg);
+ return i2c_smbus_write_word_data(client, reg, swab16(data));
+}
+
+static int mt9v032_set_chip_control(struct mt9v032 *mt9v032, u16 clear, u16 set)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
+ u16 value = (mt9v032->chip_control & ~clear) | set;
+ int ret;
+
+ ret = mt9v032_write(client, MT9V032_CHIP_CONTROL, value);
+ if (ret < 0)
+ return ret;
+
+ mt9v032->chip_control = value;
+ return 0;
+}
+
+static int
+mt9v032_update_aec_agc(struct mt9v032 *mt9v032, u16 which, int enable)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
+ u16 value = mt9v032->aec_agc;
+ int ret;
+
+ if (enable)
+ value |= which;
+ else
+ value &= ~which;
+
+ ret = mt9v032_write(client, MT9V032_AEC_AGC_ENABLE, value);
+ if (ret < 0)
+ return ret;
+
+ mt9v032->aec_agc = value;
+ return 0;
+}
+
+static int mt9v032_power_on(struct mt9v032 *mt9v032)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
+ int ret;
+
+ if (mt9v032->pdata->set_clock) {
+ mt9v032->pdata->set_clock(&mt9v032->subdev, 25000000);
+ udelay(1);
+ }
+
+ /* Reset the chip and stop data read out */
+ ret = mt9v032_write(client, MT9V032_RESET, 1);
+ if (ret < 0)
+ return ret;
+
+ ret = mt9v032_write(client, MT9V032_RESET, 0);
+ if (ret < 0)
+ return ret;
+
+ return mt9v032_write(client, MT9V032_CHIP_CONTROL, 0);
+}
+
+static void mt9v032_power_off(struct mt9v032 *mt9v032)
+{
+ if (mt9v032->pdata->set_clock)
+ mt9v032->pdata->set_clock(&mt9v032->subdev, 0);
+}
+
+static int __mt9v032_set_power(struct mt9v032 *mt9v032, bool on)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
+ int ret;
+
+ if (!on) {
+ mt9v032_power_off(mt9v032);
+ return 0;
+ }
+
+ ret = mt9v032_power_on(mt9v032);
+ if (ret < 0)
+ return ret;
+
+ /* Configure the pixel clock polarity */
+ if (mt9v032->pdata && mt9v032->pdata->clk_pol) {
+ ret = mt9v032_write(client, MT9V032_PIXEL_CLOCK,
+ MT9V032_PIXEL_CLOCK_INV_PXL_CLK);
+ if (ret < 0)
+ return ret;
+ }
+
+ /* Disable the noise correction algorithm and restore the controls. */
+ ret = mt9v032_write(client, MT9V032_ROW_NOISE_CORR_CONTROL, 0);
+ if (ret < 0)
+ return ret;
+
+ return v4l2_ctrl_handler_setup(&mt9v032->ctrls);
+}
+
+/* -----------------------------------------------------------------------------
+ * V4L2 subdev video operations
+ */
+
+static struct v4l2_mbus_framefmt *
+__mt9v032_get_pad_format(struct mt9v032 *mt9v032, struct v4l2_subdev_fh *fh,
+ unsigned int pad, enum v4l2_subdev_format_whence which)
+{
+ switch (which) {
+ case V4L2_SUBDEV_FORMAT_TRY:
+ return v4l2_subdev_get_try_format(fh, pad);
+ case V4L2_SUBDEV_FORMAT_ACTIVE:
+ return &mt9v032->format;
+ default:
+ return NULL;
+ }
+}
+
+static struct v4l2_rect *
+__mt9v032_get_pad_crop(struct mt9v032 *mt9v032, struct v4l2_subdev_fh *fh,
+ unsigned int pad, enum v4l2_subdev_format_whence which)
+{
+ switch (which) {
+ case V4L2_SUBDEV_FORMAT_TRY:
+ return v4l2_subdev_get_try_crop(fh, pad);
+ case V4L2_SUBDEV_FORMAT_ACTIVE:
+ return &mt9v032->crop;
+ default:
+ return NULL;
+ }
+}
+
+static int mt9v032_s_stream(struct v4l2_subdev *subdev, int enable)
+{
+ const u16 mode = MT9V032_CHIP_CONTROL_MASTER_MODE
+ | MT9V032_CHIP_CONTROL_DOUT_ENABLE
+ | MT9V032_CHIP_CONTROL_SEQUENTIAL;
+ struct i2c_client *client = v4l2_get_subdevdata(subdev);
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+ struct v4l2_mbus_framefmt *format = &mt9v032->format;
+ struct v4l2_rect *crop = &mt9v032->crop;
+ unsigned int hratio;
+ unsigned int vratio;
+ int ret;
+
+ if (!enable)
+ return mt9v032_set_chip_control(mt9v032, mode, 0);
+
+ /* Configure the window size and row/column bin */
+ hratio = DIV_ROUND_CLOSEST(crop->width, format->width);
+ vratio = DIV_ROUND_CLOSEST(crop->height, format->height);
+
+ ret = mt9v032_write(client, MT9V032_READ_MODE,
+ (hratio - 1) << MT9V032_READ_MODE_ROW_BIN_SHIFT |
+ (vratio - 1) << MT9V032_READ_MODE_COLUMN_BIN_SHIFT);
+ if (ret < 0)
+ return ret;
+
+ ret = mt9v032_write(client, MT9V032_COLUMN_START, crop->left);
+ if (ret < 0)
+ return ret;
+
+ ret = mt9v032_write(client, MT9V032_ROW_START, crop->top);
+ if (ret < 0)
+ return ret;
+
+ ret = mt9v032_write(client, MT9V032_WINDOW_WIDTH, crop->width);
+ if (ret < 0)
+ return ret;
+
+ ret = mt9v032_write(client, MT9V032_WINDOW_HEIGHT, crop->height);
+ if (ret < 0)
+ return ret;
+
+ ret = mt9v032_write(client, MT9V032_HORIZONTAL_BLANKING,
+ max(43, 660 - crop->width));
+ if (ret < 0)
+ return ret;
+
+ /* Switch to master "normal" mode */
+ return mt9v032_set_chip_control(mt9v032, 0, mode);
+}
+
+static int mt9v032_enum_mbus_code(struct v4l2_subdev *subdev,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_mbus_code_enum *code)
+{
+ if (code->index > 0)
+ return -EINVAL;
+
+ code->code = V4L2_MBUS_FMT_SGRBG10_1X10;
+ return 0;
+}
+
+static int mt9v032_enum_frame_size(struct v4l2_subdev *subdev,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_frame_size_enum *fse)
+{
+ if (fse->index >= 8 || fse->code != V4L2_MBUS_FMT_SGRBG10_1X10)
+ return -EINVAL;
+
+ fse->min_width = MT9V032_WINDOW_WIDTH_DEF / fse->index;
+ fse->max_width = fse->min_width;
+ fse->min_height = MT9V032_WINDOW_HEIGHT_DEF / fse->index;
+ fse->max_height = fse->min_height;
+
+ return 0;
+}
+
+static int mt9v032_get_format(struct v4l2_subdev *subdev,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_format *format)
+{
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+
+ format->format = *__mt9v032_get_pad_format(mt9v032, fh, format->pad,
+ format->which);
+ return 0;
+}
+
+static int mt9v032_set_format(struct v4l2_subdev *subdev,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_format *format)
+{
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+ struct v4l2_mbus_framefmt *__format;
+ struct v4l2_rect *__crop;
+ unsigned int width;
+ unsigned int height;
+ unsigned int hratio;
+ unsigned int vratio;
+
+ __crop = __mt9v032_get_pad_crop(mt9v032, fh, format->pad,
+ format->which);
+
+ /* Clamp the width and height to avoid dividing by zero. */
+ width = clamp_t(unsigned int, ALIGN(format->format.width, 2),
+ max(__crop->width / 8, MT9V032_WINDOW_WIDTH_MIN),
+ __crop->width);
+ height = clamp_t(unsigned int, ALIGN(format->format.height, 2),
+ max(__crop->height / 8, MT9V032_WINDOW_HEIGHT_MIN),
+ __crop->height);
+
+ hratio = DIV_ROUND_CLOSEST(__crop->width, width);
+ vratio = DIV_ROUND_CLOSEST(__crop->height, height);
+
+ __format = __mt9v032_get_pad_format(mt9v032, fh, format->pad,
+ format->which);
+ __format->width = __crop->width / hratio;
+ __format->height = __crop->height / vratio;
+
+ format->format = *__format;
+
+ return 0;
+}
+
+static int mt9v032_get_crop(struct v4l2_subdev *subdev,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_crop *crop)
+{
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+
+ crop->rect = *__mt9v032_get_pad_crop(mt9v032, fh, crop->pad,
+ crop->which);
+ return 0;
+}
+
+static int mt9v032_set_crop(struct v4l2_subdev *subdev,
+ struct v4l2_subdev_fh *fh,
+ struct v4l2_subdev_crop *crop)
+{
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+ struct v4l2_mbus_framefmt *__format;
+ struct v4l2_rect *__crop;
+ struct v4l2_rect rect;
+
+ /* Clamp the crop rectangle boundaries and align them to a non multiple
+ * of 2 pixels to ensure a GRBG Bayer pattern.
+ */
+ rect.left = clamp(ALIGN(crop->rect.left + 1, 2) - 1,
+ MT9V032_COLUMN_START_MIN,
+ MT9V032_COLUMN_START_MAX);
+ rect.top = clamp(ALIGN(crop->rect.top + 1, 2) - 1,
+ MT9V032_ROW_START_MIN,
+ MT9V032_ROW_START_MAX);
+ rect.width = clamp(ALIGN(crop->rect.width, 2),
+ MT9V032_WINDOW_WIDTH_MIN,
+ MT9V032_WINDOW_WIDTH_MAX);
+ rect.height = clamp(ALIGN(crop->rect.height, 2),
+ MT9V032_WINDOW_HEIGHT_MIN,
+ MT9V032_WINDOW_HEIGHT_MAX);
+
+ rect.width = min(rect.width, MT9V032_PIXEL_ARRAY_WIDTH - rect.left);
+ rect.height = min(rect.height, MT9V032_PIXEL_ARRAY_HEIGHT - rect.top);
+
+ __crop = __mt9v032_get_pad_crop(mt9v032, fh, crop->pad, crop->which);
+
+ if (rect.width != __crop->width || rect.height != __crop->height) {
+ /* Reset the output image size if the crop rectangle size has
+ * been modified.
+ */
+ __format = __mt9v032_get_pad_format(mt9v032, fh, crop->pad,
+ crop->which);
+ __format->width = rect.width;
+ __format->height = rect.height;
+ }
+
+ *__crop = rect;
+ crop->rect = rect;
+
+ return 0;
+}
+
+/* -----------------------------------------------------------------------------
+ * V4L2 subdev control operations
+ */
+
+#define V4L2_CID_TEST_PATTERN (V4L2_CID_USER_BASE | 0x1001)
+
+static int mt9v032_s_ctrl(struct v4l2_ctrl *ctrl)
+{
+ struct mt9v032 *mt9v032 =
+ container_of(ctrl->handler, struct mt9v032, ctrls);
+ struct i2c_client *client = v4l2_get_subdevdata(&mt9v032->subdev);
+ u16 data;
+
+ switch (ctrl->id) {
+ case V4L2_CID_AUTOGAIN:
+ return mt9v032_update_aec_agc(mt9v032, MT9V032_AGC_ENABLE,
+ ctrl->val);
+
+ case V4L2_CID_GAIN:
+ return mt9v032_write(client, MT9V032_ANALOG_GAIN, ctrl->val);
+
+ case V4L2_CID_EXPOSURE_AUTO:
+ return mt9v032_update_aec_agc(mt9v032, MT9V032_AEC_ENABLE,
+ ctrl->val);
+
+ case V4L2_CID_EXPOSURE:
+ return mt9v032_write(client, MT9V032_TOTAL_SHUTTER_WIDTH,
+ ctrl->val);
+
+ case V4L2_CID_TEST_PATTERN:
+ switch (ctrl->val) {
+ case 0:
+ data = 0;
+ break;
+ case 1:
+ data = MT9V032_TEST_PATTERN_GRAY_VERTICAL
+ | MT9V032_TEST_PATTERN_ENABLE;
+ break;
+ case 2:
+ data = MT9V032_TEST_PATTERN_GRAY_HORIZONTAL
+ | MT9V032_TEST_PATTERN_ENABLE;
+ break;
+ case 3:
+ data = MT9V032_TEST_PATTERN_GRAY_DIAGONAL
+ | MT9V032_TEST_PATTERN_ENABLE;
+ break;
+ default:
+ data = (ctrl->val << MT9V032_TEST_PATTERN_DATA_SHIFT)
+ | MT9V032_TEST_PATTERN_USE_DATA
+ | MT9V032_TEST_PATTERN_ENABLE
+ | MT9V032_TEST_PATTERN_FLIP;
+ break;
+ }
+
+ return mt9v032_write(client, MT9V032_TEST_PATTERN, data);
+ }
+
+ return 0;
+}
+
+static struct v4l2_ctrl_ops mt9v032_ctrl_ops = {
+ .s_ctrl = mt9v032_s_ctrl,
+};
+
+static const struct v4l2_ctrl_config mt9v032_ctrls[] = {
+ {
+ .ops = &mt9v032_ctrl_ops,
+ .id = V4L2_CID_TEST_PATTERN,
+ .type = V4L2_CTRL_TYPE_INTEGER,
+ .name = "Test pattern",
+ .min = 0,
+ .max = 1023,
+ .step = 1,
+ .def = 0,
+ .flags = 0,
+ }
+};
+
+/* -----------------------------------------------------------------------------
+ * V4L2 subdev core operations
+ */
+
+static int mt9v032_set_power(struct v4l2_subdev *subdev, int on)
+{
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+ int ret = 0;
+
+ mutex_lock(&mt9v032->power_lock);
+
+ /* If the power count is modified from 0 to != 0 or from != 0 to 0,
+ * update the power state.
+ */
+ if (mt9v032->power_count == !on) {
+ ret = __mt9v032_set_power(mt9v032, !!on);
+ if (ret < 0)
+ goto done;
+ }
+
+ /* Update the power count. */
+ mt9v032->power_count += on ? 1 : -1;
+ WARN_ON(mt9v032->power_count < 0);
+
+done:
+ mutex_unlock(&mt9v032->power_lock);
+ return ret;
+}
+
+/* -----------------------------------------------------------------------------
+ * V4L2 subdev internal operations
+ */
+
+static int mt9v032_registered(struct v4l2_subdev *subdev)
+{
+ struct i2c_client *client = v4l2_get_subdevdata(subdev);
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+ s32 data;
+ int ret;
+
+ dev_info(&client->dev, "Probing MT9V032 at address 0x%02x\n",
+ client->addr);
+
+ ret = mt9v032_power_on(mt9v032);
+ if (ret < 0) {
+ dev_err(&client->dev, "MT9V032 power up failed\n");
+ return ret;
+ }
+
+ /* Read and check the sensor version */
+ data = mt9v032_read(client, MT9V032_CHIP_VERSION);
+ if (data != MT9V032_CHIP_ID_REV1 && data != MT9V032_CHIP_ID_REV3) {
+ dev_err(&client->dev, "MT9V032 not detected, wrong version "
+ "0x%04x\n", data);
+ return -ENODEV;
+ }
+
+ mt9v032_power_off(mt9v032);
+
+ dev_info(&client->dev, "MT9V032 detected at address 0x%02x\n",
+ client->addr);
+
+ return ret;
+}
+
+static int mt9v032_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
+{
+ struct v4l2_mbus_framefmt *format;
+ struct v4l2_rect *crop;
+
+ crop = v4l2_subdev_get_try_crop(fh, 0);
+ crop->left = MT9V032_COLUMN_START_DEF;
+ crop->top = MT9V032_ROW_START_DEF;
+ crop->width = MT9V032_WINDOW_WIDTH_DEF;
+ crop->height = MT9V032_WINDOW_HEIGHT_DEF;
+
+ format = v4l2_subdev_get_try_format(fh, 0);
+ format->code = V4L2_MBUS_FMT_SGRBG10_1X10;
+ format->width = MT9V032_WINDOW_WIDTH_DEF;
+ format->height = MT9V032_WINDOW_HEIGHT_DEF;
+ format->field = V4L2_FIELD_NONE;
+ format->colorspace = V4L2_COLORSPACE_SRGB;
+
+ return mt9v032_set_power(subdev, 1);
+}
+
+static int mt9v032_close(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
+{
+ return mt9v032_set_power(subdev, 0);
+}
+
+static struct v4l2_subdev_core_ops mt9v032_subdev_core_ops = {
+ .s_power = mt9v032_set_power,
+};
+
+static struct v4l2_subdev_video_ops mt9v032_subdev_video_ops = {
+ .s_stream = mt9v032_s_stream,
+};
+
+static struct v4l2_subdev_pad_ops mt9v032_subdev_pad_ops = {
+ .enum_mbus_code = mt9v032_enum_mbus_code,
+ .enum_frame_size = mt9v032_enum_frame_size,
+ .get_fmt = mt9v032_get_format,
+ .set_fmt = mt9v032_set_format,
+ .get_crop = mt9v032_get_crop,
+ .set_crop = mt9v032_set_crop,
+};
+
+static struct v4l2_subdev_ops mt9v032_subdev_ops = {
+ .core = &mt9v032_subdev_core_ops,
+ .video = &mt9v032_subdev_video_ops,
+ .pad = &mt9v032_subdev_pad_ops,
+};
+
+static const struct v4l2_subdev_internal_ops mt9v032_subdev_internal_ops = {
+ .registered = mt9v032_registered,
+ .open = mt9v032_open,
+ .close = mt9v032_close,
+};
+
+/* -----------------------------------------------------------------------------
+ * Driver initialization and probing
+ */
+
+static int mt9v032_probe(struct i2c_client *client,
+ const struct i2c_device_id *did)
+{
+ struct mt9v032 *mt9v032;
+ unsigned int i;
+ int ret;
+
+ if (!i2c_check_functionality(client->adapter,
+ I2C_FUNC_SMBUS_WORD_DATA)) {
+ dev_warn(&client->adapter->dev,
+ "I2C-Adapter doesn't support I2C_FUNC_SMBUS_WORD\n");
+ return -EIO;
+ }
+
+ mt9v032 = kzalloc(sizeof(*mt9v032), GFP_KERNEL);
+ if (!mt9v032)
+ return -ENOMEM;
+
+ mutex_init(&mt9v032->power_lock);
+ mt9v032->pdata = client->dev.platform_data;
+
+ v4l2_ctrl_handler_init(&mt9v032->ctrls, ARRAY_SIZE(mt9v032_ctrls) + 4);
+
+ v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops,
+ V4L2_CID_AUTOGAIN, 0, 1, 1, 1);
+ v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops,
+ V4L2_CID_GAIN, MT9V032_ANALOG_GAIN_MIN,
+ MT9V032_ANALOG_GAIN_MAX, 1, MT9V032_ANALOG_GAIN_DEF);
+ v4l2_ctrl_new_std_menu(&mt9v032->ctrls, &mt9v032_ctrl_ops,
+ V4L2_CID_EXPOSURE_AUTO, V4L2_EXPOSURE_MANUAL, 0,
+ V4L2_EXPOSURE_AUTO);
+ v4l2_ctrl_new_std(&mt9v032->ctrls, &mt9v032_ctrl_ops,
+ V4L2_CID_EXPOSURE, MT9V032_TOTAL_SHUTTER_WIDTH_MIN,
+ MT9V032_TOTAL_SHUTTER_WIDTH_MAX, 1,
+ MT9V032_TOTAL_SHUTTER_WIDTH_DEF);
+
+ for (i = 0; i < ARRAY_SIZE(mt9v032_ctrls); ++i)
+ v4l2_ctrl_new_custom(&mt9v032->ctrls, &mt9v032_ctrls[i], NULL);
+
+ mt9v032->subdev.ctrl_handler = &mt9v032->ctrls;
+
+ if (mt9v032->ctrls.error)
+ printk(KERN_INFO "%s: control initialization error %d\n",
+ __func__, mt9v032->ctrls.error);
+
+ mt9v032->crop.left = MT9V032_COLUMN_START_DEF;
+ mt9v032->crop.top = MT9V032_ROW_START_DEF;
+ mt9v032->crop.width = MT9V032_WINDOW_WIDTH_DEF;
+ mt9v032->crop.height = MT9V032_WINDOW_HEIGHT_DEF;
+
+ mt9v032->format.code = V4L2_MBUS_FMT_SGRBG10_1X10;
+ mt9v032->format.width = MT9V032_WINDOW_WIDTH_DEF;
+ mt9v032->format.height = MT9V032_WINDOW_HEIGHT_DEF;
+ mt9v032->format.field = V4L2_FIELD_NONE;
+ mt9v032->format.colorspace = V4L2_COLORSPACE_SRGB;
+
+ mt9v032->aec_agc = MT9V032_AEC_ENABLE | MT9V032_AGC_ENABLE;
+
+ v4l2_i2c_subdev_init(&mt9v032->subdev, client, &mt9v032_subdev_ops);
+ mt9v032->subdev.internal_ops = &mt9v032_subdev_internal_ops;
+ mt9v032->subdev.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
+
+ mt9v032->pad.flags = MEDIA_PAD_FL_SOURCE;
+ ret = media_entity_init(&mt9v032->subdev.entity, 1, &mt9v032->pad, 0);
+ if (ret < 0)
+ kfree(mt9v032);
+
+ return ret;
+}
+
+static int mt9v032_remove(struct i2c_client *client)
+{
+ struct v4l2_subdev *subdev = i2c_get_clientdata(client);
+ struct mt9v032 *mt9v032 = to_mt9v032(subdev);
+
+ v4l2_device_unregister_subdev(subdev);
+ media_entity_cleanup(&subdev->entity);
+ kfree(mt9v032);
+ return 0;
+}
+
+static const struct i2c_device_id mt9v032_id[] = {
+ { "mt9v032", 0 },
+ { }
+};
+MODULE_DEVICE_TABLE(i2c, mt9v032_id);
+
+static struct i2c_driver mt9v032_driver = {
+ .driver = {
+ .name = "mt9v032",
+ },
+ .probe = mt9v032_probe,
+ .remove = mt9v032_remove,
+ .id_table = mt9v032_id,
+};
+
+static int __init mt9v032_init(void)
+{
+ return i2c_add_driver(&mt9v032_driver);
+}
+
+static void __exit mt9v032_exit(void)
+{
+ i2c_del_driver(&mt9v032_driver);
+}
+
+module_init(mt9v032_init);
+module_exit(mt9v032_exit);
+
+MODULE_DESCRIPTION("Aptina MT9V032 Camera driver");
+MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>");
+MODULE_LICENSE("GPL");
diff --git a/include/media/mt9v032.h b/include/media/mt9v032.h
new file mode 100644
index 0000000..5e27f9b
--- /dev/null
+++ b/include/media/mt9v032.h
@@ -0,0 +1,12 @@
+#ifndef _MEDIA_MT9V032_H
+#define _MEDIA_MT9V032_H
+
+struct v4l2_subdev;
+
+struct mt9v032_platform_data {
+ unsigned int clk_pol:1;
+
+ void (*set_clock)(struct v4l2_subdev *subdev, unsigned int rate);
+};
+
+#endif
--
1.6.6.1

View File

@@ -1,162 +0,0 @@
From f662a8a2b9794121568903f5cc969e50eb151892 Mon Sep 17 00:00:00 2001
From: Javier Martin <javier.martin@vista-silicon.com>
Date: Mon, 30 May 2011 10:37:17 +0200
Subject: [PATCH 3/3] Add support for mt9p031 (LI-5M03 module) in Beagleboard xM.
Since isp clocks have not been exposed yet, this patch
includes a temporal solution for testing mt9p031 driver
in Beagleboard xM.
Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
---
arch/arm/mach-omap2/Makefile | 1 +
arch/arm/mach-omap2/board-omap3beagle-camera.c | 95 ++++++++++++++++++++++++
arch/arm/mach-omap2/board-omap3beagle.c | 5 +
3 files changed, 101 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-omap2/board-omap3beagle-camera.c
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 512b152..05cd983 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -179,6 +179,7 @@ obj-$(CONFIG_MACH_OMAP_2430SDP) += board-2430sdp.o \
hsmmc.o
obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o
obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
+ board-omap3beagle-camera.o \
hsmmc.o
obj-$(CONFIG_MACH_DEVKIT8000) += board-devkit8000.o \
hsmmc.o
diff --git a/arch/arm/mach-omap2/board-omap3beagle-camera.c b/arch/arm/mach-omap2/board-omap3beagle-camera.c
new file mode 100644
index 0000000..2632557
--- /dev/null
+++ b/arch/arm/mach-omap2/board-omap3beagle-camera.c
@@ -0,0 +1,95 @@
+#include <linux/gpio.h>
+#include <linux/regulator/machine.h>
+
+#include <plat/i2c.h>
+
+#include <media/mt9p031.h>
+#include <asm/mach-types.h>
+#include "devices.h"
+#include "../../../drivers/media/video/omap3isp/isp.h"
+
+#define MT9P031_RESET_GPIO 98
+#define MT9P031_XCLK ISP_XCLK_A
+
+static struct regulator *reg_1v8, *reg_2v8;
+
+static int beagle_cam_set_xclk(struct v4l2_subdev *subdev, int hz)
+{
+ struct isp_device *isp = v4l2_dev_to_isp_device(subdev->v4l2_dev);
+ int ret;
+
+ ret = isp->platform_cb.set_xclk(isp, hz, MT9P031_XCLK);
+ return 0;
+}
+
+static int beagle_cam_reset(struct v4l2_subdev *subdev, int active)
+{
+ /* Set RESET_BAR to !active */
+ gpio_set_value(MT9P031_RESET_GPIO, !active);
+
+ return 0;
+}
+
+static struct mt9p031_platform_data beagle_mt9p031_platform_data = {
+ .set_xclk = beagle_cam_set_xclk,
+ .reset = beagle_cam_reset,
+ .vdd_io = MT9P031_VDD_IO_1V8,
+ .version = MT9P031_COLOR_VERSION,
+};
+
+static struct i2c_board_info mt9p031_camera_i2c_device = {
+ I2C_BOARD_INFO("mt9p031", 0x48),
+ .platform_data = &beagle_mt9p031_platform_data,
+};
+
+static struct isp_subdev_i2c_board_info mt9p031_camera_subdevs[] = {
+ {
+ .board_info = &mt9p031_camera_i2c_device,
+ .i2c_adapter_id = 2,
+ },
+ { NULL, 0, },
+};
+
+static struct isp_v4l2_subdevs_group beagle_camera_subdevs[] = {
+ {
+ .subdevs = mt9p031_camera_subdevs,
+ .interface = ISP_INTERFACE_PARALLEL,
+ .bus = {
+ .parallel = {
+ .data_lane_shift = 0,
+ .clk_pol = 1,
+ .bridge = ISPCTRL_PAR_BRIDGE_DISABLE,
+ }
+ },
+ },
+ { },
+};
+
+static struct isp_platform_data beagle_isp_platform_data = {
+ .subdevs = beagle_camera_subdevs,
+};
+
+static int __init beagle_camera_init(void)
+{
+ if (!machine_is_omap3_beagle() || !cpu_is_omap3630())
+ return 0;
+
+ reg_1v8 = regulator_get(NULL, "cam_1v8");
+ if (IS_ERR(reg_1v8))
+ pr_err("%s: cannot get cam_1v8 regulator\n", __func__);
+ else
+ regulator_enable(reg_1v8);
+
+ reg_2v8 = regulator_get(NULL, "cam_2v8");
+ if (IS_ERR(reg_2v8))
+ pr_err("%s: cannot get cam_2v8 regulator\n", __func__);
+ else
+ regulator_enable(reg_2v8);
+
+ omap_register_i2c_bus(2, 100, NULL, 0);
+ gpio_request(MT9P031_RESET_GPIO, "cam_rst");
+ gpio_direction_output(MT9P031_RESET_GPIO, 0);
+ omap3_init_camera(&beagle_isp_platform_data);
+ return 0;
+}
+late_initcall(beagle_camera_init);
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 221bfda..dd6e31f 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -25,12 +25,16 @@
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <linux/opp.h>
+#include <linux/i2c.h>
+#include <linux/mm.h>
+#include <linux/videodev2.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/nand.h>
#include <linux/mmc/host.h>
+#include <linux/gpio.h>
#include <linux/regulator/machine.h>
#include <linux/i2c/twl.h>
@@ -48,6 +52,7 @@
#include <plat/nand.h>
#include <plat/usb.h>
#include <plat/omap_device.h>
+#include <plat/i2c.h>
#include "mux.h"
#include "hsmmc.h"
--
1.6.6.1

View File

@@ -1,67 +0,0 @@
From 46be90d202c36db19e27c2991cbff401c6c3ee81 Mon Sep 17 00:00:00 2001
From: Keshava Munegowda <Keshava_mgowda@ti.com>
Date: Mon, 16 May 2011 14:24:58 +0530
Subject: [PATCH 01/13] mfd: Fix omap usbhs crash when rmmoding ehci or ohci
The disabling of clocks and freeing GPIO are changed
to fix the occurrence of the crash of rmmod of ehci and ohci
drivers. The GPIOs should be freed after the spin locks are
unlocked.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: stable@kernel.org
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/omap-usb-host.c | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 3ab9ffa..55c5d47 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -994,22 +994,33 @@ static void usbhs_disable(struct device *dev)
dev_dbg(dev, "operation timed out\n");
}
- if (pdata->ehci_data->phy_reset) {
- if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[0]))
- gpio_free(pdata->ehci_data->reset_gpio_port[0]);
-
- if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[1]))
- gpio_free(pdata->ehci_data->reset_gpio_port[1]);
+ if (is_omap_usbhs_rev2(omap)) {
+ if (is_ehci_tll_mode(pdata->port_mode[0]))
+ clk_enable(omap->usbtll_p1_fck);
+ if (is_ehci_tll_mode(pdata->port_mode[1]))
+ clk_enable(omap->usbtll_p2_fck);
+ clk_disable(omap->utmi_p2_fck);
+ clk_disable(omap->utmi_p1_fck);
}
- clk_disable(omap->utmi_p2_fck);
- clk_disable(omap->utmi_p1_fck);
clk_disable(omap->usbtll_ick);
clk_disable(omap->usbtll_fck);
clk_disable(omap->usbhost_fs_fck);
clk_disable(omap->usbhost_hs_fck);
clk_disable(omap->usbhost_ick);
+ /* The gpio_free migh sleep; so unlock the spinlock */
+ spin_unlock_irqrestore(&omap->lock, flags);
+
+ if (pdata->ehci_data->phy_reset) {
+ if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[0]))
+ gpio_free(pdata->ehci_data->reset_gpio_port[0]);
+
+ if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[1]))
+ gpio_free(pdata->ehci_data->reset_gpio_port[1]);
+ }
+ return;
+
end_disble:
spin_unlock_irqrestore(&omap->lock, flags);
}
--
1.6.6.1

View File

@@ -1,50 +0,0 @@
From 89a903aca8fda3dcf1a6f9a424247e772afdd44e Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@gmail.com>
Date: Sat, 14 May 2011 14:15:36 +0800
Subject: [PATCH 02/13] mfd: Fix omap_usbhs_alloc_children error handling
1. Return proper error if omap_usbhs_alloc_child fails
2. In the case of goto err_ehci, we should call platform_device_unregister(ehci)
instead of platform_device_put(ehci) because we have already added the
platform device to device hierarchy.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Tested-by: Keshava Munegowda <keshava_mgowda@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/omap-usb-host.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 55c5d47..1717144 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -281,6 +281,7 @@ static int omap_usbhs_alloc_children(struct platform_device *pdev)
if (!ehci) {
dev_err(dev, "omap_usbhs_alloc_child failed\n");
+ ret = -ENOMEM;
goto err_end;
}
@@ -304,13 +305,14 @@ static int omap_usbhs_alloc_children(struct platform_device *pdev)
sizeof(*ohci_data), dev);
if (!ohci) {
dev_err(dev, "omap_usbhs_alloc_child failed\n");
+ ret = -ENOMEM;
goto err_ehci;
}
return 0;
err_ehci:
- platform_device_put(ehci);
+ platform_device_unregister(ehci);
err_end:
return ret;
--
1.6.6.1

View File

@@ -1,245 +0,0 @@
From edc881f9c4897fab11542cd5c36a33b288f702be Mon Sep 17 00:00:00 2001
From: Keshava Munegowda <Keshava_mgowda@ti.com>
Date: Sun, 22 May 2011 22:51:26 +0200
Subject: [PATCH 03/13] mfd: Add omap-usbhs runtime PM support
The usbhs core driver does not enable/disable the interface and
functional clocks; These clocks are handled by hwmod and runtime pm,
hence insted of the clock enable/disable, the runtime pm APIS are
used. however,the port clocks and tll clocks are handled
by the usbhs core.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/omap-usb-host.c | 131 +++----------------------------------------
1 files changed, 9 insertions(+), 122 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 1717144..8552195 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -26,6 +26,7 @@
#include <linux/spinlock.h>
#include <linux/gpio.h>
#include <plat/usb.h>
+#include <linux/pm_runtime.h>
#define USBHS_DRIVER_NAME "usbhs-omap"
#define OMAP_EHCI_DEVICE "ehci-omap"
@@ -146,9 +147,6 @@
struct usbhs_hcd_omap {
- struct clk *usbhost_ick;
- struct clk *usbhost_hs_fck;
- struct clk *usbhost_fs_fck;
struct clk *xclk60mhsp1_ck;
struct clk *xclk60mhsp2_ck;
struct clk *utmi_p1_fck;
@@ -158,8 +156,6 @@ struct usbhs_hcd_omap {
struct clk *usbhost_p2_fck;
struct clk *usbtll_p2_fck;
struct clk *init_60m_fclk;
- struct clk *usbtll_fck;
- struct clk *usbtll_ick;
void __iomem *uhh_base;
void __iomem *tll_base;
@@ -353,46 +349,13 @@ static int __devinit usbhs_omap_probe(struct platform_device *pdev)
omap->platdata.ehci_data = pdata->ehci_data;
omap->platdata.ohci_data = pdata->ohci_data;
- omap->usbhost_ick = clk_get(dev, "usbhost_ick");
- if (IS_ERR(omap->usbhost_ick)) {
- ret = PTR_ERR(omap->usbhost_ick);
- dev_err(dev, "usbhost_ick failed error:%d\n", ret);
- goto err_end;
- }
-
- omap->usbhost_hs_fck = clk_get(dev, "hs_fck");
- if (IS_ERR(omap->usbhost_hs_fck)) {
- ret = PTR_ERR(omap->usbhost_hs_fck);
- dev_err(dev, "usbhost_hs_fck failed error:%d\n", ret);
- goto err_usbhost_ick;
- }
-
- omap->usbhost_fs_fck = clk_get(dev, "fs_fck");
- if (IS_ERR(omap->usbhost_fs_fck)) {
- ret = PTR_ERR(omap->usbhost_fs_fck);
- dev_err(dev, "usbhost_fs_fck failed error:%d\n", ret);
- goto err_usbhost_hs_fck;
- }
-
- omap->usbtll_fck = clk_get(dev, "usbtll_fck");
- if (IS_ERR(omap->usbtll_fck)) {
- ret = PTR_ERR(omap->usbtll_fck);
- dev_err(dev, "usbtll_fck failed error:%d\n", ret);
- goto err_usbhost_fs_fck;
- }
-
- omap->usbtll_ick = clk_get(dev, "usbtll_ick");
- if (IS_ERR(omap->usbtll_ick)) {
- ret = PTR_ERR(omap->usbtll_ick);
- dev_err(dev, "usbtll_ick failed error:%d\n", ret);
- goto err_usbtll_fck;
- }
+ pm_runtime_enable(&pdev->dev);
omap->utmi_p1_fck = clk_get(dev, "utmi_p1_gfclk");
if (IS_ERR(omap->utmi_p1_fck)) {
ret = PTR_ERR(omap->utmi_p1_fck);
dev_err(dev, "utmi_p1_gfclk failed error:%d\n", ret);
- goto err_usbtll_ick;
+ goto err_end;
}
omap->xclk60mhsp1_ck = clk_get(dev, "xclk60mhsp1_ck");
@@ -522,22 +485,8 @@ err_xclk60mhsp1_ck:
err_utmi_p1_fck:
clk_put(omap->utmi_p1_fck);
-err_usbtll_ick:
- clk_put(omap->usbtll_ick);
-
-err_usbtll_fck:
- clk_put(omap->usbtll_fck);
-
-err_usbhost_fs_fck:
- clk_put(omap->usbhost_fs_fck);
-
-err_usbhost_hs_fck:
- clk_put(omap->usbhost_hs_fck);
-
-err_usbhost_ick:
- clk_put(omap->usbhost_ick);
-
err_end:
+ pm_runtime_disable(&pdev->dev);
kfree(omap);
end_probe:
@@ -571,11 +520,7 @@ static int __devexit usbhs_omap_remove(struct platform_device *pdev)
clk_put(omap->utmi_p2_fck);
clk_put(omap->xclk60mhsp1_ck);
clk_put(omap->utmi_p1_fck);
- clk_put(omap->usbtll_ick);
- clk_put(omap->usbtll_fck);
- clk_put(omap->usbhost_fs_fck);
- clk_put(omap->usbhost_hs_fck);
- clk_put(omap->usbhost_ick);
+ pm_runtime_disable(&pdev->dev);
kfree(omap);
return 0;
@@ -695,7 +640,6 @@ static int usbhs_enable(struct device *dev)
struct usbhs_omap_platform_data *pdata = &omap->platdata;
unsigned long flags = 0;
int ret = 0;
- unsigned long timeout;
unsigned reg;
dev_dbg(dev, "starting TI HSUSB Controller\n");
@@ -708,11 +652,7 @@ static int usbhs_enable(struct device *dev)
if (omap->count > 0)
goto end_count;
- clk_enable(omap->usbhost_ick);
- clk_enable(omap->usbhost_hs_fck);
- clk_enable(omap->usbhost_fs_fck);
- clk_enable(omap->usbtll_fck);
- clk_enable(omap->usbtll_ick);
+ pm_runtime_get_sync(dev);
if (pdata->ehci_data->phy_reset) {
if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[0])) {
@@ -736,50 +676,6 @@ static int usbhs_enable(struct device *dev)
omap->usbhs_rev = usbhs_read(omap->uhh_base, OMAP_UHH_REVISION);
dev_dbg(dev, "OMAP UHH_REVISION 0x%x\n", omap->usbhs_rev);
- /* perform TLL soft reset, and wait until reset is complete */
- usbhs_write(omap->tll_base, OMAP_USBTLL_SYSCONFIG,
- OMAP_USBTLL_SYSCONFIG_SOFTRESET);
-
- /* Wait for TLL reset to complete */
- timeout = jiffies + msecs_to_jiffies(1000);
- while (!(usbhs_read(omap->tll_base, OMAP_USBTLL_SYSSTATUS)
- & OMAP_USBTLL_SYSSTATUS_RESETDONE)) {
- cpu_relax();
-
- if (time_after(jiffies, timeout)) {
- dev_dbg(dev, "operation timed out\n");
- ret = -EINVAL;
- goto err_tll;
- }
- }
-
- dev_dbg(dev, "TLL RESET DONE\n");
-
- /* (1<<3) = no idle mode only for initial debugging */
- usbhs_write(omap->tll_base, OMAP_USBTLL_SYSCONFIG,
- OMAP_USBTLL_SYSCONFIG_ENAWAKEUP |
- OMAP_USBTLL_SYSCONFIG_SIDLEMODE |
- OMAP_USBTLL_SYSCONFIG_AUTOIDLE);
-
- /* Put UHH in NoIdle/NoStandby mode */
- reg = usbhs_read(omap->uhh_base, OMAP_UHH_SYSCONFIG);
- if (is_omap_usbhs_rev1(omap)) {
- reg |= (OMAP_UHH_SYSCONFIG_ENAWAKEUP
- | OMAP_UHH_SYSCONFIG_SIDLEMODE
- | OMAP_UHH_SYSCONFIG_CACTIVITY
- | OMAP_UHH_SYSCONFIG_MIDLEMODE);
- reg &= ~OMAP_UHH_SYSCONFIG_AUTOIDLE;
-
-
- } else if (is_omap_usbhs_rev2(omap)) {
- reg &= ~OMAP4_UHH_SYSCONFIG_IDLEMODE_CLEAR;
- reg |= OMAP4_UHH_SYSCONFIG_NOIDLE;
- reg &= ~OMAP4_UHH_SYSCONFIG_STDBYMODE_CLEAR;
- reg |= OMAP4_UHH_SYSCONFIG_NOSTDBY;
- }
-
- usbhs_write(omap->uhh_base, OMAP_UHH_SYSCONFIG, reg);
-
reg = usbhs_read(omap->uhh_base, OMAP_UHH_HOSTCONFIG);
/* setup ULPI bypass and burst configurations */
reg |= (OMAP_UHH_HOSTCONFIG_INCR4_BURST_EN
@@ -919,6 +815,8 @@ end_count:
return 0;
err_tll:
+ pm_runtime_put_sync(dev);
+ spin_unlock_irqrestore(&omap->lock, flags);
if (pdata->ehci_data->phy_reset) {
if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[0]))
gpio_free(pdata->ehci_data->reset_gpio_port[0]);
@@ -926,13 +824,6 @@ err_tll:
if (gpio_is_valid(pdata->ehci_data->reset_gpio_port[1]))
gpio_free(pdata->ehci_data->reset_gpio_port[1]);
}
-
- clk_disable(omap->usbtll_ick);
- clk_disable(omap->usbtll_fck);
- clk_disable(omap->usbhost_fs_fck);
- clk_disable(omap->usbhost_hs_fck);
- clk_disable(omap->usbhost_ick);
- spin_unlock_irqrestore(&omap->lock, flags);
return ret;
}
@@ -1005,11 +896,7 @@ static void usbhs_disable(struct device *dev)
clk_disable(omap->utmi_p1_fck);
}
- clk_disable(omap->usbtll_ick);
- clk_disable(omap->usbtll_fck);
- clk_disable(omap->usbhost_fs_fck);
- clk_disable(omap->usbhost_hs_fck);
- clk_disable(omap->usbhost_ick);
+ pm_runtime_put_sync(dev);
/* The gpio_free migh sleep; so unlock the spinlock */
spin_unlock_irqrestore(&omap->lock, flags);
--
1.6.6.1

View File

@@ -1,406 +0,0 @@
From 339b167f6f76707a2d6ae3a7c0b921b8278564af Mon Sep 17 00:00:00 2001
From: Keshava Munegowda <Keshava_mgowda@ti.com>
Date: Wed, 1 Jun 2011 11:02:49 -0700
Subject: [PATCH 04/13] arm: omap: usb: ehci and ohci hwmod structures for omap3 and omap4
Following 2 hwmod strcuture are added:
UHH hwmod of usbhs with uhh base address and
EHCI , OHCI irq and base addresses.
TLL hwmod of usbhs with the TLL base address and irq.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
---
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 184 ++++++++++++++++++++++++++++
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 153 +++++++++++++++++++++++
2 files changed, 337 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
index 909a84d..fe9a176 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -84,6 +84,8 @@ static struct omap_hwmod omap3xxx_mcbsp4_hwmod;
static struct omap_hwmod omap3xxx_mcbsp5_hwmod;
static struct omap_hwmod omap3xxx_mcbsp2_sidetone_hwmod;
static struct omap_hwmod omap3xxx_mcbsp3_sidetone_hwmod;
+static struct omap_hwmod omap34xx_usb_host_hs_hwmod;
+static struct omap_hwmod omap34xx_usb_tll_hs_hwmod;
/* L3 -> L4_CORE interface */
static struct omap_hwmod_ocp_if omap3xxx_l3_main__l4_core = {
@@ -3574,6 +3576,185 @@ static struct omap_hwmod omap3xxx_mmc3_hwmod = {
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430),
};
+/*
+ * 'usb_host_hs' class
+ * high-speed multi-port usb host controller
+ */
+static struct omap_hwmod_ocp_if omap34xx_usb_host_hs__l3_main_2 = {
+ .master = &omap34xx_usb_host_hs_hwmod,
+ .slave = &omap3xxx_l3_main_hwmod,
+ .clk = "core_l3_ick",
+ .user = OCP_USER_MPU,
+};
+
+static struct omap_hwmod_class_sysconfig omap34xx_usb_host_hs_sysc = {
+ .rev_offs = 0x0000,
+ .sysc_offs = 0x0010,
+ .syss_offs = 0x0014,
+ .sysc_flags = (SYSC_HAS_MIDLEMODE | SYSC_HAS_SIDLEMODE),
+ .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
+ MSTANDBY_FORCE | MSTANDBY_NO | MSTANDBY_SMART),
+ .sysc_fields = &omap_hwmod_sysc_type1,
+};
+
+static struct omap_hwmod_class omap34xx_usb_host_hs_hwmod_class = {
+ .name = "usbhs_uhh",
+ .sysc = &omap34xx_usb_host_hs_sysc,
+};
+
+static struct omap_hwmod_ocp_if *omap34xx_usb_host_hs_masters[] = {
+ &omap34xx_usb_host_hs__l3_main_2,
+};
+
+static struct omap_hwmod_irq_info omap34xx_usb_host_hs_irqs[] = {
+ { .name = "ohci-irq", .irq = 76 },
+ { .name = "ehci-irq", .irq = 77 },
+};
+
+static struct omap_hwmod_addr_space omap34xx_usb_host_hs_addrs[] = {
+ {
+ .name = "uhh",
+ .pa_start = 0x48064000,
+ .pa_end = 0x480643ff,
+ .flags = ADDR_TYPE_RT
+ },
+ {
+ .name = "ohci",
+ .pa_start = 0x48064400,
+ .pa_end = 0x480647FF,
+ .flags = ADDR_MAP_ON_INIT
+ },
+ {
+ .name = "ehci",
+ .pa_start = 0x48064800,
+ .pa_end = 0x48064CFF,
+ .flags = ADDR_MAP_ON_INIT
+ }
+};
+
+static struct omap_hwmod_ocp_if omap34xx_l4_cfg__usb_host_hs = {
+ .master = &omap3xxx_l4_core_hwmod,
+ .slave = &omap34xx_usb_host_hs_hwmod,
+ .clk = "l4_ick",
+ .addr = omap34xx_usb_host_hs_addrs,
+ .addr_cnt = ARRAY_SIZE(omap34xx_usb_host_hs_addrs),
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
+};
+
+static struct omap_hwmod_ocp_if omap34xx_f128m_cfg__usb_host_hs = {
+ .clk = "usbhost_120m_fck",
+ .user = OCP_USER_MPU,
+ .flags = OCPIF_SWSUP_IDLE,
+};
+
+static struct omap_hwmod_ocp_if omap34xx_f48m_cfg__usb_host_hs = {
+ .clk = "usbhost_48m_fck",
+ .user = OCP_USER_MPU,
+ .flags = OCPIF_SWSUP_IDLE,
+};
+
+static struct omap_hwmod_ocp_if *omap34xx_usb_host_hs_slaves[] = {
+ &omap34xx_l4_cfg__usb_host_hs,
+ &omap34xx_f128m_cfg__usb_host_hs,
+ &omap34xx_f48m_cfg__usb_host_hs,
+};
+
+static struct omap_hwmod omap34xx_usb_host_hs_hwmod = {
+ .name = "usbhs_uhh",
+ .class = &omap34xx_usb_host_hs_hwmod_class,
+ .mpu_irqs = omap34xx_usb_host_hs_irqs,
+ .mpu_irqs_cnt = ARRAY_SIZE(omap34xx_usb_host_hs_irqs),
+ .main_clk = "usbhost_ick",
+ .prcm = {
+ .omap2 = {
+ .module_offs = OMAP3430ES2_USBHOST_MOD,
+ .prcm_reg_id = 1,
+ .module_bit = 0,
+ .idlest_reg_id = 1,
+ .idlest_idle_bit = 1,
+ .idlest_stdby_bit = 0,
+ },
+ },
+ .slaves = omap34xx_usb_host_hs_slaves,
+ .slaves_cnt = ARRAY_SIZE(omap34xx_usb_host_hs_slaves),
+ .masters = omap34xx_usb_host_hs_masters,
+ .masters_cnt = ARRAY_SIZE(omap34xx_usb_host_hs_masters),
+ .flags = HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
+ .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430),
+};
+
+/*
+ * 'usb_tll_hs' class
+ * usb_tll_hs module is the adapter on the usb_host_hs ports
+ */
+static struct omap_hwmod_class_sysconfig omap34xx_usb_tll_hs_sysc = {
+ .rev_offs = 0x0000,
+ .sysc_offs = 0x0010,
+ .syss_offs = 0x0014,
+ .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE),
+ .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
+ .sysc_fields = &omap_hwmod_sysc_type1,
+};
+
+static struct omap_hwmod_class omap34xx_usb_tll_hs_hwmod_class = {
+ .name = "usbhs_tll",
+ .sysc = &omap34xx_usb_tll_hs_sysc,
+};
+
+static struct omap_hwmod_irq_info omap34xx_usb_tll_hs_irqs[] = {
+ { .name = "tll-irq", .irq = 78 },
+};
+
+static struct omap_hwmod_addr_space omap34xx_usb_tll_hs_addrs[] = {
+ {
+ .name = "tll",
+ .pa_start = 0x48062000,
+ .pa_end = 0x48062fff,
+ .flags = ADDR_TYPE_RT
+ },
+};
+
+static struct omap_hwmod_ocp_if omap34xx_f_cfg__usb_tll_hs = {
+ .clk = "usbtll_fck",
+ .user = OCP_USER_MPU,
+ .flags = OCPIF_SWSUP_IDLE,
+};
+
+static struct omap_hwmod_ocp_if omap34xx_l4_cfg__usb_tll_hs = {
+ .master = &omap3xxx_l4_core_hwmod,
+ .slave = &omap34xx_usb_tll_hs_hwmod,
+ .clk = "l4_ick",
+ .addr = omap34xx_usb_tll_hs_addrs,
+ .addr_cnt = ARRAY_SIZE(omap34xx_usb_tll_hs_addrs),
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
+};
+
+static struct omap_hwmod_ocp_if *omap34xx_usb_tll_hs_slaves[] = {
+ &omap34xx_l4_cfg__usb_tll_hs,
+ &omap34xx_f_cfg__usb_tll_hs,
+};
+
+static struct omap_hwmod omap34xx_usb_tll_hs_hwmod = {
+ .name = "usbhs_tll",
+ .class = &omap34xx_usb_tll_hs_hwmod_class,
+ .mpu_irqs = omap34xx_usb_tll_hs_irqs,
+ .mpu_irqs_cnt = ARRAY_SIZE(omap34xx_usb_tll_hs_irqs),
+ .main_clk = "usbtll_ick",
+ .prcm = {
+ .omap2 = {
+ .module_offs = CORE_MOD,
+ .prcm_reg_id = 3,
+ .module_bit = 2,
+ .idlest_reg_id = 3,
+ .idlest_idle_bit = 2,
+ },
+ },
+ .slaves = omap34xx_usb_tll_hs_slaves,
+ .slaves_cnt = ARRAY_SIZE(omap34xx_usb_tll_hs_slaves),
+ .flags = HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
+ .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP3430),
+};
+
static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
&omap3xxx_l3_main_hwmod,
&omap3xxx_l4_core_hwmod,
@@ -3656,6 +3837,9 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
/* usbotg for am35x */
&am35xx_usbhsotg_hwmod,
+ &omap34xx_usb_host_hs_hwmod,
+ &omap34xx_usb_tll_hs_hwmod,
+
NULL,
};
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index abc548a..d7112b0 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -66,6 +66,8 @@ static struct omap_hwmod omap44xx_mmc2_hwmod;
static struct omap_hwmod omap44xx_mpu_hwmod;
static struct omap_hwmod omap44xx_mpu_private_hwmod;
static struct omap_hwmod omap44xx_usb_otg_hs_hwmod;
+static struct omap_hwmod omap44xx_usb_host_hs_hwmod;
+static struct omap_hwmod omap44xx_usb_tll_hs_hwmod;
/*
* Interconnects omap_hwmod structures
@@ -5027,6 +5029,155 @@ static struct omap_hwmod omap44xx_wd_timer3_hwmod = {
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
};
+/*
+ * 'usb_host_hs' class
+ * high-speed multi-port usb host controller
+ */
+static struct omap_hwmod_ocp_if omap44xx_usb_host_hs__l3_main_2 = {
+ .master = &omap44xx_usb_host_hs_hwmod,
+ .slave = &omap44xx_l3_main_2_hwmod,
+ .clk = "l3_div_ck",
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
+};
+
+static struct omap_hwmod_class_sysconfig omap44xx_usb_host_hs_sysc = {
+ .rev_offs = 0x0000,
+ .sysc_offs = 0x0010,
+ .syss_offs = 0x0014,
+ .sysc_flags = (SYSC_HAS_MIDLEMODE | SYSC_HAS_SIDLEMODE),
+ .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
+ MSTANDBY_FORCE | MSTANDBY_NO | MSTANDBY_SMART),
+ .sysc_fields = &omap_hwmod_sysc_type2,
+};
+
+static struct omap_hwmod_class omap44xx_usb_host_hs_hwmod_class = {
+ .name = "usbhs_uhh",
+ .sysc = &omap44xx_usb_host_hs_sysc,
+};
+
+static struct omap_hwmod_ocp_if *omap44xx_usb_host_hs_masters[] = {
+ &omap44xx_usb_host_hs__l3_main_2,
+};
+
+static struct omap_hwmod_irq_info omap44xx_usb_host_hs_irqs[] = {
+ { .name = "ohci-irq", .irq = 76 + OMAP44XX_IRQ_GIC_START },
+ { .name = "ehci-irq", .irq = 77 + OMAP44XX_IRQ_GIC_START },
+};
+
+static struct omap_hwmod_addr_space omap44xx_usb_host_hs_addrs[] = {
+ {
+ .name = "uhh",
+ .pa_start = 0x4a064000,
+ .pa_end = 0x4a0647ff,
+ .flags = ADDR_TYPE_RT
+ },
+ {
+ .name = "ohci",
+ .pa_start = 0x4A064800,
+ .pa_end = 0x4A064BFF,
+ .flags = ADDR_MAP_ON_INIT
+ },
+ {
+ .name = "ehci",
+ .pa_start = 0x4A064C00,
+ .pa_end = 0x4A064FFF,
+ .flags = ADDR_MAP_ON_INIT
+ }
+};
+
+static struct omap_hwmod_ocp_if omap44xx_l4_cfg__usb_host_hs = {
+ .master = &omap44xx_l4_cfg_hwmod,
+ .slave = &omap44xx_usb_host_hs_hwmod,
+ .clk = "l4_div_ck",
+ .addr = omap44xx_usb_host_hs_addrs,
+ .addr_cnt = ARRAY_SIZE(omap44xx_usb_host_hs_addrs),
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
+};
+
+static struct omap_hwmod_ocp_if *omap44xx_usb_host_hs_slaves[] = {
+ &omap44xx_l4_cfg__usb_host_hs,
+};
+
+static struct omap_hwmod omap44xx_usb_host_hs_hwmod = {
+ .name = "usbhs_uhh",
+ .class = &omap44xx_usb_host_hs_hwmod_class,
+ .mpu_irqs = omap44xx_usb_host_hs_irqs,
+ .mpu_irqs_cnt = ARRAY_SIZE(omap44xx_usb_host_hs_irqs),
+ .main_clk = "usb_host_hs_fck",
+ .prcm = {
+ .omap4 = {
+ .clkctrl_reg = OMAP4430_CM_L3INIT_USB_HOST_CLKCTRL,
+ },
+ },
+ .slaves = omap44xx_usb_host_hs_slaves,
+ .slaves_cnt = ARRAY_SIZE(omap44xx_usb_host_hs_slaves),
+ .masters = omap44xx_usb_host_hs_masters,
+ .masters_cnt = ARRAY_SIZE(omap44xx_usb_host_hs_masters),
+ .flags = HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
+ .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
+};
+
+/*
+ * 'usb_tll_hs' class
+ * usb_tll_hs module is the adapter on the usb_host_hs ports
+ */
+static struct omap_hwmod_class_sysconfig omap44xx_usb_tll_hs_sysc = {
+ .rev_offs = 0x0000,
+ .sysc_offs = 0x0010,
+ .syss_offs = 0x0014,
+ .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE),
+ .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
+ .sysc_fields = &omap_hwmod_sysc_type1,
+};
+
+static struct omap_hwmod_class omap44xx_usb_tll_hs_hwmod_class = {
+ .name = "usbhs_tll",
+ .sysc = &omap44xx_usb_tll_hs_sysc,
+};
+
+static struct omap_hwmod_irq_info omap44xx_usb_tll_hs_irqs[] = {
+ { .name = "tll-irq", .irq = 78 + OMAP44XX_IRQ_GIC_START },
+};
+
+static struct omap_hwmod_addr_space omap44xx_usb_tll_hs_addrs[] = {
+ {
+ .name = "tll",
+ .pa_start = 0x4a062000,
+ .pa_end = 0x4a063fff,
+ .flags = ADDR_TYPE_RT
+ },
+};
+
+static struct omap_hwmod_ocp_if omap44xx_l4_cfg__usb_tll_hs = {
+ .master = &omap44xx_l4_cfg_hwmod,
+ .slave = &omap44xx_usb_tll_hs_hwmod,
+ .clk = "l4_div_ck",
+ .addr = omap44xx_usb_tll_hs_addrs,
+ .addr_cnt = ARRAY_SIZE(omap44xx_usb_tll_hs_addrs),
+ .user = OCP_USER_MPU | OCP_USER_SDMA,
+};
+
+static struct omap_hwmod_ocp_if *omap44xx_usb_tll_hs_slaves[] = {
+ &omap44xx_l4_cfg__usb_tll_hs,
+};
+
+static struct omap_hwmod omap44xx_usb_tll_hs_hwmod = {
+ .name = "usbhs_tll",
+ .class = &omap44xx_usb_tll_hs_hwmod_class,
+ .mpu_irqs = omap44xx_usb_tll_hs_irqs,
+ .mpu_irqs_cnt = ARRAY_SIZE(omap44xx_usb_tll_hs_irqs),
+ .main_clk = "usb_tll_hs_ick",
+ .prcm = {
+ .omap4 = {
+ .clkctrl_reg = OMAP4430_CM_L3INIT_USB_TLL_CLKCTRL,
+ },
+ },
+ .slaves = omap44xx_usb_tll_hs_slaves,
+ .slaves_cnt = ARRAY_SIZE(omap44xx_usb_tll_hs_slaves),
+ .flags = HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY,
+ .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
+};
+
static __initdata struct omap_hwmod *omap44xx_hwmods[] = {
/* dmm class */
@@ -5173,6 +5324,8 @@ static __initdata struct omap_hwmod *omap44xx_hwmods[] = {
&omap44xx_wd_timer2_hwmod,
&omap44xx_wd_timer3_hwmod,
+ &omap44xx_usb_host_hs_hwmod,
+ &omap44xx_usb_tll_hs_hwmod,
NULL,
};
--
1.6.6.1

View File

@@ -1,160 +0,0 @@
From 70f5e1a0e6639710503a9ffb9008ddcd2bb3f06e Mon Sep 17 00:00:00 2001
From: Keshava Munegowda <Keshava_mgowda@ti.com>
Date: Wed, 1 Jun 2011 11:02:54 -0700
Subject: [PATCH 05/13] arm: omap: usb: register hwmods of usbhs
The hwmod structure of uhh and tll are retrived
and registered with omap device
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
---
arch/arm/mach-omap2/usb-host.c | 99 ++++++++++++++--------------------------
1 files changed, 35 insertions(+), 64 deletions(-)
diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c
index 89ae298..9d762c4 100644
--- a/arch/arm/mach-omap2/usb-host.c
+++ b/arch/arm/mach-omap2/usb-host.c
@@ -28,51 +28,28 @@
#include <mach/hardware.h>
#include <mach/irqs.h>
#include <plat/usb.h>
+#include <plat/omap_device.h>
#include "mux.h"
#ifdef CONFIG_MFD_OMAP_USB_HOST
-#define OMAP_USBHS_DEVICE "usbhs-omap"
-
-static struct resource usbhs_resources[] = {
- {
- .name = "uhh",
- .flags = IORESOURCE_MEM,
- },
- {
- .name = "tll",
- .flags = IORESOURCE_MEM,
- },
- {
- .name = "ehci",
- .flags = IORESOURCE_MEM,
- },
- {
- .name = "ehci-irq",
- .flags = IORESOURCE_IRQ,
- },
- {
- .name = "ohci",
- .flags = IORESOURCE_MEM,
- },
- {
- .name = "ohci-irq",
- .flags = IORESOURCE_IRQ,
- }
-};
-
-static struct platform_device usbhs_device = {
- .name = OMAP_USBHS_DEVICE,
- .id = 0,
- .num_resources = ARRAY_SIZE(usbhs_resources),
- .resource = usbhs_resources,
-};
+#define OMAP_USBHS_DEVICE "usbhs_omap"
+#define USBHS_UHH_HWMODNAME "usbhs_uhh"
+#define USBHS_TLL_HWMODNAME "usbhs_tll"
static struct usbhs_omap_platform_data usbhs_data;
static struct ehci_hcd_omap_platform_data ehci_data;
static struct ohci_hcd_omap_platform_data ohci_data;
+static struct omap_device_pm_latency omap_uhhtll_latency[] = {
+ {
+ .deactivate_func = omap_device_idle_hwmods,
+ .activate_func = omap_device_enable_hwmods,
+ .flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST,
+ },
+};
+
/* MUX settings for EHCI pins */
/*
* setup_ehci_io_mux - initialize IO pad mux for USBHOST
@@ -508,7 +485,10 @@ static void setup_4430ohci_io_mux(const enum usbhs_omap_port_mode *port_mode)
void __init usbhs_init(const struct usbhs_omap_board_data *pdata)
{
- int i;
+ struct omap_hwmod *oh[2];
+ struct omap_device *od;
+ int bus_id = -1;
+ int i;
for (i = 0; i < OMAP3_HS_USB_PORTS; i++) {
usbhs_data.port_mode[i] = pdata->port_mode[i];
@@ -523,44 +503,35 @@ void __init usbhs_init(const struct usbhs_omap_board_data *pdata)
usbhs_data.ohci_data = &ohci_data;
if (cpu_is_omap34xx()) {
- usbhs_resources[0].start = OMAP34XX_UHH_CONFIG_BASE;
- usbhs_resources[0].end = OMAP34XX_UHH_CONFIG_BASE + SZ_1K - 1;
- usbhs_resources[1].start = OMAP34XX_USBTLL_BASE;
- usbhs_resources[1].end = OMAP34XX_USBTLL_BASE + SZ_4K - 1;
- usbhs_resources[2].start = OMAP34XX_EHCI_BASE;
- usbhs_resources[2].end = OMAP34XX_EHCI_BASE + SZ_1K - 1;
- usbhs_resources[3].start = INT_34XX_EHCI_IRQ;
- usbhs_resources[4].start = OMAP34XX_OHCI_BASE;
- usbhs_resources[4].end = OMAP34XX_OHCI_BASE + SZ_1K - 1;
- usbhs_resources[5].start = INT_34XX_OHCI_IRQ;
setup_ehci_io_mux(pdata->port_mode);
setup_ohci_io_mux(pdata->port_mode);
} else if (cpu_is_omap44xx()) {
- usbhs_resources[0].start = OMAP44XX_UHH_CONFIG_BASE;
- usbhs_resources[0].end = OMAP44XX_UHH_CONFIG_BASE + SZ_1K - 1;
- usbhs_resources[1].start = OMAP44XX_USBTLL_BASE;
- usbhs_resources[1].end = OMAP44XX_USBTLL_BASE + SZ_4K - 1;
- usbhs_resources[2].start = OMAP44XX_HSUSB_EHCI_BASE;
- usbhs_resources[2].end = OMAP44XX_HSUSB_EHCI_BASE + SZ_1K - 1;
- usbhs_resources[3].start = OMAP44XX_IRQ_EHCI;
- usbhs_resources[4].start = OMAP44XX_HSUSB_OHCI_BASE;
- usbhs_resources[4].end = OMAP44XX_HSUSB_OHCI_BASE + SZ_1K - 1;
- usbhs_resources[5].start = OMAP44XX_IRQ_OHCI;
setup_4430ehci_io_mux(pdata->port_mode);
setup_4430ohci_io_mux(pdata->port_mode);
}
- if (platform_device_add_data(&usbhs_device,
- &usbhs_data, sizeof(usbhs_data)) < 0) {
- printk(KERN_ERR "USBHS platform_device_add_data failed\n");
- goto init_end;
+ oh[0] = omap_hwmod_lookup(USBHS_UHH_HWMODNAME);
+ if (!oh[0]) {
+ pr_err("Could not look up %s\n", USBHS_UHH_HWMODNAME);
+ return;
}
- if (platform_device_register(&usbhs_device) < 0)
- printk(KERN_ERR "USBHS platform_device_register failed\n");
+ oh[1] = omap_hwmod_lookup(USBHS_TLL_HWMODNAME);
+ if (!oh[1]) {
+ pr_err("Could not look up %s\n", USBHS_TLL_HWMODNAME);
+ return;
+ }
-init_end:
- return;
+ od = omap_device_build_ss(OMAP_USBHS_DEVICE, bus_id, oh, 2,
+ (void *)&usbhs_data, sizeof(usbhs_data),
+ omap_uhhtll_latency,
+ ARRAY_SIZE(omap_uhhtll_latency), false);
+
+ if (IS_ERR(od)) {
+ pr_err("Could not build hwmod devices %s, %s\n",
+ USBHS_UHH_HWMODNAME, USBHS_TLL_HWMODNAME);
+ return;
+ }
}
#else
--
1.6.6.1

View File

@@ -1,123 +0,0 @@
From 64bc651bb56435e4cd86d2ebfa4f301abdbac6e5 Mon Sep 17 00:00:00 2001
From: Keshava Munegowda <Keshava_mgowda@ti.com>
Date: Wed, 1 Jun 2011 11:02:58 -0700
Subject: [PATCH 06/13] arm: omap: usb: device name change for the clk names of usbhs
device name usbhs clocks are changed from
usbhs-omap.0 to usbhs_omap; this is because
in the hwmod registration the device name is set
as usbhs_omap
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
---
arch/arm/mach-omap2/clock3xxx_data.c | 28 ++++++++++++++--------------
arch/arm/mach-omap2/clock44xx_data.c | 10 +++++-----
drivers/mfd/omap-usb-host.c | 2 +-
3 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c
index 75b119b..fabe482 100644
--- a/arch/arm/mach-omap2/clock3xxx_data.c
+++ b/arch/arm/mach-omap2/clock3xxx_data.c
@@ -3285,7 +3285,7 @@ static struct omap_clk omap3xxx_clks[] = {
CLK(NULL, "cpefuse_fck", &cpefuse_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK(NULL, "ts_fck", &ts_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK(NULL, "usbtll_fck", &usbtll_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
- CLK("usbhs-omap.0", "usbtll_fck", &usbtll_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
+ CLK("usbhs_omap", "usbtll_fck", &usbtll_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK("omap-mcbsp.1", "prcm_fck", &core_96m_fck, CK_3XXX),
CLK("omap-mcbsp.5", "prcm_fck", &core_96m_fck, CK_3XXX),
CLK(NULL, "core_96m_fck", &core_96m_fck, CK_3XXX),
@@ -3321,7 +3321,7 @@ static struct omap_clk omap3xxx_clks[] = {
CLK(NULL, "pka_ick", &pka_ick, CK_34XX | CK_36XX),
CLK(NULL, "core_l4_ick", &core_l4_ick, CK_3XXX),
CLK(NULL, "usbtll_ick", &usbtll_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
- CLK("usbhs-omap.0", "usbtll_ick", &usbtll_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
+ CLK("usbhs_omap", "usbtll_ick", &usbtll_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK("omap_hsmmc.2", "ick", &mmchs3_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK(NULL, "icr_ick", &icr_ick, CK_34XX | CK_36XX),
CLK("omap-aes", "ick", &aes2_ick, CK_34XX | CK_36XX),
@@ -3367,20 +3367,20 @@ static struct omap_clk omap3xxx_clks[] = {
CLK(NULL, "cam_ick", &cam_ick, CK_34XX | CK_36XX),
CLK(NULL, "csi2_96m_fck", &csi2_96m_fck, CK_34XX | CK_36XX),
CLK(NULL, "usbhost_120m_fck", &usbhost_120m_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
- CLK("usbhs-omap.0", "hs_fck", &usbhost_120m_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
+ CLK("usbhs_omap", "hs_fck", &usbhost_120m_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK(NULL, "usbhost_48m_fck", &usbhost_48m_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
- CLK("usbhs-omap.0", "fs_fck", &usbhost_48m_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
+ CLK("usbhs_omap", "fs_fck", &usbhost_48m_fck, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
CLK(NULL, "usbhost_ick", &usbhost_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
- CLK("usbhs-omap.0", "usbhost_ick", &usbhost_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
- CLK("usbhs-omap.0", "utmi_p1_gfclk", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "utmi_p2_gfclk", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "xclk60mhsp1_ck", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "xclk60mhsp2_ck", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "usb_host_hs_utmi_p1_clk", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "usb_host_hs_utmi_p2_clk", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "usb_tll_hs_usb_ch0_clk", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "usb_tll_hs_usb_ch1_clk", &dummy_ck, CK_3XXX),
- CLK("usbhs-omap.0", "init_60m_fclk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "usbhost_ick", &usbhost_ick, CK_3430ES2PLUS | CK_AM35XX | CK_36XX),
+ CLK("usbhs_omap", "utmi_p1_gfclk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "utmi_p2_gfclk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "xclk60mhsp1_ck", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "xclk60mhsp2_ck", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "usb_host_hs_utmi_p1_clk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "usb_host_hs_utmi_p2_clk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "usb_tll_hs_usb_ch0_clk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "usb_tll_hs_usb_ch1_clk", &dummy_ck, CK_3XXX),
+ CLK("usbhs_omap", "init_60m_fclk", &dummy_ck, CK_3XXX),
CLK(NULL, "usim_fck", &usim_fck, CK_3430ES2PLUS | CK_36XX),
CLK(NULL, "gpt1_fck", &gpt1_fck, CK_3XXX),
CLK(NULL, "wkup_32k_fck", &wkup_32k_fck, CK_3XXX),
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c
index 8c96567..34e91eb 100644
--- a/arch/arm/mach-omap2/clock44xx_data.c
+++ b/arch/arm/mach-omap2/clock44xx_data.c
@@ -3205,7 +3205,7 @@ static struct omap_clk omap44xx_clks[] = {
CLK(NULL, "uart3_fck", &uart3_fck, CK_443X),
CLK(NULL, "uart4_fck", &uart4_fck, CK_443X),
CLK(NULL, "usb_host_fs_fck", &usb_host_fs_fck, CK_443X),
- CLK("usbhs-omap.0", "fs_fck", &usb_host_fs_fck, CK_443X),
+ CLK("usbhs_omap", "fs_fck", &usb_host_fs_fck, CK_443X),
CLK(NULL, "utmi_p1_gfclk", &utmi_p1_gfclk, CK_443X),
CLK(NULL, "usb_host_hs_utmi_p1_clk", &usb_host_hs_utmi_p1_clk, CK_443X),
CLK(NULL, "utmi_p2_gfclk", &utmi_p2_gfclk, CK_443X),
@@ -3217,8 +3217,8 @@ static struct omap_clk omap44xx_clks[] = {
CLK(NULL, "usb_host_hs_hsic480m_p2_clk", &usb_host_hs_hsic480m_p2_clk, CK_443X),
CLK(NULL, "usb_host_hs_func48mclk", &usb_host_hs_func48mclk, CK_443X),
CLK(NULL, "usb_host_hs_fck", &usb_host_hs_fck, CK_443X),
- CLK("usbhs-omap.0", "hs_fck", &usb_host_hs_fck, CK_443X),
- CLK("usbhs-omap.0", "usbhost_ick", &dummy_ck, CK_443X),
+ CLK("usbhs_omap", "hs_fck", &usb_host_hs_fck, CK_443X),
+ CLK("usbhs_omap", "usbhost_ick", &dummy_ck, CK_443X),
CLK(NULL, "otg_60m_gfclk", &otg_60m_gfclk, CK_443X),
CLK(NULL, "usb_otg_hs_xclk", &usb_otg_hs_xclk, CK_443X),
CLK("musb-omap2430", "ick", &usb_otg_hs_ick, CK_443X),
@@ -3227,8 +3227,8 @@ static struct omap_clk omap44xx_clks[] = {
CLK(NULL, "usb_tll_hs_usb_ch0_clk", &usb_tll_hs_usb_ch0_clk, CK_443X),
CLK(NULL, "usb_tll_hs_usb_ch1_clk", &usb_tll_hs_usb_ch1_clk, CK_443X),
CLK(NULL, "usb_tll_hs_ick", &usb_tll_hs_ick, CK_443X),
- CLK("usbhs-omap.0", "usbtll_ick", &usb_tll_hs_ick, CK_443X),
- CLK("usbhs-omap.0", "usbtll_fck", &dummy_ck, CK_443X),
+ CLK("usbhs_omap", "usbtll_ick", &usb_tll_hs_ick, CK_443X),
+ CLK("usbhs_omap", "usbtll_fck", &dummy_ck, CK_443X),
CLK(NULL, "usim_ck", &usim_ck, CK_443X),
CLK(NULL, "usim_fclk", &usim_fclk, CK_443X),
CLK(NULL, "usim_fck", &usim_fck, CK_443X),
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 8552195..43de12a 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -28,7 +28,7 @@
#include <plat/usb.h>
#include <linux/pm_runtime.h>
-#define USBHS_DRIVER_NAME "usbhs-omap"
+#define USBHS_DRIVER_NAME "usbhs_omap"
#define OMAP_EHCI_DEVICE "ehci-omap"
#define OMAP_OHCI_DEVICE "ohci-omap3"
--
1.6.6.1

View File

@@ -1,165 +0,0 @@
From bf583f2924fd9b2f0356cbd0bbfd58c48d98ef15 Mon Sep 17 00:00:00 2001
From: Keshava Munegowda <Keshava_mgowda@ti.com>
Date: Wed, 1 Jun 2011 11:03:03 -0700
Subject: [PATCH 07/13] mfd: global Suspend and resume support of ehci and ohci
The global suspend and resume functions for usbhs core driver
are implemented.These routine are called when the global suspend
and resume occurs. Before calling these functions, the
bus suspend and resume of ehci and ohci drivers are called
from runtime pm.
Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
---
drivers/mfd/omap-usb-host.c | 103 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 103 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 43de12a..32d19e2 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -146,6 +146,10 @@
#define is_ehci_hsic_mode(x) (x == OMAP_EHCI_PORT_MODE_HSIC)
+/* USBHS state bits */
+#define OMAP_USBHS_INIT 0
+#define OMAP_USBHS_SUSPEND 4
+
struct usbhs_hcd_omap {
struct clk *xclk60mhsp1_ck;
struct clk *xclk60mhsp2_ck;
@@ -165,6 +169,7 @@ struct usbhs_hcd_omap {
u32 usbhs_rev;
spinlock_t lock;
int count;
+ unsigned long state;
};
/*-------------------------------------------------------------------------*/
@@ -809,6 +814,8 @@ static int usbhs_enable(struct device *dev)
(pdata->ehci_data->reset_gpio_port[1], 1);
}
+ set_bit(OMAP_USBHS_INIT, &omap->state);
+
end_count:
omap->count++;
spin_unlock_irqrestore(&omap->lock, flags);
@@ -897,6 +904,7 @@ static void usbhs_disable(struct device *dev)
}
pm_runtime_put_sync(dev);
+ clear_bit(OMAP_USBHS_INIT, &omap->state);
/* The gpio_free migh sleep; so unlock the spinlock */
spin_unlock_irqrestore(&omap->lock, flags);
@@ -926,10 +934,105 @@ void omap_usbhs_disable(struct device *dev)
}
EXPORT_SYMBOL_GPL(omap_usbhs_disable);
+#ifdef CONFIG_PM
+
+static int usbhs_resume(struct device *dev)
+{
+ struct usbhs_hcd_omap *omap = dev_get_drvdata(dev);
+ struct usbhs_omap_platform_data *pdata = &omap->platdata;
+ unsigned long flags = 0;
+
+ dev_dbg(dev, "Resuming TI HSUSB Controller\n");
+
+ if (!pdata) {
+ dev_dbg(dev, "missing platform_data\n");
+ return -ENODEV;
+ }
+
+ spin_lock_irqsave(&omap->lock, flags);
+
+ if (!test_bit(OMAP_USBHS_INIT, &omap->state) ||
+ !test_bit(OMAP_USBHS_SUSPEND, &omap->state))
+ goto end_resume;
+
+ pm_runtime_get_sync(dev);
+
+ if (is_omap_usbhs_rev2(omap)) {
+ if (is_ehci_tll_mode(pdata->port_mode[0])) {
+ clk_enable(omap->usbhost_p1_fck);
+ clk_enable(omap->usbtll_p1_fck);
+ }
+ if (is_ehci_tll_mode(pdata->port_mode[1])) {
+ clk_enable(omap->usbhost_p2_fck);
+ clk_enable(omap->usbtll_p2_fck);
+ }
+ clk_enable(omap->utmi_p1_fck);
+ clk_enable(omap->utmi_p2_fck);
+ }
+ clear_bit(OMAP_USBHS_SUSPEND, &omap->state);
+
+end_resume:
+ spin_unlock_irqrestore(&omap->lock, flags);
+ return 0;
+}
+
+
+static int usbhs_suspend(struct device *dev)
+{
+ struct usbhs_hcd_omap *omap = dev_get_drvdata(dev);
+ struct usbhs_omap_platform_data *pdata = &omap->platdata;
+ unsigned long flags = 0;
+
+ dev_dbg(dev, "Suspending TI HSUSB Controller\n");
+
+ if (!pdata) {
+ dev_dbg(dev, "missing platform_data\n");
+ return -ENODEV;
+ }
+
+ spin_lock_irqsave(&omap->lock, flags);
+
+ if (!test_bit(OMAP_USBHS_INIT, &omap->state) ||
+ test_bit(OMAP_USBHS_SUSPEND, &omap->state))
+ goto end_suspend;
+
+ if (is_omap_usbhs_rev2(omap)) {
+ if (is_ehci_tll_mode(pdata->port_mode[0])) {
+ clk_disable(omap->usbhost_p1_fck);
+ clk_disable(omap->usbtll_p1_fck);
+ }
+ if (is_ehci_tll_mode(pdata->port_mode[1])) {
+ clk_disable(omap->usbhost_p2_fck);
+ clk_disable(omap->usbtll_p2_fck);
+ }
+ clk_disable(omap->utmi_p2_fck);
+ clk_disable(omap->utmi_p1_fck);
+ }
+
+ set_bit(OMAP_USBHS_SUSPEND, &omap->state);
+ pm_runtime_put_sync(dev);
+
+end_suspend:
+ spin_unlock_irqrestore(&omap->lock, flags);
+ return 0;
+}
+
+
+static const struct dev_pm_ops usbhsomap_dev_pm_ops = {
+ .suspend = usbhs_suspend,
+ .resume = usbhs_resume,
+};
+
+#define USBHS_OMAP_DEV_PM_OPS (&usbhsomap_dev_pm_ops)
+#else
+#define USBHS_OMAP_DEV_PM_OPS NULL
+#endif
+
static struct platform_driver usbhs_omap_driver = {
.driver = {
.name = (char *)usbhs_driver_name,
.owner = THIS_MODULE,
+ .pm = USBHS_OMAP_DEV_PM_OPS,
},
.remove = __exit_p(usbhs_omap_remove),
};
--
1.6.6.1

View File

@@ -1,36 +0,0 @@
From 1f2e639755b920398d6592775e0e31f7fb1ca955 Mon Sep 17 00:00:00 2001
From: Lesly A M <leslyam@ti.com>
Date: Wed, 1 Jun 2011 14:56:38 -0700
Subject: [PATCH 08/13] MFD: TWL4030: Correct the warning print during script loading
Correcting the if condition check for printing the warning,
if wakeup script is not updated before updating the sleep script.
Since the flag 'order' is set to '1' while updating the wakeup script for P1P2,
the condition checking for printing the warning should be if(!order)
(ie: print the warning if wakeup script is not updated before updating the sleep script)
Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/twl4030-power.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c
index 2c0d4d1..8373d79 100644
--- a/drivers/mfd/twl4030-power.c
+++ b/drivers/mfd/twl4030-power.c
@@ -448,7 +448,7 @@ static int __init load_twl4030_script(struct twl4030_script *tscript,
goto out;
}
if (tscript->flags & TWL4030_SLEEP_SCRIPT) {
- if (order)
+ if (!order)
pr_warning("TWL4030: Bad order of scripts (sleep "\
"script before wakeup) Leads to boot"\
"failure on some boards\n");
--
1.6.6.1

View File

@@ -1,61 +0,0 @@
From ea9acebfe2d3ca8fb3969eaf327665632142b85d Mon Sep 17 00:00:00 2001
From: Lesly A M <leslyam@ti.com>
Date: Wed, 1 Jun 2011 14:56:45 -0700
Subject: [PATCH 09/13] MFD: TWL4030: Modifying the macro name Main_Ref to all caps
Modifying the macro name Main_Ref to all caps(MAIN_REF).
Suggested by Nishanth Menon <nm@ti.com>
Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 2 +-
drivers/mfd/twl4030-power.c | 2 +-
include/linux/i2c/twl.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index bbcb677..01ee0a1 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -730,7 +730,7 @@ static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
{ .resource = RES_RESET, .devgroup = -1,
.type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1
},
- { .resource = RES_Main_Ref, .devgroup = -1,
+ { .resource = RES_MAIN_REF, .devgroup = -1,
.type = 1, .type2 = -1, .remap_off = -1, .remap_sleep = -1
},
{ 0, 0},
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c
index 8373d79..8162e43 100644
--- a/drivers/mfd/twl4030-power.c
+++ b/drivers/mfd/twl4030-power.c
@@ -120,7 +120,7 @@ static u8 res_config_addrs[] = {
[RES_HFCLKOUT] = 0x8b,
[RES_32KCLKOUT] = 0x8e,
[RES_RESET] = 0x91,
- [RES_Main_Ref] = 0x94,
+ [RES_MAIN_REF] = 0x94,
};
static int __init twl4030_write_script_byte(u8 address, u8 byte)
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index cbbf3b3..aee3a22 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -502,7 +502,7 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
#define RES_32KCLKOUT 26
#define RES_RESET 27
/* Power Reference */
-#define RES_Main_Ref 28
+#define RES_MAIN_REF 28
#define TOTAL_RESOURCES 28
/*
--
1.6.6.1

View File

@@ -1,705 +0,0 @@
From 0b29e1f61b85dd2d04f035088b70dc287d15b9f0 Mon Sep 17 00:00:00 2001
From: Lesly A M <leslyam@ti.com>
Date: Wed, 1 Jun 2011 14:56:49 -0700
Subject: [PATCH 10/13] MFD: TWL4030: power scripts for OMAP3 boards
Power bus message sequence for TWL4030 to enter sleep/wakeup/warm_reset.
TWL4030 power scripts which can be used by different OMAP3 boards
with the power companion chip (TWL4030 series).
The twl4030 generic script can be used by any board file to update
the power data in twl4030_platform_data.
Since the TWL4030 power script has dependency with APIs in twl4030-power.c
removing the __init for these APIs.
For more information please see:
http://omapedia.org/wiki/TWL4030_power_scripts
Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
arch/arm/configs/omap2plus_defconfig | 1 +
arch/arm/mach-omap2/devices.c | 15 ++
drivers/mfd/Kconfig | 11 +
drivers/mfd/Makefile | 1 +
drivers/mfd/twl4030-power.c | 31 ++--
drivers/mfd/twl4030-script-omap.c | 373 ++++++++++++++++++++++++++++++++++
include/linux/i2c/twl.h | 41 ++++-
7 files changed, 454 insertions(+), 19 deletions(-)
create mode 100644 drivers/mfd/twl4030-script-omap.c
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 076db52..d9b9858 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -184,6 +184,7 @@ CONFIG_TWL4030_WATCHDOG=y
CONFIG_MENELAUS=y
CONFIG_TWL4030_CORE=y
CONFIG_TWL4030_POWER=y
+CONFIG_TWL4030_SCRIPT=m
CONFIG_REGULATOR=y
CONFIG_REGULATOR_TWL4030=y
CONFIG_REGULATOR_TPS65023=y
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 7b85585..7653329 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -329,6 +329,20 @@ static void omap_init_audio(void)
static inline void omap_init_audio(void) {}
#endif
+#ifdef CONFIG_ARCH_OMAP3
+static struct platform_device omap_twl4030_script = {
+ .name = "twl4030_script",
+ .id = -1,
+};
+
+static void omap_init_twl4030_script(void)
+{
+ platform_device_register(&omap_twl4030_script);
+}
+#else
+static inline void omap_init_twl4030_script(void) {}
+#endif
+
#if defined(CONFIG_SPI_OMAP24XX) || defined(CONFIG_SPI_OMAP24XX_MODULE)
#include <plat/mcspi.h>
@@ -691,6 +705,7 @@ static int __init omap2_init_devices(void)
omap_init_sham();
omap_init_aes();
omap_init_vout();
+ omap_init_twl4030_script();
return 0;
}
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index fe2370a..ea25d93 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -204,6 +204,17 @@ config TWL4030_POWER
and load scripts controlling which resources are switched off/on
or reset when a sleep, wakeup or warm reset event occurs.
+config TWL4030_SCRIPT
+ tristate "Support TWL4030 script for OMAP3 boards"
+ depends on TWL4030_CORE && TWL4030_POWER
+ help
+ Say yes here if you want to use the twl4030 power scripts
+ for OMAP3 boards. Power bus message sequence for
+ TWL4030 to enter sleep/wakeup/warm_reset.
+
+ TWL4030 power scripts which can be used by different
+ OMAP3 boards with the power companion chip (TWL4030 series).
+
config TWL4030_CODEC
bool
depends on TWL4030_CORE
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 419caa9..53ada21 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -42,6 +42,7 @@ obj-$(CONFIG_TWL4030_MADC) += twl4030-madc.o
obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
obj-$(CONFIG_TWL4030_CODEC) += twl4030-codec.o
obj-$(CONFIG_TWL6030_PWM) += twl6030-pwm.o
+obj-$(CONFIG_TWL4030_SCRIPT) += twl4030-script-omap.o
obj-$(CONFIG_MFD_MC13XXX) += mc13xxx-core.o
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c
index 8162e43..91d5bc8 100644
--- a/drivers/mfd/twl4030-power.c
+++ b/drivers/mfd/twl4030-power.c
@@ -123,7 +123,7 @@ static u8 res_config_addrs[] = {
[RES_MAIN_REF] = 0x94,
};
-static int __init twl4030_write_script_byte(u8 address, u8 byte)
+static int twl4030_write_script_byte(u8 address, u8 byte)
{
int err;
@@ -137,7 +137,7 @@ out:
return err;
}
-static int __init twl4030_write_script_ins(u8 address, u16 pmb_message,
+static int twl4030_write_script_ins(u8 address, u16 pmb_message,
u8 delay, u8 next)
{
int err;
@@ -157,7 +157,7 @@ out:
return err;
}
-static int __init twl4030_write_script(u8 address, struct twl4030_ins *script,
+static int twl4030_write_script(u8 address, struct twl4030_ins *script,
int len)
{
int err;
@@ -182,7 +182,7 @@ static int __init twl4030_write_script(u8 address, struct twl4030_ins *script,
return err;
}
-static int __init twl4030_config_wakeup3_sequence(u8 address)
+static int twl4030_config_wakeup3_sequence(u8 address)
{
int err;
u8 data;
@@ -207,7 +207,7 @@ out:
return err;
}
-static int __init twl4030_config_wakeup12_sequence(u8 address)
+static int twl4030_config_wakeup12_sequence(u8 address)
{
int err = 0;
u8 data;
@@ -261,7 +261,7 @@ out:
return err;
}
-static int __init twl4030_config_sleep_sequence(u8 address)
+static int twl4030_config_sleep_sequence(u8 address)
{
int err;
@@ -275,7 +275,7 @@ static int __init twl4030_config_sleep_sequence(u8 address)
return err;
}
-static int __init twl4030_config_warmreset_sequence(u8 address)
+static int twl4030_config_warmreset_sequence(u8 address)
{
int err;
u8 rd_data;
@@ -323,7 +323,7 @@ out:
return err;
}
-static int __init twl4030_configure_resource(struct twl4030_resconfig *rconfig)
+static int twl4030_configure_resource(struct twl4030_resconfig *rconfig)
{
int rconfig_addr;
int err;
@@ -415,7 +415,7 @@ static int __init twl4030_configure_resource(struct twl4030_resconfig *rconfig)
return 0;
}
-static int __init load_twl4030_script(struct twl4030_script *tscript,
+static int load_twl4030_script(struct twl4030_script *tscript,
u8 address)
{
int err;
@@ -510,8 +510,9 @@ int twl4030_remove_script(u8 flags)
return err;
}
+EXPORT_SYMBOL_GPL(twl4030_remove_script);
-void __init twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
+int twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
{
int err = 0;
int i;
@@ -529,7 +530,6 @@ void __init twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
TWL4030_PM_MASTER_PROTECT_KEY);
if (err)
goto unlock;
-
for (i = 0; i < twl4030_scripts->num; i++) {
err = load_twl4030_script(twl4030_scripts->scripts[i], address);
if (err)
@@ -552,18 +552,19 @@ void __init twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
TWL4030_PM_MASTER_PROTECT_KEY);
if (err)
pr_err("TWL4030 Unable to relock registers\n");
- return;
+ return err;
unlock:
if (err)
pr_err("TWL4030 Unable to unlock registers\n");
- return;
+ return err;
load:
if (err)
pr_err("TWL4030 failed to load scripts\n");
- return;
+ return err;
resource:
if (err)
pr_err("TWL4030 failed to configure resource\n");
- return;
+ return err;
}
+EXPORT_SYMBOL_GPL(twl4030_power_init);
diff --git a/drivers/mfd/twl4030-script-omap.c b/drivers/mfd/twl4030-script-omap.c
new file mode 100644
index 0000000..867a442
--- /dev/null
+++ b/drivers/mfd/twl4030-script-omap.c
@@ -0,0 +1,373 @@
+/*
+ * OMAP power script for PMIC TWL4030
+ *
+ * Author: Lesly A M <leslyam@ti.com>
+ *
+ * Copyright (C) 2010 Texas Instruments, Inc.
+ * Lesly A M <leslyam@ti.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
+
+#include <linux/i2c/twl.h>
+
+/*
+ * power management signal connections for OMAP3430 with TWL5030
+ *
+ * TWL5030 OMAP3430
+ * ______________________ _____________________
+ * | | | |
+ * | (P1) NSLEEP1|<----------|SYS_OFFMODE |
+ * | NRESWARM|<----------|NWARMRESET |
+ * | (P2) NSLEEP2|---| | |
+ * | | === | |
+ * | | - | |
+ * | | | |
+ * | VDD1 |---------->| VDD1 |
+ * | VDD2 |---------->| VDD2 |
+ * | VIO |---------->| VDDS |
+ * ________ | VAUX1 | | |
+ * | | | ... | | |
+ * | ENABLE|<--------|CLKEN CLKREQ|<----------|SYS_CLKREQ |
+ * | CLKOUT|-------->|HFCLKIN (P3) HFCLKOUT|---------->|XTALIN |
+ * |________| |______________________| |_____________________|
+ *
+ *
+ * Signal descriptions:
+ *
+ * SYS_OFFMODE - OMAP drives this signal low only when the OMAP is in the
+ * OFF idle mode. It is driven high when a wake up event is detected.
+ * This signal should control the P1 device group in the PMIC.
+ *
+ * SYS_CLKREQ - OMAP should drive this signal low when the OMAP goes into
+ * any idle mode. This signal should control the P3 device group
+ * in the PMIC. It is used to notify PMIC when XTALIN is no longer needed.
+ *
+ * NSLEEP1(P1) - When this signal goes low the P1 sleep sequence is executed
+ * in the PMIC turning off certain resources. When this signal goes high
+ * the P1 active sequence is executed turning back on certain resources.
+ *
+ * NSLEEP2(P2) - This signal controls the P2 device group of the PMIC.
+ * It is not used in this setup and should be tied to ground.
+ * This can be used for connecting a different processor or MODEM chip.
+ *
+ * CLKREQ(P3) - When this signal goes low the P3 sleep sequence is executed
+ * in the PMIC turning off HFCLKOUT. When this signal goes high
+ * the P3 active sequence is executed turning back on HFCLKOUT and other
+ * resources.
+ *
+ * CLKEN - Enable signal for oscillator. Should only go low when OMAP is
+ * in the OFF idle mode due to long oscillator startup times.
+ *
+ * HFCLKIN - Oscillator output clock into PMIC.
+ *
+ * HFCLKOUT - System clock output from PMIC to OMAP.
+ *
+ * XTALIN - OMAP system clock input(HFCLKOUT).
+ */
+
+/*
+ * Recommended sleep and active sequences for TWL5030 when connected to OMAP3
+ *
+ * WARNING: If the board is using NSLEEP2(P2), should modify this script and
+ * setuptime values accordingly.
+ *
+ * Chip Retention/Off (using i2c for scaling voltage):
+ * When OMAP de-assert the SYS_CLKREQ signal, only HFCLKOUT is affected
+ * since it is the only resource assigned to P3 only.
+ *
+ * Sysoff (using sys_off signal):
+ * When OMAP de-assert the SYS_OFFMODE signal A2S(active to sleep sequence)
+ * on the PMIC is executed. This will put resources of TYPE2=1 and TYPE2=2
+ * into sleep. At this point only resources assigned to P1 only will be
+ * affected (VDD1, VDD2 & VPLL1).
+ *
+ * Next the OMAP will lower SYS_CLKREQ which will allow the A2S sequence
+ * in PMIC to execute again. This will put resources of TYPE2=1 and TYPE2=2
+ * into sleep but will affect resources that are assigned to P3(HFCLKOUT)
+ * only or assigned to P1 and P3.
+ *
+ * On wakeup event OMAP goes active and pulls the SYS_CLKREQ high,
+ * which will execute the P3 S2A sequence on the PMIC. This will turn on
+ * resources assigned to P3 or assigned to P1 and P3 and of TYPE2=2.
+ *
+ * Next the OMAP will wait the PRM_VOLTOFFSET time and then de-assert
+ * the SYS_OFFMODE pin allowing the PMIC to execute the P1 S2A active
+ * sequence. This will turn on resources assigned to P1 or assigned to
+ * P1 and P3 and of TYPE2=1.
+ *
+ * Timing diagram for OMAP wakeup from OFFMODE using sys_off signal
+ * _____________________________________________________________
+ * OMAP active __/
+ * |<--------------------PRM_CLKSETP-------------------->|
+ * ______________________________________________________
+ * SYS_CLKREQ _________/
+ * ___________________________________________________
+ * CLKEN ____________/
+ *
+ * HFCLKIN _______________________________________________/////////////////
+ *
+ * HFCLKOUT __________________________________________________//////////////
+ * |<---PRM_VOLTOFFSET-->|
+ * ________________________________
+ * SYS_OFFMODE _______________________________/
+ * |<--------PRM_VOLTSETUP2------->|
+ * ___________
+ * VPLL1 ____________________________________________________/
+ * __
+ * VDD1 _____________________________________________________________/
+ * __
+ * VDD2 _____________________________________________________________/
+ *
+ * Other resources which are not handled by this script should be
+ * controlled by the respective drivers using them (VAUX1, VAUX2, VAUX3,
+ * VAUX4, VMMC1, VMMC2, VPLL2, VSIM, VDAC, VUSB1V5, VUSB1V8 & VUSB3V1).
+ *
+ * More info:
+ * http://omapedia.org/wiki/TWL4030_power_scripts
+ */
+
+/**
+ * DOC: Sleep to active sequence for P1/P2
+ *
+ * Sequence to control the TWL4030 Power resources,
+ * when the system wakeup from sleep.
+ * Executed upon P1_P2 transition for wakeup
+ * (sys_offmode signal de-asserted on OMAP).
+ */
+static struct twl4030_ins wakeup_p12_seq[] __initdata = {
+ /*
+ * Broadcast message to put resources to active
+ *
+ * Since we are not using TYPE, resources which have TYPE2 configured
+ * as 1 will be targeted (VPLL1, VDD1, VDD2, REGEN, NRES_PWRON, SYSEN).
+ */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R1,
+ RES_STATE_ACTIVE), 2},
+};
+
+static struct twl4030_script wakeup_p12_script __initdata = {
+ .script = wakeup_p12_seq,
+ .size = ARRAY_SIZE(wakeup_p12_seq),
+ .flags = TWL4030_WAKEUP12_SCRIPT,
+};
+
+/**
+ * DOC: Sleep to active sequence for P3
+ *
+ * Sequence to control the TWL4030 Power resources,
+ * when the system wakeup from sleep.
+ * Executed upon P3 transition for wakeup
+ * (clkreq signal asserted on OMAP).
+ */
+static struct twl4030_ins wakeup_p3_seq[] __initdata = {
+ /*
+ * Broadcast message to put resources to active
+ *
+ * Since we are not using TYPE, resources which have TYPE2 configured
+ * as 2 will be targeted
+ * (VINTANA1, VINTANA2, VINTDIG, VIO, CLKEN, HFCLKOUT).
+ */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_ACTIVE), 2},
+};
+
+static struct twl4030_script wakeup_p3_script __initdata = {
+ .script = wakeup_p3_seq,
+ .size = ARRAY_SIZE(wakeup_p3_seq),
+ .flags = TWL4030_WAKEUP3_SCRIPT,
+};
+
+/**
+ * DOC: Active to sleep sequence for P1/P2/P3
+ *
+ * Sequence to control the TWL4030 Power resources,
+ * when the system goes into sleep.
+ * Executed upon P1_P2/P3 transition for sleep.
+ * (sys_offmode signal asserted/clkreq de-asserted on OMAP).
+ */
+static struct twl4030_ins sleep_on_seq[] __initdata = {
+ /* Broadcast message to put res to sleep (TYPE2 = 1, 2) */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R1,
+ RES_STATE_SLEEP), 2},
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_SLEEP), 2},
+};
+
+static struct twl4030_script sleep_on_script __initdata = {
+ .script = sleep_on_seq,
+ .size = ARRAY_SIZE(sleep_on_seq),
+ .flags = TWL4030_SLEEP_SCRIPT,
+};
+
+/**
+ * DOC: Warm reset sequence
+ *
+ * Sequence to reset the TWL4030 Power resources,
+ * when the system gets warm reset.
+ * Executed upon warm reset signal.
+ *
+ * First the device is put in reset, then the system clock is requested to
+ * the external oscillator, and default ON power reference and power providers
+ * are enabled. Next some additional resources which are software controlled
+ * are enabled. Finally sequence is ended by the release of TWL5030 reset.
+ */
+static struct twl4030_ins wrst_seq[] __initdata = {
+ /*
+ * As a workaround for OMAP Erratum (ID: i537 - OMAP HS devices are
+ * not recovering from warm reset while in OFF mode)
+ * NRESPWRON is toggled to force a power on reset condition to OMAP
+ */
+ /* Trun OFF NRES_PWRON */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_NRES_PWRON, RES_STATE_OFF), 2},
+ /* Reset twl4030 */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_RESET, RES_STATE_OFF), 2},
+ /* Reset MAIN_REF */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_MAIN_REF, RES_STATE_WRST), 2},
+ /* Reset All type2_group2 */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_WRST), 2},
+ /* Reset VUSB_3v1 */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_VUSB_3V1, RES_STATE_WRST), 2},
+ /* Reset All type2_group1 */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R1,
+ RES_STATE_WRST), 2},
+ /* Reset the Reset & Contorl_signals */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_RC, RES_TYPE_ALL, RES_TYPE2_R0,
+ RES_STATE_WRST), 2},
+ /* Re-enable twl4030 */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_RESET, RES_STATE_ACTIVE), 2},
+ /* Trun ON NRES_PWRON */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_NRES_PWRON, RES_STATE_ACTIVE), 2},
+};
+
+static struct twl4030_script wrst_script __initdata = {
+ .script = wrst_seq,
+ .size = ARRAY_SIZE(wrst_seq),
+ .flags = TWL4030_WRST_SCRIPT,
+};
+
+/* TWL4030 script for sleep, wakeup & warm_reset */
+static struct twl4030_script *twl4030_scripts[] __initdata = {
+ &wakeup_p12_script,
+ &wakeup_p3_script,
+ &sleep_on_script,
+ &wrst_script,
+};
+
+/**
+ * DOC: TWL4030 resource configuration
+ *
+ * Resource which are attached to P1 device group alone
+ * will go to sleep state, when sys_off signal from OMAP is de-asserted.
+ * (VPLL1, VDD1, VDD2)
+ *
+ * None of the resources are attached to P2 device group alone.
+ * (WARNING: If MODEM or connectivity chip is connected to NSLEEP2 PIN on
+ * TWL4030, should modify the resource configuration accordingly).
+ *
+ * Resource which are attached to P3 device group alone
+ * will go to sleep state, when clk_req signal from OMAP is de-asserted.
+ * (HFCLKOUT)
+ *
+ * Resource which are attached to more than one device group
+ * will go to sleep state, when corresponding signals are de-asserted.
+ * (VINTANA1, VINTANA2, VINTDIG, VIO, REGEN, NRESPWRON, CLKEN, SYSEN)
+ *
+ * REGEN is an output of the device which can be connected to slave power ICs
+ * or external LDOs that power on before voltage for the IO interface (VIO).
+ *
+ * SYSEN is a bidirectional signal of the device that controls slave power ICs.
+ * In master mode, the device sets SYSEN high to enable the slave power ICs.
+ * In slave mode, when one of the power ICs drives the SYSEN signal low,
+ * all devices of the platform stay in the wait-on state.
+ *
+ * Resource which are attached to none of the device group by default
+ * will be in sleep state. These resource should be controlled by
+ * the respective drivers using them.
+ * Resource which are controlled by drivers are not modified here.
+ * (VAUX1, VAUX2, VAUX3, VAUX4, VMMC1, VMMC2, VPLL2, VSIM, VDAC,
+ * VUSB1V5, VUSB1V8, VUSB3V1)
+ *
+ * Resource using reset values.
+ * (32KCLKOUT, TRITON_RESET, MAINREF)
+ */
+static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
+ { .resource = RES_VPLL1, .devgroup = DEV_GRP_P1, .type = 3,
+ .type2 = 1, .remap_sleep = RES_STATE_OFF },
+ { .resource = RES_VINTANA1, .devgroup = DEV_GRP_ALL, .type = 1,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VINTANA2, .devgroup = DEV_GRP_ALL, .type = 0,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VINTDIG, .devgroup = DEV_GRP_ALL, .type = 1,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VIO, .devgroup = DEV_GRP_ALL, .type = 2,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VDD1, .devgroup = DEV_GRP_P1,
+ .type = 4, .type2 = 1, .remap_sleep = RES_STATE_OFF },
+ { .resource = RES_VDD2, .devgroup = DEV_GRP_P1,
+ .type = 3, .type2 = 1, .remap_sleep = RES_STATE_OFF },
+ { .resource = RES_REGEN, .devgroup = DEV_GRP_ALL, .type = 2,
+ .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_NRES_PWRON, .devgroup = DEV_GRP_ALL, .type = 0,
+ .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_CLKEN, .devgroup = DEV_GRP_ALL, .type = 3,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_SYSEN, .devgroup = DEV_GRP_ALL, .type = 6,
+ .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_HFCLKOUT, .devgroup = DEV_GRP_P3,
+ .type = 0, .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { 0, 0},
+};
+
+struct twl4030_power_data twl4030_generic_script __initdata = {
+ .scripts = twl4030_scripts,
+ .num = ARRAY_SIZE(twl4030_scripts),
+ .resource_config = twl4030_rconfig,
+};
+
+static int __init twl4030_script_probe(struct platform_device *pdev)
+{
+ return twl4030_power_init(&twl4030_generic_script);
+}
+
+static int twl4030_script_remove(struct platform_device *pdev)
+{
+ return twl4030_remove_script(TWL4030_SLEEP_SCRIPT |
+ TWL4030_WAKEUP12_SCRIPT | TWL4030_WAKEUP3_SCRIPT |
+ TWL4030_WRST_SCRIPT);
+}
+
+static struct platform_driver twl4030_script_driver = {
+ .remove = twl4030_script_remove,
+ .driver = {
+ .name = "twl4030_script",
+ .owner = THIS_MODULE,
+ },
+};
+
+static int __init twl4030_script_init(void)
+{
+ /* Register the TWL4030 script driver */
+ return platform_driver_probe(&twl4030_script_driver,
+ twl4030_script_probe);
+}
+
+static void __exit twl4030_script_cleanup(void)
+{
+ /* Unregister TWL4030 script driver */
+ platform_driver_unregister(&twl4030_script_driver);
+}
+
+module_init(twl4030_script_init);
+module_exit(twl4030_script_cleanup);
+
+MODULE_DESCRIPTION("OMAP TWL4030 script driver");
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Texas Instruments Inc");
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index aee3a22..f343974 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -205,6 +205,12 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
return -EIO;
}
#endif
+
+#ifdef CONFIG_TWL4030_POWER
+extern struct twl4030_power_data twl4030_generic_script;
+#else
+#define twl4030_generic_script NULL;
+#endif
/*----------------------------------------------------------------------*/
/*
@@ -437,9 +443,23 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
/* Power bus message definitions */
-/* The TWL4030/5030 splits its power-management resources (the various
- * regulators, clock and reset lines) into 3 processor groups - P1, P2 and
- * P3. These groups can then be configured to transition between sleep, wait-on
+/*
+ * The TWL4030/5030 splits its power-management resources (the various
+ * regulators, clock and reset lines) into 3 processor groups - P1, P2 and P3.
+ *
+ * Resources attached to device group P1 is managed depending on the state of
+ * NSLEEP1 pin of TWL4030, which is connected to sys_off signal from OMAP
+ *
+ * Resources attached to device group P2 is managed depending on the state of
+ * NSLEEP2 pin of TWL4030, which is can be connected to a modem or
+ * connectivity chip
+ *
+ * Resources attached to device group P3 is managed depending on the state of
+ * CLKREQ pin of TWL4030, which is connected to clk request signal from OMAP
+ *
+ * If required these resources can be attached to combination of P1/P2/P3.
+ *
+ * These groups can then be configured to transition between sleep, wait-on
* and active states by sending messages to the power bus. See Section 5.4.2
* Power Resources of TWL4030 TRM
*/
@@ -449,7 +469,17 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
#define DEV_GRP_P1 0x1 /* P1: all OMAP devices */
#define DEV_GRP_P2 0x2 /* P2: all Modem devices */
#define DEV_GRP_P3 0x4 /* P3: all peripheral devices */
+#define DEV_GRP_ALL 0x7 /* P1/P2/P3: all devices */
+/*
+ * The 27 power resources in TWL4030 is again divided into
+ * analog resources:
+ * Power Providers - LDO regulators, dc-to-dc regulators
+ * Power Reference - analog reference
+ *
+ * and digital resources:
+ * Reset & Clock - reset and clock signals.
+ */
/* Resource groups */
#define RES_GRP_RES 0x0 /* Reserved */
#define RES_GRP_PP 0x1 /* Power providers */
@@ -461,7 +491,10 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
#define RES_GRP_ALL 0x7 /* All resource groups */
#define RES_TYPE2_R0 0x0
+#define RES_TYPE2_R1 0x1
+#define RES_TYPE2_R2 0x2
+#define RES_TYPE_R0 0x0
#define RES_TYPE_ALL 0x7
/* Resource states */
@@ -636,7 +669,7 @@ struct twl4030_power_data {
#define TWL4030_RESCONFIG_UNDEF ((u8)-1)
};
-extern void twl4030_power_init(struct twl4030_power_data *triton2_scripts);
+extern int twl4030_power_init(struct twl4030_power_data *triton2_scripts);
extern int twl4030_remove_script(u8 flags);
struct twl4030_codec_audio_data {
--
1.6.6.1

View File

@@ -1,164 +0,0 @@
From 3ceb224732230934aba7d082f3e2ca96c14a9ca0 Mon Sep 17 00:00:00 2001
From: Lesly A M <leslyam@ti.com>
Date: Wed, 1 Jun 2011 14:56:56 -0700
Subject: [PATCH 11/13] MFD: TWL4030: TWL version checking
Added API to get the TWL5030 Si version from the IDCODE register.
It is used for enabling the workaround for TWL erratum 27.
Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/twl-core.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++
include/linux/i2c/twl.h | 17 ++++++++++++-
2 files changed, 78 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index 9096d7d..a60601d 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -251,6 +251,9 @@
/* is driver active, bound to a chip? */
static bool inuse;
+/* TWL IDCODE Register value */
+static u32 twl_idcode;
+
static unsigned int twl_id;
unsigned int twl_rev(void)
{
@@ -509,6 +512,58 @@ EXPORT_SYMBOL(twl_i2c_read_u8);
/*----------------------------------------------------------------------*/
+/**
+ * twl_read_idcode_register - API to read the IDCODE register.
+ *
+ * Unlocks the IDCODE register and read the 32 bit value.
+ */
+static int twl_read_idcode_register(void)
+{
+ int err;
+
+ err = twl_i2c_write_u8(TWL4030_MODULE_INTBR, TWL_EEPROM_R_UNLOCK,
+ REG_UNLOCK_TEST_REG);
+ if (err) {
+ pr_err("TWL4030 Unable to unlock IDCODE registers -%d\n", err);
+ goto fail;
+ }
+
+ err = twl_i2c_read(TWL4030_MODULE_INTBR, (u8 *)(&twl_idcode),
+ REG_IDCODE_7_0, 4);
+ if (err) {
+ pr_err("TWL4030: unable to read IDCODE -%d\n", err);
+ goto fail;
+ }
+
+ err = twl_i2c_write_u8(TWL4030_MODULE_INTBR, 0x0, REG_UNLOCK_TEST_REG);
+ if (err)
+ pr_err("TWL4030 Unable to relock IDCODE registers -%d\n", err);
+fail:
+ return err;
+}
+
+/**
+ * twl_get_type - API to get TWL Si type.
+ *
+ * Api to get the TWL Si type from IDCODE value.
+ */
+int twl_get_type(void)
+{
+ return TWL_SIL_TYPE(twl_idcode);
+}
+EXPORT_SYMBOL_GPL(twl_get_type);
+
+/**
+ * twl_get_version - API to get TWL Si version.
+ *
+ * Api to get the TWL Si version from IDCODE value.
+ */
+int twl_get_version(void)
+{
+ return TWL_SIL_REV(twl_idcode);
+}
+EXPORT_SYMBOL_GPL(twl_get_version);
+
static struct device *
add_numbered_child(unsigned chip, const char *name, int num,
void *pdata, unsigned pdata_len,
@@ -1071,6 +1126,7 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
unsigned i;
struct twl4030_platform_data *pdata = client->dev.platform_data;
u8 temp;
+ int ret = 0;
if (!pdata) {
dev_dbg(&client->dev, "no platform data?\n");
@@ -1117,6 +1173,12 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
/* setup clock framework */
clocks_init(&client->dev, pdata->clock);
+ /* read TWL IDCODE Register */
+ if (twl_id == TWL4030_CLASS_ID) {
+ ret = twl_read_idcode_register();
+ WARN(ret < 0, "Error: reading twl_idcode register value\n");
+ }
+
/* load power event scripts */
if (twl_has_power() && pdata->power)
twl4030_power_init(pdata->power);
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index f343974..23ec058 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -151,7 +151,12 @@
#define MMC_PU (0x1 << 3)
#define MMC_PD (0x1 << 2)
-
+#define TWL_SIL_TYPE(rev) ((rev) & 0x00FFFFFF)
+#define TWL_SIL_REV(rev) ((rev) >> 24)
+#define TWL_SIL_5030 0x09002F
+#define TWL5030_REV_1_0 0x00
+#define TWL5030_REV_1_1 0x10
+#define TWL5030_REV_1_2 0x30
#define TWL4030_CLASS_ID 0x4030
#define TWL6030_CLASS_ID 0x6030
@@ -181,6 +186,9 @@ int twl_i2c_read_u8(u8 mod_no, u8 *val, u8 reg);
int twl_i2c_write(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes);
int twl_i2c_read(u8 mod_no, u8 *value, u8 reg, unsigned num_bytes);
+int twl_get_type(void);
+int twl_get_version(void);
+
int twl6030_interrupt_unmask(u8 bit_mask, u8 offset);
int twl6030_interrupt_mask(u8 bit_mask, u8 offset);
@@ -286,7 +294,12 @@ extern struct twl4030_power_data twl4030_generic_script;
*(Use TWL_4030_MODULE_INTBR)
*/
+#define REG_IDCODE_7_0 0x00
+#define REG_IDCODE_15_8 0x01
+#define REG_IDCODE_16_23 0x02
+#define REG_IDCODE_31_24 0x03
#define REG_GPPUPDCTR1 0x0F
+#define REG_UNLOCK_TEST_REG 0x12
/*I2C1 and I2C4(SR) SDA/SCL pull-up control bits */
@@ -295,6 +308,8 @@ extern struct twl4030_power_data twl4030_generic_script;
#define SR_I2C_SCL_CTRL_PU BIT(4)
#define SR_I2C_SDA_CTRL_PU BIT(6)
+#define TWL_EEPROM_R_UNLOCK 0x49
+
/*----------------------------------------------------------------------*/
/*
--
1.6.6.1

View File

@@ -1,341 +0,0 @@
From 0bec9f7b20e7c61e0bab93195ec39cf94f1f8e25 Mon Sep 17 00:00:00 2001
From: Lesly A M <leslyam@ti.com>
Date: Wed, 1 Jun 2011 14:57:01 -0700
Subject: [PATCH 12/13] MFD: TWL4030: workaround changes for Erratum 27
Workaround for TWL5030 Silicon Errata 27 & 28:
27 - VDD1, VDD2, may have glitches when their output value is updated.
28 - VDD1 and / or VDD2 DCDC clock may stop working when internal clock
is switched from internal to external.
Erratum 27:
If the DCDC regulators is running on their internal oscillator,
negative glitches may occur on VDD1, VDD2 output when voltage is changed.
The OMAP device may reboot if the VDD1 or VDD2 go below the
core minimum operating voltage.
WORKAROUND
Set up the TWL5030 DC-DC power supplies to use the HFCLKIN instead of
the internal oscillator.
Erratum 28:
VDD1/VDD2 clock system may hang during switching the clock source from
internal oscillator to external. VDD1/VDD2 output voltages may collapse
if clock stops.
WORKAROUND
If HFCLK is disabled in OFFMODE, modify the sleep/wakeup sequence and
setuptimes to make sure the switching will happen only when HFCLKIN is stable.
Also use the TWL5030 watchdog to safeguard the first switching from
internal oscillator to HFCLKIN during the TWL5030 init.
IMPACT
power sequence is changed.
sleep/wakeup time values will be changed.
The workaround changes are called from twl4030_power_init(), since we have to
make some i2c_read calls to check the TWL4030 version & the i2c will not be
initialized in the early stage.
This workaround is required for TWL5030 Silicon version less than ES1.2
The power script & setup time changes are recommended by TI HW team.
For more information please see:
http://omapedia.org/wiki/TWL4030_power_scripts
Changes taken from TWL4030 Erratum 27 workaround patch by Nishanth Menon.
Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/twl4030-power.c | 79 +++++++++++++++++++
drivers/mfd/twl4030-script-omap.c | 150 +++++++++++++++++++++++++++++++++++++
include/linux/i2c/twl.h | 1 +
3 files changed, 230 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c
index 91d5bc8..8af3fe3 100644
--- a/drivers/mfd/twl4030-power.c
+++ b/drivers/mfd/twl4030-power.c
@@ -63,6 +63,14 @@ static u8 twl4030_start_script_address = 0x2b;
#define R_MEMORY_ADDRESS PHY_TO_OFF_PM_MASTER(0x59)
#define R_MEMORY_DATA PHY_TO_OFF_PM_MASTER(0x5a)
+#define R_VDD1_OSC 0x5C
+#define R_VDD2_OSC 0x6A
+#define R_VIO_OSC 0x52
+#define EXT_FS_CLK_EN BIT(6)
+
+#define R_WDT_CFG 0x03
+#define WDT_WRK_TIMEOUT 0x03
+
/* resource configuration registers
<RESOURCE>_DEV_GRP at address 'n+0'
<RESOURCE>_TYPE at address 'n+1'
@@ -512,6 +520,67 @@ int twl4030_remove_script(u8 flags)
}
EXPORT_SYMBOL_GPL(twl4030_remove_script);
+/**
+ * twl_dcdc_use_hfclk - API to use HFCLK for TWL DCDCs
+ *
+ * TWL DCDCs switching to HFCLK instead of using internal RC oscillator.
+ */
+static int twl_dcdc_use_hfclk(void)
+{
+ u8 val;
+ u8 smps_osc_reg[] = {R_VDD1_OSC, R_VDD2_OSC, R_VIO_OSC};
+ int i;
+ int err;
+
+ for (i = 0; i < sizeof(smps_osc_reg); i++) {
+ err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &val,
+ smps_osc_reg[i]);
+ val |= EXT_FS_CLK_EN;
+ err |= twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, val,
+ smps_osc_reg[i]);
+ }
+ return err;
+}
+
+/**
+ * twl_erratum27_workaround - Workaround for TWL5030 Silicon Erratum 27
+ * 27 - VDD1, VDD2, may have glitches when their output value is updated.
+ * 28 - VDD1 and / or VDD2 DCDC clock may stop working when internal clock is
+ * switched from internal to external.
+ *
+ * Workaround requires the TWL DCDCs to use HFCLK instead of
+ * internal oscillator. Also enable TWL watchdog before switching the osc
+ * to recover if the VDD1/VDD2 stop working.
+ */
+static void twl_erratum27_workaround(void)
+{
+ u8 wdt_counter_val = 0;
+ int err;
+
+ /* Setup the twl wdt to take care of borderline failure case */
+ err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &wdt_counter_val,
+ R_WDT_CFG);
+ err |= twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, WDT_WRK_TIMEOUT,
+ R_WDT_CFG);
+
+ /* TWL DCDC switching to HFCLK */
+ err |= twl_dcdc_use_hfclk();
+
+ /* restore the original value */
+ err |= twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, wdt_counter_val,
+ R_WDT_CFG);
+ if (err)
+ pr_warning("TWL4030: workaround setup failed!\n");
+}
+
+static bool is_twl5030_erratum27wa_required(void)
+{
+ if (twl_get_type() == TWL_SIL_5030)
+ return (twl_get_version() < TWL5030_REV_1_2);
+
+ return 0;
+}
+
int twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
{
int err = 0;
@@ -530,6 +599,16 @@ int twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
TWL4030_PM_MASTER_PROTECT_KEY);
if (err)
goto unlock;
+
+ /* Applying TWL5030 Erratum 27 WA based on Si revision &
+ * flag updated from board file*/
+ if (is_twl5030_erratum27wa_required()) {
+ pr_info("TWL5030: Enabling workaround for Si Erratum 27\n");
+ twl_erratum27_workaround();
+ if (twl4030_scripts->twl5030_erratum27wa_script)
+ twl4030_scripts->twl5030_erratum27wa_script();
+ }
+
for (i = 0; i < twl4030_scripts->num; i++) {
err = load_twl4030_script(twl4030_scripts->scripts[i], address);
if (err)
diff --git a/drivers/mfd/twl4030-script-omap.c b/drivers/mfd/twl4030-script-omap.c
index 867a442..ff93fd2 100644
--- a/drivers/mfd/twl4030-script-omap.c
+++ b/drivers/mfd/twl4030-script-omap.c
@@ -326,10 +326,160 @@ static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
{ 0, 0},
};
+/*
+ * Sleep and active sequences with changes for TWL5030 Erratum 27 workaround
+ *
+ * Sysoff (using sys_off signal):
+ * When SYS_CLKREQ goes low during retention no resources will be affected
+ * since no resources are assigned to P3 only.
+ *
+ * Since all resources are assigned to P1 and P3 then all resources
+ * will be affected on the falling edge of P3 (SYS_CLKREQ).
+ * When OMAP lower the SYS_CLKREQ signal PMIC will execute the
+ * A2S sequence in which HFCLKOUT is dissabled first and
+ * after 488.32 usec(PRM_VOLTOFFSET) resources assigned to P1 and P3
+ * and of TYPE2=1 are put to sleep
+ * (VDD1, VDD2, VPLL1, REGEN, NRESPWRON & SYSEN).
+ * Again after a 61.04 usec resources assigned to P1 and P3
+ * and of TYPE2=2 are put to sleep
+ * (VINTANA1, VINTANA2, VINTDIG, VIO & CLKEN).
+ *
+ * On wakeup event OMAP goes active and pulls the SYS_CLKREQ high,
+ * and will execute the S2A sequence which is same for P1_P2 & P3.
+ * This will turn on all resources of TYPE2=2 to go to the active state.
+ * Three dummy broadcast messages are added to get a delay of ~10 ms
+ * before enabling the HFCLKOUT resource. And after a 30.52 usec
+ * all resources of TYPE2=1 are put to the active state.
+ *
+ * This 10ms delay can be reduced if the oscillator is having less
+ * stabilization time. A should be taken care if it needs more time
+ * for stabilization.
+ *
+ */
+
+/**
+ * DOC: Sleep to Active sequence for P1/P2/P3
+ *
+ * The wakeup sequence is adjusted to do the VDD1/VDD2 voltage ramp-up
+ * only after HFCLKIN is stabilized and the HFCLKOUT is enabled.
+ */
+static struct twl4030_ins wakeup_seq_erratum27[] __initdata = {
+ /*
+ * Broadcast message to put res(TYPE2 = 2) to active.
+ * Wait for ~10 mS (ramp-up time for OSC on the board)
+ * after HFCLKIN is enabled
+ */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_ACTIVE), 55},
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_ACTIVE), 55},
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_ACTIVE), 54},
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_ACTIVE), 1},
+ /* Singular message to enable HCLKOUT after HFCLKIN is stabilized */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_HFCLKOUT, RES_STATE_ACTIVE), 1},
+ /*
+ * Broadcast message to put res(TYPE2 = 1) to active.
+ * VDD1/VDD2 ramp-up after HFCLKIN is stable and HFCLKOUT is enabled.
+ */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R1,
+ RES_STATE_ACTIVE), 2},
+};
+
+static struct twl4030_script wakeup_script_erratum27 __initdata = {
+ .script = wakeup_seq_erratum27,
+ .size = ARRAY_SIZE(wakeup_seq_erratum27),
+ .flags = TWL4030_WAKEUP12_SCRIPT | TWL4030_WAKEUP3_SCRIPT,
+};
+
+/**
+ * DOC: Active to Sleep sequence for P1/P2/P3
+ *
+ * The sleep sequence is adjusted to do the switching of VDD1/VDD2/VIO OSC from
+ * HFCLKIN to internal oscillator when the HFCLKIN is stable.
+ */
+static struct twl4030_ins sleep_on_seq_erratum27[] __initdata = {
+ /*
+ * Singular message to disable HCLKOUT.
+ * Wait for ~488.32 uS to do the switching of VDD1/VDD2/VIO OSC from
+ * HFCLKIN to internal oscillator before disabling HFCLKIN.
+ */
+ {MSG_SINGULAR(DEV_GRP_NULL, RES_HFCLKOUT, RES_STATE_SLEEP), 20},
+ /* Broadcast message to put res(TYPE2 = 1) to sleep */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R1,
+ RES_STATE_SLEEP), 2},
+ /* Broadcast message to put res(TYPE2 = 2) to sleep, disable HFCLKIN */
+ {MSG_BROADCAST(DEV_GRP_NULL, RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2,
+ RES_STATE_SLEEP), 2},
+};
+
+static struct twl4030_script sleep_on_script_erratum27 __initdata = {
+ .script = sleep_on_seq_erratum27,
+ .size = ARRAY_SIZE(sleep_on_seq_erratum27),
+ .flags = TWL4030_SLEEP_SCRIPT,
+};
+
+/* TWL4030 script for sleep, wakeup & warm_reset */
+static struct twl4030_script *twl4030_scripts_erratum27[] __initdata = {
+ &wakeup_script_erratum27,
+ &sleep_on_script_erratum27,
+ &wrst_script,
+};
+
+/**
+ * DOC: TWL4030 resource configuration
+ *
+ * VDD1/VDD2/VPLL are assigned to P1 and P3, to have better control
+ * during OFFMODE. HFCLKOUT is assigned to P1 and P3 (*p2) to turn off
+ * only during OFFMODE.
+ * (*P2 is included if the platform uses it for modem/some other processor)
+ */
+static struct twl4030_resconfig twl4030_rconfig_erratum27[] __initdata = {
+ { .resource = RES_VPLL1, .devgroup = DEV_GRP_P1 | DEV_GRP_P3,
+ .type = 3, .type2 = 1, .remap_sleep = RES_STATE_OFF },
+ { .resource = RES_VINTANA1, .devgroup = DEV_GRP_ALL, .type = 1,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VINTANA2, .devgroup = DEV_GRP_ALL, .type = 0,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VINTDIG, .devgroup = DEV_GRP_ALL, .type = 1,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VIO, .devgroup = DEV_GRP_ALL, .type = 2,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_VDD1, .devgroup = DEV_GRP_P1 | DEV_GRP_P3,
+ .type = 4, .type2 = 1, .remap_sleep = RES_STATE_OFF },
+ { .resource = RES_VDD2, .devgroup = DEV_GRP_P1 | DEV_GRP_P3,
+ .type = 3, .type2 = 1, .remap_sleep = RES_STATE_OFF },
+ { .resource = RES_REGEN, .devgroup = DEV_GRP_ALL, .type = 2,
+ .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_NRES_PWRON, .devgroup = DEV_GRP_ALL, .type = 0,
+ .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_CLKEN, .devgroup = DEV_GRP_ALL, .type = 3,
+ .type2 = 2, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_SYSEN, .devgroup = DEV_GRP_ALL, .type = 6,
+ .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { .resource = RES_HFCLKOUT, .devgroup = DEV_GRP_P1 | DEV_GRP_P3,
+ .type = 0, .type2 = 1, .remap_sleep = RES_STATE_SLEEP },
+ { 0, 0},
+};
+
+/**
+ * twl5030_script_erratum27() - API to modify TWL4030 script
+ *
+ * Updating the TWL4030 script & resource configuration
+ */
+static void __init twl5030_script_erratum27(void)
+{
+ twl4030_generic_script.scripts = twl4030_scripts_erratum27;
+ twl4030_generic_script.num = ARRAY_SIZE(twl4030_scripts_erratum27);
+ twl4030_generic_script.resource_config = twl4030_rconfig_erratum27;
+}
+
struct twl4030_power_data twl4030_generic_script __initdata = {
.scripts = twl4030_scripts,
.num = ARRAY_SIZE(twl4030_scripts),
.resource_config = twl4030_rconfig,
+ .twl5030_erratum27wa_script = twl5030_script_erratum27,
};
static int __init twl4030_script_probe(struct platform_device *pdev)
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h
index 23ec058..10cb6e2 100644
--- a/include/linux/i2c/twl.h
+++ b/include/linux/i2c/twl.h
@@ -681,6 +681,7 @@ struct twl4030_power_data {
struct twl4030_script **scripts;
unsigned num;
struct twl4030_resconfig *resource_config;
+ void (*twl5030_erratum27wa_script)(void);
#define TWL4030_RESCONFIG_UNDEF ((u8)-1)
};
--
1.6.6.1

View File

@@ -1,184 +0,0 @@
From bf171753a162d07753208c6bcfae8ca1e5c94af3 Mon Sep 17 00:00:00 2001
From: Lesly A M <leslyam@ti.com>
Date: Wed, 1 Jun 2011 14:57:05 -0700
Subject: [PATCH 13/13] MFD: TWL4030: optimizing resource configuration
Skip the i2c register writes in twl4030_configure_resource() if the new value
is same as the old value, for devgrp/type/remap regs.
Suggested by David Derrick <dderrick@ti.com>
Signed-off-by: Lesly A M <leslyam@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: David Derrick <dderrick@ti.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/mfd/twl4030-power.c | 126 ++++++++++++++++++++++++------------------
1 files changed, 72 insertions(+), 54 deletions(-)
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c
index 8af3fe3..d82632f 100644
--- a/drivers/mfd/twl4030-power.c
+++ b/drivers/mfd/twl4030-power.c
@@ -335,9 +335,9 @@ static int twl4030_configure_resource(struct twl4030_resconfig *rconfig)
{
int rconfig_addr;
int err;
- u8 type;
- u8 grp;
- u8 remap;
+ u8 type, type_value;
+ u8 grp, grp_value;
+ u8 remap, remap_value;
if (rconfig->resource > TOTAL_RESOURCES) {
pr_err("TWL4030 Resource %d does not exist\n",
@@ -348,76 +348,94 @@ static int twl4030_configure_resource(struct twl4030_resconfig *rconfig)
rconfig_addr = res_config_addrs[rconfig->resource];
/* Set resource group */
- err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &grp,
+ if (rconfig->devgroup != TWL4030_RESCONFIG_UNDEF) {
+ err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &grp,
rconfig_addr + DEV_GRP_OFFSET);
- if (err) {
- pr_err("TWL4030 Resource %d group could not be read\n",
- rconfig->resource);
- return err;
- }
+ if (err) {
+ pr_err("TWL4030 Resource %d group could not be read\n",
+ rconfig->resource);
+ return err;
+ }
- if (rconfig->devgroup != TWL4030_RESCONFIG_UNDEF) {
- grp &= ~DEV_GRP_MASK;
- grp |= rconfig->devgroup << DEV_GRP_SHIFT;
- err = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
+ grp_value = (grp & DEV_GRP_MASK) >> DEV_GRP_SHIFT;
+
+ if (rconfig->devgroup != grp_value) {
+ grp &= ~DEV_GRP_MASK;
+ grp |= rconfig->devgroup << DEV_GRP_SHIFT;
+ err = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
grp, rconfig_addr + DEV_GRP_OFFSET);
- if (err < 0) {
- pr_err("TWL4030 failed to program devgroup\n");
- return err;
+ if (err < 0) {
+ pr_err("TWL4030 failed to program devgroup\n");
+ return err;
+ }
}
}
/* Set resource types */
- err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &type,
+ if ((rconfig->type != TWL4030_RESCONFIG_UNDEF) ||
+ (rconfig->type2 != TWL4030_RESCONFIG_UNDEF)) {
+
+ err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &type,
rconfig_addr + TYPE_OFFSET);
- if (err < 0) {
- pr_err("TWL4030 Resource %d type could not be read\n",
- rconfig->resource);
- return err;
- }
+ if (err < 0) {
+ pr_err("TWL4030 Resource %d type could not be read\n",
+ rconfig->resource);
+ return err;
+ }
- if (rconfig->type != TWL4030_RESCONFIG_UNDEF) {
- type &= ~TYPE_MASK;
- type |= rconfig->type << TYPE_SHIFT;
- }
+ type_value = type;
- if (rconfig->type2 != TWL4030_RESCONFIG_UNDEF) {
- type &= ~TYPE2_MASK;
- type |= rconfig->type2 << TYPE2_SHIFT;
- }
+ if (rconfig->type != TWL4030_RESCONFIG_UNDEF) {
+ type &= ~TYPE_MASK;
+ type |= rconfig->type << TYPE_SHIFT;
+ }
- err = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
+ if (rconfig->type2 != TWL4030_RESCONFIG_UNDEF) {
+ type &= ~TYPE2_MASK;
+ type |= rconfig->type2 << TYPE2_SHIFT;
+ }
+
+ if (type != type_value) {
+ err = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
type, rconfig_addr + TYPE_OFFSET);
- if (err < 0) {
- pr_err("TWL4030 failed to program resource type\n");
- return err;
+ if (err < 0) {
+ pr_err("TWL4030 failed to program resource type\n");
+ return err;
+ }
+ }
}
/* Set remap states */
- err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &remap,
+ if ((rconfig->remap_off != TWL4030_RESCONFIG_UNDEF) ||
+ (rconfig->remap_sleep != TWL4030_RESCONFIG_UNDEF)) {
+ err = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &remap,
rconfig_addr + REMAP_OFFSET);
- if (err < 0) {
- pr_err("TWL4030 Resource %d remap could not be read\n",
- rconfig->resource);
- return err;
- }
+ if (err < 0) {
+ pr_err("TWL4030 Resource %d remap could not be read\n",
+ rconfig->resource);
+ return err;
+ }
- if (rconfig->remap_off != TWL4030_RESCONFIG_UNDEF) {
- remap &= ~OFF_STATE_MASK;
- remap |= rconfig->remap_off << OFF_STATE_SHIFT;
- }
+ remap_value = remap;
- if (rconfig->remap_sleep != TWL4030_RESCONFIG_UNDEF) {
- remap &= ~SLEEP_STATE_MASK;
- remap |= rconfig->remap_sleep << SLEEP_STATE_SHIFT;
- }
+ if (rconfig->remap_off != TWL4030_RESCONFIG_UNDEF) {
+ remap &= ~OFF_STATE_MASK;
+ remap |= rconfig->remap_off << OFF_STATE_SHIFT;
+ }
- err = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
- remap,
- rconfig_addr + REMAP_OFFSET);
- if (err < 0) {
- pr_err("TWL4030 failed to program remap\n");
- return err;
+ if (rconfig->remap_sleep != TWL4030_RESCONFIG_UNDEF) {
+ remap &= ~SLEEP_STATE_MASK;
+ remap |= rconfig->remap_sleep << SLEEP_STATE_SHIFT;
+ }
+
+ if (remap != remap_value) {
+ err = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER,
+ remap, rconfig_addr + REMAP_OFFSET);
+ if (err < 0) {
+ pr_err("TWL4030 failed to program remap\n");
+ return err;
+ }
+ }
}
return 0;
--
1.6.6.1

View File

@@ -1,121 +0,0 @@
From 2adb339e4988632379971febe5696f21d05c71f2 Mon Sep 17 00:00:00 2001
From: Anand Gadiyar <gadiyar@ti.com>
Date: Tue, 19 Jul 2011 01:52:14 -0700
Subject: [PATCH] usb: musb: Enable DMA mode1 RX for USB-Mass-Storage
This patch enables the DMA mode1 RX support.
This feature is enabled based on the short_not_ok flag passed from
gadget drivers.
This will result in a thruput performance gain of around
40% for USB mass-storage/mtp use cases.
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
Tested-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
drivers/usb/musb/musb_gadget.c | 68 ++++++++++++++++++++++++---------------
1 files changed, 42 insertions(+), 26 deletions(-)
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index f47c201..ca32c63 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -630,6 +630,7 @@ static void rxstate(struct musb *musb, struct musb_request *req)
u16 len;
u16 csr = musb_readw(epio, MUSB_RXCSR);
struct musb_hw_ep *hw_ep = &musb->endpoints[epnum];
+ u8 use_mode_1;
if (hw_ep->is_shared_fifo)
musb_ep = &hw_ep->ep_in;
@@ -679,6 +680,18 @@ static void rxstate(struct musb *musb, struct musb_request *req)
if (csr & MUSB_RXCSR_RXPKTRDY) {
len = musb_readw(epio, MUSB_RXCOUNT);
+
+ /*
+ * Enable Mode 1 for RX transfers only for mass-storage
+ * use-case, based on short_not_ok flag which is set only
+ * from file_storage and f_mass_storage drivers
+ */
+
+ if (request->short_not_ok && len == musb_ep->packet_sz)
+ use_mode_1 = 1;
+ else
+ use_mode_1 = 0;
+
if (request->actual < request->length) {
#ifdef CONFIG_USB_INVENTRA_DMA
if (is_buffer_mapped(req)) {
@@ -710,37 +723,40 @@ static void rxstate(struct musb *musb, struct musb_request *req)
* then becomes usable as a runtime "use mode 1" hint...
*/
- csr |= MUSB_RXCSR_DMAENAB;
-#ifdef USE_MODE1
- csr |= MUSB_RXCSR_AUTOCLEAR;
- /* csr |= MUSB_RXCSR_DMAMODE; */
-
- /* this special sequence (enabling and then
- * disabling MUSB_RXCSR_DMAMODE) is required
- * to get DMAReq to activate
- */
- musb_writew(epio, MUSB_RXCSR,
- csr | MUSB_RXCSR_DMAMODE);
-#else
- if (!musb_ep->hb_mult &&
- musb_ep->hw_ep->rx_double_buffered)
+ /* Experimental: Mode1 works with mass storage use cases */
+ if (use_mode_1) {
csr |= MUSB_RXCSR_AUTOCLEAR;
-#endif
- musb_writew(epio, MUSB_RXCSR, csr);
+ musb_writew(epio, MUSB_RXCSR, csr);
+ csr |= MUSB_RXCSR_DMAENAB;
+ musb_writew(epio, MUSB_RXCSR, csr);
+
+ /* this special sequence (enabling and then
+ * disabling MUSB_RXCSR_DMAMODE) is required
+ * to get DMAReq to activate
+ */
+ musb_writew(epio, MUSB_RXCSR,
+ csr | MUSB_RXCSR_DMAMODE);
+ musb_writew(epio, MUSB_RXCSR, csr);
+
+ } else {
+ if (!musb_ep->hb_mult &&
+ musb_ep->hw_ep->rx_double_buffered)
+ csr |= MUSB_RXCSR_AUTOCLEAR;
+ csr |= MUSB_RXCSR_DMAENAB;
+ musb_writew(epio, MUSB_RXCSR, csr);
+ }
if (request->actual < request->length) {
int transfer_size = 0;
-#ifdef USE_MODE1
- transfer_size = min(request->length - request->actual,
- channel->max_len);
-#else
- transfer_size = min(request->length - request->actual,
- (unsigned)len);
-#endif
- if (transfer_size <= musb_ep->packet_sz)
- musb_ep->dma->desired_mode = 0;
- else
+ if (use_mode_1) {
+ transfer_size = min(request->length - request->actual,
+ channel->max_len);
musb_ep->dma->desired_mode = 1;
+ } else {
+ transfer_size = min(request->length - request->actual,
+ (unsigned)len);
+ musb_ep->dma->desired_mode = 0;
+ }
use_dma = c->channel_program(
channel,
--
1.6.6.1

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