openwrt.git
9 years agoustream-ssl: fix SNI when building against cyassl
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45224 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolibreadline: cleanup Makefile, fix shlib perms
nico [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45223 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove kernel version dependency from ochi-pci module
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45222 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add usb-ohci-pci module
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45221 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosamba: don't overwrite config file
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45220 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45219 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45218 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocyassl: add --enable-ecc as its needed when using the CA certificates
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45217 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoustream-ssl: enable SNI when building for cyassl
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45216 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocyassl: add support for SSL_set_tlsext_host_name
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45215 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45214 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: backport --tftp-no-fail to ignore missing tftp root
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45213 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoconfig: add an option to enable KPROBE
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45212 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45211 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: add support for 4.0 kernel
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45210 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: move 020-add-ap148-bootargs.patch in patches-3.18
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45209 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Add support for ZTE Q7
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45208 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonls.mk: fix typo
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45207 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: package line echo canceller module
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45206 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing symbols to config and modules
blogic [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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45205 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: use bcm47xx_nvram.c with the latest patches
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45204 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix platform device support in the gpio-74x164 driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45203 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: share function checking TRX in provided firmware
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45202 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomwlwifi: upgrade to today's snapshot
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45201 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: use CONFIG_MANGLE_BOOTARGS
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45200 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: add missing a38x dts labels
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45199 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/4.0: upgrade to 4.0-rc6
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45198 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/3.18: upgrade to 3.18.10
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45197 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: add CONFIG_MANGLE_BOOTARGS and disable it by default
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45196 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: deal with the new path in the fan control script for Linux 4.0+
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45195 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45194 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackage-ipkg.mk: add missing semicolon (#19381)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45193 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45192 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45191 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: make device image kernels depend on Image/Prepare step
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45190 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouci: update to the latest version, fixes delta path / savedir issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45189 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update yaffs code to the latest version
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45188 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: ensure that preinst and postrm are executable (fixes #19372)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45187 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add a couple missing symbols for 4.0
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45186 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: revert policy routing (broke some custom user rules)
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45185 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: convert legacy Linksys & Netgear devices
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45184 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: convert generic subtarget to the new images system
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45183 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: add metric argument for ipv4 proto routes
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45182 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: convert all mips74k images to the new building system
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45181 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: add helpers for defining devices
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45180 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: fix zyxel kernel name
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45179 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: use standard KERNEL_IMAGE to avoid warnings
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45178 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx/mikrotik: disable atnoher two non MikroTik boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45177 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx/mikrotik: disable non MikroTik boards
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45176 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx/mikrotik: use correct symbol to disable overlayfs
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45175 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix checking cross-vendors firmware images
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45174 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: update Linksys firmwares (add new E2500 versions)
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45173 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: display all errors (not just the 1st one) when checking image
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45172 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: recognize more device specific firmwares
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45171 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: compare provided firmware magic with device magic
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45170 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: don't build non-dtb kernels anymore
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45169 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: move DSL-275XB to DT
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45168 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: move bcm6318 reference boards to DT
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45167 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45166 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: move V2110 to DT
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45165 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: use relocate to move the kernel back to start of ram
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45164 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: relocate: make the cacheline size configurable
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45163 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: move relocating loader to common location
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45162 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx/mikrotik: re-enable 4KiB flash sector erase
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45161 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: re-enable AR8216_PHY_LEDS
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45160 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45159 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonftables: bump to 2015-03-24
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45158 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoustream-ssl: properly handle return codes
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45157 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: fix initramfs kernel build instructions leaking across device sections
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45156 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45155 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: more xen modules have been moved
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45154 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45153 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45152 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45151 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45150 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45149 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: fix default dhcpv6 behavior for non-/64
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45148 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: fix musl build, change default DHCPv6 behavior
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45147 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45146 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/generic: (try) fixing MAP-E patch broken in 4.0
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45145 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: convert Netgear WNDR3700 V3 to the new image building system
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45144 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: convert Linksys E1200 V2 to the new image building system
rmilecki [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45143 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: xen-fbfront.ko has moved
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45142 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubox: update to latest git HEAD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45141 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45140 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubox: update to latest git HEAD
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45139 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: add description, maintainership
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45138 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouclibc: backport an upstream i386 syscall fix
nbd [Sun, 29 Mar 2015 10:43:07 +0000 (10:43 +0000)]
uclibc: backport an upstream i386 syscall fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45137 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove useless AddDepends/rtc abstraction
nbd [Sun, 29 Mar 2015 08:12:50 +0000 (08:12 +0000)]
kernel: remove useless AddDepends/rtc abstraction

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45136 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove useless AddDepends/input abstraction
nbd [Sun, 29 Mar 2015 08:12:39 +0000 (08:12 +0000)]
kernel: remove useless AddDepends/input abstraction

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45135 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove useless AddDepends/hid abstraction
nbd [Sun, 29 Mar 2015 08:12:31 +0000 (08:12 +0000)]
kernel: remove useless AddDepends/hid abstraction

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45134 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove useless AddDepends/crc16 abstraction
nbd [Sun, 29 Mar 2015 08:12:23 +0000 (08:12 +0000)]
kernel: remove useless AddDepends/crc16 abstraction

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45133 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoarm64: remove bogus CONFIG_WIRELESS/CONFIG_WLAN overrides
nbd [Sun, 29 Mar 2015 07:36:17 +0000 (07:36 +0000)]
arm64: remove bogus CONFIG_WIRELESS/CONFIG_WLAN overrides

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45132 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: only run kernel module list through version filter where version specific...
nbd [Sun, 29 Mar 2015 07:35:42 +0000 (07:35 +0000)]
kernel: only run kernel module list through version filter where version specific items are present - cuts package/kernel/linux/compile time in half

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45131 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoscripts/ipkg: remove file, it is obsolete
nbd [Sun, 29 Mar 2015 07:35:36 +0000 (07:35 +0000)]
scripts/ipkg: remove file, it is obsolete

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45130 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools: replace ipkg-utils with a reduced ipkg-build variant in scripts/
nbd [Sun, 29 Mar 2015 07:35:26 +0000 (07:35 +0000)]
tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45129 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: make postinst/prerm scripts executable
nbd [Sun, 29 Mar 2015 07:35:19 +0000 (07:35 +0000)]
build: make postinst/prerm scripts executable

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45128 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude: remove trailing whitespaces
luka [Sun, 29 Mar 2015 07:29:18 +0000 (07:29 +0000)]
include: remove trailing whitespaces

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45127 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopx5g-standalone: change PKG_NAME to avoid directory conflict with px5g
nbd [Sun, 29 Mar 2015 06:03:02 +0000 (06:03 +0000)]
px5g-standalone: change PKG_NAME to avoid directory conflict with px5g

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45126 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimx: add initial version of 3.18 support
luka [Sun, 29 Mar 2015 05:48:56 +0000 (05:48 +0000)]
imx: add initial version of 3.18 support

This is build tested only.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45125 3c298f89-4303-0410-b956-a3cf2f4a3e73