Christian Lamparter [Sat, 12 Nov 2016 13:46:32 +0000 (14:46 +0100)]
apm821xx: consolidate apm821xx device trees files
This patch moves the common SoC device tree entries
from the currently four supported platforms into a
common apm82181.dtsi.
Furthermore, this patch also changes the GPIO, IRQ and
input definitions of the supported platforms to use the
defined dt-bindings macros for GPIO_ACTIVE_LOW|HIGH,
KEY_WPS|RESTART|*, IRQ_TYPE_* when it's appropriate.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Christian Lamparter [Sat, 12 Nov 2016 13:46:31 +0000 (14:46 +0100)]
apm821xx: add amcc, usb-otg-405ex devicetree definition
This patch adds support for the amcc,usb-otg-405ex device
which is found in all APM82181 SoCs.
Note: The system can't use the generic "snps,dwc2" compatible
because of the special ahbcfg configuration. The default
GAHBCFG_HBSTLEN_INCR4 of snps,dwc2 can cause a system hang
when the USB and SATA is used concurrently.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Eddi De Pieri [Tue, 8 Nov 2016 16:38:03 +0000 (17:38 +0100)]
lantiq: fix pci issue if mem kernel parameter is used
As specified by
e0229a16b0001c08e6c2611fa0bb9814507fced4 if the VR9
based router provides FXS ports and they should enabled then the
following must added to the kernel command line:
mem=[TOTALMEMSIZE-2M] vpe1_load_addr=ADDRESS vpe1_mem=2M
By adding mem= parameter a pci device stop working correctly. The
pci-lantiq.c module use get_num_physpages() to compute dynamically the
memory amount of the board.
The mem= make the module to compute in the wrong way the BAR11MASK, so
in this situation the mask is misaligned with the dma area that the
hardware expects.
This patch is a port of what legacy ifxmips_pci.c does.
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
Rafał Miłecki [Sat, 12 Nov 2016 15:29:11 +0000 (16:29 +0100)]
iw: fix build error caused by redeclaration of NL80211_ATTR_PAD
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Fixes:
7aff00ab199 ("iw: update to version 4.9")
Rafał Miłecki [Sat, 12 Nov 2016 15:02:57 +0000 (16:02 +0100)]
iw: update to version 4.9
This adds support for "channels" command which displays more details
about channels. It includes e.g. info about available widths.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Sat, 12 Nov 2016 14:59:00 +0000 (15:59 +0100)]
iw: update to version 4.7
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Matthias Schiffer [Fri, 11 Nov 2016 02:29:59 +0000 (03:29 +0100)]
ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11
The latest stock firmwares for US and EU regions have started checking the
region code.
Tested-by: Andreas Ziegler <ml@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Jo-Philipp Wich [Tue, 8 Nov 2016 21:33:39 +0000 (22:33 +0100)]
arm64: boot-wrapper: add mirror checksum
Some builders have troubles cloning the boot-wrapper-aarch64.git repository so
provide a mirror checksum to allow downloading from sources.lede-project.org
instead.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Marek Lindner [Thu, 10 Nov 2016 14:52:50 +0000 (15:52 +0100)]
base-files: Prefer busybox arp over /proc/net/arp alias
A firmware compiled with BUSYBOX_CONFIG_ARP should also use by default the
arp binary from busybox. Otherwise the extra functionality the user
requested can only be used when running arp with the path to the binary.
Signed-off-by: Marek Lindner <marek.lindner@open-mesh.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Mathias Kresin [Thu, 25 Aug 2016 19:16:24 +0000 (21:16 +0200)]
ramips: add TEW-691GR/TEW-692GR 2.4 GHz interface mac addresses
Assign an unused MAC addresses to the 2.4GHz wifi interface as it was
originally planed but not possible.
The MAC address numbering of the TEW-691GR changes to the following
pattern:
LAN: AA:BB:CC:DD:EE:0C
WIFI: AA:BB:CC:DD:EE:0D
WAN: AA:BB:CC:DD:EE:0F
The MAC address numbering of the TEW-692GR changes to the following
pattern:
LAN: AA:BB:CC:DD:EE:e4
WAN: AA:BB:CC:DD:EE:e5
2.4GHz: AA:BB:CC:DD:EE:e7
5 GHz: AA:BB:CC:DD:EE:e8
Set the label and compatible string for the TEW-692GR PCIe wireless
according to the the PCI binding documentation.
Use the wifi@0,0 label and the pci0,0 compatible string since the PCI
vendor and device id is unknown. It should work anyway since the
compatible string isn't evaluated (yet).
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Mon, 7 Nov 2016 21:02:20 +0000 (22:02 +0100)]
ramips: use the ralink,mtd-eeprom device tree property
Use the ralink,mtd-eeprom instead of invoking the userspace firmware
loader.
Set the label and compatible string according to the the PCI binding
documentation.
Use the wifi@0,0 label and the pci0,0 compatible string in case the
PCI vendor and device id is unknown. It should work anyway since the
compatible string isn't evaluated (yet).
This commit might fixes the PCIe wireless for the Buffalo WHR-600D.
This board was mentioned in the board 10-rt2x00-eeprom firmware hotplug
script but never had the correct eeprom name set to trigger the
firmware from flash extraction.
Use the usual eeprom for the soc wmac of the Dovado Tiny AC.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 3 Nov 2016 07:45:33 +0000 (08:45 +0100)]
lantiq: drop ralink eeprom handling function
The eeprom handling function from the rt2x00 driver is used and this
code is obsolete.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 14 Jul 2016 16:15:48 +0000 (18:15 +0200)]
lantiq: use the device tree bindings from rt2x00 driver
Set a device specific wireless mac address for ARV7506PW11, VGV7519 and
VGV7510KW22. The one from the EEPROM is a generic one and the same on
all boards.
Use the wifi@0,0 label and the pci0,0 compatible string for the
ARV7519PW and ARV7525PW since the pci vendor and device id is unknown.
It should work anyway since the compatible string isn't evaluated
(yet).
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 14 Jul 2016 16:15:48 +0000 (18:15 +0200)]
lantiq: fix VGV7519 and VGV7510KW22 mac addresses
The VGV7510KW22 stock firmware uses the following mac-addresses:
lan (ifno 1): AA:BB:CC:DD:EE:60
wlan (ifno 2): AA:BB:CC:DD:EE:61
atm0 (ifno 3): AA:BB:CC:DD:EE:62
atm1/wan (ifno 4): AA:BB:CC:DD:EE:63
The VGV7519 stock firmware uses the following mac-addresses:
lan: AA:BB:CC:DD:EE:EF
wlan: AA:BB:CC:DD:EE:EF
wan: AA:BB:CC:DD:EE:EE
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 14 Jul 2016 16:15:48 +0000 (18:15 +0200)]
mac80211: rt2x00: add support for mac addr from device tree
Backport upstream accepted patch which allows to override the EEPROM
mac address with one from device tree.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Fri, 26 Aug 2016 15:25:53 +0000 (17:25 +0200)]
mac80211: rt2x00: fold patches
The patch 615-rt2x00-fix_20mhz_clk.patch fixes code introduced by
611-rt2x00-rf_vals-rt3352-xtal20.patch and makes the the platform data
property clk_is_20mhz obsolete.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Felix Fietkau [Wed, 9 Nov 2016 11:17:22 +0000 (12:17 +0100)]
x86: bump default kernel partition size to 16M
This leaves more room for sysupgrade config data or for having multiple
kernel images to choose from
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jo-Philipp Wich [Tue, 8 Nov 2016 18:58:18 +0000 (19:58 +0100)]
Revert "devel/strace: fix build on mpc85xx target"
This reverts commit
519a199cbcc0930e229ddd7087309326a846bdce.
Multiple users have reported building failures on ARM architectures, e.g.:
In file included from defs.h:42:0,
from process.c:37:
process.c:51:22: error: 'struct user_regs' has no member named 'ARM_r0'
#define uoff(member) offsetof(struct user, member)
^
./linux/arm/userent.h:1:3: note: in expansion of macro 'uoff'
{ uoff(regs.ARM_r0), "r0" },
^
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Felix Fietkau [Tue, 8 Nov 2016 13:21:22 +0000 (14:21 +0100)]
kernel: select kmod-phy-bcm-ns-usb* from kmod-usb* for bcm53xx
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 8 Nov 2016 10:50:50 +0000 (11:50 +0100)]
ar71xx: fix kernel relocate stub parallel build issue
Use per-kernel directory
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rafał Miłecki [Tue, 8 Nov 2016 10:34:38 +0000 (11:34 +0100)]
kernel: use upstreamed patch for BCM53573 support in bcm47xxsflash
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Jo-Philipp Wich [Mon, 8 Aug 2016 14:26:20 +0000 (16:26 +0200)]
firewall: update to fix FS#31, FS#73, FS#154, FS#248
Update to latest Git head in order to import several fixes and enhancements.
- Disable drop invalid by default (FS#73, FS#154)
Instead of dropping packets with conntrack state INVALID, only allow streams
with explicit NEW or UNTRACKED conntrack state.
This change gives user defined rules the chance to accept traffic like ICMPv6
multicast which would be filtered away by the very early ctstate INVALID drop
rule otherwise.
The old behaviour can be restored by explicitely setting "drop_invalid" to 1
in the global firewall config section.
- Fix re-initialization of loadable iptables extensions on musl (FS#31)
Since musl does not implement actual dlclose() semantics, it is impossible to
re-run initializers on subsequent dlopen() calls.
The firewall3 executable now intercepts the extension registration calls
instead in order to be able to re-call them when needed.
This also allowed us to switch to libxtables' builtin extension loader as a
positive side-effect.
- Fix masquerade rules for multiple negated IP addresses (FS#248)
When building MASQUERADE rules for zones which specify multiple negated
addresses in masq_src or masq_dest, emit -j RETURN rules which jump out of
the masquerading chain instead of creating multiple rules with inverted "-s"
arguments.
- Tag own rules using comments
Instead of relying on the nonstandard xt_id match, use the xt_comment match
to mark own rules. Existing comments are prefixed with "!fw3: " while
uncommented rules are marked with a sole "!fw3" string.
This allows removing the xt_id match entirely in a later commit.
- Make missing ubus connection nonfatal
Technically, firewall3 is able to operate without ubus just fine as long as
the zones are declared using "option device" or "option subnet" instead of
"option network" so do not abort execution if ubus could not be connected or
of no network namespace is exported in ubus.
This allows running firewall3 on ordinary Linux systems.
- Fix conntrack requirement detection for indirectly connected zones
The current code fails to apply the conntrack requirement flag recursively to
zones, leading to stray NOTRACK rules which break conntrack based traffic
policing.
Change the implementation to iteratively reapply the conntrack fixup logic
until no more zones had been changed in order to ensure that all directly and
indirectly connected zones receive the conntrack requirement flag.
- Add support for iptables 1.6.x
Adds support for the xtables version 11 api in order to allow building
against iptables 1.6.x
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Christian Lamparter [Mon, 7 Nov 2016 17:10:10 +0000 (18:10 +0100)]
iperf3: update to version 3.1.4
"This release fixes a few minor bugs, including a
(non-security-impacting) buffer overflow fix ported
from upstream cjson."
<http://software.es.net/iperf/news.html#iperf-3-1-4-released>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Rafał Miłecki [Wed, 2 Nov 2016 13:36:19 +0000 (14:36 +0100)]
scripts/feeds: use git rev-parse for getting revision
It provides simpler output so we don't need extra head and cut commands.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Wed, 2 Nov 2016 12:59:29 +0000 (13:59 +0100)]
scripts/feeds: display "X" as revision of uninitialized feeds
So far we were displaying "local" which could be misinterpreted. It
wasn't possible e.g. to say if src-link feed was initialized or not.
Hopefully "X" makes (a bit) more sense.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Mathias Kresin [Fri, 4 Nov 2016 06:43:40 +0000 (07:43 +0100)]
mac80211: rt2x00: add mtd-eeprom swab function
Most of the lantiq devices with ralink wifi have the EEPROM stored
in big endian byte order in flash, but the driver expects the EEPROM to
be in little endian.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Fri, 4 Nov 2016 06:43:39 +0000 (07:43 +0100)]
mac80211: rt2x00: remove eeprom filename dependency from mtd-eeprom
The ralink,mtd-eeprom device tree property doesn't require the
ralink,eeprom property to work.
Rework the error handling and user notification as well. Do not log an
error if the mtd-eeprom parameter isn't used. It could be intentional
and should not scare the user.
Check if the number of bytes read from the mtd devices matches the
requested number of bytes.
In case of an mtd read error, give a hint to the user which partition
was tried to read from.
In case everything is fine, notify the user as well.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Fri, 4 Nov 2016 06:43:38 +0000 (07:43 +0100)]
mac80211: rt2x00: improve eeprom_file property handling
Call the rt2x00lib_get_eeprom_file_name only once and from the function
where the EEPROM filename is required.
Error only out if an EEPROM file is mandatory. Use the
REQUIRE_EEPROM_FILE bit to determine if it is mandatory.
Do not set the REQUIRE_EEPROM_FILE bit while requesting an EEPROM file.
It should be (and is) set before requesting an EEPROM file.
Do not redirect users to upstream while using a function of a custom
patch.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Christian Lamparter [Mon, 7 Nov 2016 17:10:09 +0000 (18:10 +0100)]
apm821xx: redo WAN green and yellow LEDs
Because the WAN port is handled by the internal AR8327N switch, the
device should use swconfig_leds trigger to handle the link activity
of the WAN LED. This has the added bonus that the WAN LED will now
go dark if there's no ethernet cable connected to the WAN port.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Pavel Kubelun [Thu, 3 Nov 2016 18:34:30 +0000 (21:34 +0300)]
ipq806x: fix pcie reset gpios
Fix perst-gpios property in accordance to the driver, so it stops spamming that it can't parse it.
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Henryk Heisig [Mon, 7 Nov 2016 18:41:49 +0000 (19:41 +0100)]
ar71xx: tl-wpa8630: Fix kernel lenght
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Henryk Heisig [Mon, 7 Nov 2016 14:37:25 +0000 (15:37 +0100)]
ar71xx: wpa8630: change board name to tl-wpa8630
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Roger Pueyo Centelles [Sun, 6 Nov 2016 12:00:38 +0000 (13:00 +0100)]
ramips: Add support for Wavlink WL-WN575A3
This commit adds support for the Wavlink WL-WN575A3, a dual-band wall-plug
wireless router with the following specifications:
- CPU: MediaTek MT7628AN 580MHz
- Flash: 8MB
- RAM: 64MB
- Ethernet: 2x 10/100 Mbps (switched)
- 2.4 GHz: 802.11b/g/n SoC, MIMO 2x2, 20 dBm
- 5 GHz: 802.11a/n/ac MT7612E, MIMO 2x2, 20 dBm
- Antennas: 4x external (2 per radio), non-detachable
- LEDs: 4 programmable + LAN, WAN, POWER
- Buttons: reset, WPS
Flashing instructions:
Factory U-boot launches a TFTP client if WPS button is pressed during power-on.
Rename the sysupgrade file and configure a TFTP as follows:
- Client (WL-WN575A3) IP: 192.168.10.101
- Server IP: 192.168.10.100
- Filename: firmware.bin
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Hans Dedecker [Thu, 3 Nov 2016 20:44:29 +0000 (21:44 +0100)]
dnsmasq: Support add-mac option
Adds the mac address of the DNS requestor to DNS queries which
are forwarded upstream and can be used to do filtering by the
upstream servers. This only works if the requestor is on the
same subnet as the dnsmasq server
The addmac parameter can hold the following values:
0 : mac address is not added
1 : mac address is added in binary format
base64 : mac address is added base64 encoded
text: : mac address is added in human readable format
as hex and colons
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
BangLang Huang [Tue, 1 Nov 2016 01:40:31 +0000 (09:40 +0800)]
ramips: fix Newifi D1 profile
the images were generated for the wrong flash size.
Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
Alberto Bursi [Thu, 3 Nov 2016 10:45:45 +0000 (11:45 +0100)]
mdadm: move to Disc submenu
As in Disc there is also lvm2 and other hard drive tools in the Openwrt package feeds.
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Alberto Bursi [Thu, 3 Nov 2016 10:41:32 +0000 (11:41 +0100)]
yamonenv: move to Boot Loaders submenu
Boot Loaders submenu is the place where all other boot loaders are.
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Alberto Bursi [Thu, 3 Nov 2016 10:35:56 +0000 (11:35 +0100)]
comgt: move to WWAN submenu, fixed link
moving comgt and its modules to WWAN submenu to join uqmi as both are tools for WWAN modems.
I replaced the link with comgt's ubuntu manpage because the old link isn't working anymore.
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Alberto Bursi [Thu, 3 Nov 2016 10:31:15 +0000 (11:31 +0100)]
uqmi: moved to WWAN submenu
Moving uqmi to WWAN submenu
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Felix Fietkau [Tue, 8 Nov 2016 04:47:39 +0000 (05:47 +0100)]
build: remove stale .ipk files if package dir changes
If a package nonshared status is changed, a stale .ipk file might still
be present in the old package directory. Remove the .ipk file from all
package directories when building a new one (or explicitly running
clean)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Christian Schoenebeck [Thu, 3 Nov 2016 20:09:25 +0000 (21:09 +0100)]
ca-certificates: update to version
20161102
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Florian Larysch [Thu, 4 Aug 2016 12:00:33 +0000 (14:00 +0200)]
kernel: add kernel module package for the DS1374 RTC
Package the driver for the DS1374 chip present on the T4240RDB.
Signed-off-by: Florian Larysch <fl@n621.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix missing symbol]
Florian Larysch [Thu, 4 Aug 2016 12:04:26 +0000 (14:04 +0200)]
kernel: package module for the W83793 hwmon chips
Package the driver for the W83793 hwmon chip present on the T4240RDB.
Signed-off-by: Florian Larysch <fl@n621.de>
Alexandru Ardelean [Fri, 4 Nov 2016 15:59:08 +0000 (17:59 +0200)]
devel/strace: fix build on mpc85xx target
builbot faillog:
https://downloads.lede-project.org/snapshots/faillogs/powerpc_8540/base/strace/compile.txt
Seems that for PPC, the <linux/ptrace.h> header [from uapi] collides
with musl's <sys/user.h>, for the pt_regs struct.
Seems I tried to upstream this patch a while back:
https://lists.openwrt.org/pipermail/openwrt-devel/2016-April/041093.html
It seems to work on current LEDE trunk too.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Cezary Jackiewicz [Fri, 4 Nov 2016 18:18:42 +0000 (19:18 +0100)]
gcom: Fix 'mode' option for ncm
For Huawei devices like E3372 proper command for set lte mode is:
AT^SYSCFGEX="03",
3fffffff,2,4,
7fffffffffffffff,,
Eval is required for proper quotation.
Without this fix:
Fri Nov 4 19:07:49 2016 daemon.notice netifd: Interface 'wan' is setting up now
Fri Nov 4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -> AT
Fri Nov 4 19:07:52 2016 daemon.notice netifd: wan (2060): sending -> ATZ
Fri Nov 4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -> ATQ0
Fri Nov 4 19:07:53 2016 daemon.notice netifd: wan (2060): sending -> ATV1
Fri Nov 4 19:07:54 2016 daemon.notice netifd: wan (2060): sending -> ATE1
Fri Nov 4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -> ATS0=0
Fri Nov 4 19:07:55 2016 daemon.notice netifd: wan (2060): sending -> AT+CGDCONT=1,"IP","internet"
Fri Nov 4 19:07:57 2016 daemon.notice netifd: wan (2060): sending -> AT^SYSCFGEX=\"03\",
3fffffff,2,4,
7fffffffffffffff,,
Fri Nov 4 19:07:58 2016 daemon.notice netifd: wan (2060): Error running AT-command
Fri Nov 4 19:07:58 2016 daemon.notice netifd: wan (2060): Failed to set operating mode
Fri Nov 4 19:07:58 2016 daemon.notice netifd: wan (2092): Stopping network
...
With this fix:
Fri Nov 4 19:10:59 2016 daemon.notice netifd: Interface 'wan' is setting up now
Fri Nov 4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -> AT
Fri Nov 4 19:11:01 2016 daemon.notice netifd: wan (2539): sending -> ATZ
Fri Nov 4 19:11:02 2016 daemon.notice netifd: wan (2539): sending -> ATQ0
Fri Nov 4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -> ATV1
Fri Nov 4 19:11:03 2016 daemon.notice netifd: wan (2539): sending -> ATE1
Fri Nov 4 19:11:04 2016 daemon.notice netifd: wan (2539): sending -> ATS0=0
Fri Nov 4 19:11:05 2016 daemon.notice netifd: wan (2539): sending -> AT+CGDCONT=1,"IP","internet"
Fri Nov 4 19:11:06 2016 daemon.notice netifd: wan (2539): sending -> AT^SYSCFGEX="03",
3fffffff,2,4,
7fffffffffffffff,,
Fri Nov 4 19:11:07 2016 daemon.notice netifd: wan (2539): sending -> AT^NDISDUP=1,1,"internet"
Fri Nov 4 19:11:08 2016 daemon.notice netifd: wan (2539): Connected, starting DHCP on wwan0
Fri Nov 4 19:11:08 2016 daemon.notice netifd: Interface 'wan' is now up
Fri Nov 4 19:11:08 2016 daemon.notice netifd: Network device 'wwan0' link is up
Fri Nov 4 19:11:08 2016 daemon.notice netifd: Network alias 'wwan0' link is up
Fri Nov 4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' is enabled
Fri Nov 4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' has link connectivity
Fri Nov 4 19:11:08 2016 daemon.notice netifd: Interface 'wan_4' is setting up now
...
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Rafał Miłecki [Mon, 7 Nov 2016 13:40:24 +0000 (14:40 +0100)]
bgmac: backport small DMA fix
It's supposed to significantly improve performance but doesn't seem to
affect Northstar unfortunately. It seems only some other platforms were
limited because of this DMA setup mistake.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Mon, 7 Nov 2016 13:29:57 +0000 (14:29 +0100)]
kernel: fix bgmac regression causing BCM47186B0 SoC hangs
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Mathias Kresin [Sat, 5 Nov 2016 21:21:20 +0000 (22:21 +0100)]
kernel: fix kmod-sound-core build error
Fix build error introduced with
2ab6aac.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Dmitry Sutyagin [Sat, 5 Nov 2016 20:54:12 +0000 (13:54 -0700)]
kernel: add SND_PCM_TIMER to kmod-sound-core
FS#256
Fix audio not working due to unset SND_PCM_TIMER. CONFIG_SND_PCM_TIMER
is required for ALSA to work (at least for some audio devices),
otherwise applications using sound may fail. Can be reproduced by
installing "alsa-utils-tests" and running "speaker-test":
...
ALSA lib pcm_direct.c:1159:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=0,SUBDEV=0'
ALSA lib pcm_dmix.c:1106:(snd_pcm_dmix_open) unable to initialize poll_fd
Playback open error: -19,No such device
The kernel size does not increase, only the size of the kernel module
increases.
Signed-off-by: Dmitry Sutyagin <f3flight@gmail.com>
Jo-Philipp Wich [Sat, 5 Nov 2016 15:07:35 +0000 (16:07 +0100)]
arm64: switch boot-wrapper to working repository
The original repo in this Makefile disappeared from the internet so use another
copy of this repository on kernel.org. Also switch from git:// to https://
while being at it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Koen Vandeputte [Fri, 4 Nov 2016 15:31:19 +0000 (16:31 +0100)]
cns3xxx: fix UART resource overlap
Port 1 registers the same IO resources as port 2 in the kernel resource
tree, which is wrong.
Fix this by using it's own resources as indicated in the overview
(cns3xxx.h).
Compiled & Tested on several GW2388-4 laguna boards which utilizes all 3
ports.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Felix Fietkau [Sat, 5 Nov 2016 09:16:15 +0000 (10:16 +0100)]
Revert "mt76: update to the latest version, adds a tx queue configuration fix"
This reverts commit
32867540ea18db2c8b025723768093cd5c12f22b.
A report indicates that this causes a tx/rx throughput regression
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jo-Philipp Wich [Fri, 4 Nov 2016 15:12:51 +0000 (16:12 +0100)]
sdk: depend on linux/install
Since commit
484cb91 "sdk: bundle required firmware files" there is an
implicit dependency of the SDK on a prior Kernel compilation.
Change target/Makefile to make this dependency explicit to avoid race
conditions with parallel builds.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Felix Fietkau [Fri, 4 Nov 2016 12:22:42 +0000 (13:22 +0100)]
Revert "mwl8k: remove synchronous device init hack"
This reverts commit
cb037d1842d93b37457c896a8949e135ed6e0065.
See
6aa07b82027f for more information
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Florian Fainelli [Thu, 3 Nov 2016 18:16:28 +0000 (11:16 -0700)]
include: Cortex-A53 is also an AArch64 CPU
Specifying a mtune option with cortex-a53 is also valid for an aarch64
toolchain
Fixes: SVN 48964
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Felix Fietkau [Fri, 4 Nov 2016 11:57:16 +0000 (12:57 +0100)]
ipq806x: fix zyxel image build error
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 4 Nov 2016 11:35:44 +0000 (12:35 +0100)]
ipq806x: clean up the kernel config and reduce kernel image size by disabling some unnecessary code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 4 Nov 2016 11:35:25 +0000 (12:35 +0100)]
ipq806x: fix a kconfig issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 4 Nov 2016 11:58:14 +0000 (12:58 +0100)]
Revert "mac80211: remove ath10k delayed initialization hack"
This reverts commit
efd9dec3195c603289ebb552f8650da9dd869828.
ath10k can take a long time to probe, long enough for netifd to fail to
initialize already configured wireless devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Daniel Engberg [Tue, 11 Oct 2016 11:51:44 +0000 (13:51 +0200)]
target/sdk: Switch to xz compression instead of bz2
Switch to xz compression instead of using bz2.
This makes a considerable difference in size, ar71xx SDK from 60M to 35M.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Christian Lamparter [Thu, 3 Nov 2016 20:47:06 +0000 (21:47 +0100)]
apm821xx: add back end-of-UBI marker for the WNDR4700 and MR24
The patch "build: drop UBI EOF marker from images by default"
(commit
d27bce8d28eb129af0abd9c80a7756301b7d588a) removed the
end-of-UBI marker. Without this marker, the boards will panic
during boot:
[ 1.683458] ubi0: attaching mtd4
[ 1.696181] ubi0 warning: scan_peb: valid VID header but corrupted EC header at PEB 31
[ 1.704367] ubi0 error: scan_peb: bad image sequence number
549886691 in PEB 32, expected
184585623
[ 1.713377] Erase counter header dump:
[ 1.717110] magic 0x55424923
[ 1.720843] version 1
[ 1.723797] ec 0
[ 1.726752] vid_hdr_offset 512
[ 1.729880] data_offset 2048
[ 1.733094] image_seq
549886691
[ 1.736740] hdr_crc 0x92ba8130
[ 1.740472] erase counter header hexdump:
[ 1.744493] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22
[ 1.751528] UBI error: cannot attach mtd4
[ 1.755373] hctosys: unable to open rtc device (rtc0)
[ 1.761130] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 1.768604] Please append a correct "root=" boot option; here are the available partitions:
[...]
[ 1.856992] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 1.866519] Rebooting in 1 seconds..Auto calibration ---
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Felix Fietkau [Thu, 3 Nov 2016 11:37:00 +0000 (12:37 +0100)]
mt76: update to the latest version, adds a tx queue configuration fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 4 Nov 2016 09:32:05 +0000 (10:32 +0100)]
mac80211: fix A-MSDU tx aggregation (FS#174)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 4 Nov 2016 09:31:42 +0000 (10:31 +0100)]
mac80211: minor cleanup
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 4 Nov 2016 09:31:27 +0000 (10:31 +0100)]
mac80211: fix a tx A-MPDU aggregation issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Mathias Kresin [Wed, 2 Nov 2016 17:14:11 +0000 (18:14 +0100)]
lantiq: use external pci clock on ARV7506PW11
Fixes a ralink wireless driver related kernel crash as soon as a lot of
data is tranfered via wireless.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Wed, 2 Nov 2016 18:49:04 +0000 (19:49 +0100)]
lantiq: cleanup dts files
- remove not existing properties
- remove properties having the same values as the included dtsi
- remove nodes which are disabled in the included dtsi and not enabled
in dts
- replace the deprecated pinctrl-* compatible strings
- use the same labels for nodes as the included dtsi
- move common used vr9 pci properties to vr9.dtsi
- remove the unused stp node from HomeHub 2B devcie tree source file
- fix spaces vs. tabs and remove superfluous linebreaks
Signed-off-by: Mathias Kresin <dev@kresin.me>
Felix Fietkau [Thu, 3 Nov 2016 11:13:32 +0000 (12:13 +0100)]
mac80211: replace the previous fix with a revert of the faulty upstream commit
This avoids potential breakage in rt2x00usb
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Luiz Angelo Daros de Luca [Fri, 14 Oct 2016 00:02:47 +0000 (21:02 -0300)]
elfutils: bump to 0.167
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Felix Fietkau [Tue, 18 Oct 2016 09:33:09 +0000 (11:33 +0200)]
mwl8k: remove synchronous device init hack
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Mathias Kresin [Mon, 17 Oct 2016 13:59:15 +0000 (15:59 +0200)]
mac80211: remove ath10k delayed initialization hack
LEDE no longer requires all PHYs to be initialized to
create the configuration files during bootup. This patch
removes the now obsolete ath10k patch.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Christian Lamparter [Mon, 17 Oct 2016 13:59:14 +0000 (15:59 +0200)]
base-files, mac80211, broadcom-wl: wifi detection and configuration
Currently, the wifi detection script is executed as part of
the (early) boot process. Pluggable wifi USB devices, which
are inserted at a later time are not automatically
detected and therefore they don't show up in LuCI.
A user has to deal with wifi detection manually, or restart
the router.
However, the current "sleep 1" window - which the boot
process waits for wifi devices to "settle down" - is too
short to detect wifi devices for some routers anyway.
For example, this can happen with USB WLAN devices on the
WNDR4700. This is because the usb controller needs to load
its firmware from UBI and initialize, before it can operate.
The issue can be seen on a BT HomeHub 5A as well as soon as
the caldata are on an ubi volume. This is because the ath9k
card has to be initialized by owl-loader first. Which has to
wait for the firmware extraction script to retrieve the pci
initialization values inside the caldata.
This patch moves the wifi configuration to hotplug scripts.
For mac80211, the wifi configuration will now automatically
run any time a "ieee80211" device is added. Likewise
broadcom-wl's script checks for new "net" devices which
have the "wl$NUMBER" moniker.
Issues with spawning multiple interface configuration - in
case the detection script is run concurrently - have been
resolved by using a named section for the initial
configuration. Concurrent configuration scripts will now
simply overwrite the same existing configuration.
A workaround which preserves the "sleep 1" window for just
the first boot has been added. This allows the existing
brcm47xx boot and mvebu uci-default scripts to correctly
setup the initial mac addresses and regulatory domain.
And finally, the patch renames the "wifi detect" into
"wifi config". As the script no longer produces any output
that has to be redirected or appended to the configuration
file.
Thanks to Martin Blumenstingl for helping with the implementation
and testing of the patch.
Acked-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Christian Lamparter [Mon, 17 Oct 2016 13:59:13 +0000 (15:59 +0200)]
base-files, mac80211, broadcom-wl: use uci to populate wireless config
Previously, wifi detect simply dumped its generated wireless
configuration to STDOUT. A second step was needed to append
the configuration to /etc/config/wireless (or create it, if
it didn't exist).
With this patch, The wifi detection script will now use uci
to update the wireless configuration directly.
This patch also makes the initially created wifi-iface a
named section ('default_radio$X' for mac80211 and
'default_wl$X' for broadcom). With this change, uci will
not print the cfgHASH to STDOUT (which would now corrupt
the wireless configuration). It will also prevent adding
duplicated wifi interface configurations, if the wifi
configuration is run concurrently.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Mathias Kresin [Mon, 17 Oct 2016 13:59:12 +0000 (15:59 +0200)]
base-files: generate /etc/config/wireless, if it doesn't exist
This patch adds a check in "wifi detect" to test if the wireless
configuration file does exist. If it doesn't exist, an empty
/etc/config/wireless file will be created.
This is necessary because uci doesn't create new files,
instead the tool just exits with "uci: Entry not found".
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Felix Fietkau [Mon, 24 Oct 2016 06:58:46 +0000 (08:58 +0200)]
mac80211: fix regdomain change issues with CONFIG_ATH_USER_REGD
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 2 Nov 2016 10:43:12 +0000 (11:43 +0100)]
mac80211: fix a minor issue in the header padding patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 3 Nov 2016 10:01:45 +0000 (11:01 +0100)]
mac80211: fix AP powersave issues introduced in the last wireless-testing update (FS#241)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rafał Miłecki [Wed, 2 Nov 2016 14:02:53 +0000 (15:02 +0100)]
scripts/feeds: use 10 chars for feed name column width
It's always hard to find a reasonable width that will make everyone
happy. This one at least makes "telephony" (one of default feeds) name
fit the column and hopefully isn't too big.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Pavel Kubelun [Wed, 2 Nov 2016 19:42:55 +0000 (22:42 +0300)]
ipq806x: update DT in accordance to new drivers And add some more DT nodes
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Pavel Kubelun [Wed, 2 Nov 2016 19:37:28 +0000 (22:37 +0300)]
ipq806x: switch to generic cpufreq driver cpufreq-dt
This fixes ondemand frequency scaling and moves ipq806x onto upstream driver
Also switching to ondemand frequency scaling as it is fixed now
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Pavel Kubelun [Wed, 2 Nov 2016 19:32:36 +0000 (22:32 +0300)]
ipq806x: add opp patches for voltage scaling
Preparing for cpufreq driver switch to generic cpufreq-dt
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Pavel Kubelun [Wed, 2 Nov 2016 19:08:45 +0000 (22:08 +0300)]
ipq806x: update clk-qcom patches
Preparing for cpufreq driver switch to generic cpufreq-dt
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Pavel Kubelun [Sat, 1 Oct 2016 15:32:58 +0000 (11:32 -0400)]
ipq806x: fix leds, sata port for Netgear R7800 and minor fixes - renamed leds in correct color accordance - blink power led with white during boot and with amber when flashing firmware - fixed usb leds - enabled unused wps and rfkill leds as wlan leds. Now rfkill led is for 2.4GHz and wps - 5GHz WIFI - removed unneeded bootargs - removed unneeded pci pins from R7800 DT (driver already handles it in proper way) and add tx offsetting - nand ecc step size - fixed sata ports
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Sven Schwermer [Wed, 2 Nov 2016 10:44:23 +0000 (11:44 +0100)]
ramips: Use MT7621 I2C driver for MT7628/MT7688
The i2c-ramips driver does not work for the MT7628/MT7688 SoCs, the
i2c-mt7621 driver does.
Signed-off-by: Sven Schwermer <sven.schwermer@arcor.de>
Alberto Bursi [Wed, 2 Nov 2016 19:33:01 +0000 (20:33 +0100)]
uboot-envtools: move to Boot Loaders submenu
Boot Loaders submenu is where other bootloader tools (fconfig and grub2-editenv) are.
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Cezary Jackiewicz [Wed, 2 Nov 2016 17:11:33 +0000 (18:11 +0100)]
ipq806x: TP-Link Archer C2600: convert old usbdev trigger to new usbport
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Andrew Yong [Tue, 18 Oct 2016 20:05:32 +0000 (04:05 +0800)]
ramips: add support for MikroTik hEX v3 (RB750Gr3)
The MikroTik hEX v3 (RB750Gr3) is a MT7621AT board which is similar to most MT7621 reference designs, it can be easily supported by this patch; however, the stock RouterBOOT bootloader has to be replaced by a MT7621 SDK U-Boot such as https://github.com/ndoo/RB750Gr3-U-Boot - U-Boot configured for the RB750Gr3 (16MiB SPI flash, 256MiB DDR3 RAM at 1200MHz).
RouterBOOT, the stock bootloader, does not initialize the UART and boots silently, making it preferable to replace it with a MT7621 SDK U-Boot with UART (57600 8N1) that supports HTTP, TFTP or serial upload of sysupgrade firmware and U-Boot.
Furthermore, RouterOS, the stock firmware, is contained in a proprietary modification of SquashFS without GPL sources; UART is also disabled in stock firmware.
The combination of LEDE firmware generated by this PR and MT7621 SDK U-Boot expects the printed MAC address to reside at offset `0xe000` of the factory partition (absolute offset is `0x4e000`); this is similar to the factory MAC address offset for several other MT7621 devices.
A 16MiB flash dump suitable for use with flashrom will be provided if/once this patch is accepted and binaries are built by LEDE buildbot. Alternatively, writing the U-Boot to the SPI flash starting at 0x0 offset and booting the board with serial console attached will allow TFTP, HTTP or serial upload of sysupgrade firmware.
Signed-off-by: Andrew Yong <me@ndoo.sg>
Karl Palsson [Mon, 31 Oct 2016 14:00:06 +0000 (14:00 +0000)]
dnsmasq: support log-dhcp option
Helpful when trying to resolve issues with quirky dhcp client devices.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Stijn Segers [Tue, 1 Nov 2016 11:21:15 +0000 (12:21 +0100)]
kernel: update kernel 4.4 to version 4.4.30
This patch bumps the 4.4 kernel from .28 to .30 and refreshes the patches.
Compile-tested on ar71xx, x86/64, ramips/mt7621, brcm47xx and kirkwood.
Run-tested on ar71xx & ramips/mt7621, brcm47xx and kirkwood (last two confirmed
by P. Wassi).
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
Stijn Segers [Mon, 31 Oct 2016 21:23:32 +0000 (22:23 +0100)]
ramips: add usb packages into DIR-860L B1 profile
This patch adds the kmod-usb3 and kmod-usb-ledtrig-usbport packages to the
DIR-860L B1 profile. The DIR-860L B1 has a USB 3 port.
Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
Jo-Philipp Wich [Thu, 13 Oct 2016 01:07:21 +0000 (03:07 +0200)]
iproute2: rename ip to ip-tiny and let both ip-tiny and ip-full provide "ip"
Rename the "ip" package declaration to "ip-tiny" and let both "ip-tiny" and
"ip-full" provide the virtual "ip" package. This allows users to freely choose
the "ip" command variant while other packages can continue to depend on "ip"
without needing to enforce a specific variant.
Note that this commit does not add busybox as "ip" provider due to
the following reasons:
- The builtin Busybox ip applet cannot be added or removed at runtime
- Both "ip-tiny" and "ip-full" are able to install without file clashes even
if the busybox applet is enabled
- The system is preferring full "ip-tiny" and "ip-full" at runtime, even
if Busybox ip is still present.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 31 Oct 2016 19:19:27 +0000 (20:19 +0100)]
uboot-sunxi: fix default config for OLIMEX A13 SOM (FS#239)
The current uboot default config for the A13 SOM erroneously enables support
for the AXP209 power regulator IC which is not present on the board.
This superfluous support module sets an incorrect initial clock frequency and
confuses the kernel, ultimately leading to a boot failure later on.
Properly disable the PMIC support and enable the EHCI support by translating
the deprecated SYS_EXTRA_OPTIONS values into proper SUNXI_NO_PMIC and
USB_EHCI_HCD symbols respectively.
Also rename 002-add-olimex-a13-som.diff to 002-add-olimex-a13-som.patch and
refresh the remaining patches of the series while we're at it.
Reported-by: Mario Fischer <mario-fischer@web.de>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 2 Nov 2016 00:45:06 +0000 (01:45 +0100)]
scripts/package-metadata.pl: honour DEFAULT_VARIANT
So far, package-metadata.pl always considered the first provider of a virtual
package to be the default variant which might deviate from what buildroot
considers to be the default.
Change the Kconfig dependency / select code generation for virtual package
providers to consider the DEFAULT_VARIANT to be the primary provider and only
fall back to the first provider if no default variant was explicitely tagged.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 15 Oct 2016 23:13:55 +0000 (01:13 +0200)]
base-files: uci-defaults: support requesting untagged switch port configuration
Introduce support for a new [0-9]u@netdev syntax to ucidev_add_switch() to let
board.d network files request default network switch configurations which do
not use tagged CPU ports.
This commit itself has no effect on generated configurations at the moment
since we still emit untagged configurations by default but it allows boards to
opt-out from default tagged configs in case we start emitting tagged settings
by default.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 13 Oct 2016 00:54:34 +0000 (02:54 +0200)]
include: properly update .install stamp files
Right now the $(PKG_INSTALL_STAMP) files are only written if a package is
selected as <*> but never deleted or emptied if the corresponding package
is getting deselected.
For ordinary packages this usually is no problem as the package/install
recipe performs its own check for enabled packages when assembling the
list of install stamp files to consider, but this logic might fail under
certain circumstances for packages providing multiple build variants.
In case of a multi-variant package, the buildroot first checks if any
of the variants is enabled, then resolves all variants of the common
source package and finally processes the corresponding .install stamp
files of all variants, relying on the assumption that only the selected
.install stamp file exists.
When an initially selected variant is getting deselected or changed from
<*> to <m> and another variant is marked as <*> instead, the .install
stamp file of the deselected variant remains unchanged and a second
.install stamp file for the newly selected variant is getting created,
causing the package/install recipe to pick up two .install stamps with
conflicting variants, leading to opkg file clashes.
This issue happens for example if package "ip" is set to <m> and package
"ip-full" to <*> - the install command will eventually fail with:
* check_conflicts_for: The following packages conflict with ip:
* check_conflicts_for: ip-full *
* opkg_install_cmd: Cannot install package ip.
In order to fix the problem, always process the removal requests or the
.install stamp files, even for deselected packages but only write the
package base name into the stamp file if the corresponding package is
marked as builtin.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 13 Oct 2016 00:48:32 +0000 (02:48 +0200)]
scripts/package-metadata.pl: fix handling of virtual (PROVIDES) depends
Currently the code emitting dependencies for provide candidates is overwriting
the specification calculated by the previous conditional dependency handling
code, rendering dependencies on virtual PROVIDES packages in conjunction with
conditional dependencies unusable.
Instead of overwriting, append the PROVIDES dependency spec in order to fix
using DEPENDS on virtual provider packages in conjunction with conditions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Nov 2016 11:09:30 +0000 (12:09 +0100)]
include/host-build.mk: use STAGING_DIR_HOSTPKG
Instead of hardcoding $(STAGING_DIR)/host, use the new $(STAGING_DIR_HOSTPKG)
variable to refer to the directory.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Nov 2016 11:07:56 +0000 (12:07 +0100)]
rules.mk: add STAGING_DIR_HOSTPKG variable
Add a STAGING_DIR_HOSTPKG variable which refers to $(STAGING_DIR)/host in order
to prepare support for relocating that directory in the future.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Nov 2016 08:50:39 +0000 (09:50 +0100)]
fstools: add build-depends on util-linux
The libblkid probe support in fstools git head requires blkid/blkid.h for
compilation, so add a build dependency on util-linux which provides libblkid.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Henryk Heisig [Sun, 30 Oct 2016 16:57:27 +0000 (17:57 +0100)]
ar71xx: Add support to Powerline ac TP-Link WPA8630
Signed-off-by: Henryk Heisig <hyniu@o2.pl>