openwrt.git
8 years agosunxi: add support for Orange Pi Plus (H3)
wigyori [Tue, 2 Feb 2016 22:25:05 +0000 (22:25 +0000)]
sunxi: add support for Orange Pi Plus (H3)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48618 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouci: update to the latest version, fixes uci show output for anonymous sections ...
nbd [Tue, 2 Feb 2016 17:14:47 +0000 (17:14 +0000)]
uci: update to the latest version, fixes uci show output for anonymous sections (#21781)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48617 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocyassl: update to wolfssl version 3.8.0
hauke [Mon, 1 Feb 2016 22:38:28 +0000 (22:38 +0000)]
cyassl: update to wolfssl version 3.8.0

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48616 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: add support for mbedtls
hauke [Mon, 1 Feb 2016 22:37:41 +0000 (22:37 +0000)]
curl: add support for mbedtls

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48615 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: update curl to version 7.47.0
hauke [Mon, 1 Feb 2016 22:37:05 +0000 (22:37 +0000)]
curl: update curl to version 7.47.0

This fixes the following security problems:

CVE-2016-0754: remote file name path traversal in curl tool for Windows
http://curl.haxx.se/docs/adv_20160127A.html

CVE-2016-0755: NTLM credentials not-checked for proxy connection re-use
http://curl.haxx.se/docs/adv_20160127B.html

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48614 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiproute2: refresh patches
nbd [Mon, 1 Feb 2016 18:04:00 +0000 (18:04 +0000)]
iproute2: refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48613 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiproute2: Update to version 4.4
nbd [Mon, 1 Feb 2016 18:03:54 +0000 (18:03 +0000)]
iproute2: Update to version 4.4

Update iproute2 to latest version 4.4 with full MPLS support.

Signed-off-by: André Valentin <avalentin@marcant.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48612 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add IMAGE_SIZE to DEVICE_VARS, it is used by build templates
nbd [Mon, 1 Feb 2016 17:41:29 +0000 (17:41 +0000)]
ramips: add IMAGE_SIZE to DEVICE_VARS, it is used by build templates

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48611 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: image.mk: use correct flag for fixed mtimes with make_ext4fs (#21768)
jow [Mon, 1 Feb 2016 13:58:43 +0000 (13:58 +0000)]
include: image.mk: use correct flag for fixed mtimes with make_ext4fs (#21768)

The correct flag for fixed mtime is -T, not -t.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48610 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/image.mk: fix missing right parenthesis (#21766)
nbd [Mon, 1 Feb 2016 13:42:59 +0000 (13:42 +0000)]
include/image.mk: fix missing right parenthesis (#21766)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48609 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module...
nbd [Mon, 1 Feb 2016 13:33:33 +0000 (13:33 +0000)]
scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48608 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: fix bcma-hcd compilation in kernel 4.4
rmilecki [Mon, 1 Feb 2016 12:54:17 +0000 (12:54 +0000)]
bcm53xx: fix bcma-hcd compilation in kernel 4.4

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48607 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: build D-Link DIR-885L image
rmilecki [Mon, 1 Feb 2016 12:43:04 +0000 (12:43 +0000)]
bcm53xx: build D-Link DIR-885L image

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48606 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: change brcmnand behavior for ECC strength 1
rmilecki [Mon, 1 Feb 2016 12:42:51 +0000 (12:42 +0000)]
bcm53xx: change brcmnand behavior for ECC strength 1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48605 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: fix NAND parameters on DIR-885L
rmilecki [Mon, 1 Feb 2016 12:42:42 +0000 (12:42 +0000)]
bcm53xx: fix NAND parameters on DIR-885L

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48604 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add brcmnand patch reading flash parameters
rmilecki [Mon, 1 Feb 2016 12:42:23 +0000 (12:42 +0000)]
bcm53xx: add brcmnand patch reading flash parameters

It's useful for adding support for new hardware.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48603 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: include (build) Seama mtdsplit parser
rmilecki [Mon, 1 Feb 2016 12:42:07 +0000 (12:42 +0000)]
bcm53xx: include (build) Seama mtdsplit parser

It's needed for devices using Seama like D-Link DIR-885L.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48602 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils: add oseama tool for creating Seama entities
rmilecki [Mon, 1 Feb 2016 12:42:00 +0000 (12:42 +0000)]
firmware-utils: add oseama tool for creating Seama entities

It has an important feature (compared to seama) of using multiple input
files, aligning them and padding zeroes until reaching a specified
absolute offset. This is needed for a proper flash layout on NAND. We
want kernel partition to be big enough to handle future updates without
a need to resize it and wipe whole "ubi" partition. It's important as
we don't want to lose block counters.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48601 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: mtdsplit: support Seama entity with UBI
rmilecki [Mon, 1 Feb 2016 12:41:53 +0000 (12:41 +0000)]
kernel: mtdsplit: support Seama entity with UBI

Some D-Link routers (e.g. DIR-885L) have NAND and use Seama format. It
means OpenWrt will want to have UBI in Sseama entity and should be able
to detect it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48600 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: mtdsplit: detect UBI partition when looking for rootfs
rmilecki [Mon, 1 Feb 2016 12:41:47 +0000 (12:41 +0000)]
kernel: mtdsplit: detect UBI partition when looking for rootfs

This allows mtdsplit parsers work with UBI which is very popular on
NAND flases.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48599 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: mtdsplit: modify rootfs helpers to provide partition type
rmilecki [Mon, 1 Feb 2016 12:41:41 +0000 (12:41 +0000)]
kernel: mtdsplit: modify rootfs helpers to provide partition type

Our mtdsplit parsers may want to create partition with name choice based
on partition file system (e.g. SquashFS vs. JFFS2). This patch allows
passing extra argument pointing to variable that will be set properly.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48598 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomt76: update to the latest version, fixes tx status information polling
nbd [Mon, 1 Feb 2016 12:31:04 +0000 (12:31 +0000)]
mt76: update to the latest version, fixes tx status information polling

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48597 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogre: Support multicast configurable gre interfaces
nbd [Mon, 1 Feb 2016 12:02:11 +0000 (12:02 +0000)]
gre: Support multicast configurable gre interfaces

UCI paramater multicast is added which allows to toggle multicast support on gre interfaces.
By default multicast support is enabled as gre tunnels are often used in combination with
routing protocols using multicast.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Nick Podolak <nicholas.podolak@dtechlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48596 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: update to the latest version, adds many fixes
nbd [Mon, 1 Feb 2016 12:02:05 +0000 (12:02 +0000)]
netifd: update to the latest version, adds many fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48595 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts: fix GNU data invocation
jow [Mon, 1 Feb 2016 10:43:27 +0000 (10:43 +0000)]
scripts: fix GNU data invocation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48594 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older...
nbd [Mon, 1 Feb 2016 10:33:25 +0000 (10:33 +0000)]
scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older versions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48593 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/portable_date.sh: fix parsing of date strings on non-GNU systems
nbd [Mon, 1 Feb 2016 10:33:15 +0000 (10:33 +0000)]
scripts/portable_date.sh: fix parsing of date strings on non-GNU systems

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48592 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: set root on NFS when enabled
florian [Mon, 1 Feb 2016 01:06:56 +0000 (01:06 +0000)]
kernel: set root on NFS when enabled

Replace the configured root device with a NFS root device and automatic
IP configuration for booting over NFS.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48591 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuildroot: add options to build the kernel for NFS boot
florian [Mon, 1 Feb 2016 01:06:39 +0000 (01:06 +0000)]
buildroot: add options to build the kernel for NFS boot

Add the basic set of kernel options to allow it from mounting a NFS root
and boot from it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48590 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma
nbd [Sun, 31 Jan 2016 23:29:41 +0000 (23:29 +0000)]
ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48589 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 images
nbd [Sun, 31 Jan 2016 23:29:31 +0000 (23:29 +0000)]
include/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 images

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48588 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/image: don't save gzip name/timestamp metadata
nbd [Sun, 31 Jan 2016 23:29:22 +0000 (23:29 +0000)]
include/image: don't save gzip name/timestamp metadata

Signed-off-by: bryan newbold <bnewbold@robocracy.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48587 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild system: have tar use $SOURCE_DATE_EPOCH for --mtime
nbd [Sun, 31 Jan 2016 23:29:16 +0000 (23:29 +0000)]
build system: have tar use $SOURCE_DATE_EPOCH for --mtime

The --mtime argument to 'tar' sets the modification time for all files within
the archive, which determines the timestamp files will get when they are
extracted. In this case, rootfs and other tarballs will get mtimes which
correspond to the last commit timestamp of the build system, as reported by
git/subversion.

This is a step towards reproducible image builds.

Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48586 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set
nbd [Sun, 31 Jan 2016 23:29:12 +0000 (23:29 +0000)]
package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48585 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: introduce SOURCE_DATE_EPOCH variable
nbd [Sun, 31 Jan 2016 23:29:07 +0000 (23:29 +0000)]
build: introduce SOURCE_DATE_EPOCH variable

SOURCE_DATE_EPOCH is the date of the last modified file using git/svn
as date source.
See https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48584 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoadd scripts/portable_date: wrapper around date for bsd/linux
nbd [Sun, 31 Jan 2016 23:28:55 +0000 (23:28 +0000)]
add scripts/portable_date: wrapper around date for bsd/linux

date -r $unix_timestamp on bsd is equal to date -d @$unix_timestamp on
linux. To support reproducible builds and not loosing every timestamp
it's required to convert a unix timestamp into human readable timestamp

./scripts/portable_date $unix_timstamp +%T

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48583 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: backport skb_free_frag and napi_alloc_frag
nbd [Sun, 31 Jan 2016 16:13:23 +0000 (16:13 +0000)]
mac80211: backport skb_free_frag and napi_alloc_frag

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48582 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance
nbd [Sun, 31 Jan 2016 12:35:33 +0000 (12:35 +0000)]
cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48581 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocns3xxx: improve ethernet performance by using the page fragment allocation API
nbd [Sun, 31 Jan 2016 12:35:20 +0000 (12:35 +0000)]
cns3xxx: improve ethernet performance by using the page fragment allocation API

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48580 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocns3xxx: fix ethernet DMA ring allocation issues
nbd [Sun, 31 Jan 2016 12:35:07 +0000 (12:35 +0000)]
cns3xxx: fix ethernet DMA ring allocation issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48579 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: use page fragment API in the ethernet driver
nbd [Sun, 31 Jan 2016 12:29:34 +0000 (12:29 +0000)]
ar71xx: use page fragment API in the ethernet driver

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48578 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: fix an alignment issue that was breaking ldso on ARMv5
nbd [Sun, 31 Jan 2016 00:55:05 +0000 (00:55 +0000)]
musl: fix an alignment issue that was breaking ldso on ARMv5

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48577 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoixp4xx: fix initramfs builds
nbd [Sun, 31 Jan 2016 00:54:53 +0000 (00:54 +0000)]
ixp4xx: fix initramfs builds

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48576 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: fix GDB debugging on mips (local, remote)
nbd [Sat, 30 Jan 2016 20:15:16 +0000 (20:15 +0000)]
musl: fix GDB debugging on mips (local, remote)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48575 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: update to the latest git version, fixes TLS issues
nbd [Sat, 30 Jan 2016 20:15:11 +0000 (20:15 +0000)]
musl: update to the latest git version, fixes TLS issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48574 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers
nbd [Sat, 30 Jan 2016 20:14:59 +0000 (20:14 +0000)]
perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48573 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: support Netgear R8500 in sysupgrade
rmilecki [Sat, 30 Jan 2016 16:57:35 +0000 (16:57 +0000)]
bcm53xx: support Netgear R8500 in sysupgrade

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48572 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: use proper CPU port in b53 for Netgear R8500
rmilecki [Sat, 30 Jan 2016 16:56:50 +0000 (16:56 +0000)]
bcm53xx: use proper CPU port in b53 for Netgear R8500

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48571 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: support bgmac on BCM47094
rmilecki [Sat, 30 Jan 2016 13:35:31 +0000 (13:35 +0000)]
kernel: support bgmac on BCM47094

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48564 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for linux 4.4
nbd [Sat, 30 Jan 2016 13:19:53 +0000 (13:19 +0000)]
ar71xx: add support for linux 4.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48563 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix a few include errors
nbd [Sat, 30 Jan 2016 13:19:37 +0000 (13:19 +0000)]
ar71xx: fix a few include errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48562 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomxs: bump to 4.4
wigyori [Sat, 30 Jan 2016 12:13:21 +0000 (12:13 +0000)]
mxs: bump to 4.4

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48561 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomxs: enable regulator in 4.4 config
wigyori [Sat, 30 Jan 2016 12:12:57 +0000 (12:12 +0000)]
mxs: enable regulator in 4.4 config

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48560 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomxs: forward-port regulator patches into 4.4
wigyori [Sat, 30 Jan 2016 12:05:49 +0000 (12:05 +0000)]
mxs: forward-port regulator patches into 4.4

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48559 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
nbd [Fri, 29 Jan 2016 23:19:41 +0000 (23:19 +0000)]
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly

Fixes sysupgrade

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48558 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: update to linux 4.4
nbd [Fri, 29 Jan 2016 23:19:36 +0000 (23:19 +0000)]
octeon: update to linux 4.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48557 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoglibc: switch to downloading version 2.22 via tarball instead of git to improve mirro...
nbd [Fri, 29 Jan 2016 23:19:31 +0000 (23:19 +0000)]
glibc: switch to downloading version 2.22 via tarball instead of git to improve mirror support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48556 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoglibc: switch to version 2.22 by default
nbd [Fri, 29 Jan 2016 23:19:26 +0000 (23:19 +0000)]
glibc: switch to version 2.22 by default

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48555 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain: fix default toolchain selection for mips64 added in r47355
nbd [Fri, 29 Jan 2016 23:19:19 +0000 (23:19 +0000)]
toolchain: fix default toolchain selection for mips64 added in r47355

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48554 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: specify magic expected in sysupgrade for D-Link DIR-885L
rmilecki [Fri, 29 Jan 2016 22:31:43 +0000 (22:31 +0000)]
bcm53xx: specify magic expected in sysupgrade for D-Link DIR-885L

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48553 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agooseama: support creating single Seama entity
rmilecki [Fri, 29 Jan 2016 22:21:45 +0000 (22:21 +0000)]
oseama: support creating single Seama entity

This will be needed to handle sysupgrade on NAND in a smart way. We'll
need to extract kernel our of provided Seama container, put in in a new
Seama entity and flash.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48552 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: drop invalid by default, remove chain indirection, fix invert flags (#21738)
jow [Fri, 29 Jan 2016 17:26:41 +0000 (17:26 +0000)]
firewall: drop invalid by default, remove chain indirection, fix invert flags (#21738)

* Enable drop_invalid by default to catch unnatted packets (#21738)
* Fix processing of inversions for -i, -o, -s, -d and -p flags
* Remove delegate_* chain indirection but rely on xt_id to identify own rules

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48551 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix an out of bounds access issue in minstrel_ht
nbd [Fri, 29 Jan 2016 14:23:23 +0000 (14:23 +0000)]
mac80211: fix an out of bounds access issue in minstrel_ht

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48550 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Make the ar9.dtsi sram node match "simple-bus"
nbd [Fri, 29 Jan 2016 00:42:50 +0000 (00:42 +0000)]
lantiq: Make the ar9.dtsi sram node match "simple-bus"

All other SoC types are using "lantiq,sram" and "simple-bus" to ensure
that all child nodes are set up correctly during linux kernel
initialization (plat_of_setup(void) in arch/mips/lantiq/prom.c). Without
this some of sram child nodes might not be parsed.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48548 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Move the definition of the xrx200-net node to vr9.dtsi
nbd [Fri, 29 Jan 2016 00:42:45 +0000 (00:42 +0000)]
lantiq: Move the definition of the xrx200-net node to vr9.dtsi

This removes a lot of duplicate register and interrupt definitions by
moving the xrx200-net definition to vr9.dtsi and making all devices re-
use it.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48547 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: fix PHY state handling issue
nbd [Fri, 29 Jan 2016 00:42:38 +0000 (00:42 +0000)]
lantiq: fix PHY state handling issue

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48546 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: remove .config.prev when running make kernel_*config to fix rebuild errors
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

8 years agolinux-firmware: update to the commit from 2016-01-25
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

8 years agomalta: move to 4.4 kernel
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

8 years agotools/mkimage: backport SOURCE_DATE_EPOCH for reproducible builds
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

8 years agoinclude/kernel: add custom USER/DOMAIN config options
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

8 years agoinclude/kernel: sort module lists for reproducibility
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

8 years agobusybox: disable timestamp in version
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

8 years agoMakefile: set timezone to UTC
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

8 years agohostapd: remove useless TLS provider selection override for wpad-mesh/wpa_supplicant...
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

8 years agomac80211: merge a bunch of pending fixes
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

8 years agobcm53xx: basic support for Seama format in sysupgrade
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

8 years agomtd: allow writing Seama files to "firmware" on Broadcom targets
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

8 years agooseama: small util for reading Seama image format info
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

8 years agoopenssl: update to 1.0.2f (fixes CVE-2016-0701, CVE-2015-3197)
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

8 years agox86: remove redundant default network config
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

8 years agohostapd: fix mesh interface bridge handling
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

8 years agohostapd: fix wpad-mesh and wpa-supplicant-mesh configuration issues
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

8 years agohostapd: update to version 2016-01-15
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

8 years agoramips: make tp-link firmware size errors non-fatal
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

8 years agokernel: fix USB on mpc85xx (#21689)
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

8 years agouclient: update to the latest version, fixes connection timeout handling (#21726)
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

8 years agolibubox: update to the latest version, adds usock_inet_timeout() with RFC6555 support
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

8 years agobcm53xx: fix MD5 in Seama format on flash after installing OpenWrt
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

8 years agomtd: enable "fixseama" on bcm53xx
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

8 years agobcm53xx: enable earlyprintk and all RAM on DIR-885L
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

8 years agobcm53xx: add D-Link DIR-885L DT patch
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

8 years agobcm53xx: replace iproc regression fix with the final one
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

8 years agobcm53xx: use two upstream USB bcma patches
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

8 years agokernel: backport more 4.6 bcma stuff needed for new chipsets
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

8 years agobuild: filter out -fno-plt for the kernel build, fixes #21712
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

8 years agomt76: update to the latest version, adds some tx path and protection mode register...
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

8 years agokernel: add missing config symbols for kmod-crypto-hw-talitos
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

8 years agokernel: change the OF mtd mac address patch to prefer mtd-mac-address over other...
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

8 years agobrcm47xx: add proper switch port mapping for WRT610Nv2 / Linksys E3000v1
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