librecmc/librecmc.git
9 years agokernel: add qca-nss-gmac as a new module
John Crispin [Tue, 24 Feb 2015 11:59:56 +0000 (11:59 +0000)]
kernel: add qca-nss-gmac as a new module

This driver is used on IPQ806x to instanciate & drive the ethernet
interfaces.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44521

9 years agoipq806x: enable GMAC support in DTS
John Crispin [Tue, 24 Feb 2015 11:59:51 +0000 (11:59 +0000)]
ipq806x: enable GMAC support in DTS

This adds the GMAC entries in the ipq806x dtsi file as well as in the
ap148 specific dts file.

This also adds the MDIO change as well.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44520

9 years agoipq806x: enable ar8xxx switch family support
John Crispin [Tue, 24 Feb 2015 11:59:47 +0000 (11:59 +0000)]
ipq806x: enable ar8xxx switch family support

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44519

9 years agoipq806x: fix spi read issues observed with SMP enabled
John Crispin [Tue, 24 Feb 2015 11:59:41 +0000 (11:59 +0000)]
ipq806x: fix spi read issues observed with SMP enabled

This change is fixing the issues observed when booting from NOR flash
with SMP enabled.

Error logs below:
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
m25p80 spi32766.0: SPI transfer failed: -110
spi_master spi32766: failed to transfer one message from queue
jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792

Patch is cherry-picked from here:
https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02

More details in the patch file.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44518

9 years agompc85xx: add 3.19 support
John Crispin [Tue, 24 Feb 2015 11:59:35 +0000 (11:59 +0000)]
mpc85xx: add 3.19 support

It took very little to make the TL-WDR4900 work under 3.19:
- config is the same as for 3.18
- only patch 210 had to be refreshed, the other patches are
  the same as for 3.18
- in /etc/config/wireless the path options need to be prefixed
  with "platform/" ('platform/ffe09000.pci/...')

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44517

9 years agosamba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)
Felix Fietkau [Tue, 24 Feb 2015 07:21:25 +0000 (07:21 +0000)]
samba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44515

9 years agogeneric: fix 050-backport_netfilter_rtcache.patch
Rafał Miłecki [Tue, 24 Feb 2015 06:40:37 +0000 (06:40 +0000)]
generic: fix 050-backport_netfilter_rtcache.patch

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44514

9 years agox86: remove spurious delete of /etc/config/network
Felix Fietkau [Tue, 24 Feb 2015 06:07:40 +0000 (06:07 +0000)]
x86: remove spurious delete of /etc/config/network

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44513

9 years agomtools: fix build errors on mac os x (#19064)
Felix Fietkau [Tue, 24 Feb 2015 06:06:12 +0000 (06:06 +0000)]
mtools: fix build errors on mac os x (#19064)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44512

9 years agogeneric: early (incomplete!) 4.0 support
Rafał Miłecki [Mon, 23 Feb 2015 22:59:53 +0000 (22:59 +0000)]
generic: early (incomplete!) 4.0 support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44511

9 years agoleds: package the NXP PCA963x driver
Imre Kaloz [Mon, 23 Feb 2015 11:09:03 +0000 (11:09 +0000)]
leds: package the NXP PCA963x driver

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44510

9 years agomvebu: set default WRT1900AC switch config
Imre Kaloz [Mon, 23 Feb 2015 10:35:29 +0000 (10:35 +0000)]
mvebu: set default WRT1900AC switch config

This sets 'enable_vlan' and thus uses 802.1q
VLANs, but without tagging on either interface.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44509

9 years agomvebu: set WRT1900AC WAN interface MAC address
Imre Kaloz [Mon, 23 Feb 2015 10:33:19 +0000 (10:33 +0000)]
mvebu: set WRT1900AC WAN interface MAC address

Toggles the LA bit on the WAN interface.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44508

9 years agoppp: Allow PPTP over a specified interface
John Crispin [Sun, 22 Feb 2015 08:29:34 +0000 (08:29 +0000)]
ppp: Allow PPTP over a specified interface

In a dual-WAN setup, it's useful to specify an interface over which to
have PPTP.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44507

9 years agocomgt: Use TCGETS and TCSETS ioctls for struct termios
John Crispin [Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)]
comgt: Use TCGETS and TCSETS ioctls for struct termios

When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44506

9 years agoipq806x: delete config-3.14 file
John Crispin [Sun, 22 Feb 2015 08:29:18 +0000 (08:29 +0000)]
ipq806x: delete config-3.14 file

ipq806x target has been upgraded to 3.14. There is no need to maintain
this file anymore.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44505

9 years agoipq806x: fix "reboot" command
John Crispin [Sun, 22 Feb 2015 08:29:14 +0000 (08:29 +0000)]
ipq806x: fix "reboot" command

The watchdog driver already registers a restart notifier, we just have
to enable it in the config and in the DT to fix the "reboot" command.

This is done by integratin the following patch-set:
https://lkml.org/lkml/2015/2/20/610

I'm copy-pasting the description below:
qcom-wdt is currently assuming the presence of a dedicated node in DT
to gets its configuration. However, on msm architecture, the watchdog is
usually part of the timer block. So this patch-set is changing the driver
and slightly enhancing the timer DT bindings to provide the relevant clocks
and interrupts.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44504

9 years agoipq806x: enable watchdog kernel option
John Crispin [Sun, 22 Feb 2015 08:29:07 +0000 (08:29 +0000)]
ipq806x: enable watchdog kernel option

Some bootloaders seem to trigger the watchdog during the boot process,
therefore the lack of watchdog driver trigger a reboot a few seconds
after boot. So we'll enable it here to avoid it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44503

9 years agokernel: Fix USB gadget modules for v3.18
John Crispin [Sun, 22 Feb 2015 08:29:01 +0000 (08:29 +0000)]
kernel: Fix USB gadget modules for v3.18

Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44502

9 years agompc85xx: add mpic timer clock frequency to avoid boot log warning
John Crispin [Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)]
mpc85xx: add mpic timer clock frequency to avoid boot log warning

MPIC timers are enabled in the config, however a devicetree clock setting
is missing causing the following error:
/soc@ffe00000/timer@41100: cannot get timer frequency.
/soc@ffe00000/timer@42100: cannot get timer frequency.

This patch adds the missing clock and avoids the error.
It's a functional copy of this code
do_fixup_by_compat_u32(blob, "fsl,mpic",
        "clock-frequency", get_bus_freq(0), 1);
in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 44501

9 years agoramips: rt288x: add missing symbol
John Crispin [Sun, 22 Feb 2015 08:28:42 +0000 (08:28 +0000)]
ramips: rt288x: add missing symbol

Defaulting to disabled, based on the value of
the (old?) CONFIG_RALINK_USBPHY

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 44500

9 years agoramips: nexx wt3020: fix status led
John Crispin [Sun, 22 Feb 2015 08:28:35 +0000 (08:28 +0000)]
ramips: nexx wt3020: fix status led

For Nexx WT3020 board_name is wt3020, not nexx-wt3020

root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name)
wt3020

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44499

9 years agopackages: remove uneeded PKG_BUILD_DIR overrides
Nicolas Thill [Sun, 22 Feb 2015 01:31:21 +0000 (01:31 +0000)]
packages: remove uneeded PKG_BUILD_DIR overrides

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44498

9 years agobcm53xx: add one more NVRAM possible size (0x180000)
Rafał Miłecki [Fri, 20 Feb 2015 07:07:53 +0000 (07:07 +0000)]
bcm53xx: add one more NVRAM possible size (0x180000)

Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44497

9 years agompc85xx: set v3.18 as default
John Crispin [Thu, 19 Feb 2015 14:30:03 +0000 (14:30 +0000)]
mpc85xx: set v3.18 as default

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44496

9 years agoralink: bump to v3.18
John Crispin [Thu, 19 Feb 2015 14:04:47 +0000 (14:04 +0000)]
ralink: bump to v3.18

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44495

9 years agoramips: fix the mt7628 dts file
John Crispin [Thu, 19 Feb 2015 14:04:41 +0000 (14:04 +0000)]
ramips: fix the mt7628 dts file

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44494

9 years agotools/patchelf: fix portability issue breaking mac os x builds (#18998)
Felix Fietkau [Thu, 19 Feb 2015 10:30:39 +0000 (10:30 +0000)]
tools/patchelf: fix portability issue breaking mac os x builds (#18998)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44493

9 years agoat91: Add dts for Exegin Q5x boards.
John Crispin [Thu, 19 Feb 2015 09:07:06 +0000 (09:07 +0000)]
at91: Add dts for Exegin Q5x boards.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44492

9 years agoat91: USB gadget subsystem cleanup and driver fix.
John Crispin [Thu, 19 Feb 2015 09:06:56 +0000 (09:06 +0000)]
at91: USB gadget subsystem cleanup and driver fix.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44491

9 years agoat91: Enable power and reset controller drivers.
John Crispin [Thu, 19 Feb 2015 09:06:49 +0000 (09:06 +0000)]
at91: Enable power and reset controller drivers.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44490

9 years agoat91: bump to v3.18
John Crispin [Wed, 18 Feb 2015 13:35:46 +0000 (13:35 +0000)]
at91: bump to v3.18

Signed-off-by: Your Name <blogic@openwrt.org>
SVN-Revision: 44489

9 years agoinclude: netfilter: fix packaging of LOG target for Linux >= 3.16 (#19031)
Jo-Philipp Wich [Wed, 18 Feb 2015 13:28:28 +0000 (13:28 +0000)]
include: netfilter: fix packaging of LOG target for Linux >= 3.16 (#19031)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44488

9 years agoau1000: fix 3.18 and set it as default
John Crispin [Wed, 18 Feb 2015 09:49:38 +0000 (09:49 +0000)]
au1000: fix 3.18 and set it as default

Thanks to Bruno Randolf for testing and Manuel Lauss for providing a fix.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44487

9 years agoar71xx: fix 82_patch_ath10k
Jo-Philipp Wich [Tue, 17 Feb 2015 21:26:39 +0000 (21:26 +0000)]
ar71xx: fix 82_patch_ath10k

The firware md5sum check never worked due to missing dollar signs.

Also suppress
  `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'`
error on any board not using ath10k.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44486

9 years agompc85xx: add v3.18 support
John Crispin [Tue, 17 Feb 2015 20:28:36 +0000 (20:28 +0000)]
mpc85xx: add v3.18 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44485

9 years agohostapd: fix c&p typo
John Crispin [Tue, 17 Feb 2015 15:59:28 +0000 (15:59 +0000)]
hostapd: fix c&p typo

https://dev.openwrt.org/ticket/19010

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44484

9 years agoar71xx: make v3.18 default
John Crispin [Tue, 17 Feb 2015 14:33:29 +0000 (14:33 +0000)]
ar71xx: make v3.18 default

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44482

9 years agokernel: re-enable the firmware loader
John Crispin [Tue, 17 Feb 2015 14:33:13 +0000 (14:33 +0000)]
kernel: re-enable the firmware loader

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44481

9 years agonetifd: various device config / event fixes (thx Hans Dedecker)
Steven Barth [Tue, 17 Feb 2015 14:14:51 +0000 (14:14 +0000)]
netifd: various device config / event fixes (thx Hans Dedecker)

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 44480

9 years agoiproute2: bump version from v3.18.0 to v3.19.0
Steven Barth [Tue, 17 Feb 2015 14:14:39 +0000 (14:14 +0000)]
iproute2: bump version from v3.18.0 to v3.19.0

with refreshed patches

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 44479

9 years agoramips: Buffalo WZR-AGL300NH target support
John Crispin [Mon, 16 Feb 2015 21:19:18 +0000 (21:19 +0000)]
ramips: Buffalo WZR-AGL300NH target support

I got work with this patch.
Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons.

In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata.

signed-off-by: ngc@ff.iij4u.or.jp
——
——

SVN-Revision: 44470

9 years agoramips: enables rt288x PCIe
John Crispin [Mon, 16 Feb 2015 21:18:59 +0000 (21:18 +0000)]
ramips: enables rt288x PCIe

To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong.
Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus.

signed-off-by: ngc@ff.iij4u.or.jp
————
————

SVN-Revision: 44469

9 years agooxnas: fix itb generation
John Crispin [Mon, 16 Feb 2015 21:18:48 +0000 (21:18 +0000)]
oxnas: fix itb generation

- according to imx6 Makefile and u-Boot documentation is itb
  and probably should not be changed
- this fixes build error if CONFIG_TARGET_ROOTFS_INCLUDE_FIT is set
  (missing .itb file)
- use DTS_DIR (like in imx6 Makefile)

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Acked-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44468

9 years agobcm53xx: include kmod-brcmfmac in default profile
Rafał Miłecki [Mon, 16 Feb 2015 19:51:21 +0000 (19:51 +0000)]
bcm53xx: include kmod-brcmfmac in default profile

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44467

9 years agomac80211: brcmfmac: Add PCIe support option
Rafał Miłecki [Mon, 16 Feb 2015 19:36:35 +0000 (19:36 +0000)]
mac80211: brcmfmac: Add PCIe support option

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44466

9 years agomac80211: brcmfmac: Add SDIO support option
Rafał Miłecki [Mon, 16 Feb 2015 19:11:38 +0000 (19:11 +0000)]
mac80211: brcmfmac: Add SDIO support option

This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44465

9 years agobcm53xx: sprom: extract for PCI host
Rafał Miłecki [Mon, 16 Feb 2015 16:13:23 +0000 (16:13 +0000)]
bcm53xx: sprom: extract for PCI host

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44464

9 years agobcm53xx: sprom: prepare to support other hosttype-s
Rafał Miłecki [Mon, 16 Feb 2015 16:10:05 +0000 (16:10 +0000)]
bcm53xx: sprom: prepare to support other hosttype-s

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44463

9 years agomvebu: refresh 3.18 patches
Imre Kaloz [Mon, 16 Feb 2015 12:48:05 +0000 (12:48 +0000)]
mvebu: refresh 3.18 patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44462

9 years agonetifd: update to the latest version, reverts a commit causing MTU issues (fixes...
Felix Fietkau [Mon, 16 Feb 2015 09:07:19 +0000 (09:07 +0000)]
netifd: update to the latest version, reverts a commit causing MTU issues (fixes #18869)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44461

9 years agolinux: fix kmod-usb-net-* for >= 3.17
John Crispin [Mon, 16 Feb 2015 08:00:17 +0000 (08:00 +0000)]
linux: fix kmod-usb-net-* for >= 3.17

Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config
options.") hid the USB network drivers behind the new config symbol
CONFIG_USB_NET_DRIVERS.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
SVN-Revision: 44460

9 years agoar71xx: fix mv88e6063 compile for 3.14
John Crispin [Sun, 15 Feb 2015 21:15:42 +0000 (21:15 +0000)]
ar71xx: fix mv88e6063 compile for 3.14

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44459

9 years agoar71xx: fix a compile bug in 902-unaligned_access_hacks.patch
John Crispin [Sun, 15 Feb 2015 21:15:21 +0000 (21:15 +0000)]
ar71xx: fix a compile bug in 902-unaligned_access_hacks.patch

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44458

9 years agoprocd: fix PKG_CONFIG_DEPENDS
John Crispin [Sun, 15 Feb 2015 19:55:37 +0000 (19:55 +0000)]
procd: fix PKG_CONFIG_DEPENDS

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44457

9 years agoar71xx: add v3.18 support
John Crispin [Sun, 15 Feb 2015 19:45:29 +0000 (19:45 +0000)]
ar71xx: add v3.18 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44456

9 years agomvebu: fix WRT1900AC ubinized images
Imre Kaloz [Sat, 14 Feb 2015 22:18:35 +0000 (22:18 +0000)]
mvebu: fix WRT1900AC ubinized images

The current pxa3xx_nand driver doesn't support sub-page writing,
so the VID header offset must be specified explicitly.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44455

9 years agoralink: fix the config files
John Crispin [Sat, 14 Feb 2015 20:48:53 +0000 (20:48 +0000)]
ralink: fix the config files

oops, accidently moved instead of copied them

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44454

9 years agoar71xx: ZyXEL NBG6716 rfkill switch fix
John Crispin [Sat, 14 Feb 2015 20:48:42 +0000 (20:48 +0000)]
ar71xx: ZyXEL NBG6716 rfkill switch fix

ZyXEL NBG6716 "rfkill" is a switch, not a button.

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44453

9 years agoscripts: fix getver git dir check
John Crispin [Sat, 14 Feb 2015 20:48:37 +0000 (20:48 +0000)]
scripts: fix getver git dir check

Git internals are referenced by .git which isn't necessarily a
directory. It may also be a file that references the actual .git
directory using the gitdir directive.

If .git is assumed to be a directory the build will not be able to get
the correct version when openwrt is included as a git submodule because
when used as a submodule .git will actually be a file referencing to a
subdirectory in the parent's git dir.

When the correct version is not detected some image generation tools
will fail because the OpenWrt string will be 'OpenWrtunknown' which is
too long for some header formats.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 44452

9 years agolantiq: disable buffered writes on Intel command set flash
John Crispin [Sat, 14 Feb 2015 20:48:32 +0000 (20:48 +0000)]
lantiq: disable buffered writes on Intel command set flash

Some Lantiq SoCs are not able to use buffered writes properly with
Intel command set flash due to the way NOR addresses on EBU are
manipulated. This patch disables buffered writes on those devices.
The only device affected at the moment is ARV4510PW, others use
AMD/Fujitsu command set.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44451

9 years agolantiq: Fix flash for targets with NO_XIP
John Crispin [Sat, 14 Feb 2015 20:48:26 +0000 (20:48 +0000)]
lantiq: Fix flash for targets with NO_XIP

For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails.
Fix this by using pdev->resource[i].start instead.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44450

9 years agobrcm2708: add kmod-hwmon-bcm2835 support and more missing symbols
John Crispin [Sat, 14 Feb 2015 20:48:20 +0000 (20:48 +0000)]
brcm2708: add kmod-hwmon-bcm2835 support and more missing symbols

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44449

9 years agobrcm2708: force uart as the default console for procd and remove nonexistent console
John Crispin [Sat, 14 Feb 2015 20:48:14 +0000 (20:48 +0000)]
brcm2708: force uart as the default console for procd and remove nonexistent console

procd gets last console from cmdline, so swapping tty1 (framebuffer) and ttyAMA0 (uart) is enough to force procd output via uart

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44448

9 years agobrcm2708: add board detection and LED support
John Crispin [Sat, 14 Feb 2015 20:48:08 +0000 (20:48 +0000)]
brcm2708: add board detection and LED support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44447

9 years agouci-defaults: add ucidef_set_led_mmc
John Crispin [Sat, 14 Feb 2015 20:47:58 +0000 (20:47 +0000)]
uci-defaults: add ucidef_set_led_mmc

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44446

9 years agopackage/valgrind: fix build on eglibc
Nicolas Thill [Sat, 14 Feb 2015 13:53:51 +0000 (13:53 +0000)]
package/valgrind: fix build on eglibc

configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44445

9 years agogeneric: ocf: irq compat stuff is not needed anymore
Nicolas Thill [Sat, 14 Feb 2015 13:53:44 +0000 (13:53 +0000)]
generic: ocf: irq compat stuff is not needed anymore

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44444

9 years agofix typo
Imre Kaloz [Sat, 14 Feb 2015 12:21:34 +0000 (12:21 +0000)]
fix typo

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44443

9 years agogeneric: upgrade to 3.18.7
Imre Kaloz [Sat, 14 Feb 2015 10:45:12 +0000 (10:45 +0000)]
generic: upgrade to 3.18.7

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44442

9 years agoixp4xx: fix gpio_line_set() logic, fixes #18986
John Crispin [Fri, 13 Feb 2015 10:54:01 +0000 (10:54 +0000)]
ixp4xx: fix gpio_line_set() logic, fixes #18986

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44439

9 years agohostapd: backport BSSID black/whitelists
John Crispin [Fri, 13 Feb 2015 10:53:54 +0000 (10:53 +0000)]
hostapd: backport BSSID black/whitelists

This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
option device 'radio2'
option network 'uplink'
option mode 'sta'
option ssid 'MyNetwork'
option encryption 'none'
list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
SVN-Revision: 44438

9 years agokexec-tools: bump version from v2.0.4 to v2.0.9.
John Crispin [Fri, 13 Feb 2015 07:42:13 +0000 (07:42 +0000)]
kexec-tools: bump version from v2.0.4 to v2.0.9.

- kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz
   format; .tar.bz2 are not provided anymore.
 - Add CONFIG_KEXEC_LZMA for selecting lzma support.

Patches are updated along to:

 - Remove the now unnecessary patch 0004-mips_regdefs.patch.
 - Drop 100-reduce_size.patch because the size reduction is marginal.
 - Allow zlib and lzma support coexist together.  This patch has been
   merged into upstream project.
 - Fix kexec-tools' configure.ac.
 - Fix a few compilation warnings.

Size comparison of stripped binaries of kexec malta target with both
zlib and lzma support enabled.

 - Before: 41447
 - After:  42583

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44437

9 years agokexec-tools: show up only when KERNEL_KEXEC is enabled.
John Crispin [Fri, 13 Feb 2015 07:42:05 +0000 (07:42 +0000)]
kexec-tools: show up only when KERNEL_KEXEC is enabled.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44436

9 years agobrcm2708-gpu-fw: simplify target dependencies
John Crispin [Fri, 13 Feb 2015 07:38:38 +0000 (07:38 +0000)]
brcm2708-gpu-fw: simplify target dependencies

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44435

9 years agobrcm2708: fix spidev
John Crispin [Fri, 13 Feb 2015 07:38:33 +0000 (07:38 +0000)]
brcm2708: fix spidev

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44434

9 years agobrcm2708: refresh patches
John Crispin [Fri, 13 Feb 2015 07:38:27 +0000 (07:38 +0000)]
brcm2708: refresh patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44433

9 years agobrcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by...
John Crispin [Fri, 13 Feb 2015 07:38:00 +0000 (07:38 +0000)]
brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by removing local version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44432

9 years agobrcm2708: add subtarget copyright and use better board names
John Crispin [Fri, 13 Feb 2015 07:37:55 +0000 (07:37 +0000)]
brcm2708: add subtarget copyright and use better board names

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44431

9 years agoar7: switch to v3.18
John Crispin [Fri, 13 Feb 2015 07:29:32 +0000 (07:29 +0000)]
ar7: switch to v3.18

Thank you Dimitri for testing this.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44430

9 years agogeneric: improve kexec support of MIPS.
John Crispin [Fri, 13 Feb 2015 07:29:25 +0000 (07:29 +0000)]
generic: improve kexec support of MIPS.

- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44429

9 years agolantiq: fix DGN3500 root device
John Crispin [Fri, 13 Feb 2015 07:29:17 +0000 (07:29 +0000)]
lantiq: fix DGN3500 root device

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44428

9 years agoar71xx: Add profile and build image for TP-Link MR12U v1
John Crispin [Fri, 13 Feb 2015 07:29:10 +0000 (07:29 +0000)]
ar71xx: Add profile and build image for TP-Link MR12U v1

This patch adds corrected profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere
the original chinese firmware but
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>
SVN-Revision: 44427

9 years agoar71xx: Add user-space support for TP-Link MR12U v1
John Crispin [Fri, 13 Feb 2015 07:29:03 +0000 (07:29 +0000)]
ar71xx: Add user-space support for TP-Link MR12U v1

This patch adds user-space support for the TL-MR12U board based on the mr13u patches.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>
SVN-Revision: 44426

9 years agoar71xx: ZyXEL NBG6716 add gpio usb power on/off
John Crispin [Fri, 13 Feb 2015 07:28:53 +0000 (07:28 +0000)]
ar71xx: ZyXEL NBG6716 add gpio usb power on/off

ZyXEL NBG6716 add missing GPIO USB power on/off

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44425

9 years agokernel: mtdsplit_uimage: fix passed info about buf size
Rafał Miłecki [Thu, 12 Feb 2015 20:13:20 +0000 (20:13 +0000)]
kernel: mtdsplit_uimage: fix passed info about buf size

We obviously can't use sizeof(*buf) which is always 1.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44424

9 years agosunxi: A20-OLinuXino-Lime profile rename leftover
Nicolas Thill [Thu, 12 Feb 2015 17:30:09 +0000 (17:30 +0000)]
sunxi: A20-OLinuXino-Lime profile rename leftover

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44423

9 years agokirkwood: Seagate GoFlex Net
Luka Perkov [Thu, 12 Feb 2015 14:39:26 +0000 (14:39 +0000)]
kirkwood: Seagate GoFlex Net

Add GoFlex Net "Board Name" , set and cleanup network default and LEDs.
Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 44422

9 years agolantiq: make m25p80 work again
John Crispin [Thu, 12 Feb 2015 11:15:56 +0000 (11:15 +0000)]
lantiq: make m25p80 work again

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44421

9 years agolantiq: fix mac addr assignment inside lantiq_etop
John Crispin [Thu, 12 Feb 2015 09:17:04 +0000 (09:17 +0000)]
lantiq: fix mac addr assignment inside lantiq_etop

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44420

9 years agolantiq: PCI should be enabled on vrx200
John Crispin [Thu, 12 Feb 2015 08:23:45 +0000 (08:23 +0000)]
lantiq: PCI should be enabled on vrx200

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44419

9 years agoralink: make the mt7621 irq core with with the new CM api
John Crispin [Thu, 12 Feb 2015 08:07:39 +0000 (08:07 +0000)]
ralink: make the mt7621 irq core with with the new CM api

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44418

9 years agoar71xx: ZyXEL NBG6716 led/buttons cleanup
John Crispin [Thu, 12 Feb 2015 08:07:27 +0000 (08:07 +0000)]
ar71xx: ZyXEL NBG6716 led/buttons cleanup

ZyXEL NBG6716 led/buttons cleanup
 - improper numbered leds
 - improper named buttons

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44417

9 years agogeneric: fix broken patch in the transition of 3.19 from -rc5 to release .0
John Crispin [Thu, 12 Feb 2015 08:07:20 +0000 (08:07 +0000)]
generic: fix broken patch in the transition of 3.19 from -rc5 to release .0

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44416

9 years agokernel: mtdsplit_uimage: read more data to match Edimax needs
Rafał Miłecki [Thu, 12 Feb 2015 07:50:07 +0000 (07:50 +0000)]
kernel: mtdsplit_uimage: read more data to match Edimax needs

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44415

9 years agokernel: mtdsplit_uimage: use separated buffer for reading data
Rafał Miłecki [Thu, 12 Feb 2015 07:44:34 +0000 (07:44 +0000)]
kernel: mtdsplit_uimage: use separated buffer for reading data

We shouldn't read data directly into the header struct, as some devices
(e.g. Edimax) need more bytes due to some extra header.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44414

9 years agokernel: mtdsplit_uimage: add parser for Edimax devices
Rafał Miłecki [Thu, 12 Feb 2015 07:23:40 +0000 (07:23 +0000)]
kernel: mtdsplit_uimage: add parser for Edimax devices

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44413

9 years agomtdsplit_uimage: more generic header verify function
Rafał Miłecki [Thu, 12 Feb 2015 06:57:24 +0000 (06:57 +0000)]
mtdsplit_uimage: more generic header verify function

Some devices have uImage headers after some extra headers (e.g. Edimax
devices). To support such cases our verify callback function should be
allowed to return header offset, not just a boolean value.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44412

9 years agokernel: fix bgmac check for chip ID
Rafał Miłecki [Wed, 11 Feb 2015 18:11:22 +0000 (18:11 +0000)]
kernel: fix bgmac check for chip ID

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44411

9 years agokernel: backport mainlined bgmac patches from 3.19
Rafał Miłecki [Wed, 11 Feb 2015 17:35:09 +0000 (17:35 +0000)]
kernel: backport mainlined bgmac patches from 3.19

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44410