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

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

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

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

9 years agobase-files: fix target/subtarget value in /etc/openwrt_release
Jo-Philipp Wich [Wed, 11 Feb 2015 15:12:32 +0000 (15:12 +0000)]
base-files: fix target/subtarget value in /etc/openwrt_release

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

9 years agobcm53xx: use bcm47xx_wdt for restarting device
Rafał Miłecki [Wed, 11 Feb 2015 14:41:07 +0000 (14:41 +0000)]
bcm53xx: use bcm47xx_wdt for restarting device

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

9 years agooxnas: disable usbgadget support
John Crispin [Wed, 11 Feb 2015 13:50:56 +0000 (13:50 +0000)]
oxnas: disable usbgadget support

usbgadget was initially enabled in the hope to support gadget mode
as it seems to be supported by the hardware.
However, it currently breaks things and doesn't work anyway, so
remove the usbgadget feature.

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

9 years agobrcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add...
John Crispin [Wed, 11 Feb 2015 13:50:40 +0000 (13:50 +0000)]
brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

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

9 years agobrcm2708: add missing SUBTARGETS:= to makefile
John Crispin [Wed, 11 Feb 2015 13:09:39 +0000 (13:09 +0000)]
brcm2708: add missing SUBTARGETS:= to makefile

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

9 years agobrcm2708: remove CMA_DEBUG
John Crispin [Wed, 11 Feb 2015 13:05:37 +0000 (13:05 +0000)]
brcm2708: remove CMA_DEBUG

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

9 years agobrcm2708: add Raspberry Pi 2 support
John Crispin [Wed, 11 Feb 2015 13:05:31 +0000 (13:05 +0000)]
brcm2708: add Raspberry Pi 2 support

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

9 years agobrcm2708: remove 3.14 support
John Crispin [Wed, 11 Feb 2015 13:05:23 +0000 (13:05 +0000)]
brcm2708: remove 3.14 support

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

9 years agoralink: fix when tx done is 0 also need to clean interrupt status
John Crispin [Wed, 11 Feb 2015 13:05:14 +0000 (13:05 +0000)]
ralink: fix when tx done is 0 also need to clean interrupt status

Signed-off-by: michael lee <igvtee@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44401

9 years agomt76: update to latest git HEAD
John Crispin [Wed, 11 Feb 2015 13:05:07 +0000 (13:05 +0000)]
mt76: update to latest git HEAD

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

9 years agoramips/mt7620: add missing config symbol
Nicolas Thill [Wed, 11 Feb 2015 12:13:49 +0000 (12:13 +0000)]
ramips/mt7620: add missing config symbol

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

9 years agooprofile: mark broken on uml
Nicolas Thill [Wed, 11 Feb 2015 11:31:38 +0000 (11:31 +0000)]
oprofile: mark broken on uml

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

9 years agoconfig: disable kernel tracing on uml
Nicolas Thill [Wed, 11 Feb 2015 11:31:26 +0000 (11:31 +0000)]
config: disable kernel tracing on uml

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

9 years agoebtables: disable rpath
Nicolas Thill [Wed, 11 Feb 2015 11:31:07 +0000 (11:31 +0000)]
ebtables: disable rpath

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

9 years agoutil-linux: disable rpath
Nicolas Thill [Wed, 11 Feb 2015 11:31:01 +0000 (11:31 +0000)]
util-linux: disable rpath

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

9 years agotoolchain/gcc: fix an ICE on ARM (PR58595)
Nicolas Thill [Wed, 11 Feb 2015 11:30:56 +0000 (11:30 +0000)]
toolchain/gcc: fix an ICE on ARM (PR58595)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595

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

9 years agocns3xxx: set v3.18 as default
John Crispin [Wed, 11 Feb 2015 10:21:02 +0000 (10:21 +0000)]
cns3xxx: set v3.18 as default

tested on a nor and a spi laguna

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

9 years agobrcm2708: update to v3.18
John Crispin [Wed, 11 Feb 2015 10:17:55 +0000 (10:17 +0000)]
brcm2708: update to v3.18

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

9 years agolantiq: fix VG3503J partition table for newer kernels
John Crispin [Wed, 11 Feb 2015 10:17:38 +0000 (10:17 +0000)]
lantiq: fix VG3503J partition table for newer kernels

the kernel has increased and does not fit into the 1,5MB anymore.

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

9 years agobcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
Rafał Miłecki [Wed, 11 Feb 2015 10:11:00 +0000 (10:11 +0000)]
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future

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

9 years agorelayd: update to the latest version, adds fixes by Alejandro Enrique
Felix Fietkau [Wed, 11 Feb 2015 10:09:57 +0000 (10:09 +0000)]
relayd: update to the latest version, adds fixes by Alejandro Enrique

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

9 years agomalta: add config file for kernel 3.19.
John Crispin [Wed, 11 Feb 2015 10:09:56 +0000 (10:09 +0000)]
malta: add config file for kernel 3.19.

This is based on config-3.18 with the following changes.

 - CONFIG_GENERIC_NET_UTILS is removed as it is already set in generic
   kernel config.
 - CONFIG_CPU_MICROMIPS is explicitly unset as required in kernel 3.19.

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

9 years agogeneric: add a few missing symbols for generic config-3.19.
John Crispin [Wed, 11 Feb 2015 10:09:40 +0000 (10:09 +0000)]
generic: add a few missing symbols for generic config-3.19.

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

9 years agoipq806x: update target to v3.18
John Crispin [Wed, 11 Feb 2015 10:09:23 +0000 (10:09 +0000)]
ipq806x: update target to v3.18

Patches in the ipq806x/patches folder were out of tree in v3.14. The
newest patch at the time was from June, so we can safely assume that
either the patches have been merged, or they have been rejected for
a good reason. If patches are seen missing, we'll cherry-pick them
on a per-needed basis.

This new kernel have been tested on AP148, which seems to works fine.

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

9 years agokernel: backport bcma patches queued for 3.20
Rafał Miłecki [Wed, 11 Feb 2015 10:04:51 +0000 (10:04 +0000)]
kernel: backport bcma patches queued for 3.20

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

9 years agokernel: 3.18: complete backport of some bcma patch
Rafał Miłecki [Wed, 11 Feb 2015 09:14:48 +0000 (09:14 +0000)]
kernel: 3.18: complete backport of some bcma patch

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

9 years agobcm53xx: drop unused (and broken) GPIOLIB patch
Rafał Miłecki [Wed, 11 Feb 2015 08:42:34 +0000 (08:42 +0000)]
bcm53xx: drop unused (and broken) GPIOLIB patch

First of all this patch was broken since adding 3.18 for bcm53xx. It was
modifying ARCH_BRCMSTB instead of ARCH_BCM_5301X.
Secondly we don't need it as ARCH_MULTIPLATFORM selects
ARCH_WANT_OPTIONAL_GPIOLIB for us.

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

9 years agokernel: switch 3.19 from -rc5 to release .0
Luka Perkov [Tue, 10 Feb 2015 22:36:59 +0000 (22:36 +0000)]
kernel: switch 3.19 from -rc5 to release .0

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44381

9 years agolibevent2: remove defunct download mirror
Jo-Philipp Wich [Tue, 10 Feb 2015 18:55:44 +0000 (18:55 +0000)]
libevent2: remove defunct download mirror

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

9 years agorules.mk: don't add staging_dir/host/bin/ path again
Jo-Philipp Wich [Tue, 10 Feb 2015 15:49:36 +0000 (15:49 +0000)]
rules.mk: don't add staging_dir/host/bin/ path again

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

9 years agoinclude: export staging_dir/host/bin path from within host.mk (#18957)
Jo-Philipp Wich [Tue, 10 Feb 2015 15:49:17 +0000 (15:49 +0000)]
include: export staging_dir/host/bin path from within host.mk (#18957)

We need to do that to pickup the prereq-build prepared symlinks for auxillary
operations like metadata scanning.

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

9 years agoscripts: extend rstrip.sh to remove bad rpaths
Jo-Philipp Wich [Tue, 10 Feb 2015 15:48:48 +0000 (15:48 +0000)]
scripts: extend rstrip.sh to remove bad rpaths

Remove all rpath entries which do not point to a location below /lib or
/usr/lib and which do not begin with '$ORIGIN'.

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

9 years agotools: add patchelf host build
Jo-Philipp Wich [Tue, 10 Feb 2015 15:48:32 +0000 (15:48 +0000)]
tools: add patchelf host build

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

9 years agoar71xx: add mc-mac1200r to do_load_ath10k_board_bin()
John Crispin [Tue, 10 Feb 2015 05:52:53 +0000 (05:52 +0000)]
ar71xx: add mc-mac1200r to do_load_ath10k_board_bin()

This patch adds the mc-mac1200r target to do_load_ath10k_board_bin() in
target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin to load the
ath10k radio MAC address from the EEPROM in MERCURY MAC1200R devices

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44375

9 years agooxnas: switch to 3.18
John Crispin [Tue, 10 Feb 2015 05:52:48 +0000 (05:52 +0000)]
oxnas: switch to 3.18

Tested on stg212 and kd20.

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

9 years agokernel: add missing symbol
John Crispin [Tue, 10 Feb 2015 05:52:41 +0000 (05:52 +0000)]
kernel: add missing symbol

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

9 years agoralink: fix hw status almost full not work on mt7620 and mt7621
John Crispin [Mon, 9 Feb 2015 19:34:49 +0000 (19:34 +0000)]
ralink: fix hw status almost full not work on mt7620 and mt7621

the old FE_INT_STATUS register becomes two registers.
FE_INT_STATUS and INT_STATUS. so the hw status almost full
must change to read from FE_INT_STATUS register.
tx/rx done read from INT_STATUS register.

mt7620 datasheet define CNT_GDM1_AF at BIT(29).
but after test it should be BIT(13). why?

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44371

9 years agoralink: change rt3883 cpu type to 74kc
John Crispin [Mon, 9 Feb 2015 19:34:32 +0000 (19:34 +0000)]
ralink: change rt3883 cpu type to 74kc

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44370

9 years agorealview: r44368 contained a superflous patch
John Crispin [Mon, 9 Feb 2015 19:28:34 +0000 (19:28 +0000)]
realview: r44368 contained a superflous patch

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

9 years agorealview: bump to 3.18
John Crispin [Mon, 9 Feb 2015 19:24:48 +0000 (19:24 +0000)]
realview: bump to 3.18

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

9 years agobcm53xx: fix loading SPROM content by bcma init change
Rafał Miłecki [Mon, 9 Feb 2015 18:43:05 +0000 (18:43 +0000)]
bcm53xx: fix loading SPROM content by bcma init change

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

9 years agokernel: add missing symbol to realtek wifi
John Crispin [Mon, 9 Feb 2015 18:15:30 +0000 (18:15 +0000)]
kernel: add missing symbol to realtek wifi

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

9 years agoopenssl: fix upstream regression for non-ec builds
Steven Barth [Mon, 9 Feb 2015 15:26:35 +0000 (15:26 +0000)]
openssl: fix upstream regression for non-ec builds

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

9 years agoixp4xx: add v3.18 support
John Crispin [Mon, 9 Feb 2015 14:24:00 +0000 (14:24 +0000)]
ixp4xx: add v3.18 support

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

9 years agorpcd: fix session.{login,list,destroy} method signatures
Jo-Philipp Wich [Mon, 9 Feb 2015 12:54:29 +0000 (12:54 +0000)]
rpcd: fix session.{login,list,destroy} method signatures

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

9 years agopolarssl: bump to 1.3.10, work around rename to mbedtls
Steven Barth [Mon, 9 Feb 2015 12:44:32 +0000 (12:44 +0000)]
polarssl: bump to 1.3.10, work around rename to mbedtls

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

9 years agoar71xx: dir-505: fix reset button gpio active_low value
John Crispin [Mon, 9 Feb 2015 12:17:00 +0000 (12:17 +0000)]
ar71xx: dir-505: fix reset button gpio active_low value

Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <rocco@devzen.net>
SVN-Revision: 44360

9 years agoar71xx: Add support for MERCURY MAC1200R
John Crispin [Mon, 9 Feb 2015 12:16:51 +0000 (12:16 +0000)]
ar71xx: Add support for MERCURY MAC1200R

This patch adds support for MERCURY MAC1200R, a dual band 802.11bgn + 802.11ac
router based on the AR9344, with QCA988x ath10k radio and 5 Fast Ethernet ports

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44359

9 years agoar71xx: fix nbg6716 power and usb led
John Crispin [Mon, 9 Feb 2015 12:16:43 +0000 (12:16 +0000)]
ar71xx: fix nbg6716 power and usb led

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com>
SVN-Revision: 44358

9 years agooxnas: copy ubinized images to binary folder
John Crispin [Mon, 9 Feb 2015 12:16:04 +0000 (12:16 +0000)]
oxnas: copy ubinized images to binary folder

Since r43778 ubinized images are stored inside KDIR. This makes sense
when using an uninized image to generate a factory image.
On oxnas ubinized images were used for sysupgrade before proper NAND
support was implemented in OpenWrt.
For users still on old builds before sysupgrade.tar was introduced,
ubinized image is thus the only option to conveniantly upgrade to a
more recent build.
Copy ubinized image also to BIN_DIR, so it will be easier for users
to find them.

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

9 years agoramips: Kingston MLW221 and MLWG2 cleanup
John Crispin [Mon, 9 Feb 2015 12:15:45 +0000 (12:15 +0000)]
ramips: Kingston MLW221 and MLWG2 cleanup

MLW221 dts use tabs NOT spaces.
MLWG2 dts typo and 1 tab not spaces
01_leds and diag.sh cleanup

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

9 years agoramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini
John Crispin [Mon, 9 Feb 2015 12:15:17 +0000 (12:15 +0000)]
ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini

This patch sets the correct location of the mt76 radio in the pcie bridge
(pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44355

9 years agoramips: Add mt76 node for Lenovo Y1 and Y1S.
John Crispin [Mon, 9 Feb 2015 12:15:00 +0000 (12:15 +0000)]
ramips: Add mt76 node for Lenovo Y1 and Y1S.

Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch.
Tested on Lenovo Y1.

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

9 years agolantiq: td-w8970: fix failsafe mode
John Crispin [Mon, 9 Feb 2015 12:14:48 +0000 (12:14 +0000)]
lantiq: td-w8970: fix failsafe mode

Fix failsafe mode for TD-W8970, register interface for preinit.

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

9 years agolantiq: td-w8970: fix reset button
John Crispin [Mon, 9 Feb 2015 12:14:32 +0000 (12:14 +0000)]
lantiq: td-w8970: fix reset button

For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

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

9 years agolantiq: fix typo in script
John Crispin [Mon, 9 Feb 2015 12:14:22 +0000 (12:14 +0000)]
lantiq: fix typo in script

Fix typo in firmware installer script.

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

9 years agoocteon: switch to 3.18
John Crispin [Mon, 9 Feb 2015 12:14:09 +0000 (12:14 +0000)]
octeon: switch to 3.18

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

9 years agoralink: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:13:55 +0000 (12:13 +0000)]
ralink: add 3.18 support

keep default as 3.14, mt7621 gic need to be ported to 3.18

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

9 years agolantiq: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:13:25 +0000 (12:13 +0000)]
lantiq: add 3.18 support

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

9 years agolantiq: fix dsl drivers for 3.18
John Crispin [Mon, 9 Feb 2015 12:12:52 +0000 (12:12 +0000)]
lantiq: fix dsl drivers for 3.18

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

9 years agoau1000: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:12:39 +0000 (12:12 +0000)]
au1000: add 3.18 support

this is only compile tested

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

9 years agoar7: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:12:30 +0000 (12:12 +0000)]
ar7: add 3.18 support

this is only compile tested

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

9 years agoar7-atm: make it compile under 3.18
John Crispin [Mon, 9 Feb 2015 12:12:09 +0000 (12:12 +0000)]
ar7-atm: make it compile under 3.18

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

9 years agomalta: drop 3.10 support
John Crispin [Mon, 9 Feb 2015 12:11:34 +0000 (12:11 +0000)]
malta: drop 3.10 support

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

9 years agomalta: disable 64 builds as the userland has been broken for ages
John Crispin [Mon, 9 Feb 2015 12:11:28 +0000 (12:11 +0000)]
malta: disable 64 builds as the userland has been broken for ages

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

9 years agomalta: add 3.18 support
John Crispin [Mon, 9 Feb 2015 12:11:19 +0000 (12:11 +0000)]
malta: add 3.18 support

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

9 years agokernel: copy mips_decompressor_memmove patch to 3.18/3.19
John Crispin [Mon, 9 Feb 2015 12:10:46 +0000 (12:10 +0000)]
kernel: copy mips_decompressor_memmove patch to 3.18/3.19

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

9 years agokernel: add missing symbols
John Crispin [Mon, 9 Feb 2015 12:10:18 +0000 (12:10 +0000)]
kernel: add missing symbols

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

9 years agobase-files: taint the build if the override mechanism is used
John Crispin [Mon, 9 Feb 2015 12:10:07 +0000 (12:10 +0000)]
base-files: taint the build if the override mechanism is used

If some packages are overridden (using ./scripts/feeds -f), add a new
taint flag in /etc/openwrt_release. We'll use the CONFIG_OVERRIDE_PKGS
variable reported through the .config to detect it.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44337

9 years agobuild: propagate override information to .config file
John Crispin [Mon, 9 Feb 2015 12:09:43 +0000 (12:09 +0000)]
build: propagate override information to .config file

With this change, override information is now parsed from the metadata
and put in the %packages hash. A new hash - %overrides - is created and
exported, to be used during the .config-package.in generation.

If an override is detected, a new option CONFIG_OVERRIDE_PKGS will be
created in the .config, and will contain a space-separated list of all
the overridden packages.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44336

9 years agobuild: propagate override information to .packageinfo
John Crispin [Mon, 9 Feb 2015 12:09:31 +0000 (12:09 +0000)]
build: propagate override information to .packageinfo

Packages overridden with "./scripts/feeds -f" will show up with an
"Override: <original-package-name>" in .packageinfo.

This will be useful to create a corresponding option in .config and
use this information during the build process.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44335

9 years agobuild: allow openwrt.git packages to be replaced by feeds
John Crispin [Mon, 9 Feb 2015 12:09:23 +0000 (12:09 +0000)]
build: allow openwrt.git packages to be replaced by feeds

Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).

With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"

This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44334

9 years agokernel: fix compile error inside adm6996.c
John Crispin [Mon, 9 Feb 2015 12:09:17 +0000 (12:09 +0000)]
kernel: fix compile error inside adm6996.c

drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]

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

9 years agoopenssl: bump to 1.0.2
Steven Barth [Mon, 9 Feb 2015 12:04:00 +0000 (12:04 +0000)]
openssl: bump to 1.0.2

Fixes CVE-2014-3513, CVE-2014-3567, CVE-2014-3568, CVE-2014-3566

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

9 years agonetifd: fix device config handling and add some config options
Steven Barth [Mon, 9 Feb 2015 08:30:06 +0000 (08:30 +0000)]
netifd: fix device config handling and add some config options

Thanks to Hans Dedecker

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

9 years agosdk: use prepare target to initialize git snapshot
Jo-Philipp Wich [Sun, 8 Feb 2015 22:54:27 +0000 (22:54 +0000)]
sdk: use prepare target to initialize git snapshot

The new approach is less prone to race conditions and will properly
snapshot the symlinks prepared by the prereq-build target.

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

9 years agoinclude: remove SDK specific target from toplevel.mk
Jo-Philipp Wich [Sun, 8 Feb 2015 22:54:19 +0000 (22:54 +0000)]
include: remove SDK specific target from toplevel.mk

Instead introduce a generic "make prepare" target which is executed if
include/prepare.mk exists.

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

9 years agoinclude: cmake: prevent inclusion of rpath in binaries
Jo-Philipp Wich [Sun, 8 Feb 2015 22:54:15 +0000 (22:54 +0000)]
include: cmake: prevent inclusion of rpath in binaries

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

9 years ago6in4: fix update timeout
Jo-Philipp Wich [Sun, 8 Feb 2015 22:20:38 +0000 (22:20 +0000)]
6in4: fix update timeout

The recent rework of the 6in4 endpoint update broke the retry mechanism.
Rework the timeout handling and make the update status more verbose.

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

9 years agoramips: fix patches after 3.14.32 bump
Luka Perkov [Sun, 8 Feb 2015 15:42:42 +0000 (15:42 +0000)]
ramips: fix patches after 3.14.32 bump

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44324

9 years agolinux/generic: add missing config symbols
Nicolas Thill [Sun, 8 Feb 2015 15:34:20 +0000 (15:34 +0000)]
linux/generic: add missing config symbols

Related to debug/tracing, only added to 3.14+, might be needed for older versions as well

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

9 years agolinux/sunxi: rename A20-OLinuXino-Lime profile
Nicolas Thill [Sun, 8 Feb 2015 15:34:13 +0000 (15:34 +0000)]
linux/sunxi: rename A20-OLinuXino-Lime profile

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

9 years agox86: refresh kernel config
Luka Perkov [Sun, 8 Feb 2015 15:31:25 +0000 (15:31 +0000)]
x86: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44321

9 years agolantiq: fix patches after 3.14.32 bump
Luka Perkov [Sun, 8 Feb 2015 15:09:45 +0000 (15:09 +0000)]
lantiq: fix patches after 3.14.32 bump

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44320

9 years agokirkwood: refresh kernel config
Luka Perkov [Sun, 8 Feb 2015 12:01:39 +0000 (12:01 +0000)]
kirkwood: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44319

9 years agokernel: update 3.18 to 3.18.6
Luka Perkov [Sun, 8 Feb 2015 12:01:37 +0000 (12:01 +0000)]
kernel: update 3.18 to 3.18.6

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44318

9 years agox86: declare missing kernel symbols
Jo-Philipp Wich [Sat, 7 Feb 2015 21:26:20 +0000 (21:26 +0000)]
x86: declare missing kernel symbols

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

9 years agoar71xx: ubnt: move new board patches into one
Luka Perkov [Sat, 7 Feb 2015 21:11:06 +0000 (21:11 +0000)]
ar71xx: ubnt: move new board patches into one

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44315

9 years agoar71xx: rb2011: apply patch to file
Luka Perkov [Sat, 7 Feb 2015 21:10:51 +0000 (21:10 +0000)]
ar71xx: rb2011: apply patch to file

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44314

9 years agoimagebuilder: align filename with SDK
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:48 +0000 (21:01 +0000)]
imagebuilder: align filename with SDK

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

9 years agosdk: rename file to mention target/subtarget and move host system to suffix
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:43 +0000 (21:01 +0000)]
sdk: rename file to mention target/subtarget and move host system to suffix

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

9 years agotoolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:37 +0000 (21:01 +0000)]
toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix

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

9 years agoopenvpn: autostart openvpn instances for each .conf file in /etc/openvpn
Jo-Philipp Wich [Sat, 7 Feb 2015 21:01:28 +0000 (21:01 +0000)]
openvpn: autostart openvpn instances for each .conf file in /etc/openvpn

Align init behaviour with other distros by starting an OpenVPN instance
for each config file found in /etc/openvpn/. This removes the additional
requirement to "register" the configs with uci and thus simplifies the
setup.

Make sure to respect the disabled state in uci to not suddenly autostart
instances which have been previously set to disabled, also skip configs
which are already started due to uci configuration.

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

9 years agoar71xx: merge board specific patches into one
Luka Perkov [Sat, 7 Feb 2015 20:53:16 +0000 (20:53 +0000)]
ar71xx: merge board specific patches into one

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44309

9 years agopackage: uboot-envtools: add nbg6716 to appropriate group
Luka Perkov [Sat, 7 Feb 2015 19:59:08 +0000 (19:59 +0000)]
package: uboot-envtools: add nbg6716 to appropriate group

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44308

9 years agoar71xx: uci-defaults: add el-mini to appropriate group
Luka Perkov [Sat, 7 Feb 2015 19:59:05 +0000 (19:59 +0000)]
ar71xx: uci-defaults: add el-mini to appropriate group

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44307

9 years agoar71xx: qihoo: define flash variable as static
Luka Perkov [Sat, 7 Feb 2015 19:59:02 +0000 (19:59 +0000)]
ar71xx: qihoo: define flash variable as static

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44306

9 years agotargets: base-files: diag.sh does not need to be executable
Luka Perkov [Sat, 7 Feb 2015 19:58:58 +0000 (19:58 +0000)]
targets: base-files: diag.sh does not need to be executable

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44305