Commit Graph

15115 Commits (2eefe25c593a53d8c1c3ebe518d459dbd697e0f4)

Author SHA1 Message Date
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
Gabor Juhos 7ec7ce2b16 ar71xx: fix platform device support in the gpio-74x164 driver
Platform device support has been removed from the gpio-74x164
driver in 3.14. Restore that.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 21:31:36 +00:00
Rafał Miłecki e0a26a30f5 brcm47xx: image: share function checking TRX in provided firmware
This will allow us to calculate crc32 in a shared code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 21:16:19 +00:00
Imre Kaloz 47e58dff53 mvebu: use CONFIG_MANGLE_BOOTARGS
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:27:59 +00:00
Imre Kaloz eb317e6a8c mvebu: add missing a38x dts labels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:23:32 +00:00
Imre Kaloz 5764ab1625 generic/4.0: upgrade to 4.0-rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:22:28 +00:00
Imre Kaloz 5d823c725d generic/3.18: upgrade to 3.18.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:21:13 +00:00
Imre Kaloz 6f5acae617 generic: add CONFIG_MANGLE_BOOTARGS and disable it by default
Enabling this option renames the bootloader supplied root=
and rootfstype= variables, which might have to be know but
would break the automatisms OpenWrt uses.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:18:03 +00:00
Imre Kaloz 6a7e2baea5 mvebu: deal with the new path in the fan control script for Linux 4.0+
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:12:27 +00:00
Gabor Juhos 472f5abe11 kernel: update yaffs code to the latest version
Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit 7e5cf0fa1b694f835cdc184a8395b229fa29f9ae
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Aug 7 11:25:05 2014 +1200

    yaffs-direct: Basic tests. Add lpthread flag for background gc support

    Signed-off-by: Charles Manning <cdhmanning@gmail.com>

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 15:31:57 +00:00
Zoltan HERPAI 95bf947c53 kernel: add a couple missing symbols for 4.0
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 13:23:46 +00:00
Rafał Miłecki 17fbc25bfe brcm47xx: image: convert legacy Linksys & Netgear devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 12:44:31 +00:00
Rafał Miłecki 64f0331645 brcm47xx: image: convert generic subtarget to the new images system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 12:17:08 +00:00
Rafał Miłecki 30415365f9 brcm47xx: image: convert all mips74k images to the new building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 11:26:50 +00:00
Rafał Miłecki 7e7dbbab82 brcm47xx: image: add helpers for defining devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 11:26:45 +00:00
Jonas Gorski ac90ac82d4 brcm63xx: fix zyxel kernel name
Accidentally left over development artifact.

Reported-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 09:54:15 +00:00
Rafał Miłecki 1439dfce9d brcm47xx: image: use standard KERNEL_IMAGE to avoid warnings
KERNEL_IMAGE is used as target rule so reusing the same name causes:
Makefile:326: warning: overriding recipe for target `bin/brcm47xx/vmlinux.lzma'
Makefile:326: warning: ignoring old recipe for target `bin/brcm47xx/vmlinux.lzma'
Makefile:326: warning: overriding recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma'
Makefile:326: warning: ignoring old recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma'

Unfortunately this will cause copying vmlinux.lzma over and over like:
cp vmlinux.lzma FOO-kernel.bin
which is redundant on brcm47xx where we never modify kernel image.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 08:56:08 +00:00
Gabor Juhos 216dab75c6 ar71xx/mikrotik: disable atnoher two non MikroTik boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 08:30:56 +00:00
Gabor Juhos 9c4a41e06a ar71xx/mikrotik: disable non MikroTik boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:56:25 +00:00
Gabor Juhos 3b57200cc2 ar71xx/mikrotik: use correct symbol to disable overlayfs
The Kconfig symbol has been changed in 3.18.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:56:22 +00:00
Rafał Miłecki 72ab9faabe brcm47xx: fix checking cross-vendors firmware images
This change won't allow installing e.g. Netgear firmware on Linksys
device.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:26:30 +00:00
Rafał Miłecki e71054978c brcm47xx: update Linksys firmwares (add new E2500 versions)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:26:22 +00:00
Rafał Miłecki dc93714809 brcm47xx: display all errors (not just the 1st one) when checking image
This way people forcing upgrade will know what may go wrong.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 06:05:35 +00:00
Rafał Miłecki 424fce3afe brcm47xx: recognize more device specific firmwares
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 05:39:33 +00:00
Rafał Miłecki c81de32363 brcm47xx: compare provided firmware magic with device magic
This makes sysupgrade reject firmware images for different devices.
Right now only support for 2 sample devices is implemented.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 22:06:11 +00:00
Jonas Gorski 2b715d9c70 brcm63xx: don't build non-dtb kernels anymore
Now that all supported boards have an dts there is no need for a
dtb free kernel anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:24 +00:00
Jonas Gorski faf1eacb76 brcm63xx: move DSL-275XB to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:15 +00:00
Jonas Gorski c398cda77b brcm63xx: move bcm6318 reference boards to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:07 +00:00
Jonas Gorski 7253835d7c brcm63xx: move VG50 to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:01 +00:00
Jonas Gorski 578883791e brcm63xx: move V2110 to DT
Also readd image generation which was accidentally dropped in r43364.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:49 +00:00
Jonas Gorski 727bb039c8 brcm63xx: use relocate to move the kernel back to start of ram
Appearently the kernel only uses kernel above it, so moving it to an
higher address causes a lot of unavailable memory (#19327).

Also move the on-flash kernel to 0x80a0000, as newer CFEs don't like
uncompressing there (net-booting an ELF kernel is fine, though).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:15 +00:00
Jonas Gorski 0f8ce34917 generic: relocate: make the cacheline size configurable
Different targets have different cache line sizes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:10 +00:00
Jonas Gorski 5c7193d17b ramips: move relocating loader to common location
Allow other targets to use it, too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:08 +00:00
Gabor Juhos 0d349dc5fe ar71xx/mikrotik: re-enable 4KiB flash sector erase
The setting has been lost during the transition to 3.18.
The CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE option is not
available anymore, so use CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 19:57:52 +00:00
Gabor Juhos 001f9c0877 ar71xx: re-enable AR8216_PHY_LEDS
The setting has been lost during the transition to 3.18.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 18:12:54 +00:00
Gabor Juhos 5f1330a07b ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 18:12:50 +00:00
John Crispin a67797adae xburst: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:47:51 +00:00
Steven Barth a9835adcb0 kernel/generic: (try) fixing MAP-E patch broken in 4.0
Now it at least compiles, otherwise untested.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 08:48:51 +00:00
Rafał Miłecki 9ccaa113ab brcm47xx: convert Netgear WNDR3700 V3 to the new image building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 19:53:11 +00:00
Rafał Miłecki f3524e5d5c brcm47xx: convert Linksys E1200 V2 to the new image building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 18:15:38 +00:00
John Crispin 6d82dac68c ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC
There were a few issues with the existing code to detect the model string:
* Always using the string starting with byte 56 would cut off the W of WNDR when
  the ID starts with 29763654+16+64 instead of 29763654+16+128
* The string contained garbage after the zero byte instead of cutting it off
  after the zero (which wasn't always visible using busybox tools, but could
  confuse other scripts)

Tested on a WNDR3700v1 and a WNDR3700v2 using the new 29763654+16+64 ID in the
ART. Furthermore, tested against ART dumps of a WNDR3700v2 using the old
$'\xff...' value and a WNDR3800.

The [ -z "$model" ] check was dropped as there is no way to actually hit this
unless no ART partition is found at all.

The awk command was carefully crafted to work both with gawk and the (horribly
broken) busybox awk.

Fixes #18992.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 12:58:01 +00:00
Imre Kaloz 2acfd7ff0d x86_64: add description, maintainership
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 12:17:39 +00:00
Felix Fietkau bdf3aed117 arm64: remove bogus CONFIG_WIRELESS/CONFIG_WLAN overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:36:17 +00:00
Luka Perkov 22c2544ec4 imx: add initial version of 3.18 support
This is build tested only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 05:48:56 +00:00
Luka Perkov 8c8ce63d33 kernel: add few missing symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:50:16 +00:00
Luka Perkov 2382a25cfc kernel: add symbol
Several targets are not using EMAC_ROCKCHIP so define it in generic config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:43:59 +00:00
Felix Fietkau 2d9f8febf2 x86: add myself as maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:32:15 +00:00
Felix Fietkau 795063e4bd x86: make x86_64 a subtarget instead of a standalone target
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:32:01 +00:00
Felix Fietkau a12f75fc15 x86: remove bogus bzImage copy that breaks initramfs+no-initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:31:35 +00:00
Felix Fietkau 39d3717ce3 kernel: fix linux/spi/spidev.h portability issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:28:24 +00:00
Felix Fietkau 0807e2cc20 kernel: clean up fq_codel default patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:28:02 +00:00
Florian Fainelli 10cbf87e76 adm8668: switch to 3.18
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 18:18:50 +00:00
Florian Fainelli cdcb00cdde adm8668: add 3.18 support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 18:18:38 +00:00
Florian Fainelli 5dbf2d51cd kernel: refresh 3.18 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 18:17:46 +00:00
Felix Fietkau 0af24edcef arm64: update to linux 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 13:38:52 +00:00
Felix Fietkau f01fd8e50b brcm63xx: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 13:21:09 +00:00
Felix Fietkau 35996331c3 mxs: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 13:21:04 +00:00
Felix Fietkau 1aba8fdbbb rb532: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 13:20:58 +00:00
Felix Fietkau 29491411cd uml: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-28 13:20:52 +00:00