aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Fix environment pointer setup in ar71xx/ath79John Crispin2015-10-261-3/+19
| | | | | | | | | | | | | | | Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.: (https://dev.openwrt.org/ticket/20642). If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware init doesn't initialize environment pointer (fw_init_cmdline not called). arcs_cmdline is not initialized before calling strlcat. Signed-off-by: Ted Hess <thess@kitschensync.net> Tested-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47270
* ar71xx: add support for TP-LINK TL-WR841N/ND v10John Crispin2015-10-261-1/+8
| | | | | | | | | | The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor changes, it contains a newer revision of the QCA9533 SoC and the CPU clock is significantly higher. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 47263
* ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2John Crispin2015-10-262-12/+22
| | | | | | | | | | | | | | ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10. As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Tested-by: Felix Kaechele <felix@kaechele.ca> SVN-Revision: 47262
* ar71xx: Bitmain Antminer S1/S3 set GPIO for USB PowerJohn Crispin2015-10-262-1/+6
| | | | | | | | | Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 47261
* brcm2708: copy overlays README to boot partitionJohn Crispin2015-10-261-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47260
* brcm2708: update modulesJohn Crispin2015-10-261-3/+38
| | | | | | | | | - Add support for DAC+ Pro. - Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47259
* brcm2708: update 4.1 patchesJohn Crispin2015-10-26199-386/+5039
| | | | | | | | | As usual, this patches were taken (and rebased) from https://github.com/raspberrypi/linux/commits/rpi-4.1.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47258
* ramips: make the alsa driver register the codecJohn Crispin2015-10-261-38/+15
| | | | | | | | this allows using the codec even if it is not listed in the DTS Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47256
* rb532: prepare switch to 4.1John Crispin2015-10-264-0/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47255
* lantiq: add clk_round_rate()Hauke Mehrtens2015-10-251-0/+43
| | | | | | | | | | | | This adds a basic implementation of clk_round_rate() The clk_round_rate() function is called by multiple drivers and subsystems now and the lantiq clk driver is supposed to export this, but doesn't do so, this causes linking problems like this one: ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined! Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47254
* bcm53xx: add clk tree driverHauke Mehrtens2015-10-2510-1/+1545
| | | | | | | | | | These patches are written by Broadcom and will be in mainline Linux kernel soon. I had some problems to get them backported to kernel 4.1, so currently they are only available for 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47253
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-2526-151/+125
| | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47252
* bcm53xx: add support basic for kernel 4.3Hauke Mehrtens2015-10-2533-0/+3198
| | | | | | | | | | | The files directory is now split up into the files which are needed for every kernel version and the files only needed by kernel 4.1. The files in files-4.1 are already merged into mainline kernel 4.3. This patch only removed patches which were merged into mainline kernel 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47251
* kernel: update kernel 4.3 to version 4.3-rc7Hauke Mehrtens2015-10-2514-44/+27
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47250
* bcm53xx: add missing patch from r47248 for USB 3.0Hauke Mehrtens2015-10-231-0/+62
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47249
* bcm53xx: update USB 3.0 driver with version submitted upstreamHauke Mehrtens2015-10-236-113/+188
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47248
* bcm53xx: use Broadcom's proposed SMP implementationHauke Mehrtens2015-10-233-314/+685
| | | | | | | | | This replaces our SMP implementation with a very similar version which is Broadcom currently trying to get into mainline kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47247
* bcm53xx: Add BCM SVK DT filesHauke Mehrtens2015-10-231-0/+218
| | | | | | | | | | Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47246
* ramips: gpio-mt7621 was not handling irqs above 31 properlyJohn Crispin2015-10-201-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47238
* ar71xx: Send power to USB port on WNR2200John Crispin2015-10-191-4/+4
| | | | | | | | | | | | | This patch fixes ticket #15267 by enabling power on the WNR2200's USB port. At present, the USB port on the WNR2200 is non-functional due to it not receiving power. This patch defines an additional GPIO pin, but none of the current GPIO definitions have been modified. Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch> SVN-Revision: 47236
* ar71xx: Add Gainstrong MiniBox v1.0 support to trunkJohn Crispin2015-10-199-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supersedes the v1 from September 17th. Bumping the patch version - the MiniBox profile showed up under M, but since it's called 'Gainstrong MiniBox v1.0' now it looks out of place. Renamed the profile to gs-minibox-v1.mk to fix that. The following patch adds support for the Gainstrong MiniBox into trunk (or 'Designated Driver' :D ). Fixed items: - Inverted LED polarity (OOLITE seems to suffer from the same problem). - Changed uppercase MINIBOX_V1_ prefix as requested. - Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor). - Mention the vendor (Gainstrong) in code headers. Compiles fine, has been confirmed working by owners on 15.05. Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c, the MiniBox images build fine without, so I'm wondering: do I need to add it in there as well? Any added benefit? Thank you Signed-off by: Stijn Segers <francesco.borromini@inventati.org> SVN-Revision: 47234
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-199-40/+48
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 47221
* generic: add 8139cp fixes, enable hardware csum/tso on 4.0+John Crispin2015-10-196-0/+1416
| | | | | | | | | | | | | | | | This contains two sets of fixes for the 8139cp driver. For all kernel versions older than 4.3, we can apply the fixes from the 4.3-rc4 kernel. In particular, these fix the TX timeout recovery which is causing my Geos to lock up until the hardware watchdog kicks in. For 4.0 and later kernels, we can also apply the additional improvements which are going into 4.4 to fix and enable hardware checksum/TSO offload. Backporting those to older kernels is non-trivial. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> SVN-Revision: 47220
* oxnas: move gmac soc glue from mach to stmmac driverJohn Crispin2015-10-193-101/+197
| | | | | | | | | Still a lot of kernel-version ifdef'ery, but imho that's easy to remove once obsoleted and avoids duplicate code in the meantime. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47218
* oxnas: prepare pinctrl for kernel >=4.2John Crispin2015-10-191-0/+7
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47217
* oxnas: prepare irqchip driver for kernel >=4.2John Crispin2015-10-191-3/+20
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47216
* oxnas: fix duplicate include in clk-oxnasJohn Crispin2015-10-191-1/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47215
* oxnas: remove obsolete __cpuinitJohn Crispin2015-10-191-3/+3
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47214
* lantiq: Synchronize access to the DSL command pipeJohn Crispin2015-10-191-0/+2
| | | | | | | | | | Whenever two processes were executing different commands at the same time then one of the commands sometimes got the response of the other command. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47213
* lantiq: Print the status register whenever an error occursJohn Crispin2015-10-192-2/+6
| | | | | | | | This should help finding potential problems with the SPI driver. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47209
* lantiq: Fixed reading the number of RX FIFOs in the SPI driverJohn Crispin2015-10-192-2/+2
| | | | | | | | | | Until now the SPI driver used the TX bits for the RX FIFO. This seems uncritical for now since both are equals on my devices (VR9), but this could cause problems on other SoCs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47208
* Revert "lantiq: activate spi-xway on TDW89X0"John Crispin2015-10-191-47/+59
| | | | | | | | | | This reverts commit 68c2e4789b4f071ee75d39248f4d08fe8283eb28. commit r47159 was bad Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47207
* ramips: add alsa supportJohn Crispin2015-10-195-1/+8554
| | | | | | | | | add the SDK alsa driver. this has only been tested on mt7628/88 and wm8960. mt7620 is only compile tested. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47205
* ramips: add a baurate hackJohn Crispin2015-10-191-0/+12
| | | | | | | | | When talking to an atmel controller we need 9600 or 250000 baud. as 250000 does not exist we use 2500000. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47204
* ramips: add LinkIt Smart7688 supportJohn Crispin2015-10-198-0/+311
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47203
* brcm47xx: remove support for kernel 3.18Hauke Mehrtens2015-10-1749-5395/+0
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47199
* bcm53xx: remove support for kernel 3.18Hauke Mehrtens2015-10-1766-8335/+0
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47198
* kernel: generic: add kernel 4.3Hauke Mehrtens2015-10-11179-0/+30053
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47182
* lantiq: fix use of IRQF_DISABLED in lantiq kmodsJohn Crispin2015-10-111-4/+4
| | | | | | | | | | | | | The IRQF_DISABLED flag was removed in kernel 4.1 with commit "genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1]. Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 47180
* ar71xx: TP-LINK Archer C5 image nameJohn Crispin2015-10-111-2/+2
| | | | | | | | There are more version on market, add version number to the name. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 47179
* ar71xx/image: migrate all images based on macro TPLINKJohn Crispin2015-10-111-44/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | Includes images for rnx-n360rt tl-mr3220-v1 tl-mr3420-v1 tl-wa701n-v1 tl-wa730rev1 tl-wa7510n tl-wa801nd-v1 tl-wa830re-v1 tl-wa901nd-v1 tl-wa901nd-v2 tl-wr740n-v1 tl-wr740n-v3 tl-wr743nd-v1 tl-wr841nd-v3 tl-wr841nd-v5 tl-wr841nd-v7 tl-wr842n-v1 tl-wr941nd-v2 tl-wr941nd-v3 tl-wr941nd-v4 tl-wr1043nd-v1 SVN-Revision: 47178
* ar71xx/image: remove old build step TPLINK-LZMAJohn Crispin2015-10-111-28/+1
| | | | | | | | all boards has been migrated to the new build step Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47177
* ar71xx/image: migrate last TPLINK-LZMA images to new build systemJohn Crispin2015-10-111-4/+19
| | | | | | | | Migrate TLWR1043V2 TLWR2543 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47176
* ar71xx/image: refactor tplink-chn-v2 devicesJohn Crispin2015-10-111-29/+5
| | | | | | | | | | * use build step mktplinkfw with extra arguments * remove now unused mktplinkfw-chn-v2 * use Device/tplink Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47175
* ar71xx/image: add options argument to mktplinkfw stepJohn Crispin2015-10-111-2/+7
| | | | | | | | | Allow to pass extra arguments to mktplinkfw step. Some board requires an extra argument to create a valid image. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47174
* ar71xx/image: remove unused multiprofile definitonsJohn Crispin2015-10-111-2/+0
| | | | | | | | | These profiles covered by new image/Makefile descriptions. Only the old format uses MultiProfile macro Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 47173
* lantiq: bugfix wrong non pre-emptive crc errors outputJohn Crispin2015-10-111-1/+1
| | | | | | | | | This patch fixes a wrong non pre-emptive crc errors output of dsl_control.sh status. Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com> SVN-Revision: 47172
* brcm2708: use mmd for overlays subdirectoryJohn Crispin2015-10-111-7/+2
| | | | | | | | Fixes https://dev.openwrt.org/ticket/20704 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47171
* brcm2708: all sound overlays require i2c to workJohn Crispin2015-10-111-8/+8
| | | | | | | | Tested on RPi B+ with HiFiBerry Amp+ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47169
* imx6: fix platform checkingLuka Perkov2015-10-102-8/+8
| | | | | | | | Fix platform checking when configuring networks and when doing sysupgrade. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 47168