openwrt.git
9 years agomodules: add depenency on usb-gadget for dwc2 also on brcm63xx
jogo [Sun, 15 Mar 2015 14:19:14 +0000 (14:19 +0000)]
modules: add depenency on usb-gadget for dwc2 also on brcm63xx

Bcm63xx supports usb gadget, so dwc2 will default do dual mode.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44786 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+
jogo [Sun, 15 Mar 2015 14:19:10 +0000 (14:19 +0000)]
brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+

Fix the module path for linux 3.18+.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44785 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: fix 6368 cpu1 reg typo
jogo [Sun, 15 Mar 2015 14:19:07 +0000 (14:19 +0000)]
brcm63xx: fix 6368 cpu1 reg typo

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44784 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: remove leftovers from old llvm-gcc experiments
nbd [Sun, 15 Mar 2015 12:03:01 +0000 (12:03 +0000)]
toolchain: remove leftovers from old llvm-gcc experiments

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

9 years agoscripts/feeds: add support for uninstalling targets
nbd [Sun, 15 Mar 2015 11:08:10 +0000 (11:08 +0000)]
scripts/feeds: add support for uninstalling targets

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

9 years agoscripts/feeds: add support for installing targets
nbd [Sun, 15 Mar 2015 11:08:05 +0000 (11:08 +0000)]
scripts/feeds: add support for installing targets

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

9 years agoscripts/metadata.pm: save target makefile names
nbd [Sun, 15 Mar 2015 11:08:01 +0000 (11:08 +0000)]
scripts/metadata.pm: save target makefile names

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

9 years agoscripts/feeds: get rid of redundant feed cache copy
nbd [Sun, 15 Mar 2015 11:07:57 +0000 (11:07 +0000)]
scripts/feeds: get rid of redundant feed cache copy

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

9 years agoscripts/feeds: remove useless install_method abstraction
nbd [Sun, 15 Mar 2015 11:07:52 +0000 (11:07 +0000)]
scripts/feeds: remove useless install_method abstraction

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

9 years agoscripts/feeds: add support for searching for targets
nbd [Sun, 15 Mar 2015 11:07:44 +0000 (11:07 +0000)]
scripts/feeds: add support for searching for targets

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

9 years agoscripts/metadata.pl: move parse_target_metadata() to metadata.pm
nbd [Sun, 15 Mar 2015 11:07:40 +0000 (11:07 +0000)]
scripts/metadata.pl: move parse_target_metadata() to metadata.pm

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

9 years agoscripts/feeds: scan for target metadata
nbd [Sun, 15 Mar 2015 11:07:34 +0000 (11:07 +0000)]
scripts/feeds: scan for target metadata

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

9 years agobuild: use different grep strings for scanning package vs target metadata
nbd [Sun, 15 Mar 2015 11:07:29 +0000 (11:07 +0000)]
build: use different grep strings for scanning package vs target metadata

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

9 years agoscripts/feeds: remove a few trailing tabs
nbd [Sun, 15 Mar 2015 11:06:50 +0000 (11:06 +0000)]
scripts/feeds: remove a few trailing tabs

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

9 years agouhttpd: make generating SSL keys more reliable against interrupted boots
nbd [Sun, 15 Mar 2015 10:32:10 +0000 (10:32 +0000)]
uhttpd: make generating SSL keys more reliable against interrupted boots

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

9 years agolantiq: add a better fix to strip FCS from ethernet packets on XRX200
nbd [Sun, 15 Mar 2015 09:47:34 +0000 (09:47 +0000)]
lantiq: add a better fix to strip FCS from ethernet packets on XRX200

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

9 years agoltq-vdsl-fw: fix md5sum for new firmware
nbd [Sun, 15 Mar 2015 07:57:55 +0000 (07:57 +0000)]
ltq-vdsl-fw: fix md5sum for new firmware

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

9 years agolantiq: enable atm-esi by default for xrx200
nbd [Sun, 15 Mar 2015 07:57:51 +0000 (07:57 +0000)]
lantiq: enable atm-esi by default for xrx200

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

9 years agoath9k: disable TPC support for now until bugs have been found and fixed
nbd [Sun, 15 Mar 2015 07:10:38 +0000 (07:10 +0000)]
ath9k: disable TPC support for now until bugs have been found and fixed

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44768 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes #19160)
nbd [Sun, 15 Mar 2015 06:51:45 +0000 (06:51 +0000)]
ltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes #19160)

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

9 years agotoolchain: r44701 accidentially removed the uclibc default when TOOLCHAINOPTS is set
blogic [Sun, 15 Mar 2015 06:35:18 +0000 (06:35 +0000)]
toolchain: r44701 accidentially removed the uclibc default when TOOLCHAINOPTS is set

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44766 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: enable open by fhandle syscalls
blogic [Sun, 15 Mar 2015 06:35:13 +0000 (06:35 +0000)]
kernel: enable open by fhandle syscalls

This is needed by many services to function properly and as
all modern distributions got it enabled, it starts to be a
de-facto standard, i.e. user-space starts to silently depend
on it.

This also pulls in EXPORTFS, however, the kernel binary size
increases only a little.
On ARM systems comes down to 800 bytes uncompressed and about
200 bytes compressed size.
On MIPS systems it's about 1.2 kB size increase of the LZMA
compressed kernel.

v2: use menuconfig option instead of just enabling the option

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44765 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm2708: fix mkdosfs command line options order
nbd [Sun, 15 Mar 2015 05:18:50 +0000 (05:18 +0000)]
brcm2708: fix mkdosfs command line options order

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44764 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodosfstools: fix build on OS X
nbd [Sun, 15 Mar 2015 05:18:45 +0000 (05:18 +0000)]
dosfstools: fix build on OS X

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44763 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodosfstools: update to v3.0.27
nbd [Sun, 15 Mar 2015 05:18:40 +0000 (05:18 +0000)]
dosfstools: update to v3.0.27

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44762 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoscripts: fix ubinize-image on OS X
nbd [Sun, 15 Mar 2015 05:12:11 +0000 (05:12 +0000)]
scripts: fix ubinize-image on OS X

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44761 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopatch: bump GNU patch to 2.7.5
nbd [Sun, 15 Mar 2015 05:07:10 +0000 (05:07 +0000)]
patch: bump GNU patch to 2.7.5

Bump GNU patch in tools from 2.7.1 to 2.7.5.
Change download URL to use @GNU alias.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44760 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86: refresh kernel config
nbd [Sun, 15 Mar 2015 04:43:37 +0000 (04:43 +0000)]
x86: refresh kernel config

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

9 years agox86: update to kernel 3.18
nbd [Sun, 15 Mar 2015 04:43:30 +0000 (04:43 +0000)]
x86: update to kernel 3.18

copied target/linux/x86/config-3.14 and target/linux/x86/patches-3.14 to
3.18 equivalents and then tweaked until it built.

Tested on alix2, soekris net4826 and soekris net4521.

Still having trouble with net4826 booting from Grub, alix2 and net4521
are fine.

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44758 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: fix portability issues of the x86 vdso2c utility
nbd [Sun, 15 Mar 2015 04:43:22 +0000 (04:43 +0000)]
kernel: fix portability issues of the x86 vdso2c utility

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

9 years agokernel: add missing config symbol for 3.18+
nbd [Sun, 15 Mar 2015 04:40:10 +0000 (04:40 +0000)]
kernel: add missing config symbol for 3.18+

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

9 years agobcm53xx: support NVRAM prefixes with extra / in devpath
rmilecki [Sat, 14 Mar 2015 16:35:56 +0000 (16:35 +0000)]
bcm53xx: support NVRAM prefixes with extra / in devpath

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

9 years agoath9k: always select relay support, not just when debugfs is enabled - fixes an unres...
nbd [Sat, 14 Mar 2015 12:12:25 +0000 (12:12 +0000)]
ath9k: always select relay support, not just when debugfs is enabled - fixes an unresolved symbol error

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

9 years agox86: disable rts/cts for serial console in grub - fixes net48xx boot issues
nbd [Sat, 14 Mar 2015 08:38:35 +0000 (08:38 +0000)]
x86: disable rts/cts for serial console in grub - fixes net48xx boot issues

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

9 years agogrub2: fix processing the serial rts/cts option
nbd [Sat, 14 Mar 2015 08:21:02 +0000 (08:21 +0000)]
grub2: fix processing the serial rts/cts option

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

9 years agokernel: linux 3.19 also needs the network namespace related fd export patch (#19161)
nbd [Sat, 14 Mar 2015 05:38:14 +0000 (05:38 +0000)]
kernel: linux 3.19 also needs the network namespace related fd export patch (#19161)

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

9 years agoath: fix selecting the module individually (#19162)
nbd [Sat, 14 Mar 2015 02:00:50 +0000 (02:00 +0000)]
ath: fix selecting the module individually (#19162)

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

9 years agomac80211: fix a rounding issue in minstrel MCS rate duration calculation
nbd [Sat, 14 Mar 2015 02:00:44 +0000 (02:00 +0000)]
mac80211: fix a rounding issue in minstrel MCS rate duration calculation

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

9 years agomac80211: improve powersave handling in the tx queue rework patch
nbd [Sat, 14 Mar 2015 02:00:36 +0000 (02:00 +0000)]
mac80211: improve powersave handling in the tx queue rework patch

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

9 years agodnsmasq: enable pxe-prompt, pxe-service config options
blogic [Fri, 13 Mar 2015 08:39:08 +0000 (08:39 +0000)]
dnsmasq: enable pxe-prompt, pxe-service config options

DNSMASQ has the ability to provide a menu to a pxeboot system, using
the --pxe-prompt and --pxe-service configuration options.  The current
init.d script converting the "dhcp" file to "dnsmasq.conf" does not
find these options, but they are supported.  This patch thus enables
the options.

Signed-off-by: Derek LaHousse <dlahouss@mtu.edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44747 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoBusyBox: Netcat 1.10 compatibility require server option
blogic [Fri, 13 Mar 2015 08:38:56 +0000 (08:38 +0000)]
BusyBox: Netcat 1.10 compatibility require server option

Netcat 1.10 compatibility require server options

1.10 compatibility without server option
produce error "NO OPT l!" and completely not function

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44746 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorelayd: bump to latest git HEAD
blogic [Fri, 13 Mar 2015 08:38:46 +0000 (08:38 +0000)]
relayd: bump to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44745 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Make parameters optional in dhcpboot config
blogic [Fri, 13 Mar 2015 08:38:35 +0000 (08:38 +0000)]
dnsmasq: Make parameters optional in dhcpboot config

The --dhcp-boot option of dnsmasq does not require servername and serveraddress
arguments if the builtin tftp server is used.

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44744 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolldpd: make LLDP-MED, DOT1 and DOT3 extensions disable-able
blogic [Fri, 13 Mar 2015 08:38:25 +0000 (08:38 +0000)]
lldpd: make LLDP-MED, DOT1 and DOT3 extensions disable-able

The names for the config options were taken from lldpd's
configure.ac file.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44743 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipset: add ipmark support
blogic [Fri, 13 Mar 2015 08:38:17 +0000 (08:38 +0000)]
ipset: add ipmark support

Below you'll find a patch to add ipmark module support to ipset.
Changeset 44671 already bumped ipset to version 6.24, but it's still
compiled without ipmark support. This is a requirement for mwan3 v1.6.

Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44742 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: support change tx/rx ring size
blogic [Fri, 13 Mar 2015 08:38:08 +0000 (08:38 +0000)]
ralink: support change tx/rx ring size

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44741 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: use random generate mac address instead of default one.
blogic [Fri, 13 Mar 2015 08:38:01 +0000 (08:38 +0000)]
ralink: use random generate mac address instead of default one.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44740 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: add wifi 5g dts info for cy-swr1100
blogic [Fri, 13 Mar 2015 08:37:45 +0000 (08:37 +0000)]
ralink: add wifi 5g dts info for cy-swr1100

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44739 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix a pointer handling error in the new tx queueing code
nbd [Fri, 13 Mar 2015 05:17:06 +0000 (05:17 +0000)]
mac80211: fix a pointer handling error in the new tx queueing code

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

9 years agoath25: set myself as maintainer
nbd [Fri, 13 Mar 2015 03:02:34 +0000 (03:02 +0000)]
ath25: set myself as maintainer

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44737 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoRename 'atheros' target to 'ath25'
nbd [Fri, 13 Mar 2015 03:02:28 +0000 (03:02 +0000)]
Rename 'atheros' target to 'ath25'

Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44736 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: remove odd board check during image build
nbd [Fri, 13 Mar 2015 03:02:21 +0000 (03:02 +0000)]
atheros: remove odd board check during image build

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44735 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: remove linux 3.14
nbd [Fri, 13 Mar 2015 03:02:17 +0000 (03:02 +0000)]
atheros: remove linux 3.14

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44734 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: switch to 3.18
nbd [Fri, 13 Mar 2015 03:02:12 +0000 (03:02 +0000)]
atheros: switch to 3.18

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44733 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: renumber backported patches
nbd [Fri, 13 Mar 2015 03:02:08 +0000 (03:02 +0000)]
atheros: v3.18: renumber backported patches

Move first 3 patches to 0xx numbers range to denote that this is
backported code and they should be removed when we update
kernel to version >= 3.19

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44732 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: non-functional cleanup
nbd [Fri, 13 Mar 2015 03:02:00 +0000 (03:02 +0000)]
atheros: v3.18: non-functional cleanup

To finally sync code with upsream cleanup registers headers, and update
several comments and kernel config symbols descriptions. No functional
changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44731 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: cleanup includes
nbd [Fri, 13 Mar 2015 03:01:50 +0000 (03:01 +0000)]
atheros: v3.18: cleanup includes

Remove odd and add missed includes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44730 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rearrange code between patches
nbd [Fri, 13 Mar 2015 03:01:42 +0000 (03:01 +0000)]
atheros: v3.18: rearrange code between patches

Cleanup board patch by moving code to specific patches, and factor out
leds to separate patch. No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44729 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: move GPIO patches behind PCI
nbd [Fri, 13 Mar 2015 03:01:37 +0000 (03:01 +0000)]
atheros: v3.18: move GPIO patches behind PCI

Move GPIO patches behind PCI patch, since they are not yet merged
upstream.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44728 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: switch to IRQ domain
nbd [Fri, 13 Mar 2015 03:01:31 +0000 (03:01 +0000)]
atheros: v3.18: switch to IRQ domain

Rework MISC and PCI IRQ controllers code to use IRQ domains and bitops.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44727 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: update register names
nbd [Fri, 13 Mar 2015 03:01:21 +0000 (03:01 +0000)]
atheros: v3.18: update register names

Make register names more consistent, mostly add appropriate prefix
(AR5312_ or AR2315_) or _BASE suffix. Also add macro to simplify mask
and shift operation.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44726 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: remap flash for boardconfig parsing
nbd [Fri, 13 Mar 2015 03:01:17 +0000 (03:01 +0000)]
atheros: v3.18: remap flash for boardconfig parsing

Rework boardconfig handling code to honestly remap flash memory region.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44725 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: make registers headers local
nbd [Fri, 13 Mar 2015 03:01:11 +0000 (03:01 +0000)]
atheros: v3.18: make registers headers local

There are no external users (last one was PCI driver) for these headers,
so move them to arch directory. Few macroses from ar231x.h header moved
to devices.h and file was removed.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44724 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: remap main SoC MMR memory
nbd [Fri, 13 Mar 2015 03:01:04 +0000 (03:01 +0000)]
atheros: v3.18: remap main SoC MMR memory

Honestly remap main SoC MMR mem and use accessor functions to
interact with registers. Now registers defined relatively to base
address (e.g. SDRAM controller base address).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44723 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: cleanup register headers
nbd [Fri, 13 Mar 2015 03:00:59 +0000 (03:00 +0000)]
atheros: v3.18: cleanup register headers

AFAIK, no one AR2315+ chip (AR2315, AR2316, AR2317, AR2318) does not
contain IR block, so remove IR registers definitions. Also remove few
unused macroses.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44722 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: pass PCI IRQ and I/O mem via resources
nbd [Fri, 13 Mar 2015 03:00:51 +0000 (03:00 +0000)]
atheros: v3.18: pass PCI IRQ and I/O mem via resources

Pass PCI IRQ and I/O memory ranges via platform device resources, this
change makes PCI controller driver independed from arch headers, so
also remove few includes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44721 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: remap PCI controller MMR memory
nbd [Fri, 13 Mar 2015 03:00:43 +0000 (03:00 +0000)]
atheros: v3.18: remap PCI controller MMR memory

Honestly remap PCI controller MMR and use accessor functions to interact
with registers.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44720 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: add context container for PCI driver
nbd [Fri, 13 Mar 2015 03:00:19 +0000 (03:00 +0000)]
atheros: v3.18: add context container for PCI driver

Add container and place all context specific variables and structure to
it.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44719 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: move PCI enable code to arch
nbd [Fri, 13 Mar 2015 03:00:06 +0000 (03:00 +0000)]
atheros: v3.18: move PCI enable code to arch

Move PCI host interface enable code to arch, since it touches generic
SoC registers outside the PCI MMR region.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44718 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rearrange PCI regs definitions
nbd [Fri, 13 Mar 2015 02:59:54 +0000 (02:59 +0000)]
atheros: v3.18: rearrange PCI regs definitions

Move PCI controller configuration registers from generic header to
driver source. No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44717 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: relocate PCI host DMA base definition
nbd [Fri, 13 Mar 2015 02:59:43 +0000 (02:59 +0000)]
atheros: v3.18: relocate PCI host DMA base definition

Put AR2315_PCI_HOST_SDRAM_BASEADDR macro to DMA header, since this is
arbitrary value and not some hw specific constant. Also this relocation
decouples dma from HW specific header.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44716 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rework early initialization
nbd [Fri, 13 Mar 2015 02:59:27 +0000 (02:59 +0000)]
atheros: v3.18: rework early initialization

Do not use prom_init() callback, do memory initialization in
plat_mem_setup() callback and move serial port configuration to
arch_initcall stage.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44715 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rearrange interrupt handling functions
nbd [Fri, 13 Mar 2015 02:59:19 +0000 (02:59 +0000)]
atheros: v3.18: rearrange interrupt handling functions

No functional changes, just change functions order in source file.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44714 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: change calls logic
nbd [Fri, 13 Mar 2015 02:59:04 +0000 (02:59 +0000)]
atheros: v3.18: change calls logic

Check SoC family (AR5312+ or AR2315+) before call instead of checking it
inside the called function. Also convert ar{5312,2315}_init_device()
function to void, since they both return zero and nobody care about
return value.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44713 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: update names and declarations
nbd [Fri, 13 Mar 2015 02:58:58 +0000 (02:58 +0000)]
atheros: v3.18: update names and declarations

Sync functions, variables and enums names with upstream. Mostly replace
'ar231x_' prefix by 'ath25_'.

No functional changes, except few 'int' -> 'unsigned' changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44712 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: cleanup cpu-feature-overrides.h
nbd [Fri, 13 Mar 2015 02:58:49 +0000 (02:58 +0000)]
atheros: v3.18: cleanup cpu-feature-overrides.h

Remove mention of undefined features.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44711 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: remove eth platform device unused field
nbd [Fri, 13 Mar 2015 02:58:37 +0000 (02:58 +0000)]
atheros: v3.18: remove eth platform device unused field

Ethernet controller driver don't use boarddata directly, so remove
corresponding field from its platform device structure.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44710 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: remove odd header reset.h
nbd [Fri, 13 Mar 2015 02:58:24 +0000 (02:58 +0000)]
atheros: v3.18: remove odd header reset.h

This header provides prototype for function without realization and
users.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44709 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rename platform header
nbd [Fri, 13 Mar 2015 02:58:17 +0000 (02:58 +0000)]
atheros: v3.18: rename platform header

Rename ar231x_platform.h to ath25_platform.h

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44708 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rename kernel platform to ath25
nbd [Fri, 13 Mar 2015 02:57:59 +0000 (02:57 +0000)]
atheros: v3.18: rename kernel platform to ath25

Rename platform source directory and asm includes directory.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44707 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: v3.18: rename ATHEROS_AR231X symbol to ATH25
nbd [Fri, 13 Mar 2015 02:57:51 +0000 (02:57 +0000)]
atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25

This patch starts upsteam ath25 code backporting.

No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44706 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: add v3.18 support
nbd [Fri, 13 Mar 2015 02:57:41 +0000 (02:57 +0000)]
atheros: add v3.18 support

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44705 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoglibc: make it more obvious that eglibc is a version of glibc
blogic [Thu, 12 Mar 2015 20:29:58 +0000 (20:29 +0000)]
glibc: make it more obvious that eglibc is a version of glibc

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44704 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoglibc: remove accidentally commited folder
blogic [Thu, 12 Mar 2015 20:29:50 +0000 (20:29 +0000)]
glibc: remove accidentally commited folder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44703 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: The glorious return of glibc, ver 2.21
blogic [Thu, 12 Mar 2015 19:50:57 +0000 (19:50 +0000)]
toolchain: The glorious return of glibc, ver 2.21

It's the eglibc packaging with a bit of spit-polishing. And testing. :-)

[blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant]

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44701 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobusybox: Minor fix for glibc 2.21 compatibility
blogic [Thu, 12 Mar 2015 19:50:23 +0000 (19:50 +0000)]
busybox: Minor fix for glibc 2.21 compatibility

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofstools: bump to latest git HEAD
blogic [Thu, 12 Mar 2015 19:50:14 +0000 (19:50 +0000)]
fstools: bump to latest git HEAD

this makes fstools compile with latest glibc

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44699 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: bump to latest git HEAD
blogic [Thu, 12 Mar 2015 19:50:00 +0000 (19:50 +0000)]
procd: bump to latest git HEAD

this makes procd compile with latest glibc

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44698 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: fix a beacon enable handling bug
nbd [Thu, 12 Mar 2015 16:21:53 +0000 (16:21 +0000)]
ath9k: fix a beacon enable handling bug

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

9 years agokernel: backport fib_trie improvements/fixes from 4.0-rc
nbd [Thu, 12 Mar 2015 15:27:44 +0000 (15:27 +0000)]
kernel: backport fib_trie improvements/fixes from 4.0-rc

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

9 years agouClibc: fix syscall() for syscalls with 6 arguments on PowerPC
blogic [Thu, 12 Mar 2015 10:07:01 +0000 (10:07 +0000)]
uClibc: fix syscall() for syscalls with 6 arguments on PowerPC

Patch from the uClibc master.

Fixes the package fastd on PowerPC.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44694 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Ext LNA patch for TUBE2H and HORNET-UB targets
blogic [Thu, 12 Mar 2015 10:06:53 +0000 (10:06 +0000)]
ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targets

Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44693 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Hornet UB GPIO WPS/Reset
blogic [Thu, 12 Mar 2015 10:06:42 +0000 (10:06 +0000)]
ar71xx: Hornet UB GPIO WPS/Reset

This problem has existed at least since Attitude Adjustment and
is also present in trunk. Basically on the Hornet-UB board the
functionality of RESET and WPS have "switched places".

There are two tickets about the issue at dev.openwrt.org,
The solution suggested on them both is incomplete though
and introduces the following proglem:

Patching as suggested on #14136/#15282 will result in a situation
where simply pressing the RESET button on the bottom will cause
FACTORY RESET to be run. This is due to GPIO high/low state being
incorrect as a result of the above change and virtually the RESET
button is in the pressed-down state the entire time. When it is
then physically pressed, that causes the opposite, release, to be
triggered and since to the board it seemed that the button was
pressed long before it was released, the FACTORY RESET results.

The attached patch works as expected. I have verified both the
incorrect functionality as well as after fixing the issue as
described in the patch and flashing the resulting firmware to a
Hornet-UB board.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44692 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: resize the flash partition for FireWRT
blogic [Thu, 12 Mar 2015 10:06:31 +0000 (10:06 +0000)]
ralink: resize the flash partition for FireWRT

Signed-off-by: wengbj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44691 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: MT7621 add i2c controller driver
blogic [Thu, 12 Mar 2015 10:06:17 +0000 (10:06 +0000)]
ralink: MT7621 add i2c controller driver

ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code.

Signed-off-by: daixj <fl.service@t-firefly.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44690 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolldpd: add support for 'readonly_mode'
blogic [Thu, 12 Mar 2015 10:06:08 +0000 (10:06 +0000)]
lldpd: add support for 'readonly_mode'

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44689 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: set dwc2 gadget dependency for at91
blogic [Thu, 12 Mar 2015 10:06:01 +0000 (10:06 +0000)]
modules: set dwc2 gadget dependency for at91

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44688 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoacx-mac80211: fails to build on cobalt
blogic [Thu, 12 Mar 2015 10:05:54 +0000 (10:05 +0000)]
acx-mac80211: fails to build on cobalt

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44687 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocobalt: framebuffer device has moved
blogic [Thu, 12 Mar 2015 10:05:48 +0000 (10:05 +0000)]
cobalt: framebuffer device has moved

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44686 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodisable silent-rules by default
mirko [Thu, 12 Mar 2015 00:39:50 +0000 (00:39 +0000)]
disable silent-rules by default

OpenWrt hides verbose output by default,
regardless of automake silent-rules being en-/disabled.

If we enable verbose output for package builds (V=s)
however, we'd like to see as most as possible.

Signed-off-by: Mirko Vogt <mirko@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44685 3c298f89-4303-0410-b956-a3cf2f4a3e73