Linux-2.6.32-rc6 + IMote2 platform support.
PATCH 1/1 Linux-2.6.32-rc6 + IMote2 platform support.
---
Reasons for release candidate:
IIO only merged into staging post 2.6.31
By rc6 a couple of build errors have been fixed.
Imote2 Patches:
1) Firmware loading for liberatas has a tricky to track down timing issue. Discussed at length on libertas-dev but whilst the following works no one is sure why and hence it hasn't gone upstream.
2) OV7670 soc-camera support. Waiting for imagebus patches to merge (see linux-media) Until then we can't quite get rid of all the soc camera specific stuff needed to make the current ov7670 driver work with the pxa27x. Hence delay in merging this one with mainline.
3) Board support for ov7670 is obviously waiting for the driver in mainline to work.
4) Silly sched.h fix that hasn't made it through the arm tree as of yet
5) Periodic timer for pxa27x's many many timers. This one is never going to merge as general opinion is more general framework is needed. Still that will be a while coming and this allows some iio stuff to work with this board in the meantime
6) defconfig (does what is says on the tin)
conf/checksums.ini | 4 + ...io-A-timing-issue-during-helper-firmware-.patch | 28 + .../0002-ov7670-Temporary-soc-camera-support.patch | 96 ++ ...Mote2-Add-board-support-for-ov7670-camera.patch | 179 ++ ...ix-real-one-working-it-s-way-through-the-.patch | 25 + ...tc-driver-to-driver-IIO.-Uses-periodic-ti.patch | 461 ++++++ ...board-support-form-periodic-rtc-pxa27x-an.patch | 53 + .../linux/linux-2.6.31+2.6.32-rc6/imote2/defconfig | 1741 ++++++++++++++++++++ recipes/linux/linux_2.6.31+2.6.32-rc6.bb | 28 + 9 files changed, 2615 insertions(+), 0 deletions(-)
conf/checksums.ini +4 -0
@@ -20686,6 +20686,10 @@ sha256=25a9aff47cc568e4bcaa4377cacbcae11ea454aeeea9519aa3a1b6dbffea713c md5=2f399a5e286a9fe7cb40bfd3d42a7a3d sha256=79a9913a74e58af6431bb952aac2cf0a1f4422287f420844f24ca6bc5ed0fdc4 +[http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.32-rc6.bz2] +md5=cd6dc6208ea349fa9313c87aa819ae00 +sha256=8741d7bfec9f465263d951b5515ffc472031d037f6ac29d21f245c493bf69f59 + [http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.30.4.bz2] md5=d0fc44b54ba5953140b3f2aa9a1f2580 sha256=b7716971e73c8fa96ecd9cdb598c8bd3a2a946e289cfef5dcfaa11a0022737ce
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/0001-Libertas_sdio-A-timing-issue-during-helper-firmware-.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 33c0b1f84b67c3596b9ae92394ceb9dcd99b45e2 Mon Sep 17 00:00:00 2001 +From: Jonathan Cameron <[email protected]> +Date: Thu, 1 Oct 2009 15:30:32 +0100 +Subject: [PATCH 01/10] Libertas_sdio: A timing issue during helper firmware loading was leading to a failure of the main firmware load on Imote2. + +This patch adds an a 1 millisecond delay allowing successful +firmware load. + +Signed-off-by: Jonathan Cameron <[email protected]> +--- + drivers/net/wireless/libertas/if_sdio.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c +index 485a8d4..8a4e82c 100644 +--- a/drivers/net/wireless/libertas/if_sdio.c ++++ b/drivers/net/wireless/libertas/if_sdio.c +@@ -514,6 +514,7 @@ static int if_sdio_prog_helper(struct if_sdio_card *card) + /* + lbs_deb_sdio("sending %d bytes chunk\n", chunk_size); + */ ++ mdelay(1); + ret = sdio_writesb(card->func, card->ioport, + chunk_buffer, 64); + if (ret) +-- +1.6.3.3 +
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/0002-ov7670-Temporary-soc-camera-support.patch new file +96 -0
96 lines not on this page · raw message
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/0003-IMote2-Add-board-support-for-ov7670-camera.patch new file +179 -0
179 lines not on this page · raw message
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/0004-Temporary-Fix-real-one-working-it-s-way-through-the-.patch new file +25 -0
@@ -0,0 +1,25 @@ +From e47ac77c494dc4e211a0ccee01b70019a2e68e6f Mon Sep 17 00:00:00 2001 +From: Jonathan Cameron <[email protected]> +Date: Sun, 25 Oct 2009 13:03:19 +0000 +Subject: [PATCH 04/10] Temporary Fix (real one working it's way through the arm tree) + +Signed-off-by: Jonathan Cameron <[email protected]> +--- + drivers/media/video/pxa_camera.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c +index 6952e96..5d01dcf 100644 +--- a/drivers/media/video/pxa_camera.c ++++ b/drivers/media/video/pxa_camera.c +@@ -26,6 +26,7 @@ + #include <linux/device.h> + #include <linux/platform_device.h> + #include <linux/clk.h> ++#include <linux/sched.h> + + #include <media/v4l2-common.h> + #include <media/v4l2-dev.h> +-- +1.6.3.3 +
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/0009-Temporary-rtc-driver-to-driver-IIO.-Uses-periodic-ti.patch new file +461 -0
461 lines not on this page · raw message
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/0010-imote2-Add-board-support-form-periodic-rtc-pxa27x-an.patch new file +53 -0
53 lines not on this page · raw message
recipes/linux/linux-2.6.31+2.6.32-rc6/imote2/defconfig new file +1741 -0
1,741 lines not on this page · raw message
recipes/linux/linux_2.6.31+2.6.32-rc6.bb new file +28 -0
@@ -0,0 +1,28 @@ +require linux.inc + +KERNEL_RELEASE = "2.6.32-rc6" +OLD_KERNEL_RELEASE = "2.6.31" +PV = "${OLD_KERNEL_RELEASE}+${KERNEL_RELEASE}" +PR = "r1" + +S = "${WORKDIR}/linux-${OLD_KERNEL_RELEASE}" + +# Mark archs/machines that this kernel supports +DEFAULT_PREFERENCE = "-1" + +# Intel / Crossbow IMote2 +DEFAULT_PREFERENCE_imote2 = "1" + + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${OLD_KERNEL_RELEASE}.tar.bz2 \ + ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-${KERNEL_RELEASE}.bz2;patch=1 \ + file://defconfig" + +SRC_URI_append_imote2 = " \ + file://0001-Libertas_sdio-A-timing-issue-during-helper-firmware-.patch;patch=1 \ + file://0002-ov7670-Temporary-soc-camera-support.patch;patch=1 \ + file://0003-IMote2-Add-board-support-for-ov7670-camera.patch;patch=1 \ + file://0004-Temporary-Fix-real-one-working-it-s-way-through-the-.patch;patch=1 \ + file://0009-Temporary-rtc-driver-to-driver-IIO.-Uses-periodic-ti.patch;patch=1 \ + file://0010-imote2-Add-board-support-form-periodic-rtc-pxa27x-an.patch;patch=1 \ +"
Signature · 1 line
1.6.0.4
Quoted 3 lines · On Wednesday 04 November 2009 20:47:34 Jonathan Cameron wrote:
Signed-off-by Jonathan Cameron <[email protected]>---
Reasons for release candidate:
Hi Jonathan,
are these patches still up for review?
Quoted 8 lines · Holger Hans Peter Freyther
Quoted 3 lines · On Wednesday 04 November 2009 20:47:34 Jonathan Cameron wrote:
Signed-off-by Jonathan Cameron <[email protected]>---
Reasons for release candidate:Hi Jonathan,
are these patches still up for review?
Hi Holger,
In theory, but I should probably refresh them somewhat before wasting your time. They have probably rotted somewhat and a lot of the kernel patches etc have now merged!
Things are a bit nuts at the moment, so may be a week or so before I do so though (or if I'm really lucky one of the other users of the patch set might do it ;)
Thanks
Jonathan