summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/linux/linux-rp.inc11
-rw-r--r--meta/packages/linux/linux-rp_2.6.23.bb12
-rw-r--r--meta/packages/linux/linux-rp_2.6.24.bb139
3 files changed, 115 insertions, 47 deletions
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index ca3deb95b2..c92dc99e5c 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -4,6 +4,7 @@ LICENSE = "GPL"
4 4
5inherit kernel 5inherit kernel
6 6
7DEPENDS_append_collie = " bc-native"
7RPROVIDES_kernel-base += "hostap-modules" 8RPROVIDES_kernel-base += "hostap-modules"
8 9
9DOSRC = "http://www.do13.de/openzaurus/patches" 10DOSRC = "http://www.do13.de/openzaurus/patches"
@@ -34,8 +35,8 @@ CMDLINE_DEBUG = '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "qu
34############################################################## 35##############################################################
35# Configure memory/ramdisk split for collie 36# Configure memory/ramdisk split for collie
36# 37#
37export mem = '${@bb.data.getVar("COLLIE_MEMORY_SIZE",d,1) or "32"}' 38export mem = '${@bb.data.getVar("COLLIE_MEMORY_SIZE",d,1) or "64"}'
38export rd = '${@bb.data.getVar("COLLIE_RAMDISK_SIZE",d,1) or "32"}' 39export rd = '${@bb.data.getVar("COLLIE_RAMDISK_SIZE",d,1) or "0"}'
39 40
40CMDLINE_MEM_collie = "mem=${mem}M" 41CMDLINE_MEM_collie = "mem=${mem}M"
41CMDLINE_MEM_zylonite = "mem=64M" 42CMDLINE_MEM_zylonite = "mem=64M"
@@ -59,6 +60,12 @@ module_autoload_snd-soc-spitz_spitz = "snd-soc-spitz"
59module_autoload_snd-soc-poodle_poodle = "snd-soc-poodle" 60module_autoload_snd-soc-poodle_poodle = "snd-soc-poodle"
60module_autoload_locomo-spi_collie = "locomo-spi" 61module_autoload_locomo-spi_collie = "locomo-spi"
61module_autoload_mmc_block_collie = "mmc_block" 62module_autoload_mmc_block_collie = "mmc_block"
63module_autoload_mmc_spi = "mmc-spi"
64module_autoload_locomokbd_collie = "locomokbd"
65module_autoload_sa1100-cs_collie = "sa1100_cs"
66module_autoload_collie-ts_collie = "collie-ts"
67module_autoload_leds-locomo_collie = "leds-locomo"
68module_autoload_power_collie = "power"
62 69
63do_configure() { 70do_configure() {
64 rm -f ${S}/.config 71 rm -f ${S}/.config
diff --git a/meta/packages/linux/linux-rp_2.6.23.bb b/meta/packages/linux/linux-rp_2.6.23.bb
index 6742082112..4bb06b60b1 100644
--- a/meta/packages/linux/linux-rp_2.6.23.bb
+++ b/meta/packages/linux/linux-rp_2.6.23.bb
@@ -1,6 +1,6 @@
1require linux-rp.inc 1require linux-rp.inc
2 2
3PR = "r33" 3PR = "r34"
4 4
5# Handy URLs 5# Handy URLs
6# git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=ef7d1b244fa6c94fb76d5f787b8629df64ea4046 6# git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=ef7d1b244fa6c94fb76d5f787b8629df64ea4046
@@ -43,6 +43,8 @@ SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \
43 ${RPSRC}/poodle_pm-r4.patch;patch=1 \ 43 ${RPSRC}/poodle_pm-r4.patch;patch=1 \
44 ${RPSRC}/poodle_lcd_hack-r0.patch;patch=1 \ 44 ${RPSRC}/poodle_lcd_hack-r0.patch;patch=1 \
45 ${RPSRC}/poodle_asoc_fix-r1.patch;patch=1 \ 45 ${RPSRC}/poodle_asoc_fix-r1.patch;patch=1 \
46 file://wm8750-treble.patch;patch=1 \
47 file://mtd-module.patch;patch=1 \
46 file://squashfs3.0-2.6.15.patch;patch=1;status=external \ 48 file://squashfs3.0-2.6.15.patch;patch=1;status=external \
47 ${RPSRC}/logo_oh-r1.patch.bz2;patch=1;status=unmergable \ 49 ${RPSRC}/logo_oh-r1.patch.bz2;patch=1;status=unmergable \
48 ${RPSRC}/pxa-linking-bug.patch;patch=1;status=unmergable \ 50 ${RPSRC}/pxa-linking-bug.patch;patch=1;status=unmergable \
@@ -130,6 +132,14 @@ SRC_URI_append_tosa = "\
130 " 132 "
131# ${DOSRC}/tosa-asoc-r1.patch;patch=1 " 133# ${DOSRC}/tosa-asoc-r1.patch;patch=1 "
132 134
135SRC_URI_append_akita = "\
136 file://sharpsl-rc-r1.patch;patch=1;status=external \
137 "
138
139SRC_URI_append_spitz = "\
140 file://sharpsl-rc-r1.patch;patch=1;status=external \
141 "
142
133SRC_URI_append_htcuniversal ="\ 143SRC_URI_append_htcuniversal ="\
134 file://htcuni-acx.patch;patch=1;status=external \ 144 file://htcuni-acx.patch;patch=1;status=external \
135 " 145 "
diff --git a/meta/packages/linux/linux-rp_2.6.24.bb b/meta/packages/linux/linux-rp_2.6.24.bb
index b46e23ba89..a7418d89fc 100644
--- a/meta/packages/linux/linux-rp_2.6.24.bb
+++ b/meta/packages/linux/linux-rp_2.6.24.bb
@@ -1,9 +1,10 @@
1require linux-rp.inc 1require linux-rp.inc
2 2
3PR = "r3" 3PR = "r12"
4 4
5DEFAULT_PREFERENCE = "-1" 5DEFAULT_PREFERENCE = "-1"
6DEFAULT_PREFERENCE_collie = "1" 6DEFAULT_PREFERENCE_collie = "1"
7DEFAULT_PREFERENCE_tosa = "1"
7 8
8# Handy URLs 9# Handy URLs
9# git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=ef7d1b244fa6c94fb76d5f787b8629df64ea4046 10# git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=ef7d1b244fa6c94fb76d5f787b8629df64ea4046
@@ -35,13 +36,20 @@ SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
35 ${RPSRC}/pm_changes-r1.patch;patch=1 \ 36 ${RPSRC}/pm_changes-r1.patch;patch=1 \
36 ${RPSRC}/usb_add_epalloc-r4.patch;patch=1 \ 37 ${RPSRC}/usb_add_epalloc-r4.patch;patch=1 \
37 ${RPSRC}/usb_pxa27x_udc-r8.patch;patch=1 \ 38 ${RPSRC}/usb_pxa27x_udc-r8.patch;patch=1 \
38 ${RPSRC}/locomo_kbd_tweak-r1.patch;patch=1 \ 39 ${RPSRC}/locomo_kbd_tweak-r1a.patch;patch=1 \
39 ${RPSRC}/pxa27x_overlay-r8.patch;patch=1 \ 40 ${RPSRC}/pxa27x_overlay-r8.patch;patch=1 \
40 ${RPSRC}/w100_extaccel-r2.patch;patch=1 \ 41 ${RPSRC}/w100_extaccel-r2.patch;patch=1 \
41 ${RPSRC}/w100_extmem-r1.patch;patch=1 \ 42 ${RPSRC}/w100_extmem-r1.patch;patch=1 \
42 ${RPSRC}/poodle_pm-r5.patch;patch=1 \ 43 ${RPSRC}/poodle_pm-r5.patch;patch=1 \
43 ${RPSRC}/poodle_lcd_hack-r0.patch;patch=1 \ 44 ${RPSRC}/poodle_lcd_hack-r0.patch;patch=1 \
44 ${RPSRC}/poodle_asoc_fix-r1.patch;patch=1 \ 45 ${RPSRC}/poodle_asoc_fix-r1.patch;patch=1 \
46 file://pxa27x-resume.patch;patch=1;status=external \
47 file://mtd-module.patch;patch=1;status=external \
48 file://wm8750-treble.patch;patch=1;status=external \
49 file://spitz_h_rewrite.patch;patch=1;status=external \
50 file://pxa2xx_udc-clock.patch;patch=1 \
51 file://sharpsl-rc-r1.patch;patch=1 \
52 file://sharpsl-rc-r2.patch;patch=1 \
45 file://squashfs3.3.patch;patch=1;status=external \ 53 file://squashfs3.3.patch;patch=1;status=external \
46 ${RPSRC}/logo_oh-r1.patch.bz2;patch=1;status=unmergable \ 54 ${RPSRC}/logo_oh-r1.patch.bz2;patch=1;status=unmergable \
47 ${RPSRC}/pxa-linking-bug.patch;patch=1;status=unmergable \ 55 ${RPSRC}/pxa-linking-bug.patch;patch=1;status=unmergable \
@@ -54,9 +62,9 @@ SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
54 file://pxa-serial-hack.patch;patch=1;status=hack \ 62 file://pxa-serial-hack.patch;patch=1;status=hack \
55 file://connectplus-remove-ide-HACK.patch;patch=1;status=hack \ 63 file://connectplus-remove-ide-HACK.patch;patch=1;status=hack \
56 file://connectplus-prevent-oops-HACK.patch;patch=1;status=hack \ 64 file://connectplus-prevent-oops-HACK.patch;patch=1;status=hack \
57 file://htcuni.patch;patch=1 \
58 file://binutils-buildid-arm.patch;patch=1 \ 65 file://binutils-buildid-arm.patch;patch=1 \
59 file://versatile-armv6.patch;patch=1 \ 66 file://versatile-armv6.patch;patch=1 \
67 file://htcuni.patch;patch=1 \
60 file://defconfig-c7x0 \ 68 file://defconfig-c7x0 \
61 file://defconfig-hx2000 \ 69 file://defconfig-hx2000 \
62 file://defconfig-collie \ 70 file://defconfig-collie \
@@ -67,9 +75,8 @@ SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
67 file://defconfig-qemux86 \ 75 file://defconfig-qemux86 \
68 file://defconfig-bootcdx86 \ 76 file://defconfig-bootcdx86 \
69 file://defconfig-htcuniversal \ 77 file://defconfig-htcuniversal \
78 file://defconfig-tosa \
70 file://defconfig-zylonite" 79 file://defconfig-zylonite"
71# Tosa disabled until the patchset is updated
72# file://defconfig-tosa
73 80
74# FIXMEs before made default 81# FIXMEs before made default
75# ${RPSRC}/mmcsd_no_scr_check-r1.patch;patch=1;status=hack 82# ${RPSRC}/mmcsd_no_scr_check-r1.patch;patch=1;status=hack
@@ -81,59 +88,103 @@ SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
81# Disabled until I find the reason this gives issues with cdc_subset 88# Disabled until I find the reason this gives issues with cdc_subset
82# ${RPSRC}/usb_rndis_tweaks-r0.patch;patch=1 \ 89# ${RPSRC}/usb_rndis_tweaks-r0.patch;patch=1 \
83 90
84# Is anything out of this still needed? Parts were commited to mainline by rmk (drivers/mfd/)
85# (Pavel Machek's git tree has updated versions of this?)
86# ${JLSRC}/zaurus-lcd-2.6.11.diff.gz;patch=1
87 91
88# These patches are extracted from Pavel Machek's git tree
89# (diff against vanilla kernel)
90SRC_URI_append_collie = "\ 92SRC_URI_append_collie = "\
91 ${TKSRC}/mtd-sharp-flash-hack-r3.patch;patch=1 \ 93 ${TKSRC}/mtd-sharp-flash-hack-r4.patch;patch=1 \
92 ${TKSRC}/mcp-sa11x0-r0.patch;patch=1 \ 94 ${TKSRC}/mcp-sa11x0-r0.patch;patch=1 \
93 ${TKSRC}/locomo-r0.patch;patch=1 \ 95 ${TKSRC}/locomo-r1.patch;patch=1 \
94# ${TKSRC}/locomo_spi-4.patch;patch=1 \ 96 ${TKSRC}/collie-kexec-r1.patch;patch=1 \
95 ${TKSRC}/collie-kexec.patch;patch=1 \ 97 ${TKSRC}/sharpsl_pm-4.patch;patch=1 \
96 ${TKSRC}/sharpsl_pm-3.patch;patch=1 \ 98 ${TKSRC}/collie_pm-3.patch;patch=1 \
97 ${TKSRC}/collie_pm-2.patch;patch=1 \
98 ${TKSRC}/locomokeyb_suspendkey-2.patch;patch=1 \
99 ${TKSRC}/ucb1x00_suspend.patch;patch=1 \ 99 ${TKSRC}/ucb1x00_suspend.patch;patch=1 \
100 ${TKSRC}/collie-ts.patch;patch=1 \ 100 ${TKSRC}/collie-ts.patch;patch=1 \
101 ${TKSRC}/pcmcia_suspend.patch;patch=1 \ 101 ${TKSRC}/pcmcia_suspend.patch;patch=1 \
102 ${TKSRC}/locomo_spi-6.patch;patch=1 \
103 ${TKSRC}/config.patch;patch=1 \
104 ${TKSRC}/locomokeyb-2.patch;patch=1 \
105 ${TKSRC}/mmc-spi.patch;patch=1 \
106 ${TKSRC}/linux-2.6.24-SIMpad-rtc-sa1100.patch;patch=1 \
107 ${TKSRC}/sa1100_spinlock.patch;patch=1 \
108 ${TKSRC}/sa1100-dma.patch;patch=1 \
109 ${TKSRC}/sa1100_udc_g_ether-2.patch;patch=1 \
102" 110"
103 111
104SRC_URI_append_poodle = "\ 112SRC_URI_append_poodle = "\
105 ${RPSRC}/poodle_serial_vcc-r0.patch;patch=1 \ 113 ${RPSRC}/poodle_serial_vcc-r0.patch;patch=1 \
114 file://poodle_ts.patch;patch=1 \
115 file://pxafb.patch;patch=1 \
106" 116"
107 117
108SRC_URI_append_tosa = "\ 118SRC_URI_append_tosa = "\
109 ${CHSRC}/tmio-core-r4.patch;patch=1 \ 119 file://tosa/0001-Allow-runtime-registration-of-regions-of-memory-that.patch;patch=1 \
110 file://tmio-tc6393-r8.patch;patch=1 \ 120 file://tosa/0002-Modify-dma_alloc_coherent-on-ARM-so-that-it-supports.patch;patch=1 \
111 file://tmio-nand-r8.patch;patch=1 \ 121 file://tosa/0003-Core-MFD-support.patch;patch=1 \
112 ${CHSRC}/tmio-fb-r6.patch;patch=1 \ 122 file://tosa/0004-Add-support-for-tc6393xb-MFD-core.patch;patch=1 \
113 file://tmio-fb-r6-fix-r0.patch;patch=1 \ 123 file://tosa/0005-Add-support-for-tc6387xb-MFD-core.patch;patch=1 \
114 file://tosa-keyboard-r19.patch;patch=1 \ 124 file://tosa/0006-Add-support-for-t7l66xb-MFD-core.patch;patch=1 \
115 ${DOSRC}/tosa-pxaac97-r6.patch;patch=1 \ 125 file://tosa/0007-Common-headers-for-TMIO-MFD-subdevices.patch;patch=1 \
116 file://tosa-pxaac97-r6-fix-r0.patch;patch=1 \ 126 file://tosa/0008-Nand-driver-for-TMIO-devices.patch;patch=1 \
117 ${DOSRC}/tosa-tmio-r6.patch;patch=1 \ 127 file://tosa/0009-FB-driver-for-TMIO-devices.patch;patch=1 \
118 file://tosa-power-r18.patch;patch=1 \ 128 file://tosa/0010-OHCI-driver-for-TMIO-devices.patch;patch=1 \
119 file://tosa-power-r18-fix-r0.patch;patch=1 \ 129 file://tosa/0011-MMC-driver-for-TMIO-devices.patch;patch=1 \
120 file://tosa-tmio-lcd-r10.patch;patch=1 \ 130 file://tosa/0012-Tosa-keyboard-support.patch;patch=1 \
121 file://tosa-tmio-lcd-r10-fix-r0.patch;patch=1 \ 131 file://tosa/0013-USB-gadget-pxa2xx_udc-supports-inverted-vbus.patch;patch=1 \
122 file://tosa-bluetooth-r8.patch;patch=1 \ 132 file://tosa/0014-tosa_udc_use_gpio_vbus.patch.patch;patch=1 \
123 file://wm97xx-lg13-r0.patch;patch=1 \ 133 file://tosa/0015-sharpsl-export-params.patch;patch=1 \
124 file://wm97xx-lg13-r0-fix-r0.patch;patch=1 \ 134 file://tosa/0016-This-patch-fixes-the-pxa25x-clocks-definitions-to-ad.patch;patch=1 \
125 file://wm9712-suspend-cold-res-r2.patch;patch=1 \ 135 file://tosa/0017-Convert-pxa2xx-UDC-to-use-debugfs.patch;patch=1 \
126 file://sharpsl-pm-postresume-r1.patch;patch=1 \ 136 file://tosa/0018-Fix-the-pxa2xx_udc-to-balance-calls-to-clk_enable-cl.patch;patch=1 \
127 file://wm9712-reset-loop-r2.patch;patch=1 \ 137 file://tosa/0026-I-don-t-think-we-should-check-for-IRQs-when-determin.patch;patch=1 \
128 file://tosa-lcdnoise-r1.patch;patch=1 \ 138 file://tosa/0027-Add-LiMn-one-of-the-most-common-for-small-non-recha.patch;patch=1 \
129 file://tosa-lcdnoise-r1-fix-r0.patch;patch=1 \ 139 file://tosa/0028-Add-suspend-resume-wakeup-support-for-pda_power.patch;patch=1 \
130 file://arm-dma-coherent.patch;patch=1 \ 140 file://tosa/0029-Support-using-VOLTAGE_-properties-for-apm-calculati.patch;patch=1 \
131 file://usb-ohci-hooks-r3.patch;patch=1 \ 141 file://tosa/0030-Core-driver-for-WM97xx-touchscreens.patch;patch=1 \
132 file://tmio-ohci-r9.patch;patch=1 \ 142 file://tosa/0031-Add-chip-driver-for-WM9705-touchscreen.patch;patch=1 \
133 file://pxa2xx_udc_support_inverse_vbus.patch;patch=1 \ 143 file://tosa/0032-Add-chip-driver-for-WM9712-touchscreen.patch;patch=1 \
134 file://tosa_udc_use_gpio_vbus.patch;patch=1 \ 144 file://tosa/0033-Add-chip-driver-for-WM9713-touchscreen.patch;patch=1 \
145 file://tosa/0034-Driver-for-WM97xx-touchscreens-in-streaming-mode-on.patch;patch=1 \
146 file://tosa/0035-Build-system-and-MAINTAINERS-entry-for-WM97xx-touchs.patch;patch=1 \
147 file://tosa/0036-Set-id-to-1-for-wm97xx-subdevices.patch;patch=1 \
148 file://tosa/0037-Don-t-lock-the-codec-list-in-snd_soc_dapm_new_widget.patch;patch=1 \
149 file://tosa/0038-Don-t-lock-the-codec-list-in-snd_soc_dapm_new_widget.patch;patch=1 \
150 file://tosa/0044-fix-tmio_mmc-debug-compilation.patch;patch=1 \
151 file://tosa/0045-Update-tmio_ohci.patch;patch=1 \
152 file://tosa/0046-patch-tc6393xb-cleanup.patch;patch=1 \
153 file://tosa/0047-tc6393xb-use-bitmasks-instead-of-bit-field-structs.patch;patch=1 \
154 file://tosa/0048-tc6393xb-GPIO-support.patch;patch=1 \
155 file://tosa/0049-platform-support-for-TMIO-on-tosa.patch;patch=1 \
156 file://tosa/0050-tosa-update-for-tc6393xb-gpio.patch;patch=1 \
157 file://tosa/0051-fix-sound-soc-pxa-tosa.c-to-new-gpio-api.patch;patch=1 \
158 file://tosa/0052-tosa-platform-backlight-support.patch;patch=1 \
159 file://tosa/0053-sound-soc-codecs-wm9712.c-28.patch;patch=1 \
160 file://tosa/0054-sound-soc-codecs-wm9712.c-2.patch;patch=1 \
161 file://tosa/0055-Add-GPIO_POWERON-to-the-list-of-devices-that-we-supp.patch;patch=1 \
162 file://tosa/0058-Fix-tosakbd-suspend.patch;patch=1 \
163 file://tosa/0059-patch-tosa-wakeup-test.patch;patch=1 \
164 file://tosa/0060-Add-support-for-power_supply-on-tosa.patch;patch=1 \
165 file://tosa/0061-tosa-bat-unify.patch;patch=1 \
166 file://tosa/0062-tosa-bat-fix-charging.patch;patch=1 \
167 file://tosa/0063-patch-tosa-bat-jacket-detect.patch;patch=1 \
168 file://tosa/0064-Export-modes-via-sysfs.patch;patch=1 \
169 file://tosa/0065-wm97xx-core-fixes.patch;patch=1 \
170 file://tosa/0066-tmiofb_probe-should-be-__devinit.patch;patch=1 \
171 file://tosa/0067-modeswitching.patch;patch=1 \
172 file://tosa/0068-Preliminary-tosa-denoiser.patch;patch=1 \
173 file://tosa/0019-pxa-remove-periodic-mode-emulation-support.patch;patch=1 \
174 file://tosa/0020-Provide-dew-device-clock-backports-from-2.6.24-git.patch;patch=1 \
175 file://tosa/0021-Add-an-empty-drivers-gpio-directory-for-gpiolib-infr.patch;patch=1 \
176 file://tosa/0022-Provide-new-implementation-infrastructure-that-platf.patch;patch=1 \
177 file://tosa/0023-This-adds-gpiolib-support-for-the-PXA-architecture.patch;patch=1 \
178 file://tosa/0024-Update-Documentation-gpio.txt-primarily-to-include.patch;patch=1 \
179 file://tosa/0025-Signed-off-by-Dmitry-Baryshkov-dbaryshkov-gmail.co.patch;patch=1 \
180 file://tosa/0039-Add-generic-framework-for-managing-clocks.patch;patch=1 \
181 file://tosa/0040-Clocklib-debugfs-support.patch;patch=1 \
182 file://tosa/0041-From-80a359e60c2aec59ccf4fca0a7fd20495f82b1d2-Mon-Se.patch;patch=1 \
183 file://tosa/0042-Use-correct-clock-for-IrDA-on-pxa.patch;patch=1 \
184 file://tosa/0043-Use-clocklib-for-sa1100-sub-arch.patch;patch=1 \
185 file://tosa/0056-Support-resetting-by-asserting-GPIO-pin.patch;patch=1 \
186 file://tosa/0057-Clean-up-tosa-resetting.patch;patch=1 \
135 " 187 "
136# ${DOSRC}/tosa-asoc-r1.patch;patch=1 "
137 188
138SRC_URI_append_htcuniversal ="\ 189SRC_URI_append_htcuniversal ="\
139 file://htcuni-acx.patch;patch=1;status=external \ 190 file://htcuni-acx.patch;patch=1;status=external \