From 8ffb44d28592bc95e4aa235501b381f1086aecb5 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 26 Jul 2009 19:02:41 +0200 Subject: linux-kexecboot: add 2.6.29, currently only supports beagle --- .../0001-ASoC-Add-support-for-OMAP3-EVM.patch | 206 + ...es-Steve-Kipisz-USB-EHCI-support.-He-star.patch | 146 + ...add-regulator-info-to-get-the-microSD-slo.patch | 90 + ...IF_RESTORE_SIGMASK-support-and-enable-the.patch | 287 + .../0124-leds-gpio-broken-with-current-git.patch | 79 + .../linux-kexecboot-2.6.29/ads7846-detection.patch | 41 + .../beagleboard/beagle-asoc.patch | 35 + .../linux-kexecboot-2.6.29/beagleboard/defconfig | 2741 + .../linux-kexecboot-2.6.29/beagleboard/ehci.patch | 131 + .../beagleboard/logo_linux_clut224.ppm | 73147 +++++++++++++++++++ .../beagleboard/tincantools-puppy.diff | 66 + .../linux-kexecboot-2.6.29/cache-display-fix.patch | 238 + ...t-gro-Fix-legacy-path-napi_complete-crash.patch | 39 + ...002-OMAPFB-move-omapfb.h-to-include-linux.patch | 1316 + ...003-DSS2-OMAP2-3-Display-Subsystem-driver.patch | 14450 ++++ .../dss2/0004-DSS2-OMAP-framebuffer-driver.patch | 3403 + .../dss2/0005-DSS2-Add-panel-drivers.patch | 396 + .../0006-DSS2-HACK-Add-DSS2-support-for-N800.patch | 1079 + ...Add-DSS2-support-for-SDP-Beagle-Overo-EVM.patch | 5715 ++ ...unction-to-display-object-to-get-the-back.patch | 39 + .../dss2/0009-DSS2-Add-acx565akm-panel.patch | 778 + ...2-Small-VRFB-context-allocation-bug-fixed.patch | 28 + ...-Allocated-memory-for-Color-Look-up-table.patch | 37 + .../dss2/0012-DSS2-Fix-DMA-rotation.patch | 65 + .../0013-DSS2-Verify-that-overlay-paddr-0.patch | 41 + ...-Add-function-to-get-DSS-logic-clock-rate.patch | 51 + ...-DSS2-DSI-calculate-VP_CLK_RATIO-properly.patch | 68 + ...6-DSS2-DSI-improve-packet-len-calculation.patch | 58 + ...2-Disable-video-planes-on-sync-lost-error.patch | 103 + ...S2-check-for-ovl-paddr-only-when-enabling.patch | 40 + ...-fclk-limits-when-configuring-video-plane.patch | 183 + ...heck-scaling-limits-against-proper-values.patch | 79 + .../dss2/0021-DSS2-Add-venc-register-dump.patch | 96 + .../0022-DSS2-FB-remove-unused-var-warning.patch | 27 + ...the-default-FB-color-format-through-board.patch | 214 + .../dss2/0024-DSS2-Beagle-Use-gpio_set_value.patch | 48 + ...-Macro-for-calculating-base-address-of-th.patch | 28 + ...I-sidlemode-to-noidle-while-sending-frame.patch | 78 + ...2-VRFB-rotation-and-mirroring-implemented.patch | 324 + ...FB-Added-support-for-the-YUV-VRFB-rotatio.patch | 236 + ...FB-Set-line_length-correctly-for-YUV-with.patch | 61 + ..._get_trans_key-was-returning-wrong-key-ty.patch | 29 + ...2-do-bootmem-reserve-for-exclusive-access.patch | 33 + ...DSS2-Fix-DISPC_VID_FIR-value-for-omap34xx.patch | 35 + .../dss2/0033-DSS2-Prefer-3-tap-filter.patch | 82 + ...34-DSS2-VRAM-improve-omap_vram_add_region.patch | 135 + ...-the-function-pointer-for-getting-default.patch | 66 + ...-support-for-setting-and-querying-alpha-b.patch | 118 + ...2-Added-support-for-querying-color-keying.patch | 150 + ...B-Some-color-keying-pointerd-renamed-in-D.patch | 56 + ...ysfs-entry-to-for-the-alpha-blending-supp.patch | 59 + ...ded-proper-exclusion-for-destination-colo.patch | 97 + ...S2-Disable-vertical-offset-with-fieldmode.patch | 71 + ...DSS2-Don-t-enable-fieldmode-automatically.patch | 34 + ...3-DSS2-Swap-field-0-and-field-1-registers.patch | 170 + ...dd-sysfs-entry-for-seting-the-rotate-type.patch | 76 + .../0045-DSS2-Fixed-line-endings-from-to.patch | 48 + ...-DSI-decrease-sync-timeout-from-60s-to-2s.patch | 26 + ...eturn-value-for-rotate_type-sysfs-functio.patch | 44 + ...3-DMA-implement-trans-copy-and-const-fill.patch | 123 + ...9-DSS2-VRAM-clear-allocated-area-with-DMA.patch | 101 + .../0050-DSS2-OMAPFB-remove-fb-clearing-code.patch | 53 + .../0051-DSS2-VRAM-use-debugfs-not-procfs.patch | 170 + ...52-DSS2-VRAM-fix-section-mismatch-warning.patch | 34 + ...S2-disable-LCD-DIGIT-before-resetting-DSS.patch | 41 + .../dss2/0054-DSS2-DSI-more-error-handling.patch | 85 + .../0055-DSS2-Added-global-alpha-support.patch | 230 + ...ion-attrs-for-YUV-need-not-to-be-reversed.patch | 35 + ...mentation-update-for-new-sysfs-entries-in.patch | 32 + ...-touch-plane-coordinates-when-changing-fb.patch | 56 + ...-DSI-configure-ENTER-EXIT_HS_MODE_LATENCY.patch | 97 + ...-div-by-zero-when-calculating-required-fc.patch | 34 + .../dss2/0061-DSS2-VRFB-save-restore-context.patch | 106 + .../dss2/0062-DSS2-VRAM-Fix-indentation.patch | 65 + ...he-usage-of-get_last_off_on_transaction_i.patch | 82 + .../dss2/0064-VRFB-fix-debug-messages.patch | 35 + ...065-VRFB-add-suspend-resume-functionality.patch | 216 + ...2-DSI-tune-the-timings-to-be-more-relaxed.patch | 92 + ...FB-don-t-WARN-when-releasing-inactive-ctx.patch | 29 + ...-Swap-field-offset-values-w-VRFB-rotation.patch | 65 + ...3EVM-Added-DSI-powerup-and-powerdown-func.patch | 125 + .../dss2/0070-DSS2-fix-irq1.diff | 221 + .../dss2/0071-DSS2-fix-irq2.diff | 35 + .../kexecboot/linux-kexecboot-2.6.29/ehci.patch | 0 .../linux-kexecboot-2.6.29/evm-mcspi-ts.diff | 132 + .../linux-kexecboot-2.6.29/fix-audio-capture.patch | 16 + .../linux-kexecboot-2.6.29/fix-install.patch | 23 + .../fix-unaligned-access.diff | 41 + ...1-omap-iommu-tlb-and-pagetable-primitives.patch | 1226 + ...mmu-omap2-architecture-specific-functions.patch | 453 + ...map-iommu-omap3-iommu-device-registration.patch | 124 + ...u-simple-virtual-address-space-management.patch | 1083 + ...ap-iommu-entries-for-Kconfig-and-Makefile.patch | 45 + ...-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch | 26 + ...u-We-support-chained-scatterlists-probabl.patch | 24 + ...p2-iommu-entries-for-Kconfig-and-Makefile.patch | 29 + ...dd-ISP-main-driver-and-register-definitio.patch | 4625 ++ .../0002-omap3isp-Add-ISP-MMU-wrapper.patch | 209 + .../0003-omap3isp-Add-userspace-header.patch | 696 + .../0004-omap3isp-Add-ISP-frontend-CCDC.patch | 1875 + ...0005-omap3isp-Add-ISP-backend-PRV-and-RSZ.patch | 3413 + ...Add-statistics-collection-modules-H3A-and.patch | 2741 + .../0007-omap3isp-Add-CSI2-interface-support.patch | 2384 + .../omap3camera/0008-omap3isp-Add-ISP-tables.patch | 4018 + .../0009-omap34xxcam-Add-camera-driver.patch | 2249 + ...er-Basic-Resizer-refreshed-with-latest-gi.patch | 1890 + ...OMAP3-Resizer-V4L2-buf-layer-issues-fixed.patch | 729 + .../0025-OMAP3-Resizer-Build-issues-fixed.patch | 36 + .../v4l/0001-V4L2-Add-COLORFX-user-control.patch | 44 + ...f-v4l2_int_device_try_attach_all-requires.patch | 50 + .../isp/v4l/0003-V4L-Int-if-Dummy-slave.patch | 61 + ...t-device-add-support-for-VIDIOC_QUERYMENU.patch | 33 + .../0005-V4L-Int-if-Add-vidioc_int_querycap.patch | 35 + .../make-alignment-visible.diff | 26 + .../linux-kexecboot-2.6.29/mmctiming.patch | 16 + .../linux-kexecboot-2.6.29/modedb-hd720.patch | 13 + ...-USB-musb-only-turn-off-vbus-in-OTG-hosts.patch | 43 + ...B-composite-avoid-inconsistent-lock-state.patch | 76 + ...sb-NAK-timeout-scheme-on-bulk-RX-endpoint.patch | 218 + ...rewrite-host-periodic-endpoint-allocation.patch | 106 + ...isable-VUSB-regulators-when-cable-unplugg.patch | 181 + ...t-composite-device-level-suspend-resume-h.patch | 84 + ...dget-fix-ethernet-link-reports-to-ethtool.patch | 47 + ...sb-musb_host-minor-enqueue-locking-fix-v2.patch | 60 + .../0009-usb-musb_host-fix-ep0-fifo-flushing.patch | 93 + ...b-sanitize-clearing-TXCSR-DMA-bits-take-2.patch | 361 + .../0011-musb-fix-isochronous-TXDMA-take-2.patch | 417 + ...12-musb-fix-possible-panic-while-resuming.patch | 56 + ...usb_host-refactor-musb_save_toggle-take-2.patch | 91 + ...get-suppress-parasitic-TX-interrupts-with.patch | 32 + ...musb_gadget-fix-unhandled-endpoint-0-IRQs.patch | 202 + ...musb_host-factor-out-musb_ep_-get-set-_qh.patch | 146 + .../0017-musb_host-refactor-URB-giveback.patch | 132 + ...018-musb-split-out-CPPI-interrupt-handler.patch | 167 + ...9-musb_host-simplify-check-for-active-URB.patch | 158 + ...sb_host-streamline-musb_cleanup_urb-calls.patch | 58 + ...1-twl4030-usb-fix-minor-reporting-goofage.patch | 70 + ...dma-mode-1-for-TX-if-transfer-size-equals.patch | 38 + .../0023-musb-add-high-bandwidth-ISO-support.patch | 187 + .../0024-USB-otg-adding-nop-usb-transceiver.patch | 259 + ...-usb-xceiv-behave-when-linked-as-a-module.patch | 90 + ...musb-proper-hookup-to-transceiver-drivers.patch | 1109 + .../musb/0027-musb-otg-timer-cleanup.patch | 198 + ...-musb-make-initial-HNP-roleswitch-work-v2.patch | 133 + ...b-support-disconnect-after-HNP-roleswitch.patch | 145 + .../no-cortex-deadlock.patch | 77 + .../no-empty-flash-warnings.patch | 15 + .../linux-kexecboot-2.6.29/no-harry-potter.diff | 11 + .../linux-kexecboot-2.6.29/omap-2430-lcd.patch | 11 + .../linux-kexecboot-2.6.29/omap1710h3/defconfig | 1224 + .../linux-kexecboot-2.6.29/omap2420h4/defconfig | 1119 + .../linux-kexecboot-2.6.29/omap2430sdp/defconfig | 1303 + .../linux-kexecboot-2.6.29/omap3-pandora/defconfig | 2186 + .../linux-kexecboot-2.6.29/omap3evm/defconfig | 2126 + .../omap3evm/omap3evm-dss2.diff | 443 + .../omap3evm/omap3evm-lcd-redtint.diff | 66 + .../linux-kexecboot-2.6.29/omap5912osk/defconfig | 1098 + .../linux-kexecboot-2.6.29/omapzoom/defconfig | 1951 + .../linux-kexecboot-2.6.29/overo/defconfig | 2248 + .../linux-kexecboot-2.6.29/overo/ehci.patch | 113 + .../linux-kexecboot-2.6.29/read_die_ids.patch | 23 + .../linux-kexecboot-2.6.29/timer-suppression.patch | 43 + .../linux-kexecboot-2.6.29/touchscreen.patch | 22 + .../linux-kexecboot-2.6.29/usbttyfix.patch | 29 + .../linux-kexecboot-2.6.29/vfp/01-vfp-pm.patch | 128 + .../linux-kexecboot-2.6.29/vfp/02-vfp-ptrace.patch | 231 + .../vfp/03-vfp-corruption.patch | 136 + .../vfp/04-vfp-threads.patch | 98 + .../vfp/05-vfp-signal-handlers.patch | 148 + recipes/kexecboot/linux-kexecboot_2.6.29.bb | 171 + 170 files changed, 158120 insertions(+) create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/0001-ASoC-Add-support-for-OMAP3-EVM.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/0001-This-merges-Steve-Kipisz-USB-EHCI-support.-He-star.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/0124-leds-gpio-broken-with-current-git.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/ads7846-detection.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/beagle-asoc.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/ehci.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/logo_linux_clut224.ppm create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/tincantools-puppy.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/cache-display-fix.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0001-Revert-gro-Fix-legacy-path-napi_complete-crash.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0002-OMAPFB-move-omapfb.h-to-include-linux.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0003-DSS2-OMAP2-3-Display-Subsystem-driver.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0004-DSS2-OMAP-framebuffer-driver.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0005-DSS2-Add-panel-drivers.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0006-DSS2-HACK-Add-DSS2-support-for-N800.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0007-DSS2-Add-DSS2-support-for-SDP-Beagle-Overo-EVM.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0008-DSS2-Add-function-to-display-object-to-get-the-back.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0009-DSS2-Add-acx565akm-panel.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0010-DSS2-Small-VRFB-context-allocation-bug-fixed.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0011-DSS2-Allocated-memory-for-Color-Look-up-table.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0012-DSS2-Fix-DMA-rotation.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0013-DSS2-Verify-that-overlay-paddr-0.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0014-DSS2-Add-function-to-get-DSS-logic-clock-rate.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0015-DSS2-DSI-calculate-VP_CLK_RATIO-properly.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0016-DSS2-DSI-improve-packet-len-calculation.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0017-DSS2-Disable-video-planes-on-sync-lost-error.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0018-DSS2-check-for-ovl-paddr-only-when-enabling.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0019-DSS2-Check-fclk-limits-when-configuring-video-plane.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0020-DSS2-Check-scaling-limits-against-proper-values.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0021-DSS2-Add-venc-register-dump.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0022-DSS2-FB-remove-unused-var-warning.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0023-DSS2-pass-the-default-FB-color-format-through-board.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0024-DSS2-Beagle-Use-gpio_set_value.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0026-DSS2-DSI-sidlemode-to-noidle-while-sending-frame.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0027-DSS2-VRFB-rotation-and-mirroring-implemented.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0028-DSS2-OMAPFB-Added-support-for-the-YUV-VRFB-rotatio.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0029-DSS2-OMAPFB-Set-line_length-correctly-for-YUV-with.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0030-DSS2-dispc_get_trans_key-was-returning-wrong-key-ty.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0031-DSS2-do-bootmem-reserve-for-exclusive-access.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0032-DSS2-Fix-DISPC_VID_FIR-value-for-omap34xx.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0033-DSS2-Prefer-3-tap-filter.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0034-DSS2-VRAM-improve-omap_vram_add_region.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0035-DSS2-Added-the-function-pointer-for-getting-default.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0036-DSS2-Added-support-for-setting-and-querying-alpha-b.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0037-DSS2-Added-support-for-querying-color-keying.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0038-DSS2-OMAPFB-Some-color-keying-pointerd-renamed-in-D.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0040-DSS2-Provided-proper-exclusion-for-destination-colo.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0041-DSS2-Disable-vertical-offset-with-fieldmode.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0042-DSS2-Don-t-enable-fieldmode-automatically.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0043-DSS2-Swap-field-0-and-field-1-registers.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0044-DSS2-add-sysfs-entry-for-seting-the-rotate-type.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0045-DSS2-Fixed-line-endings-from-to.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0046-DSS2-DSI-decrease-sync-timeout-from-60s-to-2s.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0047-DSS2-fix-return-value-for-rotate_type-sysfs-functio.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0048-OMAP2-3-DMA-implement-trans-copy-and-const-fill.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0049-DSS2-VRAM-clear-allocated-area-with-DMA.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0051-DSS2-VRAM-use-debugfs-not-procfs.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0052-DSS2-VRAM-fix-section-mismatch-warning.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0053-DSS2-disable-LCD-DIGIT-before-resetting-DSS.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0054-DSS2-DSI-more-error-handling.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0055-DSS2-Added-global-alpha-support.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0056-DSS2-Rotation-attrs-for-YUV-need-not-to-be-reversed.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0057-DSS2-Documentation-update-for-new-sysfs-entries-in.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0058-DSS2-Don-t-touch-plane-coordinates-when-changing-fb.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0059-DSS2-DSI-configure-ENTER-EXIT_HS_MODE_LATENCY.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0060-DSS2-Avoid-div-by-zero-when-calculating-required-fc.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0061-DSS2-VRFB-save-restore-context.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0062-DSS2-VRAM-Fix-indentation.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0063-DSS2-fix-the-usage-of-get_last_off_on_transaction_i.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0064-VRFB-fix-debug-messages.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0065-VRFB-add-suspend-resume-functionality.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0066-DSS2-DSI-tune-the-timings-to-be-more-relaxed.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0067-DSS2-VRFB-don-t-WARN-when-releasing-inactive-ctx.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0068-DSS2-Swap-field-offset-values-w-VRFB-rotation.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0069-DSS2-OMAP3EVM-Added-DSI-powerup-and-powerdown-func.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0070-DSS2-fix-irq1.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/dss2/0071-DSS2-fix-irq2.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/ehci.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/evm-mcspi-ts.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/fix-audio-capture.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/fix-install.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/fix-unaligned-access.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0001-omap-iommu-tlb-and-pagetable-primitives.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0002-omap-iommu-omap2-architecture-specific-functions.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0003-omap-iommu-omap3-iommu-device-registration.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0004-omap-iommu-simple-virtual-address-space-management.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0005-omap-iommu-entries-for-Kconfig-and-Makefile.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0007-omap-iommu-We-support-chained-scatterlists-probabl.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/iommu/0008-omap2-iommu-entries-for-Kconfig-and-Makefile.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0001-omap3isp-Add-ISP-main-driver-and-register-definitio.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0002-omap3isp-Add-ISP-MMU-wrapper.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0003-omap3isp-Add-userspace-header.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0004-omap3isp-Add-ISP-frontend-CCDC.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0005-omap3isp-Add-ISP-backend-PRV-and-RSZ.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0006-omap3isp-Add-statistics-collection-modules-H3A-and.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0007-omap3isp-Add-CSI2-interface-support.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0008-omap3isp-Add-ISP-tables.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/omap3camera/0009-omap34xxcam-Add-camera-driver.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/resizer/0023-OMAP-Resizer-Basic-Resizer-refreshed-with-latest-gi.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/resizer/0024-OMAP3-Resizer-V4L2-buf-layer-issues-fixed.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/resizer/0025-OMAP3-Resizer-Build-issues-fixed.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/v4l/0002-V4L-Int-if-v4l2_int_device_try_attach_all-requires.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/v4l/0003-V4L-Int-if-Dummy-slave.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/v4l/0004-V4L-int-device-add-support-for-VIDIOC_QUERYMENU.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/isp/v4l/0005-V4L-Int-if-Add-vidioc_int_querycap.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/make-alignment-visible.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/mmctiming.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/modedb-hd720.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0001-USB-musb-only-turn-off-vbus-in-OTG-hosts.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0002-USB-composite-avoid-inconsistent-lock-state.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0003-USB-musb-NAK-timeout-scheme-on-bulk-RX-endpoint.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0004-USB-musb-rewrite-host-periodic-endpoint-allocation.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0005-USB-TWL-disable-VUSB-regulators-when-cable-unplugg.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0006-USB-gadget-composite-device-level-suspend-resume-h.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0007-usb-gadget-fix-ethernet-link-reports-to-ethtool.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0008-usb-musb_host-minor-enqueue-locking-fix-v2.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0009-usb-musb_host-fix-ep0-fifo-flushing.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0010-musb-sanitize-clearing-TXCSR-DMA-bits-take-2.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0011-musb-fix-isochronous-TXDMA-take-2.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0012-musb-fix-possible-panic-while-resuming.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0013-musb_host-refactor-musb_save_toggle-take-2.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0014-musb_gadget-suppress-parasitic-TX-interrupts-with.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0015-musb_gadget-fix-unhandled-endpoint-0-IRQs.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0016-musb_host-factor-out-musb_ep_-get-set-_qh.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0017-musb_host-refactor-URB-giveback.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0018-musb-split-out-CPPI-interrupt-handler.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0019-musb_host-simplify-check-for-active-URB.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0020-musb_host-streamline-musb_cleanup_urb-calls.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0021-twl4030-usb-fix-minor-reporting-goofage.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0022-musb-use-dma-mode-1-for-TX-if-transfer-size-equals.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0023-musb-add-high-bandwidth-ISO-support.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0024-USB-otg-adding-nop-usb-transceiver.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0025-nop-usb-xceiv-behave-when-linked-as-a-module.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0026-musb-proper-hookup-to-transceiver-drivers.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0027-musb-otg-timer-cleanup.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0028-musb-make-initial-HNP-roleswitch-work-v2.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/musb/0029-musb-support-disconnect-after-HNP-roleswitch.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/no-cortex-deadlock.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/no-empty-flash-warnings.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/no-harry-potter.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap-2430-lcd.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap1710h3/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap2420h4/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap2430sdp/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap3-pandora/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap3evm/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap3evm/omap3evm-dss2.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap3evm/omap3evm-lcd-redtint.diff create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omap5912osk/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/omapzoom/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/overo/defconfig create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/overo/ehci.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/read_die_ids.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/timer-suppression.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/usbttyfix.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/vfp/01-vfp-pm.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/vfp/02-vfp-ptrace.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/vfp/03-vfp-corruption.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/vfp/04-vfp-threads.patch create mode 100644 recipes/kexecboot/linux-kexecboot-2.6.29/vfp/05-vfp-signal-handlers.patch create mode 100644 recipes/kexecboot/linux-kexecboot_2.6.29.bb diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/0001-ASoC-Add-support-for-OMAP3-EVM.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-ASoC-Add-support-for-OMAP3-EVM.patch new file mode 100644 index 0000000000..a76e96e444 --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-ASoC-Add-support-for-OMAP3-EVM.patch @@ -0,0 +1,206 @@ +From c1dad0b6b434300ae64c902d11611c54c513ea10 Mon Sep 17 00:00:00 2001 +From: Anuj Aggarwal +Date: Fri, 21 Nov 2008 17:41:03 +0530 +Subject: [PATCH] ASoC: Add support for OMAP3 EVM + +This patch adds ALSA SoC support for OMAP3 EVM using TWL4030 audio codec. + +Signed-off-by: Anuj Aggarwal +--- + sound/soc/omap/Kconfig | 8 +++ + sound/soc/omap/Makefile | 3 +- + sound/soc/omap/omap3evm.c | 147 +++++++++++++++++++++++++++++++++++++++++++++ + 3 files changed, 157 insertions(+), 1 deletions(-) + create mode 100644 sound/soc/omap/omap3evm.c + +diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig +index 0daeee4..deb6ba9 100644 +--- a/sound/soc/omap/Kconfig ++++ b/sound/soc/omap/Kconfig +@@ -22,6 +22,14 @@ config SND_OMAP_SOC_OMAP3_BEAGLE + help + Say Y if you want to add support for SoC audio on the Beagleboard. + ++config SND_OMAP_SOC_OMAP3EVM ++ tristate "SoC Audio support for OMAP3EVM board" ++ depends on SND_OMAP_SOC && MACH_OMAP3EVM ++ select SND_OMAP_SOC_MCBSP ++ select SND_SOC_TWL4030 ++ help ++ Say Y if you want to add support for SoC audio on the omap3evm board. ++ + config SND_OMAP_SOC_OSK5912 + tristate "SoC Audio support for omap osk5912" + depends on SND_OMAP_SOC && MACH_OMAP_OSK +diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile +index 4bae404..ef31c25 100644 +--- a/sound/soc/omap/Makefile ++++ b/sound/soc/omap/Makefile +@@ -10,9 +10,10 @@ snd-soc-n810-objs := n810.o + snd-soc-omap3beagle-objs := omap3beagle.o + snd-soc-osk5912-objs := osk5912.o + snd-soc-overo-objs := overo.o ++snd-soc-omap3evm-objs := omap3evm.o + + obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o + obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o + obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o + obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o +- ++obj-$(CONFIG_MACH_OMAP3EVM) += snd-soc-omap3evm.o +diff --git a/sound/soc/omap/omap3evm.c b/sound/soc/omap/omap3evm.c +new file mode 100644 +index 0000000..570af55 +--- /dev/null ++++ b/sound/soc/omap/omap3evm.c +@@ -0,0 +1,147 @@ ++/* ++ * omap3evm.c -- ALSA SoC support for OMAP3 EVM ++ * ++ * Author: Anuj Aggarwal ++ * ++ * Based on sound/soc/omap/beagle.c by Steve Sakoman ++ * ++ * Copyright (C) 2008 Texas Instruments, Incorporated ++ * ++ * This program is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation version 2. ++ * ++ * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind, ++ * whether express or implied; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * General Public License for more details. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#include ++#include ++#include ++#include ++ ++#include "omap-mcbsp.h" ++#include "omap-pcm.h" ++#include "../codecs/twl4030.h" ++ ++static int omap3evm_hw_params(struct snd_pcm_substream *substream, ++ struct snd_pcm_hw_params *params) ++{ ++ struct snd_soc_pcm_runtime *rtd = substream->private_data; ++ struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; ++ struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; ++ int ret; ++ ++ /* Set codec DAI configuration */ ++ ret = snd_soc_dai_set_fmt(codec_dai, ++ SND_SOC_DAIFMT_I2S | ++ SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBM_CFM); ++ if (ret < 0) { ++ printk(KERN_ERR "can't set codec DAI configuration\n"); ++ return ret; ++ } ++ ++ /* Set cpu DAI configuration */ ++ ret = snd_soc_dai_set_fmt(cpu_dai, ++ SND_SOC_DAIFMT_I2S | ++ SND_SOC_DAIFMT_NB_NF | ++ SND_SOC_DAIFMT_CBM_CFM); ++ if (ret < 0) { ++ printk(KERN_ERR "can't set cpu DAI configuration\n"); ++ return ret; ++ } ++ ++ /* Set the codec system clock for DAC and ADC */ ++ ret = snd_soc_dai_set_sysclk(codec_dai, 0, 26000000, ++ SND_SOC_CLOCK_IN); ++ if (ret < 0) { ++ printk(KERN_ERR "can't set codec system clock\n"); ++ return ret; ++ } ++ ++ return 0; ++} ++ ++static struct snd_soc_ops omap3evm_ops = { ++ .hw_params = omap3evm_hw_params, ++}; ++ ++/* Digital audio interface glue - connects codec <--> CPU */ ++static struct snd_soc_dai_link omap3evm_dai = { ++ .name = "TWL4030", ++ .stream_name = "TWL4030", ++ .cpu_dai = &omap_mcbsp_dai[0], ++ .codec_dai = &twl4030_dai, ++ .ops = &omap3evm_ops, ++}; ++ ++/* Audio machine driver */ ++static struct snd_soc_machine snd_soc_machine_omap3evm = { ++ .name = "omap3evm", ++ .dai_link = &omap3evm_dai, ++ .num_links = 1, ++}; ++ ++/* Audio subsystem */ ++static struct snd_soc_device omap3evm_snd_devdata = { ++ .machine = &snd_soc_machine_omap3evm, ++ .platform = &omap_soc_platform, ++ .codec_dev = &soc_codec_dev_twl4030, ++}; ++ ++static struct platform_device *omap3evm_snd_device; ++ ++static int __init omap3evm_soc_init(void) ++{ ++ int ret; ++ ++ if (!machine_is_omap3evm()) { ++ pr_debug("Not OMAP3 EVM!\n"); ++ return -ENODEV; ++ } ++ pr_info("OMAP3 EVM SoC init\n"); ++ ++ omap3evm_snd_device = platform_device_alloc("soc-audio", -1); ++ if (!omap3evm_snd_device) { ++ printk(KERN_ERR "Platform device allocation failed\n"); ++ return -ENOMEM; ++ } ++ ++ platform_set_drvdata(omap3evm_snd_device, &omap3evm_snd_devdata); ++ omap3evm_snd_devdata.dev = &omap3evm_snd_device->dev; ++ *(unsigned int *)omap3evm_dai.cpu_dai->private_data = 1; /* McBSP2 */ ++ ++ ret = platform_device_add(omap3evm_snd_device); ++ if (ret) ++ goto err1; ++ ++ return 0; ++ ++err1: ++ printk(KERN_ERR "Unable to add platform device\n"); ++ platform_device_put(omap3evm_snd_device); ++ ++ return ret; ++} ++ ++static void __exit omap3evm_soc_exit(void) ++{ ++ platform_device_unregister(omap3evm_snd_device); ++} ++ ++module_init(omap3evm_soc_init); ++module_exit(omap3evm_soc_exit); ++ ++MODULE_AUTHOR("Anuj Aggarwal "); ++MODULE_DESCRIPTION("ALSA SoC OMAP3 EVM"); ++MODULE_LICENSE("GPL"); +-- +1.5.6.5 + diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/0001-This-merges-Steve-Kipisz-USB-EHCI-support.-He-star.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-This-merges-Steve-Kipisz-USB-EHCI-support.-He-star.patch new file mode 100644 index 0000000000..d590f8ffb9 --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-This-merges-Steve-Kipisz-USB-EHCI-support.-He-star.patch @@ -0,0 +1,146 @@ +From f8f10f496bce396416d7156da876222c6ce8c341 Mon Sep 17 00:00:00 2001 +From: Steven Kipisz +Date: Wed, 9 Jan 2009 12:01:11 -0600 +Subject: [PATCH-USB] Omap3 beagleboard: add support for EHCI in revision C1 boards + +Signed-off-by: Jason Kridner +--- + arch/arm/mach-omap2/board-omap3beagle.c | 10 +--------- + arch/arm/mach-omap2/usb-ehci.c | 4 +--- + drivers/usb/host/ehci-omap.c | 26 ++++++++++++++++++++++++++ + 3 files changed, 28 insertions(+), 12 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c +index fe97bab..de81153 100644 +--- a/arch/arm/mach-omap2/board-omap3beagle.c ++++ b/arch/arm/mach-omap2/board-omap3beagle.c +@@ -140,15 +140,7 @@ static int beagle_twl_gpio_setup(struct device *dev, + * power switch and overcurrent detect + */ + +- gpio_request(gpio + 1, "EHCI_nOC"); +- gpio_direction_input(gpio + 1); +- +- /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */ +- gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR"); +- gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1); +- +- /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */ +- gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1; ++ /* TODO: This needs to be modified to not rely on u-boot */ + + return 0; + } +diff --git a/arch/arm/mach-omap2/usb-ehci.c b/arch/arm/mach-omap2/usb-ehci.c +index 489439d..2c6305b 100644 +--- a/arch/arm/mach-omap2/usb-ehci.c ++++ b/arch/arm/mach-omap2/usb-ehci.c +@@ -152,9 +152,7 @@ static void setup_ehci_io_mux(void) + void __init usb_ehci_init(void) + { + #if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_EHCI_HCD_MODULE) +- /* Setup Pin IO MUX for EHCI */ +- if (cpu_is_omap34xx()) +- setup_ehci_io_mux(); ++ /* TODO: Setup Pin IO MUX for EHCI - moved this temporarily to U-boot */ + + if (platform_device_register(&ehci_device) < 0) { + printk(KERN_ERR "Unable to register HS-USB (EHCI) device\n"); + +diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c +index 1b3266c..8472996 100644 +--- a/drivers/usb/host/ehci-omap.c ++++ b/drivers/usb/host/ehci-omap.c +@@ -48,16 +48,26 @@ + * to get the PHY state machine in working state + */ + #define EXTERNAL_PHY_RESET ++#ifdef CONFIG_MACH_OMAP3_BEAGLE ++#define EXT_PHY_RESET_GPIO_PORT2 (147) ++#else + #define EXT_PHY_RESET_GPIO_PORT1 (57) + #define EXT_PHY_RESET_GPIO_PORT2 (61) ++#endif + #define EXT_PHY_RESET_DELAY (10) + ++#define PHY_STP_PULLUP_ENABLE (0x10) ++#define PHY_STP_PULLUP_DISABLE (0x90) ++ ++ + /* ISSUE2: + * USBHOST supports External charge pump PHYs only + * Use the VBUS from Port1 to power VBUS of Port2 externally + * So use Port2 as the working ULPI port + */ ++#ifndef CONFIG_MACH_OMAP3_BEAGLE + #define VBUS_INTERNAL_CHARGEPUMP_HACK ++#endif + + #endif /* CONFIG_OMAP_EHCI_PHY_MODE */ + +@@ -225,14 +235,43 @@ static int omap_start_ehc(struct platform_device *dev, struct usb_hcd *hcd) + + #ifdef EXTERNAL_PHY_RESET + /* Refer: ISSUE1 */ ++#ifndef CONFIG_MACH_OMAP3_BEAGLE + gpio_request(EXT_PHY_RESET_GPIO_PORT1, "USB1 PHY reset"); + gpio_direction_output(EXT_PHY_RESET_GPIO_PORT1, 0); ++#endif + gpio_request(EXT_PHY_RESET_GPIO_PORT2, "USB2 PHY reset"); + gpio_direction_output(EXT_PHY_RESET_GPIO_PORT2, 0); ++ gpio_set_value(EXT_PHY_RESET_GPIO_PORT2, 0); + /* Hold the PHY in RESET for enough time till DIR is high */ + udelay(EXT_PHY_RESET_DELAY); + #endif + ++ /* ++ * The PHY register 0x7 - Interface Control register is ++ * configured to disable the integrated STP pull-up resistor ++ * used for interface protection. ++ * ++ * May not need to be here. ++ */ ++ omap_writel((0x7 << EHCI_INSNREG05_ULPI_REGADD_SHIFT) |/* interface reg */ ++ (2 << EHCI_INSNREG05_ULPI_OPSEL_SHIFT) |/* Write */ ++ (1 << EHCI_INSNREG05_ULPI_PORTSEL_SHIFT) |/* Port1 */ ++ (1 << EHCI_INSNREG05_ULPI_CONTROL_SHIFT) |/* Start */ ++ (PHY_STP_PULLUP_DISABLE), ++ EHCI_INSNREG05_ULPI); ++ ++ while (!(omap_readl(EHCI_INSNREG05_ULPI) & (1<usbtll_fck_clk = clk_get(&dev->dev, USBHOST_TLL_FCLK); + if (IS_ERR(ehci_clocks->usbtll_fck_clk)) +@@ -307,7 +346,9 @@ static int omap_start_ehc(struct platform_device *dev, struct usb_hcd *hcd) + * Hold the PHY in RESET for enough time till PHY is settled and ready + */ + udelay(EXT_PHY_RESET_DELAY); ++#ifndef CONFIG_MACH_OMAP3_BEAGLE + gpio_set_value(EXT_PHY_RESET_GPIO_PORT1, 1); ++#endif + gpio_set_value(EXT_PHY_RESET_GPIO_PORT2, 1); + #endif + +@@ -393,7 +434,9 @@ static void omap_stop_ehc(struct platform_device *dev, struct usb_hcd *hcd) + + + #ifdef EXTERNAL_PHY_RESET ++#ifndef CONFIG_MACH_OMAP3_BEAGLE + gpio_free(EXT_PHY_RESET_GPIO_PORT1); ++#endif + gpio_free(EXT_PHY_RESET_GPIO_PORT2); + #endif + +-- +1.6.0.4.790.gaa14a diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch new file mode 100644 index 0000000000..49045f7bb1 --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch @@ -0,0 +1,90 @@ +From 7efa7cc5b807cb840c62b5bf54bf47181c9b95a6 Mon Sep 17 00:00:00 2001 +From: Koen Kooi +Date: Mon, 30 Mar 2009 15:21:37 +0200 +Subject: [PATCH v2] ARM: OMAP: board-ldp: add regulator info to get the microSD slot working again + +The ldp board was left behind when other boards got updated. The ldp info was copied from the beagleboard board file and s/beagle/ldp/g + +Changes since v1: + * dropped vsim portion since only 4 pins are hooked up + +Signed-off-by: Koen Kooi +--- + arch/arm/mach-omap2/board-ldp.c | 32 ++++++++++++++++++++++++++++++++ + 1 files changed, 32 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c +index 30926b0..19a5c15 100644 +--- a/arch/arm/mach-omap2/board-ldp.c ++++ b/arch/arm/mach-omap2/board-ldp.c +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + + #include +@@ -450,7 +451,16 @@ static struct twl4030_script *twl4030_scripts[] __initdata = { + &wrst_script, + }; + ++static const struct twl4030_resconfig ldp_resconfig[] = { ++ /* disable regulators that u-boot left enabled; the ++ * devices' drivers should be managing these. ++ */ ++ { .resource = RES_VMMC1, }, ++ { 0, }, ++}; ++ + static struct twl4030_power_data sdp3430_t2scripts_data __initdata = { ++ .resource_config = ldp_resconfig, + .scripts = twl4030_scripts, + .size = ARRAY_SIZE(twl4030_scripts), + }; +@@ -474,6 +484,25 @@ static struct twl4030_madc_platform_data ldp_madc_data = { + .irq_line = 1, + }; + ++static struct regulator_consumer_supply ldp_vmmc1_supply = { ++ .supply = "vmmc", ++}; ++ ++/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ ++static struct regulator_init_data ldp_vmmc1 = { ++ .constraints = { ++ .min_uV = 1850000, ++ .max_uV = 3150000, ++ .valid_modes_mask = REGULATOR_MODE_NORMAL ++ | REGULATOR_MODE_STANDBY, ++ .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE ++ | REGULATOR_CHANGE_MODE ++ | REGULATOR_CHANGE_STATUS, ++ }, ++ .num_consumer_supplies = 1, ++ .consumer_supplies = &ldp_vmmc1_supply, ++}; ++ + static struct twl4030_platform_data ldp_twldata = { + .irq_base = TWL4030_IRQ_BASE, + .irq_end = TWL4030_IRQ_END, +@@ -483,6 +512,7 @@ static struct twl4030_platform_data ldp_twldata = { + .madc = &ldp_madc_data, + .usb = &ldp_usb_data, + .power = &sdp3430_t2scripts_data, ++ .vmmc1 = &ldp_vmmc1, + .gpio = &ldp_gpio_data, + .keypad = &ldp_kp_twl4030_data, + }; +@@ -530,6 +560,8 @@ static void __init omap_ldp_init(void) + omap_serial_init(); + usb_musb_init(); + twl4030_mmc_init(mmc); ++ /* link regulators to MMC adapters */ ++ ldp_vmmc1_supply.dev = mmc[0].dev; + } + + static void __init omap_ldp_map_io(void) +-- +1.6.2 + diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch new file mode 100644 index 0000000000..7852f0afdb --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/0001-implement-TIF_RESTORE_SIGMASK-support-and-enable-the.patch @@ -0,0 +1,287 @@ +From 8a7643b09856f4f661403dcedbe0455b3cbeeea9 Mon Sep 17 00:00:00 2001 +From: Steven Newbury +Date: Fri, 22 May 2009 14:25:40 +0200 +Subject: [PATCH] implement TIF_RESTORE_SIGMASK support and enable the related + syscalls: + +pselect6 +ppoll +epoll_pwait + +Based on http://www.spinics.net/lists/arm-kernel/msg38114.html +--- + arch/arm/include/asm/thread_info.h | 2 + + arch/arm/include/asm/unistd.h | 7 ++- + arch/arm/kernel/calls.S | 6 +- + arch/arm/kernel/signal.c | 90 +++++++++++++++--------------------- + 4 files changed, 46 insertions(+), 59 deletions(-) + +diff --git a/arch/arm/include/asm/thread_info.h b/arch/arm/include/asm/thread_info.h +index 4f88482..2cf0917 100644 +--- a/arch/arm/include/asm/thread_info.h ++++ b/arch/arm/include/asm/thread_info.h +@@ -136,6 +136,7 @@ extern void vfp_sync_state(struct thread_info *thread); + #define TIF_SIGPENDING 0 + #define TIF_NEED_RESCHED 1 + #define TIF_SYSCALL_TRACE 8 ++#define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal */ + #define TIF_POLLING_NRFLAG 16 + #define TIF_USING_IWMMXT 17 + #define TIF_MEMDIE 18 +@@ -144,6 +145,7 @@ extern void vfp_sync_state(struct thread_info *thread); + #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) + #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) + #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) ++#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK) + #define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) + #define _TIF_USING_IWMMXT (1 << TIF_USING_IWMMXT) + #define _TIF_FREEZE (1 << TIF_FREEZE) +diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h +index 94cc58e..cd1eaa0 100644 +--- a/arch/arm/include/asm/unistd.h ++++ b/arch/arm/include/asm/unistd.h +@@ -360,8 +360,8 @@ + #define __NR_readlinkat (__NR_SYSCALL_BASE+332) + #define __NR_fchmodat (__NR_SYSCALL_BASE+333) + #define __NR_faccessat (__NR_SYSCALL_BASE+334) +- /* 335 for pselect6 */ +- /* 336 for ppoll */ ++#define __NR_pselect6 (__NR_SYSCALL_BASE+335) ++#define __NR_ppoll (__NR_SYSCALL_BASE+336) + #define __NR_unshare (__NR_SYSCALL_BASE+337) + #define __NR_set_robust_list (__NR_SYSCALL_BASE+338) + #define __NR_get_robust_list (__NR_SYSCALL_BASE+339) +@@ -372,7 +372,7 @@ + #define __NR_vmsplice (__NR_SYSCALL_BASE+343) + #define __NR_move_pages (__NR_SYSCALL_BASE+344) + #define __NR_getcpu (__NR_SYSCALL_BASE+345) +- /* 346 for epoll_pwait */ ++#define __NR_epoll_pwait (__NR_SYSCALL_BASE+346) + #define __NR_kexec_load (__NR_SYSCALL_BASE+347) + #define __NR_utimensat (__NR_SYSCALL_BASE+348) + #define __NR_signalfd (__NR_SYSCALL_BASE+349) +@@ -430,6 +430,7 @@ + #define __ARCH_WANT_SYS_SIGPENDING + #define __ARCH_WANT_SYS_SIGPROCMASK + #define __ARCH_WANT_SYS_RT_SIGACTION ++#define __ARCH_WANT_SYS_RT_SIGSUSPEND + + #if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT) + #define __ARCH_WANT_SYS_TIME +diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S +index 1680e9e..534000d 100644 +--- a/arch/arm/kernel/calls.S ++++ b/arch/arm/kernel/calls.S +@@ -344,8 +344,8 @@ + CALL(sys_readlinkat) + CALL(sys_fchmodat) + CALL(sys_faccessat) +-/* 335 */ CALL(sys_ni_syscall) /* eventually pselect6 */ +- CALL(sys_ni_syscall) /* eventually ppoll */ ++/* 335 */ CALL(sys_pselect6) ++ CALL(sys_ppoll) + CALL(sys_unshare) + CALL(sys_set_robust_list) + CALL(sys_get_robust_list) +@@ -355,7 +355,7 @@ + CALL(sys_vmsplice) + CALL(sys_move_pages) + /* 345 */ CALL(sys_getcpu) +- CALL(sys_ni_syscall) /* eventually epoll_pwait */ ++ CALL(sys_epoll_pwait) + CALL(sys_kexec_load) + CALL(sys_utimensat) + CALL(sys_signalfd) +diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c +index 80b8b5c..7645048 100644 +--- a/arch/arm/kernel/signal.c ++++ b/arch/arm/kernel/signal.c +@@ -47,57 +47,23 @@ const unsigned long sigreturn_codes[7] = { + MOV_R7_NR_RT_SIGRETURN, SWI_SYS_RT_SIGRETURN, SWI_THUMB_RT_SIGRETURN, + }; + +-static int do_signal(sigset_t *oldset, struct pt_regs * regs, int syscall); ++static void do_signal(struct pt_regs * regs, int syscall); + + /* + * atomically swap in the new signal mask, and wait for a signal. + */ +-asmlinkage int sys_sigsuspend(int restart, unsigned long oldmask, old_sigset_t mask, struct pt_regs *regs) ++asmlinkage int sys_sigsuspend(int restart, unsigned long oldmask, old_sigset_t mask) + { +- sigset_t saveset; +- + mask &= _BLOCKABLE; + spin_lock_irq(¤t->sighand->siglock); +- saveset = current->blocked; ++ current->saved_sigmask = current->blocked; + siginitset(¤t->blocked, mask); + recalc_sigpending(); + spin_unlock_irq(¤t->sighand->siglock); +- regs->ARM_r0 = -EINTR; +- +- while (1) { +- current->state = TASK_INTERRUPTIBLE; +- schedule(); +- if (do_signal(&saveset, regs, 0)) +- return regs->ARM_r0; +- } +-} +- +-asmlinkage int +-sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize, struct pt_regs *regs) +-{ +- sigset_t saveset, newset; +- +- /* XXX: Don't preclude handling different sized sigset_t's. */ +- if (sigsetsize != sizeof(sigset_t)) +- return -EINVAL; +- +- if (copy_from_user(&newset, unewset, sizeof(newset))) +- return -EFAULT; +- sigdelsetmask(&newset, ~_BLOCKABLE); +- +- spin_lock_irq(¤t->sighand->siglock); +- saveset = current->blocked; +- current->blocked = newset; +- recalc_sigpending(); +- spin_unlock_irq(¤t->sighand->siglock); +- regs->ARM_r0 = -EINTR; +- +- while (1) { +- current->state = TASK_INTERRUPTIBLE; +- schedule(); +- if (do_signal(&saveset, regs, 0)) +- return regs->ARM_r0; +- } ++ current->state = TASK_INTERRUPTIBLE; ++ schedule(); ++ set_thread_flag(TIF_RESTORE_SIGMASK); ++ return -ERESTARTNOHAND; + } + + asmlinkage int +@@ -290,7 +256,7 @@ asmlinkage int sys_sigreturn(struct pt_regs *regs) + + badframe: + force_sig(SIGSEGV, current); +- return 0; ++ return -EFAULT; + } + + asmlinkage int sys_rt_sigreturn(struct pt_regs *regs) +@@ -325,7 +291,7 @@ asmlinkage int sys_rt_sigreturn(struct pt_regs *regs) + + badframe: + force_sig(SIGSEGV, current); +- return 0; ++ return -EFAULT; + } + + static int +@@ -541,7 +507,7 @@ static inline void restart_syscall(struct pt_regs *regs) + /* + * OK, we're invoking a handler + */ +-static void ++static int + handle_signal(unsigned long sig, struct k_sigaction *ka, + siginfo_t *info, sigset_t *oldset, + struct pt_regs * regs, int syscall) +@@ -592,7 +558,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, + + if (ret != 0) { + force_sigsegv(sig, tsk); +- return; ++ return ret; + } + + /* +@@ -606,6 +572,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, + recalc_sigpending(); + spin_unlock_irq(&tsk->sighand->siglock); + ++ return ret; + } + + /* +@@ -617,11 +584,12 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, + * the kernel can handle, and then we build all the user-level signal handling + * stack-frames in one go after that. + */ +-static int do_signal(sigset_t *oldset, struct pt_regs *regs, int syscall) ++static void do_signal(struct pt_regs *regs, int syscall) + { + struct k_sigaction ka; + siginfo_t info; + int signr; ++ sigset_t *oldset; + + /* + * We want the common case to go fast, which +@@ -630,18 +598,29 @@ static int do_signal(sigset_t *oldset, struct pt_regs *regs, int syscall) + * if so. + */ + if (!user_mode(regs)) +- return 0; ++ return; + + if (try_to_freeze()) + goto no_signal; + + single_step_clear(current); + ++ if (test_thread_flag(TIF_RESTORE_SIGMASK)) ++ oldset = ¤t->saved_sigmask; ++ else ++ oldset = ¤t->blocked; ++ + signr = get_signal_to_deliver(&info, &ka, regs, NULL); + if (signr > 0) { +- handle_signal(signr, &ka, &info, oldset, regs, syscall); ++ if (handle_signal(signr, &ka, &info, oldset, regs, syscall) == 0) { ++ /* a signal was successfully delivered; the saved ++ * sigmask will have been stored in the signal frame, ++ * and will be restored by sigreturn, so we can simply ++ * clear the TIF_RESTORE_SIGMASK flag */ ++ clear_thread_flag(TIF_RESTORE_SIGMASK); ++ } + single_step_set(current); +- return 1; ++ return; + } + + no_signal: +@@ -665,7 +644,7 @@ static int do_signal(sigset_t *oldset, struct pt_regs *regs, int syscall) + usp = (u32 __user *)regs->ARM_sp; + + /* +- * Either we supports OABI only, or we have ++ * Either we support OABI only, or we have + * EABI with the OABI compat layer enabled. + * In the later case we don't know if user + * space is EABI or not, and if not we must +@@ -695,12 +674,17 @@ static int do_signal(sigset_t *oldset, struct pt_regs *regs, int syscall) + } + } + single_step_set(current); +- return 0; ++ /* if there's no signal to deliver, we just put the saved sigmask ++ back. */ ++ if (test_thread_flag(TIF_RESTORE_SIGMASK)) { ++ clear_thread_flag(TIF_RESTORE_SIGMASK); ++ sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); ++ } + } + + asmlinkage void + do_notify_resume(struct pt_regs *regs, unsigned int thread_flags, int syscall) + { +- if (thread_flags & _TIF_SIGPENDING) +- do_signal(¤t->blocked, regs, syscall); ++ if (thread_flags & (_TIF_SIGPENDING|_TIF_RESTORE_SIGMASK)) ++ do_signal(regs, syscall); + } +-- +1.6.2.4 + diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/0124-leds-gpio-broken-with-current-git.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/0124-leds-gpio-broken-with-current-git.patch new file mode 100644 index 0000000000..dc6e190e89 --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/0124-leds-gpio-broken-with-current-git.patch @@ -0,0 +1,79 @@ +From c810e850d830330cf04225a4cff8e981e153f269 Mon Sep 17 00:00:00 2001 +From: David Brownell +Date: Mon, 23 Feb 2009 14:08:14 -0800 +Subject: [PATCH 124/133] leds-gpio broken with current git? +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +On Monday 23 February 2009, David Brownell wrote: +> +> > Perhaps something broke with Tony's RC1 merge? +> > The LEDs are broken for me as well. +> +> Still works for me.  Did you maybe not enable the twl4030 +> GPIO support in Kconfig? + +Oh, and if you did *not*, please give this patch a try. +I've been meaning to test it. + +- Dave + +============== +Sometimes it's awkward to make sure that the array in the +platform_data handed to the leds-gpio driver has only valid +data ... some leds may not be always available, and coping +with that currently requires patching or rebuilding the array. + +This patch fixes that by making it be OK to pass an invalid +GPIO (such as "-EINVAL") ... such table entries are skipped. +--- + drivers/leds/leds-gpio.c | 12 +++++++++++- + 1 files changed, 11 insertions(+), 1 deletions(-) + +diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c +index b13bd29..83737e6 100644 +--- a/drivers/leds/leds-gpio.c ++++ b/drivers/leds/leds-gpio.c +@@ -90,13 +90,19 @@ static int gpio_led_probe(struct platform_device *pdev) + cur_led = &pdata->leds[i]; + led_dat = &leds_data[i]; + ++ /* skip leds that aren't available */ ++ led_dat->gpio = cur_led->gpio; ++ if (!gpio_is_valid(led_dat->gpio)) { ++ dev_dbg(&pdev->dev, "skipping %s\n", cur_led->name); ++ continue; ++ } ++ + ret = gpio_request(cur_led->gpio, cur_led->name); + if (ret < 0) + goto err; + + led_dat->cdev.name = cur_led->name; + led_dat->cdev.default_trigger = cur_led->default_trigger; +- led_dat->gpio = cur_led->gpio; + led_dat->can_sleep = gpio_cansleep(cur_led->gpio); + led_dat->active_low = cur_led->active_low; + if (pdata->gpio_blink_set) { +@@ -124,6 +130,8 @@ static int gpio_led_probe(struct platform_device *pdev) + err: + if (i > 0) { + for (i = i - 1; i >= 0; i--) { ++ if (!gpio_is_valid(leds_data[i].gpio)) ++ continue; + led_classdev_unregister(&leds_data[i].cdev); + cancel_work_sync(&leds_data[i].work); + gpio_free(leds_data[i].gpio); +@@ -144,6 +152,8 @@ static int __devexit gpio_led_remove(struct platform_device *pdev) + leds_data = platform_get_drvdata(pdev); + + for (i = 0; i < pdata->num_leds; i++) { ++ if (!gpio_is_valid(leds_data[i].gpio)) ++ continue; + led_classdev_unregister(&leds_data[i].cdev); + cancel_work_sync(&leds_data[i].work); + gpio_free(leds_data[i].gpio); +-- +1.6.0.4.790.gaa14a + diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/ads7846-detection.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/ads7846-detection.patch new file mode 100644 index 0000000000..25a1cb052c --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/ads7846-detection.patch @@ -0,0 +1,41 @@ +diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c +index 2ae5ab8..a68b0a6 100644 +--- a/drivers/input/touchscreen/ads7846.c ++++ b/drivers/input/touchscreen/ads7846.c +@@ -1154,9 +1154,16 @@ static int __devinit ads7846_probe(struct spi_device *spi) + /* take a first sample, leaving nPENIRQ active and vREF off; avoid + * the touchscreen, in case it's not connected. + */ +- (void) ads7846_read12_ser(&spi->dev, ++ err = ads7846_read12_ser(&spi->dev, + READ_12BIT_SER(vaux) | ADS_PD10_ALL_ON); + ++ /* if sample is all 0's or all 1's then there is no device on spi */ ++ if ( (err == 0x000) || (err == 0xfff)) { ++ dev_info(&spi->dev, "no device detected, test read result was 0x%08X\n", err); ++ err = -ENODEV; ++ goto err_free_irq; ++ } ++ + err = sysfs_create_group(&spi->dev.kobj, &ads784x_attr_group); + if (err) + goto err_remove_hwmon; +@@ -1174,7 +1181,7 @@ static int __devinit ads7846_probe(struct spi_device *spi) + err_free_irq: + free_irq(spi->irq, ts); + err_free_gpio: +- if (ts->gpio_pendown != -1) ++ if (!ts->get_pendown_state && ts->gpio_pendown != -1) + gpio_free(ts->gpio_pendown); + err_cleanup_filter: + if (ts->filter_cleanup) +@@ -1201,7 +1208,7 @@ static int __devexit ads7846_remove(struct spi_device *spi) + /* suspend left the IRQ disabled */ + enable_irq(ts->spi->irq); + +- if (ts->gpio_pendown != -1) ++ if (!ts->get_pendown_state && ts->gpio_pendown != -1) + gpio_free(ts->gpio_pendown); + + if (ts->filter_cleanup) + diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/beagle-asoc.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/beagle-asoc.patch new file mode 100644 index 0000000000..b2b920037e --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/beagle-asoc.patch @@ -0,0 +1,35 @@ +diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig +index 4f7f040..ccd8973 100644 +--- a/sound/soc/omap/Kconfig ++++ b/sound/soc/omap/Kconfig +@@ -55,3 +55,13 @@ config SND_OMAP_SOC_OMAP3_PANDORA + select SND_SOC_TWL4030 + help + Say Y if you want to add support for SoC audio on the OMAP3 Pandora. ++ ++config SND_OMAP_SOC_OMAP3_BEAGLE ++ tristate "SoC Audio support for OMAP3 Beagle" ++ depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP3_BEAGLE ++ select SND_OMAP_SOC_MCBSP ++ select SND_SOC_TWL4030 ++ help ++ Say Y if you want to add support for SoC audio on the Beagleboard. ++ ++ +diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile +index 76fedd9..0c9e4ac 100644 +--- a/sound/soc/omap/Makefile ++++ b/sound/soc/omap/Makefile +@@ -12,6 +12,7 @@ snd-soc-overo-objs := overo.o + snd-soc-omap2evm-objs := omap2evm.o + snd-soc-sdp3430-objs := sdp3430.o + snd-soc-omap3pandora-objs := omap3pandora.o ++snd-soc-omap3beagle-objs := omap3beagle.o + + obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o + obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o +@@ -19,3 +20,4 @@ obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o + obj-$(CONFIG_MACH_OMAP2EVM) += snd-soc-omap2evm.o + obj-$(CONFIG_SND_OMAP_SOC_SDP3430) += snd-soc-sdp3430.o + obj-$(CONFIG_SND_OMAP_SOC_OMAP3_PANDORA) += snd-soc-omap3pandora.o ++obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/defconfig b/recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/defconfig new file mode 100644 index 0000000000..7bb7f39d9f --- /dev/null +++ b/recipes/kexecboot/linux-kexecboot-2.6.29/beagleboard/defconfig @@ -0,0 +1,2741 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.29-omap1 +# Thu Jul 16 15:21:36 2009 +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +CONFIG_GENERIC_TIME=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_MMU=y +# CONFIG_NO_IOPORT is not set +CONFIG_GENERIC_HARDIRQS=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +# CONFIG_ARCH_HAS_ILOG2_U32 is not set +# CONFIG_ARCH_HAS_ILOG2_U64 is not set +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y +CONFIG_OPROFILE_ARMV7=y +CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_LOCK_KERNEL=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_LOCALVERSION="" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +# CONFIG_POSIX_MQUEUE is not set +CONFIG_BSD_PROCESS_ACCT=y +# CONFIG_BSD_PROCESS_ACCT_V3 is not set +CONFIG_TASKSTATS=y +CONFIG_TASK_DELAY_ACCT=y +CONFIG_TASK_XACCT=y +CONFIG_TASK_IO_ACCOUNTING=y +# CONFIG_AUDIT is not set + +# +# RCU Subsystem +# +CONFIG_CLASSIC_RCU=y +# CONFIG_TREE_RCU is not set +# CONFIG_PREEMPT_RCU is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_PREEMPT_RCU_TRACE is not set +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_GROUP_SCHED=y +CONFIG_FAIR_GROUP_SCHED=y +# CONFIG_RT_GROUP_SCHED is not set +CONFIG_USER_SCHED=y +# CONFIG_CGROUP_SCHED is not set +# CONFIG_CGROUPS is not set +# CONFIG_SYSFS_DEPRECATED_V2 is not set +# CONFIG_RELAY is not set +# CONFIG_NAMESPACES is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EMBEDDED=y +CONFIG_UID16=y +# CONFIG_SYSCTL_SYSCALL is not set +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +# CONFIG_ELF_CORE is not set +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_VM_EVENT_COUNTERS=y +# CONFIG_COMPAT_BRK is not set +CONFIG_SLAB=y +# CONFIG_SLUB is not set +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_TRACEPOINTS=y +# CONFIG_MARKERS is not set +CONFIG_OPROFILE=y +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +CONFIG_BLOCK=y +CONFIG_LBD=y +# CONFIG_BLK_DEV_IO_TRACE is not s