Commit Graph

33945 Commits (b1c82b87fc31b4b6f0acae9d7239465712464954)

Author SHA1 Message Date
Imre Kaloz b1c82b87fc mvebu: generate a single firmware for the 385-db-ap
This has been done without having a board, but should work.

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 12:06:56 +00:00
Imre Kaloz 45bd4eaea3 mvebu: reflect Armada 38x support in the name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 11:30:39 +00:00
Steven Barth 3c6cc6fa06 dnsmasq: fix dnssec timestamp logic, backport crashfix
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 07:49:29 +00:00
Luka Perkov 07c5f60554 wpan: remove duplicate DEPENDS
Signed-off-by: Varka Bhadram <varkab@cdac.in>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-13 07:01:32 +00:00
Felix Fietkau 11943811ca bcm53xx: add a comment about the gpio base patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 22:10:44 +00:00
Felix Fietkau 0ece8f9904 kernel: bgmac: add more DMA related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 22:10:40 +00:00
Imre Kaloz 92266f56f4 ppc40x: upgrade to 3.18
left "broken" as I'm not sure if my only board is to blame.. testers welcomed

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:48:13 +00:00
Imre Kaloz fb8d699ae7 orion: upgrade to 3.18 (compile tested only)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:45:55 +00:00
Jo-Philipp Wich 9bbfae07d6 fstools: reject relative mount points
To prevent future confusion around '/overlay' vs. 'overlay' simply reject
relative path specifications as mount points since such paths result in
undefined behaviour anyway.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:34:31 +00:00
Rafał Miłecki 3121f1f9dc bcm53xx: try to handle Netgear R8000 VLANs config
It seems to have few ports connected to CPU (only for CPU sending data?)
as part of "SMP dual core 3 GMAC setup" feature.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 20:11:25 +00:00
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
John Crispin 4de0068887 modules: add missing imx6 depenedency to dwc2
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:34:44 +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 df1cdff437 modules: package the mvebu ahci driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 15:02:43 +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 99ad5c9c91 otrx: support for extracting partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-12 11:46:11 +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
Felix Fietkau 41e98ffca4 busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 19:34:45 +00:00
Felix Fietkau b6655204b3 kernel: remove leftover @ (#19454)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 12:23:36 +00:00
Felix Fietkau 7df2b75a96 netfilter.mk: remove bogus NAT related kernel module entries (#19451)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 12:22:39 +00:00
Felix Fietkau 6fdf1449f4 netfilter.mk: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 12:22:28 +00:00
Felix Fietkau be1a5684e7 netifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)
Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:52:01 +00:00
Felix Fietkau 9cfa923660 netifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)
Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:51:55 +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 2b0dd36cdd include: drop old kernel versions
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-11 10:28:20 +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 e7eaef8bc0 modules: fix postinst generation for kernel modules
Fixes ticket #19352.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 20:39:44 +00:00
Felix Fietkau 30be2eb4c4 librpc: update to the latest version, fixes musl compatibility issues (#19445)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 20:02:55 +00:00
John Crispin 4efc59d4e9 modules: more wpan fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 14:42:11 +00:00
John Crispin 52c0f36c88 modules: add missing wpan fakehard driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-10 13:39:38 +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