openwrt/staging/adrian.git
9 years agoomap: add profile for BeagleBoard
John Crispin [Thu, 2 Apr 2015 14:31:51 +0000 (14:31 +0000)]
omap: add profile for BeagleBoard

original BeagleBoard has no Ethernet
provide a profile with all available USB Ethernet adapters
EBVBeagle comes with a kmod-usb-net-mcs7830 compatible device

tested with BeagleBoard C4

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45237

9 years agokernel: fix kmod-usb2-omap usb module
John Crispin [Thu, 2 Apr 2015 14:31:44 +0000 (14:31 +0000)]
kernel: fix kmod-usb2-omap usb module

CONFIG_MFD_OMAP_USB_HOST is needed for working USB on BeagleBoard

tested on BeagleBoard C4 (EBVBeagle)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45236

9 years agoomap: remove patch wlcore Add-support-for-DT-platform-data
John Crispin [Thu, 2 Apr 2015 14:31:32 +0000 (14:31 +0000)]
omap: remove patch wlcore Add-support-for-DT-platform-data

- does not compile with 3.18
compile error: 'struct wl12xx_platform_data' has no member named 'gpio'

- different version was sent 2015 but cannot be tested by me
see "[PATCH v7 0/6] wlcore: add device-tree support" series
in linux-omap

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45235

9 years agokernel: fix kmod-usb-phy-omap-usb2
John Crispin [Thu, 2 Apr 2015 14:31:25 +0000 (14:31 +0000)]
kernel: fix kmod-usb-phy-omap-usb2

upstream change in Kernel 3.18
commit: "phy: rename struct omap_control_usb to struct omap_control_phy"

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45234

9 years agokernel: add usb-serial-simple module
John Crispin [Thu, 2 Apr 2015 14:31:15 +0000 (14:31 +0000)]
kernel: add usb-serial-simple module

replaces kmod-usb-serial-motorola-phone it's found only in Kernel <3.12

This module handles many simple USB serial devices
like Motorola Phones, GPS reveivers in Kernels above 3.14

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45233

9 years agokernel: add garmin_gps module
John Crispin [Thu, 2 Apr 2015 14:31:10 +0000 (14:31 +0000)]
kernel: add garmin_gps module

OpenWrt on sailboats
requested: https://forum.openwrt.org/viewtopic.php?id=56586

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45232

9 years agokernel: add uinput module
John Crispin [Thu, 2 Apr 2015 14:31:02 +0000 (14:31 +0000)]
kernel: add uinput module

This module is needed for bluetooth audio playback
with pulseaudio 6 and bluez5.

a working guide can be found in the wiki:
http://wiki.openwrt.org/wiki/bluetooth.audio
(additional packages/modifications are required
and submitted to github feeds)

tested with:
Android mobile (Sony Xperia M) as audio source
TI omap BeagleBoard as audio sink

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45231

9 years agobcm53xx: sprom: sync with mainline driver
Rafał Miłecki [Thu, 2 Apr 2015 12:02:56 +0000 (12:02 +0000)]
bcm53xx: sprom: sync with mainline driver

The main difference now is bcm53xx registering it as platform (DT)
driver.

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

9 years agobcm53xx: sprom: simplify reading NVRAM after last backports
Rafał Miłecki [Thu, 2 Apr 2015 12:01:56 +0000 (12:01 +0000)]
bcm53xx: sprom: simplify reading NVRAM after last backports

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

9 years agoipq806x: add missing symbol
John Crispin [Wed, 1 Apr 2015 22:57:54 +0000 (22:57 +0000)]
ipq806x: add missing symbol

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

9 years agobrcm47xx: backport two MIPS nvram.c patches
Rafał Miłecki [Wed, 1 Apr 2015 20:23:37 +0000 (20:23 +0000)]
brcm47xx: backport two MIPS nvram.c patches

Also replace SPROM patch with (the same) mainlined version.

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

9 years agosamba: use INSTALL_CONF for the uci file
John Crispin [Wed, 1 Apr 2015 16:12:43 +0000 (16:12 +0000)]
samba: use INSTALL_CONF for the uci file

sorry about the broken commit earlier

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

9 years agosamba36: fix typo in package/samba36-server/install
Nicolas Thill [Wed, 1 Apr 2015 15:59:14 +0000 (15:59 +0000)]
samba36: fix typo in package/samba36-server/install

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

9 years agoustream-ssl: fix SNI when building against cyassl
Nicolas Thill [Wed, 1 Apr 2015 15:11:38 +0000 (15:11 +0000)]
ustream-ssl: fix SNI when building against cyassl

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

9 years agolibreadline: cleanup Makefile, fix shlib perms
Nicolas Thill [Wed, 1 Apr 2015 15:11:32 +0000 (15:11 +0000)]
libreadline: cleanup Makefile, fix shlib perms

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

9 years agokernel: remove kernel version dependency from ochi-pci module
John Crispin [Wed, 1 Apr 2015 13:56:03 +0000 (13:56 +0000)]
kernel: remove kernel version dependency from ochi-pci module

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

9 years agokernel: add usb-ohci-pci module
John Crispin [Wed, 1 Apr 2015 13:52:31 +0000 (13:52 +0000)]
kernel: add usb-ohci-pci module

This add usb-ohci-pci module for USB1.x devices

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
SVN-Revision: 45221

9 years agosamba: don't overwrite config file
John Crispin [Wed, 1 Apr 2015 13:39:23 +0000 (13:39 +0000)]
samba: don't overwrite config file

fixes #19087

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

9 years agousbmode: update data files
John Crispin [Wed, 1 Apr 2015 13:36:58 +0000 (13:36 +0000)]
usbmode: update data files

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

9 years agokernel: add missing symbol
John Crispin [Wed, 1 Apr 2015 13:06:14 +0000 (13:06 +0000)]
kernel: add missing symbol

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

9 years agocyassl: add --enable-ecc as its needed when using the CA certificates
John Crispin [Wed, 1 Apr 2015 13:00:45 +0000 (13:00 +0000)]
cyassl: add --enable-ecc as its needed when using the CA certificates

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

9 years agoustream-ssl: enable SNI when building for cyassl
John Crispin [Wed, 1 Apr 2015 10:42:33 +0000 (10:42 +0000)]
ustream-ssl: enable SNI when building for cyassl

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

9 years agocyassl: add support for SSL_set_tlsext_host_name
John Crispin [Wed, 1 Apr 2015 10:42:28 +0000 (10:42 +0000)]
cyassl: add support for SSL_set_tlsext_host_name

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

9 years agoixp4xx: fix beeper module dependencies
John Crispin [Wed, 1 Apr 2015 09:03:13 +0000 (09:03 +0000)]
ixp4xx: fix beeper module dependencies

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

9 years agodnsmasq: backport --tftp-no-fail to ignore missing tftp root
John Crispin [Wed, 1 Apr 2015 08:33:10 +0000 (08:33 +0000)]
dnsmasq: backport --tftp-no-fail to ignore missing tftp root

This patch backports the option --tftp-no-fail to dnsmasq and prevents the
service from aborting if the specified TFTP root directory is not available;
this might be the case if TFTP files are located on external media that might
occasionally not be present at startup.

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

9 years agoconfig: add an option to enable KPROBE
John Crispin [Wed, 1 Apr 2015 08:33:04 +0000 (08:33 +0000)]
config: add an option to enable KPROBE

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

9 years agoipq806x: clean up kernel conf
John Crispin [Wed, 1 Apr 2015 08:32:29 +0000 (08:32 +0000)]
ipq806x: clean up kernel conf

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

9 years agoipq806x: add support for 4.0 kernel
John Crispin [Wed, 1 Apr 2015 08:32:03 +0000 (08:32 +0000)]
ipq806x: add support for 4.0 kernel

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

9 years agoipq806x: move 020-add-ap148-bootargs.patch in patches-3.18
John Crispin [Wed, 1 Apr 2015 08:31:52 +0000 (08:31 +0000)]
ipq806x: move 020-add-ap148-bootargs.patch in patches-3.18

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

9 years agoramips: Add support for ZTE Q7
John Crispin [Wed, 1 Apr 2015 08:31:46 +0000 (08:31 +0000)]
ramips: Add support for ZTE Q7

ZTE Q7 is a wireless router with SD Card,USB,1 ethernet port and a battery.It used MT7620a SoC.
I can,t find any information about this router on ZTE's website.
But I found this : http://en.cctairmobi.com/plus/list.php?tid=40
This router is the same as ZTE Q7 and later I found that both routers are made by the same company:-D

This patch adds support for it.
Because there is only one port,I disabled VLAN and use eth0 as lan port.
I could only create a sysupgrade firmware because I don't know how the orignal webpage check the uploaded image:-(

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 45208

9 years agonls.mk: fix typo
John Crispin [Wed, 1 Apr 2015 08:31:38 +0000 (08:31 +0000)]
nls.mk: fix typo

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

9 years agomodules: package line echo canceller module
John Crispin [Wed, 1 Apr 2015 08:31:33 +0000 (08:31 +0000)]
modules: package line echo canceller module

...so we can go ahead cleaning up dahdi-linux

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45206

9 years agokernel: add missing symbols to config and modules
John Crispin [Wed, 1 Apr 2015 08:31:26 +0000 (08:31 +0000)]
kernel: add missing symbols to config and modules

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
v2: changes in input.mk broke the patch, some of the CONFIG_SND_*
    stuff was added already

SVN-Revision: 45205

9 years agobcm53xx: use bcm47xx_nvram.c with the latest patches
Rafał Miłecki [Wed, 1 Apr 2015 07:21:59 +0000 (07:21 +0000)]
bcm53xx: use bcm47xx_nvram.c with the latest patches

This will be hopefully a mainline version.

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

9 years agoar71xx: fix platform device support in the gpio-74x164 driver
Gabor Juhos [Tue, 31 Mar 2015 21:31:36 +0000 (21:31 +0000)]
ar71xx: fix platform device support in the gpio-74x164 driver

Platform device support has been removed from the gpio-74x164
driver in 3.14. Restore that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45203

9 years agobrcm47xx: image: share function checking TRX in provided firmware
Rafał Miłecki [Tue, 31 Mar 2015 21:16:19 +0000 (21:16 +0000)]
brcm47xx: image: share function checking TRX in provided firmware

This will allow us to calculate crc32 in a shared code.

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

9 years agomwlwifi: upgrade to today's snapshot
Imre Kaloz [Tue, 31 Mar 2015 19:28:39 +0000 (19:28 +0000)]
mwlwifi: upgrade to today's snapshot

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

9 years agomvebu: use CONFIG_MANGLE_BOOTARGS
Imre Kaloz [Tue, 31 Mar 2015 19:27:59 +0000 (19:27 +0000)]
mvebu: use CONFIG_MANGLE_BOOTARGS

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

9 years agomvebu: add missing a38x dts labels
Imre Kaloz [Tue, 31 Mar 2015 19:23:32 +0000 (19:23 +0000)]
mvebu: add missing a38x dts labels

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

9 years agogeneric/4.0: upgrade to 4.0-rc6
Imre Kaloz [Tue, 31 Mar 2015 19:22:28 +0000 (19:22 +0000)]
generic/4.0: upgrade to 4.0-rc6

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

9 years agogeneric/3.18: upgrade to 3.18.10
Imre Kaloz [Tue, 31 Mar 2015 19:21:13 +0000 (19:21 +0000)]
generic/3.18: upgrade to 3.18.10

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

9 years agogeneric: add CONFIG_MANGLE_BOOTARGS and disable it by default
Imre Kaloz [Tue, 31 Mar 2015 19:18:03 +0000 (19:18 +0000)]
generic: add CONFIG_MANGLE_BOOTARGS and disable it by default

Enabling this option renames the bootloader supplied root=
and rootfstype= variables, which might have to be know but
would break the automatisms OpenWrt uses.

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

9 years agomvebu: deal with the new path in the fan control script for Linux 4.0+
Imre Kaloz [Tue, 31 Mar 2015 19:12:27 +0000 (19:12 +0000)]
mvebu: deal with the new path in the fan control script for Linux 4.0+

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

9 years agopackage-ipkg.mk: fix typo
Felix Fietkau [Tue, 31 Mar 2015 18:31:08 +0000 (18:31 +0000)]
package-ipkg.mk: fix typo

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

9 years agopackage-ipkg.mk: add missing semicolon (#19381)
Felix Fietkau [Tue, 31 Mar 2015 18:29:30 +0000 (18:29 +0000)]
package-ipkg.mk: add missing semicolon (#19381)

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

9 years agoodhcpd: compile fixes
Steven Barth [Tue, 31 Mar 2015 17:30:56 +0000 (17:30 +0000)]
odhcpd: compile fixes

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

9 years agoodhcp6c: some more code compliance
Steven Barth [Tue, 31 Mar 2015 17:30:47 +0000 (17:30 +0000)]
odhcp6c: some more code compliance

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

9 years agobuild: make device image kernels depend on Image/Prepare step
Felix Fietkau [Tue, 31 Mar 2015 16:52:03 +0000 (16:52 +0000)]
build: make device image kernels depend on Image/Prepare step

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

9 years agouci: update to the latest version, fixes delta path / savedir issues
Felix Fietkau [Tue, 31 Mar 2015 16:44:32 +0000 (16:44 +0000)]
uci: update to the latest version, fixes delta path / savedir issues

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

9 years agokernel: update yaffs code to the latest version
Gabor Juhos [Tue, 31 Mar 2015 15:31:57 +0000 (15:31 +0000)]
kernel: update yaffs code to the latest version

Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit 7e5cf0fa1b694f835cdc184a8395b229fa29f9ae
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Aug 7 11:25:05 2014 +1200

    yaffs-direct: Basic tests. Add lpthread flag for background gc support

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45188

9 years agobuild: ensure that preinst and postrm are executable (fixes #19372)
Felix Fietkau [Tue, 31 Mar 2015 15:13:27 +0000 (15:13 +0000)]
build: ensure that preinst and postrm are executable (fixes #19372)

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

9 years agokernel: add a couple missing symbols for 4.0
Zoltan Herpai [Tue, 31 Mar 2015 13:23:46 +0000 (13:23 +0000)]
kernel: add a couple missing symbols for 4.0

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45186

9 years agonetifd: revert policy routing (broke some custom user rules)
Steven Barth [Tue, 31 Mar 2015 13:14:40 +0000 (13:14 +0000)]
netifd: revert policy routing (broke some custom user rules)

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

9 years agobrcm47xx: image: convert legacy Linksys & Netgear devices
Rafał Miłecki [Tue, 31 Mar 2015 12:44:31 +0000 (12:44 +0000)]
brcm47xx: image: convert legacy Linksys & Netgear devices

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

9 years agobrcm47xx: image: convert generic subtarget to the new images system
Rafał Miłecki [Tue, 31 Mar 2015 12:17:08 +0000 (12:17 +0000)]
brcm47xx: image: convert generic subtarget to the new images system

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

9 years agonetifd: add metric argument for ipv4 proto routes
Steven Barth [Tue, 31 Mar 2015 11:36:20 +0000 (11:36 +0000)]
netifd: add metric argument for ipv4 proto routes

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

9 years agobrcm47xx: image: convert all mips74k images to the new building system
Rafał Miłecki [Tue, 31 Mar 2015 11:26:50 +0000 (11:26 +0000)]
brcm47xx: image: convert all mips74k images to the new building system

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

9 years agobrcm47xx: image: add helpers for defining devices
Rafał Miłecki [Tue, 31 Mar 2015 11:26:45 +0000 (11:26 +0000)]
brcm47xx: image: add helpers for defining devices

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

9 years agobrcm63xx: fix zyxel kernel name
Jonas Gorski [Tue, 31 Mar 2015 09:54:15 +0000 (09:54 +0000)]
brcm63xx: fix zyxel kernel name

Accidentally left over development artifact.

Reported-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45179

9 years agobrcm47xx: image: use standard KERNEL_IMAGE to avoid warnings
Rafał Miłecki [Tue, 31 Mar 2015 08:56:08 +0000 (08:56 +0000)]
brcm47xx: image: use standard KERNEL_IMAGE to avoid warnings

KERNEL_IMAGE is used as target rule so reusing the same name causes:
Makefile:326: warning: overriding recipe for target `bin/brcm47xx/vmlinux.lzma'
Makefile:326: warning: ignoring old recipe for target `bin/brcm47xx/vmlinux.lzma'
Makefile:326: warning: overriding recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma'
Makefile:326: warning: ignoring old recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma'

Unfortunately this will cause copying vmlinux.lzma over and over like:
cp vmlinux.lzma FOO-kernel.bin
which is redundant on brcm47xx where we never modify kernel image.

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

9 years agoar71xx/mikrotik: disable atnoher two non MikroTik boards
Gabor Juhos [Tue, 31 Mar 2015 08:30:56 +0000 (08:30 +0000)]
ar71xx/mikrotik: disable atnoher two non MikroTik boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45177

9 years agoar71xx/mikrotik: disable non MikroTik boards
Gabor Juhos [Tue, 31 Mar 2015 07:56:25 +0000 (07:56 +0000)]
ar71xx/mikrotik: disable non MikroTik boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45176

9 years agoar71xx/mikrotik: use correct symbol to disable overlayfs
Gabor Juhos [Tue, 31 Mar 2015 07:56:22 +0000 (07:56 +0000)]
ar71xx/mikrotik: use correct symbol to disable overlayfs

The Kconfig symbol has been changed in 3.18.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45175

9 years agobrcm47xx: fix checking cross-vendors firmware images
Rafał Miłecki [Tue, 31 Mar 2015 07:26:30 +0000 (07:26 +0000)]
brcm47xx: fix checking cross-vendors firmware images

This change won't allow installing e.g. Netgear firmware on Linksys
device.

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

9 years agobrcm47xx: update Linksys firmwares (add new E2500 versions)
Rafał Miłecki [Tue, 31 Mar 2015 07:26:22 +0000 (07:26 +0000)]
brcm47xx: update Linksys firmwares (add new E2500 versions)

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

9 years agobrcm47xx: display all errors (not just the 1st one) when checking image
Rafał Miłecki [Tue, 31 Mar 2015 06:05:35 +0000 (06:05 +0000)]
brcm47xx: display all errors (not just the 1st one) when checking image

This way people forcing upgrade will know what may go wrong.

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

9 years agobrcm47xx: recognize more device specific firmwares
Rafał Miłecki [Tue, 31 Mar 2015 05:39:33 +0000 (05:39 +0000)]
brcm47xx: recognize more device specific firmwares

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

9 years agobrcm47xx: compare provided firmware magic with device magic
Rafał Miłecki [Mon, 30 Mar 2015 22:06:11 +0000 (22:06 +0000)]
brcm47xx: compare provided firmware magic with device magic

This makes sysupgrade reject firmware images for different devices.
Right now only support for 2 sample devices is implemented.

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

9 years agobrcm63xx: don't build non-dtb kernels anymore
Jonas Gorski [Mon, 30 Mar 2015 20:21:24 +0000 (20:21 +0000)]
brcm63xx: don't build non-dtb kernels anymore

Now that all supported boards have an dts there is no need for a
dtb free kernel anymore.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45169

9 years agobrcm63xx: move DSL-275XB to DT
Jonas Gorski [Mon, 30 Mar 2015 20:21:15 +0000 (20:21 +0000)]
brcm63xx: move DSL-275XB to DT

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45168

9 years agobrcm63xx: move bcm6318 reference boards to DT
Jonas Gorski [Mon, 30 Mar 2015 20:21:07 +0000 (20:21 +0000)]
brcm63xx: move bcm6318 reference boards to DT

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45167

9 years agobrcm63xx: move VG50 to DT
Jonas Gorski [Mon, 30 Mar 2015 20:21:01 +0000 (20:21 +0000)]
brcm63xx: move VG50 to DT

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45166

9 years agobrcm63xx: move V2110 to DT
Jonas Gorski [Mon, 30 Mar 2015 20:20:49 +0000 (20:20 +0000)]
brcm63xx: move V2110 to DT

Also readd image generation which was accidentally dropped in r43364.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45165

9 years agobrcm63xx: use relocate to move the kernel back to start of ram
Jonas Gorski [Mon, 30 Mar 2015 20:20:15 +0000 (20:20 +0000)]
brcm63xx: use relocate to move the kernel back to start of ram

Appearently the kernel only uses kernel above it, so moving it to an
higher address causes a lot of unavailable memory (#19327).

Also move the on-flash kernel to 0x80a0000, as newer CFEs don't like
uncompressing there (net-booting an ELF kernel is fine, though).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45164

9 years agogeneric: relocate: make the cacheline size configurable
Jonas Gorski [Mon, 30 Mar 2015 20:20:10 +0000 (20:20 +0000)]
generic: relocate: make the cacheline size configurable

Different targets have different cache line sizes.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45163

9 years agoramips: move relocating loader to common location
Jonas Gorski [Mon, 30 Mar 2015 20:20:08 +0000 (20:20 +0000)]
ramips: move relocating loader to common location

Allow other targets to use it, too.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45162

9 years agoar71xx/mikrotik: re-enable 4KiB flash sector erase
Gabor Juhos [Mon, 30 Mar 2015 19:57:52 +0000 (19:57 +0000)]
ar71xx/mikrotik: re-enable 4KiB flash sector erase

The setting has been lost during the transition to 3.18.
The CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE option is not
available anymore, so use CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45161

9 years agoar71xx: re-enable AR8216_PHY_LEDS
Gabor Juhos [Mon, 30 Mar 2015 18:12:54 +0000 (18:12 +0000)]
ar71xx: re-enable AR8216_PHY_LEDS

The setting has been lost during the transition to 3.18.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45160

9 years agoar71xx: sync kernel config
Gabor Juhos [Mon, 30 Mar 2015 18:12:50 +0000 (18:12 +0000)]
ar71xx: sync kernel config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 45159

9 years agonftables: bump to 2015-03-24
Steven Barth [Mon, 30 Mar 2015 17:04:14 +0000 (17:04 +0000)]
nftables: bump to 2015-03-24

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

9 years agoustream-ssl: properly handle return codes
John Crispin [Mon, 30 Mar 2015 13:17:27 +0000 (13:17 +0000)]
ustream-ssl: properly handle return codes

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

9 years agoimage.mk: fix initramfs kernel build instructions leaking across device sections
Felix Fietkau [Mon, 30 Mar 2015 13:03:58 +0000 (13:03 +0000)]
image.mk: fix initramfs kernel build instructions leaking across device sections

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

9 years agoxburst: add missing symbol
John Crispin [Mon, 30 Mar 2015 12:47:51 +0000 (12:47 +0000)]
xburst: add missing symbol

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

9 years agomodules: more xen modules have been moved
John Crispin [Mon, 30 Mar 2015 12:45:01 +0000 (12:45 +0000)]
modules: more xen modules have been moved

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

9 years agouhttpd: properly handle return codes
John Crispin [Mon, 30 Mar 2015 12:35:13 +0000 (12:35 +0000)]
uhttpd: properly handle return codes

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

9 years agorpcd: properly handle return codes
John Crispin [Mon, 30 Mar 2015 12:35:05 +0000 (12:35 +0000)]
rpcd: properly handle return codes

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

9 years agoubox: properly handle return codes
John Crispin [Mon, 30 Mar 2015 12:34:56 +0000 (12:34 +0000)]
ubox: properly handle return codes

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

9 years agoprocd: properly handle return codes
John Crispin [Mon, 30 Mar 2015 12:34:42 +0000 (12:34 +0000)]
procd: properly handle return codes

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

9 years agofstools: properly handle return codes
John Crispin [Mon, 30 Mar 2015 12:33:05 +0000 (12:33 +0000)]
fstools: properly handle return codes

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

9 years agoodhcpd: fix default dhcpv6 behavior for non-/64
Steven Barth [Mon, 30 Mar 2015 08:53:22 +0000 (08:53 +0000)]
odhcpd: fix default dhcpv6 behavior for non-/64

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

9 years agoodhcpd: fix musl build, change default DHCPv6 behavior
Steven Barth [Mon, 30 Mar 2015 08:49:47 +0000 (08:49 +0000)]
odhcpd: fix musl build, change default DHCPv6 behavior

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

9 years agoodhcp6c: musl fixes (thanks Felix)
Steven Barth [Mon, 30 Mar 2015 08:49:20 +0000 (08:49 +0000)]
odhcp6c: musl fixes (thanks Felix)

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

9 years agokernel/generic: (try) fixing MAP-E patch broken in 4.0
Steven Barth [Mon, 30 Mar 2015 08:48:51 +0000 (08:48 +0000)]
kernel/generic: (try) fixing MAP-E patch broken in 4.0

Now it at least compiles, otherwise untested.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 45145

9 years agobrcm47xx: convert Netgear WNDR3700 V3 to the new image building system
Rafał Miłecki [Sun, 29 Mar 2015 19:53:11 +0000 (19:53 +0000)]
brcm47xx: convert Netgear WNDR3700 V3 to the new image building system

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

9 years agobrcm47xx: convert Linksys E1200 V2 to the new image building system
Rafał Miłecki [Sun, 29 Mar 2015 18:15:38 +0000 (18:15 +0000)]
brcm47xx: convert Linksys E1200 V2 to the new image building system

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

9 years agomodules: xen-fbfront.ko has moved
John Crispin [Sun, 29 Mar 2015 16:11:28 +0000 (16:11 +0000)]
modules: xen-fbfront.ko has moved

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

9 years agoubox: update to latest git HEAD
John Crispin [Sun, 29 Mar 2015 15:38:21 +0000 (15:38 +0000)]
ubox: update to latest git HEAD

the return code of a pipe() was not checked properly

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

9 years agoar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC
John Crispin [Sun, 29 Mar 2015 12:58:01 +0000 (12:58 +0000)]
ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC

There were a few issues with the existing code to detect the model string:
* Always using the string starting with byte 56 would cut off the W of WNDR when
  the ID starts with 29763654+16+64 instead of 29763654+16+128
* The string contained garbage after the zero byte instead of cutting it off
  after the zero (which wasn't always visible using busybox tools, but could
  confuse other scripts)

Tested on a WNDR3700v1 and a WNDR3700v2 using the new 29763654+16+64 ID in the
ART. Furthermore, tested against ART dumps of a WNDR3700v2 using the old
$'\xff...' value and a WNDR3800.

The [ -z "$model" ] check was dropped as there is no way to actually hit this
unless no ART partition is found at all.

The awk command was carefully crafted to work both with gawk and the (horribly
broken) busybox awk.

Fixes #18992.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 45140

9 years agoubox: update to latest git HEAD
John Crispin [Sun, 29 Mar 2015 12:57:32 +0000 (12:57 +0000)]
ubox: update to latest git HEAD

fixes log levels

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

9 years agox86_64: add description, maintainership
Imre Kaloz [Sun, 29 Mar 2015 12:17:39 +0000 (12:17 +0000)]
x86_64: add description, maintainership

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