Commit graph

30713 commits

Author SHA1 Message Date
Jonas Gorski
f0badcb769 brcm63xx: set status leds from within diag.sh
Instead of setting them up on invocation of brcm63xx_detect, set them
when calling diag.sh based.

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

SVN-Revision: 44837
2015-03-16 11:52:49 +00:00
Jonas Gorski
098377af25 brcm63xx: switch to board_name based configuration
Board IDs are not unique, so in preparation for depricating them, always
use board_name for any (default) configuration decisions.

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

SVN-Revision: 44836
2015-03-16 11:52:42 +00:00
Jonas Gorski
52ffc6faa7 brcm63xx: add missing board_ids to legacy_detect
These boards do not have a corresponding dts file yet.

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

SVN-Revision: 44835
2015-03-16 11:52:35 +00:00
Jonas Gorski
906c9ef952 brcm63xx: add device tree based board detection
Use the device tree model property for detecting the board instead
of board id from nvram if present.

Since we can now directly detect the DVA-G3810BN, we can remove the
extra check for it.

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

SVN-Revision: 44834
2015-03-16 11:52:26 +00:00
Jonas Gorski
844e92e188 brcm63xx: populate /tmp/sysinfo
Take full board name from devicetree, if present. Provide a method
for retrieving the board name.

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

SVN-Revision: 44833
2015-03-16 11:52:20 +00:00
Jonas Gorski
9c53e344c0 brcm63xx: base-files: rename board_name to board_id
Rename board_name to board_id to prepare for using board_name as a
proper name for the board.

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

SVN-Revision: 44832
2015-03-16 11:52:16 +00:00
Jonas Gorski
ca7f6d28c8 brcm63xx: Add DGND3700 v1 / DGND3800B support
This adds support for the Netgear DGND3700 v1 and DGND3800B.

DGND3700 v1 and DGND3800B are exactly the same router, only one difference,
the factory firmware. This patch produces two factory firmwares for each router.

The router includes an onboard NAND flash for extra storage. NAND is currently
not supported in bcm63xx, so no code added for this part. The NOR flash (32MB)
is enough for storing an openwrt firmware.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: Add back commit message from v1]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44831
2015-03-16 11:52:10 +00:00
Jonas Gorski
9dc137397f buildroot: make it easier to build all kmods
Split out kmods from ALL to make it easier to create local builds that
are compatible kmod-wise with releases.

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

SVN-Revision: 44830
2015-03-16 11:51:54 +00:00
John Crispin
4fdb66373f netlogic: bump to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44829
2015-03-16 10:58:43 +00:00
Felix Fietkau
298d67ec7b mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44828
2015-03-16 08:29:42 +00:00
John Crispin
d6b3eba475 kernel: add missing MTD_SPLIT_FIT_FW symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44827
2015-03-16 08:05:42 +00:00
Felix Fietkau
8733c8103b json-c: merge an upstream fix for a compiler warning (fixes #19187)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44826
2015-03-16 07:54:55 +00:00
Felix Fietkau
da91462013 cmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44825
2015-03-16 07:51:45 +00:00
John Crispin
c0a15a57bd sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44824
2015-03-16 07:41:24 +00:00
John Crispin
eb396d6569 adm5120: drop 3.8 and 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44823
2015-03-16 07:41:19 +00:00
John Crispin
46f01fec7f ar7: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44822
2015-03-16 07:41:10 +00:00
John Crispin
4d11bb0d23 ixp4xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44821
2015-03-16 07:41:05 +00:00
John Crispin
cc8b6c6d5b octeon: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44820
2015-03-16 07:40:59 +00:00
John Crispin
a992489e4b oxnas: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44819
2015-03-16 07:40:54 +00:00
John Crispin
fe33c185bd mpc85xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44818
2015-03-16 07:40:47 +00:00
John Crispin
518d9fd2a0 cns3xxx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44817
2015-03-16 07:40:41 +00:00
John Crispin
43c66cb434 au1000: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44816
2015-03-16 07:40:19 +00:00
John Crispin
fb78ebb813 ar71xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44815
2015-03-16 07:40:09 +00:00
John Crispin
de04a1d843 realview: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44814
2015-03-16 07:40:02 +00:00
John Crispin
54f1c710db malta: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44813
2015-03-16 07:39:57 +00:00
John Crispin
257671615b lantiq: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44812
2015-03-16 07:39:52 +00:00
John Crispin
7648d80c90 ralink: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44811
2015-03-16 07:39:46 +00:00
Felix Fietkau
f2f8f6974b x86: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44810
2015-03-16 07:12:31 +00:00
Felix Fietkau
9e0759ea26 x86: merge all geode based subtargets into one
Build all geode platform drivers into the kernel
Remove kmod-* packages for these drivers

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

SVN-Revision: 44809
2015-03-16 07:05:30 +00:00
Rafał Miłecki
f60113762a mac80211: include brcmfmac USB firmware only if support was enabled
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44808
2015-03-16 07:04:28 +00:00
Rafał Miłecki
190cd817b0 mac80211: add option for USB support in brcmfmac
This makes it consistent with other buses configuration.

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

SVN-Revision: 44807
2015-03-16 06:52:26 +00:00
Rafał Miłecki
e5d89ea721 mac80211: update wiki URLs
linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now

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

SVN-Revision: 44806
2015-03-16 06:39:10 +00:00
Felix Fietkau
986b8baf9a x86: remove 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44805
2015-03-16 05:57:04 +00:00
Felix Fietkau
7f7e0a21b8 kernel: remove linux 3.13 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44804
2015-03-16 05:52:02 +00:00
Felix Fietkau
f26bb532cf omap: remove old kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44803
2015-03-16 05:51:56 +00:00
Felix Fietkau
495404e9a4 omap: update to linux 3.18, it has been tested by at least one builder and 3.13 has not been built by buildbot in a long time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44802
2015-03-16 05:51:52 +00:00
Felix Fietkau
c75c90edf6 kernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44801
2015-03-16 05:16:14 +00:00
Felix Fietkau
adb6d8f93f kernel: fix duplicate use of patch number 490
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44800
2015-03-16 05:16:07 +00:00
Felix Fietkau
d6fbb77bc8 kernel: add a few missing config symbols for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44799
2015-03-16 04:47:28 +00:00
Felix Fietkau
d5b99a2d74 kernel: add missing description for GRO optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44798
2015-03-16 04:19:09 +00:00
Felix Fietkau
270bc6427b kernel: skip GRO for packets bridged to other hosts
Eliminates excessive skb copying when bridging from LAN to WLAN on
ramips.

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

SVN-Revision: 44797
2015-03-15 20:32:09 +00:00
John Crispin
6c434d5f06 rules.mk: add newline definition
To be used for stuff like $(subst $(space),$(newline),$(SOME_VAR))

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 44796
2015-03-15 19:47:46 +00:00
John Crispin
7ea781558f ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions
While the switch positions aren't explicitly labeled as on and off, we've heard
complaints about them being wrong. This patch changes the handling to match the
stock firmware.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44795
2015-03-15 19:39:47 +00:00
John Crispin
7f3013a480 ipq806x: fix AP148 boot from NOR
This patch allows AP148 to boot from NOR flash.

As we're using a FIT image as kernel (which includes kernel bin + DTB)
we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT
image and automatically split the "firmware" partition into 2 MTD parts
(kernel + rootfs).

The rootfs will then be parsed and split between rootfs + rootfs_data,
as usual.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44794
2015-03-15 19:39:41 +00:00
John Crispin
582232cd7b ipq806x: add ap148 bootargs to DT
Only one bootargs is really needed: the tty port. All the other
information will use the OpenWrt mechanisms.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44793
2015-03-15 19:39:33 +00:00
John Crispin
9a863f803e kernel: mtdsplit: add support for FIT image
If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44792
2015-03-15 19:39:27 +00:00
John Crispin
5ca2ad1063 Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.

The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

SVN-Revision: 44791
2015-03-15 19:25:48 +00:00
Felix Fietkau
ff92fe5770 mac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44790
2015-03-15 17:51:16 +00:00
Jo-Philipp Wich
eb7f470e7b netifd: dhcp: install host route to gateway (#19182)
Certain DHCP servers push a gateway outside of the assigned interface subnet,
to support those situations install a host route towards the gateway.

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

SVN-Revision: 44789
2015-03-15 14:48:18 +00:00
Jonas Gorski
085b8e0014 b53: global config is part of the management page, not the control page
It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44788
2015-03-15 14:19:28 +00:00