backport of r46688
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46689 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of 46603.
This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix#20134.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46681 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r46612.
fix generating syscall-names.h
Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.
For example the bit/syscall.h from musl for i386 has this:
#define __NR_timer_create 259
#define __NR_timer_settime (__NR_timer_create+1)
With this patch the resulting array looks like this:
[259] = "timer_create",
[(__NR_timer_create+1)] = "timer_settime",
This closes#20195.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46679 3c298f89-4303-0410-b956-a3cf2f4a3e73
fixes 2 bugs
* typo
* use %04d rather than %d when printing the position
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r46666
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46675 3c298f89-4303-0410-b956-a3cf2f4a3e73
Kinda-backport of r46415, though this patch uses the old-style calibration data loading.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46673 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46589
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46591 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46496
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46590 3c298f89-4303-0410-b956-a3cf2f4a3e73
According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46586 3c298f89-4303-0410-b956-a3cf2f4a3e73
We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46584
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46585 3c298f89-4303-0410-b956-a3cf2f4a3e73
It was missed in the r46471.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46582
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46583 3c298f89-4303-0410-b956-a3cf2f4a3e73
this is required by the new button timeout feature
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r46471
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
In 15.05-rc2 we got support for "set-interval" and "clear-interval"
which got dropped with the update of procd done in r46257. This new
"button" action provides similar functionality so it makes sense to
backport it to 15.05.
Backport of r46578
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46579 3c298f89-4303-0410-b956-a3cf2f4a3e73
The name of the module was wrong before.
This should fix#20283.
backport of r46574.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46577 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r46458 to CC
https://onion.io/omega
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Boken Lin <bl@onion.io>
Tested-by: Jacky Huang <huangfangcheng@163.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46548 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch fixes weak radio signal reported by nikola.georgiev
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Backport of r46545
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46546 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46541
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46542 3c298f89-4303-0410-b956-a3cf2f4a3e73
Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46531 3c298f89-4303-0410-b956-a3cf2f4a3e73
Extend the SDK Config.in file to explicitely declare a MODULES symbol with
the "option modules" flag set in order to prevent a kconfig segmentation fault
whenever a "depends m" dependency is encountered.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46514
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46515 3c298f89-4303-0410-b956-a3cf2f4a3e73
found with strace, not sure we got all of them though
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46467
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46511 3c298f89-4303-0410-b956-a3cf2f4a3e73
We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)
This partly fixes jailed dnsmasq
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Backport of r46466
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46510 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46434
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46498 3c298f89-4303-0410-b956-a3cf2f4a3e73
EPG5000 uses ath79 nvram functions, but does not select it. This breaks
build if no other board support enabling nvram support is selected.
Closes#19952.
Backport of r46190.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46494 3c298f89-4303-0410-b956-a3cf2f4a3e73
This patch adds buttons support for Huawei EchoLife HG553.
Backport of r46388.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46486 3c298f89-4303-0410-b956-a3cf2f4a3e73
NB that wlan5g is phy0tpt and wlan2g phy1tpt.
Backport of r46226.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46450 3c298f89-4303-0410-b956-a3cf2f4a3e73
The designated blue WAN port on both devices has index 5, not 1.
Backport of r46227.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46449 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r46049.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46448 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r46048.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46447 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r46047.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46446 3c298f89-4303-0410-b956-a3cf2f4a3e73
Backport of r46236 to CC : add support for the Bitmain Antminer S3
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46445 3c298f89-4303-0410-b956-a3cf2f4a3e73
Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.
Backport of r46340
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73
Set up eth0 as LAN interface by default.
Backport of r46174
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46419 3c298f89-4303-0410-b956-a3cf2f4a3e73
We were not copying the additional files needed to get USB to work on
the AT91 platforms, make sure we do this.
Backport of r46172
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46417 3c298f89-4303-0410-b956-a3cf2f4a3e73
The AT91 SAMA5D3XPLAINED uses a KSZ9031 and a KSZ8081 that are supported
by this PHY driver.
Backport of r46171
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46416 3c298f89-4303-0410-b956-a3cf2f4a3e73