Commit Graph

14559 Commits (6f2f59573ff1ea1d7c17c4552561bbfc375f8dfd)

Author SHA1 Message Date
Felix Fietkau 7b1f9665a3 ramips: increase NAPI weight for mt7621 to improve routing performance a bit more
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 12:08:07 +00:00
Rafał Miłecki def8e2e478 kernel: backport bgmac patches
This allows dropping some hacky bcm53xx bgmac patch forcing link state.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:50 +00:00
Rafał Miłecki 74d43a8381 bcm53xx: enable FIXED_PHY, we will need it for bgmac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:27 +00:00
Felix Fietkau 13954e1857 kernel: fix ipsec related regression in the netfilter rtcache patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 22:13:34 +00:00
Imre Kaloz 124ba26fbe mvebu: set default regdomain
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 12:15:40 +00:00
Felix Fietkau 8685482158 ramips: fix LAN/WAN MAC address for WSR-600/1166
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 09:37:07 +00:00
John Crispin 5ca24d776a octeon: add er8 sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 08:49:08 +00:00
John Crispin 22417246f0 octeon: Add MMC support for EdgeRouter ER8
this is a backport of a series posted on the lmo mailing list

Signed-off-by: Jonathan Thibault <jonathan@navigue.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 08:49:02 +00:00
Felix Fietkau e6ad8a72f8 ramips: fix WSR-1166 green power LED
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 21:51:44 +00:00
Michael Büsch f5e4894264 omap24xx: Add basic config for linux-4.0
Also remove 3.3 config. It's broken and unsupported.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 18:45:32 +00:00
Steven Barth a1e390d52a ipv6: fix throw routes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 15:46:03 +00:00
Felix Fietkau 3ab6563711 kernel: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:59 +00:00
Felix Fietkau d121ed26a1 ep93xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:54 +00:00
Felix Fietkau 9f03e29f88 mpc52xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:48 +00:00
Felix Fietkau 2e6497cb44 mpc83xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:43 +00:00
Felix Fietkau db9f54d0e4 ar71xx: fix a double dereference in the unaligned access patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:30 +00:00
Felix Fietkau 63abff6059 x86_64: remove unused patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:22 +00:00
Imre Kaloz ecc294e76c mvebu: add Linux 4.0 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 10:25:44 +00:00
Imre Kaloz 48ac279159 generic/4.0: fix ubi EOF marker patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 10:13:21 +00:00
Imre Kaloz 1f5eba6f33 generic/4.0: add missing symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 10:11:20 +00:00
Felix Fietkau 1eb74d2c55 kernel: replace GRO optimization patch with a new one that supports VLANs/bridges with different MAC addresses
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 18:22:41 +00:00
Felix Fietkau 5d4be21553 kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0
targets might need a minor refresh as well, however, it looks
like everything still applies cleanly with occasional small
offsets.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 18:21:08 +00:00
Jonas Gorski 5abe49b74e b53: reverse duplex bit meaning for IMP state override register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 10:44:15 +00:00
Felix Fietkau 4c70421219 kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 17:14:48 +00:00
John Crispin 469956f441 ralink: fix mt7621 i2c name
Signed-off-by: zouxf <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:44:14 +00:00
John Crispin 4bae2b846e lantiq/xrx200: cleanup default packages
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:44:06 +00:00
John Crispin 45c00f9884 ar71xx: adjust OM5P profile for the OpenMesh OM5P-AN board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:56 +00:00
John Crispin 586c7dc4be ar71xx: enable sysupgrade for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:37 +00:00
John Crispin 195508354e ar71xx: add user-space support for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:31 +00:00
John Crispin 2f69dbc669 ar71xx: add kernel support for the OpenMesh OM5P-AN board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:19 +00:00
John Crispin efedd48f33 ar71xx: detect GL.iNet model
There are two versions of the GL.iNet, the 6408A and the 6416A. The only
difference is the flash size.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:13 +00:00
John Crispin ebf027fd03 lantiq: make xrx200 targets use the upstream dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:42:56 +00:00
Felix Fietkau 0c99ee5ca2 kernel: add a few more missing config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 07:24:51 +00:00
Rafał Miłecki d64e00f9a9 brcm47xx: support SPROM/NVRAM prefixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 07:07:17 +00:00
Rafał Miłecki 4855417993 brcm47xx: rename (and refresh) MTD patch for safety "nvram" partition
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 07:07:00 +00:00
Rafał Miłecki faad28c2e5 brcm47xx: switch to 3.18
Tested on BCM5357B0, BCM47186B0 and BCM4706.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 23:05:43 +00:00
Rafał Miłecki 7c068fdf9d bcm53xx: switch to 3.18
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 22:24:56 +00:00
Felix Fietkau 2a51616fe9 x86: refresh kvm_guest kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 21:17:45 +00:00
Felix Fietkau c44536a9c3 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 21:17:41 +00:00
Felix Fietkau ce244bfdcb x86: enable rtl8139 ethernet support for geode by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 21:00:14 +00:00
Florian Fainelli db93430e41 brcm63xx: switch maintainer
Make Jonas the maintainer of brcm63xx.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 19:51:17 +00:00
Felix Fietkau 3a9edc87a1 geode: set target to Geode GX1 to support older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 18:10:17 +00:00
Jonas Gorski ad99d83746 brcm63xx: use consistent gpio chip labeling for OF/non-OF
Ensure gpio chips are always labeled the same; this allows simplifying
any arch setup gpio lookups.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 13:37:38 +00:00
Jonas Gorski 36da43e2de brcm63xx: switch to 3.18
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:53:22 +00:00
Jonas Gorski 9639282138 brcm63xx: call brcm63xx_detect explicitly
Now that we have converted all users of global variables to use
brcm63xx_board_name, we can savely convert the implicit call to detect
in brcm63xx.sh to a single, explicit call in preinit.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:53:14 +00:00
Jonas Gorski 4c68a5c6d0 brcm63xx: move preinit ifname detection to the preinit script
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:53:06 +00:00
Jonas Gorski 00f2dabeb0 brcm63xx: remove obsolete brcm63xx_has_reset_button
r37000 made button kmods loaded from generic code, so we don't use
it anymore for deciding to load them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:57 +00:00
Jonas Gorski 2a827e0a3c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:49 +00:00
Jonas Gorski 23f14889e7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:42 +00:00
Jonas Gorski 6b0ccff588 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:35 +00:00
Jonas Gorski 2540aee55b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:26 +00:00
Jonas Gorski 3f64e1384f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:20 +00:00
Jonas Gorski e3c5eb138f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:16 +00:00
Jonas Gorski 83842af347 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:10 +00:00
John Crispin ba25eac519 netlogic: bump to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 10:58:43 +00:00
Felix Fietkau 145e6b9231 mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 08:29:42 +00:00
John Crispin d7d8a76a74 kernel: add missing MTD_SPLIT_FIT_FW symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 08:05:42 +00:00
John Crispin b34d1f6b43 sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:24 +00:00
John Crispin ad966e5eaa adm5120: drop 3.8 and 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:19 +00:00
John Crispin d84f47b85f ar7: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:10 +00:00
John Crispin 2ab55b4a9a ixp4xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:05 +00:00
John Crispin bed4dc5199 octeon: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:59 +00:00
John Crispin 3642d7841a oxnas: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:54 +00:00
John Crispin 7b9c4ca2bf mpc85xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:47 +00:00
John Crispin 102d657c2a cns3xxx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:41 +00:00
John Crispin 42d874818f au1000: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:19 +00:00
John Crispin 63894eb6f7 ar71xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:09 +00:00
John Crispin adc39a912a realview: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:02 +00:00
John Crispin afc19ce4e0 malta: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:39:57 +00:00
John Crispin ed1a519c40 lantiq: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:39:52 +00:00
John Crispin c59b0d680a ralink: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:39:46 +00:00
Felix Fietkau 7507c28720 x86: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:12:31 +00:00
Felix Fietkau eb03a1d7c2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:05:30 +00:00
Felix Fietkau daf4534ed4 x86: remove 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:57:04 +00:00
Felix Fietkau 171313998e kernel: remove linux 3.13 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:52:02 +00:00
Felix Fietkau 16a0753919 omap: remove old kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:51:56 +00:00
Felix Fietkau 0f4fe3ab01 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:51:52 +00:00
Felix Fietkau 3814bc9785 kernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:16:14 +00:00
Felix Fietkau a4e5b7cde3 kernel: fix duplicate use of patch number 490
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:16:07 +00:00
Felix Fietkau 2a5d72c686 kernel: add a few missing config symbols for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 04:47:28 +00:00
Felix Fietkau 0349445009 kernel: add missing description for GRO optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 04:19:09 +00:00
Felix Fietkau 0e879af4ad 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 20:32:09 +00:00
John Crispin 645862c1c8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:47 +00:00
John Crispin db328d1e26 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:41 +00:00
John Crispin a325ed5979 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:33 +00:00
John Crispin 02f1a53164 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:27 +00:00
John Crispin 596033a52e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:25:48 +00:00
Jonas Gorski 309b8df125 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:28 +00:00
Jonas Gorski 784dac57be brcm63xx: brcm63xxpart: fix buffer overrun in of parser
We never account for the added partitions from the tag parser, so
allocated two partioness less than needed. This can cause issues when
the memory gets reused before the mtd code can actually add the
partitions.

Fixes oopses like:
[    0.920000] mtd: device 2 (rootfs) set to be root filesystem
[    0.924000] 1 squashfs-split partitions found on MTD device rootfs
[    0.932000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.940000] 0x000000010000-0x0000003f0000 : "linux"
[    0.948000] CPU 0 Unable to handle kernel paging request at virtual address 00010203, epc == 8028ddf8, ra == 801ad5d4
[    0.956000] Oops[#1]:
[    0.956000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.8 #22
[    0.956000] task: 8181da78 ti: 8181e000 task.ti: 8181e000
[    0.956000] $ 0   : 00000000 10008f00 00010203 81049e40
[    0.956000] $ 4   : 00010203 000000d0 00000000 000000fd
[    0.956000] $ 8   : 00000000 80015490 00000000 80370000
[    0.956000] $12   : 00000000 00000001 00000000 2f736269
[    0.956000] $16   : 00010203 000000d0 8007bde0 81482000
[    0.956000] $20   : 00000000 00000004 81481f80 803c4b78
[    0.956000] $24   : 00000000 00000000
[    0.956000] $28   : 8181e000 8181fbe8 80b20000 801ad5d4
[    0.956000] Hi    : 00000000
[    0.956000] Lo    : 00000000
[    0.956000] epc   : 8028ddf8 strlen+0x4/0x20
[    0.956000]     Not tainted
[    0.956000] ra    : 801ad5d4 kstrdup+0x30/0x84
[    0.956000] Status: 10008f03 KERNEL EXL IE
[    0.956000] Cause : 00800008
[    0.956000] BadVA : 00010203
[    0.956000] PrId  : 0002a010 (Broadcom BMIPS4350)
[    0.956000] Modules linked in:
[    0.956000] Process swapper/0 (pid: 1, threadinfo=8181e000, task=8181da78, tls=00000000)
[    0.956000] Stack : 8148aa00 803c4bcc 00000000 801cd9d0 00000000 8148a400 818a1400 003f0000
          81482000 8007bde0 8148aa00 800ac78c 8148aa00 00000004 8037ae30 8181fc4c
          8148aa00 803bc074 803c0000 80074b84 00000000 00010000 00000004 ffffffff
          8037ae30 00000004 8148aa00 00000004 803c4b80 818a1400 803c0000 00000005
          81481f80 80074ce0 8181fc84 00000005 81879800 8008ece4 00000000 003f0000
          ...
[    0.956000] Call Trace:
[    0.956000] [<8028ddf8>] strlen+0x4/0x20
[    0.956000] [<801ad5d4>] kstrdup+0x30/0x84
[    0.956000] [<8007bde0>] allocate_partition+0x58/0x93c
[    0.956000] [<80074ce0>] add_mtd_partitions+0x90/0x144
[    0.956000] [<801cc228>] mtd_device_parse_register+0x78/0xcc
[    0.956000] [<801e7870>] of_flash_probe+0x658/0x728
[    0.956000] [<80216ee0>] platform_drv_probe+0x24/0x60
[    0.956000] [<801221f4>] driver_probe_device+0xcc/0x214
[    0.956000] [<800466f8>] __driver_attach+0x7c/0xb4
[    0.956000] [<800c38bc>] bus_for_each_dev+0x94/0xa4
[    0.956000] [<800c35e4>] bus_add_driver+0x104/0x1ec
[    0.956000] [<80122400>] driver_register+0xac/0x100
[    0.956000] [<80113a5c>] do_one_initcall+0x148/0x204
[    0.956000] [<803cbd1c>] kernel_init_freeable+0x168/0x220
[    0.956000] [<800157bc>] kernel_init+0x10/0x114
[    0.956000] [<800108a8>] ret_from_kernel_thread+0x14/0x1c
[    0.956000]
[    0.956000]
Code: 03e00008  27bd0028  00801021 <80430000> 10600003  00000000  080a377e  24420001  03e00008
[    1.192000] ---[ end trace 9d89ccbcae27fe40 ]---
[    1.200000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.200000]
[    1.200000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:22 +00:00
Jonas Gorski 4d025594ac brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+
Fix the module path for linux 3.18+.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:10 +00:00
Jonas Gorski 342bb60da3 brcm63xx: fix 6368 cpu1 reg typo
Signed-off-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@44784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:07 +00:00
Felix Fietkau fc9676671c lantiq: add a better fix to strip FCS from ethernet packets on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 09:47:34 +00:00
Felix Fietkau 96f6bc9eba lantiq: enable atm-esi by default for xrx200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 07:57:51 +00:00
Felix Fietkau 555589354c brcm2708: fix mkdosfs command line options order
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 05:18:50 +00:00
Felix Fietkau 3b35351eea x86: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:37 +00:00
Felix Fietkau e08e457d55 x86: update to kernel 3.18
copied target/linux/x86/config-3.14 and target/linux/x86/patches-3.14 to
3.18 equivalents and then tweaked until it built.

Tested on alix2, soekris net4826 and soekris net4521.

Still having trouble with net4826 booting from Grub, alix2 and net4521
are fine.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:30 +00:00
Felix Fietkau a4b632413a kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:22 +00:00
Felix Fietkau d5b91aadb5 kernel: add missing config symbol for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:40:10 +00:00
Rafał Miłecki 5cf9746b1d bcm53xx: support NVRAM prefixes with extra / in devpath
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 16:35:56 +00:00
Felix Fietkau 939914d5e7 x86: disable rts/cts for serial console in grub - fixes net48xx boot issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 08:38:35 +00:00
Felix Fietkau 077b80d39d kernel: linux 3.19 also needs the network namespace related fd export patch (#19161)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 05:38:14 +00:00
John Crispin 5985d3b8f4 ralink: support change tx/rx ring size
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:08 +00:00
John Crispin e8d734c637 ralink: use random generate mac address instead of default one.
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:01 +00:00
John Crispin fe1279d7bf ralink: add wifi 5g dts info for cy-swr1100
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:37:45 +00:00
Felix Fietkau 484aa24d96 ath25: set myself as maintainer
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:34 +00:00
Felix Fietkau 6402b8402f Rename 'atheros' target to 'ath25'
Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:28 +00:00
Felix Fietkau d057b4aae3 atheros: remove odd board check during image build
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:21 +00:00
Felix Fietkau 91f127bbe1 atheros: remove linux 3.14
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:17 +00:00
Felix Fietkau 13286c43b5 atheros: switch to 3.18
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:12 +00:00
Felix Fietkau 28832b865b atheros: v3.18: renumber backported patches
Move first 3 patches to 0xx numbers range to denote that this is
backported code and they should be removed when we update
kernel to version >= 3.19

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:08 +00:00
Felix Fietkau f6c7cc8c8c atheros: v3.18: non-functional cleanup
To finally sync code with upsream cleanup registers headers, and update
several comments and kernel config symbols descriptions. No functional
changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:00 +00:00
Felix Fietkau e6f4883929 atheros: v3.18: cleanup includes
Remove odd and add missed includes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:50 +00:00
Felix Fietkau bc135de0a6 atheros: v3.18: rearrange code between patches
Cleanup board patch by moving code to specific patches, and factor out
leds to separate patch. No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:42 +00:00
Felix Fietkau 99f3e65bca atheros: v3.18: move GPIO patches behind PCI
Move GPIO patches behind PCI patch, since they are not yet merged
upstream.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:37 +00:00
Felix Fietkau bf248f8c59 atheros: v3.18: switch to IRQ domain
Rework MISC and PCI IRQ controllers code to use IRQ domains and bitops.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:31 +00:00
Felix Fietkau f1a2758140 atheros: v3.18: update register names
Make register names more consistent, mostly add appropriate prefix
(AR5312_ or AR2315_) or _BASE suffix. Also add macro to simplify mask
and shift operation.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:21 +00:00
Felix Fietkau 7ac3fd1f5d atheros: v3.18: remap flash for boardconfig parsing
Rework boardconfig handling code to honestly remap flash memory region.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:17 +00:00
Felix Fietkau 6afc58ca5b atheros: v3.18: make registers headers local
There are no external users (last one was PCI driver) for these headers,
so move them to arch directory. Few macroses from ar231x.h header moved
to devices.h and file was removed.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:11 +00:00
Felix Fietkau c35ad669cb atheros: v3.18: remap main SoC MMR memory
Honestly remap main SoC MMR mem and use accessor functions to
interact with registers. Now registers defined relatively to base
address (e.g. SDRAM controller base address).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:04 +00:00
Felix Fietkau a24e0d1b97 atheros: v3.18: cleanup register headers
AFAIK, no one AR2315+ chip (AR2315, AR2316, AR2317, AR2318) does not
contain IR block, so remove IR registers definitions. Also remove few
unused macroses.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:59 +00:00
Felix Fietkau 684a72d562 atheros: v3.18: pass PCI IRQ and I/O mem via resources
Pass PCI IRQ and I/O memory ranges via platform device resources, this
change makes PCI controller driver independed from arch headers, so
also remove few includes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:51 +00:00
Felix Fietkau e7cc907788 atheros: v3.18: remap PCI controller MMR memory
Honestly remap PCI controller MMR and use accessor functions to interact
with registers.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:43 +00:00
Felix Fietkau 93dd54c7cf atheros: v3.18: add context container for PCI driver
Add container and place all context specific variables and structure to
it.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:19 +00:00
Felix Fietkau 5938707157 atheros: v3.18: move PCI enable code to arch
Move PCI host interface enable code to arch, since it touches generic
SoC registers outside the PCI MMR region.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:06 +00:00
Felix Fietkau 93e709e333 atheros: v3.18: rearrange PCI regs definitions
Move PCI controller configuration registers from generic header to
driver source. No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:54 +00:00
Felix Fietkau 32b39783b9 atheros: v3.18: relocate PCI host DMA base definition
Put AR2315_PCI_HOST_SDRAM_BASEADDR macro to DMA header, since this is
arbitrary value and not some hw specific constant. Also this relocation
decouples dma from HW specific header.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:43 +00:00
Felix Fietkau 96640f6e55 atheros: v3.18: rework early initialization
Do not use prom_init() callback, do memory initialization in
plat_mem_setup() callback and move serial port configuration to
arch_initcall stage.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:27 +00:00
Felix Fietkau baf36d9f83 atheros: v3.18: rearrange interrupt handling functions
No functional changes, just change functions order in source file.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:19 +00:00
Felix Fietkau 60a15500fc atheros: v3.18: change calls logic
Check SoC family (AR5312+ or AR2315+) before call instead of checking it
inside the called function. Also convert ar{5312,2315}_init_device()
function to void, since they both return zero and nobody care about
return value.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:04 +00:00
Felix Fietkau 96bfba8286 atheros: v3.18: update names and declarations
Sync functions, variables and enums names with upstream. Mostly replace
'ar231x_' prefix by 'ath25_'.

No functional changes, except few 'int' -> 'unsigned' changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:58 +00:00
Felix Fietkau f305457b87 atheros: v3.18: cleanup cpu-feature-overrides.h
Remove mention of undefined features.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:49 +00:00
Felix Fietkau 36ac89d168 atheros: v3.18: remove eth platform device unused field
Ethernet controller driver don't use boarddata directly, so remove
corresponding field from its platform device structure.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:37 +00:00
Felix Fietkau 3e2402cf82 atheros: v3.18: remove odd header reset.h
This header provides prototype for function without realization and
users.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:24 +00:00
Felix Fietkau e2d59f4dd5 atheros: v3.18: rename platform header
Rename ar231x_platform.h to ath25_platform.h

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:17 +00:00
Felix Fietkau 85365aa0c4 atheros: v3.18: rename kernel platform to ath25
Rename platform source directory and asm includes directory.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:57:59 +00:00
Felix Fietkau 3846aa2bb9 atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25
This patch starts upsteam ath25 code backporting.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:57:51 +00:00
Felix Fietkau bc66ec6772 atheros: add v3.18 support
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:57:41 +00:00
Felix Fietkau 074ba4221e kernel: backport fib_trie improvements/fixes from 4.0-rc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 15:27:44 +00:00
John Crispin 4d998f98f0 ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targets
Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:53 +00:00
John Crispin f30e32991d ar71xx: Hornet UB GPIO WPS/Reset
This problem has existed at least since Attitude Adjustment and
is also present in trunk. Basically on the Hornet-UB board the
functionality of RESET and WPS have "switched places".

There are two tickets about the issue at dev.openwrt.org,
The solution suggested on them both is incomplete though
and introduces the following proglem:

Patching as suggested on #14136/#15282 will result in a situation
where simply pressing the RESET button on the bottom will cause
FACTORY RESET to be run. This is due to GPIO high/low state being
incorrect as a result of the above change and virtually the RESET
button is in the pressed-down state the entire time. When it is
then physically pressed, that causes the opposite, release, to be
triggered and since to the board it seemed that the button was
pressed long before it was released, the FACTORY RESET results.

The attached patch works as expected. I have verified both the
incorrect functionality as well as after fixing the issue as
described in the patch and flashing the resulting firmware to a
Hornet-UB board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:42 +00:00
John Crispin ac706e1b3c ralink: resize the flash partition for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:31 +00:00
John Crispin 2d50e3576e ralink: MT7621 add i2c controller driver
ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code.

Signed-off-by: daixj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:17 +00:00
John Crispin 9e0345eec4 cobalt: framebuffer device has moved
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:05:48 +00:00
Felix Fietkau 2a9511f8a6 kernel: backport symbol export from r44653 to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:32:29 +00:00
Rafał Miłecki bd74798e93 bcm53xx: fixup early device id 8012
Looks like the BCM53012 has a similar problem to the BCM53011.

Signed-off-by: Ian Kent <raven@themaw.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:32:02 +00:00
Rafał Miłecki 3ce21086f2 bcm53xx: fix typo in bcm47xx sprom driver
Fix thinko' in the bcm47xx sprom driver.

Signed-off-by: Ian Kent <raven@themaw.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:10:19 +00:00
John Crispin 41afbc70a7 kenrel: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:46 +00:00
John Crispin 2c0cefef77 lantiq: make the new dwc2 support only work for vr9
danube needs to be added

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:40 +00:00
John Crispin 2b0eb2e042 lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2
Here the device tree entry for ifxhcd is listed as compatible with one
supported in dwc2 (after patching the dwc driver appropriately).

A second entry is added to support the second core of the hcd. This
entry is listed to be compatible with only dwc2. Done this way there
should be backwards support for both hcd drivers (ltq-hcd and dwc2)

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:32 +00:00
John Crispin a968dcbf6d lantiq: Use platform endianness when accessing dwc2 registers
This patch switches calls to readl/writel to their
dwc2_readl/dwc2_writel equivalents which preserve platform endianness.

This patch is necessary to access dwc2 registers correctly on big
endian systems such as the mips based SoCs made by Lantiq. Then dwc2
can be used to replace ifx-hcd driver for Lantiq platforms found e.g.
in OpenWrt.

The patch was autogenerated with the following commands:
$EDITOR core.h
sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h
sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:26 +00:00
John Crispin 34bf978c3b lantiq: Add sensible hw-defaults for dwc2
Lantiq driver does not work with autodetected fifo sizes so use ones
from original ltq-hcd driver in dwc2. Other values can be
autodetected.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:15 +00:00
John Crispin 2c433fb006 lantiq: Configure gpio power output pin when initializing dwc2 usb
Port gpio code from original ltq-hcd driver to dwc2.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:08 +00:00
John Crispin 90a1b39efe lantiq: Add usb initialization bits from ltq-hcd to platform init
Add VR9 specific usb initialization bits from ltq-hcd to platform
initialization.

This patch is more of a proof-of-concept than production quality
since the initialization registers are different on other lantiq
platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:02 +00:00
John Crispin 1547f49283 cobalt: rename config file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 16:22:01 +00:00
John Crispin eea98d126c ar71xx: improve WD's My Net Wi-fi Range Extender image creation
Previously, the generated images for the My Net Wi-fi Range Extender
wouldn't always work (and panic) due to the fixed mtd offsets and
sizes for the kernel and rootfs. This patch fixes the problem by
utilizing the shared Cybertan's partition parser to recalculate
the mtd partitions for every image dynamically everytime.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:34 +00:00
John Crispin a8a374fe68 ar71xx: generalize cybertan partition parser
By removing the NL16 signature check, the parser can be
utilized by other devices like the WD My Net Wi-fi Range
Extender.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:27 +00:00
John Crispin 2eabbd5247 ar71xx: rename wrt160nl's trx partition parser
This patch renames the partition parser from
wrt160nl to more generic cybertan.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:15 +00:00
John Crispin d93222ddef ar71xx: fix WRT160NL and TP-Link partition parser patches
405-mtd-tp-link-partition-parser.patch was updating the
WRT160NL's partition parser Kconfig. This patch moves the
relevant change into the right file:
404-mtd-wrt160nl-trx-parser.patch

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:55 +00:00
John Crispin db982be738 ralink: FireWRT flash size is up to 16M.
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:28 +00:00
John Crispin 385f442a27 ralink: add FireWRT IO multiplexing
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:16 +00:00
John Crispin b3ae0b0d84 ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7
ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:06 +00:00
John Crispin 7dc5e80b5e Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)
This commit re-adds a patch from 3.14 that is required for UBI block
devices with an EOF marker to be successfully mounted.

Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:54:52 +00:00
Felix Fietkau ff84193ba9 kernel: backport an export required by newer compat-wireless versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:02:16 +00:00
Imre Kaloz 6ed667a88f ppc44x: use the mtdsplit framework for the Taishan
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 12:20:03 +00:00
John Crispin ad93058254 ar71xx: fix gpio-latch driver
gpio api has changed. the remove call no longer returns a value.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 20:19:54 +00:00
Luka Perkov ce6e006011 ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 16:11:44 +00:00
Luka Perkov 3786f9be7e ar71xx: wpj588: add missing usb support
Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-By: Christian Mehlis <christian@m3hlis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 16:11:39 +00:00
John Crispin c071881c79 ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.
Please also backport to Barrier Breaker (this same patch applies there too).

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 13:26:50 +00:00
John Crispin 307d615ef0 ar71xx: Fix board detection for the TP-LINK TL-MR13U.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 13:26:44 +00:00
John Crispin 2c3e6a475e kernel: fix yaffs compile for >= v3.16
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 13:08:17 +00:00
John Crispin ed09a52d69 ralink: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:03:16 +00:00
John Crispin 080f1402b4 kirkwood: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:03:10 +00:00
John Crispin 70499c3e46 au1000: build fails if the input layer is not selected
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:03:04 +00:00
John Crispin b2d847f4c0 ipq806x: add 2 missing symbols that broke a full build
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:02:52 +00:00
John Crispin 0d35249fed ar7: register_mtd_parser() does no longer have a return value
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:02:45 +00:00
Imre Kaloz 7ad0ed98b6 ppc44x: upgrade and switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 10:00:41 +00:00
Rafał Miłecki 1c8d1d2a87 bcm53xx: fix printing NAND controller revision
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-07 12:31:42 +00:00
Imre Kaloz 13eb5b45a7 mvebu: add backported patch to reenable hw i/o coherency
Reported-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 18:57:49 +00:00
Luka Perkov 7aeb6923b5 ar71xx: add support for compex wpj558
OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 14:41:57 +00:00
John Crispin 5a24f85217 swconfig: fix build with linux 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:57:03 +00:00
John Crispin ee74764811 ipq806x: rename patches in patches-3.18
This will allow ipq806x to support multiple kernel version more easily.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:58 +00:00
John Crispin 63a4e80380 kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:47 +00:00
John Crispin a585342d28 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:34 +00:00
John Crispin 916b239f7e kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:21 +00:00
John Crispin a739348da2 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:08 +00:00
John Crispin 7b4702d275 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:55:57 +00:00
Luka Perkov 90fe39fa8b kirkwood: drop support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 23:43:27 +00:00
Luka Perkov def467318a kirkwood: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 23:43:24 +00:00
Luka Perkov 14714ca5bb generic: add CONFIG_FW_LOADER_USER_HELPER symbol
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 23:43:21 +00:00
John Crispin d7a6866ce0 at91: add SAMA5D3-Xplained board UBI parameters to makefile.
Signed-off-by: Songjun Wu <songjun.wu@atmel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:57 +00:00
John Crispin cd18aa747d brcm2708: add another missing symbol
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:39 +00:00
John Crispin 964819fe04 generic: add USB_DWC2 missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:33 +00:00
John Crispin 726714d719 generic: add missing symbols for 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:28 +00:00
Rafał Miłecki 0d1eaa903d kernel: backport bcma changes to 3.19 and 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-04 07:08:39 +00:00
Rafał Miłecki 599bab39a8 bcm53xx: switch to IRQ buttons (keys)
Now bcma provides IRQ domain we don't have to poll anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:55 +00:00
Rafał Miłecki 4b2f752391 kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:49 +00:00
Jonas Gorski bd24326bdd generic: upgrade to 3.14.34
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.33
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.34

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 14:39:52 +00:00
Jonas Gorski cdd4c27ac6 generic: upgrade to 3.18.8
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.8

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 14:39:49 +00:00
Felix Fietkau b4f4cb29ec kernel: revert a broken chunk in the mips module reloc patch fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-02 20:33:02 +00:00
Felix Fietkau 87059ddca3 kernel: fix the mips module relocation patch for 3.19+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-02 04:42:17 +00:00