Commit Graph

14333 Commits (6010a1cdb729aefdb1121b29b26347c664e20fff)

Author SHA1 Message Date
Luka Perkov 6de9aeee35 ar71xx: add support for tp-link wr740n v5.0 (EU)
TP-Link ships wr740n v5.0 to Romania (so probably everywhere except
China) with 4 MB flash and 32 MB memory (confirmed by their local
support). This patch adds support for the v5.0 clone of v4, i just
tested it on my own v5.0 router and it works.

Signed-off-by: Daniel Petre <daniel.petre@posteo.net>

SVN-Revision: 46115
9 years ago
Jonas Gorski bd398e1765 brcm63xx: add kernel 4.1 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46113
9 years ago
Jonas Gorski a0c49ef46f generic: add linux 4.1 support
Boot tested: http://pastebin.com/L6aAb9xj

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo:
  update to 4.1 final
  add patches added since submission
  delete patches applied in later rcs
  restore commit messages in 220-gc-sections and 304-mips_disable_fpu
  fix 050-backport_netfilter_rtcache to match new API
  update inlined dma ops with upstream changes
  add missing config symbols
  enabled CONFIG_MULTIUSER
  update kmod defintions for 4.1
]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46112
9 years ago
Rafał Miłecki 5c809ecfe7 b53: Allow using all 8 ports on BCM53011
On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000
(BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port
5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and
usually 3 of them are connected to the SoC.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46104
9 years ago
Rafał Miłecki b0cdcf4e93 bcm53xx: respect ACTIVE_LOW when powering USB using GPIO
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46088
9 years ago
Rafał Miłecki 90d425039b bcm53xx: enable USB power on Buffalo WZR-1750DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46087
9 years ago
Rafał Miłecki 0049d0ca75 bcm53xx: update SPROM driver to include just-sent patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46086
9 years ago
Rafał Miłecki 3cb077111a ramips: refresh patch with USB_MT7621_XHCI_PLATFORM
Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46085
9 years ago
Rafał Miłecki 167a2dc12e bcm53xx: enable USB power on Netgear R6250
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46083
9 years ago
Rafał Miłecki 64d3e52ad0 bcm53xx: update xHCI patch
This drops some debugging pr_info and adds platform_device_unregister.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46082
9 years ago
Rafał Miłecki 63bc66cfcd bcm53xx: fix enabling GPIO-controlled USB power
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46081
9 years ago
Rafał Miłecki b3afbe4918 bcm53xx: add xHCI support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46080
9 years ago
Rafał Miłecki 51042bc517 kernel: make USB_XHCI_PLATFORM selectable
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46079
9 years ago
Jonas Gorski 0f5b1a3eca kernel: update 4.0 to 4.0.5
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46063
9 years ago
John Crispin 2238b75285 ralink: add support for mt7621 switch counters
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>

SVN-Revision: 46050
9 years ago
John Crispin 710a17e16d ar71xx: add profile and build image for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>

SVN-Revision: 46049
9 years ago
John Crispin 1f038e0678 ar71xx: add user-space support for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>

SVN-Revision: 46048
9 years ago
John Crispin be755a99d6 ar71xx: add kernel support for EnGenius EPG5000.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>

SVN-Revision: 46047
9 years ago
John Crispin e85f3471ba ar71xx: add support for TL-WR720N-v4.
The hardware should be almost the same as TL-WR720N-v3.  WiFi and LAN networks
were tested by "Lo Yuk Fai <loyukfai@gmail.com>".  Failsafe and slider switch
were tested by "Wong min <alpha080@gmail.com>".

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 46046
9 years ago
John Crispin 8399be545a ar71xx: add support for compex wpj531
tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
erase 0x9f680000 +1
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 46045
9 years ago
John Crispin 694dd581eb ar71xx: Add Support for the Bitmain Antminer S1
This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: James Hilliard <james.hilliard1@gmail.com>

SVN-Revision: 46044
9 years ago
John Crispin cf1fb25e67 ramips: Add Support for the Linksys RE6500
This patch adds support for the Linksys RE6500 Range Extender

http://wiki.openwrt.org/toh/linksys/re6500

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 46043
9 years ago
John Crispin e26ba31f76 ramips: Add support for the D-Link DCS-930 B1
http://wiki.openwrt.org/toh/d-link/dcs-930l

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 46042
9 years ago
John Crispin 640b211b1e ramips: add support for PandoraBox PBR-M1
This patch is for PandoraBox PBR-M1 which is based on mt7621,
all the features work fine, including rtc, leds, button, usb3.0, etc.

Signed-off-by: tymon <banglang.huang@foxmail.com>

SVN-Revision: 46041
9 years ago
John Crispin 765efbf10e ramips: fix a bug in the cevt code on mt7620
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46038
9 years ago
Felix Fietkau 614678d929 ar71xx: fix hw id of tl-wr710n image (#19902)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46032
9 years ago
Felix Fietkau a5cd02aec4 ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode
Some devices ship with NAND images that use BCH ECC. Let the driver know
about that ECC mode so that it can be selected by machine files.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>

SVN-Revision: 46022
9 years ago
Felix Fietkau 6585c532bd kernel: add linux 4.0 overlayfs locking fix by Miklos Szeredi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46019
9 years ago
Jo-Philipp Wich 6f197501b7 x86/64: enable VirtIO block and console support
This is required to use x86/64 in KVM containers with VirtIO disks

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46017
9 years ago
Jonas Gorski 01796e87b1 ar71xx: rb493g: fix gpio-mdio accesses under load
It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.

Performance impact seems to be neglectable, as mdio accesses are not
that often.

Hopefully fixes #19500.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46012
9 years ago
Jonas Gorski 9a59b350b7 kernel: update 3.18 to 3.18.16
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46011
9 years ago
Felix Fietkau 48123b0ce0 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46007
9 years ago
Rafał Miłecki 351a2ec15f bcm53xx: use USB patches sent upstream by Hauke
This stabilizes USB support. The old patch was handling initialization
in a different order that was causing some problems with few USB 3.0
devices. Some weren't detected, some were working unstable, sometimes
USB 3.0 could hang the whole controller.

A still known issue (but not a regression) is controller hang triggered
by connecting USB 1.1 device when not having OHCI controller enabled
(kmod-usb-ohci).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45997
9 years ago
Felix Fietkau 42dcce7e4a kernel: add missing config symbol (#19870)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45992
9 years ago
Felix Fietkau 9e2ec0a55c ar71xx/image: move ubnt images to new BuildCode
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 45983
9 years ago
Felix Fietkau b5798e07a5 ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 45982
9 years ago
Felix Fietkau 89aadeeae4 ar71xx/image: new build step Build/mkubntimage for ubnt factory images
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 45981
9 years ago
Felix Fietkau a1b8ee0307 ar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45971
9 years ago
Felix Fietkau 4a9d726200 ar8216: Fix problem with AR8337 MAC swap handling
AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 45970
9 years ago
Felix Fietkau 061d516d43 ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M
XW image compatible with other Ubiquiti devices with similar hardware with a
Gigabit Ethernet port.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 45965
9 years ago
Felix Fietkau c41a1affb8 oxnas: change file extension of u-boot+initramfs image
The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 45963
9 years ago
Felix Fietkau 008a0ebc56 ar71xx: fix mac offset in firmware file
In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 45958
9 years ago
Felix Fietkau 28d8972c25 ar71xx: fix 100/10mbps ethernet link issues on mynet range extender
The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 45954
9 years ago
Jonas Gorski 84bfed7bd3 brcm63xx: fix A4001N image padding size
When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45945
9 years ago
Rafał Miłecki 950c0191c2 bcm53xx: update NVRAM driver to MIPS version from upstream-sfr
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45943
9 years ago
Rafał Miłecki b273bb1896 brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45942
9 years ago
Jonas Gorski 9fbd6d0ba0 b53: fix memory out of bounds access on 64 bit targets
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45938
9 years ago
Jonas Gorski d24d5412ff b53: widen stp state mask to 3 bits (instead of 2)
At least on my b53 chip, the mask is 3 bits wide, and because
of this some STP states are not set properly and discarded when read.

Maybe for some other chips it makes sense to have just 2 bits width,
but I don't have other versions around to test/validate.

If that's the case then maybe we could add another STP state mask.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45937
9 years ago
Felix Fietkau d5542640d4 ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45930
9 years ago
Rafał Miłecki a1340b5cce kernel: backport config-related bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45927
9 years ago