oweals/openwrt.git
9 years agoppp: Fix missing arg argument when using option flag OPT_A2STRVAL
John Crispin [Fri, 3 Apr 2015 19:06:56 +0000 (19:06 +0000)]
ppp: Fix missing arg argument when using option flag OPT_A2STRVAL

The arg argument is missing to the printer call in the print_option
utility when the option flag OPT_A2STRVAL is set.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 45264

9 years agoppp: Fix seg fault when using pppol2tp
John Crispin [Fri, 3 Apr 2015 19:06:45 +0000 (19:06 +0000)]
ppp: Fix seg fault when using pppol2tp

PPPD crashes (SEGV) when the dump or dryrun options are specified and an option
is internally defined as "o_special" with an option flag of "OPT_A2STRVAL".
As the option value is not saved when the parameter is processed, a reference
to the option will result into a crash (e.g. when printing).

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 45263

9 years agoipq806x: enable usb3 packages in default profile
John Crispin [Fri, 3 Apr 2015 19:06:38 +0000 (19:06 +0000)]
ipq806x: enable usb3 packages in default profile

Default profile already enables usb2 so we'll do the same for usb3 now
that we have support for it.

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

9 years agoipq806x: add platform usb support
John Crispin [Fri, 3 Apr 2015 19:06:30 +0000 (19:06 +0000)]
ipq806x: add platform usb support

This change adds DWC3 QCOM USB phys and TCSR drivers. These are
cherry-picked from the following LKML threads:
*dwc3 qcom: https://lkml.org/lkml/2014/9/12/599
*tcsr: https://lkml.org/lkml/2015/2/9/579

We're also adding an additional patch to add the corresponding dev nodes
in the IPQ806x and AP148 dts files.

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

9 years agokernel: add package for dwc3 usb driver used on ipq806x
John Crispin [Fri, 3 Apr 2015 19:06:21 +0000 (19:06 +0000)]
kernel: add package for dwc3 usb driver used on ipq806x

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

9 years agoipq806x: enable usb support
John Crispin [Fri, 3 Apr 2015 19:06:11 +0000 (19:06 +0000)]
ipq806x: enable usb support

This change doesn't make USB functional but it does make it selectable
from a configuration perspective.

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

9 years agosamba36: add smb.conf.template to conffiles
John Crispin [Fri, 3 Apr 2015 19:06:06 +0000 (19:06 +0000)]
samba36: add smb.conf.template to conffiles

User might have modified/extended template direct or by LuCI application.
So do not overwrite on update/upgrade.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 45258

9 years agoipq806x: another missing symbol
John Crispin [Fri, 3 Apr 2015 19:05:57 +0000 (19:05 +0000)]
ipq806x: another missing symbol

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

9 years agolinux: Add missing config options to generic configs
Felix Fietkau [Fri, 3 Apr 2015 18:48:10 +0000 (18:48 +0000)]
linux: Add missing config options to generic configs

These missing options have been noticed while enabling the following
configuration options on ipq806x, but they're available in the standard
kernel:
*ARCH_QCOM
*CONFIG_USB_SUPPORT
*CONFIG_USB_DWC3
*CONFIG_MFD_SYSCON

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

9 years agoipq806x: clean-up kernel config file
Felix Fietkau [Fri, 3 Apr 2015 18:47:51 +0000 (18:47 +0000)]
ipq806x: clean-up kernel config file

Options that used to be in target config have been added to the generic
config file, so remove them.

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

9 years agouci: update to the latest version, fixes savedir issues
Felix Fietkau [Fri, 3 Apr 2015 18:44:04 +0000 (18:44 +0000)]
uci: update to the latest version, fixes savedir issues

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

9 years agobuild: include variant name in STAMP_INSTALLED
Felix Fietkau [Fri, 3 Apr 2015 18:33:25 +0000 (18:33 +0000)]
build: include variant name in STAMP_INSTALLED

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

9 years agoath: relax regulatory rules for default regd code
Felix Fietkau [Fri, 3 Apr 2015 16:39:28 +0000 (16:39 +0000)]
ath: relax regulatory rules for default regd code

Most AP devices out there do not have a properly programmed regulatory
domain code, which means they are limited to US frequencies by default.

This has been a major annoyance for a long time now. Since no fix for
the manfuacturing process seems to be forthcoming, the only sane option
seems to be to allow users to change the country code in such cases.

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

9 years agoimage.mk: export the FILESYSTEM variable to build commands
Felix Fietkau [Fri, 3 Apr 2015 15:22:26 +0000 (15:22 +0000)]
image.mk: export the FILESYSTEM variable to build commands

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

9 years agopackages: use $(LN) macro, make symlinks relative
Nicolas Thill [Fri, 3 Apr 2015 00:07:43 +0000 (00:07 +0000)]
packages: use $(LN) macro, make symlinks relative

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

9 years agouClibc: backport sync_file_range fixes (closes: #19350)
Nicolas Thill [Thu, 2 Apr 2015 23:21:30 +0000 (23:21 +0000)]
uClibc: backport sync_file_range fixes (closes: #19350)

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

9 years agomodules: echo module was moved between 3.14 and 3.18
John Crispin [Thu, 2 Apr 2015 16:15:41 +0000 (16:15 +0000)]
modules: echo module was moved between 3.14 and 3.18

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

9 years agoubox: update to latest git HEAD
John Crispin [Thu, 2 Apr 2015 16:15:35 +0000 (16:15 +0000)]
ubox: update to latest git HEAD

improve logging when using tcp

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

9 years agotrelay: add conffiles section
Nicolas Thill [Thu, 2 Apr 2015 14:53:41 +0000 (14:53 +0000)]
trelay: add conffiles section

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

9 years agoinclude/kernel.mk: add KernelPackage/conffiles macro
Nicolas Thill [Thu, 2 Apr 2015 14:53:34 +0000 (14:53 +0000)]
include/kernel.mk: add KernelPackage/conffiles macro

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

9 years agobase-files: add more config files to conffiles section
Nicolas Thill [Thu, 2 Apr 2015 14:53:24 +0000 (14:53 +0000)]
base-files: add more config files to conffiles section

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

9 years agokernel/modules: remove merge conflicts leftovers
Nicolas Thill [Thu, 2 Apr 2015 14:53:19 +0000 (14:53 +0000)]
kernel/modules: remove merge conflicts leftovers

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

9 years agoe2fsprogs: add conffiles section
Nicolas Thill [Thu, 2 Apr 2015 14:53:12 +0000 (14:53 +0000)]
e2fsprogs: add conffiles section

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

9 years agomdns: add conffiles section
Nicolas Thill [Thu, 2 Apr 2015 14:53:07 +0000 (14:53 +0000)]
mdns: add conffiles section

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

9 years agougps: add conffiles section, fix config file perms
Nicolas Thill [Thu, 2 Apr 2015 14:53:00 +0000 (14:53 +0000)]
ugps: add conffiles section, fix config file perms

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

9 years agokernel: watchdog modules should be loaded on boot
John Crispin [Thu, 2 Apr 2015 14:32:07 +0000 (14:32 +0000)]
kernel: watchdog modules should be loaded on boot

Otherwise procd cannot initialize the watchdog since the module will
be loaded later.

Tested with booke_wdt.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 45239

9 years agoomap: add missing symbols
John Crispin [Thu, 2 Apr 2015 14:32:01 +0000 (14:32 +0000)]
omap: add missing symbols

enabled by default like other TWL4030 symbols

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

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