openwrt/staging/stintel.git
10 years agomusl: apply hardening options (e.g. SSP) also to libc itself
Steven Barth [Sat, 20 Jun 2015 17:37:25 +0000 (17:37 +0000)]
musl: apply hardening options (e.g. SSP) also to libc itself

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46073

10 years agopackage-defaults: remove libssp for musl (redundant)
Steven Barth [Sat, 20 Jun 2015 17:37:22 +0000 (17:37 +0000)]
package-defaults: remove libssp for musl (redundant)

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46072

10 years agogcc: musl comes with its own SSP, so use it instead of libssp
Steven Barth [Sat, 20 Jun 2015 17:37:20 +0000 (17:37 +0000)]
gcc: musl comes with its own SSP, so use it instead of libssp

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46071

10 years agobuildroot: move hardening options into separate file
Steven Barth [Sat, 20 Jun 2015 17:37:18 +0000 (17:37 +0000)]
buildroot: move hardening options into separate file

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46070

10 years agomusl: read the timezone from /etc/TZ
Felix Fietkau [Fri, 19 Jun 2015 17:48:11 +0000 (17:48 +0000)]
musl: read the timezone from /etc/TZ

Currently the OpenWRT boot scripts write the timezone configuration to
/tmp/TZ, relying on the behaviour of uClibc that the timezone is read
from /etc/TZ if no TZ env variable is found.

This works because /etc/TZ is a symlink to /tmp/TZ.

Musl libc however only reads the timezone from the TZ env variable and
if it doesn't find it or it's empty, it will look for a zoneinfo
file, that doesn't exist.

So in musl builds no timezone is ever set.

This patch fixes the issue by having musl libc behave like uClibc: if no
TZ env variable is found it will try to load it from /etc/TZ.

Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it>
Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46069

10 years agoppp: honor LDFLAGS
Steven Barth [Fri, 19 Jun 2015 17:07:11 +0000 (17:07 +0000)]
ppp: honor LDFLAGS

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46068

10 years agouclibc++: only disable SSP for ppc
Steven Barth [Fri, 19 Jun 2015 14:36:37 +0000 (14:36 +0000)]
uclibc++: only disable SSP for ppc

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46067

10 years agouclibc++: honor ldflags, disable SSP
Steven Barth [Fri, 19 Jun 2015 14:09:02 +0000 (14:09 +0000)]
uclibc++: honor ldflags, disable SSP

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46066

10 years agolibtool: enable passthrough for SSP options
Steven Barth [Fri, 19 Jun 2015 13:45:48 +0000 (13:45 +0000)]
libtool: enable passthrough for SSP options

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46065

10 years agoiproute2: honor LDFLAGS
Steven Barth [Fri, 19 Jun 2015 13:30:18 +0000 (13:30 +0000)]
iproute2: honor LDFLAGS

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46064

10 years agokernel: update 4.0 to 4.0.5
Jonas Gorski [Fri, 19 Jun 2015 11:12:43 +0000 (11:12 +0000)]
kernel: update 4.0 to 4.0.5

Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 46063

10 years agomwlwifi: upgrade to 10.3.0.3
Imre Kaloz [Fri, 19 Jun 2015 08:35:11 +0000 (08:35 +0000)]
mwlwifi: upgrade to 10.3.0.3

Signed-off-by: Imre Kaloz <[email protected]>
SVN-Revision: 46061

10 years agoralink: add support for mt7621 switch counters
John Crispin [Thu, 18 Jun 2015 18:21:52 +0000 (18:21 +0000)]
ralink: add support for mt7621 switch counters

Signed-off-by: Cristian Morales Vega <[email protected]>
SVN-Revision: 46050

10 years agoar71xx: add profile and build image for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 18:21:46 +0000 (18:21 +0000)]
ar71xx: add profile and build image for EnGenius EPG5000.

Signed-off-by: Christian Beier <[email protected]>
SVN-Revision: 46049

10 years agoar71xx: add user-space support for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 18:21:41 +0000 (18:21 +0000)]
ar71xx: add user-space support for EnGenius EPG5000.

Signed-off-by: Christian Beier <[email protected]>
SVN-Revision: 46048

10 years agoar71xx: add kernel support for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 18:21:33 +0000 (18:21 +0000)]
ar71xx: add kernel support for EnGenius EPG5000.

Signed-off-by: Christian Beier <[email protected]>
SVN-Revision: 46047

10 years agoar71xx: add support for TL-WR720N-v4.
John Crispin [Thu, 18 Jun 2015 18:21:23 +0000 (18:21 +0000)]
ar71xx: add support for TL-WR720N-v4.

The hardware should be almost the same as TL-WR720N-v3.  WiFi and LAN networks
were tested by "Lo Yuk Fai <[email protected]>".  Failsafe and slider switch
were tested by "Wong min <[email protected]>".

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 46046

10 years agoar71xx: add support for compex wpj531
John Crispin [Thu, 18 Jun 2015 18:21:15 +0000 (18:21 +0000)]
ar71xx: add support for compex wpj531

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
erase 0x9f680000 +1
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <[email protected]>
SVN-Revision: 46045

10 years agoar71xx: Add Support for the Bitmain Antminer S1
John Crispin [Thu, 18 Jun 2015 18:21:05 +0000 (18:21 +0000)]
ar71xx: Add Support for the Bitmain Antminer S1

This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s1

Signed-off-by: L. D. Pinney <[email protected]>
Acked-by: James Hilliard <[email protected]>
SVN-Revision: 46044

10 years agoramips: Add Support for the Linksys RE6500
John Crispin [Thu, 18 Jun 2015 18:20:56 +0000 (18:20 +0000)]
ramips: Add Support for the Linksys RE6500

This patch adds support for the Linksys RE6500 Range Extender

http://wiki.openwrt.org/toh/linksys/re6500

Signed-off-by: L. D. Pinney <[email protected]>
SVN-Revision: 46043

10 years agoramips: Add support for the D-Link DCS-930 B1
John Crispin [Thu, 18 Jun 2015 18:20:46 +0000 (18:20 +0000)]
ramips: Add support for the D-Link DCS-930 B1

http://wiki.openwrt.org/toh/d-link/dcs-930l

Signed-off-by: L. D. Pinney <[email protected]>
SVN-Revision: 46042

10 years agoramips: add support for PandoraBox PBR-M1
John Crispin [Thu, 18 Jun 2015 18:20:40 +0000 (18:20 +0000)]
ramips: add support for PandoraBox PBR-M1

This patch is for PandoraBox PBR-M1 which is based on mt7621,
all the features work fine, including rtc, leds, button, usb3.0, etc.

Signed-off-by: tymon <[email protected]>
SVN-Revision: 46041

10 years agoubus: update to latest git HEAD
John Crispin [Thu, 18 Jun 2015 17:04:14 +0000 (17:04 +0000)]
ubus: update to latest git HEAD

this adds ACL support

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 46040

10 years agoramips: fix a bug in the cevt code on mt7620
John Crispin [Thu, 18 Jun 2015 11:57:07 +0000 (11:57 +0000)]
ramips: fix a bug in the cevt code on mt7620

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 46038

10 years agolinux-atm: add PKG_FIXUP
Steven Barth [Thu, 18 Jun 2015 11:10:46 +0000 (11:10 +0000)]
linux-atm: add PKG_FIXUP

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46037

10 years agolua: honor LDFLAGS
Steven Barth [Thu, 18 Jun 2015 10:55:57 +0000 (10:55 +0000)]
lua: honor LDFLAGS

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46036

10 years agopackage.mk: replicate SSP and relro in both CFLAGS and LDFLAGS
Steven Barth [Thu, 18 Jun 2015 10:48:28 +0000 (10:48 +0000)]
package.mk: replicate SSP and relro in both CFLAGS and LDFLAGS

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46035

10 years agouclibc: unbreak after enabling SSP
Steven Barth [Thu, 18 Jun 2015 09:49:45 +0000 (09:49 +0000)]
uclibc: unbreak after enabling SSP

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46034

10 years agoar71xx: fix hw id of tl-wr710n image (#19902)
Felix Fietkau [Thu, 18 Jun 2015 09:41:23 +0000 (09:41 +0000)]
ar71xx: fix hw id of tl-wr710n image (#19902)

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46032

10 years agokernel: add Realtek USB to Ethernet modules
Felix Fietkau [Thu, 18 Jun 2015 09:41:12 +0000 (09:41 +0000)]
kernel: add Realtek USB to Ethernet modules

https://forum.openwrt.org/viewtopic.php?pid=279394

Signed-off-by: Dirk Neukirchen <[email protected]>
SVN-Revision: 46031

10 years agolibtool: passthrough -fstack-protector* to linker
Steven Barth [Thu, 18 Jun 2015 08:52:33 +0000 (08:52 +0000)]
libtool: passthrough -fstack-protector* to linker

on some platforms this is needed for gcc to link libssp

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46030

10 years agolibnl-tiny: honor CFLAGS when linking
Steven Barth [Thu, 18 Jun 2015 08:13:04 +0000 (08:13 +0000)]
libnl-tiny: honor CFLAGS when linking

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46029

10 years agoopenvpn: bump to 2.3.7.
Felix Fietkau [Thu, 18 Jun 2015 06:41:49 +0000 (06:41 +0000)]
openvpn: bump to 2.3.7.

Two patches are dropped as they were already applied upstream.

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 46027

10 years agoipkg-build: suppress timestamps in gzip headers
Felix Fietkau [Thu, 18 Jun 2015 06:41:45 +0000 (06:41 +0000)]
ipkg-build: suppress timestamps in gzip headers

When creating control.tar.gz, data.tar.gz and $package.ipk
tar compresses them with default gzip options.
This includes build timestamps in their gzip headers.
By setting the GZIP env variable to -n, gzip no longer embeds
them, which is a step towards reproducibility.

See also [1] for more detailed motivations.

[1]: https://wiki.debian.org/ReproducibleBuilds/About

Signed-off-by: Reiner Herrmann <[email protected]>
SVN-Revision: 46026

10 years agolibusb-compat: fix musl compatibility issues
Felix Fietkau [Thu, 18 Jun 2015 06:39:09 +0000 (06:39 +0000)]
libusb-compat: fix musl compatibility issues

Use stdint types instead of non-standard ones

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 46025

10 years agokernel: mitigate cgroups config dependency changes
Felix Fietkau [Thu, 18 Jun 2015 06:39:00 +0000 (06:39 +0000)]
kernel: mitigate cgroups config dependency changes

Memory Resource Controller no longer depends on Resource counters since
Kernel version 4.0.
3.18 is the only still supported version needing Resource counters for
MEMCG, thus declare the dependency only for that version.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 46024

10 years agoprocd: update to the latest version, fixes umask handling for creating /dev/shm
Felix Fietkau [Thu, 18 Jun 2015 06:37:08 +0000 (06:37 +0000)]
procd: update to the latest version, fixes umask handling for creating /dev/shm

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46023

10 years agoar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode
Felix Fietkau [Thu, 18 Jun 2015 06:37:01 +0000 (06:37 +0000)]
ar71xx: ar934x-nfc: allow ECC to be configured in software BCH mode

Some devices ship with NAND images that use BCH ECC. Let the driver know
about that ECC mode so that it can be selected by machine files.

Signed-off-by: Thomas Hebb <[email protected]>
SVN-Revision: 46022

10 years agobroadcom-wl: fix build with musl
Hauke Mehrtens [Wed, 17 Jun 2015 22:37:49 +0000 (22:37 +0000)]
broadcom-wl: fix build with musl

This fixes some build problems with musl. The binary only program
nas.exe wants to link against __assert, which is copied from uClibc.

Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 46021

10 years agohardening: enable regular SSP support by default
Steven Barth [Wed, 17 Jun 2015 13:13:48 +0000 (13:13 +0000)]
hardening: enable regular SSP support by default

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46020

10 years agokernel: add linux 4.0 overlayfs locking fix by Miklos Szeredi
Felix Fietkau [Wed, 17 Jun 2015 12:55:20 +0000 (12:55 +0000)]
kernel: add linux 4.0 overlayfs locking fix by Miklos Szeredi

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46019

10 years agox86/64: enable VirtIO block and console support
Jo-Philipp Wich [Wed, 17 Jun 2015 11:31:45 +0000 (11:31 +0000)]
x86/64: enable VirtIO block and console support

This is required to use x86/64 in KVM containers with VirtIO disks

Signed-off-by: Jo-Philipp Wich <[email protected]>
SVN-Revision: 46017

10 years agoprocd: update to the latest version, fixes /dev/shm permissions
Felix Fietkau [Wed, 17 Jun 2015 10:13:24 +0000 (10:13 +0000)]
procd: update to the latest version, fixes /dev/shm permissions

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46013

10 years agoar71xx: rb493g: fix gpio-mdio accesses under load
Jonas Gorski [Wed, 17 Jun 2015 09:55:13 +0000 (09:55 +0000)]
ar71xx: rb493g: fix gpio-mdio accesses under load

It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.

Performance impact seems to be neglectable, as mdio accesses are not
that often.

Hopefully fixes #19500.

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 46012

10 years agokernel: update 3.18 to 3.18.16
Jonas Gorski [Wed, 17 Jun 2015 09:54:55 +0000 (09:54 +0000)]
kernel: update 3.18 to 3.18.16

Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 46011

10 years agoath9k: add another fix for some rx/tx dma stop issues, refresh patches
Felix Fietkau [Wed, 17 Jun 2015 09:09:03 +0000 (09:09 +0000)]
ath9k: add another fix for some rx/tx dma stop issues, refresh patches

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46008

10 years agokernel: add missing config symbol
Felix Fietkau [Wed, 17 Jun 2015 09:08:20 +0000 (09:08 +0000)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46007

10 years agoltq-vdsl-app: build fix for MUSL
Matteo Croce [Tue, 16 Jun 2015 21:43:26 +0000 (21:43 +0000)]
ltq-vdsl-app: build fix for MUSL

SVN-Revision: 46006

10 years agoopenssl: disable parallel builds (spurious linking break)
Steven Barth [Tue, 16 Jun 2015 17:28:11 +0000 (17:28 +0000)]
openssl: disable parallel builds (spurious linking break)

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46005

10 years agohardening: enable RELRO by default
Steven Barth [Tue, 16 Jun 2015 17:28:05 +0000 (17:28 +0000)]
hardening: enable RELRO by default

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46004

10 years agohardening: enable format security checking by default
Steven Barth [Tue, 16 Jun 2015 17:27:59 +0000 (17:27 +0000)]
hardening: enable format security checking by default

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 46003

10 years agomusl: update to version 1.1.10+git
Felix Fietkau [Tue, 16 Jun 2015 11:55:23 +0000 (11:55 +0000)]
musl: update to version 1.1.10+git

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 46001

10 years agoopkg: fix duplicate check_signature line for smime variant (#19863)
Felix Fietkau [Tue, 16 Jun 2015 10:51:16 +0000 (10:51 +0000)]
opkg: fix duplicate check_signature line for smime variant (#19863)

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45999

10 years agobcm53xx: use USB patches sent upstream by Hauke
Rafał Miłecki [Tue, 16 Jun 2015 08:28:46 +0000 (08:28 +0000)]
bcm53xx: use USB patches sent upstream by Hauke

This stabilizes USB support. The old patch was handling initialization
in a different order that was causing some problems with few USB 3.0
devices. Some weren't detected, some were working unstable, sometimes
USB 3.0 could hang the whole controller.

A still known issue (but not a regression) is controller hang triggered
by connecting USB 1.1 device when not having OHCI controller enabled
(kmod-usb-ohci).

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 45997

10 years agotoolchain: switch to musl by default, except for mips64
Felix Fietkau [Mon, 15 Jun 2015 23:05:08 +0000 (23:05 +0000)]
toolchain: switch to musl by default, except for mips64

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45995

10 years agokernel: use bcma-hcd.ko on bcm53xx for ohci
Rafał Miłecki [Mon, 15 Jun 2015 22:11:50 +0000 (22:11 +0000)]
kernel: use bcma-hcd.ko on bcm53xx for ohci

On bcm53xx we still need usb-ohci to support USB 1.1 devices and it
obviously needs bcma-hcd.ko that will init controller and register
platform device.

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 45994

10 years agokernel: add missing config symbol (#19870)
Felix Fietkau [Mon, 15 Jun 2015 21:16:15 +0000 (21:16 +0000)]
kernel: add missing config symbol (#19870)

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45992

10 years agomt76: update to the latest version to fix a build error (#19871)
Felix Fietkau [Mon, 15 Jun 2015 21:14:01 +0000 (21:14 +0000)]
mt76: update to the latest version to fix a build error (#19871)

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45990

10 years agoUpdate dnsmasq to v2.73.
Steven Barth [Mon, 15 Jun 2015 08:10:59 +0000 (08:10 +0000)]
Update dnsmasq to v2.73.

Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
SVN-Revision: 45988

10 years agoRevert "kernel: add rtl8723au driver (staging)"
Felix Fietkau [Mon, 15 Jun 2015 07:46:33 +0000 (07:46 +0000)]
Revert "kernel: add rtl8723au driver (staging)"

This one cannot possibly work, as it depends on cfg80211, which is built
out of tree.

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45985

10 years agoelfutils: bump to 0.162
Felix Fietkau [Mon, 15 Jun 2015 07:46:21 +0000 (07:46 +0000)]
elfutils: bump to 0.162

Besides source.tgz, 001-elfutils-portability.patch (provided by upstream
project) where updated.

Other patches where updated to fix hulk warnings and minor conflicts.

Signed-off-by: Luiz Angelo Daros de Luca <[email protected]>
SVN-Revision: 45984

10 years agoar71xx/image: move ubnt images to new BuildCode
Felix Fietkau [Mon, 15 Jun 2015 07:46:05 +0000 (07:46 +0000)]
ar71xx/image: move ubnt images to new BuildCode

Signed-off-by: Alexander Couzens <[email protected]>
SVN-Revision: 45983

10 years agoar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards
Felix Fietkau [Mon, 15 Jun 2015 07:45:54 +0000 (07:45 +0000)]
ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards

Signed-off-by: Alexander Couzens <[email protected]>
SVN-Revision: 45982

10 years agoar71xx/image: new build step Build/mkubntimage for ubnt factory images
Felix Fietkau [Mon, 15 Jun 2015 07:45:46 +0000 (07:45 +0000)]
ar71xx/image: new build step Build/mkubntimage for ubnt factory images

Signed-off-by: Alexander Couzens <[email protected]>
SVN-Revision: 45981

10 years agoimage.mk: add Build step pad-to
Felix Fietkau [Mon, 15 Jun 2015 07:45:36 +0000 (07:45 +0000)]
image.mk: add Build step pad-to

pad-to can be used in a pipe to pad the image to a specific chunk-size.
Signed-off-by: Alexander Couzens <[email protected]>
SVN-Revision: 45980

10 years agoimage.mk: add Build step combined-image
Felix Fietkau [Mon, 15 Jun 2015 07:45:27 +0000 (07:45 +0000)]
image.mk: add Build step combined-image

Signed-off-by: Alexander Couzens <[email protected]>
SVN-Revision: 45979

10 years agoMakefile: move the cleaning of staging_dir/target* from dirclean to clean
Felix Fietkau [Sun, 14 Jun 2015 17:47:16 +0000 (17:47 +0000)]
Makefile: move the cleaning of staging_dir/target* from dirclean to clean

Currently "make clean" only clears the build_dir/target*, but leaves
staging_dir/target* intact. "make clean" should also clean the
staging_dir/target* directories, as in the current situation some old
packages or libraries may be linked into the firmware from staging_dir
despite a "make clean".

The patch reorganises clean / dirclean functionality so that
* "make clean" also clears the staging_dir/target* in addition to
build_dir/target*.
* "make dirclean" clears toolchain and host(=tools) directories from both
build_dir and staging_dir

signed-off-by: Hannu Nyman <[email protected]>

SVN-Revision: 45973

10 years agoprocd: update to the latest version, adds a few fixes
Felix Fietkau [Sun, 14 Jun 2015 17:44:04 +0000 (17:44 +0000)]
procd: update to the latest version, adds a few fixes

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45972

10 years agoar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Felix Fietkau [Sun, 14 Jun 2015 17:43:59 +0000 (17:43 +0000)]
ar71xx: return limit as number of processed frames when re-scheduling NAPI poll

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45971

10 years agoar8216: Fix problem with AR8337 MAC swap handling
Felix Fietkau [Sun, 14 Jun 2015 17:43:50 +0000 (17:43 +0000)]
ar8216: Fix problem with AR8337 MAC swap handling

AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <[email protected]>
SVN-Revision: 45970

10 years agoelfutils: import package from packages.git
Felix Fietkau [Sun, 14 Jun 2015 17:43:40 +0000 (17:43 +0000)]
elfutils: import package from packages.git

elfutils is required by perf. So we'll move this package from
packages.git and make it part of the core distribution.

Signed-off-by: Mathieu Olivari <[email protected]>
SVN-Revision: 45969

10 years agobzip2: import package from packages.git
Felix Fietkau [Sun, 14 Jun 2015 17:43:34 +0000 (17:43 +0000)]
bzip2: import package from packages.git

bzip2 is required by elfutils, itself required by perf. So we'll move
this package from packages.git and make it part of the core
distribution.

Signed-off-by: Mathieu Olivari <[email protected]>
SVN-Revision: 45968

10 years agoargp-standalone: import package from packages.git
Felix Fietkau [Sun, 14 Jun 2015 17:43:28 +0000 (17:43 +0000)]
argp-standalone: import package from packages.git

argp-standalone is required by elfutils, itself required by perf. So
we'll move this package from packages.git and make it part of the core
distribution.

Signed-off-by: Mathieu Olivari <[email protected]>
SVN-Revision: 45967

10 years agoinclude/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.
Felix Fietkau [Sun, 14 Jun 2015 17:43:22 +0000 (17:43 +0000)]
include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.

Hello,

I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table.
Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file.

Best Regards,
Martin Strbacka

Signed-off-by: Martin Strbacka <[email protected]>
SVN-Revision: 45966

10 years agoar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
Felix Fietkau [Sun, 14 Jun 2015 17:43:18 +0000 (17:43 +0000)]
ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW

This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M
XW image compatible with other Ubiquiti devices with similar hardware with a
Gigabit Ethernet port.

Signed-off-by: Roger Pueyo Centelles <[email protected]>
SVN-Revision: 45965

10 years agobuild: do another init script enabling run, fixes init scripts added via files/ ...
Felix Fietkau [Sun, 14 Jun 2015 17:42:05 +0000 (17:42 +0000)]
build: do another init script enabling run, fixes init scripts added via files/ (#19857)

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45964

10 years agooxnas: change file extension of u-boot+initramfs image
Felix Fietkau [Sun, 14 Jun 2015 17:42:00 +0000 (17:42 +0000)]
oxnas: change file extension of u-boot+initramfs image

The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 45963

10 years agoopenvpn: bump PKG_RELEASE.
Felix Fietkau [Sun, 14 Jun 2015 17:41:54 +0000 (17:41 +0000)]
openvpn: bump PKG_RELEASE.

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 45962

10 years agoopenvpn: let instances drop to nobody in default config.
Felix Fietkau [Sun, 14 Jun 2015 17:41:43 +0000 (17:41 +0000)]
openvpn: let instances drop to nobody in default config.

This is for security precautions.  As persist_tun and persist_key are
already there, this should not cause compatibility issue.

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 45961

10 years agoopenvpn: fix handling option auth_retry.
Felix Fietkau [Sun, 14 Jun 2015 17:41:38 +0000 (17:41 +0000)]
openvpn: fix handling option auth_retry.

As reported in ticket #19104, auth_retry takes a <type> argument with 3
choices: none, nointeract, interact.

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 45960

10 years agolibubox: update to the latest version, adds a few fixes
Felix Fietkau [Sun, 14 Jun 2015 17:41:33 +0000 (17:41 +0000)]
libubox: update to the latest version, adds a few fixes

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45959

10 years agoar71xx: fix mac offset in firmware file
Felix Fietkau [Sun, 14 Jun 2015 17:41:27 +0000 (17:41 +0000)]
ar71xx: fix mac offset in firmware file

In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624

Signed-off-by: Cezary Jackiewicz <[email protected]>
SVN-Revision: 45958

10 years agofirmware-tools/ptgen: use stdint types for struct pte
Felix Fietkau [Sun, 14 Jun 2015 17:41:21 +0000 (17:41 +0000)]
firmware-tools/ptgen: use stdint types for struct pte

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45957

10 years agofirmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.
Felix Fietkau [Sun, 14 Jun 2015 17:41:16 +0000 (17:41 +0000)]
firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.

They are of 32-bit little endian integers.

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 45956

10 years agoprocd: correct the order of respawn params in the comments.
Felix Fietkau [Sun, 14 Jun 2015 17:41:07 +0000 (17:41 +0000)]
procd: correct the order of respawn params in the comments.

Signed-off-by: Yousong Zhou <[email protected]>
SVN-Revision: 45955

10 years agoar71xx: fix 100/10mbps ethernet link issues on mynet range extender
Felix Fietkau [Sun, 14 Jun 2015 17:41:01 +0000 (17:41 +0000)]
ar71xx: fix 100/10mbps ethernet link issues on mynet range extender

The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <[email protected]>
SVN-Revision: 45954

10 years agosamba36: remove host build paths
Felix Fietkau [Sun, 14 Jun 2015 17:40:52 +0000 (17:40 +0000)]
samba36: remove host build paths

- fix iconv detection because it adds host paths
- disable python detection (host python-config is found)

iconv issue is reported by buildbot config.log + replicated locally
see config.log in logs.tar.gz
python issue observed locally on Arch Linux

Signed-off-by: Dirk Neukirchen <[email protected]>
SVN-Revision: 45953

10 years agomt76: update to the latest version, adds many fixes
Felix Fietkau [Sat, 13 Jun 2015 08:47:28 +0000 (08:47 +0000)]
mt76: update to the latest version, adds many fixes

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 45952

10 years agoopenssl: 1.0.2c (srsly, you guys, srsly)
Steven Barth [Fri, 12 Jun 2015 20:49:20 +0000 (20:49 +0000)]
openssl: 1.0.2c (srsly, you guys, srsly)

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 45950

10 years agoppp: bump PKG_RELEASE
Steven Barth [Fri, 12 Jun 2015 07:38:00 +0000 (07:38 +0000)]
ppp: bump PKG_RELEASE

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 45949

10 years agoppp : Unnumbered support
Steven Barth [Fri, 12 Jun 2015 07:37:53 +0000 (07:37 +0000)]
ppp : Unnumbered support

Adds PPP unnumbered support via the parameter unnumbered which points to a logical OpenWRT interface.
The PPP proto shell handler will "borrow" an IP address from the unnumbered interface (if multiple
IP addresses are present the longest prefix different from 32 will be "borrowed") for which a host
interface dependency will be created. Due to the host interface dependency the PPP unnumbered interface
will only "borrow" an IP address from an interface which is up.
The borrowed IP address will be shared as local IP address by the PPP daemon and no other local IP
will be accepted from the peer in the IPCP negotiation.

A typical use case is the usage of a public IP subnet on the Lan interface which will be shared
by the PPP interface as local IP address.

Signed-off-by: Hans Dedecker <[email protected]>
SVN-Revision: 45948

10 years agoopenssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792...
Steven Barth [Thu, 11 Jun 2015 20:36:46 +0000 (20:36 +0000)]
openssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792 CVE-2015-1791

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 45947

10 years agoopenssl: 1.0.2b (hey, we made it nearly 3 months this time!)
Steven Barth [Thu, 11 Jun 2015 20:28:44 +0000 (20:28 +0000)]
openssl: 1.0.2b (hey, we made it nearly 3 months this time!)

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 45946

10 years agobrcm63xx: fix A4001N image padding size
Jonas Gorski [Thu, 11 Jun 2015 12:10:43 +0000 (12:10 +0000)]
brcm63xx: fix A4001N image padding size

When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 45945

10 years agotoolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03
Imre Kaloz [Thu, 11 Jun 2015 11:57:11 +0000 (11:57 +0000)]
toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03

Signed-off-by: Imre Kaloz <[email protected]>
SVN-Revision: 45944

10 years agobcm53xx: update NVRAM driver to MIPS version from upstream-sfr
Rafał Miłecki [Wed, 10 Jun 2015 20:34:32 +0000 (20:34 +0000)]
bcm53xx: update NVRAM driver to MIPS version from upstream-sfr

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 45943

10 years agobrcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
Rafał Miłecki [Wed, 10 Jun 2015 19:52:07 +0000 (19:52 +0000)]
brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 45942

10 years agoodhcp6c: work around RIOs matching PIOs as sent by some apple routers
Steven Barth [Wed, 10 Jun 2015 15:54:24 +0000 (15:54 +0000)]
odhcp6c: work around RIOs matching PIOs as sent by some apple routers

Thanks to Mikael Abrahamsson for reporting.

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 45941

10 years ago6to4: Remove sourcerouting parameter registration
Steven Barth [Wed, 10 Jun 2015 11:50:13 +0000 (11:50 +0000)]
6to4: Remove sourcerouting parameter registration

Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

Signed-off-by: Hans Dedecker <[email protected]>
SVN-Revision: 45940

10 years ago6rd: Remove sourcerouting parameter registration
Steven Barth [Wed, 10 Jun 2015 11:50:09 +0000 (11:50 +0000)]
6rd: Remove sourcerouting parameter registration

Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

Signed-off-by: Hans Dedecker <[email protected]>
SVN-Revision: 45939