Skip to contentSkip to conversation

linux-mainline 3.2: kernel recipe based on mainline 3.2.16 with additional patches for e.g. beagleboard on top

RFC PATCH In review Koen Kooi 3 participants 13 messages May 1, 2012 – May 4, 2012

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

RFC PATCH 1/5 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

---
 ...-add-buddy-param-for-expansionboard-names.patch |   59 +
 ...xpansion-add-mmc-regulator-and-ds1307-rtc.patch |   57 +
 .../beagle/0003-expansion-add-zippy.patch          |   82 +
 .../beagle/0004-expansion-add-zippy2.patch         |   82 +
 .../beagle/0005-expansion-add-trainer.patch        |   55 +
 .../beagle/0006-expansion-add-ulcd.patch           |  262 +
 ...d-reinstate-usage-of-hi-speed-PLL-divider.patch |   29 +
 ...the-USB-regulator-on-Beagle-xM-explicitly.patch |   55 +
 ...b-add-Toshiba-LTA070B220F-800x480-support.patch |   30 +
 .../0010-beagleboard-fix-uLCD7-support.patch       |   66 +
 ...fault-to-fifo-mode-5-for-old-musb-beagles.patch |   29 +
 ...ght-Add-TLC59108-backlight-control-driver.patch |  215 +
 ...013-tlc59108-adjust-for-beagleboard-uLCD7.patch |  124 +
 .../linux/linux-mainline-3.2/beagleboard/defconfig | 4280 ++
 .../beagleboard/logo_linux_clut224.ppm             |73147 ++++++++++++++++++++
 ...-devkit8000-for-lcd-use-samsung_lte_panel.patch |   28 +
 ...pkg-set-host-machine-after-dpkg-gencontro.patch |  114 +
 .../0001-ksz8851-eeprom-93cx6-add-drive_data.patch |   62 +
 ...z8851-eeprom-93cx6-add-eeprom_93cx6_write.patch |  129 +
 .../micrel_zippy2/0003-ksz8851-read_mac_addr.patch |   93 +
 .../0004-ksz8851-93cx6-eeprom-access.patch         |  130 +
 ...51.h-it-helps-to-include-the-include-file.patch |   43 +
 .../0006-ksz8851-move-to-header.patch              |  326 +
 .../0007-ksz8851-move-more-to-header.patch         |  143 +
 .../0008-ksz8851-share-ks8851_tx_hdr-union.patch   |   95 +
 .../0009-ksz8851-add-is_level_irq.patch            |  101 +
 ...n-off-hardware-interrupt-druing-receive-p.patch |   42 +
 ...851-make-sure-is-awake-before-writing-mac.patch |   63 +
 .../0012-ksz8851-add-mutex-lock-unlock-to-ks.patch |   42 +
 .../0013-ksz8851-add-ks8851_tx_check.patch         |  121 +
 .../0014-ksz8851-move-ks8851_set_powermode.patch   |   71 +
 ...P-cleanup-for-multi-SoC-support-move-into.patch |  422 +
 ...02-cpufreq-OMAP-Add-SMP-support-for-OMAP4.patch |  191 +
 ...MAP-Enable-all-CPUs-in-shared-policy-mask.patch |   42 +
 ...-OMAP-notify-even-with-bad-boot-frequency.patch |   48 +
 ...ufreq-OMAP-move-clk-name-decision-to-init.patch |   64 +
 ...req-OMAP-deny-initialization-if-no-mpudev.patch |   64 +
 ...0007-cpufreq-OMAP-dont-support-freq_table.patch |  125 +
 ...08-cpufreq-OMAP-only-supports-OPP-library.patch |   43 +
 ...9-cpufreq-OMAP-put-clk-if-cpu_init-failed.patch |   61 +
 .../0010-cpufreq-OMAP-fix-freq_table-leak.patch    |   90 +
 ...P-fixup-for-omap_device-changes-include-l.patch |   47 +
 ...1-omap3-Increase-limit-on-bootarg-mpurate.patch |   33 +
 ...3517-3505-fix-crash-on-boot-due-to-incorr.patch |  110 +
 ...wmod-Don-t-wait-for-the-idle-status-if-mo.patch |  200 +
 ...MAP4-clock-Add-CPU-local-timer-clock-node.patch |   56 +
 ...wmod-data-disable-multiblock-reads-on-MMC.patch |  161 +
 ...6-OMAP-HWMOD-add-es3plus-to-am36xx-am35xx.patch |   34 +
 .../panda/0001-panda-fix-wl12xx-regulator.patch    |   27 +
 .../panda/0002-panda-enable-bluetooth.patch        |   88 +
 .../0003-ti-st-st-kim-fixing-firmware-path.patch   |   35 +
 ...MAP-DSS2-add-bootarg-for-selecting-svideo.patch |   78 +
 .../sakoman/0002-video-add-timings-for-hd720.patch |   28 +
 ...mc-Adjust-dto-to-eliminate-timeout-errors.patch |   30 +
 .../0001-omap3-touchbook-remove-mmc-gpio_wp.patch  |   39 +
 ...0002-omap3-touchbook-drop-u-boot-readonly.patch |   25 +
 recipes-kernel/linux/linux-mainline_3.2.bb         |   90 +
 57 files changed, 82406 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0001-expansion-add-buddy-param-for-expansionboard-names.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0002-expansion-add-mmc-regulator-and-ds1307-rtc.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0003-expansion-add-zippy.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0004-expansion-add-zippy2.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0005-expansion-add-trainer.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0006-expansion-add-ulcd.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0007-beagleboard-reinstate-usage-of-hi-speed-PLL-divider.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0008-Turn-on-the-USB-regulator-on-Beagle-xM-explicitly.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0009-meego-modedb-add-Toshiba-LTA070B220F-800x480-support.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0010-beagleboard-fix-uLCD7-support.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0011-default-to-fifo-mode-5-for-old-musb-beagles.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0012-backlight-Add-TLC59108-backlight-control-driver.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagle/0013-tlc59108-adjust-for-beagleboard-uLCD7.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagleboard/defconfig
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/beagleboard/logo_linux_clut224.ppm
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/devkit8000/0001-arm-omap-devkit8000-for-lcd-use-samsung_lte_panel.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/distro/0001-kbuild-deb-pkg-set-host-machine-after-dpkg-gencontro.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0001-ksz8851-eeprom-93cx6-add-drive_data.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0002-ksz8851-eeprom-93cx6-add-eeprom_93cx6_write.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0003-ksz8851-read_mac_addr.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0004-ksz8851-93cx6-eeprom-access.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0005-ks8851.h-it-helps-to-include-the-include-file.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0006-ksz8851-move-to-header.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0007-ksz8851-move-more-to-header.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0008-ksz8851-share-ks8851_tx_hdr-union.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0009-ksz8851-add-is_level_irq.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0010-ksz8851-turn-off-hardware-interrupt-druing-receive-p.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0011-ksz8851-make-sure-is-awake-before-writing-mac.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0012-ksz8851-add-mutex-lock-unlock-to-ks.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0013-ksz8851-add-ks8851_tx_check.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0014-ksz8851-move-ks8851_set_powermode.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0001-cpufreq-OMAP-cleanup-for-multi-SoC-support-move-into.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0002-cpufreq-OMAP-Add-SMP-support-for-OMAP4.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0003-cpufreq-OMAP-Enable-all-CPUs-in-shared-policy-mask.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0004-cpufreq-OMAP-notify-even-with-bad-boot-frequency.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0005-cpufreq-OMAP-move-clk-name-decision-to-init.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0006-cpufreq-OMAP-deny-initialization-if-no-mpudev.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0007-cpufreq-OMAP-dont-support-freq_table.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0008-cpufreq-OMAP-only-supports-OPP-library.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0009-cpufreq-OMAP-put-clk-if-cpu_init-failed.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0010-cpufreq-OMAP-fix-freq_table-leak.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0011-cpufreq-OMAP-fixup-for-omap_device-changes-include-l.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0001-omap3-Increase-limit-on-bootarg-mpurate.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0002-ARM-OMAP-AM3517-3505-fix-crash-on-boot-due-to-incorr.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0003-ARM-OMAP4-hwmod-Don-t-wait-for-the-idle-status-if-mo.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0004-ARM-OMAP4-clock-Add-CPU-local-timer-clock-node.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0005-ARM-OMAP3-hwmod-data-disable-multiblock-reads-on-MMC.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0006-OMAP-HWMOD-add-es3plus-to-am36xx-am35xx.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/panda/0001-panda-fix-wl12xx-regulator.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/panda/0002-panda-enable-bluetooth.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/panda/0003-ti-st-st-kim-fixing-firmware-path.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/sakoman/0001-OMAP-DSS2-add-bootarg-for-selecting-svideo.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/sakoman/0002-video-add-timings-for-hd720.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/sakoman/0003-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/touchbook/0001-omap3-touchbook-remove-mmc-gpio_wp.patch
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/touchbook/0002-omap3-touchbook-drop-u-boot-readonly.patch
 create mode 100644 recipes-kernel/linux/linux-mainline_3.2.bb
recipes-kernel/linux/linux-mainline-3.2/beagle/0001-expansion-add-buddy-param-for-expansionboard-names.patch new file +59 -0
new file mode 100644
index 0000000..31f079b
@@ -0,0 +1,59 @@
+From 0e4ed624d99a4bcc57d6243867a00472b141b3f8 Mon Sep 17 00:00:00 2001
+From: Robert Nelson <[email protected]>
+Date: Mon, 10 Oct 2011 11:12:40 -0500
+Subject: [PATCH 01/13] expansion: add buddy param for expansionboard names
+
+Signed-off-by: Robert Nelson <[email protected]>
+---
+ arch/arm/mach-omap2/board-omap3beagle.c |   14 ++++++++++++++
+ 1 files changed, 14 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
+index 4a71cb7..6f8cf47 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>
+@@ -156,6 +157,8 @@ static void __init omap3_beagle_init_rev(void)
+ 	}
+ }
+ 
++char expansionboard_name[16];
++
+ static struct mtd_partition omap3beagle_nand_partitions[] = {
+ 	/* All the partition sizes are listed in terms of NAND block size */
+ 	{
+@@ -474,6 +477,15 @@ static struct omap_board_mux board_mux[] __initdata = {
+ };
+ #endif
+ 
++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;
+@@ -552,6 +564,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 */
+ 	.atag_offset	= 0x100,
+-- 
+1.7.7.4
+
recipes-kernel/linux/linux-mainline-3.2/beagle/0002-expansion-add-mmc-regulator-and-ds1307-rtc.patch new file +57 -0

57 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0003-expansion-add-zippy.patch new file +82 -0

82 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0004-expansion-add-zippy2.patch new file +82 -0

82 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0005-expansion-add-trainer.patch new file +55 -0

55 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0006-expansion-add-ulcd.patch new file +262 -0

262 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0007-beagleboard-reinstate-usage-of-hi-speed-PLL-divider.patch new file +29 -0
new file mode 100644
index 0000000..b8b7589
@@ -0,0 +1,29 @@
+From 460ac29a1ee0577d6b9044caa53761cc0d02b495 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <[email protected]>
+Date: Wed, 25 Jan 2012 15:48:36 +0100
+Subject: [PATCH 07/13] beagleboard: reinstate usage of hi-speed PLL divider
+
+Signed-off-by: Koen Kooi <[email protected]>
+---
+ 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 a546c2b..e28ae72 100644
+--- a/arch/arm/mach-omap2/board-omap3beagle.c
++++ b/arch/arm/mach-omap2/board-omap3beagle.c
+@@ -308,6 +308,11 @@ static struct omap_dss_device beagle_dvi_device = {
+ 	.driver_name = "dvi",
+ 	.data = &dvi_panel,
+ 	.phy.dpi.data_lines = 24,
++	.clocks = {
++		.dispc = {
++			.dispc_fclk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
++		},
++	},
+ 	.reset_gpio = -EINVAL,
+ };
+ 
+-- 
+1.7.7.4
+
recipes-kernel/linux/linux-mainline-3.2/beagle/0008-Turn-on-the-USB-regulator-on-Beagle-xM-explicitly.patch new file +55 -0

55 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0009-meego-modedb-add-Toshiba-LTA070B220F-800x480-support.patch new file +30 -0
new file mode 100644
index 0000000..79a25ab
@@ -0,0 +1,30 @@
+From 1a553663864b5b69dcdfd7779640a1c0ce136a93 Mon Sep 17 00:00:00 2001
+From: Robert Nelson <[email protected]>
+Date: Wed, 23 Mar 2011 08:37:54 -0500
+Subject: [PATCH 09/13] meego: modedb add Toshiba LTA070B220F 800x480 support
+
+ from http://wiki.meego.com/ARM/Meego_on_Beagleboard_from_scratch
+
+Signed-off-by: Robert Nelson <[email protected]>
+---
+ drivers/video/modedb.c |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c
+index 5b686de..69ad1ec 100644
+--- a/drivers/video/modedb.c
++++ b/drivers/video/modedb.c
+@@ -293,6 +293,10 @@ static const struct fb_videomode modedb[] = {
+ 	/* 864x480 @ 60 Hz, 35.15 kHz hsync */
+ 	{ NULL, 60, 864, 480, 27777, 1, 1, 1, 1, 0, 0,
+ 		0, FB_VMODE_NONINTERLACED },
++
++	/* 800x480 @ 60 Hz, Toshiba LTA070B220F 7 inch LCD */
++	{  NULL, 60, 800, 480, 32787, 48, 80, 33, 31, 32, 2,
++		FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED },
+ };
+ 
+ #ifdef CONFIG_FB_MODE_HELPERS
+-- 
+1.7.7.4
+
recipes-kernel/linux/linux-mainline-3.2/beagle/0010-beagleboard-fix-uLCD7-support.patch new file +66 -0

66 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0011-default-to-fifo-mode-5-for-old-musb-beagles.patch new file +29 -0
new file mode 100644
index 0000000..5316119
@@ -0,0 +1,29 @@
+From 16c97b9941534b54a2fdf4d310fd22deb10d0cc1 Mon Sep 17 00:00:00 2001
+From: Robert Nelson <[email protected]>
+Date: Sat, 8 Jan 2011 14:31:37 -0600
+Subject: [PATCH 11/13] default to fifo mode 5, for old musb beagles
+
+The fifo mode 4, 16kb can cause corruption on musb/omap35xx,
+use mode 5, 8kb...
+
+Signed-off-by: Robert Nelson <[email protected]>
+---
+ drivers/usb/musb/musb_core.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
+index 920f04e..66ce5e0 100644
+--- a/drivers/usb/musb/musb_core.c
++++ b/drivers/usb/musb/musb_core.c
+@@ -1015,7 +1015,7 @@ static void musb_shutdown(struct platform_device *pdev)
+ 	|| defined(CONFIG_USB_MUSB_OMAP2PLUS_MODULE)	\
+ 	|| defined(CONFIG_USB_MUSB_AM35X)		\
+ 	|| defined(CONFIG_USB_MUSB_AM35X_MODULE)
+-static ushort __initdata fifo_mode = 4;
++static ushort __initdata fifo_mode = 5;
+ #elif defined(CONFIG_USB_MUSB_UX500)			\
+ 	|| defined(CONFIG_USB_MUSB_UX500_MODULE)
+ static ushort __initdata fifo_mode = 5;
+-- 
+1.7.7.4
+
recipes-kernel/linux/linux-mainline-3.2/beagle/0012-backlight-Add-TLC59108-backlight-control-driver.patch new file +215 -0

215 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagle/0013-tlc59108-adjust-for-beagleboard-uLCD7.patch new file +124 -0

124 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagleboard/defconfig new file +4280 -0

1,855 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/beagleboard/logo_linux_clut224.ppm new file +73147 -0

73,147 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/devkit8000/0001-arm-omap-devkit8000-for-lcd-use-samsung_lte_panel.patch new file +28 -0
new file mode 100644
index 0000000..388b250

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/distro/0001-kbuild-deb-pkg-set-host-machine-after-dpkg-gencontro.patch new file +114 -0

114 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0001-ksz8851-eeprom-93cx6-add-drive_data.patch new file +62 -0

62 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0002-ksz8851-eeprom-93cx6-add-eeprom_93cx6_write.patch new file +129 -0

129 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0003-ksz8851-read_mac_addr.patch new file +93 -0

93 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0004-ksz8851-93cx6-eeprom-access.patch new file +130 -0

130 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0005-ks8851.h-it-helps-to-include-the-include-file.patch new file +43 -0

43 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0006-ksz8851-move-to-header.patch new file +326 -0

326 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0007-ksz8851-move-more-to-header.patch new file +143 -0

143 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0008-ksz8851-share-ks8851_tx_hdr-union.patch new file +95 -0

95 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0009-ksz8851-add-is_level_irq.patch new file +101 -0

101 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0010-ksz8851-turn-off-hardware-interrupt-druing-receive-p.patch new file +42 -0

42 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0011-ksz8851-make-sure-is-awake-before-writing-mac.patch new file +63 -0

63 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0012-ksz8851-add-mutex-lock-unlock-to-ks.patch new file +42 -0

42 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0013-ksz8851-add-ks8851_tx_check.patch new file +121 -0

121 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/micrel_zippy2/0014-ksz8851-move-ks8851_set_powermode.patch new file +71 -0

71 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0001-cpufreq-OMAP-cleanup-for-multi-SoC-support-move-into.patch new file +422 -0

422 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0002-cpufreq-OMAP-Add-SMP-support-for-OMAP4.patch new file +191 -0

191 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0003-cpufreq-OMAP-Enable-all-CPUs-in-shared-policy-mask.patch new file +42 -0

42 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0004-cpufreq-OMAP-notify-even-with-bad-boot-frequency.patch new file +48 -0

48 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0005-cpufreq-OMAP-move-clk-name-decision-to-init.patch new file +64 -0

64 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0006-cpufreq-OMAP-deny-initialization-if-no-mpudev.patch new file +64 -0

64 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0007-cpufreq-OMAP-dont-support-freq_table.patch new file +125 -0

125 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0008-cpufreq-OMAP-only-supports-OPP-library.patch new file +43 -0

43 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0009-cpufreq-OMAP-put-clk-if-cpu_init-failed.patch new file +61 -0

61 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0010-cpufreq-OMAP-fix-freq_table-leak.patch new file +90 -0

90 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_cpufreq/0011-cpufreq-OMAP-fixup-for-omap_device-changes-include-l.patch new file +47 -0

47 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0001-omap3-Increase-limit-on-bootarg-mpurate.patch new file +33 -0
new file mode 100644
index 0000000..597c4dd

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0002-ARM-OMAP-AM3517-3505-fix-crash-on-boot-due-to-incorr.patch new file +110 -0

110 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0003-ARM-OMAP4-hwmod-Don-t-wait-for-the-idle-status-if-mo.patch new file +200 -0

200 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0004-ARM-OMAP4-clock-Add-CPU-local-timer-clock-node.patch new file +56 -0

56 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0005-ARM-OMAP3-hwmod-data-disable-multiblock-reads-on-MMC.patch new file +161 -0

161 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/omap_fixes/0006-OMAP-HWMOD-add-es3plus-to-am36xx-am35xx.patch new file +34 -0
new file mode 100644
index 0000000..3843345

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/panda/0001-panda-fix-wl12xx-regulator.patch new file +27 -0
new file mode 100644
index 0000000..537f9a1

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/panda/0002-panda-enable-bluetooth.patch new file +88 -0

88 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/panda/0003-ti-st-st-kim-fixing-firmware-path.patch new file +35 -0
new file mode 100644
index 0000000..d35ed10

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/sakoman/0001-OMAP-DSS2-add-bootarg-for-selecting-svideo.patch new file +78 -0

78 lines not on this page · raw message

recipes-kernel/linux/linux-mainline-3.2/sakoman/0002-video-add-timings-for-hd720.patch new file +28 -0
new file mode 100644
index 0000000..2a0372b

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/sakoman/0003-omap-mmc-Adjust-dto-to-eliminate-timeout-errors.patch new file +30 -0
new file mode 100644
index 0000000..552a91a

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/touchbook/0001-omap3-touchbook-remove-mmc-gpio_wp.patch new file +39 -0
new file mode 100644
index 0000000..eb77607

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline-3.2/touchbook/0002-omap3-touchbook-drop-u-boot-readonly.patch new file +25 -0
new file mode 100644
index 0000000..0319264

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-mainline_3.2.bb new file +90 -0

90 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.10

Part of the diff is not shown here. View the raw message.

author
#1 lore raw

RFC PATCH 2/5 beagleboard: switch to linux-mainline and drag in more modules

also bump MACHINE_KERNEL_PR to force rebuild of external modules like sgx and dsp.

---
 conf/machine/beagleboard.conf  |    5 ++++-
 conf/machine/include/omap3.inc |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
conf/machine/beagleboard.conf +4 -1
index 0043a70..a9029d1 100644
@@ -17,7 +17,7 @@ require conf/machine/include/omap3.inc
 # SPL build
 EXTRA_IMAGEDEPENDS = "u-boot"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
 
 IMAGE_FSTYPES += "tar.bz2 ubi"
 EXTRA_IMAGECMD_jffs2 = "-lnp "
@@ -46,3 +46,6 @@ 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"
conf/machine/include/omap3.inc +1 -1
index 9903856..c5b1979 100644
@@ -4,7 +4,7 @@ require conf/machine/include/soc-family.inc
 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 = "r119"
+MACHINE_KERNEL_PR = "r120"
 
 KERNEL_IMAGETYPE = "uImage"
 
Signature · 1 line
1.7.10
author
#2 lore raw

RFC PATCH 3/5 linux-mainline 3.2: fix build of external SGX modules

In reply to Koen Kooi

Patch downloaded from https://github.com/RobertCNelson/stable-kernel/tree/master/patches/sgx

---
 ...DSS2-remove-update_mode-from-omapdss-v3.2.patch |  321 ++++++++++++++++++++
 recipes-kernel/linux/linux-mainline_3.2.bb         |    1 +
 2 files changed, 322 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-mainline-3.2/sgx/0001-Revert-OMAP-DSS2-remove-update_mode-from-omapdss-v3.2.patch
recipes-kernel/linux/linux-mainline-3.2/sgx/0001-Revert-OMAP-DSS2-remove-update_mode-from-omapdss-v3.2.patch new file +321 -0
new file mode 100644
index 0000000..9f24df0
@@ -0,0 +1,321 @@
+From 4fbd1a6149222f1a075182e4d41cf1e2f72345d2 Mon Sep 17 00:00:00 2001
+From: Robert Nelson <[email protected]>
+Date: Wed, 3 Aug 2011 11:08:04 -0500
+Subject: [PATCH] Revert "OMAP: DSS2: remove update_mode from omapdss"
+
+This reverts commit 8cff88c5da2197aa601409d4a7ce8f83f8de8190.
+---
+ drivers/video/omap2/displays/panel-taal.c |   17 ++++++++
+ drivers/video/omap2/dss/display.c         |   45 ++++++++++++++++++++++
+ drivers/video/omap2/dss/manager.c         |   59 ++++++++++++++++++++++-------
+ drivers/video/omap2/dss/venc.c            |   17 ++++++++
+ include/video/omapdss.h                   |   11 +++++
+ 5 files changed, 135 insertions(+), 14 deletions(-)
+
+diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c
+index 80c3f6a..a2a7380 100644
+--- a/drivers/video/omap2/displays/panel-taal.c
++++ b/drivers/video/omap2/displays/panel-taal.c
+@@ -1874,6 +1874,20 @@ err:
+ 	mutex_unlock(&td->lock);
+ }
+ 
++static int taal_set_update_mode(struct omap_dss_device *dssdev,
++		enum omap_dss_update_mode mode)
++{
++	if (mode != OMAP_DSS_UPDATE_MANUAL)
++		return -EINVAL;
++	return 0;
++}
++
++static enum omap_dss_update_mode taal_get_update_mode(
++		struct omap_dss_device *dssdev)
++{
++	return OMAP_DSS_UPDATE_MANUAL;
++}
++
+ static struct omap_dss_driver taal_driver = {
+ 	.probe		= taal_probe,
+ 	.remove		= __exit_p(taal_remove),
+@@ -1883,6 +1897,9 @@ static struct omap_dss_driver taal_driver = {
+ 	.suspend	= taal_suspend,
+ 	.resume		= taal_resume,
+ 
++	.set_update_mode = taal_set_update_mode,
++	.get_update_mode = taal_get_update_mode,
++
+ 	.update		= taal_update,
+ 	.sync		= taal_sync,
+ 
+diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c
+index be331dc..6fa445c 100644
+--- a/drivers/video/omap2/dss/display.c
++++ b/drivers/video/omap2/dss/display.c
+@@ -65,6 +65,48 @@ static ssize_t display_enabled_store(struct device *dev,
+ 	return size;
+ }
+ 
++static ssize_t display_upd_mode_show(struct device *dev,
++		struct device_attribute *attr, char *buf)
++{
++	struct omap_dss_device *dssdev = to_dss_device(dev);
++	enum omap_dss_update_mode mode = OMAP_DSS_UPDATE_AUTO;
++	if (dssdev->driver->get_update_mode)
++		mode = dssdev->driver->get_update_mode(dssdev);
++	return snprintf(buf, PAGE_SIZE, "%d\n", mode);
++}
++
++static ssize_t display_upd_mode_store(struct device *dev,
++		struct device_attribute *attr,
++		const char *buf, size_t size)
++{
++	struct omap_dss_device *dssdev = to_dss_device(dev);
++	int val, r;
++	enum omap_dss_update_mode mode;
++
++	if (!dssdev->driver->set_update_mode)
++		return -EINVAL;
++
++	r = kstrtoint(buf, 0, &val);
++	if (r)
++		return r;
++
++	switch (val) {
++	case OMAP_DSS_UPDATE_DISABLED:
++	case OMAP_DSS_UPDATE_AUTO:
++	case OMAP_DSS_UPDATE_MANUAL:
++		mode = (enum omap_dss_update_mode)val;
++		break;
++	default:
++		return -EINVAL;
++	}
++
++	r = dssdev->driver->set_update_mode(dssdev, mode);
++	if (r)
++		return r;
++
++	return size;
++}
++
+ static ssize_t display_tear_show(struct device *dev,
+ 		struct device_attribute *attr, char *buf)
+ {
+@@ -250,6 +292,8 @@ static ssize_t display_wss_store(struct device *dev,
+ 
+ static DEVICE_ATTR(enabled, S_IRUGO|S_IWUSR,
+ 		display_enabled_show, display_enabled_store);
++static DEVICE_ATTR(update_mode, S_IRUGO|S_IWUSR,
++		display_upd_mode_show, display_upd_mode_store);
+ static DEVICE_ATTR(tear_elim, S_IRUGO|S_IWUSR,
+ 		display_tear_show, display_tear_store);
+ static DEVICE_ATTR(timings, S_IRUGO|S_IWUSR,
+@@ -263,6 +307,7 @@ static DEVICE_ATTR(wss, S_IRUGO|S_IWUSR,
+ 
+ static struct device_attribute *display_sysfs_attrs[] = {
+ 	&dev_attr_enabled,
++	&dev_attr_update_mode,
+ 	&dev_attr_tear_elim,
+ 	&dev_attr_timings,
+ 	&dev_attr_rotate,
+diff --git a/drivers/video/omap2/dss/manager.c b/drivers/video/omap2/dss/manager.c
+index 6e63845..e5684a9 100644
+--- a/drivers/video/omap2/dss/manager.c
++++ b/drivers/video/omap2/dss/manager.c
+@@ -515,6 +515,8 @@ struct overlay_cache_data {
+ 
+ 	u32 fifo_low;
+ 	u32 fifo_high;
++
++	bool manual_update;
+ };
+ 
+ struct manager_cache_data {
+@@ -528,6 +530,7 @@ struct manager_cache_data {
+ 
+ 	struct omap_overlay_manager_info info;
+ 
++	bool manual_upd_display;
+ 	bool manual_update;
+ 	bool do_manual_update;
+ 
+@@ -636,15 +639,24 @@ static int dss_mgr_wait_for_go(struct omap_overlay_manager *mgr)
+ 	if (!dssdev || dssdev->state != OMAP_DSS_DISPLAY_ACTIVE)
+ 		return 0;
+ 
+-	if (dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE)
+-		return 0;
+-
+ 	if (dssdev->type == OMAP_DISPLAY_TYPE_VENC
+ 			|| dssdev->type == OMAP_DISPLAY_TYPE_HDMI) {
+ 		irq = DISPC_IRQ_EVSYNC_ODD | DISPC_IRQ_EVSYNC_EVEN;
+ 	} else {
+-		irq = (dssdev->manager->id == OMAP_DSS_CHANNEL_LCD) ?
+-			DISPC_IRQ_VSYNC : DISPC_IRQ_VSYNC2;
++		if (dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
++			enum omap_dss_update_mode mode;
++			mode = dssdev->driver->get_update_mode(dssdev);
++			if (mode != OMAP_DSS_UPDATE_AUTO)
++				return 0;
++
++			irq = (dssdev->manager->id == OMAP_DSS_CHANNEL_LCD) ?
++				DISPC_IRQ_FRAMEDONE
++				: DISPC_IRQ_FRAMEDONE2;
++		} else {
++			irq = (dssdev->manager->id == OMAP_DSS_CHANNEL_LCD) ?
++				DISPC_IRQ_VSYNC
++				: DISPC_IRQ_VSYNC2;
++		}
+ 	}
+ 
+ 	mc = &dss_cache.manager_cache[mgr->id];
+@@ -705,15 +717,24 @@ int dss_mgr_wait_for_go_ovl(struct omap_overlay *ovl)
+ 	if (!dssdev || dssdev->state != OMAP_DSS_DISPLAY_ACTIVE)
+ 		return 0;
+ 
+-	if (dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE)
+-		return 0;
+-
+ 	if (dssdev->type == OMAP_DISPLAY_TYPE_VENC
+ 			|| dssdev->type == OMAP_DISPLAY_TYPE_HDMI) {
+ 		irq = DISPC_IRQ_EVSYNC_ODD | DISPC_IRQ_EVSYNC_EVEN;
+ 	} else {
+-		irq = (dssdev->manager->id == OMAP_DSS_CHANNEL_LCD) ?
+-			DISPC_IRQ_VSYNC : DISPC_IRQ_VSYNC2;
++		if (dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE) {
++			enum omap_dss_update_mode mode;
++			mode = dssdev->driver->get_update_mode(dssdev);
++			if (mode != OMAP_DSS_UPDATE_AUTO)
++				return 0;
++
++			irq = (dssdev->manager->id == OMAP_DSS_CHANNEL_LCD) ?
++				DISPC_IRQ_FRAMEDONE
++				: DISPC_IRQ_FRAMEDONE2;
++		} else {
++			irq = (dssdev->manager->id == OMAP_DSS_CHANNEL_LCD) ?
++				DISPC_IRQ_VSYNC
++				: DISPC_IRQ_VSYNC2;
++		}
+ 	}
+ 
+ 	oc = &dss_cache.overlay_cache[ovl->id];
+@@ -848,7 +869,7 @@ static int configure_overlay(enum omap_plane plane)
+ 	orig_outw = outw;
+ 	orig_outh = outh;
+ 
+-	if (mc->manual_update && mc->do_manual_update) {
++	if (c->manual_update && mc->do_manual_update) {
+ 		unsigned bpp;
+ 		unsigned scale_x_m = w, scale_x_d = outw;
+ 		unsigned scale_y_m = h, scale_y_d = outh;
+@@ -1010,7 +1031,7 @@ static int configure_dispc(void)
+ 		if (!oc->dirty)
+ 			continue;
+ 
+-		if (mc->manual_update && !mc->do_manual_update)
++		if (oc->manual_update && !mc->do_manual_update)
+ 			continue;
+ 
+ 		if (mgr_busy[oc->channel]) {
+@@ -1058,7 +1079,7 @@ static int configure_dispc(void)
+ 		/* We don't need GO with manual update display. LCD iface will
+ 		 * always be turned off after frame, and new settings will be
+ 		 * taken in to use at next update */
+-		if (!mc->manual_update)
++		if (!mc->manual_upd_display)
+ 			dispc_mgr_go(i);
+ 	}
+ 
+@@ -1376,6 +1397,11 @@ static int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
+ 
+ 		oc->enabled = true;
+ 
++		oc->manual_update =
++			dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE &&
++			dssdev->driver->get_update_mode(dssdev) !=
++				OMAP_DSS_UPDATE_AUTO;
++
+ 		++num_planes_enabled;
+ 	}
+ 
+@@ -1402,8 +1428,13 @@ static int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
+ 		mc->dirty = true;
+ 		mc->info = mgr->info;
+ 
+-		mc->manual_update =
++		mc->manual_upd_display =
+ 			dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE;
++
++		mc->manual_update =
++			dssdev->caps & OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE &&
++			dssdev->driver->get_update_mode(dssdev) !=
++				OMAP_DSS_UPDATE_AUTO;
+ 	}
+ 
+ 	/* XXX TODO: Try to get fifomerge working. The problem is that it
+diff --git a/drivers/video/omap2/dss/venc.c b/drivers/video/omap2/dss/venc.c
+index b404095..a8b03c1 100644
+--- a/drivers/video/omap2/dss/venc.c
++++ b/drivers/video/omap2/dss/venc.c
+@@ -579,6 +579,20 @@ static int venc_panel_resume(struct omap_dss_device *dssdev)
+ 	return venc_panel_enable(dssdev);
+ }
+ 
++static enum omap_dss_update_mode venc_get_update_mode(
++		struct omap_dss_device *dssdev)
++{
++	return OMAP_DSS_UPDATE_AUTO;
++}
++
++static int venc_set_update_mode(struct omap_dss_device *dssdev,
++		enum omap_dss_update_mode mode)
++{
++	if (mode != OMAP_DSS_UPDATE_AUTO)
++		return -EINVAL;
++	return 0;
++}
++
+ static void venc_get_timings(struct omap_dss_device *dssdev,
+ 			struct omap_video_timings *timings)
+ {
+@@ -663,6 +677,9 @@ static struct omap_dss_driver venc_driver = {
+ 	.get_resolution	= omapdss_default_get_resolution,
+ 	.get_recommended_bpp = omapdss_default_get_recommended_bpp,
+ 
++	.set_update_mode = venc_set_update_mode,
++	.get_update_mode = venc_get_update_mode,
++
+ 	.get_timings	= venc_get_timings,
+ 	.set_timings	= venc_set_timings,
+ 	.check_timings	= venc_check_timings,
+diff --git a/include/video/omapdss.h b/include/video/omapdss.h
+index 378c7ed..540d61e 100644
+--- a/include/video/omapdss.h
++++ b/include/video/omapdss.h
+@@ -152,6 +152,12 @@ enum omap_display_caps {
+ 	OMAP_DSS_DISPLAY_CAP_TEAR_ELIM		= 1 << 1,
+ };
+ 
++enum omap_dss_update_mode {
++	OMAP_DSS_UPDATE_DISABLED = 0,
++	OMAP_DSS_UPDATE_AUTO,
++	OMAP_DSS_UPDATE_MANUAL,
++};
++
+ enum omap_dss_display_state {
+ 	OMAP_DSS_DISPLAY_DISABLED = 0,
+ 	OMAP_DSS_DISPLAY_ACTIVE,
+@@ -587,6 +593,11 @@ struct omap_dss_driver {
+ 	int (*resume)(struct omap_dss_device *display);
+ 	int (*run_test)(struct omap_dss_device *display, int test);
+ 
++	int (*set_update_mode)(struct omap_dss_device *dssdev,
++			enum omap_dss_update_mode);
++	enum omap_dss_update_mode (*get_update_mode)(
++			struct omap_dss_device *dssdev);
++
+ 	int (*update)(struct omap_dss_device *dssdev,
+ 			       u16 x, u16 y, u16 w, u16 h);
+ 	int (*sync)(struct omap_dss_device *dssdev);
+-- 
+1.7.7.3
+
recipes-kernel/linux/linux-mainline_3.2.bb +1 -0
index efad8d0..dd86bbf 100644
@@ -69,6 +69,7 @@ SRC_URI += "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gi
             file://omap_fixes/0004-ARM-OMAP4-clock-Add-CPU-local-timer-clock-node.patch \
             file://omap_fixes/0005-ARM-OMAP3-hwmod-data-disable-multiblock-reads-on-MMC.patch \
             file://omap_fixes/0006-OMAP-HWMOD-add-es3plus-to-am36xx-am35xx.patch \
+            file://sgx/0001-Revert-OMAP-DSS2-remove-update_mode-from-omapdss-v3.2.patch \
             \
             file://defconfig"
 
Signature · 1 line
1.7.10
author
#3 lore raw

RFC PATCH 4/5 u-boot 2011.12: don't poke at uLCD7 settings from u-boot, it's handled in the kernel now

In reply to Koen Kooi
---
 .../0003-beagleboard-add-support-for-scanning-loop-through-ex.patch  |    2 +-
 recipes-bsp/u-boot/u-boot_2011.12.bb                                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot/2011.12/0003-beagleboard-add-support-for-scanning-loop-through-ex.patch +1 -1
index 71dd2bb..1bbe14e 100644
@@ -62,7 +62,7 @@ index 9c2e6d0..5ea50d1 100644
 +		printf("Recognized BeagleBoardToys uLCD-lite board\n");
 +		setenv("buddy2", "bbtoys-ulcd");
 +		setenv("defaultdisplay", "lcd");
-+		setenv("uenvcmd", "i2c dev 1 ; i2c mw 40 00 00; i2c mw 40 04 80; i2c mw 40 0d 05; i2c mw 40 0d 15");
++		//setenv("uenvcmd", "i2c dev 1 ; i2c mw 40 00 00; i2c mw 40 04 80; i2c mw 40 0d 05; i2c mw 40 0d 15");
 +		break;
 +	case BEAGLE_NO_EEPROM:
 +		printf("No EEPROM on expansion board\n");
recipes-bsp/u-boot/u-boot_2011.12.bb +1 -1
index 9bbd31e..9616a05 100644
@@ -6,7 +6,7 @@ UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
 UBOOT_SYMLINK = "u-boot-${MACHINE}.img"
 
 PV = "2011.12"
-PR = "r6"
+PR = "r7"
 
 # No patches for other machines yet
 COMPATIBLE_MACHINE = "(beagleboard|pandaboard|hawkboard|am3517-evm|am37x-evm|omap3evm)"
Signature · 1 line
1.7.10
Acked-by on v1 4/5
#4 lore raw

Re: [RFC][PATCH 4/5] u-boot 2011.12: don't poke at uLCD7 settings from u-boot, it's handled in the kernel now

Quoted 5 lines · Koen Kooi
---
 .../0003-beagleboard-add-support-for-scanning-loop-through-ex.patch  |    2 +-
 recipes-bsp/u-boot/u-boot_2011.12.bb                                 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
Tom
author
#5 lore raw

RFC PATCH 5/5 u-boot 2011.12: switch beagleboard to ext4 to match beaglebone

In reply to Koen Kooi

Also add patch to increase ext2 read speed.

---
 .../0011-ext2load-increase-read-speed.patch        |   74 +
 .../2011.12/0012-ext4fs-ls-load-support.patch      | 2362 ++++++++++++++++++++
 .../0013-beagleboard-switch-mmcroots-to-ext4.patch |   43 +
 recipes-bsp/u-boot/u-boot_2011.12.bb               |    5 +-
 4 files changed, 2483 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/u-boot/u-boot/2011.12/0011-ext2load-increase-read-speed.patch
 create mode 100644 recipes-bsp/u-boot/u-boot/2011.12/0012-ext4fs-ls-load-support.patch
 create mode 100644 recipes-bsp/u-boot/u-boot/2011.12/0013-beagleboard-switch-mmcroots-to-ext4.patch
recipes-bsp/u-boot/u-boot/2011.12/0011-ext2load-increase-read-speed.patch new file +74 -0
new file mode 100644
index 0000000..2adb1db
@@ -0,0 +1,74 @@
+From e4181abd88a932bc38054af05d39a633656caefa Mon Sep 17 00:00:00 2001
+From: "[email protected]" <[email protected]>
+Date: Wed, 28 Mar 2012 04:37:11 +0000
+Subject: [PATCH 11/13] ext2load: increase read speed
+
+This patch dramatically drops the amount of time u-boot needs to read a
+file from an ext2 partition.  On a typical 2 to 5 MB file (kernels and
+initrds) it goes from tens of seconds to a couple seconds.
+
+All we are doing here is grouping contiguous blocks into one read.
+
+Boot tested on Globalscale Technologies Dreamplug (Kirkwood ARM SoC)
+with three different files.  sha1sums were calculated in Linux
+userspace, and then confirmed after ext2load.
+
+Signed-off-by: Jason Cooper <[email protected]>
+---
+ fs/ext2/ext2fs.c |   26 ++++++++++++++++++++++++--
+ 1 file changed, 24 insertions(+), 2 deletions(-)
+
+diff --git a/fs/ext2/ext2fs.c b/fs/ext2/ext2fs.c
+index e119e13..8531db5 100644
+--- a/fs/ext2/ext2fs.c
++++ b/fs/ext2/ext2fs.c
+@@ -414,7 +414,6 @@ int ext2fs_read_file
+ 		if (blknr < 0) {
+ 			return (-1);
+ 		}
+-		blknr = blknr << log2blocksize;
+ 
+ 		/* Last block.  */
+ 		if (i == blockcnt - 1) {
+@@ -432,6 +431,29 @@ int ext2fs_read_file
+ 			blockend -= skipfirst;
+ 		}
+ 
++		/* grab middle blocks in one go */
++		if (i != pos / blocksize && i != blockcnt - 1 && blockcnt > 3) {
++			int oldblk = blknr;
++			int blocknxt;
++			while (i < blockcnt - 1) {
++				blocknxt = ext2fs_read_block(node, i + 1);
++				if (blocknxt == (oldblk + 1)) {
++					oldblk = blocknxt;
++					i++;
++				} else {
++					blocknxt = ext2fs_read_block(node, i);
++					break;
++				}
++			}
++
++			if (oldblk == blknr)
++				blockend = blocksize;
++			else
++				blockend = (1 + blocknxt - blknr) * blocksize;
++		}
++
++		blknr = blknr << log2blocksize;
++
+ 		/* If the block number is 0 this block is not stored on disk but
+ 		   is zero filled instead.  */
+ 		if (blknr) {
+@@ -444,7 +466,7 @@ int ext2fs_read_file
+ 		} else {
+ 			memset (buf, 0, blocksize - skipfirst);
+ 		}
+-		buf += blocksize - skipfirst;
++		buf += blockend - skipfirst;
+ 	}
+ 	return (len);
+ }
+-- 
+1.7.10
+
recipes-bsp/u-boot/u-boot/2011.12/0012-ext4fs-ls-load-support.patch new file +2362 -0

2,362 lines not on this page · raw message

recipes-bsp/u-boot/u-boot/2011.12/0013-beagleboard-switch-mmcroots-to-ext4.patch new file +43 -0

43 lines not on this page · raw message

recipes-bsp/u-boot/u-boot_2011.12.bb +4 -1
index 9616a05..45c64a6 100644
@@ -6,7 +6,7 @@ UBOOT_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
 UBOOT_SYMLINK = "u-boot-${MACHINE}.img"
 
 PV = "2011.12"
-PR = "r7"
+PR = "r8"
 
 # No patches for other machines yet
 COMPATIBLE_MACHINE = "(beagleboard|pandaboard|hawkboard|am3517-evm|am37x-evm|omap3evm)"
@@ -30,6 +30,9 @@ SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git \
            ${CACHEFIX} \
            file://2011.12/0009-Beagleboard-Correct-memory-size-on-rev-C4.patch \
            file://2011.12/0010-OMAP3-Correct-get_sdr_cs_offset-mask.patch \
+           file://2011.12/0011-ext2load-increase-read-speed.patch \
+           file://2011.12/0012-ext4fs-ls-load-support.patch \
+           file://2011.12/0013-beagleboard-switch-mmcroots-to-ext4.patch \
            ${FWENV} \
           "
 
Signature · 1 line
1.7.10
author
#7 lore raw

Re: [RFC][PATCH 5/5] u-boot 2011.12: switch beagleboard to ext4 to match beaglebone

Op 1 mei 2012, om 21:23 heeft Tom Rini het volgende geschreven:

Quoted 6 lines · Koen Kooi
Quoted 3 lines

Also add patch to increase ext2 read speed.

FWIW, I'm tempted to get the latest uboot up and running before sending the final patchset. Any opinions on that?

regards,

Koen

#8 lore raw

Re: [RFC][PATCH 5/5] u-boot 2011.12: switch beagleboard to ext4 to match beaglebone

Quoted 11 lines · Koen Kooi

Op 1 mei 2012, om 21:23 heeft Tom Rini het volgende geschreven:

Quoted 6 lines · Koen Kooi
Quoted 3 lines

Also add patch to increase ext2 read speed.

FWIW, I'm tempted to get the latest uboot up and running before sending the final patchset. Any opinions on that?

v2012.04.1 for beagleboard, omap3evm and so forth should be nice. am335x is still just bare-bones.

Signature · 1 line
Tom
#9 lore raw
In reply to Koen Kooi

It's a heavy patch, but my question is - how is it different from linux-3.0 we already have, besides the version upgrade to 3.2? Why is it called linux-mainline, the old linux recipe is also mainline with beagle patches.

Basically, I'm trying to understand 2 things here:
- what's the difference between this beagle patch set and the one applied on top of e.g. 3.0.28? Is it a different dev model, goals, owner or anything else
- why the name change with -mainline suffix?

Other than that it looks fine.

Signature · 1 line
Denys
author
#10 lore raw

Op 3 mei 2012, om 19:15 heeft Denys Dmytriyenko het volgende geschreven:

Quoted 7 lines

It's a heavy patch, but my question is - how is it different from linux-3.0 we already have, besides the version upgrade to 3.2? Why is it called linux-mainline, the old linux recipe is also mainline with beagle patches.

Basically, I'm trying to understand 2 things here:
- what's the difference between this beagle patch set and the one applied on top of e.g. 3.0.28? Is it a different dev model, goals, owner or anything else

Pretty much the same, with less PM. The goal is to keep moving closer to mainline and to a recent mainline version. With this update we'll be using the same kernel Robert Nelson uses for his ubuntu builds.

Quoted 1 line

- why the name change with -mainline suffix?

To namespace it like we planned for our u-boot recipes, a number of layers have linux_3.2.bb recipes that would clash :( I'm not really fond of it, but that's the price we pay for all these layers.

regards,

Koen

#11 lore raw
Quoted 7 lines · Koen Kooi

Op 3 mei 2012, om 19:15 heeft Denys Dmytriyenko het volgende geschreven:

Quoted 4 lines

It's a heavy patch, but my question is - how is it different from linux-3.0 we already have, besides the version upgrade to 3.2? Why is it called linux-mainline, the old linux recipe is also mainline with beagle patches.

Quoted 7 lines
Quoted 3 lines

Basically, I'm trying to understand 2 things here:
- what's the difference between this beagle patch set and the one applied on top of e.g. 3.0.28? Is it a different dev model, goals, owner or anything else

Pretty much the same, with less PM. The goal is to keep moving closer to mainline and to a recent mainline version. With this update we'll be using the same kernel Robert Nelson uses for his ubuntu builds.

Ok, the whole series is now in.

Quoted 5 lines
Quoted 1 line

- why the name change with -mainline suffix?

To namespace it like we planned for our u-boot recipes, a number of layers have linux_3.2.bb recipes that would clash :( I'm not really fond of it, but that's the price we pay for all these layers.

Wouldn't linux-mainline_3.2.bb clash as well with another layer? I thought the agreement was to have TI-specific namespacing, such as SoC family in the name...

Signature · 1 line
Denys
author
#12 lore raw

Op 4 mei 2012, om 02:12 heeft Denys Dmytriyenko het volgende geschreven:

Quoted 12 lines · Koen Kooi
Quoted 11 lines

Op 3 mei 2012, om 19:15 heeft Denys Dmytriyenko het volgende geschreven:

Quoted 7 lines

It's a heavy patch, but my question is - how is it different from linux-3.0 we already have, besides the version upgrade to 3.2? Why is it called linux-mainline, the old linux recipe is also mainline with beagle patches.

Basically, I'm trying to understand 2 things here:
- what's the difference between this beagle patch set and the one applied on top of e.g. 3.0.28? Is it a different dev model, goals, owner or anything else

Quoted 5 lines
Quoted 3 lines

Pretty much the same, with less PM. The goal is to keep moving closer to mainline and to a recent mainline version. With this update we'll be using the same kernel Robert Nelson uses for his ubuntu builds.

Ok, the whole series is now in.

Crap, it was still RFC. I'll try to get the wifi and audio fixes done ASAP now.

Quoted 10 lines
Quoted 6 lines
Quoted 2 lines

- why the name change with -mainline suffix?

To namespace it like we planned for our u-boot recipes, a number of layers have linux_3.2.bb recipes that would clash :( I'm not really fond of it, but that's the price we pay for all these layers.

Wouldn't linux-mainline_3.2.bb clash as well with another layer? I thought the agreement was to have TI-specific namespacing, such as SoC family in the name...

having the SoC name was just a side effect of using the tree-name (-psp-am335x, -denx, etc).