Commit Graph

15073 Commits (c24f91a021da799ac9ead12a85577fb0e2bf22c2)

Author SHA1 Message Date
Rafał Miłecki 53f674d8d6 b53: improve overriding CPU port state on BCM5301X
On BCM5301X there are two different cases to handle: CPU port 8 vs. any
other one. Support for CPU port 8 was already partially implemented but
it lacked setting some extra bit for 2G speed. It also will need to be
extended to implement "SMP dual core 3 GMAC setup". That's the reason
for handling it in separated code block.
This patch also adds overriding CPU port state for port other than 8. It
requires using recently defined GMII_PORT registers.
It was tested for regressions on BCM53011 revs 2 & 3. It was also
confirmed to fix switch on some internal Broadcom board.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:00:42 +00:00
Imre Kaloz c00c6ea570 mvebu: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 17:30:41 +00:00
Imre Kaloz 99888c7af5 mvebu: migrate mamba support to the upstreamed code
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 17:29:50 +00:00
Felix Fietkau 18bcf252f7 bcm53xx: fix bcma gpio chip base
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 17:22:04 +00:00
Felix Fietkau ae3c99ce01 kernel: add missing memory barrier to bgmac
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 16:39:24 +00:00
Imre Kaloz e926ef32b2 mvebu: handle other SKUs as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:04:14 +00:00
Imre Kaloz 867aa778f8 mvebu: include the ahci driver in the default profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:03:25 +00:00
Imre Kaloz 7d17c7d21e generic: make sure we only try to mangle bootargs we do have
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 14:46:19 +00:00
Rafał Miłecki 3be08a4b90 bcm53xx: allow sysupgrade firmwares without UBI containing rootfs
In most cases it allows reverting back to the vendor firmware (as they
usually don't use UBI). If users wants to do that we can't do anything
anyway. Erease counters will be just lost. The only thing we do is warn:
"Flashing firmware without UBI for rootfs. All erase counters will be
lost."
It still requires forcing sysupgrade.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 12:04:13 +00:00
Rafał Miłecki 3e9dd9c10f bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
We can now detect that provided firmware contains kernel and UBI image
partitions. Flashing it in a sane way (keeping erase counters) still
needs to be implemented.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 11:46:16 +00:00
Rafał Miłecki f1e93b5907 bcm53xx: rework vendor fw handling to don't duplicate upgrade calls
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 10:42:27 +00:00
Felix Fietkau 3725ce7539 kernel: add bgmac fixes for various issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 10:35:21 +00:00
Rafał Miłecki b10dcf833b bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
With previous version of patch info about need of erasing blocks was
stored once per boot. It was breaking in following scenario:
1) First boot after installation (erasing blocks after 0xdeadc0de)
2) Doing sysupgrade (with ubidetach & ubiformat)
3) Attaching UBI again (it caused all blocks to be erased)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 10:20:59 +00:00
Imre Kaloz d6e3b008b8 mvebu: reformat the damaged syscfg partition on the mamba
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 08:35:33 +00:00
Felix Fietkau 088f959729 kernel: revert section sorting change from r41951
It currently does not seem to make a difference anymore, except by
increasing compressed kernel image size

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 21:21:03 +00:00
Luka Perkov 904c02dd66 imx6: add missing patches from 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:46:20 +00:00
Felix Fietkau a2b45c4a83 kernel: remove kernel module checks/dependencies for 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:43:46 +00:00
Luka Perkov 4398ecd73d generic: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:14 +00:00
Luka Perkov adb7aa14be brcm47xx: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:11 +00:00
Luka Perkov 29656719bb adm8668: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:06 +00:00
Luka Perkov 1fde7a3d31 mcs814x: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:03 +00:00
Luka Perkov 6a81811544 imx6: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:00 +00:00
Luka Perkov d0bba05494 imx6: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:27:49 +00:00
Zoltan HERPAI 7ce5c8170c mxs: reinstate rootfs image creation and dtb copy
Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 21:36:33 +00:00
Zoltan HERPAI 033fddd734 mxs: Include the right kernel image in the rootfs
Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 21:34:21 +00:00
John Crispin 61c017cb0a kernel: remove references to kmod-of-i2c
these break the IB since the module is part of i2c-core now

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 13:39:33 +00:00
Felix Fietkau 7ac834ab91 kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 11:52:59 +00:00
Felix Fietkau d4cdd37e21 kernel: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 11:52:47 +00:00
Jonas Gorski 7ed7a6ec0a b53: clean up code to match kernel style better
* properly enclose macro arguments in paranthesis on use
* remove trailing white space
* convert C99 // comments
* add missing blank lines after declaration
* remove braces from single statement blocks
* split lines > 80 chars (except for one)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 10:29:04 +00:00
Jonas Gorski 2058f0ef1f b53: define registers available and needed on BCM5301X
They are also present on some BCM63xx switches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 10:28:46 +00:00
Rafał Miłecki 5144bdef37 bcm53xx: build image for ASUS RT-AC56U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 09:58:00 +00:00
Rafał Miłecki 4068d4108a bcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 09:42:48 +00:00
John Crispin c52abebd95 sunxi: don't enable ARMTHUMB XZ BCJ filter in kernel
Having CONFIG_XZ_DEC_ARMTHUMB enabled breaks squashfs when ARM BCJ
filter was used to create the filesystem (and that's what we do on
all ARM targets). Thus unset CONFIG_XZ_DEC_ARMTHUMB to fix
squashfs on sunxi.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:29:26 +00:00
John Crispin f423e902fe ipq806x: automatically select kmod-usb-phy-qcom-dwc3
kmod-usb-phy-qcom-dwc3 is required to get USB working on ipq806x. It was
missed in previous commit so let's enable it automatically.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:28:44 +00:00
John Crispin 448fdefd88 ralink: fix cevt-r4k hack
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 08:27:44 +00:00
John Crispin b420275fed generic/3.18: add missing wireless symbols
triggered by enabling RFKILL in global build options

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:33:11 +00:00
John Crispin bd60aa0e69 ramips: Add support for Microduino MicroWRT
MicroWRT is an wireless router with 2 USB,1 ethernet port. It
has a 16M flash and 64M DDR2 RAM. You can use most interface, such as
i2c, SPI, i2s and PCIe. Besides that there are three expansion borad to
combine with the core board. The detailed information, please refer to
https://www.microduino.cc/wiki/index.php?title=Main_Page

This patch adds support for it.
Because there is only one port,so disabled VLAN and use eth0 as lan
port. and only a power LED control by power pin.

Signed-off-by: 盛凯 <shengkai81@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:32:37 +00:00
John Crispin fb8ec60377 ar71xx: enable LEDs on Hornet-UB X2
None of the LEDs are enabled by default on the Hornet-UB X2 board
(the 16/64MB version of the Hornet-UB), because it uses a different
board-name ("hornet-ub-x2"); but hornet-ub and hornet-ub-x2 boards
are equivalent WRT their LEDs.

SIgned-off-by: Joshua Judson Rosen <jrosen@harvestai.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:32:08 +00:00
Zoltan HERPAI c782ab10d6 generic: add a few missing symbols for 4.0
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 10:28:59 +00:00
Rafał Miłecki 10dd186786 bcm53xx: switch to the otrx for verifying TRX images
This adds checking CRC32 of provided firmware image.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 06:33:56 +00:00
Rafał Miłecki 8c2b260db8 brcm47xx: image: use "-" separator for device version
This makes legacy subtarget follow two other.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 05:40:37 +00:00
Rafał Miłecki 3ee317e9f2 brcm47xx: verify also standard TRX images during sysupgrade
It allows detecting data corruption for plain TRX as well.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 05:36:16 +00:00
Rafał Miłecki 3765adddb7 brcm47xx: fix WRT300N devices magics for sysupgrade check
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 05:22:10 +00:00
Rafał Miłecki de4a6f43f4 brcm47xx: switch to the otrx for verifying TRX images
This adds checking CRC32 of provided firmware image.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-09 05:22:04 +00:00
Gabor Juhos 8c027356bc kernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches
Those don't exist anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 16:21:04 +00:00
Rafał Miłecki a88c590d46 brcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 09:50:57 +00:00
Rafał Miłecki a9bad0538e bcm53xx: replace few BCM5301X patches with versions sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 09:22:02 +00:00
Rafał Miłecki e9109df2a2 brcm47xx: update legacy subtarget description
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 05:55:32 +00:00
Rafał Miłecki a07a3cb28f brcm47xx: add fix "Data bus error" on CardBus ssb SoCs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 05:09:42 +00:00
Rafał Miłecki 9a80c6e19a brcm47xx: reverse 2 LEDs polarity on WRT320N v1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-08 04:46:27 +00:00
Rafał Miłecki dda5e2779e kernel: backport ssb patches up to changes queued for 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 22:06:17 +00:00
Imre Kaloz 0d7d44e1c1 generic/4.0: upgrade to 4.0-rc7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 21:34:38 +00:00
Rafał Miłecki 046a1b5640 brcm47xx: define rest of LEDs & buttons for WRT320N
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 21:31:36 +00:00
Imre Kaloz 0391fa8567 generic/3.18: upgrade to 3.18.11
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 21:29:26 +00:00
Imre Kaloz a5690891bb mvebu: disable cpu idle on a38x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 21:13:44 +00:00
Gabor Juhos 271d4d3ff8 ar71xx: add user-space support for RB911G-5HPacD
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 20:04:14 +00:00
Gabor Juhos a84098ee49 ar71xx: add initial support for RB911G-5HPacD
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 20:04:03 +00:00
Gabor Juhos fdb0178b20 ar71xx: routerboot: export extended wlan data via sysfs
Export the data to make it accessible from user-space.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 20:03:43 +00:00
Gabor Juhos 0c240b2a3b ar71xx: routerboot: add support for extended radio data
On newer Mikrotik boards, the radio calibration data
is stored differently and uses LZO compression instead
of RLE.

Update the RouterBOOT helper code to support the new
format.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 20:03:35 +00:00
Gabor Juhos 3fa90854cf ar71xx: select RLE_DECOMPRESS directly by the RouterBOOT helper code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 20:03:24 +00:00
Gabor Juhos cb2fd1e2ec kernel: add support for the MX25L512E and SI25CD512 SPI flash chips
These are used on some MikroTik boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 20:03:15 +00:00
Imre Kaloz b500eb66d4 Upstream commits 43b68879de27b1993518687fbc6013da80cdcbfe
and ce6031c89a35cffd5a5992b08377b77f49a004b9 improve the
cpuidle driver on Armada XP. The latter commit improves
performance at the slight expense of power consumption.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 18:13:51 +00:00
Rafał Miłecki f5278247cd brcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B
First of all this patch was affecting other devices, not just Netgear
WNR834B. E.g. Linksys WRT300N v1 also has boardtype 0x0472.
This was breaking PCI on WRT300N, ssb couldn't detect core working in
hostmode (due to mips_busprobe32 failing).

Secondly this patch should not be needed for years now. From the analyze
of #8861 it seems it was needed just to make devices at slots other than
0 discoverable. Setting cardbus to 0 was simply making ssb allow access
to PCI config for devices other than bridge.
With the upstream commit a6c8462 (ssb: fix cardbus slot in hostmode) we
allow accessing device at slot 1 which should be enough for CardBus.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 15:40:51 +00:00
Rafał Miłecki 309d4f1ce2 bcm53xx: image: share function checking TRX in provided firmware
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 14:14:08 +00:00
Rafał Miłecki 90bc0bce64 bcm53xx: display all errors (not just the 1st one) when checking image
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 14:14:02 +00:00
Rafał Miłecki 60290ed40c bcm53xx: compare provided firmware magic with device magic
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 14:13:56 +00:00
Rafał Miłecki 3d767322d6 brcm47xx: detect Linksys WRT320N v1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 13:08:17 +00:00
Rafał Miłecki dc4363da2f brcm47xx: backport MIPS BCM47XX patches queued for 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 12:54:23 +00:00
Rafał Miłecki b5f93e8c0a brcm47xx: group MIPS BCM47XX backported patches by source kernel
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-07 11:54:18 +00:00
Felix Fietkau d1212499c8 ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 19:26:30 +00:00
Felix Fietkau b4c7fddd27 x86: set ARCH_PACKAGES for the x86_64 subtarget (fixes #19425)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-06 10:07:43 +00:00
John Crispin 661ad4be7c ipq806x: another missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-05 07:53:32 +00:00
John Crispin 8493855a6c kernel: CONFIG_BRIDGE should not be overridden
this breaks ebtables, netfilter, ... during fullbuilds

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-05 07:40:38 +00:00
Florian Fainelli 37e86d3fcf arm64: remove CGROUPS override
SCHED_AUTOGROUP was turned on by default which forces the use of
CGROUPS, conflicting with the options we offer from menuconfig, remove
that.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-04 19:33:32 +00:00
Florian Fainelli b5556f4129 mcs814x: switch to 3.18 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-04 18:01:26 +00:00
Florian Fainelli d030e21a01 mcs814x: add support for 3.18
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-04 18:01:07 +00:00
John Crispin 53e7f4a54a xburst: mark the asoc modules as BROKEN until the upstream fixes get merged
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 20:41:50 +00:00
John Crispin 2c66af96a6 ipq806x: enable usb3 packages in default profile
Default profile already enables usb2 so we'll do the same for usb3 now
that we have support for it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:38 +00:00
John Crispin 55bd704a1b ipq806x: add platform usb support
This change adds DWC3 QCOM USB phys and TCSR drivers. These are
cherry-picked from the following LKML threads:
*dwc3 qcom: https://lkml.org/lkml/2014/9/12/599
*tcsr: https://lkml.org/lkml/2015/2/9/579

We're also adding an additional patch to add the corresponding dev nodes
in the IPQ806x and AP148 dts files.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:30 +00:00
John Crispin 1569ab3bb0 kernel: add package for dwc3 usb driver used on ipq806x
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:21 +00:00
John Crispin e40babefe1 ipq806x: enable usb support
This change doesn't make USB functional but it does make it selectable
from a configuration perspective.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:11 +00:00
John Crispin 6faa325aef ipq806x: another missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:05:57 +00:00
Felix Fietkau 7b966b9174 linux: Add missing config options to generic configs
These missing options have been noticed while enabling the following
configuration options on ipq806x, but they're available in the standard
kernel:
*ARCH_QCOM
*CONFIG_USB_SUPPORT
*CONFIG_USB_DWC3
*CONFIG_MFD_SYSCON

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:48:10 +00:00
Felix Fietkau c3daf8ff1e ipq806x: clean-up kernel config file
Options that used to be in target config have been added to the generic
config file, so remove them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:47:51 +00:00
John Crispin a1743548d0 omap: add missing symbols
enabled by default like other TWL4030 symbols

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:32:01 +00:00
John Crispin d78a2ee33a omap: add profile for BeagleBoard
original BeagleBoard has no Ethernet
provide a profile with all available USB Ethernet adapters
EBVBeagle comes with a kmod-usb-net-mcs7830 compatible device

tested with BeagleBoard C4

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:51 +00:00
John Crispin 412cc3f997 omap: remove patch wlcore Add-support-for-DT-platform-data
- does not compile with 3.18
compile error: 'struct wl12xx_platform_data' has no member named 'gpio'

- different version was sent 2015 but cannot be tested by me
see "[PATCH v7 0/6] wlcore: add device-tree support" series
in linux-omap

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:32 +00:00
Rafał Miłecki 151d0e7548 bcm53xx: sprom: sync with mainline driver
The main difference now is bcm53xx registering it as platform (DT)
driver.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 12:02:56 +00:00
Rafał Miłecki 798bc562d9 bcm53xx: sprom: simplify reading NVRAM after last backports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 12:01:56 +00:00
John Crispin 2365640627 ipq806x: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 22:57:54 +00:00
Rafał Miłecki f7a510882f brcm47xx: backport two MIPS nvram.c patches
Also replace SPROM patch with (the same) mainlined version.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 20:23:37 +00:00
John Crispin e9ec2dd669 kernel: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:06:14 +00:00
John Crispin f9e85a0e4f ixp4xx: fix beeper module dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 09:03:13 +00:00
John Crispin 450ac46838 config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:33:04 +00:00
John Crispin a04e09d6a9 ipq806x: clean up kernel conf
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:32:29 +00:00
John Crispin ca4bf7b101 ipq806x: add support for 4.0 kernel
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:32:03 +00:00
John Crispin ce5a746e31 ipq806x: move 020-add-ap148-bootargs.patch in patches-3.18
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:52 +00:00
John Crispin 9f366431fc ramips: Add support for ZTE Q7
ZTE Q7 is a wireless router with SD Card,USB,1 ethernet port and a battery.It used MT7620a SoC.
I can,t find any information about this router on ZTE's website.
But I found this : http://en.cctairmobi.com/plus/list.php?tid=40
This router is the same as ZTE Q7 and later I found that both routers are made by the same company:-D

This patch adds support for it.
Because there is only one port,I disabled VLAN and use eth0 as lan port.
I could only create a sysupgrade firmware because I don't know how the orignal webpage check the uploaded image:-(

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:46 +00:00
John Crispin fca6f40539 kernel: add missing symbols to config and modules
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
v2: changes in input.mk broke the patch, some of the CONFIG_SND_*
    stuff was added already

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:26 +00:00
Rafał Miłecki af4bf61297 bcm53xx: use bcm47xx_nvram.c with the latest patches
This will be hopefully a mainline version.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 07:21:59 +00:00