openwrt/staging/lynxis.git
8 years agobrcm63xx: use upstreamed compatible name for the periph intc
Jonas Gorski [Wed, 15 Jun 2016 10:37:33 +0000 (12:37 +0200)]
brcm63xx: use upstreamed compatible name for the periph intc

This makes the eventual migration to bmips easier, as dts files
will require less changes.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agobrcm63xx: fix external IRQs
Daniel Gonzalez [Mon, 11 Apr 2016 11:26:15 +0000 (13:26 +0200)]
brcm63xx: fix external IRQs

External IRQs are currently broken, fix the BCM6345_EXT_IRQ driver.

Since the adoption of the new driver irq-bcm6345-ext, in Chaos Calmer,
external IRQs don't work. It seems there were some minor errors at the initial
development of the driver.

This patch fixes the ticket https://dev.openwrt.org/ticket/21613

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agobrcm63xx: fix single profile selection
Álvaro Fernández Rojas [Fri, 17 Jun 2016 08:13:02 +0000 (10:13 +0200)]
brcm63xx: fix single profile selection

Fixes commit c6990347.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agobcm53xx: backport BCM5301X patches for SRAB
Rafał Miłecki [Mon, 20 Jun 2016 20:57:09 +0000 (22:57 +0200)]
bcm53xx: backport BCM5301X patches for SRAB

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agokernel: backport bgmac changes from net-next
Rafał Miłecki [Mon, 20 Jun 2016 20:38:01 +0000 (22:38 +0200)]
kernel: backport bgmac changes from net-next

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agokernel: rename bgmac patches that went into the same kernel
Rafał Miłecki [Mon, 20 Jun 2016 20:29:14 +0000 (22:29 +0200)]
kernel: rename bgmac patches that went into the same kernel

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoprocd: properly set /dev/snd permission and group
John Crispin [Thu, 16 Jun 2016 09:52:29 +0000 (11:52 +0200)]
procd: properly set /dev/snd permission and group

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoe2fsprogs: Bump to v1.43.1
Xotic750 [Wed, 15 Jun 2016 22:38:57 +0000 (00:38 +0200)]
e2fsprogs: Bump to v1.43.1

Signed-off-by: Graham Fairweather <xotic750@gmail.com>
8 years agoramips: remove duplicate i2c dts info
Michael Lee [Sat, 18 Jun 2016 02:55:04 +0000 (10:55 +0800)]
ramips: remove duplicate i2c dts info

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: update i2c drivers
Michael Lee [Thu, 7 Jan 2016 13:50:24 +0000 (21:50 +0800)]
ramips: update i2c drivers

* add rt_i2c structure to store driver data
* rewrite read/write check function and add i2c error status check.
  so we don't need to wait until time out.
* add 10 bits address support. according to the data sheet i think
  it is possible. but i haven't verify it.
* the most important is start transfer only need once. otherwise
  it cause I2C_STARTERR status.
* add set i2c clock speed register by dts options "clock-frequency".
  not just hard code it.
* add mt7621 i2c driver. i just copy i2c-ralink.c and change register
  names. and the hardware don't support error status. so i remove it.
  but the logic is the same.

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoipq806x: fix MAC_POWER_SEL switch configuration
Josh Bendavid [Sat, 18 Jun 2016 09:50:29 +0000 (11:50 +0200)]
ipq806x: fix MAC_POWER_SEL switch configuration

Fixes instability/corruption on the ethernet interface connected to port0 on the switch.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agolantiq: BTHOMEHUBV5A - use the power event code for the restart button
Mathias Kresin [Sun, 19 Jun 2016 14:34:47 +0000 (16:34 +0200)]
lantiq: BTHOMEHUBV5A - use the power event code for the restart button

The restart event code is used in LEDE to trigger a factory reset on
long press as well.

By using the power event code, the restart functionality can be used
without being prone to trigger a factory reset.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolantiq: diag - switch off the power led on failsafe
Mathias Kresin [Sun, 19 Jun 2016 14:33:44 +0000 (16:33 +0200)]
lantiq: diag - switch off the power led on failsafe

This patch is a follow up to commit 4cf3fd4 "add support for indicating
the boot state using three leds".

At the time of writing the patch, I wasn't aware that it's possible to
switch info failsafe after boot (factory reset).

Enabling the failsafe led without disabling the running led causes an
unexpected led colour on devices using a single multicolour led to
indicate the boot state.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolantiq: fix build of NAND sysupgrade images
Mathias Kresin [Sun, 19 Jun 2016 14:32:47 +0000 (16:32 +0200)]
lantiq: fix build of NAND sysupgrade images

The *_UBIFS_OPTS variables need to be prefixed with DEVICE_ to match
the profile name.

The conditions need to be evaluated after the *_UBIFS_OPTS are set,
otherwise the variables are always empty.

Do not append or pass the DEVICE_ prefixed profile name to the images.
Use the name that is passed by the Image/Build/Profile/ step.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolantiq: ltq-atm: fix xrx200 depends
Mathias Kresin [Sat, 18 Jun 2016 22:59:03 +0000 (00:59 +0200)]
lantiq: ltq-atm: fix xrx200 depends

This one was missed by abc346db0e191ebeeb122ce26d1831469fadee1c.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agofstools: fix missing dependency
John Crispin [Sat, 18 Jun 2016 15:07:44 +0000 (17:07 +0200)]
fstools: fix missing dependency

Signed-off-by: John Crispin <john@phrozen.org>
8 years agobcm53xx: properly support sysupgrade using Seama on NAND devices
Rafał Miłecki [Fri, 10 Jun 2016 23:50:34 +0000 (01:50 +0200)]
bcm53xx: properly support sysupgrade using Seama on NAND devices

It updates kernel and then formats UBI without loosing erase counters.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agomtd: support -c (datasize) option for fixseama command
Rafał Miłecki [Fri, 10 Jun 2016 23:41:10 +0000 (01:41 +0200)]
mtd: support -c (datasize) option for fixseama command

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agokernel: rename B53 symbols to avoid upstream kernel conflict
Rafał Miłecki [Tue, 14 Jun 2016 10:55:41 +0000 (12:55 +0200)]
kernel: rename B53 symbols to avoid upstream kernel conflict

In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same
symbols as our b53 does. Change our symbols so both drivers can coexist
in kernel tree.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agokernel: mtdsplit: calculate kernel partition precisely for Seama
Rafał Miłecki [Mon, 20 Jun 2016 05:58:29 +0000 (07:58 +0200)]
kernel: mtdsplit: calculate kernel partition precisely for Seama

So far "kernel" partition didn't contain just a kernel. It also included
Seama header and meta data. This was making kernel update complex and it
wasn't trivial to read kernel size.
Fix it by making "kernel" parition contain just a kernel image.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agouboot-envtools: add support for ZBT-WG2626
Daniel Golle [Sun, 19 Jun 2016 14:22:23 +0000 (16:22 +0200)]
uboot-envtools: add support for ZBT-WG2626

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agokernel: backport cosmetic ubifs patch
Daniel Golle [Sat, 18 Jun 2016 16:34:22 +0000 (18:34 +0200)]
kernel: backport cosmetic ubifs patch

Despite the MS_SILENT flag being set when probing for ubifs rootfs a
logline indicating an error is generated during boot:
UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
This leads to confusion and there shouldn't be lines containing
the word 'error' twice in a bootlog if actually everything is fine
(just the rootfs happens to be something else than ubifs)

The patch added has been submitted and was accepted upstream, see:
http://lists.infradead.org/pipermail/linux-mtd/2016-June/068056.html
http://patchwork.ozlabs.org/patch/637491

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agolantiq: clean up / fix LegacyDevice template handling
Felix Fietkau [Fri, 17 Jun 2016 18:22:58 +0000 (20:22 +0200)]
lantiq: clean up / fix LegacyDevice template handling

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: get rid of ifneq() checks inside command templates
Felix Fietkau [Fri, 17 Jun 2016 18:00:49 +0000 (20:00 +0200)]
lantiq: get rid of ifneq() checks inside command templates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: add a separate step for building kernel images for LegacyDevice support
Felix Fietkau [Fri, 17 Jun 2016 18:22:44 +0000 (20:22 +0200)]
image.mk: add a separate step for building kernel images for LegacyDevice support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: run LegacyDevice prepare once instead of once per filesystem
Felix Fietkau [Fri, 17 Jun 2016 17:55:27 +0000 (19:55 +0200)]
image.mk: run LegacyDevice prepare once instead of once per filesystem

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: fix make variable/command context leakage between LegacyDevice templates
Felix Fietkau [Fri, 17 Jun 2016 17:30:43 +0000 (19:30 +0200)]
image.mk: fix make variable/command context leakage between LegacyDevice templates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: small fix for legacy profile builds
John Crispin [Fri, 17 Jun 2016 16:50:07 +0000 (18:50 +0200)]
lantiq: small fix for legacy profile builds

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoocteon: fix image build
Jo-Philipp Wich [Fri, 17 Jun 2016 15:39:54 +0000 (17:39 +0200)]
octeon: fix image build

The generic sysupgrade image attempted to use the wrong filesystem type due
to premature variable interpolation leading to the following error on the
buildbot system:

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

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agomt76: update to the latest version, fixes a SMPS handling issue
Felix Fietkau [Fri, 17 Jun 2016 12:50:55 +0000 (14:50 +0200)]
mt76: update to the latest version, fixes a SMPS handling issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomedaitek: convert the NAND target to UBI
John Crispin [Fri, 17 Jun 2016 01:46:25 +0000 (03:46 +0200)]
medaitek: convert the NAND target to UBI

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoprocd: update to latest git head
John Crispin [Thu, 16 Jun 2016 22:59:35 +0000 (00:59 +0200)]
procd: update to latest git head

fixes !root perms of /var/{run,lock,state}

Signed-off-by: John Crispin <john@phrozen.org>
8 years agobase-files: remove fstab symlink
John Crispin [Thu, 16 Jun 2016 22:54:25 +0000 (00:54 +0200)]
base-files: remove fstab symlink

the symlink no longer gets used since we switched to the block-mount tool.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoar71xx: WDR4300: Fixed default VLAN order
David Pinilla Caparrós [Thu, 16 Jun 2016 15:26:16 +0000 (17:26 +0200)]
ar71xx: WDR4300: Fixed default VLAN order

Reordered the VLANs so the LAN ports are set to VLAN 1 and the WAN port is set to VLAN 2, as in the other routers in the config file. Moreover, this model had this VLAN mapping in OpenWRT Chaos Calmer. It seems that the VLAN were switched when fixing a bug in the port mapping ( OpenWRT changeset 47799 )

Signed-off-by: David Pinilla Caparrós <dpinitux@gmail.com>
8 years agoRevert "ramips: update i2c drivers"
John Crispin [Thu, 16 Jun 2016 20:52:53 +0000 (22:52 +0200)]
Revert "ramips: update i2c drivers"

This reverts commit d8202a84096831d4e6e2a522476bd6a0d46e6413.

the commit broke I2C on various boards.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts
Adrian Panella [Sat, 11 Jun 2016 00:10:15 +0000 (19:10 -0500)]
ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts

The command-line arguments provided by the boot loader will be
appended to a new device tree property: bootloader-args.
If there is a property "append-rootblock" in DT under /chosen
and a root= option in bootloaders command line it will be parsed
and added to DT bootargs with the form: <append-rootblock>XX.
Only command line ATAG will be processed, the rest of the ATAGs
sent by bootloader will be ignored.
This is usefull in dual boot systems, to get the current root partition
without afecting the rest of the system.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agocns3xxx: fix RX softIRQ loop
Koen Vandeputte [Thu, 16 Jun 2016 11:48:39 +0000 (13:48 +0200)]
cns3xxx: fix RX softIRQ loop

Already reschedule when 1 or more frames came in.

Checking for a full queue could produce a re-schedule loop as
the checked RX ring location could contain undefined values
depending on activity in previous loops.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years agonetlogic: R.I.P
John Crispin [Wed, 15 Jun 2016 18:28:21 +0000 (20:28 +0200)]
netlogic: R.I.P

I asked florian and he is ok with this. i think no one apart from him has
access to these boards.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agomountd: update to latest git HEAD
John Crispin [Wed, 15 Jun 2016 15:29:55 +0000 (17:29 +0200)]
mountd: update to latest git HEAD

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: convert remaining legacy targets to the new image generation code
John Crispin [Wed, 15 Jun 2016 12:51:11 +0000 (14:51 +0200)]
lantiq: convert remaining legacy targets to the new image generation code

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoath10k: merge some more pending upstream fixes
Felix Fietkau [Fri, 17 Jun 2016 12:12:44 +0000 (14:12 +0200)]
ath10k: merge some more pending upstream fixes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoRevert "ar71xx/cpe510: use second wifi calibration table"
Alexander Couzens [Fri, 17 Jun 2016 04:07:17 +0000 (21:07 -0700)]
Revert "ar71xx/cpe510: use second wifi calibration table"

Using the high power table can damage the device in some cases.

This reverts commit bf27ac019c137e7baf90ca6ef0e40945ae871797.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agouhttpd: update to the latest version, adds some extensions to handler script support
Felix Fietkau [Thu, 16 Jun 2016 17:00:11 +0000 (19:00 +0200)]
uhttpd: update to the latest version, adds some extensions to handler script support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agouclient: update to the latest version with better help and DELETE
Rafał Miłecki [Thu, 16 Jun 2016 12:51:40 +0000 (14:51 +0200)]
uclient: update to the latest version with better help and DELETE

This slightly improves output of help messages and supports sending
message body for DELETE.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agopackage-ipkg: do not include feeds.mk at metadata dump time to speed up scanning
Felix Fietkau [Thu, 16 Jun 2016 09:56:14 +0000 (11:56 +0200)]
package-ipkg: do not include feeds.mk at metadata dump time to speed up scanning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoinclude/feeds.mk: allow installation from feed packages that are installed but no...
Felix Fietkau [Thu, 16 Jun 2016 09:41:52 +0000 (11:41 +0200)]
include/feeds.mk: allow installation from feed packages that are installed but no longer in feeds.conf

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agopackage-ipkg.mk: fix Provides for packages with multiple PROVIDES entries
Matthias Schiffer [Thu, 16 Jun 2016 02:11:41 +0000 (04:11 +0200)]
package-ipkg.mk: fix Provides for packages with multiple PROVIDES entries

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agohostapd: fix breakage with non-nl80211 drivers
Felix Fietkau [Wed, 15 Jun 2016 17:28:48 +0000 (19:28 +0200)]
hostapd: fix breakage with non-nl80211 drivers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotools/cmake: fix parallel build with Make 4.2+
Matthias Schiffer [Wed, 15 Jun 2016 16:54:02 +0000 (18:54 +0200)]
tools/cmake: fix parallel build with Make 4.2+

Avoid using the --parallel argument to the CMake bootstrap, as that doesn't
allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments
in MAKEFLAGS.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agobuild: don't add -j for parallel builds with Make 4.2+
Matthias Schiffer [Wed, 15 Jun 2016 16:56:17 +0000 (18:56 +0200)]
build: don't add -j for parallel builds with Make 4.2+

Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE
removes MAKEFLAGS to have better control of the build, and re-adds the
jobserver arguments with -j to the Make commandline where desired.

Make 4.2+ behave differently with these arguments passed on the commandline
than in MAKEFLAGS: -j will override the jobserver argument and the job
count will be unlimited.

Moving the flags to MAKEFLAGS will need many packages to be changed and
tested; therefore, we opt for a less invasive change for now and just
remove -j for Make 4.2+, as the jobserver argument alone is enough to
enable parallel builds for these Make versions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agohostapd: fix compilation error in wext backend
Jo-Philipp Wich [Wed, 15 Jun 2016 17:10:11 +0000 (19:10 +0200)]
hostapd: fix compilation error in wext backend

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoscripts: feeds: fix version detection for Make >= 4.2.1
Jo-Philipp Wich [Wed, 15 Jun 2016 14:39:26 +0000 (16:39 +0200)]
scripts: feeds: fix version detection for Make >= 4.2.1

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoRevert "lantiq: Use correct macaddr generating logic for the DGN3500"
Felix Fietkau [Wed, 15 Jun 2016 16:40:12 +0000 (18:40 +0200)]
Revert "lantiq: Use correct macaddr generating logic for the DGN3500"

This reverts commit 492964e741f1e0254b6ed7c0a095551a31d25dc9, which
makes no sense. /etc/board.d cannot be used for system init stuff.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostap-driver: mark as broken, it causes extra bloat in hostapd and is probably not...
Felix Fietkau [Wed, 15 Jun 2016 16:27:44 +0000 (18:27 +0200)]
hostap-driver: mark as broken, it causes extra bloat in hostapd and is probably not used anymore

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomt76: update to latest version, adds survey support for mt76x2
Felix Fietkau [Wed, 15 Jun 2016 15:50:51 +0000 (17:50 +0200)]
mt76: update to latest version, adds survey support for mt76x2

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: implement fallback for incomplete survey data
Felix Fietkau [Wed, 15 Jun 2016 15:31:48 +0000 (17:31 +0200)]
hostapd: implement fallback for incomplete survey data

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: update to version 2016-06-15
Felix Fietkau [Wed, 15 Jun 2016 15:11:43 +0000 (17:11 +0200)]
hostapd: update to version 2016-06-15

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: Update to version 2016-05-05
Michal Hrusecky [Thu, 12 May 2016 12:07:15 +0000 (14:07 +0200)]
hostapd: Update to version 2016-05-05

Fixes CVE-2016-4476 and few possible memory leaks.

Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
8 years agolibubox: update to the latest version, fixes an uloop signal handling race condition
Felix Fietkau [Wed, 15 Jun 2016 15:01:06 +0000 (17:01 +0200)]
libubox: update to the latest version, fixes an uloop signal handling race condition

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agorealview: sync kernel config file
John Crispin [Wed, 15 Jun 2016 13:57:01 +0000 (15:57 +0200)]
realview: sync kernel config file

Signed-off-by: John Crispin <john@phrozen.org>
8 years agomt76: update to the latest version, fixes a monitor mode injection crash
Felix Fietkau [Wed, 15 Jun 2016 13:00:14 +0000 (15:00 +0200)]
mt76: update to the latest version, fixes a monitor mode injection crash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: refresh patches
Felix Fietkau [Wed, 15 Jun 2016 12:17:27 +0000 (14:17 +0200)]
lantiq: refresh patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: refresh patches
Felix Fietkau [Wed, 15 Jun 2016 12:17:19 +0000 (14:17 +0200)]
kernel: refresh patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: replace SMP cacheflush fix with some patches from linux-mti.git
Felix Fietkau [Wed, 15 Jun 2016 12:17:06 +0000 (14:17 +0200)]
kernel: replace SMP cacheflush fix with some patches from linux-mti.git

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm53xx: use uncompressed zImages
Felix Fietkau [Tue, 14 Jun 2016 10:01:22 +0000 (12:01 +0200)]
bcm53xx: use uncompressed zImages

The boot loader expects LZMA compressed kernel images

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: add support for uncompressed zImage on ARM
Felix Fietkau [Tue, 14 Jun 2016 10:00:32 +0000 (12:00 +0200)]
kernel: add support for uncompressed zImage on ARM

This can be used to prevent double compression for platforms where the
boot loader already expects compressed images.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: add common config symbols
Felix Fietkau [Tue, 14 Jun 2016 09:03:09 +0000 (11:03 +0200)]
kernel: add common config symbols

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm53xx: refresh kernel config
Felix Fietkau [Tue, 14 Jun 2016 09:04:03 +0000 (11:04 +0200)]
bcm53xx: refresh kernel config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: add missing kernel config symbol
Jo-Philipp Wich [Wed, 15 Jun 2016 11:20:39 +0000 (13:20 +0200)]
ipq806x: add missing kernel config symbol

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agomvebu: Configure status LED for WRT1900ACS
Rujun Wang [Wed, 15 Jun 2016 10:42:14 +0000 (18:42 +0800)]
mvebu: Configure status LED for WRT1900ACS

Signed-off-by: Rujun Wang <chinawrj@gmail.com>
8 years agorealview: bump to v4.4
John Crispin [Wed, 15 Jun 2016 09:48:23 +0000 (11:48 +0200)]
realview: bump to v4.4

Signed-off-by: John Crispin <john@phrozen.org>
8 years agofirmware-utils: oseama: support extracting entity
Rafał Miłecki [Thu, 5 May 2016 12:32:00 +0000 (14:32 +0200)]
firmware-utils: oseama: support extracting entity

This updates oseama in firmware-utils to the version from packages
keeping them synced.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoocteon: export the FILESYSTEMS variable during image generation
John Crispin [Wed, 15 Jun 2016 08:14:34 +0000 (10:14 +0200)]
octeon: export the FILESYSTEMS variable during image generation

squashfs will be used for all images if this is not done

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoocteon: Ignore MEM boot param when too small
John Crispin [Tue, 14 Jun 2016 11:29:30 +0000 (13:29 +0200)]
octeon: Ignore MEM boot param when too small

Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least
4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so
if mem < 4M - ignore it and set default value

Signed-off-by: Michał Osowiecki <michal.osowiecki@gmail.com>
8 years agoipq806x: restore old stmmac dma patch which is still needed to fix data corruption
Josh Bendavid [Wed, 15 Jun 2016 00:56:36 +0000 (02:56 +0200)]
ipq806x: restore old stmmac dma patch which is still needed to fix data corruption

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agoRevert "ipq806x: add mangle bootargs options in config-4.4"
Josh Bendavid [Tue, 14 Jun 2016 13:07:21 +0000 (15:07 +0200)]
Revert "ipq806x: add mangle bootargs options in config-4.4"

This reverts commit 53147c2237231842b4d185f69c2bc0d79aff8b85.

These config changes break booting on C2600 and probably other devices.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agoocteon: convert to new image building code
John Crispin [Sun, 15 May 2016 07:44:34 +0000 (09:44 +0200)]
octeon: convert to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
8 years agomediatek/ralink: fix boardnames
John Crispin [Tue, 14 Jun 2016 06:37:52 +0000 (08:37 +0200)]
mediatek/ralink: fix boardnames

Signed-off-by: John Crispin <john@phrozen.org>
8 years agotools: build msdostools for omap
Alexander Couzens [Wed, 15 Jun 2016 05:12:45 +0000 (22:12 -0700)]
tools: build msdostools for omap

omap requires msdos partition to boot from sdcard.
Prepare for upcoming full sdcard image generation.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agoomap: remove NAMESPACES config symbols
Dirk Neukirchen [Sat, 4 Jun 2016 16:36:27 +0000 (18:36 +0200)]
omap: remove NAMESPACES config symbols

they are available in config/Config-kernel.in

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove XFRM config symbols
Dirk Neukirchen [Sat, 4 Jun 2016 16:35:09 +0000 (18:35 +0200)]
omap: remove XFRM config symbols

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove config symbol W1
Dirk Neukirchen [Sat, 4 Jun 2016 16:35:02 +0000 (18:35 +0200)]
omap: remove config symbol W1

it is available as module

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove config symbol NETFILTER
Dirk Neukirchen [Sat, 4 Jun 2016 16:34:16 +0000 (18:34 +0200)]
omap: remove config symbol NETFILTER

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove BMP085 symbol
Dirk Neukirchen [Sat, 4 Jun 2016 16:34:09 +0000 (18:34 +0200)]
omap: remove BMP085 symbol

BMP085 is a pressure sensor and available as module

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agotools/mkfwimage2: remove 256 length limit for partition images
Alexander Couzens [Sat, 11 Jun 2016 02:12:38 +0000 (04:12 +0200)]
tools/mkfwimage2: remove 256 length limit for partition images

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agolantiq: the io space was still not big enough for UHCI
John Crispin [Tue, 14 Jun 2016 06:34:05 +0000 (08:34 +0200)]
lantiq: the io space was still not big enough for UHCI

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add ARV4525PW wifi led
John Crispin [Tue, 14 Jun 2016 03:11:54 +0000 (05:11 +0200)]
lantiq: add ARV4525PW wifi led

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix VG3503J loader generation
John Crispin [Tue, 14 Jun 2016 03:00:48 +0000 (05:00 +0200)]
lantiq: fix VG3503J loader generation

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix fritz7320 wifi support
John Crispin [Mon, 13 Jun 2016 19:50:13 +0000 (21:50 +0200)]
lantiq: fix fritz7320 wifi support

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix io_space_limit
John Crispin [Fri, 3 Jun 2016 11:13:55 +0000 (13:13 +0200)]
lantiq: fix io_space_limit

this broke uhci pci support on some arv units

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoramips: fix kmod-sound-mt7620 packaging
Jo-Philipp Wich [Tue, 14 Jun 2016 12:31:15 +0000 (14:31 +0200)]
ramips: fix kmod-sound-mt7620 packaging

Commit 9ff8928bb9c28be701eb963e591afcfd54b9d8c9 renamed the snd-soc-mt7620-i2s
driver and dropped snd-soc-mt7620-wm8960 which selected CONFIG_SND_SOC_WM8960
breaking all ramips builds due to undefined kernel config symbols.

Rework the kmod-sound-mt7620 package to explicitely select the
CONFIG_SND_SOC_WM8960 symbols and change it to bundle the renamed .ko file.

Also remove the @BROKEN flag and exclude it on the rt288x subtarget instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agobcm53xx: refresh kernel config
Rafał Miłecki [Tue, 14 Jun 2016 10:19:25 +0000 (12:19 +0200)]
bcm53xx: refresh kernel config

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoRevert "ar71xx: enable flow control for ethernet MACs with built-in switch"
Felix Fietkau [Tue, 14 Jun 2016 08:44:56 +0000 (10:44 +0200)]
Revert "ar71xx: enable flow control for ethernet MACs with built-in switch"

This reverts commit 1beb5bec6453abb220c5be4ddb9e6dc02d08d735.

It was found to cause the WAN port to fail on some AR934x devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobrcm47xx: add the small_Flash feature
John Crispin [Mon, 13 Jun 2016 19:39:14 +0000 (21:39 +0200)]
brcm47xx: add the small_Flash feature

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoath25: add the small_Flash feature
John Crispin [Mon, 13 Jun 2016 19:37:20 +0000 (21:37 +0200)]
ath25: add the small_Flash feature

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoconfig: add a small_flash feature
John Crispin [Mon, 13 Jun 2016 19:35:03 +0000 (21:35 +0200)]
config: add a small_flash feature

this causes KALLSYMS to be off by default

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix ARV452CQW button gpio setup
John Crispin [Mon, 13 Jun 2016 19:13:41 +0000 (21:13 +0200)]
lantiq: fix ARV452CQW button gpio setup

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add AVM image mageic to sysupgrade script
John Crispin [Mon, 13 Jun 2016 18:24:45 +0000 (20:24 +0200)]
lantiq: add AVM image mageic to sysupgrade script

Signed-off-by: John Crispin <john@phrozen.org>
8 years agopackage/lantiq: make lantiq kernel modules work with xway_legacy
John Crispin [Mon, 13 Jun 2016 17:04:56 +0000 (19:04 +0200)]
package/lantiq: make lantiq kernel modules work with xway_legacy

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add xway_legacy target
John Crispin [Mon, 13 Jun 2016 17:04:20 +0000 (19:04 +0200)]
lantiq: add xway_legacy target

due to bloat recent builds fail to fit into the flash of the old danube units

Signed-off-by: John Crispin <john@phrozen.org>