Commit Graph

30912 Commits (ac2d571b7d8bdcf6f53c6c266fb02cfb9686e65c)

Author SHA1 Message Date
John Crispin 8b5f212998 ar71xx: nbg6716: extract ath10k wifi board.bin
With help of this script the ath10k board.bin settings are loaded from
flash and saved to the ath10k firmware directory. The driver reads it
later in the boot process.

Signed-off-by: André Valentin <avalentin@marcant.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:23 +00:00
John Crispin 9de9667c6e ralink: wpa does not exist, use wpad-mini instead
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:19 +00:00
John Crispin e829dd51f4 target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:15 +00:00
John Crispin 7033111078 toolchain: only default eglibc for octeon and not all of mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:09 +00:00
Jo-Philipp Wich 2d1acf1049 firewall: fix segfault introduced by latest update
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 16:44:20 +00:00
Felix Fietkau c4eb977caf mac80211: Fix config variable name for dtim_period
The vif option dtim_period was accidently renamed dtim_interval in r38988
("netifd: add wireless configuration support and port mac80211 to the new
framework"). This is wrong and makes the dtim_period/dtim_interval a dead
option because the rest of the config generation code still uses dtim_period.

Reported-by: Jeppe Ledet-Pedersen <jlp@steinwurf.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 12:29:27 +00:00
Jo-Philipp Wich 738111041c firewall: fix regressions introduced after latest ubus rework
The commit 92281eb747b56e748b7c3d754055919c23befdd4 broke fw3_ubus_addresses() so that
no addresses where returned at all, this caused fw3 to not emit NAT reflection rules
anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 10:21:17 +00:00
Imre Kaloz ad2bc589d5 [mvebu]: enable handling of the wan led on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 10:19:06 +00:00
Felix Fietkau 50957814f4 kernel: revert an upstream linux-stable commit that is causing usb regressions on some brcm47xx and ar71xx devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-09 10:11:23 +00:00
Luka Perkov 7cb79a58a2 kernel: 3.13: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-08 23:27:45 +00:00
Luka Perkov c82bb62095 kernel: ledtrig-netdev: use netdev_notifier_info
Since kernel 3.11, the third parameter passed to notifier_call()
is of type struct netdev_notifier_info. This patch fixes an oops
when setting a netdev LED trigger.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-08 23:27:44 +00:00
Luka Perkov 1b59aa4310 kernel: update 3.14 to 3.14.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-08 22:44:34 +00:00
Jonas Gorski 5787156b55 brcm63xx: fixup patches borked by allowing too much fuzz
Move defines and board_info structs back to their proper locations so
(de-)selecting SOC support won't break the build.

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-08 12:27:55 +00:00
Felix Fietkau bbf839a3e3 qos-scripts: remove maxsize options and packet size based reclassify from the default config
They should be unnecessary with fq_codel, and simplifying rules helps
with performance

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-08 11:19:51 +00:00
Hauke Mehrtens 0f360fe477 brcm47xx: make reboot a more reliable
A reboot is issued by setting the watchdog timer to a low value, when 
the value is decreased from 1 to 0 by the hardware the system will 
reboot. Setting this value to 1 does not work every time, it is a 
little bit more reliable when setting it to 3. This timer runs with 
some MHz or KHz so nobody will notice the increased waiting.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 20:12:40 +00:00
Hauke Mehrtens 2d4fa4c68a brcm47xx: add buttons support for Netgear WNR3500L
Ticket: #14406

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 19:14:22 +00:00
Hauke Mehrtens 31b4c085ff brcm47xx: remove unneeded images from generic target
broadcom-wl now builds in the mips74k profile, so remove these chips
from the generic profile.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 17:47:24 +00:00
Hauke Mehrtens 43474360c7 broadcom-wl: assign first increased mac address to internal wifi core
When the original mac addresses are not valid assign the first one to 
the internal wifi core, this matches the manufacture mac address in 
most cases. In addition refresh the patches.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 17:38:54 +00:00
Felix Fietkau e71bcafce5 rb532: remove broken mark
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 08:52:06 +00:00
Felix Fietkau 91deae25f6 rb532: add wan interface
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 08:52:02 +00:00
Felix Fietkau ed3558cf10 rb532: fix jffs2 images
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 08:51:59 +00:00
Felix Fietkau ae1fd5f9d7 rb532: really fix squashfs images
The previous attempt (r40717) to fix squashfx made the system bootable but
overlayfs remained broken.
This enables block2mtd again using the right partition number and naming
and adds MTD_ROOTFS_SPLIT option.
However onboard rootfs partition name had to be renamed to place overlay on
CF instead of onboard NAND.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 08:51:55 +00:00
Felix Fietkau 8869e6ed86 broadcom-wl: disable mips16 support, fixes build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-07 08:29:35 +00:00
Hauke Mehrtens 0e626a5d2c kernel: do not build kernel modules by default
No config option should be set to m in the default config, because 
there is also some script needed which picks the module up into the 
image and that is missing this way. Always create a kmod when building 
a module.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 22:34:24 +00:00
Hauke Mehrtens 44d3138add mpc83xx: 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@41538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 22:23:53 +00:00
Hauke Mehrtens 7f0461a11c mpc52xx: 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@41537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 22:05:09 +00:00
Hauke Mehrtens 5c2a39bc8e au1000: 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@41534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 18:20:59 +00:00
Luka Perkov e898954fd2 kernel: update 3.14 to 3.14.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 18:10:49 +00:00
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 a8134fb250 samba36: update to minor version 3.6.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 11:23:13 +00:00
Hauke Mehrtens 1287291e35 mac80211: b43: add support for firmware 784.2
This adds firmware 784.2 for b43 as an option.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 10:58:14 +00:00
Hauke Mehrtens c697e27174 mac80211: update linux-firmware
This updates linux-firmware to version 
7f388b4885cf64d6b7833612052d20d4197af96f from 2014-06-04.
In addition it adds new firmware for Intel, Broadcom and Realtek devices.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 10:34:34 +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 7b6657b8ba broadcom-wl: improve setting leddc
Use leddc value from other routers and improve the script.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 23:24:41 +00:00
Hauke Mehrtens a91dd18ada broadcom-wl: fix led support
Some devices have an nvram setting, which make broadcom-wl turn of the 
led all the time. When the driver is switched on and we find such a 
setting we replace it with a better value.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 22:55:40 +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 dd275c5e13 broadcom-wl: fixup mac addresses.
Some series of devices are using the same mac address, which causes 
conflicts for these devices we generate a new mac address based on the 
base address. This patch adds this functionality to braodcom-wl.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 19:23:40 +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