aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport the ubiblock patches from 3.14->3.10John Crispin2014-06-1113-0/+1754
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41120
* kernel: rootfs auto-mount on ubiJohn Crispin2014-06-115-0/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | Similar to the rootfs hacks on NOR flash devices, this series introduces support for auto-attaching (ubi device), auto-creating (ubiblock device) and mounting the "rootfs" (ubifs or squashfs) volume. This is needed so OpenWrt can start without relying on the bootloader to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but instead auto-detect the root filesystem according to a simple convention. OpenWrt-specific: 490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch 491-ubi-auto-create-ubiblock-device-for-rootfs.patch 492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch 493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch sent upstream: 552-ubifs-respect-silent-mount-flag.patch http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html v2: actually retry with MS_RDONLY when mounting read-only ubifs root Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41119
* kernel: backport ubiblock support from 3.15John Crispin2014-06-118-0/+1336
| | | | | | | | | | | | | | | | | | Backport ubiblock support from kernel 3.15 as well as all follow-up fixes related to ubiblock. Signed-off-by: Daniel Golle <daniel@makrotopia.org> create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch SVN-Revision: 41118
* atheros: fix too short msleepFelix Fietkau2014-06-101-2/+2
| | | | | | | | | | | | Use msleep(20) instead of msleep(10) to make code closer to reality since msleep can sleep for up to 20ms even we request shorter delay. All updated calls are located in PCI initialization routine which is called only once upon device boot. So there should be no performance issues caused by more longer delay. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41096
* atheros: shorten linesFelix Fietkau2014-06-1010-262/+318
| | | | | | | | Wrap lines over 80 chars or make them shorter by other ways. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41095
* atheros: constify some static structuresFelix Fietkau2014-06-103-4/+6
| | | | | | | | Constify some static structures as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41094
* atheros: avoid __FUNCTION__ usageFelix Fietkau2014-06-101-6/+6
| | | | | | | | | Use __func__ instead of gcc specific __FUNCTION__ as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41093
* atheros: trailing statements fixesFelix Fietkau2014-06-104-9/+14
| | | | | | | | | Move trailing statements to next line with indentation as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41092
* atheros: spaces fixesFelix Fietkau2014-06-109-63/+66
| | | | | | | | Add missed spaces and remove odd space as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41091
* atheros: indent fixesFelix Fietkau2014-06-105-145/+146
| | | | | | | | | Various indent fixes suggested by checkpatch: use tabs, use same level of indentation for switch and case, correct indentation levels. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41090
* atheros: fix includesFelix Fietkau2014-06-107-29/+20
| | | | | | | | | Remove some unnecessary includes and use <linux/foo.h> instead of <asm/foo.h> when it possible as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41089
* atheros: various printk(...) fixesFelix Fietkau2014-06-103-30/+33
| | | | | | | | | Use more particular functions dev_<level> or pr_<level>(...) insead of direct printk(...) call. Add KERN_LEVEL to calls what missed it. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41088
* atheros: various braces fixesFelix Fietkau2014-06-107-42/+32
| | | | | | | | | Fix braces location, remove unnecessary empty lines before or after code block, remove useless braces. All cases are detected by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41087
* atheros: do not initialize statics to 0 or falseFelix Fietkau2014-06-103-4/+4
| | | | | | | | as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41086
* atheros: remove trailing whitespaceFelix Fietkau2014-06-101-1/+1
| | | | | | | | as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41085
* atheros: do not assignment in if conditionFelix Fietkau2014-06-105-10/+13
| | | | | | | | Remove assignments from if conditions as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41084
* atheros: remove parentheses around return valuesFelix Fietkau2014-06-103-8/+8
| | | | | | | | | Remove parentheses around return values since return is no a function, as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41083
* atheros: parenthesis around complex macroses valueFelix Fietkau2014-06-102-31/+31
| | | | | | | | | Use parenthesis around complex macroses value as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41082
* atheros: various comments fixesFelix Fietkau2014-06-104-97/+74
| | | | | | | | | | Fix comment issues detected by checkpatch. Convert C99 // comments to ordinary /* ... */ comments. Correct block comments style or convert them to single line comments. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41081
* atheros: avoid CamelCaseFelix Fietkau2014-06-103-62/+63
| | | | | | | | | | Change fooBar variables names to foo_bar as suggested by checkpatch, write few tables names in lower case and correctly place __initdata keyword. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41080
* brcm47xx: merge FEATURES lines in the legacy subtargetFelix Fietkau2014-06-081-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41053
* brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargetsFelix Fietkau2014-06-081-3/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41052
* brcm47xx: activate some compiler optimizations for 74K CPUsHauke Mehrtens2014-06-074-1/+6
| | | | | | | | | | | With this patch the mips74k subtarget will be compiled with optimized compiler options to generated smaller and faster code. This currently breaks broadcom-wl, because the binary blob is only compiled with mipsr1 support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41050
* brcm47xx: move the low_mem feature flag to the legacy subtargetFelix Fietkau2014-06-072-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41049
* brcm47xx: remove old gpio and nvram interfacesHauke Mehrtens2014-06-072-188/+2
| | | | | | | | These were only used by broadcom-diag any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41048
* brcm47xx: mips74k: optimize kernel configHauke Mehrtens2014-06-071-0/+10
| | | | | | | | | This saves abount 15 kB of compressed kernel size. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41043
* bcm47xx: use eth0 for switch nameHauke Mehrtens2014-06-071-3/+3
| | | | | | | | | | | This fixes some strange problems with tg3. I assume that the Ethernet driver was not brought up if the switch was named switch0. This was reported and tested by ernesto (Faulp3lz). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41042
* brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g ↵Felix Fietkau2014-06-077-1/+90
| | | | | | | | devices like WRT54G Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41041
* brcm47xx: add mips74k subtarget for newer devicesHauke Mehrtens2014-06-056-1/+82
| | | | | | | | | | | | | All new devices (with MIPS 74K CPU) are based on BCMA SoC and have Ethernet core supported by bgmac. Create a new subtarget to generate optimized builds. This is just a beginning, further tweaks (like kernel configuration) are still possible. This decreases default root.squashfs by ~128 kB. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41025
* brcm47xx: move current target to "generic" subtargetHauke Mehrtens2014-06-0523-11/+22
| | | | | | | | | This allows creating more subtargets and optimize builds per family. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41024
* lantiq: fix eep handling patchJohn Crispin2014-06-051-1/+1
| | | | | | | | 0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41005
* imx6: kernel: update 3.14 pcie patchesLuka Perkov2014-06-044-43/+151
| | | | | | | | | Remove old irq map patch and replace it with the propper upstream patches allowing IMX6 PCIe devices behind PCIe switches to work properly. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 41004
* lantiq: ath5k fix in wifi and ethernet eeprom handling patch.John Crispin2014-06-041-0/+2
| | | | | | | | | | | | | | | ath5k fix in wifi and ethernet eeprom handling patch. Without the line that adds the patch of_ath5k_eeprom_probe cause a kernel panic, at least with the ARV4518PW. Tested only in the modem-router mentioned above. This patch is based in Bruno's hack present in patch #5454. Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com> Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com> SVN-Revision: 40999
* imx6: ventana: remove non-trunk packages from defaultsLuka Perkov2014-06-021-1/+0
| | | | | | | | | The canutils package is in the packages repo and not part of trunk, so we should not enable them by default. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40991
* imx6: ventana: add default kernel modulesLuka Perkov2014-06-021-1/+2
| | | | | | | | | | | | Add the following kernel modules by default (which are present on most Ventana baseboards): - kmod-leds-gpio (user leds) - kmod-sound-core (required as a dependency of the other sound modules) - kmod-pps-gpio (Pulse-Per-Second) Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40990
* imx6: update board names per device-tree updatesLuka Perkov2014-06-021-8/+8
| | | | | | | | | The Gateworks Ventana board names have been adjusted per upstream patches to include all IMX6 SoC variants. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40989
* imx6: update 3.14 ventana dts with upstream fixesLuka Perkov2014-06-021-28/+103
| | | | | | | | | | | | | | | | | update the Ventana DTS files with upstream fixes: - The 'model' property in the imx-audio-sgtl5000 binding specifies the user-visible name of the audio device. This should be something common and not baseboard specific. - removed obsolete crts - fix include typo: The imx6q-gw51xx needs to include imx6qdl-gw51xx.dtsi - fix gw52xx clock for sgtl5000 ananlog audio codec - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx - add LVDS backlight for Ventana - update model descriptions for all processor variants Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40988
* imx6: update 3.10 ventana dtsLuka Perkov2014-06-0211-14/+14
| | | | | | | | | | | | update the Ventana DTS files with upstream fixes: - The 'model' property in the imx-audio-sgtl5000 binding specifies the user-visible name of the audio device. This should be something common an not baseboard specific. - update model descriptions for all processor variants Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40987
* kernel: add another new config symbol for kernel 3.14Luka Perkov2014-06-021-0/+1
| | | | | | | | | It was augmented by CONFIG_USB_GADGET... Signed-off-by: Daniel Golle <daniel@makrotopia.org> Acked-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40986
* brcm47xx: enable the low-memory feature flagFelix Fietkau2014-06-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40982
* ar71xx: fix compile error in r40969, refresh patchesFelix Fietkau2014-06-0221-27/+27
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40977
* ar71xx: WNDAP360 adding wifi LED supportJohn Crispin2014-06-021-3/+4
| | | | | | | | | I added WIFI LED support (so now AP blinks nicely), I removed WPS button GPIO (as it doesn't exist) and changed GPIO for reset button. Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> SVN-Revision: 40976
* ar71xx: add profile and build image for HiWiFi HC6361.John Crispin2014-06-022-0/+37
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40975
* ar71xx: add user-space support for HiWiFi HC6361 board.John Crispin2014-06-025-0/+13
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40974
* ar71xx: add kernel support for HiWiFi HC6361.John Crispin2014-06-023-0/+155
| | | | | | | | | | | | | | | | This board manufactured by HiWiFi has the following features. - Atheros 9331 SoC. - 16MB flash and 64MB RAM. - 4GB eMMC storage via SK6226 USB 2.0 controller. - 2 LAN and 1 WAN ethernet ports with LEDs on them. - 3 blue LEDs on the front panel. - 1 button labeled as "reset". - Powered by a USB cable. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40973
* ar71xx: add support to TP-LINK TL-WA730RE v1John Crispin2014-06-023-0/+14
| | | | | | | | | | The TL-WA730RE seems to be almost identical to TL-WA701ND, just that it comes without PoE and a stock-firmware claiming the device to be a "Range Extender". Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40972
* ar71xx: fix board detection for TL-WA7510NJohn Crispin2014-06-021-1/+4
| | | | | | | | | Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c and add hardware ID to tplink_board_detect Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40971
* ar71xx: enable sysupgrade on wnr2000-v3John Crispin2014-06-021-0/+1
| | | | | | | | tested, works. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40970
* ar71xx: add support for dlink dir-615-e1John Crispin2014-06-0210-1/+29
| | | | | | | | | | | | Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be uploaded through dlink's normal firmware update web page. Add profile for dir-615-e1 so the generated image can be uploaded through the firmware update web page. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40969
* ar71xx: adjust OM2P profile for the OpenMesh OM2P-HSv2 boardJohn Crispin2014-06-021-2/+2
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40966