Commit Graph

31104 Commits

Author SHA1 Message Date
Felix Fietkau e8a45bfc15 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>

SVN-Revision: 45380
2015-04-11 10:52:01 +00:00
Felix Fietkau daaed6f251 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>

SVN-Revision: 45379
2015-04-11 10:51:55 +00:00
Luka Perkov bb828e30b0 imx6: add missing patches from 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45378
2015-04-11 10:46:20 +00:00
Felix Fietkau e8126cbfbd kernel: remove kernel module checks/dependencies for 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45377
2015-04-11 10:43:46 +00:00
Luka Perkov f4af7fe134 include: drop old kernel versions
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45376
2015-04-11 10:28:20 +00:00
Luka Perkov 8865505665 generic: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45375
2015-04-11 10:28:14 +00:00
Luka Perkov b66b0ae632 brcm47xx: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45374
2015-04-11 10:28:11 +00:00
Luka Perkov fc08d7a3eb adm8668: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45373
2015-04-11 10:28:06 +00:00
Luka Perkov b976ac8b86 mcs814x: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45372
2015-04-11 10:28:03 +00:00
Luka Perkov d21b92af8e imx6: drop 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45371
2015-04-11 10:28:00 +00:00
Luka Perkov 912a6371f8 imx6: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45370
2015-04-11 10:27:49 +00:00
Zoltan Herpai 4fd21b203e mxs: reinstate rootfs image creation and dtb copy
Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 45369
2015-04-10 21:36:33 +00:00
Zoltan Herpai db4ce3d16c mxs: Include the right kernel image in the rootfs
Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 45368
2015-04-10 21:34:21 +00:00
John Crispin bbad3f360e 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>

SVN-Revision: 45367
2015-04-10 20:39:44 +00:00
Felix Fietkau baef360adb librpc: update to the latest version, fixes musl compatibility issues (#19445)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45366
2015-04-10 20:02:55 +00:00
John Crispin e4bf2d73f6 modules: more wpan fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45365
2015-04-10 14:42:11 +00:00
John Crispin e20e49273b modules: add missing wpan fakehard driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45364
2015-04-10 13:39:38 +00:00
John Crispin 6d0ad03fac 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>

SVN-Revision: 45363
2015-04-10 13:39:33 +00:00
Felix Fietkau 9428c5609b kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45362
2015-04-10 11:52:59 +00:00
Felix Fietkau 42e950ec75 kernel: drop obsolete linux 3.10 related dependencies/checks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45361
2015-04-10 11:52:54 +00:00
Felix Fietkau e1f0a91dfe kernel: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45360
2015-04-10 11:52:47 +00:00
Steven Barth f9b0423836 odhcpd: send current hop-limit by default in RAs
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 45359
2015-04-10 11:52:42 +00:00
Steven Barth 0dbbbda4bf odhcp6c: move IPv6 /proc config to userspace and sanitize
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 45358
2015-04-10 11:33:15 +00:00
Jonas Gorski edaf5c31da kernel: fix kmod-ieee802154_6lowpan config symbol
Fixes build failure caught by buildbot:

IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks support (IEEE802154) [M/n/y/?] m
  6lowpan support over IEEE 802.15.4 (IEEE802154_6LOWPAN) [N/m/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2

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

SVN-Revision: 45357
2015-04-10 10:30:00 +00:00
Jonas Gorski 4e826d8303 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>

SVN-Revision: 45356
2015-04-10 10:29:04 +00:00
Jonas Gorski 61885f95f0 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>

SVN-Revision: 45355
2015-04-10 10:28:46 +00:00
Steven Barth 747c33859b dnsmasq: bump to 2.73rc4
Fix crash caused by malformed DNS requests
Improved DNSSEC handling

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

SVN-Revision: 45354
2015-04-10 10:19:17 +00:00
Rafał Miłecki 9d6e04a4f1 bcm53xx: build image for ASUS RT-AC56U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45353
2015-04-10 09:58:00 +00:00
Rafał Miłecki 71fcbffc91 bcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45352
2015-04-10 09:42:48 +00:00
John Crispin 2b95d21fdb hostapd: remove unused asprintf parameter
r45270 removed ieee80211n=%d from the format string but didn't remove
the parameter itself. Though this probably doesn't cause any harm, it's
quite confusing and unneeded.

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

SVN-Revision: 45351
2015-04-10 08:31:26 +00:00
John Crispin 7872f4e1dc iptables: revert r40916
it causes problems with newer iptables when ipv6 is disabled as iptc uncoditionally links ip6tc

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

SVN-Revision: 45350
2015-04-10 08:31:06 +00:00
John Crispin e7559353db wpan-tools: adds wpan-tools utility
This patch adds the wpan-tools (iwpan) utility to OpenWRT
build system. This utility required to manage IEE-802.15.4
devices.

Signed-off-by: Varka Bhadram <varkab@cdac.in>

SVN-Revision: 45349
2015-04-10 08:30:11 +00:00
John Crispin 5471e15bdb kernel: adds wpan related packages
This patch adds the IEEE-802.15.4 and 6LoWPAN related
packages.

Signed-off-by: Varka Bhadram <varkab@cdac.in>

SVN-Revision: 45348
2015-04-10 08:29:35 +00:00
John Crispin 3bc1f36e2b 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>

SVN-Revision: 45347
2015-04-10 08:29:26 +00:00
John Crispin e946028610 qca-nss-gmac: update to latest version
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45346
2015-04-10 08:29:05 +00:00
John Crispin 6adf864770 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>

SVN-Revision: 45345
2015-04-10 08:28:44 +00:00
John Crispin 8b5c250797 procd: fix compile error on x86_64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45344
2015-04-10 08:28:21 +00:00
John Crispin 3d248c4dee openssl: disable arm optimisation until we know why it fails on some socs
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45343
2015-04-10 08:27:55 +00:00
John Crispin 607a7a35be ralink: fix cevt-r4k hack
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45342
2015-04-10 08:27:44 +00:00
John Crispin 19b239d643 fstools: update to latest git HEAD
this fixes extroot on mvebu

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

SVN-Revision: 45341
2015-04-10 08:27:27 +00:00
Felix Fietkau 7b98f71f09 uci: update to the latest version, fixes a regression in handling empty/comment lines in uci batch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45340
2015-04-09 14:57:25 +00:00
John Crispin 093c341473 procd: add helper for starting NAND sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45339
2015-04-09 14:33:11 +00:00
John Crispin 5d8f9e03f1 base-files: add support for platform_pre_upgrade function
Current NAND sysupgrade process is a bit hard to follow due to the way
of triggering stage1. Currently this is done by leaving a /mark/ in the
form of /tmp/sysupgrade-nand-path during nand_do_platform_check.
Existence of this mark stops standard sysupgrade process (as the result
of sysupgrade_pre_upgrade exit). This may be a bit misleading.

Proposed solution adds a new function that will allow platform.sh
trigger NAND sysupgrade consciously. This will also allow cleaning
nand_do_platform_check limiting it to just checking the image.

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

SVN-Revision: 45338
2015-04-09 14:33:03 +00:00
John Crispin 4e21318600 modules: remove zd1201 package
it needs to be moved to compat-wireless

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

SVN-Revision: 45337
2015-04-09 10:33:26 +00:00
John Crispin 1d345d3e6b kernel: add rtl8723au driver (staging)
- move config symbol to separate package (Why was it there in the first place?)
- 8723au might be used in some USB sticks or on some sunxi boards

compile tested only

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

SVN-Revision: 45336
2015-04-09 10:33:16 +00:00
John Crispin f4edd1b918 generic/3.18: add missing wireless symbols
triggered by enabling RFKILL in global build options

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

SVN-Revision: 45335
2015-04-09 10:33:11 +00:00
John Crispin dcdd5c1ecb netifd: Interface last error support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45334
2015-04-09 10:33:05 +00:00
John Crispin 4b0211b547 ppp: Detailed last error support
Enables last error support for the PPP protocol handlers.
In generic teardown the PPP daemon exit code is translated into
a self explaining error string which is set as interface error
by proto_notify_error in case of failure.

Signed-off-by: Johan Peeters <johan.peeters111@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 45333
2015-04-09 10:32:54 +00:00
John Crispin 88fa9a8422 dnsmasq: Add option '--servers-file'
The option '--servers-file' is available since dnsmasq v2.69.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>

SVN-Revision: 45332
2015-04-09 10:32:46 +00:00
John Crispin b7f19a5b26 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>

SVN-Revision: 45331
2015-04-09 10:32:37 +00:00