summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-rp_2.6.24.bb
blob: c16c18712734b31ed189764a2bffa7ebb613b715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
require linux-rp.inc

PR = "r23"

DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_collie = "1"
DEFAULT_PREFERENCE_qemux86 = "1"
DEFAULT_PREFERENCE_tosa = "1"
DEFAULT_PREFERENCE_poodle = "1"
DEFAULT_PREFERENCE_c7x0 = "1"
DEFAULT_PREFERENCE_akita = "1"
DEFAULT_PREFERENCE_spitz = "1"

# Handy URLs
# git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=ef7d1b244fa6c94fb76d5f787b8629df64ea4046
# ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2
# ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/linux-2.6.20-rc4.tar.bz2
# ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.18-rc6.bz2;apply=yes
# ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/snapshots/patch-2.6.18-rc2-git1.bz2;apply=yes
# ${KERNELORG_MIRROR}/pub/linux/kernel/people/alan/linux-2.6/2.6.10/patch-2.6.10-ac8.gz;apply=yes
# ${KERNELORG_MIRROR}/pub/linux/kernel/people/akpm/patches/2.6/2.6.14-rc2/2.6.14-rc2-mm1/2.6.14-rc2-mm1.bz2;apply=yes

# Patches submitted upstream are towards top of this list 
# Hacks should clearly named and at the bottom
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2;name=kernel \
	   file://0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch \
           ${RPSRC}/export_atags-r2.patch;status=pending;name=rppatch54 \
           ${RPSRC}/lzo_crypto-r2.patch;status=pending;name=rppatch36 \
           ${RPSRC}/corgi_rearrange_lcd-r0.patch;status=pending;name=rppatch55 \
	   file://hrw-hostapcard.patch;status=pending \
           ${RPSRC}/allow_disable_deferrred-r0.patch;name=rppatch56 \
           ${RPSRC}/lzo_jffs2_sysfs-r1.patch;name=rppatch1 \
           ${RPSRC}/hx2750_base-r33.patch;name=rppatch57 \
           ${RPSRC}/hx2750_bl-r9.patch;name=rppatch3 \
           ${RPSRC}/hx2750_pcmcia-r3.patch;name=rppatch4 \
           ${RPSRC}/pxa_keys-r8.patch;name=rppatch58 \
           ${RPSRC}/tsc2101-r18.patch;name=rppatch59 \
           ${RPSRC}/hx2750_test1-r8.patch;name=rppatch7 \
           ${RPSRC}/input_power-r10.patch;name=rppatch60 \
           ${RPSRC}/pxa25x_cpufreq-r2.patch;name=rppatch44 \
           ${RPSRC}/sharpsl_pm_fixes1-r0.patch;name=rppatch8 \
           ${RPSRC}/pm_changes-r1.patch;name=rppatch9 \
           ${RPSRC}/usb_add_epalloc-r4.patch;name=rppatch61 \
           ${RPSRC}/usb_pxa27x_udc-r8.patch;name=rppatch62 \
           ${RPSRC}/locomo_kbd_tweak-r1a.patch;name=rppatch63 \
           ${RPSRC}/pxa27x_overlay-r8.patch;name=rppatch11 \
           ${RPSRC}/w100_extaccel-r2.patch;name=rppatch12 \
           ${RPSRC}/w100_extmem-r1.patch;name=rppatch13 \
           ${RPSRC}/poodle_pm-r5.patch;name=rppatch64 \
           ${RPSRC}/poodle_lcd_hack-r0.patch;name=rppatch15 \
           ${RPSRC}/poodle_asoc_fix-r1.patch;name=rppatch16 \
           file://pxa27x-resume.patch;status=external \
           file://mtd-module.patch;status=external \
           file://wm8750-treble.patch;status=external \
           file://spitz_h_rewrite.patch;status=external \
           file://pxa2xx_udc-clock.patch \
           file://sharpsl-rc-r1.patch \
           file://sharpsl-rc-r2.patch \
           file://squashfs3.3.patch;status=external \
#           ${RPSRC}/logo_oh-r1.patch.bz2;status=unmergable;name=rppatch17 \
           ${RPSRC}/pxa-linking-bug.patch;status=unmergable;name=rppatch18 \
           file://hostap-monitor-mode.patch;status=unmergable \
           file://serial-add-support-for-non-standard-xtals-to-16c950-driver.patch;status=unmergable \
           ${RPSRC}/mmcsd_large_cards-r1.patch;status=hack;name=rppatch19 \
           ${RPSRC}/mmcsd_no_scr_check-r2.patch;status=hack;name=rppatch20 \
           ${RPSRC}/integrator_rgb-r1.patch;status=hack;name=rppatch21 \
           ${RPSRC}/pxa_cf_initorder_hack-r1.patch;status=hack;name=rppatch22 \
           file://pxa-serial-hack.patch;status=hack \
           file://connectplus-remove-ide-HACK.patch;status=hack \
           file://connectplus-prevent-oops-HACK.patch;status=hack \
           file://binutils-buildid-arm.patch \
           file://versatile-armv6.patch \
	   file://htcuni.patch \
           file://defconfig-c7x0 \
           file://defconfig-hx2000 \
           file://defconfig-collie \
           file://defconfig-poodle \
           file://defconfig-akita \
           file://defconfig-spitz \
           file://defconfig-qemuarm \
           file://defconfig-qemux86 \
           file://defconfig-bootcdx86 \
           file://defconfig-htcuniversal \
           file://defconfig-tosa \
           file://defconfig-zylonite"

# FIXMEs before made default	   
# ${RPSRC}/mmcsd_no_scr_check-r1.patch;status=hack;name=rppatch50


# Add this to enable pm debug code (useful with a serial lead)
#  ${RPSRC}/sharpsl_pm_debug-r0.patch;name=rppatch51

# Disabled until I find the reason this gives issues with cdc_subset
#            ${RPSRC}/usb_rndis_tweaks-r0.patch;name=rppatch52 \


SRC_URI_append_collie = "\
	${TKSRC}/mtd-sharp-flash-hack-r4.patch;name=tkpatch1 \
	${TKSRC}/mcp-sa11x0-r0.patch;name=tkpatch2 \
	${TKSRC}/locomo-r1.patch;name=tkpatch3 \
	${TKSRC}/collie-kexec-r1.patch;name=tkpatch4 \
	${TKSRC}/sharpsl_pm-4.patch;name=tkpatch5 \
	${TKSRC}/collie_pm-3.patch;name=tkpatch6 \
	${TKSRC}/ucb1x00_suspend.patch;name=tkpatch7 \
	${TKSRC}/collie-ts.patch;name=tkpatch8 \
	${TKSRC}/pcmcia_suspend.patch;name=tkpatch9 \
	${TKSRC}/locomo_spi-6.patch;name=tkpatch10 \
	${TKSRC}/config.patch;name=tkpatch11 \
	${TKSRC}/mmc-spi.patch;name=tkpatch12 \
	${TKSRC}/linux-2.6.24-SIMpad-rtc-sa1100.patch;name=tkpatch13 \
	${TKSRC}/sa1100_spinlock.patch;name=tkpatch14 \
	${TKSRC}/sa1100-dma.patch;name=tkpatch15 \
"

SRC_URI_append_poodle = "\
           ${RPSRC}/poodle_serial_vcc-r0.patch;name=rppatch53 \
           file://poodle_ts.patch \
           file://pxafb.patch \
"

SRC_URI_append_tosa = "\
           file://tosa/0001-Allow-runtime-registration-of-regions-of-memory-that.patch \
           file://tosa/0002-Modify-dma_alloc_coherent-on-ARM-so-that-it-supports.patch \
           file://tosa/0003-Core-MFD-support.patch \
           file://tosa/0004-Add-support-for-tc6393xb-MFD-core.patch \
           file://tosa/0005-Add-support-for-tc6387xb-MFD-core.patch \
           file://tosa/0006-Add-support-for-t7l66xb-MFD-core.patch \
           file://tosa/0007-Common-headers-for-TMIO-MFD-subdevices.patch \
           file://tosa/0008-Nand-driver-for-TMIO-devices.patch \
           file://tosa/0009-FB-driver-for-TMIO-devices.patch \
           file://tosa/0010-OHCI-driver-for-TMIO-devices.patch \
           file://tosa/0011-MMC-driver-for-TMIO-devices.patch \
           file://tosa/0012-Tosa-keyboard-support.patch \
           file://tosa/0013-USB-gadget-pxa2xx_udc-supports-inverted-vbus.patch \
           file://tosa/0014-tosa_udc_use_gpio_vbus.patch.patch \
           file://tosa/0015-sharpsl-export-params.patch \
           file://tosa/0016-This-patch-fixes-the-pxa25x-clocks-definitions-to-ad.patch \
           file://tosa/0026-I-don-t-think-we-should-check-for-IRQs-when-determin.patch \
           file://tosa/0027-Add-LiMn-one-of-the-most-common-for-small-non-recha.patch \
           file://tosa/0028-Add-suspend-resume-wakeup-support-for-pda_power.patch \
           file://tosa/0029-Support-using-VOLTAGE_-properties-for-apm-calculati.patch \
           file://tosa/0030-Core-driver-for-WM97xx-touchscreens.patch \
           file://tosa/0031-Add-chip-driver-for-WM9705-touchscreen.patch \
           file://tosa/0032-Add-chip-driver-for-WM9712-touchscreen.patch \
           file://tosa/0033-Add-chip-driver-for-WM9713-touchscreen.patch \
           file://tosa/0034-Driver-for-WM97xx-touchscreens-in-streaming-mode-on.patch \
           file://tosa/0035-Build-system-and-MAINTAINERS-entry-for-WM97xx-touchs.patch \
           file://tosa/0036-Set-id-to-1-for-wm97xx-subdevices.patch \
           file://tosa/0037-Don-t-lock-the-codec-list-in-snd_soc_dapm_new_widget.patch \
           file://tosa/0038-Don-t-lock-the-codec-list-in-snd_soc_dapm_new_widget.patch \
           file://tosa/0044-fix-tmio_mmc-debug-compilation.patch \
           file://tosa/0045-Update-tmio_ohci.patch \
           file://tosa/0046-patch-tc6393xb-cleanup.patch \
           file://tosa/0047-tc6393xb-use-bitmasks-instead-of-bit-field-structs.patch \
           file://tosa/0048-tc6393xb-GPIO-support.patch \
           file://tosa/0049-platform-support-for-TMIO-on-tosa.patch \
           file://tosa/0050-tosa-update-for-tc6393xb-gpio.patch \
           file://tosa/0051-fix-sound-soc-pxa-tosa.c-to-new-gpio-api.patch \
           file://tosa/0052-tosa-platform-backlight-support.patch \
           file://tosa/0053-sound-soc-codecs-wm9712.c-28.patch \
           file://tosa/0054-sound-soc-codecs-wm9712.c-2.patch \
           file://tosa/0055-Add-GPIO_POWERON-to-the-list-of-devices-that-we-supp.patch \
           file://tosa/0058-Fix-tosakbd-suspend.patch \
           file://tosa/0059-patch-tosa-wakeup-test.patch \
           file://tosa/0060-Add-support-for-power_supply-on-tosa.patch \
           file://tosa/0061-tosa-bat-unify.patch \
           file://tosa/0062-tosa-bat-fix-charging.patch \
           file://tosa/0063-patch-tosa-bat-jacket-detect.patch \
           file://tosa/0064-Export-modes-via-sysfs.patch \
           file://tosa/0065-wm97xx-core-fixes.patch \
           file://tosa/0066-tmiofb_probe-should-be-__devinit.patch \
           file://tosa/0067-modeswitching.patch \
           file://tosa/0068-Preliminary-tosa-denoiser.patch \
           file://tosa/0019-pxa-remove-periodic-mode-emulation-support.patch \
           file://tosa/0020-Provide-dew-device-clock-backports-from-2.6.24-git.patch \
           file://tosa/0021-Add-an-empty-drivers-gpio-directory-for-gpiolib-infr.patch \
           file://tosa/0022-Provide-new-implementation-infrastructure-that-platf.patch \
           file://tosa/0023-This-adds-gpiolib-support-for-the-PXA-architecture.patch \
           file://tosa/0024-Update-Documentation-gpio.txt-primarily-to-include.patch \
           file://tosa/0025-Signed-off-by-Dmitry-Baryshkov-dbaryshkov-gmail.co.patch \
           file://tosa/0039-Add-generic-framework-for-managing-clocks.patch \
           file://tosa/0040-Clocklib-debugfs-support.patch \
           file://tosa/0041-From-80a359e60c2aec59ccf4fca0a7fd20495f82b1d2-Mon-Se.patch \
           file://tosa/0042-Use-correct-clock-for-IrDA-on-pxa.patch \
           file://tosa/0043-Use-clocklib-for-sa1100-sub-arch.patch \
           file://tosa/0056-Support-resetting-by-asserting-GPIO-pin.patch \
           file://tosa/0057-Clean-up-tosa-resetting.patch \
           file://tosa/0001-pxa2xx-ac97-switch-AC-unit-to-correct-state-before.patch \
	   file://tosa/tosa-bl-fixup.diff \
           "
#           file://tosa/0017-Convert-pxa2xx-UDC-to-use-debugfs.patch \
#           file://tosa/0018-Fix-the-pxa2xx_udc-to-balance-calls-to-clk_enable-cl.patch \

SRC_URI_append_htcuniversal ="\
	file://htcuni-acx.patch;status=external \
	"

SRC_URI_append_zylonite ="\
	file://pxa_fb_overlay.patch \
	file://zylonite-boot.patch \
	"

S = "${WORKDIR}/linux-2.6.24"

SRC_URI[kernel.md5sum] = "3f23ad4b69d0a552042d1ed0f4399857"
SRC_URI[kernel.sha256sum] = "413c64fbbcf81244cb5571be4963644a1e81166a2b0f008a016528363b65c5d3"