Commit Graph

32504 Commits (4d01d6ccb1abc9939907f82de7e96d63ca8091ed)
 

Author SHA1 Message Date
Felix Fietkau 4d01d6ccb1 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 ago
John Crispin e11479771d kernel: properly guard the lantiq atm abi hack with an ifdef
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46981
9 years ago
John Crispin 5bf8dd5e5e 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 ago
John Crispin cb632b2d3b mac80211: rename iwlagn to iwlwifi
follow upstream module rename
commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33

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

SVN-Revision: 46979
9 years ago
John Crispin 5650c28037 mac80211: cleanup sort
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46978
9 years ago
John Crispin 0d41307073 mac80211: cleanup remove net prefixes
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46977
9 years ago
Jo-Philipp Wich 90daa0d361 prereq-build: test for static zlib availability
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46976
9 years ago
Jo-Philipp Wich 33b3594332 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 ago
John Crispin 94295b80ff 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 ago
John Crispin 74bbc08651 x86: add missing symbol
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46973
9 years ago
John Crispin ac75fc8d98 ar71xx: add support for ap152 reference board
Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>

SVN-Revision: 46972
9 years ago
John Crispin f6607a4bec 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 ago
John Crispin fa09d76521 ar71xx: uci-defaults: fix ap143 to appropriate group
Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>

SVN-Revision: 46970
9 years ago
John Crispin 251b58a0a5 lldpd: add extra respawn params
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

SVN-Revision: 46969
9 years ago
John Crispin 9885e32521 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 ago
John Crispin fc19ec21e4 lldpd: move /var/run creation + chmod earlier
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

SVN-Revision: 46967
9 years ago
John Crispin 5007f488bb 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 ago
John Crispin ef2f50829d 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 ago
John Crispin f461ffbaad 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 ago
John Crispin f453508b3e 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 ago
John Crispin 99e8fd9e84 procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46962
9 years ago
John Crispin 1297679f4b 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 ago
John Crispin 08e0621f4e 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 ago
John Crispin 3a149a2910 ramips: add mt7621/3/8 support to the I2C driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46959
9 years ago
John Crispin e6a9d5edf2 ramips: fix reported vendor name
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46958
9 years ago
John Crispin 86a1e46b63 ramips: add proper mt7688 detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46957
9 years ago
John Crispin 85d5b9984d ramips: add speed and mode settings to spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46956
9 years ago
John Crispin 38c28154bd ramips: add get_direction() callback and irq support to gpio-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46955
9 years ago
John Crispin 23d79b60ce ramips: more m7628 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46954
9 years ago
John Crispin 9473837653 ramips: add mt7628 pwm driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46953
9 years ago
John Crispin 9dfe1f6fbe 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 ago
John Crispin 710520d5c7 ramips: make the mt7628 spi driver work for both cs lines
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46951
9 years ago
John Crispin 6f07b8a659 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 ago
Felix Fietkau 3dc3275b38 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46949
9 years ago
Felix Fietkau 5fa9ed8c10 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 ago
Felix Fietkau f74116e599 omap24xx: remove obsolete kernel 3.3 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46947
9 years ago
Hauke Mehrtens e2ffe8f1b9 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 ago
Rafał Miłecki ffcb268437 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 ago
Rafał Miłecki 39940fac6b 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 ago
Steven Barth 3c335bb439 ppp: use more reliable way to set script environment
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46942
9 years ago
Rafał Miłecki 90e1b84f15 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 ago
Steven Barth 76ed9f3dbd omcproxy: use 100ms query response interval by default
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46940
9 years ago
John Crispin 57c8708d64 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 ago
John Crispin ef0f7e277e procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46938
9 years ago
John Crispin c35420c6a5 libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46937
9 years ago
John Crispin 1bd3b14c85 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 ago
John Crispin bef03edb7a mountd: move code to a git repo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46935
9 years ago
John Crispin 0dbced8a48 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 ago
John Crispin bfeae90850 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 ago
John Crispin fec6313b62 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 ago