Rafał Miłecki [Mon, 8 Jun 2015 12:50:47 +0000 (12:50 +0000)]
mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)
This fixes #19803
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45929
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Mon, 8 Jun 2015 12:50:38 +0000 (12:50 +0000)]
mac80211: backport today's brcmfmac changes
This adds support for SR400ac NVRAM and fixes
/sys/class/ieee80211/*/macaddress
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45928
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Mon, 8 Jun 2015 12:49:54 +0000 (12:49 +0000)]
kernel: backport config-related bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45927
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Mon, 8 Jun 2015 11:04:10 +0000 (11:04 +0000)]
netifd: bump to latest, various fixes
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45926
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Mon, 8 Jun 2015 07:38:13 +0000 (07:38 +0000)]
polarssl: bump to 1.3.11
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45925
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Mon, 8 Jun 2015 04:48:16 +0000 (04:48 +0000)]
dnsmasq: bump to 2.73rc9
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45924
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Mon, 8 Jun 2015 04:48:08 +0000 (04:48 +0000)]
dnsmasq: fix config file typo
s/loclal/local/
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45923
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sun, 7 Jun 2015 14:41:05 +0000 (14:41 +0000)]
bcm53xx: backport the latest 4.2 ARM BCM5302X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45922
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sun, 7 Jun 2015 10:09:10 +0000 (10:09 +0000)]
brcm47xx: refresh kernel config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45921
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 7 Jun 2015 07:32:35 +0000 (07:32 +0000)]
kernel: move a symbol from the ipq806x config to generic to prevent it from being nuked by make kernel_oldconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45920
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sun, 7 Jun 2015 07:22:11 +0000 (07:22 +0000)]
kernel: remove NAND flash related kmod-* packages
They are useless, as the platform already selects the right options for
NAND support. The main reason for removing them is the fact that it
makes kernel configs more annoying to maintain on platforms that provide
NAND drivers but disable them (e.g. ramips)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45919
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 7 Jun 2015 07:12:23 +0000 (07:12 +0000)]
ralink: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45918
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 6 Jun 2015 23:09:43 +0000 (23:09 +0000)]
hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45917
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sat, 6 Jun 2015 22:34:37 +0000 (22:34 +0000)]
bcm53xx: refresh kernel config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45916
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sat, 6 Jun 2015 17:52:53 +0000 (17:52 +0000)]
bcm53xx: fallback to default_do_upgrade if NAND upgrade fails
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45915
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sat, 6 Jun 2015 17:26:05 +0000 (17:26 +0000)]
bcm53xx: sysupgrade: drop useless shift in platform.sh
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45914
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sat, 6 Jun 2015 17:25:57 +0000 (17:25 +0000)]
brcm47xx: sysupgrade: drop useless shift in platform.sh
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45913
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sat, 6 Jun 2015 17:23:03 +0000 (17:23 +0000)]
bcm53xx: extract TRX from image on the fly
Extracting TRX to separated file in /tmp/ just wastes some RAM while we
can just pass a proper extracting command to the default_do_upgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45912
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Sat, 6 Jun 2015 17:05:31 +0000 (17:05 +0000)]
bcm53xx: sysupgrade: extract TRX partitions directly from vendor image
Extracting full TRX out of vendor format is not needed as otrx supports
passing TRX offset. This saves some RAM during sysupgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45911
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sat, 6 Jun 2015 13:50:00 +0000 (13:50 +0000)]
ppp: fix download URL
The file is not available at the older path any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45910
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sat, 6 Jun 2015 13:49:24 +0000 (13:49 +0000)]
grub: add download mirrors
Add three download mirrors for 'grub', as the Makefile currently defines only
one download location.
@GNU can not be used, as the most recent version of 'grub' is not available
at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.
Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45909
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Sat, 6 Jun 2015 13:48:57 +0000 (13:48 +0000)]
bc: add download mirrors
Add three download mirrors for 'bc', as the Makefile currently defines only
one download location.
@GNU can not be used, as the most recent version of 'bc' is not available at
the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.
Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45908
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Fri, 5 Jun 2015 21:49:57 +0000 (21:49 +0000)]
bcm53xx: update NVRAM driver to support getting contents
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45907
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Fri, 5 Jun 2015 20:41:18 +0000 (20:41 +0000)]
brcm47xx: backport MIPS BCM47XX changes queued for 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45906
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 18:21:53 +0000 (18:21 +0000)]
base-files: add openwrt snapshot key
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45905
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:12:45 +0000 (14:12 +0000)]
opkg: Fix --force-checksum when using SHA256
Allow installing packages with mismatching SHA256 checksums via
$ opkg install --force-checksum $PACKAGE
Signed-off-by: Florian Fieber <florian@florianfieber.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45904
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:12:34 +0000 (14:12 +0000)]
ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a
workaround to avoid confusing users.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45903
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:12:25 +0000 (14:12 +0000)]
ramips: Add support for RT5350F-OLinuXino V2
Version 2 : White spaces and alphabetical order problems
fixed
Support for Olimex RT5350F-OLinuXino Boards, tested with RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards. More Info :
https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/open-source-hardware
Signed-off-by: Dimitar Gamishev HeHoPMaJIeH <gamishev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45902
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:12:15 +0000 (14:12 +0000)]
brcm47xx: extract TRX from image on the fly
Extracting TRX to separated file in /tmp/ requires extra RAM which may
not be available on some chepaer devices. Instead of that lets pass a
proper extracting command to the default_do_upgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45901
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:12:05 +0000 (14:12 +0000)]
base-files: default_do_upgrade: accept & forward image extraction command
get_image allows passing 2nd argument that is used in a pipe for
extracting firmware from a non-native format. By accepting such command
in default_do_upgrade we allow platforms to use this helper for vendor
specific images.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45900
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:11:51 +0000 (14:11 +0000)]
lantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDs
This fixes the LAN2 LED on Arcadyan VGV7510KW22.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45899
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:11:45 +0000 (14:11 +0000)]
uboot-lantiq: Add Arcadyan VGV7510KW22 support
This is already applied in Daniel's ("upstream") tree and thus will be
part of upcoming version(s).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45898
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 5 Jun 2015 14:11:36 +0000 (14:11 +0000)]
lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 09:00:02 +0000 (09:00 +0000)]
mtd: add missing <endian.h> include
trx.c in mtd would not include endian.h, so on systems that do not have
this header implicitly included from the other headers (like musl), both
__BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to
it always presuming a big-endian system. this would lead to issues when
running mtd fixtrx on little-endian systems, as it would never recognize
the TRX magic as result of the broken STORE32_LE() macro.
Signed-off-by: Shiz <hi@shiz.me>
Tested-by: Shiz <hi@shiz.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45896
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 08:59:57 +0000 (08:59 +0000)]
ramips: improve tx clean up and add fe_tx_ring struct
if there is any new tx need to clean up. do it in next napi poll.
collect tx related members to fe_tx_ring struct. for better
cache usage and more readable.
Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45895
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 08:59:48 +0000 (08:59 +0000)]
ramips: change ethernet napi interrupt sequence
when open device. first ready napi software rx.
then enable hardware interrupt.
final start software tx queue to send data.
Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45894
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 08:59:42 +0000 (08:59 +0000)]
ramips: fix ethernet vlan tx offload support check when delete
Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45893
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 08:07:41 +0000 (08:07 +0000)]
ramips: fix the memory map on FireWRT
Avoid the use of memory marked as reserved
MT7621 support 512MB memory.
According to "MT7621_ProgrammingGuide_Preliminary_Platform.pdf"
0x0~0x1c000000 448MB
0x20000000~0x4000000 64MB
total 512MB
Signed-off-by: wengbj <fl.service@t-firefly.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45892
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 5 Jun 2015 08:07:35 +0000 (08:07 +0000)]
kernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems with >256M RAM
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45891
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 4 Jun 2015 21:45:24 +0000 (21:45 +0000)]
ramips: use highmem on the FireWRT board
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45890
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 4 Jun 2015 21:45:12 +0000 (21:45 +0000)]
ramips: enable highmem support for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45889
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 4 Jun 2015 21:45:01 +0000 (21:45 +0000)]
ramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues with kernel_menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45888
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 4 Jun 2015 21:44:52 +0000 (21:44 +0000)]
gmp: disable assembly to fix build on systems that use PIE binaries
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45887
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Thu, 4 Jun 2015 20:08:39 +0000 (20:08 +0000)]
musl: update to version 1.1.9
Patch to 2015-06-04 to fix ldso related regressions on PPC and MIPS.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45886
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Thu, 4 Jun 2015 05:44:44 +0000 (05:44 +0000)]
Add sch_fq and sch_pie to the kmod-sched package.
These are two new packet schedulers introduced in Linux 3.12 and 3.14
respectively. sch_fq is a perfect fairness queueing scheduler that also
adds pacing on host TCP flows, and sch_pie is an AQM.
Having them available in kmod-sched makes it easier for people to test
these new queueing schemes.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45885
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Wed, 3 Jun 2015 13:59:14 +0000 (13:59 +0000)]
lldpd: add option to disable custom TLVs
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45884
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Wed, 3 Jun 2015 13:59:08 +0000 (13:59 +0000)]
procd: work around a event race
there is a conceptual design flaw in our interface events. workaround this by
disabling duplicate message supression in procd. we need to fix this properly
for the next release
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45883
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Wed, 3 Jun 2015 13:58:57 +0000 (13:58 +0000)]
lantiq: Make the CRC32 poly value configurable per device
This also adds the old hardcoded value to the VGV7519BRN profile to make
sure that images are still generated correctly.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45882
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Wed, 3 Jun 2015 13:58:48 +0000 (13:58 +0000)]
tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimg
VGV7519 is currently the only device with brnboot support. It seems to
be happy with 0x2083b8ed as CRC32 poly. However, VGV7510KW22 fails to
validate the checksum - it requires 0x04c11db7 instead.
I have built an brnboot image manually on the command line, once with
the old code and then with the new code but passing the old CRC32
poly value. Both resulted in a brnboot image with the same sha1sum.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45881
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Wed, 3 Jun 2015 13:58:30 +0000 (13:58 +0000)]
ipq806x: missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45880
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Wed, 3 Jun 2015 00:22:51 +0000 (00:22 +0000)]
Revert "musl: update to version 1.1.9" (r45754)
The current version seems to be broken on MIPS.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45879
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Tue, 2 Jun 2015 21:54:54 +0000 (21:54 +0000)]
ncurses: Fix building with gcc 5.1
This patch is taken from the gentoo guys who extracted this from a large
upstream commit (with many unrelated changes).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45878
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Hauke Mehrtens [Tue, 2 Jun 2015 20:01:21 +0000 (20:01 +0000)]
kernel: add broadcom phy driver
This adds the Broadcom phy driver.
This also loses #19545.
Thank you bigtman43
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45877
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Tue, 2 Jun 2015 12:03:20 +0000 (12:03 +0000)]
procd: add a 10 second delay to the interface triggers
this is an ugly hack that will be removed when the netifd maintainers
have time to look at the problem.
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45876
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Tue, 2 Jun 2015 10:23:45 +0000 (10:23 +0000)]
brcm63xx: fix livebox image generation
Livebox does need the uncompressed kernel, so just create it during
image generation.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45875
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Tue, 2 Jun 2015 08:47:21 +0000 (08:47 +0000)]
ath9k: fix an issue with stopping rx/tx dma on AR93xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45874
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Tue, 2 Jun 2015 08:39:19 +0000 (08:39 +0000)]
hostapd: add a new option to control HT coexistance separate from noscan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45873
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Mon, 1 Jun 2015 20:11:45 +0000 (20:11 +0000)]
kernel: remove stmmac kernel package
We just moved the stmmac support in the kernel for ipq806x. Therefore,
nobody needs this driver so we'll just get rid of it.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45872
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Mon, 1 Jun 2015 20:11:35 +0000 (20:11 +0000)]
ipq806x: move stmmac support in the kernel binary
Ethernet GMAC is built-in the SoC, so there is no need to enable it as a
module. We'll just assume we need it. That's what is done for other
platform where this driver is used so it'll make things more consistent.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45871
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Mon, 1 Jun 2015 18:00:35 +0000 (18:00 +0000)]
include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45870
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Mon, 1 Jun 2015 12:37:34 +0000 (12:37 +0000)]
brcm63xx: delete uncompressed kernels after use
Delete the dtb appended, uncompressed kernels after having compressed
them, so they don't end in the image builder.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45869
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Mon, 1 Jun 2015 12:37:24 +0000 (12:37 +0000)]
lantiq: fix VG3503J rootfs offset
In r44391 the kernel partion size was increased to allow larger kernels,
but the rootfs partition offset was missed. Fix this by setting the
rootfs offset to the expected value.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45868
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Steven Barth [Mon, 1 Jun 2015 08:31:13 +0000 (08:31 +0000)]
odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45867
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Mon, 1 Jun 2015 06:15:39 +0000 (06:15 +0000)]
imagebuilder: create cache directory if needed (#18629)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45866
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Rafał Miłecki [Mon, 1 Jun 2015 06:11:26 +0000 (06:11 +0000)]
kernel: backport ssb fix for WRT350N v1 (BCM4705) reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45865
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Mon, 1 Jun 2015 06:03:52 +0000 (06:03 +0000)]
au1000: add a missing dependency to the pcmcia module
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45864
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Mon, 1 Jun 2015 04:31:45 +0000 (04:31 +0000)]
iwinfo: fix segfault in mtd parsing code (#19768)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45863
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 31 May 2015 17:46:24 +0000 (17:46 +0000)]
kernel: bluetooth: Add dependency to kmod-crypto-ecb
Add dependency of kmod-crypto-ecb to kmod-bluetooth to avoid the kernel warning
"Bluetooth: Unable to create crypto context".
Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45860
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 31 May 2015 17:46:09 +0000 (17:46 +0000)]
lldpd: disable xml explicitly
This prevents auto-detection of libxml2 and thus the error:
Package lldpd is missing dependencies for the following libraries:
libxml2.so.2
Preventing a dependency to libxml2 is preferred, since libxml2
would be a out-of-(core-)tree dependency.
Reported-by: Buildbot
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45859
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 31 May 2015 17:45:54 +0000 (17:45 +0000)]
ca-certificates: update to version
20150426
update to version
20150426
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45858
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sun, 31 May 2015 17:45:43 +0000 (17:45 +0000)]
malta: add default network configuration
I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45857
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 30 May 2015 23:08:57 +0000 (23:08 +0000)]
mac80211: make netifd script create AP interface directly
Before starting hostapd we create interface for it. The problem is we
try to create STA interface just to let hostapd change it to AP later.
It may fail if device doesn't support STA interfaces or if we already
hit a limit. Consider following phy (it's from BCM43602 and brcmfmac):
$ iw phy phy0 info | tail
valid interface combinations:
* #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 1
Trying to setup 2 interfaces: STA + AP results in:
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf
radio0 (1101): Could not read interface wlan0-1 flags: No such device
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45856
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 30 May 2015 22:55:50 +0000 (22:55 +0000)]
ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images
Building the loader in Image/Build/TPLINK-SAFELOADER would break the image
builder as no target compiler is available in that stage.
Fixes #19580
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45855
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 30 May 2015 22:55:40 +0000 (22:55 +0000)]
ar71xx: add Image/BuildLoaderPatched macro
In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the
kernel command line in the image and then builds the loader without command
line. This allows building loaders for systems which don't boot correctly when
the kernel command line is provided by the loader (like the TP-LINK CPE series).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45854
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sat, 30 May 2015 21:14:33 +0000 (21:14 +0000)]
uhttpd: use 307 for HTTPS redirections to retain request method
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45853
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sat, 30 May 2015 20:55:14 +0000 (20:55 +0000)]
uhttpd: add support for enforcing https
Also set HTTPS environment variable for CGI programs on SSL connections.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45852
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sat, 30 May 2015 20:28:57 +0000 (20:28 +0000)]
lantiq: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45851
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sat, 30 May 2015 14:05:40 +0000 (14:05 +0000)]
uhttpd: inhibit chunked transfer encoding for static file responses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45850
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Sat, 30 May 2015 13:57:54 +0000 (13:57 +0000)]
kernel: kmod-stmmac depends on kmod-libphy
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45849
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Sat, 30 May 2015 13:16:23 +0000 (13:16 +0000)]
kernel: upstream fix: mount overlayfs r/o if workdir cannot be created
move the patch to the proper folder
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45848
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 30 May 2015 09:39:37 +0000 (09:39 +0000)]
ramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45847
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Sat, 30 May 2015 09:01:41 +0000 (09:01 +0000)]
ramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45846
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 22:42:32 +0000 (22:42 +0000)]
ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45845
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 21:42:06 +0000 (21:42 +0000)]
ramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45844
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 21:25:23 +0000 (21:25 +0000)]
ramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45843
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 21:13:28 +0000 (21:13 +0000)]
ramips: implement sysupgrade support for whr-300hp2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45842
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 29 May 2015 15:08:29 +0000 (15:08 +0000)]
uboot-omap: allow generating dummy ipks, fixes omap imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45841
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jonas Gorski [Fri, 29 May 2015 14:39:12 +0000 (14:39 +0000)]
ixp4xx: use usb-*-pci where appropriate
Most boards use pci connected usb controllers, so make sure to include
the pci drivers.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45840
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Jo-Philipp Wich [Fri, 29 May 2015 13:55:26 +0000 (13:55 +0000)]
sunxi: correct default package selection, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45839
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 13:41:41 +0000 (13:41 +0000)]
ar71xx: use Image/BuildKernel/Initramfs template to fix image builder errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45838
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 13:41:31 +0000 (13:41 +0000)]
build: do not call initramfs build from within the image builder
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45837
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 13:41:21 +0000 (13:41 +0000)]
build: in new image building code, do not rebuild kernel images in the image builder
Some kernel images need to be wrapped in a loader, which cannot be built
without a working toolchain.
Also, this speeds up the image builder run.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45836
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 13:41:02 +0000 (13:41 +0000)]
build: store initramfs kernels in $(KDIR)/tmp - prevents them from being included in the image builder tarball
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45835
3c298f89-4303-0410-b956-
a3cf2f4a3e73
Felix Fietkau [Fri, 29 May 2015 13:40:55 +0000 (13:40 +0000)]
build: store firmware images in $(KDIR)/tmp - prevents them from being included in the image builder tarball
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45834
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 29 May 2015 12:36:42 +0000 (12:36 +0000)]
generic: mount overlayfs r/o if workdir cannot be created
This is the case e.g. if JFFS2 partition is full.
see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html
(a small error in a logmessage was changed and reported upstream)
runtime tested on ar71xx with kernel 3.18.11 and r45772
this paritially fixes #19564
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45833
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 29 May 2015 12:26:07 +0000 (12:26 +0000)]
qca-nss-gmac: delete package
nss-gmac has been replaced by its upstream counterpart "stmmac", to
which we added the SoC glue layer required for it to run on IPQ806x.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45832
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 29 May 2015 12:26:01 +0000 (12:26 +0000)]
ipq806x: replace caf nss-gmac driver by upstream stmmac
This driver has been cherry-picked and backported from the following
LKML thread:
*https://lkml.org/lkml/2015/5/26/744
It also updates the DT accordingly.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45831
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 29 May 2015 12:25:44 +0000 (12:25 +0000)]
ipq806x: enable kernel support for Fixed PHY emulation
Most ipq806x platforms use an ethernet switch, and the new upstream
GMAC driver makes use of the Fixed PHY emulation to force the link
settings despite the lack of PHY.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45830
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 29 May 2015 12:25:34 +0000 (12:25 +0000)]
kernel: add stmmac as a new kernel package
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45829
3c298f89-4303-0410-b956-
a3cf2f4a3e73
John Crispin [Fri, 29 May 2015 12:25:29 +0000 (12:25 +0000)]
kernel: add missing STMMAC options in generic configs
STMMAC_PLATFORM and STMMAC_PCI have been added recently in the kernel,
but show up only when STMMAC driver is enabled. So se'll add it in the
generic config, so the kernel build doesn't stall whenever we enable
this driver.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45828
3c298f89-4303-0410-b956-
a3cf2f4a3e73