openwrt/openwrt.git
8 years agouqmi: add metric option to interface config
Florian Eckert [Fri, 22 Jul 2016 09:04:57 +0000 (11:04 +0200)]
uqmi: add metric option to interface config

It is now possible to add an metric option for the qmi proto in dhcp mode.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
8 years agouqmi: fix option ipv6
Florian Eckert [Fri, 22 Jul 2016 09:33:08 +0000 (11:33 +0200)]
uqmi: fix option ipv6

If option ist not set then ipv6 is still enabled on this Interface.
Check if variable is zero will fix this issue.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
8 years agoramips: Rename TP-Link Archer C50 LEDs
P.Wassi [Tue, 26 Jul 2016 04:45:25 +0000 (06:45 +0200)]
ramips: Rename TP-Link Archer C50 LEDs

Rename LEDs in TP-Link Archer C50 from [manufacturer name]
to [board name] ("tp-link" -> "c50")

Signed-off-by: P.Wassi <p.wassi@gmx.at>
8 years agoramips: Improve TP-Link Archer C20i support
P.Wassi [Tue, 26 Jul 2016 04:44:19 +0000 (06:44 +0200)]
ramips: Improve TP-Link Archer C20i support

Improve / finalise TP-Link Archer C20i support.

Signed-off-by: P.Wassi <p.wassi@gmx.at>
8 years agotarget/sdk: update README.SDK to explain dependency handling
Felix Fietkau [Mon, 1 Aug 2016 09:55:53 +0000 (11:55 +0200)]
target/sdk: update README.SDK to explain dependency handling

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotarget/sdk: ship toolchain and kernel module package
Felix Fietkau [Mon, 1 Aug 2016 09:54:25 +0000 (11:54 +0200)]
target/sdk: ship toolchain and kernel module package

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: use the merged package directory to resolve dependencies for per-device rootfs
Felix Fietkau [Mon, 1 Aug 2016 09:13:11 +0000 (11:13 +0200)]
image: use the merged package directory to resolve dependencies for per-device rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: create a package feed directory containing all packages
Felix Fietkau [Mon, 1 Aug 2016 09:12:15 +0000 (11:12 +0200)]
build: create a package feed directory containing all packages

Needed for proper dependency handling for per-device rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: fix tabs vs whitespace issue
Felix Fietkau [Mon, 1 Aug 2016 08:07:25 +0000 (10:07 +0200)]
build: fix tabs vs whitespace issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobrcm63xx: fix CT-536p/CT-5621T support
Daniel Gonzalez [Thu, 28 Jul 2016 20:33:26 +0000 (22:33 +0200)]
brcm63xx: fix CT-536p/CT-5621T support

Fix support for the Comtrend  CT-536+, CT-5361 and CT-5621T routers support.

Currently the firmware is broken for these routers, because there is a missing
bar in the code at the DTS file avoiding to match with DTS stuff at the kernel. This
causes the router boots without ethernet connectivity. The status led also has a typo.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agokernel: silence a false positive uninitialized variable warning
Felix Fietkau [Sun, 31 Jul 2016 18:43:03 +0000 (20:43 +0200)]
kernel: silence a false positive uninitialized variable warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: fix boot hang if cmdline contains words with r in the middle
Jonas Gorski [Thu, 28 Jul 2016 16:08:35 +0000 (18:08 +0200)]
ipq806x: fix boot hang if cmdline contains words with r in the middle

The ATB DTB mangle code will enter an infinite loop if it encounters a
word in the command line that contains an r in the middle of the word.

Fix this by increasing ptr everytime before invoking strchr, ot avoid
finding the same r again.

This fixes booting at least on Netgear R7500v1, which contains
"ubi.mtd=rootfs" in its commandline, triggering the misbehaviour.

Fixes: 0ddcbee26151 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agomvebu: fix NAND flash issues (FS#67)
Felix Fietkau [Sun, 31 Jul 2016 18:30:08 +0000 (20:30 +0200)]
mvebu: fix NAND flash issues (FS#67)

Remove the previous PIO delay patch and add a revert patch for a faulty
upstream commit, which seems to have introduced this issue in the first
place

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimx6: clean up / fix ventana image build code
Felix Fietkau [Sun, 31 Jul 2016 17:27:15 +0000 (19:27 +0200)]
imx6: clean up / fix ventana image build code

Fix ubifs mkfs options
Use standard Build/* commands instead of doing everything in the hackish
ubi-boot-overlay template
Fix bootfs.tar.gz build error

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: add template for installing device .dtb files
Felix Fietkau [Sun, 31 Jul 2016 17:25:32 +0000 (19:25 +0200)]
build: add template for installing device .dtb files

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimx6: use ubinize-image.sh to fix build with per-device rootfs
Felix Fietkau [Sun, 31 Jul 2016 16:34:31 +0000 (18:34 +0200)]
imx6: use ubinize-image.sh to fix build with per-device rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: do not depend on svn any more
Hauke Mehrtens [Sun, 31 Jul 2016 10:41:10 +0000 (12:41 +0200)]
build: do not depend on svn any more

LEDE does not need svn to build any more, remove the prerequisite check.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agobrcm63xx: fix build with per-device rootfs
Felix Fietkau [Sun, 31 Jul 2016 11:17:44 +0000 (13:17 +0200)]
brcm63xx: fix build with per-device rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: add missing sysupgrade-nand => sysupgrade-tar change
Felix Fietkau [Sun, 31 Jul 2016 11:05:11 +0000 (13:05 +0200)]
ipq806x: add missing sysupgrade-nand => sysupgrade-tar change

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: fix build issue with per-device rootfs and legacy devices
Felix Fietkau [Sun, 31 Jul 2016 10:38:01 +0000 (12:38 +0200)]
image: fix build issue with per-device rootfs and legacy devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoperf: prevent build from within the sdk and mark as nonshared
Felix Fietkau [Sun, 31 Jul 2016 10:15:07 +0000 (12:15 +0200)]
perf: prevent build from within the sdk and mark as nonshared

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agosdk: provide a config symbol for detecting builds within the SDK
Felix Fietkau [Sun, 31 Jul 2016 10:14:38 +0000 (12:14 +0200)]
sdk: provide a config symbol for detecting builds within the SDK

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: add a helper variable for getting kernel/rootfs from within image Build/*...
Felix Fietkau [Sat, 30 Jul 2016 12:19:11 +0000 (14:19 +0200)]
image: add a helper variable for getting kernel/rootfs from within image Build/* templates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: remove hostap driver
Felix Fietkau [Sat, 30 Jul 2016 10:53:02 +0000 (12:53 +0200)]
kernel: remove hostap driver

It has been marked as broken for well over a month now and nobody has
complained.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoocteon: increase block2mtd rootfs probe timeout on ER
Felix Fietkau [Sat, 30 Jul 2016 12:07:47 +0000 (14:07 +0200)]
octeon: increase block2mtd rootfs probe timeout on ER

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: add CMDLINE to DEVICE_VARS
Felix Fietkau [Sat, 30 Jul 2016 12:01:47 +0000 (14:01 +0200)]
image.mk: add CMDLINE to DEVICE_VARS

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoocteon: pad squashfs sysupgrade image rootfs
Felix Fietkau [Sat, 30 Jul 2016 11:48:00 +0000 (13:48 +0200)]
octeon: pad squashfs sysupgrade image rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: add support for overriding kernel/rootfs images in sysupgrade-tar template
Felix Fietkau [Sat, 30 Jul 2016 11:47:36 +0000 (13:47 +0200)]
image: add support for overriding kernel/rootfs images in sysupgrade-tar template

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoocteon: drop unsupported jffs2 feature flag
Felix Fietkau [Sat, 30 Jul 2016 11:45:07 +0000 (13:45 +0200)]
octeon: drop unsupported jffs2 feature flag

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoocteon: fix sysupgrade images
Felix Fietkau [Sat, 30 Jul 2016 10:36:33 +0000 (12:36 +0200)]
octeon: fix sysupgrade images

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: fix crashlog regression on x86
Felix Fietkau [Sat, 30 Jul 2016 10:18:08 +0000 (12:18 +0200)]
kernel: fix crashlog regression on x86

Check memblock regions for sufficient size before attempting to use
them. Allow checks for multiple memblock regions until a suitable one is
found.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoinclude/cmake.mk: fix host builds
Felix Fietkau [Fri, 29 Jul 2016 20:47:46 +0000 (22:47 +0200)]
include/cmake.mk: fix host builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agodnsmasq: drop --interface and --except-interface options when the interface cannot...
Felix Fietkau [Fri, 29 Jul 2016 18:58:14 +0000 (20:58 +0200)]
dnsmasq: drop --interface and --except-interface options when the interface cannot be found

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agocmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds
Luke McKee [Sat, 23 Jul 2016 19:00:24 +0000 (02:00 +0700)]
cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds

Some packages need out of source tree building with cmake, for example
when building kernel modules.
See an example here:
https://sourceforge.net/p/accel-ppp/code/ci/master/tree/README

Signed-off-by: Luke McKee <hojuruku@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup, rework]
8 years agonetifd: update to the latest version, adds an event handling fix
Felix Fietkau [Fri, 29 Jul 2016 17:51:31 +0000 (19:51 +0200)]
netifd: update to the latest version, adds an event handling fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agodnsmasq: remove use of uci state for getting network ifname
Felix Fietkau [Fri, 29 Jul 2016 17:48:12 +0000 (19:48 +0200)]
dnsmasq: remove use of uci state for getting network ifname

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: remove leftover variable from a previous rework
Felix Fietkau [Fri, 29 Jul 2016 15:13:48 +0000 (17:13 +0200)]
image.mk: remove leftover variable from a previous rework

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath25: rework image building
Jo-Philipp Wich [Fri, 29 Jul 2016 14:47:45 +0000 (16:47 +0200)]
ath25: rework image building

* Remove legacy macros
* Emit generic LZMA and Gzip kernel images from the combined device recipe
* Rename combined device to generic

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agobuild: rename sysupgrade-nand to sysupgrade-tar
Jo-Philipp Wich [Fri, 29 Jul 2016 13:05:51 +0000 (15:05 +0200)]
build: rename sysupgrade-nand to sysupgrade-tar

Now that the "sysupgrade-nand" step is used by non-NAND targets as well,
rename it to "sysupgrade-tar" to make it more generic.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoocteon: clean up image build code
Jo-Philipp Wich [Fri, 29 Jul 2016 13:03:19 +0000 (15:03 +0200)]
octeon: clean up image build code

Use the generic "sysupgrade-nand" build step to pack the sysupgrade file,
it performs the same steps as the inline "tar-file" macro.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agodnsmasq: replace the iface hotplug script with a procd trigger
Felix Fietkau [Fri, 29 Jul 2016 12:56:35 +0000 (14:56 +0200)]
dnsmasq: replace the iface hotplug script with a procd trigger

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agodnsmasq: make the check for existing DHCP servers more reliable
Felix Fietkau [Fri, 29 Jul 2016 12:26:55 +0000 (14:26 +0200)]
dnsmasq: make the check for existing DHCP servers more reliable

If there is no carrier yet, wait for 2 seconds (STP forwarding delay)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agodnsmasq: write atomic config file
Ulrich Weber [Mon, 13 Jun 2016 13:21:47 +0000 (15:21 +0200)]
dnsmasq: write atomic config file

multiple invocation of dnsmasq script (e.g. by procd and hotplugd)
might cause procd to restart dnsmasq with an incomplete config file.
Config file generation might take quite a long time on larger configs
due ubus calls for each listening interface...

Signed-off-by: Ulrich Weber <ulrich.weber@riverbed.com>
8 years agonetifd: update to the latest version
Felix Fietkau [Fri, 29 Jul 2016 14:17:40 +0000 (16:17 +0200)]
netifd: update to the latest version

Emits an initial event after the first link-up of a force_link
interface. This is needed for making the dnsmasq dhcp check more
reliable

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoprocd: add default timeout for reload trigger actions
Felix Fietkau [Fri, 29 Jul 2016 12:19:17 +0000 (14:19 +0200)]
procd: add default timeout for reload trigger actions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoigmpproxy: remove procd_open_trigger/procd_close_trigger calls
Felix Fietkau [Fri, 29 Jul 2016 11:07:08 +0000 (13:07 +0200)]
igmpproxy: remove procd_open_trigger/procd_close_trigger calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agodropbear: remove procd_open_trigger/procd_close_trigger calls
Felix Fietkau [Fri, 29 Jul 2016 11:04:13 +0000 (13:04 +0200)]
dropbear: remove procd_open_trigger/procd_close_trigger calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agosysntpd: remove procd_open_trigger/procd_close_trigger calls
Felix Fietkau [Fri, 29 Jul 2016 11:03:57 +0000 (13:03 +0200)]
sysntpd: remove procd_open_trigger/procd_close_trigger calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoprocd: rework trigger handling
Felix Fietkau [Fri, 29 Jul 2016 11:00:56 +0000 (13:00 +0200)]
procd: rework trigger handling

Open/close triggers array around service_triggers call to make using
multiple triggers easier to deal with.
The API was quite confusing, because some functions contained implicit
trigger open/close calls and some didn't.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoprocd: update to the latest version
Felix Fietkau [Fri, 29 Jul 2016 12:07:09 +0000 (14:07 +0200)]
procd: update to the latest version

Fixes a long standing design issue in handling of delayed triggers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolibubox: update to the latest version, adds a few utility functions
Felix Fietkau [Fri, 29 Jul 2016 12:06:08 +0000 (14:06 +0200)]
libubox: update to the latest version, adds a few utility functions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: add option to enable all profiles
Felix Fietkau [Fri, 22 Jul 2016 12:29:32 +0000 (14:29 +0200)]
build: add option to enable all profiles

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: add support for per-device rootfs based on device profile packges
Felix Fietkau [Fri, 22 Jul 2016 12:27:52 +0000 (14:27 +0200)]
build: add support for per-device rootfs based on device profile packges

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: minor cleanup of redundant code
Felix Fietkau [Fri, 22 Jul 2016 12:04:16 +0000 (14:04 +0200)]
build: minor cleanup of redundant code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: set TMPDIR for opkg calls
Felix Fietkau [Fri, 22 Jul 2016 11:04:11 +0000 (13:04 +0200)]
build: set TMPDIR for opkg calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: add target_params variable for getting root filesystem image parameters
Felix Fietkau [Fri, 22 Jul 2016 10:43:54 +0000 (12:43 +0200)]
build: add target_params variable for getting root filesystem image parameters

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: add template for getting opkg package files from package names
Felix Fietkau [Fri, 22 Jul 2016 10:22:16 +0000 (12:22 +0200)]
build: add template for getting opkg package files from package names

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: rework opkg command invocation
Felix Fietkau [Fri, 22 Jul 2016 10:10:17 +0000 (12:10 +0200)]
build: rework opkg command invocation

Drop included $(XARGS), add support for passing target dir via parameter

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: remove obsolete variables from opkg command
Felix Fietkau [Fri, 22 Jul 2016 10:04:33 +0000 (12:04 +0200)]
build: remove obsolete variables from opkg command

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: rework prepare_rootfs to pass target dir via parameter
Felix Fietkau [Fri, 22 Jul 2016 09:54:58 +0000 (11:54 +0200)]
build: rework prepare_rootfs to pass target dir via parameter

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: add wrapper variable to get the target dir for mkfs commands
Felix Fietkau [Fri, 22 Jul 2016 08:53:12 +0000 (10:53 +0200)]
image: add wrapper variable to get the target dir for mkfs commands

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: make mkfs template output to $@
Felix Fietkau [Thu, 21 Jul 2016 23:17:35 +0000 (01:17 +0200)]
image: make mkfs template output to $@

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: move rootfs processing code to include/rootfs.mk so it can be reused later
Felix Fietkau [Thu, 21 Jul 2016 16:49:54 +0000 (18:49 +0200)]
build: move rootfs processing code to include/rootfs.mk so it can be reused later

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoapm821xx: only attempt to mount /boot on MyBook Live
Felix Fietkau [Thu, 28 Jul 2016 17:30:03 +0000 (19:30 +0200)]
apm821xx: only attempt to mount /boot on MyBook Live

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: fix switch configuration for EASY80920
Hauke Mehrtens [Wed, 27 Jul 2016 19:27:54 +0000 (21:27 +0200)]
lantiq: fix switch configuration for EASY80920

The device tree description misses some Ethernet ports and there was no
model specified for this board. In addition there was no switch
specific default configuration created.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agokernel: fix crashlog issues on various architectures
Felix Fietkau [Thu, 28 Jul 2016 09:59:48 +0000 (11:59 +0200)]
kernel: fix crashlog issues on various architectures

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: fix WBMR-300HPD switch port assignment
Felix Fietkau [Thu, 28 Jul 2016 18:52:55 +0000 (20:52 +0200)]
lantiq: fix WBMR-300HPD switch port assignment

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoocteon: fix image build
Jo-Philipp Wich [Thu, 28 Jul 2016 17:21:44 +0000 (19:21 +0200)]
octeon: fix image build

After b47f438 "build: remove image prefix from kernel files in KDIR", the
kernel image in $(KDIR) has a different name and could not be found by the
tar-file build step anymore, leading to the following error on the build
servers:

  cp: cannot stat `.../linux-octeon/lede-octeon-generic-kernel.bin': No such file or directory
  make[4]: *** [.../linux-octeon/tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1

Adjust the path to the source kernel image in order to fix the problem.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoar71xx: don't use D-Link DIR-505 status LED as ethernet indicator
Matthias Schiffer [Thu, 28 Jul 2016 13:59:04 +0000 (15:59 +0200)]
ar71xx: don't use D-Link DIR-505 status LED as ethernet indicator

The stock firmware uses the single LED as status indicator only. Using the
same LED both for status and as ethernet indicator is uncommon, and has
been confusing users who were using the device as a WLAN mesh node (so the
LED was just off, as no ethernet was connected).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agoar71xx: add revision detection for D-Link DIR-505 A1/A2
Matthias Schiffer [Thu, 28 Jul 2016 13:43:25 +0000 (15:43 +0200)]
ar71xx: add revision detection for D-Link DIR-505 A1/A2

The A1 image also works on the A2, correctly set AR71XX_MODEL in this case.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agobrcmfmac43430-firmware: update to v7.45.41.26
Álvaro Fernández Rojas [Wed, 27 Jul 2016 10:08:50 +0000 (12:08 +0200)]
brcmfmac43430-firmware: update to v7.45.41.26

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agobcm53xx: enable kernel symbols/drivers needed for BCM53573
Rafał Miłecki [Thu, 28 Jul 2016 12:04:58 +0000 (14:04 +0200)]
bcm53xx: enable kernel symbols/drivers needed for BCM53573

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agobcm53xx: backport DTS patches for USB 2.0 and Tenda AC9
Rafał Miłecki [Thu, 28 Jul 2016 10:43:42 +0000 (12:43 +0200)]
bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agobcm53xx: refresh kernel patches
Rafał Miłecki [Thu, 28 Jul 2016 10:44:17 +0000 (12:44 +0200)]
bcm53xx: refresh kernel patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoar71xx: add a missing ;; to ar71xx.sh
John Crispin [Sun, 24 Jul 2016 09:17:34 +0000 (11:17 +0200)]
ar71xx: add a missing ;; to ar71xx.sh

commit 42305ae24aa7 ("ar71xx: add support for gl-mifi")

was missing a ;; breaking boot up

Signed-off-by: John Crispin <john@phrozen.org>
8 years agonetifd: Use -x hostname:$hostname instead of -H
Merlijn Wajer [Wed, 20 Jul 2016 15:23:52 +0000 (17:23 +0200)]
netifd: Use -x hostname:$hostname instead of -H

Passing the hostname is currently broken in since the shipped busybox includes this commit:
https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?id=2017d48c0d70bef8768efb42909e605ea8eb5a21

Before:

    Sun Jan 31 18:11:32 2016 daemon.notice netifd: Interface 'wan' is now down
    Sun Jan 31 18:11:32 2016 daemon.notice netifd: Interface 'wan' is setting up now
    Sun Jan 31 18:11:32 2016 daemon.notice netifd: wan (18158): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
    Sun Jan 31 18:11:32 2016 daemon.notice netifd: wan (18158): udhcpc: malformed hex string 'WR150'

After:

    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): udhcpc (v1.23.2) started
    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Sending discover...
    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Sending select for xxx.yyy.zzz.xyz...
    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Lease of xxx.yyy.zzz.xyz obtained, lease time 600

Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
8 years agobase-files: sysupgrade: fix pseudobridge upgrades
Conn O'Griofa [Wed, 27 Jul 2016 18:04:06 +0000 (19:04 +0100)]
base-files: sysupgrade: fix pseudobridge upgrades

Treat 'relayd' as an essential service to avoid connection interruptions during sysupgrade on devices configured as a pseudobridge.

Signed-off-by: Conn O'Griofa <connogriofa@gmail.com>
8 years agob53: allow ports with higher numbers than CPU port
Rafał Miłecki [Wed, 27 Jul 2016 12:15:32 +0000 (14:15 +0200)]
b53: allow ports with higher numbers than CPU port

Our code was assuming CPU port uses the highest number. My BCM53573
device has eth0 connected to port 8 and eth1 connected to port 5. While
working on support for it I tried to:
1) Enable all ports (including port 8)
2) Set CPU port to 5

I noticed port 8 is not accessible anymore. It was just a development
process but it seems like something worth fixing anyway.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agobrcm63xx: fix HG556a C button
dani [Fri, 22 Jul 2016 10:45:54 +0000 (12:45 +0200)]
brcm63xx: fix HG556a C button

One button of the HG556a-C has the wrong GPIO pin defined in the dts file,
fix it

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
8 years agomountd: update to latest git HEAD
John Crispin [Sun, 24 Jul 2016 04:25:47 +0000 (06:25 +0200)]
mountd: update to latest git HEAD

Signed-off-by: John Crispin <john@phrozen.org>
8 years agofirewall3: update to latest git HEAD
John Crispin [Sun, 24 Jul 2016 04:23:26 +0000 (06:23 +0200)]
firewall3: update to latest git HEAD

Signed-off-by: John Crispin <john@phrozen.org>
8 years agougps: update to latest git HEAD
John Crispin [Sun, 24 Jul 2016 04:14:38 +0000 (06:14 +0200)]
ugps: update to latest git HEAD

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoramips: unify etc/board.d/01_leds configuration
P.Wassi [Tue, 26 Jul 2016 17:18:53 +0000 (19:18 +0200)]
ramips: unify etc/board.d/01_leds configuration

Introduce an optional parameter at the local set_usb_led and
set_wifi_led function such that they can take a triggering
device. If no parameter is passed, behaviour is unchanged.
Signed-off-by: P.Wassi <p.wassi@gmx.at>
8 years agoar71xx: add support for gl-mifi
Zhao Gang [Tue, 19 Jul 2016 02:54:11 +0000 (02:54 +0000)]
ar71xx: add support for gl-mifi

This add initial support for gl-mifi.
Product page: http://www.gl-inet.com/mifi/

Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
8 years agoramips: dch-m225 don't have ethernet. default enable wifi
Michael Lee [Wed, 20 Apr 2016 06:01:21 +0000 (14:01 +0800)]
ramips: dch-m225 don't have ethernet. default enable wifi

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: remove indentation in etc/board.d/01_leds
Paul Wassi [Sat, 23 Jul 2016 14:25:38 +0000 (16:25 +0200)]
ramips: remove indentation in etc/board.d/01_leds

Remove indentation at end of line in base-files/etc/board.d/01_leds
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years agoramips: add missing i2s alias
John Crispin [Thu, 21 Jul 2016 21:34:25 +0000 (23:34 +0200)]
ramips: add missing i2s alias

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoar71xx: clean up legacy-devices.mk
Matthias Schiffer [Wed, 27 Jul 2016 14:44:16 +0000 (16:44 +0200)]
ar71xx: clean up legacy-devices.mk

Several legacy images were not buildable because of missing profile
definitions in legacy-devices.mk since MultiProfile was removed. Update
legacy-devices.mk to provide all necessary profiles, and change ordering
to match legacy.mk.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agotoolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.x
Alexey Brodkin [Wed, 27 Jul 2016 12:51:32 +0000 (15:51 +0300)]
toolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.x

On attempt to build ARC toolchain on the host with gcc 6.1 I saw the
same failure as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959

This change adds a back-port of the fix from upstream gcc, see
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=233572

Note the fix is already a part of gcc-5.4 and gcc-6.1 so no need for
the same fix for others.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agohostapd: backport mesh/ibss HT20/HT40 related fix
Felix Fietkau [Tue, 26 Jul 2016 11:47:00 +0000 (13:47 +0200)]
hostapd: backport mesh/ibss HT20/HT40 related fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agofstools: update to latest HEAD
Daniel Golle [Thu, 21 Jul 2016 10:13:50 +0000 (12:13 +0200)]
fstools: update to latest HEAD

Fixes duplicate ubiblock entries being listed and improves
find_mount_point to also match against a block device's
major:minor numbers (needed e.g. for /dev/root).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agobase-files: use procd init for urandom_seed
Etienne CHAMPETIER [Wed, 20 Jul 2016 12:22:44 +0000 (12:22 +0000)]
base-files: use procd init for urandom_seed

Previous implementation was blocking the init and
breaking halt/reboot/sysupgrade (reported by Daniel Golle)

v2: use procd logging, use set -e + trap for error handling

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Tested-by: Daniel Golle <daniel@makrotopia.org>
8 years agomvebu: limit image builds to profile selection
Felix Fietkau [Tue, 26 Jul 2016 06:36:45 +0000 (08:36 +0200)]
mvebu: limit image builds to profile selection

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobase-files: remove support of profile-specific base-files
Felix Fietkau [Tue, 26 Jul 2016 06:14:14 +0000 (08:14 +0200)]
base-files: remove support of profile-specific base-files

It is incompatible with multi-profile builds and has not been used
in-tree anyway.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath9k: fix warning in client mode (GH#195)
Felix Fietkau [Tue, 26 Jul 2016 06:25:51 +0000 (08:25 +0200)]
ath9k: fix warning in client mode (GH#195)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: remove image prefix from kernel files in KDIR
Felix Fietkau [Thu, 21 Jul 2016 15:49:19 +0000 (17:49 +0200)]
build: remove image prefix from kernel files in KDIR

This allows the image builder to change EXTRA_IMAGE_NAME at a later
point in time without breaking the build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: remove cpio.gz and tar.gz from regular filesystem types
Felix Fietkau [Thu, 21 Jul 2016 17:02:59 +0000 (19:02 +0200)]
build: remove cpio.gz and tar.gz from regular filesystem types

They are not used to produce regular firmware images anyway. Instead,
call their build templates directly if enabled in the config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: remove shell calls from legacy ubi/ubifs image code
Felix Fietkau [Mon, 25 Jul 2016 10:37:01 +0000 (12:37 +0200)]
image: remove shell calls from legacy ubi/ubifs image code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokirkwood: fix UBIFS_OPTS variable in image build
Felix Fietkau [Mon, 25 Jul 2016 10:30:13 +0000 (12:30 +0200)]
kirkwood: fix UBIFS_OPTS variable in image build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoRemove existing old link before creating a new one
Stefan Weil [Mon, 3 Aug 2009 08:54:04 +0000 (10:54 +0200)]
Remove existing old link before creating a new one

This is needed after a kernel update, otherwise the
new link is written as linux/linux-$(LINUX_VERSION).

Signed-off-by: Stefan Weil <sw@weilnetz.de>