Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
ti:omap3:n900
>
kernel-adaptation-n900
> kernel-adaptation-n900.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File kernel-adaptation-n900.spec of Package kernel-adaptation-n900
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: kernel-adaptation-n900 # >> macros # kernel_version_build is the kernel version with the unique build release and flavour, e.g., 2.6.36.2-4.1-device %define kernel_version_build %{version}-%{release}-%{kernel_target_hw} # kernel_devel_dir for includes/kconfig/makefiles and other devel- files %define kernel_devel_dir %{_prefix}/src/kernels/%{kernel_version_build} # << macros %define builds_uImage 1 Summary: Kernel Adaptation %{kernel_target_hw} Version: 2.6.37 Release: 1 Group: Kernel/Linux Kernel License: GPLv2 Source0: linux-2.6.37.tar.bz2 Source1: %{name}.config Source2: series.conf Source100: kernel-adaptation-n900.yaml Patch0: linux-2.6-usb-musb-add-mA-and-charger-sysfs-entries.patch Patch1: linux-2.6-usb-musb-add-suspend-sysfs-entry.patch Patch2: linux-2.6-usb-otg-add-detect_charger-field-to-otg_transceiver.patch Patch3: linux-2.6-usb-musb-ignore-spurious-SESSREQ-interrupts.patch Patch4: linux-2.6-usb-otg-introduce-otg_notify_event-and-otg_get_last_.patch Patch5: linux-2.6-OMAP2-3-clock-implement-clock-rate-parent-change-not.patch Patch6: linux-2.6-PM-export-missing-symbols.patch Patch7: linux-2.6.38-input-touchscreen-introduce-tsc2005-driver.patch Patch8: linux-2.6.38-omap-rx-51-enable-tsc2005.patch Patch9: linux-2.6-Bluetooth-Support-for-n900-bluetooth-hardware.patch Patch10: linux-2.6-hci_h4p-Fix-module-auto-loading.patch Patch11: linux-2.6-Bluetooth-Add-sysfs-interface-for-hci_h4p-driver-to-.patch Patch12: linux-2.6-mfd-twl4030-Driver-for-twl4030-madc-module.patch Patch13: linux-2.6-omap-rx51-Platform-support-for-lis3lv02d-acceleromet.patch Patch14: linux-2.6-ASoC-RX-51-Add-stereo-audio-output-to-AV-jack.patch Patch15: linux-2.6-V4L-DVB-radio-si4713-Add-regulator-framework-support.patch Patch16: linux-2.6-omap-rx51-Add-initialization-and-platform-data-for-S.patch Patch17: linux-2.6-ASoC-RX-51-Add-support-for-FM-transmitter.patch Patch18: linux-2.6-ASoC-RX-51-Add-aic34b_dummy-driver-only-for-the-RX-5.patch Patch19: linux-2.6-omap-rx51-Add-second-instance-of-the-TLV320AIC34-cod.patch Patch20: linux-2.6-ASoC-RX-51-Add-support-for-earpiece.patch Patch21: linux-2.6-ASoC-RX-51-Add-mic-input-to-AV-jack.patch Patch22: linux-2.6-SoC-RX-51-Add-route-for-AIC34B-generated-mic-bias.patch Patch23: linux-2.6-ASoC-omap-rx51-Report-headset-instead-of-video-out-i.patch Patch24: linux-2.6-enabled-vdda_dac-regulator-support-tvout-on-rx51.patch Patch25: linux-2.6-Added-video-data-to-support-tvout-on-rx51.patch Patch26: linux-2.6-OMAP2-3-PRCM-export-cm_read_mod_reg-and-cm_write_mod.patch Patch27: linux-2.6-EEM-support-for-g_nokia.patch Patch28: linux-2.6-omap3-rx51-Platform-support-for-lp5523-led-chip.patch Patch29: linux-2.6-38-leds-leds-lp5523-modify-the-way-of-setting-led-devic.patch Patch30: linux-2.6-38-leds-lp5523-fix-circular-locking.patch Patch31: linux-2.6-N900-Set-keypad-slide-gpio-as-active-low.patch Patch32: linux-2.6-mfd-Implement-twl4030-poweroff.patch Patch33: linux-2.6-HACK-mfd-twl4030-power-disable-scripts.patch Patch34: linux-2.6-HSI-CMT-patcheset-incl.-fixes-bmc-7505-bmc-9563.patch Patch35: linux-2.6-power_supply-isp1704-patches.patch Patch36: linux-2.6-HACK-sysfs_notify-support-for-isp1704-charger-driver.patch Patch37: linux-2.6-DSS2-patches.patch Patch38: linux-2.6-SGX-PVR-patchset.patch Patch39: linux-2.6-RX-51-add-SGX-platform-device.patch Patch40: linux-2.6-wlan-added-netlink-support-for-wl1251-driver.patch Patch41: linux-2.6-Camera-for-Meego-N900-Adaptation-kernel-2.6.37-patch.patch Patch42: linux-2.6-omap-iommu-Compile-in-as-it-doesn-t-work-as-module.patch Patch43: linux-2.61-HSI-hsi_char-hsi_char_ioctl-compilation-warning.patch Patch44: linux-2.6-omap-rx51-mark-reserved-memory-earlier.patch Patch45: linux-2.6.39-omap-rx51-Add-support-for-vibra.patch Patch46: linux-2.6-ASoC-omap-RX-51-Workaround-aic34b_dummy-to-work-with.patch Patch47: linux-2.6-input-tsc2005-Fix-mouse-device-compatibility-issue.patch Patch48: linux-2.6.38-wl1251-fix-queue-stopping-waking-for-TX-path.patch Patch49: linux-2.6.38-wl1251-fix-4-byte-TX-buffer-alignment.patch Patch50: linux-2.6.39-ASoC-omap-rx51-Enable-McBSP2-sidetone.patch Patch51: linux-2.6-watchdog-omap-wdt-add-fine-grain-runtime-pm.patch Patch52: linux-2.6.39-omap3-wdtimer-fix-core-idle-transition.patch Patch53: linux-2.6-rtc-twl-Switch-to-using-threaded-irq.patch Patch54: linux-2.6.39-RX-51-Enable-isp1704-power-on-off.patch Patch55: linux-2.6.39-isp1704_charger-allow-board-specific-powering-routin.patch Patch56: linux-2.6.39-bq27x00-battery-status-monitoring-backport.patch Patch57: linux-2.6-omap-rx51-bq27x00-i2c-address.patch Patch58: linux-2.6.38-sr-0001-OMAP3-PM-Adding-voltage-driver-support.patch Patch59: linux-2.6.38-sr-0002-OMAP-Introduce-voltage-domain-information-in-the-hwm.patch Patch60: linux-2.6.38-sr-0003-OMAP3-PM-Adding-smartreflex-driver-support.patch Patch61: linux-2.6.38-sr-0004-OMAP3-PM-Adding-smartreflex-device-file.patch Patch62: linux-2.6.38-sr-0005-OMAP3-PM-Adding-smartreflex-hwmod-data.patch Patch63: linux-2.6.38-sr-0006-OMAP3-PM-Adding-smartreflex-class3-driver.patch Patch64: linux-2.6.38-sr-0007-OMAP3-PM-Register-TWL4030-pmic-info-with-the-voltage.patch Patch65: linux-2.6.38-sr-0008-OMAP3-PM-Adding-debug-support-to-Voltage-and-Smartre.patch Patch66: linux-2.6.38-sr-0009-OMAP3-PM-Program-correct-init-voltages-for-VDD1-and-.patch Patch67: linux-2.6-cpufreq-0010-OMAP-CPUfreq-ensure-driver-initializes-after-cpufreq.patch Patch68: linux-2.6-cpufreq-0011-OMAP-CPUfreq-ensure-policy-is-fully-initialized.patch Patch69: linux-2.6-cpufreq-0012-OMAP3-PM-CPUFreq-driver-for-OMAP3.patch Patch70: linux-2.6-cpufreq-0013-OMAP-PM-CPUFREQ-Fix-conditional-compilation.patch Patch71: linux-2.6-cpufreq-0014-cpufreq-fixup-after-new-OPP-layer-merged.patch Patch72: linux-2.6-opp-0015-omap-opp-add-OMAP3-OPP-table-data-and-common-init.patch Patch73: linux-2.6-opp-0016-OMAP3-4-OPP-make-omapx_opp_init-non-static.patch Patch74: linux-2.6-dvfs-0017-OMAP-Introduce-accessory-APIs-for-DVFS.patch Patch75: linux-2.6-dvfs-0018-OMAP-Introduce-device-specific-set-rate-and-get-rate.patch Patch76: linux-2.6-dvfs-0019-OMAP-Implement-Basic-DVFS.patch Patch77: linux-2.6-dvfs-0020-OMAP-Introduce-dependent-voltage-domain-support.patch Patch78: linux-2.6-dvfs-0021-OMAP-Introduce-device-scale-implementation.patch Patch79: linux-2.6-dvfs-0022-OMAP-Disable-Smartreflex-across-DVFS.patch Patch80: linux-2.6-dvfs-0023-OMAP3-Introduce-custom-set-rate-and-get-rate-APIs-fo.patch Patch81: linux-2.6-dvfs-0024-OMAP3-cpufreq-driver-changes-for-DVFS-support.patch Patch82: linux-2.6-dvfs-0025-OMAP3-Introduce-voltage-domain-info-in-the-hwmod-str.patch Patch83: linux-2.6-dvfs-0026-OMAP3-Add-voltage-dependency-table-for-VDD1.patch Patch84: linux-2.6-dvfs-0027-OMAP-Add-DVFS-Documentation.patch Patch85: linux-2.6-dvfs-0028-OMAP3-cpufreq-Fix-loops_per_jiffy-calculation.patch Patch86: linux-2.6-dvfs-0029-OMAP3-cpufreq-Fix-uninitialzed-freqs.new-variable.patch Patch87: linux-2.6-dvfs-0030-OMAP3-cpufreq-Use-dpll1_ck-clock-instead-of-arm_fck-.patch Patch88: linux-2.6-dvfs-0032-rx51-add-board-OPP-init-to-disable-125MHz-from-avail.patch Patch89: linux-2.6.39-0001-wl1251-enable-beacon-early-termination-while-in-powe.patch Patch90: linux-2.6.39-0002-wl1251-implement-connection-quality-monitoring.patch Patch91: linux-2.6.39-0003-wl1251-remove-wl1251_ps_set_elp-function.patch Patch92: linux-2.6.39-0004-wl1251-fix-elp_work-race-condition.patch Patch93: linux-2.6.39-0005-wl1251-Prepare-for-idle-mode-support.patch Patch94: linux-2.6.39-0006-wl1251-Add-support-for-idle-mode.patch Patch95: linux-2.6-twl4030-madc-Add-proper-regulator-handling.patch Patch96: linux-2.6-N900-musb-fix-regulator-init-at-boot.patch Patch97: linux-2.6-OMAP3-DSS-allow-board-specific-SDI-pin-muxing.patch Patch98: linux-2.6-RX-51-Set-pin-muxing-hooks-for-SDI-on-off.patch Patch99: linux-2.6-OMAP3-ISP-Add-regulator-control-for-omap34xx.patch Patch100: linux-2.6-OMAP3-RX-51-define-vdds_csib-regulator-supply.patch Patch101: linux-2.6-OMAP3-rx-51-Add-full-regulator-definitions.patch Patch102: linux-2.6-rx51-don-t-build-broken-smia-sensor-driver.patch Patch103: linux-2.6-isppreview-new-default-coeffs-for-more-ambient-indep.patch Patch104: linux-2.6-Revert-et8ek8-Call-configure_interface-when-configur.patch Patch105: linux-2.6-et8ek8-replaces-et8ek8-Call-configure_interface-when.patch Patch106: linux-2.6.39-wl1251-add-power-callback-to-wl1251_if_operations.patch Patch107: linux-2.6.39-wl1251-add-runtime-PM-support-for-SDIO.patch Patch108: linux-2.6.39-wl1251-use-wl12xx_platform_data-to-pass-data.patch Patch109: linux-2.6.39-wl1251-wl12xx_get_platform_data-returns-an-ERR_PTR.patch Patch110: linux-2.6.39-wl1251-remove-unnecessary-import.patch Patch111: linux-2.6.39-wireless-wl1251-Fix-potential-NULL-pointer-dereferen.patch Patch112: linux-2.6.39-wl1251-enable-adhoc-mode.patch Patch113: linux-2.6.39-wl1251-set-rate-index-and-preamble-flag-on-received-.patch Patch114: linux-2.6-RX-51-set-SGX-maximum-clock-rate-to-platform_data.patch Patch115: linux-2.6-drivers-media-video-smiaregs.c-downgrade-KERN_ALERT-.patch Patch116: linux-2.6-omap-rx51-Set-regulator-V28_A-always-on.patch Patch117: linux-2.6-omap-rx51-Don-t-power-up-speaker-amplifier-at-bootup.patch Patch118: linux-2.6-ASoC-tlv320aic3x-Don-t-sync-first-two-registers-from.patch Patch119: linux-2.6-ASoC-tlv320aic3x-Do-soft-reset-to-codec-when-going-t.patch Patch120: linux-2.6-tsc2005-responsibility-improvements.patch Patch121: linux-2.6.40-ARM-io-make-iounmap-a-simple-macro.patch Patch122: linux-2.6.40-OMAP-iovmm-no-gap-checking-for-fixed-address.patch Patch123: linux-2.6.40-OMAP-iovmm-add-superpages-support-to-fixed-da-addres.patch Patch124: linux-2.6.40-OMAP-iovmm-replace-__iounmap-with-iounmap.patch Patch125: linux-2.6.40-OMAP-iommu-create-new-api-to-set-valid-da-range.patch Patch126: linux-2.6.40-omap-IOMMU-add-missing-function-declaration.patch Patch127: linux-2.6.40-OMAP2-IOMMU-don-t-print-fault-warning-on-specific-la.patch Patch128: linux-2.6.40-omap-iommu-Gracefully-fail-iommu_enable-if-no-arch_i.patch Patch129: linux-2.6.40-omap-iommu-print-module-name-on-error-messages.patch Patch130: linux-2.6.40-omap-IOMMU-add-support-to-callback-during-fault-hand.patch Patch131: linux-2.6.40-omap-iovmm-disallow-mapping-NULL-address-when-IOVMF_.patch Patch132: linux-2.6.40-omap-iovmm-don-t-check-da-to-set-IOVMF_DA_FIXED-flag.patch Patch133: linux-2.6.40-arm-plat-omap-iommu-fix-request_mem_region-error-pat.patch Patch134: linux-2.6.40-omap-iommu-Return-IRQ_HANDLED-in-fault-handler-when-.patch Patch135: linux-2.6-omap3-iovmm-Work-around-sg_alloc_table-size-limitati.patch Patch136: linux-2.6-omap3-iovmm-Support-non-page-aligned-buffers-in-iomm.patch Patch137: linux-2.6.38-staging-zram-Fix-sparse-warning-Using-plain-integer-.patch Patch138: linux-2.6.38-staging-zram-fix-data-corruption-issue.patch Patch139: linux-2.6.39-Staging-zram-round-up-the-disk-size-provided-by-user.patch Patch140: linux-2.6.39-Staging-zram-make-zram_read-return-a-bio-error-if-th.patch Patch141: linux-2.6.39-Staging-zram-simplify-zram_make_request.patch Patch142: linux-2.6.39-zram-xvmalloc-free-bit-block-insertion-optimization.patch Patch143: linux-2.6.39-zram-Return-zero-d-pages-on-new-reads.patch Patch144: linux-2.6.39-Staging-zram-initialize-device-on-first-read.patch Patch145: linux-2.6.38-tty-add-active-sysfs-attribute-to-tty0-and-console-d.patch Patch146: linux-2.6.38-TTY-Add-tty-ioctl-to-figure-device-node-of-the-syste.patch Patch147: linux-2.6.37-upgrade-sgx-driver.patch Patch148: linux-2.6.37-rc3-vfs-dirty-inode.patch Patch149: linux-2.6.35-fatal-signals.patch Patch150: 000-kcflag-mno-unaligned-access.patch Patch151: 0001-mmc-Adjust-timings-for-power-ramping-up.patch Requires(post): kmod >= 9 BuildRequires: pkgconfig(ncurses) BuildRequires: u-boot-tools BuildRequires: mer-kernel-checks BuildRequires: kmod >= 9 BuildRequires: perl BuildRequires: fdupes Provides: kernel = %{kernel_version} %description Kernel for %{kernel_target_hw}. %package devel Summary: Devel files for %{kernel_target_hw} kernel Group: Development/System Requires: %{name} = %{version}-%{release} Provides: kernel-devel = %{kernel_version} %description devel Devel for %{kernel_target_hw} kernel %prep %setup -q -n linux-%{version} ##################################################################### # # Nokia N900 patches # Section maintainer: Ilkka Koskinen <ilkka.koskinen@nokia.com> # # USB # linux-2.6-usb-musb-add-mA-and-charger-sysfs-entries.patch %patch0 -p1 # linux-2.6-usb-musb-add-suspend-sysfs-entry.patch %patch1 -p1 # linux-2.6-usb-otg-add-detect_charger-field-to-otg_transceiver.patch %patch2 -p1 # linux-2.6-usb-musb-ignore-spurious-SESSREQ-interrupts.patch %patch3 -p1 # linux-2.6-usb-otg-introduce-otg_notify_event-and-otg_get_last_.patch %patch4 -p1 # PM, Clock # linux-2.6-OMAP2-3-clock-implement-clock-rate-parent-change-not.patch %patch5 -p1 # linux-2.6-PM-export-missing-symbols.patch %patch6 -p1 # Touchscreen # linux-2.6.38-input-touchscreen-introduce-tsc2005-driver.patch %patch7 -p1 # linux-2.6.38-omap-rx-51-enable-tsc2005.patch %patch8 -p1 # Bluetooth # linux-2.6-Bluetooth-Support-for-n900-bluetooth-hardware.patch %patch9 -p1 # linux-2.6-hci_h4p-Fix-module-auto-loading.patch %patch10 -p1 # linux-2.6-Bluetooth-Add-sysfs-interface-for-hci_h4p-driver-to-.patch %patch11 -p1 # AD Converter # linux-2.6-mfd-twl4030-Driver-for-twl4030-madc-module.patch %patch12 -p1 # Accelerometer # linux-2.6-omap-rx51-Platform-support-for-lis3lv02d-acceleromet.patch %patch13 -p1 # TVout, Audio, FM, # linux-2.6-ASoC-RX-51-Add-stereo-audio-output-to-AV-jack.patch %patch14 -p1 # linux-2.6-V4L-DVB-radio-si4713-Add-regulator-framework-support.patch %patch15 -p1 # linux-2.6-omap-rx51-Add-initialization-and-platform-data-for-S.patch %patch16 -p1 # linux-2.6-ASoC-RX-51-Add-support-for-FM-transmitter.patch %patch17 -p1 # linux-2.6-ASoC-RX-51-Add-aic34b_dummy-driver-only-for-the-RX-5.patch %patch18 -p1 # linux-2.6-omap-rx51-Add-second-instance-of-the-TLV320AIC34-cod.patch %patch19 -p1 # linux-2.6-ASoC-RX-51-Add-support-for-earpiece.patch %patch20 -p1 # linux-2.6-ASoC-RX-51-Add-mic-input-to-AV-jack.patch %patch21 -p1 # linux-2.6-SoC-RX-51-Add-route-for-AIC34B-generated-mic-bias.patch %patch22 -p1 # linux-2.6-ASoC-omap-rx51-Report-headset-instead-of-video-out-i.patch %patch23 -p1 # linux-2.6-enabled-vdda_dac-regulator-support-tvout-on-rx51.patch %patch24 -p1 # linux-2.6-Added-video-data-to-support-tvout-on-rx51.patch %patch25 -p1 # PM # linux-2.6-OMAP2-3-PRCM-export-cm_read_mod_reg-and-cm_write_mod.patch %patch26 -p1 # g_nokia # linux-2.6-EEM-support-for-g_nokia.patch %patch27 -p1 # Leds # linux-2.6-omap3-rx51-Platform-support-for-lp5523-led-chip.patch %patch28 -p1 # linux-2.6-38-leds-leds-lp5523-modify-the-way-of-setting-led-devic.patch %patch29 -p1 # linux-2.6-38-leds-lp5523-fix-circular-locking.patch %patch30 -p1 # Keypad # linux-2.6-N900-Set-keypad-slide-gpio-as-active-low.patch %patch31 -p1 # TWL4030 power # linux-2.6-mfd-Implement-twl4030-poweroff.patch %patch32 -p1 # linux-2.6-HACK-mfd-twl4030-power-disable-scripts.patch %patch33 -p1 # HSI, CMT # linux-2.6-HSI-CMT-patcheset-incl.-fixes-bmc-7505-bmc-9563.patch %patch34 -p1 # Charger # linux-2.6-power_supply-isp1704-patches.patch %patch35 -p1 # linux-2.6-HACK-sysfs_notify-support-for-isp1704-charger-driver.patch %patch36 -p1 # Display, 3D acceleration # linux-2.6-DSS2-patches.patch %patch37 -p1 # linux-2.6-SGX-PVR-patchset.patch %patch38 -p1 # linux-2.6-RX-51-add-SGX-platform-device.patch %patch39 -p1 # WL1251 # linux-2.6-wlan-added-netlink-support-for-wl1251-driver.patch %patch40 -p1 # Media Controller, OMAP ISP, Camera # linux-2.6-Camera-for-Meego-N900-Adaptation-kernel-2.6.37-patch.patch %patch41 -p1 # linux-2.6-omap-iommu-Compile-in-as-it-doesn-t-work-as-module.patch %patch42 -p1 # Bug fixes, misc. # linux-2.61-HSI-hsi_char-hsi_char_ioctl-compilation-warning.patch %patch43 -p1 # linux-2.6-omap-rx51-mark-reserved-memory-earlier.patch %patch44 -p1 # linux-2.6.39-omap-rx51-Add-support-for-vibra.patch %patch45 -p1 # linux-2.6-ASoC-omap-RX-51-Workaround-aic34b_dummy-to-work-with.patch %patch46 -p1 # linux-2.6-input-tsc2005-Fix-mouse-device-compatibility-issue.patch %patch47 -p1 # linux-2.6.38-wl1251-fix-queue-stopping-waking-for-TX-path.patch %patch48 -p1 # linux-2.6.38-wl1251-fix-4-byte-TX-buffer-alignment.patch %patch49 -p1 # linux-2.6.39-ASoC-omap-rx51-Enable-McBSP2-sidetone.patch %patch50 -p1 # linux-2.6-watchdog-omap-wdt-add-fine-grain-runtime-pm.patch %patch51 -p1 # linux-2.6.39-omap3-wdtimer-fix-core-idle-transition.patch %patch52 -p1 # linux-2.6-rtc-twl-Switch-to-using-threaded-irq.patch %patch53 -p1 # linux-2.6.39-RX-51-Enable-isp1704-power-on-off.patch %patch54 -p1 # linux-2.6.39-isp1704_charger-allow-board-specific-powering-routin.patch %patch55 -p1 # linux-2.6.39-bq27x00-battery-status-monitoring-backport.patch %patch56 -p1 # linux-2.6-omap-rx51-bq27x00-i2c-address.patch %patch57 -p1 # Smartreflex, cpufreq, OPP and DVFS # linux-2.6.38-sr-0001-OMAP3-PM-Adding-voltage-driver-support.patch %patch58 -p1 # linux-2.6.38-sr-0002-OMAP-Introduce-voltage-domain-information-in-the-hwm.patch %patch59 -p1 # linux-2.6.38-sr-0003-OMAP3-PM-Adding-smartreflex-driver-support.patch %patch60 -p1 # linux-2.6.38-sr-0004-OMAP3-PM-Adding-smartreflex-device-file.patch %patch61 -p1 # linux-2.6.38-sr-0005-OMAP3-PM-Adding-smartreflex-hwmod-data.patch %patch62 -p1 # linux-2.6.38-sr-0006-OMAP3-PM-Adding-smartreflex-class3-driver.patch %patch63 -p1 # linux-2.6.38-sr-0007-OMAP3-PM-Register-TWL4030-pmic-info-with-the-voltage.patch %patch64 -p1 # linux-2.6.38-sr-0008-OMAP3-PM-Adding-debug-support-to-Voltage-and-Smartre.patch %patch65 -p1 # linux-2.6.38-sr-0009-OMAP3-PM-Program-correct-init-voltages-for-VDD1-and-.patch %patch66 -p1 # linux-2.6-cpufreq-0010-OMAP-CPUfreq-ensure-driver-initializes-after-cpufreq.patch %patch67 -p1 # linux-2.6-cpufreq-0011-OMAP-CPUfreq-ensure-policy-is-fully-initialized.patch %patch68 -p1 # linux-2.6-cpufreq-0012-OMAP3-PM-CPUFreq-driver-for-OMAP3.patch %patch69 -p1 # linux-2.6-cpufreq-0013-OMAP-PM-CPUFREQ-Fix-conditional-compilation.patch %patch70 -p1 # linux-2.6-cpufreq-0014-cpufreq-fixup-after-new-OPP-layer-merged.patch %patch71 -p1 # linux-2.6-opp-0015-omap-opp-add-OMAP3-OPP-table-data-and-common-init.patch %patch72 -p1 # linux-2.6-opp-0016-OMAP3-4-OPP-make-omapx_opp_init-non-static.patch %patch73 -p1 # linux-2.6-dvfs-0017-OMAP-Introduce-accessory-APIs-for-DVFS.patch %patch74 -p1 # linux-2.6-dvfs-0018-OMAP-Introduce-device-specific-set-rate-and-get-rate.patch %patch75 -p1 # linux-2.6-dvfs-0019-OMAP-Implement-Basic-DVFS.patch %patch76 -p1 # linux-2.6-dvfs-0020-OMAP-Introduce-dependent-voltage-domain-support.patch %patch77 -p1 # linux-2.6-dvfs-0021-OMAP-Introduce-device-scale-implementation.patch %patch78 -p1 # linux-2.6-dvfs-0022-OMAP-Disable-Smartreflex-across-DVFS.patch %patch79 -p1 # linux-2.6-dvfs-0023-OMAP3-Introduce-custom-set-rate-and-get-rate-APIs-fo.patch %patch80 -p1 # linux-2.6-dvfs-0024-OMAP3-cpufreq-driver-changes-for-DVFS-support.patch %patch81 -p1 # linux-2.6-dvfs-0025-OMAP3-Introduce-voltage-domain-info-in-the-hwmod-str.patch %patch82 -p1 # linux-2.6-dvfs-0026-OMAP3-Add-voltage-dependency-table-for-VDD1.patch %patch83 -p1 # linux-2.6-dvfs-0027-OMAP-Add-DVFS-Documentation.patch %patch84 -p1 # linux-2.6-dvfs-0028-OMAP3-cpufreq-Fix-loops_per_jiffy-calculation.patch %patch85 -p1 # linux-2.6-dvfs-0029-OMAP3-cpufreq-Fix-uninitialzed-freqs.new-variable.patch %patch86 -p1 # linux-2.6-dvfs-0030-OMAP3-cpufreq-Use-dpll1_ck-clock-instead-of-arm_fck-.patch %patch87 -p1 # linux-2.6-dvfs-0032-rx51-add-board-OPP-init-to-disable-125MHz-from-avail.patch %patch88 -p1 # wl1251 idle mode # linux-2.6.39-0001-wl1251-enable-beacon-early-termination-while-in-powe.patch %patch89 -p1 # linux-2.6.39-0002-wl1251-implement-connection-quality-monitoring.patch %patch90 -p1 # linux-2.6.39-0003-wl1251-remove-wl1251_ps_set_elp-function.patch %patch91 -p1 # linux-2.6.39-0004-wl1251-fix-elp_work-race-condition.patch %patch92 -p1 # linux-2.6.39-0005-wl1251-Prepare-for-idle-mode-support.patch %patch93 -p1 # linux-2.6.39-0006-wl1251-Add-support-for-idle-mode.patch %patch94 -p1 # power savings # linux-2.6-twl4030-madc-Add-proper-regulator-handling.patch %patch95 -p1 # linux-2.6-N900-musb-fix-regulator-init-at-boot.patch %patch96 -p1 # linux-2.6-OMAP3-DSS-allow-board-specific-SDI-pin-muxing.patch %patch97 -p1 # linux-2.6-RX-51-Set-pin-muxing-hooks-for-SDI-on-off.patch %patch98 -p1 # linux-2.6-OMAP3-ISP-Add-regulator-control-for-omap34xx.patch %patch99 -p1 # linux-2.6-OMAP3-RX-51-define-vdds_csib-regulator-supply.patch %patch100 -p1 # linux-2.6-OMAP3-rx-51-Add-full-regulator-definitions.patch %patch101 -p1 # Camera hacks # linux-2.6-rx51-don-t-build-broken-smia-sensor-driver.patch %patch102 -p1 # linux-2.6-isppreview-new-default-coeffs-for-more-ambient-indep.patch %patch103 -p1 # linux-2.6-Revert-et8ek8-Call-configure_interface-when-configur.patch %patch104 -p1 # linux-2.6-et8ek8-replaces-et8ek8-Call-configure_interface-when.patch %patch105 -p1 # wlan update, ad-hoc mode etc # linux-2.6.39-wl1251-add-power-callback-to-wl1251_if_operations.patch %patch106 -p1 # linux-2.6.39-wl1251-add-runtime-PM-support-for-SDIO.patch %patch107 -p1 # linux-2.6.39-wl1251-use-wl12xx_platform_data-to-pass-data.patch %patch108 -p1 # linux-2.6.39-wl1251-wl12xx_get_platform_data-returns-an-ERR_PTR.patch %patch109 -p1 # linux-2.6.39-wl1251-remove-unnecessary-import.patch %patch110 -p1 # linux-2.6.39-wireless-wl1251-Fix-potential-NULL-pointer-dereferen.patch %patch111 -p1 # linux-2.6.39-wl1251-enable-adhoc-mode.patch %patch112 -p1 # linux-2.6.39-wl1251-set-rate-index-and-preamble-flag-on-received-.patch %patch113 -p1 # misc # linux-2.6-RX-51-set-SGX-maximum-clock-rate-to-platform_data.patch %patch114 -p1 # linux-2.6-drivers-media-video-smiaregs.c-downgrade-KERN_ALERT-.patch %patch115 -p1 # linux-2.6-omap-rx51-Set-regulator-V28_A-always-on.patch %patch116 -p1 # linux-2.6-omap-rx51-Don-t-power-up-speaker-amplifier-at-bootup.patch %patch117 -p1 # linux-2.6-ASoC-tlv320aic3x-Don-t-sync-first-two-registers-from.patch %patch118 -p1 # linux-2.6-ASoC-tlv320aic3x-Do-soft-reset-to-codec-when-going-t.patch %patch119 -p1 # linux-2.6-tsc2005-responsibility-improvements.patch %patch120 -p1 # iommu/iovmm # linux-2.6.40-ARM-io-make-iounmap-a-simple-macro.patch %patch121 -p1 # linux-2.6.40-OMAP-iovmm-no-gap-checking-for-fixed-address.patch %patch122 -p1 # linux-2.6.40-OMAP-iovmm-add-superpages-support-to-fixed-da-addres.patch %patch123 -p1 # linux-2.6.40-OMAP-iovmm-replace-__iounmap-with-iounmap.patch %patch124 -p1 # linux-2.6.40-OMAP-iommu-create-new-api-to-set-valid-da-range.patch %patch125 -p1 # linux-2.6.40-omap-IOMMU-add-missing-function-declaration.patch %patch126 -p1 # linux-2.6.40-OMAP2-IOMMU-don-t-print-fault-warning-on-specific-la.patch %patch127 -p1 # linux-2.6.40-omap-iommu-Gracefully-fail-iommu_enable-if-no-arch_i.patch %patch128 -p1 # linux-2.6.40-omap-iommu-print-module-name-on-error-messages.patch %patch129 -p1 # linux-2.6.40-omap-IOMMU-add-support-to-callback-during-fault-hand.patch %patch130 -p1 # linux-2.6.40-omap-iovmm-disallow-mapping-NULL-address-when-IOVMF_.patch %patch131 -p1 # linux-2.6.40-omap-iovmm-don-t-check-da-to-set-IOVMF_DA_FIXED-flag.patch %patch132 -p1 # linux-2.6.40-arm-plat-omap-iommu-fix-request_mem_region-error-pat.patch %patch133 -p1 # linux-2.6.40-omap-iommu-Return-IRQ_HANDLED-in-fault-handler-when-.patch %patch134 -p1 # linux-2.6-omap3-iovmm-Work-around-sg_alloc_table-size-limitati.patch %patch135 -p1 # linux-2.6-omap3-iovmm-Support-non-page-aligned-buffers-in-iomm.patch %patch136 -p1 # zram # linux-2.6.38-staging-zram-Fix-sparse-warning-Using-plain-integer-.patch %patch137 -p1 # linux-2.6.38-staging-zram-fix-data-corruption-issue.patch %patch138 -p1 # linux-2.6.39-Staging-zram-round-up-the-disk-size-provided-by-user.patch %patch139 -p1 # linux-2.6.39-Staging-zram-make-zram_read-return-a-bio-error-if-th.patch %patch140 -p1 # linux-2.6.39-Staging-zram-simplify-zram_make_request.patch %patch141 -p1 # linux-2.6.39-zram-xvmalloc-free-bit-block-insertion-optimization.patch %patch142 -p1 # linux-2.6.39-zram-Return-zero-d-pages-on-new-reads.patch %patch143 -p1 # linux-2.6.39-Staging-zram-initialize-device-on-first-read.patch %patch144 -p1 # tty changes for systemd # linux-2.6.38-tty-add-active-sysfs-attribute-to-tty0-and-console-d.patch %patch145 -p1 # linux-2.6.38-TTY-Add-tty-ioctl-to-figure-device-node-of-the-syste.patch %patch146 -p1 # SGX driver upgrade # linux-2.6.37-upgrade-sgx-driver.patch %patch147 -p1 # # End of the Nokia N900 patches # ##################################################################### ##################################################################### # # Boot time and power patches # Section maintainer: Arjan van de Ven <arjan@linux.intel.com # # # Patches to help PowerTOP # # linux-2.6.37-rc3-vfs-dirty-inode.patch %patch148 -p1 # # End of the boot time and power patches # ##################################################################### ##################################################################### # # All other patches # # turn on "print fatal signals" by default, so that we can debug /sbin/init # crashes # linux-2.6.35-fatal-signals.patch %patch149 -p1 # 000-kcflag-mno-unaligned-access.patch %patch150 -p1 # 0001-mmc-Adjust-timings-for-power-ramping-up.patch %patch151 -p1 # >> setup # This should go in the macro section # Determine the kernel arch and what we're building # kernel_arch: arm/mips/x86 (for now) .. the ARCH= for the kernel # %{lua: arch = rpm.expand("%{_arch}") if arch == "arm" or arch == "mips" then rpm.define("kernel_arch " .. arch) else rpm.define("kernel_arch x86") end -- This is the common/code name of the hardware adaptation -- Primarily used in descriptions name = rpm.expand("%{name}") pat = "kernel%-adaptation%-(.+)" start, finish, capture = string.find(name, pat) if start == nil then error("Package name "..name.." doesn't match reqired pattern "..pat) else rpm.define("kernel_target_hw " .. capture) end } cp %{SOURCE1} ./.config # make sure EXTRAVERSION says what we want it to say perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}-%{kernel_target_hw}/" Makefile # Verify this spec is using the latest template version /usr/bin/mer_verify_kernel_spec 1 --fatal-if-old # Verify the config meets the current Mer requirements /usr/bin/mer_verify_kernel_config .config echo The target hw is %{kernel_target_hw} echo The desc is %{summary} # << setup %build # >> build pre # arm/mips: uImage # others : bzImage %if 0%{?builds_uImage} make %{?jobs:-j%jobs} uImage %endif %if 0%{?builds_vmlinuz} make %{?jobs:-j%jobs} bzImage %endif make %{?jobs:-j%jobs} modules # << build pre # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # Modules # Consider : INSTALL_MOD_STRIP # set srctree and objtree here to make %{buildroot}/lib/modules/%{kernel_version_build}/{source,build} make INSTALL_MOD_PATH=%{buildroot} modules_install mkdir -p %{buildroot}/lib/modules/%{kernel_version_build}/ touch %{buildroot}/lib/modules/%{kernel_version_build}/modules.dep # /boot mkdir -p %{buildroot}/boot/ make INSTALL_PATH=%{buildroot}/boot/ install %if 0%{?builds_uImage} install -m 755 arch/%{kernel_arch}/boot/uImage %{buildroot}/boot/ %endif %if 0%{?builds_vmlinuz} install -m 755 arch/%{kernel_arch}/boot/bzImage %{buildroot}/boot/vmlinuz-%{kernel_version_build} %endif install -m 755 .config %{buildroot}/boot/config-%{kernel_version_build} install -m 755 System.map %{buildroot}/boot/ install -m 755 System.map %{buildroot}/boot/System.map-%{kernel_version_build} # And save the headers/makefiles etc for building modules against # # This all looks scary, but the end result is supposed to be: # * all arch relevant include/ files # * all Makefile/Kconfig files # * all script/ files mkdir -p %{buildroot}/%{kernel_devel_dir} # dirs for additional modules per module-init-tools, kbuild/modules.txt # first copy everything cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` %{buildroot}/%{kernel_devel_dir} cp Module.symvers %{buildroot}/%{kernel_devel_dir} cp System.map %{buildroot}/%{kernel_devel_dir} if [ -s Module.markers ]; then cp Module.markers %{buildroot}/%{kernel_devel_dir} fi # then drop all but the needed Makefiles/Kconfig files rm -rf %{buildroot}/%{kernel_devel_dir}/Documentation rm -rf %{buildroot}/%{kernel_devel_dir}/scripts rm -rf %{buildroot}/%{kernel_devel_dir}/include # Copy all scripts cp .config %{buildroot}/%{kernel_devel_dir} cp -a scripts %{buildroot}/%{kernel_devel_dir} if [ -d arch/%{kernel_arch}/scripts ]; then cp -a arch/%{kernel_arch}/scripts %{buildroot}/%{kernel_devel_dir}/arch/%{kernel_arch} fi # FIXME - what's this trying to do ... if *lds expands to multiple files the -f test will fail. if [ -f arch/%{kernel_arch}/*lds ]; then cp -a arch/%{kernel_arch}/*lds %{buildroot}/%{kernel_devel_dir}/arch/%{kernel_arch}/ fi # Clean any .o files from the 'scripts' find %{buildroot}/%{kernel_devel_dir}/scripts/ -name \*.o -print0 | xargs -0 rm -f # arch-specific include files cp -a --parents arch/%{kernel_arch}/include %{buildroot}/%{kernel_devel_dir} # arm has include files under plat- and mach- areas (x86/mips don't) %if "%{?kernel_arch}" == "arm" cp -a --parents arch/%{kernel_arch}/mach-*/include %{buildroot}/%{kernel_devel_dir} cp -a --parents arch/%{kernel_arch}/plat-*/include %{buildroot}/%{kernel_devel_dir} %endif # normal include files mkdir -p %{buildroot}/%{kernel_devel_dir}/include # copy only include/* directories cp -a $(find include -mindepth 1 -maxdepth 1 -type d) %{buildroot}/%{kernel_devel_dir}/include # Make sure the Makefile and version.h have a matching timestamp so that # external modules can be built. Also .conf touch -r %{buildroot}/%{kernel_devel_dir}/Makefile %{buildroot}/%{kernel_devel_dir}/include/linux/version.h touch -r %{buildroot}/%{kernel_devel_dir}/.config %{buildroot}/%{kernel_devel_dir}/include/linux/autoconf.h # Copy .config to include/config/auto.conf so "make prepare" is unnecessary. cp %{buildroot}/%{kernel_devel_dir}/.config %{buildroot}/%{kernel_devel_dir}/include/config/auto.conf # mark modules executable so that strip-to-file can strip them find %{buildroot}/lib/modules/%{kernel_version_build} -name "*.ko" -type f -exec chmod u+x {} \; # Hacks rm %{buildroot}/boot/vmlinux-%{kernel_version_build} find %{buildroot}%{kernel_devel_dir}/ -name '.*.cmd' -delete # << install pre # >> install post # << install post %fdupes %{buildroot}//%{_prefix}/src/kernels/%{kernel_version_build}/ %post # >> post # do we really need to call depmod in post? Isn't it called when # building kernel already if the depmod binary is available during # build time? /sbin/depmod -a # << post %files %defattr(-,root,root,-) /lib/modules/%{kernel_version_build}/* /boot/System.map-%{kernel_version_build} /boot/config-%{kernel_version_build} # >> files # do we need this? should it be versioned only for x86 /boot/System.map %if 0%{?builds_vmlinuz} /boot/vmlinuz-%{kernel_version_build} /boot/vmlinuz %endif %if 0%{?builds_uImage} /boot/uImage %endif %if 0%{?builds_firmware} /lib/firmware/* %endif # << files %files devel %defattr(-,root,root,-) /%{_prefix}/src/kernels/%{kernel_version_build}/* /%{_prefix}/src/kernels/%{kernel_version_build}/.config # >> files devel # << files devel