Commit Graph

12772 Commits (0f2c187a31b2092f0c7533228b5d682e5c1c1dbd)

Author SHA1 Message Date
Jonas Gorski 0f2c187a31 ar7: enable the low-memory feature flag
Most ar7 devices have only 16 MiB RAM, so select low_mem to give them
a chance to work.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 18:09:30 +00:00
Hauke Mehrtens 5e95f3b35b gemini: add support for kernel 3.10
This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 17:51:14 +00:00
Hauke Mehrtens 039ebc968d brcm47xx: image: legacy: take over old devices images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 17:21:37 +00:00
Hauke Mehrtens 43de876d12 brcm47xx: image: mips74k: take over some device images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 17:14:29 +00:00
Hauke Mehrtens 769e2bac54 brcm47xx: image: prepare for using mips74k subtarget
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 17:14:06 +00:00
Hauke Mehrtens ebf712921a brcm47xx: fix bcm4705 rebooting when initializing the switch.
When the Ethernet controller is powered down and someone wants to
access the mdio bus like the witch driver (b53) the system crashed if
PCI_D3hot was set before. This patch deactivates this power sawing mode
when a switch driver is in use.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 13:45:43 +00:00
Hauke Mehrtens fe902ca051 b53: hardcode reset GPIO for Linksys WRT300N 1.1
According to the thread https://forum.openwrt.org/viewtopic.php?id=48281
b53 uses GPIO 7:
[    4.470000] b53_common: [DBG] b53_switch_reset_gpio using 7
and causes device to self-reboot. GPIO 8 was found in CFE boot log:
"Reset switch via GPIO 8 ..."

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 11:40:51 +00:00
Hauke Mehrtens e759421379 cns21xx: make patch apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 23:36:05 +00:00
Hauke Mehrtens 3880f66db9 kernel: add missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 23:35:36 +00:00
Hauke Mehrtens 5760ac4599 brcm47xx: add LEDs for Netgear WNR3500L
https://dev.openwrt.org/ticket/14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 23:25:26 +00:00
Hauke Mehrtens 736bb2f1a5 brcm47xx: make it possible to unregister the adm switch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 21:35:15 +00:00
Hauke Mehrtens 776ae1250f brcm47xx: fix LEDs on WRTSL54GS
https://dev.openwrt.org/ticket/16991

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 19:40:15 +00:00
Hauke Mehrtens f31480bd0c brcm47xx: increase fallback mac addresses by one
Now the mac address is increased by two for the first fallback mac 
address. It could be that the address increased should be used for the 
wan port.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 19:36:49 +00:00
Hauke Mehrtens 41b3ae989c brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.
The address prefix 00:90:4C is used by Broadcom in their initial
configuration. When a mac address with the prefix 00:90:4C is used
all devices from the same series are sharing the same mac address.
To prevent mac address collisions we replace them with a mac address
based on the base address.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 15:04:50 +00:00
Hauke Mehrtens 8b171622cd brcm47xx: get switch name from swconfig first
Without this patch the switch config for the adm switch did not worked, 
because hey are not names eth0.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 12:15:03 +00:00
Hauke Mehrtens fd84efb169 adm6996: the GPIO interface for the adm6996l does not support switch statistics.
This patch deactivates the statistics, adds a missing lock 
initialization and fixes a waring.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 12:13:56 +00:00
John Crispin 58690d1747 ar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-04 08:28:40 +00:00
Jonas Gorski 43855fb554 brcm63xx: disable AUDIT
Reduces kernel size by about 24k (6k compressed).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-04 08:23:19 +00:00
John Crispin 96a5df0a1b ar71xx: MIPS: RC32434: fix broken PCI resource initialization
https://patchwork.linux-mips.org/patch/6940/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-04 06:33:00 +00:00
Hauke Mehrtens a287e6f91b brcm47xx: add LEDs for Asus RT-N15U and update RT-N66U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 21:41:33 +00:00
Hauke Mehrtens 0f7a9d7a21 brcm47xx: migrate basic network settings from old releases
Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 21:40:59 +00:00
Hauke Mehrtens bf1bcf5f27 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 20:22:33 +00:00
Florian Fainelli f1961ea6ec realview: set LAN interface to be in DHCP
Realview is mostly used as a QEMU development platform, which will provide a
built-in DHCP server to NAT or bridge the connection outside of the emulated
environment.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 17:19:10 +00:00
Florian Fainelli 051287907a realview: disable SWP emulation
This is not needed since our toolchain produces the expected binaries for the
target CPU.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-03 17:18:58 +00:00
Hauke Mehrtens a38320f412 brcm47xx: add CONFIG_LEDS_GPIO_REGISTER
CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 22:07:46 +00:00
Hauke Mehrtens d412d3583a brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 22:03:03 +00:00
Hauke Mehrtens 33c281b77e brcm47xx: backport BCM47XX Linksys WRT54G series patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 21:54:59 +00:00
John Crispin 5b6a47e692 kernel: disable CONFIG_IRQ_ALL_CPUS by default
this fixes the mpc85xx build error

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 18:52:36 +00:00
John Crispin 970192986d ramips: add missing rt3352 usb phy node to dts
Signed-off-by: michael <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:30 +00:00
John Crispin 292bfa7d04 ramips: fix target rt5350 only have 28 gpios
Signed-off-by: michael <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:26 +00:00
John Crispin 3fff418f14 lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files
New make target in lantiq to use UbinizeImage and SysupgradeNand.
Only enabled for BTHOMEHUBV2B for the moment but should be useable
for other lantiq nand boards.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:23 +00:00
John Crispin 6ec3299aa8 lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:33:11 +00:00
John Crispin e72b4b2291 ralink: make xhci platform depend on mt7621
this broke CONFIG_ALL builds for mt7620

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 14:32:43 +00:00
John Crispin acff7f6508 ar71xx: add missing config symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 08:00:44 +00:00
John Crispin 0940ab15dd lantiq: fix missing symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 07:43:32 +00:00
John Crispin a78345d9f5 ralink: add Wansview NCS601W IP Camera
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 07:42:44 +00:00
John Crispin 4b1bad3e63 ralink: register wifi firmware for WRTnode
After r41444 wifi working on WRTnode. Tested.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 18:17:55 +00:00
John Crispin 0c2f0bd6a8 ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite.

The new RB911L series is also supported as a result.

v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:38:30 +00:00
John Crispin aa6b558b13 lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

These drivers are not needed for ASE, Danube and AR9.
As side effect PHY11G and PHY22F firmwares are not included in the
kernel image, which saves 64 KB.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:18:38 +00:00
John Crispin 127563a4b3 ramips: set default vid of each vlan, so it won't need be set explicitly.
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:18:27 +00:00
John Crispin 5058f19e84 ramips: add WHR-1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:42 +00:00
John Crispin 54175f29c3 ramips: sync the WHR-600D flash layout with that of the vendor FW
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:38 +00:00
John Crispin 11a85aabcc ramips: add wmac to mt7620a device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:33 +00:00
John Crispin 5094a89e3c ramips: add wmac to mt7620n device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:30 +00:00
John Crispin 6f2759acdf ramips: enable wmac clock for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:25 +00:00
Imre Kaloz dda2bded33 [mvebu]: set led triggers for the Linksys WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 09:45:41 +00:00
Imre Kaloz 8dd40de149 [mvebu]: adjust default profile, and add an evalboard one
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 09:43:38 +00:00
Imre Kaloz f7eab757ae [mvebu]: drop unneeded file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 09:35:22 +00:00
Jonas Gorski 45caee0c3c brcm63xx: fix Livebox 1 support
The Livebox 1 support is currently broken. Fixed with this patch

Fixes:
- Redboot partitioning broken: fixed
- Replaced custom ephy reset with platform code
- USB code breaks the building process: fixed
- Led colors
- Removed unneded EHCI code since bcm6348 only has OHCI

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: drop unneded parts since merge, fixup to apply to current head]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 13:34:43 +00:00
Jonas Gorski e5910acf7f brcm63xx: 3.10: backport multi-board support
There have been no reported regressions, so backport it to 3.10.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-30 13:34:37 +00:00