nbd [Fri, 29 Jan 2016 00:38:49 +0000 (00:38 +0000)]
kernel: remove .config.prev when running make kernel_*config to fix rebuild errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48545
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 22:58:54 +0000 (22:58 +0000)]
linux-firmware: update to the commit from 2016-01-25
This adds e.g. BCM4350 rev 5 and BCM4366 firmwares (not packaged yet).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48544
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:49 +0000 (22:42 +0000)]
malta: move to 4.4 kernel
Linux now has device tree support for malta. The patch for correcting
/proc/iomem content is not needed now. Previously it was
root@(none):/# cat /proc/iomem
00000000-
00000fff : reserved
00001000-
000effff : System RAM
000f0000-
000fffff : reserved
00100000-
0fffefff : System RAM
00100000-
003f2b6b : Kernel code
003f2b6c-
00485937 : Kernel data
...
Now it's
root@OpenWrt:/# cat /proc/iomem
00000000-
0fffefff : System RAM
00100000-
004a3297 : Kernel code
004a3298-
0057cfff : Kernel data
...
The kernel config was prepared as follows
1. cp target/linux/malta/config-{3.18,4.4}
2. make kernel_menuconfig CONFIG_TARGET=subtarget_platform
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48543
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:44 +0000 (22:42 +0000)]
tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible builds
This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot,
which landed upstream circa July 2015. Note that this "host" u-boot repo is
only used to compile the 'mkimage' utility, and isn't used to actually compile
a bootloader for any target.
This patch could be removed if/when the host u-boot package is updated to a
contemporary version (but there doesn't seem to be any motivation/need to do
so).
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix portability error, refresh patches]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48542
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:34 +0000 (22:42 +0000)]
include/kernel: add custom USER/DOMAIN config options
These allow the generated kernel's build metadata to be defined explicitly.
This metadata is reported, eg, at boot time and in `uname -a` on running
systems. If the variables aren't configured, the current build system username
and hostname are used as normal.
The motivation for this option is to achive reproducible (bit-for-bit
identical) kernel builds of official openwrt releases.
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48541
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:29 +0000 (22:42 +0000)]
include/kernel: sort module lists for reproducibility
This is to get reproducible builds of, eg, the kmod-sched ipkg.
Locale preferences can change build order, but the locale is already been
defined for the entire build process, so it doesn't need to be specified here.
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48540
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:25 +0000 (22:42 +0000)]
busybox: disable timestamp in version
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48539
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:18 +0000 (22:42 +0000)]
Makefile: set timezone to UTC
This is necessary for reproducible image builds.
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48538
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:14 +0000 (22:42 +0000)]
hostapd: remove useless TLS provider selection override for wpad-mesh/wpa_supplicant-mesh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48537
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 22:42:10 +0000 (22:42 +0000)]
mac80211: merge a bunch of pending fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48536
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 22:38:37 +0000 (22:38 +0000)]
bcm53xx: basic support for Seama format in sysupgrade
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48535
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 22:38:30 +0000 (22:38 +0000)]
mtd: allow writing Seama files to "firmware" on Broadcom targets
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48534
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 22:38:23 +0000 (22:38 +0000)]
oseama: small util for reading Seama image format info
It's similar to otrx, we need this tool for handling sysupgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48533
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 18:20:06 +0000 (18:20 +0000)]
openssl: update to 1.0.2f (fixes CVE-2016-0701, CVE-2015-3197)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48531
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 18:19:59 +0000 (18:19 +0000)]
x86: remove redundant default network config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48530
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 17:20:10 +0000 (17:20 +0000)]
hostapd: fix mesh interface bridge handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48529
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 17:19:48 +0000 (17:19 +0000)]
hostapd: fix wpad-mesh and wpa-supplicant-mesh configuration issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48528
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 17:19:13 +0000 (17:19 +0000)]
hostapd: update to version 2016-01-15
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48527
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 14:13:01 +0000 (14:13 +0000)]
ramips: make tp-link firmware size errors non-fatal
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48526
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 13:13:14 +0000 (13:13 +0000)]
kernel: fix USB on mpc85xx (#21689)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48525
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 11:23:50 +0000 (11:23 +0000)]
uclient: update to the latest version, fixes connection timeout handling (#21726)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48524
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 11:22:49 +0000 (11:22 +0000)]
libubox: update to the latest version, adds usock_inet_timeout() with RFC6555 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48523
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 08:51:58 +0000 (08:51 +0000)]
bcm53xx: fix MD5 in Seama format on flash after installing OpenWrt
We need to fix Seama just like we fix TRX due to the rootfs mark.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48522
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 08:51:52 +0000 (08:51 +0000)]
mtd: enable "fixseama" on bcm53xx
There are D-Link bcm53xx devices using Seama format.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48521
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 08:51:46 +0000 (08:51 +0000)]
bcm53xx: enable earlyprintk and all RAM on DIR-885L
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48520
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 07:01:23 +0000 (07:01 +0000)]
bcm53xx: add D-Link DIR-885L DT patch
We don't build image for this device yet.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48519
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 07:01:17 +0000 (07:01 +0000)]
bcm53xx: replace iproc regression fix with the final one
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48518
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 07:01:09 +0000 (07:01 +0000)]
bcm53xx: use two upstream USB bcma patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48517
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Thu, 28 Jan 2016 07:00:44 +0000 (07:00 +0000)]
kernel: backport more 4.6 bcma stuff needed for new chipsets
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48516
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 28 Jan 2016 00:26:38 +0000 (00:26 +0000)]
build: filter out -fno-plt for the kernel build, fixes #21712
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48515
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 27 Jan 2016 23:58:19 +0000 (23:58 +0000)]
mt76: update to the latest version, adds some tx path and protection mode register fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48514
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 27 Jan 2016 21:40:43 +0000 (21:40 +0000)]
kernel: add missing config symbols for kmod-crypto-hw-talitos
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48513
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 27 Jan 2016 21:39:16 +0000 (21:39 +0000)]
kernel: change the OF mtd mac address patch to prefer mtd-mac-address over other properties
Fixes MAC address on TL-WDR4900
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48512
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Wed, 27 Jan 2016 20:47:44 +0000 (20:47 +0000)]
brcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48511
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Wed, 27 Jan 2016 12:44:07 +0000 (12:44 +0000)]
bcm53xx: switch to kernel 4.4
Initially 4.4 didn't work on bcm53xx because network was breaking few
seconds after setting interfaces. It's fixed since r48059 (switching
from 4.4-rc5 to 4.4-rc7).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48510
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Wed, 27 Jan 2016 10:40:58 +0000 (10:40 +0000)]
bcm53xx: detect Seama sysupgrade format
It's used e.g. by D-Link devices. We don't support it yet.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48509
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 26 Jan 2016 16:45:11 +0000 (16:45 +0000)]
ramips: fix image size checks for Buffalo WSR-1166 and WSR-600
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48508
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Tue, 26 Jan 2016 15:27:42 +0000 (15:27 +0000)]
generic: mark CONFIG_SUNXI_SRAM as not set
It is marked like this on most targets.
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48507
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Tue, 26 Jan 2016 11:30:45 +0000 (11:30 +0000)]
generic: 4.4: refresh patches
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48506
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 26 Jan 2016 09:32:22 +0000 (09:32 +0000)]
ubus: update to the latest version, fixes a memory leak on client disconnect
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48505
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 26 Jan 2016 08:39:21 +0000 (08:39 +0000)]
build: do not deselect CONFIG_USE_SSTRIP if CONFIG_DEBUG is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48504
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 26 Jan 2016 00:10:19 +0000 (00:10 +0000)]
ustream-ssl: update to the latest version, fixes hostname validation with openssl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48503
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Mon, 25 Jan 2016 23:29:18 +0000 (23:29 +0000)]
x86: add BACKLIGHT_APPLE configuration option
This closes #21713.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48502
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Mon, 25 Jan 2016 23:26:19 +0000 (23:26 +0000)]
musl: fix mips vdso handling
mips returns -ENOSYS in case it can not handle the vdso call and wants
the libc to call the original syscall in such a case. This fixes the
patch to add such handling. I hope this fixes the random reboots I got.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48501
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 23:05:49 +0000 (23:05 +0000)]
usign: force installation to $(STAGING_DIR_HOST)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48500
3c298f89-4303-0410-b956-
a3cf2f4a3e73
luka [Mon, 25 Jan 2016 22:54:52 +0000 (22:54 +0000)]
kirkwood: drop 4.3 support
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48499
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Mon, 25 Jan 2016 21:44:48 +0000 (21:44 +0000)]
kernel: update kernel 4.3 to version 4.3.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48498
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Mon, 25 Jan 2016 21:44:12 +0000 (21:44 +0000)]
kernel: update kernel 4.1 to version 4.1.16
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48497
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Mon, 25 Jan 2016 21:43:26 +0000 (21:43 +0000)]
kernel: update kernel 3.18 to 3.18.26
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48496
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Mon, 25 Jan 2016 17:47:22 +0000 (17:47 +0000)]
dnsmasq: Don't add local hostname if ula prefix is not specified
Commit
6a7e56b adds support for adding local hostname for own lan ula adress
but if ula prefix is not specified results into an invalid config (address=/OpenWrt.lan/1)
causing dnsmasq not to start up.
Use lanaddr6 when adding local hostname as the lan ula address is constructed based on the
UCI parameters ip6hint and ip6ifaceid and thus not always ula prefix suffixed with 1
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48495
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 17:42:25 +0000 (17:42 +0000)]
package/uhttpd: generate 2048 bit RSA key
RSA keys should be generated with sufficient length.
Using 1024 bits is considered unsafe.
In other packages the used key length is 2048 bits.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48494
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 16:30:41 +0000 (16:30 +0000)]
base-files: remove default /etc/config/network, generate it via board.d instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48493
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 15:49:49 +0000 (15:49 +0000)]
include/cmake.mk: search in $(STAGING_DIR)/usr instead of plain $(STAGING_DIR) to avoid picking up stuff from host/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48492
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 15:49:44 +0000 (15:49 +0000)]
include/cmake.mk: adjust for STAGING_DIR_HOST split
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48491
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 15:49:36 +0000 (15:49 +0000)]
mac80211: add iremap cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48490
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 15:49:31 +0000 (15:49 +0000)]
build: use -iremap feature to replace __FILE__ absolute path names in packages with ones relative to $(BUILD_DIR)
improves reproducible builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48489
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Mon, 25 Jan 2016 15:04:29 +0000 (15:04 +0000)]
iwinfo: add support for VHT rates to Lua binding
Update to Git HEAD in order to include VHT rate support in the Lua binding.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48488
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Mon, 25 Jan 2016 14:31:32 +0000 (14:31 +0000)]
iwinfo: add support for VHT rates
Update to upstream Git HEAD to include VHT rate support and a number of
coverity scan fixes.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48487
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 12:42:00 +0000 (12:42 +0000)]
musl: update to 1.1.12 + git from 2016-01-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48486
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 12:41:55 +0000 (12:41 +0000)]
gcc: backport a libgcc fix for a dependency on libc write() on ARM
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48485
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 12:41:19 +0000 (12:41 +0000)]
kernel: wpan: mrf24j40 depends on regmap-spi
kmod-mrf24j40 select REGMAP_SPI since 4.3, thus add dependency to
kmod-regmap.
Found by buildbot:
Package kmod-mrf24j40 is missing dependencies for the following libraries:
regmap-spi.ko
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48484
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 12:35:21 +0000 (12:35 +0000)]
base-files: fix sysupgrade 'wget' handling for uclient-fetch
change 48451 tried to add support for uclient-fetch by moving
/usr/bin/wget to /bin/wget, but this change kept the symbolic
link to /bin/busybox as install_bin creates links to param 1
the desired fix is to link to uclient-fetch to wget:
install_bin /bin/uclient-fetch /bin/wget
Signed-off-by: John Clark <inindev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48483
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 10:28:29 +0000 (10:28 +0000)]
kernel: fix a small bug in the MIPS highmem fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48482
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 25 Jan 2016 10:28:19 +0000 (10:28 +0000)]
kernel: disable CONFIG_USERFAULTFD, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48481
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Mon, 25 Jan 2016 07:18:47 +0000 (07:18 +0000)]
kernel: mtdsplit: document Seama splitter a bit
Rename kernel_size variable as it includes whole entity size, not just a
kernel size. Also update comments to match it and describe better what
are we checking/looking for.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48480
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 24 Jan 2016 18:01:43 +0000 (18:01 +0000)]
include: restrict separate kmod repo handling to base packages
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48479
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 24 Jan 2016 18:01:40 +0000 (18:01 +0000)]
iptables: improve iptables listing output of xt_id match
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48478
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 24 Jan 2016 18:00:53 +0000 (18:00 +0000)]
kernel: add some missing kernel config options
The built bots found these missing kernel configuration options.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48477
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 24 Jan 2016 15:36:10 +0000 (15:36 +0000)]
x86/64: add missing kernel symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48476
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Sun, 24 Jan 2016 15:36:05 +0000 (15:36 +0000)]
include: group kmod ipk files into a "kernel" subdirectory
This is useful to just use the kmods from an official build while supplying
base packages from a custom feed or the other way around; for just overriding
the kmods with a local repo while using official repos for the rest.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48475
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Sun, 24 Jan 2016 12:36:15 +0000 (12:36 +0000)]
generic: fix relocate build with binutils 2.25.1
The new .abiflags section was kept, pushing the appended arguments to
the wrong offset and causing it to read the section instead, making
it fail on boot.
Fix this by dropping this section as well as the other sections.
Closes #21679.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48474
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Sun, 24 Jan 2016 12:36:10 +0000 (12:36 +0000)]
brcm63xx: fix build of lzma-loader with binutils 2.25.1
Apply the same fix as ar71xx needed in r46893.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48473
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Sun, 24 Jan 2016 12:36:06 +0000 (12:36 +0000)]
swconfig: simplify init code
Directly return the return value of genl_register_family_with_ops()
instead of storing it in a temporary variable, then returning it.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48472
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jogo [Sun, 24 Jan 2016 12:35:59 +0000 (12:35 +0000)]
swconfig: drop linux < 3.13 code paths
The oldest kernel we support is 3.18, no need to keep code paths
for older kernels.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48471
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 24 Jan 2016 00:16:36 +0000 (00:16 +0000)]
build: add -fno-plt to default cflags, it improves PIC code optimization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48470
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 24 Jan 2016 00:16:32 +0000 (00:16 +0000)]
ramips: re-enable highmem support for MT7621 now that it's fixed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48469
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 24 Jan 2016 00:16:27 +0000 (00:16 +0000)]
kernel: fix MIPS highmem breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48468
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sun, 24 Jan 2016 00:05:14 +0000 (00:05 +0000)]
musl: Add format attribute to some function declarations
GCC and Clang are able to check the format arguments given to a
function and warn the user if there is a error in the format arguments
or if there is a potential uncontrolled format string security problem
in the code. GCC does this automatically for some functions like
printf(), but it is also possible to annotate other functions in a way
that it will check them too. This feature is used by glibc for many
functions. This patch adds the attribute to the some functions of musl
expect for these functions where gcc automatically adds it.
GCC automatically adds checks for these functions: printf, fprintf,
sprintf, scanf, fscanf, sscanf, strftime, vprintf, vfprintf and
vsprintf.
The documentation from gcc is here:
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
The documentation from Clang is here:
http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48467
3c298f89-4303-0410-b956-
a3cf2f4a3e73
hauke [Sat, 23 Jan 2016 23:48:55 +0000 (23:48 +0000)]
musl: mips: add vdso support
vdso support is available on mips starting with kernel 4.4, see kernel
commit
a7f4df4e21 "MIPS: VDSO: Add implementations of gettimeofday()
and clock_gettime()" for details.
These are my micro benchmark results for 1.000.000 calls to
clock_gettime(CLOCK_MONOTONIC, &tp)
without vdso:
root@OpenWrt:/# time ./vdso-test
real 0m 0.95s
user 0m 0.24s
sys 0m 0.70s
with vdso:
root@OpenWrt:/# time /usr/bin/vdso-test
real 0m 0.35s
user 0m 0.34s
sys 0m 0.00s
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48466
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 20:02:34 +0000 (20:02 +0000)]
uclient: update to the latest version, now truncates files when overwriting them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48465
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 20:01:26 +0000 (20:01 +0000)]
kernel: add a package for bcm-phy-lib.ko, fixes build errors with kmod-phy-broadcom
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48464
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 18:53:17 +0000 (18:53 +0000)]
uclient: update to the latest version, improves interoperability with quirky servers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48463
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 18:53:12 +0000 (18:53 +0000)]
ustream-ssl: update to the latest version, fixes handling SSL connection close notification
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48462
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 18:02:59 +0000 (18:02 +0000)]
kernel: add a fix for deadlocks on dump_stack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48461
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 18:02:55 +0000 (18:02 +0000)]
Revert "kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore"
This reverts commit r48335
The workaround is incomplete and cannot cover all possible cases. The
only real solution to this problem is to disable this feature on
ARM11MPcore entirely.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48460
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 17:05:56 +0000 (17:05 +0000)]
kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48459
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 15:24:19 +0000 (15:24 +0000)]
linux-atm: add missing br2684ctl patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48458
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 23 Jan 2016 12:37:17 +0000 (12:37 +0000)]
ltq-vdsl-app: mask out VDSL bits when ATM is selected, fixes compatibility issues with some DSLAMs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48457
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 19:50:09 +0000 (19:50 +0000)]
Revert "ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4"
This reverts commit r48276.
This can overwrite the caldata_backup partition, so the layout needs to
be changed in a different way.
Thanks to Arjen de Korte for spotting the issue.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48456
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 13:06:09 +0000 (13:06 +0000)]
qos-scripts: bump version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48455
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 12:02:11 +0000 (12:02 +0000)]
kernel: Add kernel module for Freescale SNVS RTC on chip module
Signed-off-by: Petr Štetiar <ynezz@true.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48454
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 12:02:07 +0000 (12:02 +0000)]
x86_64: Add missing symbols
Update to kernel 4.4 missed some symbols, fix that.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48453
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 11:59:03 +0000 (11:59 +0000)]
qos-scripts: Add IPv6 support
This adds IPv6 support to qos-scripts for both tc/qdisc and the
iptables classification rules. The tc/qdisc part is accomplished
by removing "protocol ip" from the tc command line, causing the
rule to be applied to all protocols. The iptables part is
accomplished by adding each rule using both iptables and ip6tables.
This patch is based on previous work by Ilkka Ollakka and
Dominique Martinet.
Signed-off-by: Michael Marley <michael@michaelmarley.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48452
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)]
base-files: fix sysupgrade 'wget' handling
with r48379 and r48386 the path of wget changed.
respect that and adjust the dirname.
this fixes #21680
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48451
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 09:41:53 +0000 (09:41 +0000)]
build: add uclient-fetch to the default packages, in case opkg is not selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48450
3c298f89-4303-0410-b956-
a3cf2f4a3e73
rmilecki [Fri, 22 Jan 2016 09:22:37 +0000 (09:22 +0000)]
kernel: backport bcma stuff sent for 4.6
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48449
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Fri, 22 Jan 2016 00:54:34 +0000 (00:54 +0000)]
ath9k: allow multiple virtual interfaces on DFS channels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48448
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 21 Jan 2016 23:22:11 +0000 (23:22 +0000)]
flock: do not use ccache, fixes build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48447
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 21 Jan 2016 23:22:06 +0000 (23:22 +0000)]
qos-scripts: Allow classification by the traffic's source interface
This adds a "srciface" option that can be used on classification
rules in /etc/config/qos. This is useful to allow prioritization
based on the local network from which the traffic originates, for
example to deprioritize traffic from a guest network.
Signed-off-by: Michael Marley <michael@michaelmarley.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48446
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 21 Jan 2016 22:26:15 +0000 (22:26 +0000)]
qos-scripts: stop overriding tx queue length
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48445
3c298f89-4303-0410-b956-
a3cf2f4a3e73