Commit Graph

29256 Commits

Author SHA1 Message Date
Steven Barth
016d6acde5 ntp: add hotplug class for ntp-events
Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43421
2014-11-28 11:41:25 +00:00
Florian Fainelli
d73dc14957 kernel: 3.18: Fix patch 644 dependency chain
This patch introduces some code that is compiled in whenever
CONFIG_BRIDGE_NETFILTER is built, with the code called from code compiled under
CONFIG_BRIDGE, CONFIG_BRIDGE_IGMP_SNOOPING or CONFIG_BRIDGE_NF_EBTABLES.

Unfortunately, these options aren't setting explicitly the dependency they now
have on CONFIG_BRIDGE_NETFILTER, for obvious reasons for CONFIG_BRIDGE.

However, this is not working really well when CONFIG_BRIDGE_NETFILTER is built
as a module, since code statically compiled will now use a function that is not
in the kernel image, which makes the linker grumpy.

Solve this by removing the option to build CONFIG_BRIDGE_NETFILTER as a module,
and protect our function definition by an IS_BUILTIN instead of a IS_ENABLED
macro. This fixes the issue for CONFIG_BRIDGE and CONFIG_BRIDGE_IGMP_SNOOPING.

Fixing CONFIG_BRIDGE_NF_EBTABLES has to be handled a bit differently, since it
directly references a variable that will not be declared if
CONFIG_BRIDGE_NETFILTER is not set. Protect the variable affectations by an
ifdef to make sure this doesn't happen.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43419
2014-11-28 01:29:51 +00:00
Florian Fainelli
6cc4c6a3a1 devel: import perf from oldpackages
perf was in the oldpackages repository, but it makes more sense to have
it part of the default package set since we build it from the Linux
kernel sources.

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

SVN-Revision: 43418
2014-11-28 01:29:41 +00:00
Felix Fietkau
5462e85ef1 scripts/config.sub: add back musl support that was accidentally dropped in r43353
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43417
2014-11-28 00:59:57 +00:00
Steven Barth
490a5ebe23 odhcp6c: avoid busylooping with strangely behaving dhcpv6 servers
Thanks to Dave Taht for debugging and thanks to Comcast for
shipping strangely behaving software so I can fix some corner cases.

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43415
2014-11-28 00:39:19 +00:00
Felix Fietkau
f473f95196 cns3xxx: fix PCIe->PCI bridge access (fixes #18422)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43414
2014-11-27 20:54:18 +00:00
Felix Fietkau
ceccdc4a31 mpc85xx: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43413
2014-11-27 18:26:24 +00:00
Felix Fietkau
1846efcaaf mpc85xx: refresh linux 3.14 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43412
2014-11-27 18:26:17 +00:00
Felix Fietkau
d33db91a38 mpc85xx: remove the PHY reset change patch (no longer necessary)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43411
2014-11-27 18:26:12 +00:00
Felix Fietkau
14db2826ad ar8216: suppress PHY reset for linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43410
2014-11-27 18:26:06 +00:00
Felix Fietkau
77e1a3675a kernel: backport patches for overriding PHY reset to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43409
2014-11-27 18:26:00 +00:00
Felix Fietkau
22b42b4233 mac80211: update regdb to master-2014-11-18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43408
2014-11-27 17:26:06 +00:00
Felix Fietkau
4aa07d4028 mt76: fix a compile error on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43407
2014-11-27 16:35:23 +00:00
Felix Fietkau
ca2d0c15cc cns3xxx: add experimental 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43406
2014-11-27 16:24:32 +00:00
Felix Fietkau
a03b522bd6 kernel: add missing KEEP() statements for gc-sections patch in 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43405
2014-11-27 16:24:25 +00:00
Felix Fietkau
1f5987c5d3 kernel: keep __bug_table with gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43404
2014-11-27 15:02:11 +00:00
Felix Fietkau
d57b64dfb0 cns3xxx: fix pcie root bridge topology
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43403
2014-11-27 15:02:05 +00:00
Felix Fietkau
40e8649947 firmware-utils: remove dependency on error.h in tplink-safeloader
Fixes build on Mac OS X

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

SVN-Revision: 43402
2014-11-27 15:01:56 +00:00
Imre Kaloz
974f286261 add D-link DGL-5500 A1 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43401
2014-11-27 14:27:34 +00:00
Steven Barth
200c30b426 netifd: correctly handle source-parameter for IPv4 routes
Thanks to Kristian Evensen

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43400
2014-11-27 07:26:10 +00:00
Felix Fietkau
d0e4f71b9a cns3xxx: add missing dma mask for ethernet device
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43399
2014-11-26 18:48:05 +00:00
Felix Fietkau
ebf6331c10 cns3xxx: switch to using the upstream dwc2 driver instead of dwc_otg
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43398
2014-11-26 18:01:38 +00:00
Felix Fietkau
211669da3b cns3xxx: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43397
2014-11-26 18:01:29 +00:00
Felix Fietkau
0525ffa4c5 cns3xxx: remove bogus image added in r38703
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43396
2014-11-26 18:01:18 +00:00
Felix Fietkau
8c136e6b56 cns3xxx: set base device for ethernet port netdevs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43395
2014-11-26 18:01:07 +00:00
Felix Fietkau
365cf9d10c cns3xxx: fix passing the device to dma mapping ops
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43394
2014-11-26 18:00:52 +00:00
Imre Kaloz
7f6c05d97e fix the r6100's wan led name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43393
2014-11-26 11:38:59 +00:00
John Crispin
a91b2eb5f4 uboot-omap: add C4 revision in findfdt
fixes BeagleBoard C4 detection

error message in serial console was:
"WARNING: Could not determine device tree to use"

change is found in upstream u-boot

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 43392
2014-11-26 09:00:56 +00:00
John Crispin
8dfb87bebc kirkwood: Add support for Iomega StorCenter ix2-200
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43391
2014-11-26 09:00:48 +00:00
John Crispin
de49133a8b uboot-envtools: add support for oxnas target
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43390
2014-11-26 09:00:40 +00:00
John Crispin
c05048b0bb add uboot-oxnas
This adds support for the oxnas target in U-Boot 2014.04
History can be found at https://github.com/kref/u-boot-oxnas up to 2013.10
changes from 2013.10 to 2014.04 can be followed at
https://gitorious.org/openwrt-oxnas

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

SVN-Revision: 43389
2014-11-26 09:00:17 +00:00
John Crispin
72b58f2eb1 add new target 'oxnas'
This is the oxnas target previously developed at
http://gitorious.org/openwrt-oxnas
Basically, this consolidates the changes and addtionas from
http://github.org/kref/linux-oxnas
into a new OpenWrt hardware target 'oxnas' adding support for
 PLX Technology NAS7820/NAS7821/NAS7825/...
formally known as
 Oxford Semiconductor OXE810SE/OXE815/OX820/...

For now there are 4 supported boards:
Cloud Engines Pogoplug V3 (without PCIe)
 fully supported

Cloud Engines Pogoplug Pro (with PCIe)
 fully supported

MitraStar STG-212
 aka ZyXEL NSA-212,
 aka Medion Akoya P89625 / P89636 / P89626 / P89630,
 aka Medion MD 86407 / MD 86805 / MD 86517 / MD 86587
 fully supported, see http://wiki.openwrt.org/toh/medion/md86587

Shuttle KD-20
 partially supported (S-ATA driver lacks support for 2nd port)

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

SVN-Revision: 43388
2014-11-26 09:00:08 +00:00
John Crispin
40da7aae54 target.mk: add default packages for NAS device-type
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43387
2014-11-26 08:59:49 +00:00
John Crispin
271a4d804a kernel: unset CONFIG_ARM_CCN
oldconfig kept asking for that config symbol...

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

SVN-Revision: 43386
2014-11-26 08:59:41 +00:00
John Crispin
47ab1cbf23 ar71xx: add support for TP-LINK CPE210/220/510/520
This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These
devices are very similar to the Ubiquiti NanoStations, but with better specs:
faster CPU, more RAM, 2x2 MIMO.

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

SVN-Revision: 43385
2014-11-26 08:59:32 +00:00
John Crispin
f318ae995a firmware-utils: add new tool tplink-safeloader for the new TP-LINK Pharos devices (CPE210/220/510/520)
The new TP-LINK Pharos series uses a new bootloader, the "TP-LINK Safeloader".
It uses an advanced firmware image format, containing an image partition table
and a flash partition table (and image partitions are mapped to the
corresponding flash partitions). The exact image format is documented in the
source code.

Furthermore, the bootloader expects the kernel image as an ELF executable.

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

SVN-Revision: 43384
2014-11-26 08:59:22 +00:00
John Crispin
9a70c8ef9b mtd: fix 2 compiler warnings
mtd.c:544:7: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ssize_t’ [-Wformat]
mtd.c:602:1: warning: label ‘done’ defined but not used [-Wunused-label]

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

SVN-Revision: 43383
2014-11-26 08:59:17 +00:00
Imre Kaloz
15f6f67d18 Netgear R6100 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43382
2014-11-26 08:28:22 +00:00
Felix Fietkau
9f803fca44 uqmi: update to the latest version, also set 802.3 data format via the WDA service
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43381
2014-11-25 20:34:08 +00:00
Jonas Gorski
1041e3be6e brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right section
The cpu port is at 8, not 5.

Fixes #18406.

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

SVN-Revision: 43379
2014-11-25 19:07:02 +00:00
Jonas Gorski
93e5c701cc brcm63xx: unify dt image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43378
2014-11-25 19:06:51 +00:00
Jonas Gorski
5e111b0330 brcm63xx: move rsa signature to additional options
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43377
2014-11-25 19:06:43 +00:00
Jonas Gorski
e1eec53136 brcm63xx: fix image generation
This fixes build issues introduced on r43361.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43376
2014-11-25 19:06:38 +00:00
Imre Kaloz
60522c8ba7 rename overlayfs' symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43375
2014-11-24 22:09:47 +00:00
John Crispin
506cf51b53 ralink: fix pci reset patch
sorry, forgot to make target/update before commiting the last patch

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

SVN-Revision: 43374
2014-11-24 20:39:48 +00:00
John Crispin
db69761f94 procd: fix/clean some conditions in nand.sh
1) nand_upgrade_tar: use a simpler condition that matches if () { }
   logic and fix check of $kernel_length variable
2) nand_do_upgrade_stage2: use case, otherwise one could believe we
   always call nand_upgrade_tar

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

SVN-Revision: 43373
2014-11-24 19:14:29 +00:00
John Crispin
19c18eba93 procd: document nand.sh a bit
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43372
2014-11-24 19:14:17 +00:00
John Crispin
b994aca1e4 mpc85xx: fix missing dts target for kernel 3.14
With kernel 3.14 dts target p1010rdb was renamed to p1010rdb-pa.
To maintain compatibility define p1010rdb-pa as new standard and
copy p1010rdb.dts to p1010rdb-pa.dts under 3.10.

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

SVN-Revision: 43371
2014-11-24 19:12:46 +00:00
John Crispin
41f9765acd ralink: add proper reset of pci core
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43370
2014-11-24 19:12:35 +00:00
John Crispin
5f51cfcf55 imx6: make the default config bootable on ventana
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43369
2014-11-24 19:12:19 +00:00