librecmc/librecmc.git
9 years agotools/mtd-utils: avoid linking libm statically
Jo-Philipp Wich [Thu, 17 Sep 2015 13:07:48 +0000 (13:07 +0000)]
tools/mtd-utils: avoid linking libm statically

Rework static linker flags to not link libm statically, this should fix the
build on CentOS where libm.a is not provided by the libc devel package.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46989

9 years agox86/geode: enable DMI and Geos support (fixes #20512)
Felix Fietkau [Thu, 17 Sep 2015 10:15:52 +0000 (10:15 +0000)]
x86/geode: enable DMI and Geos support (fixes #20512)

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 46986

9 years agox86: fix Geode LX timekeeping (#20531)
Felix Fietkau [Thu, 17 Sep 2015 10:15:45 +0000 (10:15 +0000)]
x86: fix Geode LX timekeeping (#20531)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46985

9 years agokernel: remove lantiq specific ATM API hacks and their kernel space users (fixes...
Felix Fietkau [Thu, 17 Sep 2015 09:45:34 +0000 (09:45 +0000)]
kernel: remove lantiq specific ATM API hacks and their kernel space users (fixes #20523)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46984

9 years agokernel: unbreak atm ABI for 4.0 and 4.1
John Crispin [Wed, 16 Sep 2015 12:40:40 +0000 (12:40 +0000)]
kernel: unbreak atm ABI for 4.0 and 4.1

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46983

9 years agobuild: do not overwrite already existing host commands
Felix Fietkau [Wed, 16 Sep 2015 12:38:16 +0000 (12:38 +0000)]
build: do not overwrite already existing host commands

This prevents a later prereq check from overwriting the installed tar
binary.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46982

9 years agokernel: properly guard the lantiq atm abi hack with an ifdef
John Crispin [Wed, 16 Sep 2015 12:08:05 +0000 (12:08 +0000)]
kernel: properly guard the lantiq atm abi hack with an ifdef

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46981

9 years agoopkg: Extend 'opkg list' command to optionally display package size
John Crispin [Wed, 16 Sep 2015 09:37:39 +0000 (09:37 +0000)]
opkg: Extend 'opkg list' command to optionally display package size

'opkg list' command only displays the available packages' name, version and
description. It would be useful to also see the approximate size of the
available package.

This patch extends "opkg list" command with "--size" to optionally show also
the *.ipk size.
* Default behaviour is to list the available packages as earlier:
  "name - version - description"
* with "--size" the output of is "name - version - size - description".

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 46980

9 years agomac80211: rename iwlagn to iwlwifi
John Crispin [Wed, 16 Sep 2015 09:37:27 +0000 (09:37 +0000)]
mac80211: rename iwlagn to iwlwifi

follow upstream module rename
commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46979

9 years agomac80211: cleanup sort
John Crispin [Wed, 16 Sep 2015 09:37:18 +0000 (09:37 +0000)]
mac80211: cleanup sort

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46978

9 years agomac80211: cleanup remove net prefixes
John Crispin [Wed, 16 Sep 2015 09:37:11 +0000 (09:37 +0000)]
mac80211: cleanup remove net prefixes

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46977

9 years agoprereq-build: test for static zlib availability
Jo-Philipp Wich [Wed, 16 Sep 2015 08:44:53 +0000 (08:44 +0000)]
prereq-build: test for static zlib availability

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46976

9 years agobase-files: refactor default_postinst()
Jo-Philipp Wich [Wed, 16 Sep 2015 08:43:58 +0000 (08:43 +0000)]
base-files: refactor default_postinst()

 - Simplify user spec parsing code
 - Alias IPKG_INSTROOT to shorten code
 - Quote variables where appropriate
 - Remove a useless-use-of-cat instance
 - Suppress errors in case control or list files are missing

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46975

9 years agokernel 3.18/kernel 4.0/kernel 4.1: add missing symbol
John Crispin [Wed, 16 Sep 2015 08:33:25 +0000 (08:33 +0000)]
kernel 3.18/kernel 4.0/kernel 4.1: add missing symbol

deactivate NET_SCTPPROBE just like NET_TCPPROBE

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46974

9 years agox86: add missing symbol
John Crispin [Wed, 16 Sep 2015 08:33:18 +0000 (08:33 +0000)]
x86: add missing symbol

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46973

9 years agoar71xx: add support for ap152 reference board
John Crispin [Wed, 16 Sep 2015 08:33:14 +0000 (08:33 +0000)]
ar71xx: add support for ap152 reference board

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
SVN-Revision: 46972

9 years agoath79: dev-eth: fix QCA9561 set phy interface mode and mask
John Crispin [Wed, 16 Sep 2015 08:33:04 +0000 (08:33 +0000)]
ath79: dev-eth: fix QCA9561 set phy interface mode and mask

QCA9563 and QCA9561 are two series of Qualcomm SoC Dragonfly. The only different
is QCA9563 w/o internal switch. It has one GMAC with SGMII interface. But they
have the same device ID(0x1150). So they share the same codes.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
SVN-Revision: 46971

9 years agoar71xx: uci-defaults: fix ap143 to appropriate group
John Crispin [Wed, 16 Sep 2015 08:32:56 +0000 (08:32 +0000)]
ar71xx: uci-defaults: fix ap143 to appropriate group

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
SVN-Revision: 46970

9 years agolldpd: add extra respawn params
John Crispin [Wed, 16 Sep 2015 08:32:41 +0000 (08:32 +0000)]
lldpd: add extra respawn params

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46969

9 years agolldpd: conversion of init script to procd format
John Crispin [Wed, 16 Sep 2015 08:32:33 +0000 (08:32 +0000)]
lldpd: conversion of init script to procd format

And add respawn param (the main reason for this conversion).

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46968

9 years agolldpd: move /var/run creation + chmod earlier
John Crispin [Wed, 16 Sep 2015 08:32:27 +0000 (08:32 +0000)]
lldpd: move /var/run creation + chmod earlier

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46967

9 years agolldpd: remove obsolete/unsupported lldpctl call
John Crispin [Wed, 16 Sep 2015 08:32:18 +0000 (08:32 +0000)]
lldpd: remove obsolete/unsupported lldpctl call

This call is no longer supported.
Maybe a come-back for it would be to use a config /etc/lldpd.conf
or /etc/lldpd.d/<some-file>.conf

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46966

9 years agobase-files: add /etc/profile.d support
John Crispin [Wed, 16 Sep 2015 08:32:13 +0000 (08:32 +0000)]
base-files: add /etc/profile.d support

OpenWrt should support an optional /etc/profile.d directory like
most other Linux distributions. This allows packages to install
their own scripts into /etc/profile.d/ directory.

The file suffix should make clear, that these scripts
are (sourced) shell-snippets. If the user needs e.g. php or lua,
one must make sure that the interpreter is called.
The reverse failsafe test makes sure, that the effective returncode is 0.

A typcal usecase is the inclusion of private helpers,
special variables or aliases, which at the moment needs
patching the sourcecode and is not well maintainable.
Now the builder can simply add there files.

v1 initial work of Hendrik Lüth <hendrik@linux-nerds.de>
v2 changes regarding RFC (e.g. thomas.langer@lantiq.com)
v3 changes regarding RFC (e.g. mschiffer@universe-factory.net)
v4 keep it simple and mimic OpenWrt style

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 46965

9 years agokernel: unbreak the atm abi
John Crispin [Wed, 16 Sep 2015 08:32:01 +0000 (08:32 +0000)]
kernel: unbreak the atm abi

the lantiq dsl hack to struct atm_trafprm broke the ABI fix this by moving
the variables to the end of the struct

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46964

9 years agoramips: Fix pinmux functions for MT7621
John Crispin [Wed, 16 Sep 2015 08:31:52 +0000 (08:31 +0000)]
ramips: Fix pinmux functions for MT7621

The pinctrl-rt2880 code doesn't support multiple functions with the same
name. This will result in a incorrect pinmux configuration.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46963

9 years agoprocd: update to latest git revision
John Crispin [Wed, 16 Sep 2015 08:31:45 +0000 (08:31 +0000)]
procd: update to latest git revision

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46962

9 years agoar71xx: Add UBNT airGateway Pro support
John Crispin [Wed, 16 Sep 2015 08:31:40 +0000 (08:31 +0000)]
ar71xx: Add UBNT airGateway Pro support

This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro.

Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com>
SVN-Revision: 46961

9 years agofstools: update to latest git revision
John Crispin [Wed, 16 Sep 2015 08:31:24 +0000 (08:31 +0000)]
fstools: update to latest git revision

jffs2reset was following symlinks making it delete mounts for example.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46960

9 years agoramips: add mt7621/3/8 support to the I2C driver
John Crispin [Wed, 16 Sep 2015 08:31:15 +0000 (08:31 +0000)]
ramips: add mt7621/3/8 support to the I2C driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46959

9 years agoramips: fix reported vendor name
John Crispin [Wed, 16 Sep 2015 08:31:10 +0000 (08:31 +0000)]
ramips: fix reported vendor name

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46958

9 years agoramips: add proper mt7688 detection
John Crispin [Wed, 16 Sep 2015 08:31:00 +0000 (08:31 +0000)]
ramips: add proper mt7688 detection

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46957

9 years agoramips: add speed and mode settings to spi-mt7621
John Crispin [Wed, 16 Sep 2015 08:30:43 +0000 (08:30 +0000)]
ramips: add speed and mode settings to spi-mt7621

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46956

9 years agoramips: add get_direction() callback and irq support to gpio-mt7621
John Crispin [Wed, 16 Sep 2015 08:30:17 +0000 (08:30 +0000)]
ramips: add get_direction() callback and irq support to gpio-mt7621

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46955

9 years agoramips: more m7628 pinmux fixes
John Crispin [Wed, 16 Sep 2015 08:30:06 +0000 (08:30 +0000)]
ramips: more m7628 pinmux fixes

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46954

9 years agoramips: add mt7628 pwm driver
John Crispin [Wed, 16 Sep 2015 08:29:55 +0000 (08:29 +0000)]
ramips: add mt7628 pwm driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46953

9 years agoramips: make pinctrl work on newer socs
John Crispin [Wed, 16 Sep 2015 08:29:45 +0000 (08:29 +0000)]
ramips: make pinctrl work on newer socs

newer socs have 2 mux registers

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46952

9 years agoramips: make the mt7628 spi driver work for both cs lines
John Crispin [Wed, 16 Sep 2015 08:29:40 +0000 (08:29 +0000)]
ramips: make the mt7628 spi driver work for both cs lines

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46951

9 years agoramips: make the early_printk code detect which uart is used
John Crispin [Wed, 16 Sep 2015 08:29:31 +0000 (08:29 +0000)]
ramips: make the early_printk code detect which uart is used

only tested on mt7628

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46950

9 years agomac80211: refresh patch
Felix Fietkau [Wed, 16 Sep 2015 07:56:47 +0000 (07:56 +0000)]
mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46949

9 years agoath9k: enable hw manual peak calibration for QCA9561
Felix Fietkau [Wed, 16 Sep 2015 07:56:41 +0000 (07:56 +0000)]
ath9k: enable hw manual peak calibration for QCA9561

This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/
2015-August/034979.html. As the peak detect calibration is set
incorrectly.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46948

9 years agoomap24xx: remove obsolete kernel 3.3 patches
Felix Fietkau [Wed, 16 Sep 2015 07:56:33 +0000 (07:56 +0000)]
omap24xx: remove obsolete kernel 3.3 patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46947

9 years agobinutils: fix name of Binutils 2.25.1
Hauke Mehrtens [Tue, 15 Sep 2015 21:58:48 +0000 (21:58 +0000)]
binutils: fix name of Binutils 2.25.1

The Binutils version 2.25.1 was not a Linaro version, but a normal
upstream Binutils version, fix the name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
SVN-Revision: 46946

9 years agoipq806x: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Tue, 15 Sep 2015 16:05:10 +0000 (16:05 +0000)]
ipq806x: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46945

9 years agoimx6: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Tue, 15 Sep 2015 16:05:03 +0000 (16:05 +0000)]
imx6: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46944

9 years agoppp: use more reliable way to set script environment
Steven Barth [Tue, 15 Sep 2015 14:52:47 +0000 (14:52 +0000)]
ppp: use more reliable way to set script environment

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46942

9 years agolantiq: update list on NAND devices in platform_pre_upgrade
Rafał Miłecki [Tue, 15 Sep 2015 11:49:33 +0000 (11:49 +0000)]
lantiq: update list on NAND devices in platform_pre_upgrade

Meanwhile BTHOMEHUBV5A board was added.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46941

9 years agoomcproxy: use 100ms query response interval by default
Steven Barth [Tue, 15 Sep 2015 07:54:55 +0000 (07:54 +0000)]
omcproxy: use 100ms query response interval by default

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46940

9 years agolantiq: add platform_pre_upgrade for sysupgrade
John Crispin [Tue, 15 Sep 2015 06:13:07 +0000 (06:13 +0000)]
lantiq: add platform_pre_upgrade for sysupgrade

As explained in recent sysupgrade/nand.sh commits, current NAND
sysupgrade is a bit misleading because of nand_do_platform_check
behavior. It leaves a special mark in /tmp/sysupgrade-nand-path
triggering some diffent code path in nand_upgrade_stage1.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

Please note that because of current nand_upgrade_stage1 implementation
this patch doesn't change any behaior yet. It only prepares lantiq
target for changing nand_do_platform_check (it will be possible after
preparing all other targets as well).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46939

9 years agoprocd: update to latest git revision
John Crispin [Tue, 15 Sep 2015 06:12:55 +0000 (06:12 +0000)]
procd: update to latest git revision

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46938

9 years agolibubox: update to latest git revision
John Crispin [Tue, 15 Sep 2015 06:12:42 +0000 (06:12 +0000)]
libubox: update to latest git revision

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46937

9 years agoprocd: rework makefile, split ujail/seccomp
John Crispin [Tue, 15 Sep 2015 06:12:34 +0000 (06:12 +0000)]
procd: rework makefile, split ujail/seccomp

this need to be applied after my work on ujail (procd git)
ujail doesn't depend on seccomp and some archs dont support seccomp

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 46936

9 years agomountd: move code to a git repo
John Crispin [Mon, 14 Sep 2015 20:12:21 +0000 (20:12 +0000)]
mountd: move code to a git repo

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46935

9 years agoar71xx: add TP-LINK TL-WDR3320 v2 support
John Crispin [Mon, 14 Sep 2015 20:12:16 +0000 (20:12 +0000)]
ar71xx: add TP-LINK TL-WDR3320 v2 support

This patch adds support for TP-LINK TL-WDR3320 v2.

This router uses a chinese version 2 firmware header,.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
SVN-Revision: 46934

9 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:12:00 +0000 (20:12 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46933

9 years agoar71xx: create profile and build image for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:11:51 +0000 (20:11 +0000)]
ar71xx: create profile and build image for the OpenMesh MR1750 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46932

9 years agopackage/uboot-envtools: add OpenMesh MR1750 support
John Crispin [Mon, 14 Sep 2015 20:11:43 +0000 (20:11 +0000)]
package/uboot-envtools: add OpenMesh MR1750 support

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46931

9 years agopackage/om-watchdog: add OpenMesh MR1750 support
John Crispin [Mon, 14 Sep 2015 20:11:35 +0000 (20:11 +0000)]
package/om-watchdog: add OpenMesh MR1750 support

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46930

9 years agoar71xx: enable sysupgrade for the OpenMesh MR1750
John Crispin [Mon, 14 Sep 2015 20:11:24 +0000 (20:11 +0000)]
ar71xx: enable sysupgrade for the OpenMesh MR1750

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46929

9 years agoscripts/om-fwupgradecfg-gen.sh: add support for the MR1750
John Crispin [Mon, 14 Sep 2015 20:11:18 +0000 (20:11 +0000)]
scripts/om-fwupgradecfg-gen.sh: add support for the MR1750

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46928

9 years agoar71xx: add user-space support for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:11:01 +0000 (20:11 +0000)]
ar71xx: add user-space support for the OpenMesh MR1750 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46927

9 years agoar71xx: add kernel support for the OpenMesh MR1750 board
John Crispin [Mon, 14 Sep 2015 20:10:43 +0000 (20:10 +0000)]
ar71xx: add kernel support for the OpenMesh MR1750 board

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46926

9 years agoscripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum check
John Crispin [Mon, 14 Sep 2015 20:10:10 +0000 (20:10 +0000)]
scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum check

The u-boot on Open Mesh devices checks the whole transfered image against a
md5sum. This is stored inside the option filemd5sum inside the
fwupgrade.cfg. The bootloader will not check it when this setting is
missing and could therefore write invalid images to the flash.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46925

9 years agorealview: create sd card image for qemu
John Crispin [Mon, 14 Sep 2015 20:10:04 +0000 (20:10 +0000)]
realview: create sd card image for qemu

enables a real rootfs with custom size

use qemu with:
qemu-system-arm -M realview-pbx-a9 \
-kernel openwrt-realview-vmlinux.elf \
-nographic -m 1024M \
-sd openwrt-realview-sdcard.img \
--append "console=ttyAMA0 root=/dev/mmcblk0p1"

modified script from brcm2708 target

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46924

9 years agorealview: enable sd card support
John Crispin [Mon, 14 Sep 2015 20:09:56 +0000 (20:09 +0000)]
realview: enable sd card support

qemu can be run with -sd <imagename>

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46923

9 years agoar71xx: assign proper GPIO pin for Ubiquiti Nanostation models
John Crispin [Mon, 14 Sep 2015 20:09:40 +0000 (20:09 +0000)]
ar71xx: assign proper GPIO pin for Ubiquiti Nanostation models

The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the
following:
* Ubiquiti Nanostation M XM: Pin 8
* Ubiquiti Nanostation M XW: Pin 2

The previous definition of the pins was mixed up between XM and XW model.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
SVN-Revision: 46922

9 years agoramips: Added WIZnet WizFi630A Platform based on Ralink RT5350
John Crispin [Mon, 14 Sep 2015 20:09:31 +0000 (20:09 +0000)]
ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350

This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor.

Signed-off-by: Tobias Welz <tw@wiznet.eu>
SVN-Revision: 46921

9 years agolantiq: Update to the latest DSL driver / application versions
John Crispin [Mon, 14 Sep 2015 20:09:22 +0000 (20:09 +0000)]
lantiq: Update to the latest DSL driver / application versions

Thanks to Sylwester Petela for testing my patch (successfully on an
ADSL connection) and for pointing out some configuration mistakes.
Others (including me) have also successfully tested this extensively
on VDSL connections.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46920

9 years agobase-files: sysupgrade: quote source image name
John Crispin [Mon, 14 Sep 2015 20:09:06 +0000 (20:09 +0000)]
base-files: sysupgrade: quote source image name

get_image() eval a filename without quoting it, resulting in errors with
filenames containing characters that need to be escaped.
    $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $?
    Image check 'platform_check_image' failed.
    Invalid config file. Please use only .tar.gz files
    1
    $ mv cfg\(12\).tar.gz cfg_12.tar.gz
    $ mv img\(1\).bin img.bin
    sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $?
    0

Enclose the content of $from in double quotes.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
SVN-Revision: 46919

9 years agoramips: add support for Planex DB-WRT01
John Crispin [Mon, 14 Sep 2015 20:08:55 +0000 (20:08 +0000)]
ramips: add support for Planex DB-WRT01

This patch add support for Planex DB-WRT01. DANBOARD route on
 the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio.
 DANBOARD is Cartoon character.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 46918

9 years agolantiq: get more status information from xDSL
John Crispin [Mon, 14 Sep 2015 20:08:39 +0000 (20:08 +0000)]
lantiq: get more status information from xDSL

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Signed-off-by: Helge Mader <hmader@tdt.de>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 46917

9 years agokernel: dwc2: Add missing config symbol definition
John Crispin [Mon, 14 Sep 2015 20:08:25 +0000 (20:08 +0000)]
kernel: dwc2: Add missing config symbol definition

DWC2 driver has config symbol CONFIG_USB_DWC2_DEBUG_PERIODIC which
should be defined for the module build.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
SVN-Revision: 46916

9 years agolantiq: Add AR9 compatibility bits to DWC2 driver
John Crispin [Mon, 14 Sep 2015 20:08:15 +0000 (20:08 +0000)]
lantiq: Add AR9 compatibility bits to DWC2 driver

Add AR9 DTS definition to be recognized by the DWC2 driver.

The same driver parameters can be mostly used except that some boards
seem to erroneously report OTG HNP/SRP capability of the USB HCD.
Forcing the HNP/SRP off allows these boards to work with the DWC2 as well.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
SVN-Revision: 46915

9 years agolantiq: Introduce DWC2 compatible DTS definitions for AR9 USB
John Crispin [Mon, 14 Sep 2015 20:08:07 +0000 (20:08 +0000)]
lantiq: Introduce DWC2 compatible DTS definitions for AR9 USB

Since the AR9 USB is very similar to the VR9 USB it too can be used with
the upstream DWC2 driver.

Here are the DTS definitions which make it compatible with the DWC2
driver.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
SVN-Revision: 46914

9 years agolantiq: Initialize USB on AR9 platform
John Crispin [Mon, 14 Sep 2015 20:07:23 +0000 (20:07 +0000)]
lantiq: Initialize USB on AR9 platform

Based on the ltq-hcd driver the AR9 USB can be initialized the same way
as the VR9 platform. Use the same initialization bits for both
platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
SVN-Revision: 46913

9 years agoimagebuilder: store package lists in cache directory
Jo-Philipp Wich [Mon, 14 Sep 2015 16:57:03 +0000 (16:57 +0000)]
imagebuilder: store package lists in cache directory

Force opkg to store the downloaded repository indizes into the cache
directory as well, this way the IB can be used in an offline setting
once all required files have been cached.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46912

9 years agoopkg: expose lists_dir option as command line argument
Jo-Philipp Wich [Mon, 14 Sep 2015 16:56:40 +0000 (16:56 +0000)]
opkg: expose lists_dir option as command line argument

Expose the "lists_dir" configuration file option as command line
switch so that we can override it for the Image Builder environment.

Also add a more standard PKG_MAINTAINER variable while touching
the Makefile.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46911

9 years agotools/make-ext4fs: prefer static linking
Jo-Philipp Wich [Mon, 14 Sep 2015 15:15:15 +0000 (15:15 +0000)]
tools/make-ext4fs: prefer static linking

Link zlib statically on Linux systems.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46909

9 years agotools/mtd-utils: prefer static linking
Jo-Philipp Wich [Mon, 14 Sep 2015 14:51:07 +0000 (14:51 +0000)]
tools/mtd-utils: prefer static linking

 - Add patch for optional static linking preference
 - Prefer static linking on Linux systems
 - Enable verbose compiler messages when building with V=c

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46908

9 years agotools/xz: disable shared library
Jo-Philipp Wich [Mon, 14 Sep 2015 14:03:21 +0000 (14:03 +0000)]
tools/xz: disable shared library

Force a static build of the xz utilities in order to avoid the dependency on a
shared liblzma.so which might collide with the distro version.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46907

9 years agoinclude: toplevel: drop unused OPENWRTVERSION variable
Rafał Miłecki [Mon, 14 Sep 2015 07:40:40 +0000 (07:40 +0000)]
include: toplevel: drop unused OPENWRTVERSION variable

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46906

9 years agoramips: fix chunked-io support for big flash chips (#20504)
Felix Fietkau [Mon, 14 Sep 2015 06:54:15 +0000 (06:54 +0000)]
ramips: fix chunked-io support for big flash chips (#20504)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46904

9 years agomac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers...
Felix Fietkau [Mon, 14 Sep 2015 06:51:10 +0000 (06:51 +0000)]
mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46903

9 years agoath10k: reduce dma burst size on newer firmware to fix crashes
Felix Fietkau [Sun, 13 Sep 2015 20:44:09 +0000 (20:44 +0000)]
ath10k: reduce dma burst size on newer firmware to fix crashes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46900

9 years agotoplevel: fix release name
Steven Barth [Sun, 13 Sep 2015 18:02:54 +0000 (18:02 +0000)]
toplevel: fix release name

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46899

9 years agoRevert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)
Felix Fietkau [Sun, 13 Sep 2015 17:39:24 +0000 (17:39 +0000)]
Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit)

SVN-Revision: 46898

9 years agogcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)
Felix Fietkau [Sun, 13 Sep 2015 17:38:55 +0000 (17:38 +0000)]
gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46897

9 years agomusl: fix termios struct c_ispeed/c_ospeed field names
Felix Fietkau [Sun, 13 Sep 2015 17:38:49 +0000 (17:38 +0000)]
musl: fix termios struct c_ispeed/c_ospeed field names

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46896

9 years agoath10k: make title for the old firmware config option more meaningful
Felix Fietkau [Sun, 13 Sep 2015 17:38:42 +0000 (17:38 +0000)]
ath10k: make title for the old firmware config option more meaningful

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46895

9 years agopackages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.
Zoltan Herpai [Sun, 13 Sep 2015 15:11:27 +0000 (15:11 +0000)]
packages: uboot-sunxi: fix mmc transfer timeout for slow sdcards.

This should fix a issue reported in ticket #20387.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 46894

9 years agoar71xx: fix build of lzma-loader with binutils 2.25.1
Hauke Mehrtens [Sat, 12 Sep 2015 18:57:37 +0000 (18:57 +0000)]
ar71xx: fix build of lzma-loader with binutils 2.25.1

To make the lzma-loader build with binutils 2.25.1 it is needed to
remove the .MIPS.abiflags section otherwise I get the following compile
error:

mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin
mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000.
mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated

This should close #20487.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46893

9 years agobcm53xx: add NAND flash chip description for Asus RT-AC87U
Hauke Mehrtens [Sat, 12 Sep 2015 11:10:34 +0000 (11:10 +0000)]
bcm53xx: add NAND flash chip description for Asus RT-AC87U

This should fix #20492.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46892

9 years agoramips: enable external amplifier for Xiaomi MiWiFi Mini
Felix Fietkau [Sat, 12 Sep 2015 10:22:41 +0000 (10:22 +0000)]
ramips: enable external amplifier for Xiaomi MiWiFi Mini

Attempt to boost the 2.4 GHz signal, currently very low.

Signed-off-by: D. Andrei Măceș <dmaces@nd.edu>
SVN-Revision: 46891

9 years agobase-files: fix typo in core dump pattern sysctl entry (fixes #20489)
Felix Fietkau [Sat, 12 Sep 2015 08:57:59 +0000 (08:57 +0000)]
base-files: fix typo in core dump pattern sysctl entry (fixes #20489)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46890

9 years agobcm53xx: reorder some arch patches
Rafał Miłecki [Fri, 11 Sep 2015 22:36:05 +0000 (22:36 +0000)]
bcm53xx: reorder some arch patches

This moves arch patches affecting many DTS files. Thanks to this change
we can put some ready-to-mainline patches at 300-319 and simplify
backporting process.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46889

9 years agowpan-tools: bump to wpan-tools-0.5
Hauke Mehrtens [Fri, 11 Sep 2015 20:52:35 +0000 (20:52 +0000)]
wpan-tools: bump to wpan-tools-0.5

Signed-off-by: Varka Bhadram <varkabhadram@gmail.com>
SVN-Revision: 46888

9 years agomac80211: use wl18xx-fw-4.bin
Hauke Mehrtens [Fri, 11 Sep 2015 20:37:47 +0000 (20:37 +0000)]
mac80211: use wl18xx-fw-4.bin

The driver only supports wl18xx-fw-4.bin and does not support the old
firmware wl18xx-fw-3.bin and more.

The wl18xx-conf.bin file was removed upstream it does not fit all
devices any more, see this on how to generate one:
http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_wlconf

If someone has a config file for the common platforms with the wifi nic
OpenWrt uses please send a patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46887

9 years agomac80211: add iwlagn debug options
Hauke Mehrtens [Fri, 11 Sep 2015 20:37:23 +0000 (20:37 +0000)]
mac80211: add iwlagn debug options

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46886

9 years agomac80211: refresh Intel firmware
Hauke Mehrtens [Fri, 11 Sep 2015 20:36:35 +0000 (20:36 +0000)]
mac80211: refresh Intel firmware

- sort firmware
- add newer firmware for Intel chipsets
- newer Intel MVM require firmware

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46885

9 years agomac80211: iwlagn: enable iwlmvm
Hauke Mehrtens [Fri, 11 Sep 2015 20:36:11 +0000 (20:36 +0000)]
mac80211: iwlagn: enable iwlmvm

- reported in forums
- Intel 7260 and 3160 need IWLMVM drivers/firmware

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46884

9 years agomac80211: update linux-firmware to 2014-09-03
Hauke Mehrtens [Fri, 11 Sep 2015 20:35:11 +0000 (20:35 +0000)]
mac80211: update linux-firmware to 2014-09-03

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
[update to 2014-09-03 and change to xz]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46883