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

221 Commits

Author SHA1 Message Date
Denys Dmytriyenko
88867c1d96 extras: move things to extras
Move non-essential, outdated, best-effort pieces, as well, as those requiring
extra non-standard dependencies besides oe-core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-11 20:44:56 -04:00
Koen Kooi
53905d1610 linux-ti33x-psp 3.2: turn on CONFIG_USB_SUSPEND to fix usb mass storage
Many thanks to Arkadiusz Karas <arkkar13@googlemail.com> for figuring that out
and sharing the info.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-11 16:59:08 -04:00
Koen Kooi
536748db58 linux-ti33x-psp 3.2: backport PM and USB fixes from PSP
The complete patchset will get rebased to the tip of the PSP tree soon, but the
conflicts take a lot of time to resolve.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-11 16:59:07 -04:00
Koen Kooi
e4fc1993e1 linux-ti33x-psp 3.2: fix buttons on LCD capes
One patch to add button layout for the a1 revision of the 3.5" LCD cape and
another patch to stop spidev from loading when SPI1_D1 is used as gpio

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-11 16:59:07 -04:00
Koen Kooi
5f7c0da7a4 linux-ti33x-psp: enable TSL2550 driver for beaglebone weatherstation cape
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-11 16:59:07 -04:00
Koen Kooi
3dde332e52 linux-ti33x-psp 3.2: switch ADC to 16x averaging, disable 275MHz, add 4.3" LCD support
* The switch to 16x averaging is done to combat the excessive noise in the
  signal. It's still *very* bad, but the TS cursor jitter has decreased a bit
* The OPP for 275MHz was disabled due to all the errata. Both the EMIF and MUSB
  don't seem to like that OPP.
* The resistive touch version of the 4.3" LCD cape is supported in 24 bit mode.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-06-11 16:59:07 -04:00
Koen Kooi
4f684c71cc linux-mainline 3.2.18: build in usbhid and tsc2007 and run 'make oldconfig'
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-31 19:28:55 -04:00
Denys Dmytriyenko
67088ec673 linux-ti33x-psp 3.2: set PV accordingly, when not using tipspkernel
The patchset in PATCHES_OVER_PSP updates the kernel to 3.2.x, so make PV match.
This doesn't need PR or MACHINE_KERNEL_PR bumps since both the kernel ABI and
file locations remain the same.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Koen Kooi <koen@circuitco.com>
2012-05-31 18:31:22 -04:00
Denys Dmytriyenko
16e8d19197 tipspkernel: add extra level to FILESPATH with major version in the name
Add PMV variable to contain major version by extracting first 2 numbers from PV
Insert new level to FILESPATH - PN-PV-PR:PN-PV:PN-PMV:PN:files:.
Allow keeping patches and configs generic for the series (i.e. 3.2) while
incrementing stable releases (i.e. 3.2.18)
Drop use of BP and BPN, as they don't change for the kernel

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Koen Kooi <koen@circuitco.com>
2012-05-31 18:31:18 -04:00
Koen Kooi
da7c9449fa linux-ti33x-psp 3.2: fix pin free check once and for all
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-30 13:49:27 -04:00
Koen Kooi
1d44de8f58 linux-ti33x-psp 3.2: sgx fix from PSP + dvi cape audio fix
Also move more things to modules to speed up boot.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-30 13:49:16 -04:00
Koen Kooi
2177f80076 linux-ti33x-psp 3.2: update to 3.2.18
Duplicate patches between PSP and 3.2.17 have been dropped from the 3.2.17 series

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-30 13:49:03 -04:00
Koen Kooi
d9d51a11b8 linux-ti33x-psp 3.2: i2c and cape fixes
* Fix I2C prescaler to run at full speed instead of 1/4 speed
* fix led/spidev/w1 check
* move RS232 cape to ttyO2

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-30 13:48:52 -04:00
Andreas Müller
275240af94 linux-mainline: Add patches to enable libertas firmware loading asynchronously
When using udev >=177 libertas driver does not load properly the firmware [1].
The patches 0001-0016 were taken from [2] and can be viewed at [3]. Patch 0017
I created to fix compiler complaining for missing symbol is_interrupt when
DEBUG set.
The patch series was tested with meta-gumstix on overo with udev-175 and
udev-182.

[1] http://www.spinics.net/lists/linux-wireless/msg85541.html
[2] git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git
[3] http://git.kernel.org/?p=linux/kernel/git/linville/wireless-next.git;a=history;f=drivers/net/wireless/libertas;hb=HEAD

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-29 18:11:01 -04:00
Koen Kooi
a7426c1dad linux-mainline: update to 3.2.18
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-29 18:06:05 -04:00
Koen Kooi
0dc054072d linux-ti33x-psp 3.2: merge in 6 musb patches from PSP
Updating the SRCREV would require redoing all boardfile patches due to the
EVM-SK changes. So cherry-pick the 6 patches we need.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-29 15:49:27 -04:00
Koen Kooi
ca33f0eb2d linux-ti335x-psp 3.2: cape enhancements and patch cleanups
* add support for revision A2 of the 7" Beagleboardtoys cape
* allow capes to disable w1-gpio
* add stub for the Beagleboardtoys camera cape
* Fill in more entries in the am335x mux table
* switch to 4x oversampling in the tsadc driver to reduce jitter (or cursor hula
  dancing as Gerald describes it)
* Add a function to set the pinmux from the eeprom data instead of the boardfile
* Add support for the Bebopr cape

All beaglebone patches have been rediffed and renumbered to avoid confusion

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-29 15:49:21 -04:00
Koen Kooi
1078965795 linux-ti33x-psp 3.2: silence useless omap4 hwmod warning
This fixes the last remaining debug print shown when booting with 'quiet'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-29 15:49:14 -04:00
Koen Kooi
d33058225d linux-ti33x-psp 3.2: demote cpsw PHY message to INFO
This keeps them from appearing on the screen during quiet boots. They are still
being reported, so no info is lost.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-21 17:12:27 -04:00
Koen Kooi
0fbf85083f linux-ti33x-psp 3.2: make st7735fb DMA safe
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-17 14:28:18 -04:00
Koen Kooi
f189b368a7 linux-ti33x-psp 3.2: updates
* Fix LEDs on 3.5", 7" and DVI capes
* Add support for rev A2 DVI capes
* Minor warning fixes to the boardfile
* All PWMs are initialized, but not pinmuxed
* Debugfs output for mux direction has been fixed
* When no capes claim the SPI bus /dev/spidev2.0 will appear

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-15 00:40:26 -04:00
Denys Dmytriyenko
a623c766f2 linux-ti33x-psp 3.2: avoid gold linker for Thumb2 kernel
BeagleBone kernel is required to be built in Thumb2 mode for fast boot.
Gold linker is not yet perfect for this, giving an internal error:

| arm-linux-gnueabi-ld: internal error in thumb_branch_common, at .../binutils-cross-2.22-r6/binutils-2.22/gold/arm.cc:4149

While this fix can be put in generic linux.inc for all the kernels, it's
better to test the Gold linker out as much as possible and only disable it
for known issues, like this one (until it gets fixed, of course).

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-11 13:21:28 -04:00
Denys Dmytriyenko
051482e3b0 linux-ti33x-psp 3.2: for beaglebone set default Asm architecture to armv7-a
Beaglebone kernel needs to be built in Thumb2 mode to achieve fast boot
times. Unfortunately, that build is broken under newer binutils-2.22 with
the below Assembler error. The fix is to pass the specific -march=armv7-a
flag to the Assembler to make it work.

| arch/arm/boot/compressed/head.S: Assembler messages:
| arch/arm/boot/compressed/head.S:127: Error: selected processor does not support requested special purpose register -- `mrs r2,cpsr'
| arch/arm/boot/compressed/head.S:134: Error: selected processor does not support requested special purpose register -- `mrs r2,cpsr'
| arch/arm/boot/compressed/head.S:136: Error: selected processor does not support requested special purpose register -- `msr cpsr_c,r2'
| make[2]: *** [arch/arm/boot/compressed/head.o] Error 1
| make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Acked-by: Koen Kooi <koen@circuitco.com>
2012-05-10 21:00:29 -04:00
Koen Kooi
aefc6c8c3c linux-ti33x-psp 3.2: rebase patches onto latest git
The psp tree added a patch to limit the beaglebone to 500MHz when powered by USB, which triggered conflicts in the patches. The 3.2.16 series has been rediffed as well, no functional changes.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:35:51 -04:00
Koen Kooi
12bf8f2f92 linux-ti33x-psp 3.2: bump SRCREV for 2 CPPI1.4 fixes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:35:11 -04:00
Koen Kooi
d5e0cd58d4 linux-ti335x-psp 3.2: switch to userspace governor for beaglebone, ondemand seems to cause problems on a small percentage of boards
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:34:54 -04:00
Koen Kooi
ab70600459 linux-ti335x-psp 3.2: add patch to disable heartbeat LED trigger on shutdown
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:34:25 -04:00
Koen Kooi
cd3ef0bf0c linux-ti335x-psp 3.2: use proper irq fix from Vaibhav
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:34:01 -04:00
Koen Kooi
8f53db29b9 linux-ti335x-psp 3.2: add support for CAN, RS232 and Battery beaglebone capes
Also change defconfig to prepare for audio support and fix lcd35 pinmux

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:33:43 -04:00
Koen Kooi
1af87d9126 linux-ti335x-psp 3.2: update to 3.2.16
3.2.16 is the final release in the 3.2-stable series by Greg KH.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:31:55 -04:00
Koen Kooi
649c697bf8 linux-ti335x-psp 3.2: bump SRCREV to head of v3.2-staging and add 2 irq patches
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:31:34 -04:00
Koen Kooi
0be62d6c0d linux-mainline 3.2: shut down heartbeat LED on halt/reboot/panic
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:30:43 -04:00
Koen Kooi
0b2c5e6de9 linux-mainline 3.2: add ASoC fixes for beagleboard
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:29:12 -04:00
Koen Kooi
ab56c86b96 linux-mainline 3.2: add support for beagleboard wifi expansion board
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-10 15:28:57 -04:00
Koen Kooi
368d7772dc linux-mainline 3.2: fix build of external SGX modules
Patch downloaded from https://github.com/RobertCNelson/stable-kernel/tree/master/patches/sgx

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 19:09:17 -04:00
Koen Kooi
4e18d70247 linux-mainline 3.2: kernel recipe based on mainline 3.2.16 with additional patches for e.g. beagleboard on top
This patchset is managed in https://github.com/beagleboard/kernel/tree/beagleboard-3.2 by Robert Nelson and myself.

Tested on beagleboard-xM/Angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 19:09:07 -04:00
Denys Dmytriyenko
b478431b3c beaglebone: re-enable THUMB2_KERNEL in defconfig, as it affects boot time by .5s
This reverts commit 3c693c2608.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-03 16:07:25 -04:00
Denys Dmytriyenko
3c693c2608 beaglebone: disable THUMB2_KERNEL in defconfig for newer binutils
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-05-02 20:40:58 -04:00
Koen Kooi
2585c8864b linux-ti33x-psp 3.2: fix VGA cape detection for beaglebone
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-20 20:06:08 -04:00
Koen Kooi
933898d1a9 linux-ti33x-psp 3.2: fix ehrPWM1 for beaglebone
This makes the backlight on teh 7" LCD cape work again. Also add a patch to
print the hardware revision of the cape.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-18 12:19:55 -04:00
Koen Kooi
da08d625f2 linux-ti33x-psp 3.2: include latest MUSB fixes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-18 12:19:55 -04:00
Koen Kooi
415f8b2c33 linux-ti33x-psp 3.2: rebase onto latest PSP
This fixes most PM operations: cpufreq, cpuidle and suspend. Resume does not
work on beaglebone, but 3 out of 4 ain't bad :)

The M3 firmware needed for suspend/resume is used as a binary, building it
from source and including it from sysroots is planned for future commits.

Beaglebone patches have been forward ported and runtime tested.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-18 12:19:55 -04:00
Koen Kooi
3a441d63e9 linux 3.0: update to 3.0.28
Runtime tested on Angstrom/beagleboard-xM

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-18 12:19:55 -04:00
Koen Kooi
d0b6939039 linux-ti335x-psp 3.2: fix 3.5" cape support, turn on CONFIG_AUDIT
* bump MACHINE_KERNEL_PR for the CONFIG_AUDIT change

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-10 15:11:22 -04:00
Koen Kooi
bb34e69f3d linux-ti335x-psp 3.2: update to 3.2.14
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-04-10 15:10:45 -04:00
Koen Kooi
de3125ad1e linux-ti33x-psp 3.2: fix VGA cape partnumber
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-03-30 19:05:59 -04:00
Koen Kooi
a04b218eb6 linux-ti33x-psp 3.2: improve cape support
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-03-30 19:05:28 -04:00
Koen Kooi
7df8fc578b linux-ti33x-psp 3.2: update to 3.2.13
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-03-30 19:04:44 -04:00
Denys Dmytriyenko
c5bb2de922 multi-kernel: add a comment on the addition of preparekernel task
As suggested by Richard:
https://lists.yoctoproject.org/pipermail/meta-ti/2012-March/000869.html
While at it, reformat the header.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-03-30 01:54:27 -04:00
Denys Dmytriyenko
a0dc3b8afc multi-kernel: fix get_kernelversion returns None for do_compileconfigs
The function get_kernelversion uses generated header files to extract the
version number. But those files are not available until do_compile, and
do_compileconfigs is injected before that, hence the version becomes None
and breaks in several places.

Introduce a new task do_preparekernel that calls "make prepare" in the
kernel tree to generate all the necessary files. It's also safer to call
do_configure early on.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2012-03-29 00:25:14 -04:00