oweals/openwrt.git
10 years agoutil-linux: add missing dependency
John Crispin [Sun, 30 Mar 2014 13:00:50 +0000 (13:00 +0000)]
util-linux: add missing dependency

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

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

10 years agorevert: kernel: rtl8306: fix max pvid & remove port isolation
John Crispin [Sun, 30 Mar 2014 10:04:55 +0000 (10:04 +0000)]
revert: kernel: rtl8306: fix max pvid & remove port isolation

apparently this one was nt a good idea to merge

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

10 years agolntiq: add support for Astoria ARV7519RW.
John Crispin [Sun, 30 Mar 2014 10:02:30 +0000 (10:02 +0000)]
lntiq: add support for Astoria ARV7519RW.

These patches add support for the Astoria ARV7519RW aka Livebox 2.1
The PCI and PCIe interfaces have been disabled. Also, because there are
two revisions of this board with different GPHY firmwares, two targets
were defined.
V2: rewrote partitions to work with an u-boot specifically made for
these boards.

Signed off by: Esteban Benito <estebanjbs@gmail.com>
Signed off by: Carles Gadea <carlesgrg@gmail.com>
Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40329

10 years agolantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)
John Crispin [Sun, 30 Mar 2014 09:16:52 +0000 (09:16 +0000)]
lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)

ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in
flash as big-endian, but the driver needs it in little-endian format. We
have to swab it before handing it over. This requires my earlier patch
for busybox.

Funnily enough, ARV752DPW works also with the incorrect eeprom, but
undoubtedly unoptimally. I have a hunch that also the final remaining
Lantiq board would require this swabbing, but I'm not sure, so I just
swab it in the three boards that I know about.

v2:
* Swab also on ARV7510PW22 based on feedback from Alvaro Rojas
* Fix the offset with bs=2

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40328

10 years agobusybox: backport dd conv=swab from 1.22
John Crispin [Sun, 30 Mar 2014 09:16:47 +0000 (09:16 +0000)]
busybox: backport dd conv=swab from 1.22

Some boards have the WLAN EEPROM stored in flash in big-endian format,
whereas the driver requires the EEPROM in little-endian format. The
conv=swab option in dd is particularly useful in this case. This patch
backports this feature from busybox-1.22 based on the following commits:

commit    b941316ae5313be523b64f0a9151ee4decb2b35b dd: support conv=swab
commit    8395bd3f52f8ed46fa3ffc316b2d113afa748bae dd: fix example in a
comment. No code changes.
commit    5b9910f0a4a1b7976c46e6f849aaa263180e5521 dd: fail if swab is
attempted on odd-sized block
commit    0ff0b320a2dbb5e0b5fa245ffd9b2648d7026843 dd: code shrink

v2: include the commit messages from upstream

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

10 years agolantiq: add esi
John Crispin [Sun, 30 Mar 2014 09:16:43 +0000 (09:16 +0000)]
lantiq: add esi

http://patchwork.openwrt.org/patch/3703/

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

10 years agoltq-adsl-mei: improve memory allocation
John Crispin [Sun, 30 Mar 2014 09:16:39 +0000 (09:16 +0000)]
ltq-adsl-mei: improve memory allocation

The ltq-adsl-mei driver allocates memory for the ADSL firmware in a
rather stupid way, leading to several 128k allocations, which fail when
many services are enabled. This patch tries to allocate 64 kiB chunks,
and only falls back to larger allocations if the returned pointers are
not correctly aligned. Fixes out-of-memory errors on Danube boards with
32 MiB RAM.

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

10 years agolantiq: fix mtd_split for brnboot firmware images
John Crispin [Sun, 30 Mar 2014 09:16:35 +0000 (09:16 +0000)]
lantiq: fix mtd_split for brnboot firmware images

The existing code only tries to split a parition with name "rootfs"
while actually looking for kernel+rootfs, where usually "firmware" is
used as a partition name. This doesn't make sense, as even if there
was a partition 'rootfs' given by mtdparts or via device-tree, this
code would lead to another partition called 'rootfs' being created
which would not be properly distinguished in the current user-space
code.

While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make
that configurable, the lack of users of brnboot and the fact that we
can freely decide the partition name made me simply change the
hard-coded string constant from "rootfs" to "firmware".

(I'm going to add support for ARV7506PW which run brnboot and needs
this change)

SVN-Revision: 40324

10 years agolantiq: fixup ath5k support
John Crispin [Sun, 30 Mar 2014 09:16:31 +0000 (09:16 +0000)]
lantiq: fixup ath5k support

http://patchwork.openwrt.org/patch/4417/

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

10 years agoltq-vdsl: add led status reporting
John Crispin [Sun, 30 Mar 2014 09:16:27 +0000 (09:16 +0000)]
ltq-vdsl: add led status reporting

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

10 years agolantiq: fix initial VLAN conf for P2601HNFX
John Crispin [Sun, 30 Mar 2014 09:16:23 +0000 (09:16 +0000)]
lantiq: fix initial VLAN conf for P2601HNFX

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40321

10 years agolantiq: P2601HNFX dts update for STP and buttons
John Crispin [Sun, 30 Mar 2014 09:16:19 +0000 (09:16 +0000)]
lantiq: P2601HNFX dts update for STP and buttons

- Set correct AltSel for STP pins
- Set front button to rfkill

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40320

10 years agolantiq: add support for Arcadyan ARV7519PW
John Crispin [Sun, 30 Mar 2014 09:16:15 +0000 (09:16 +0000)]
lantiq: add support for Arcadyan ARV7519PW

This patch adds almost full support for this board.

- WiFi is still not working
- USB will not power up. According to some reports, it may be a passive port

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40319

10 years agolantiq: reset gphys on reboot
John Crispin [Sun, 30 Mar 2014 09:16:10 +0000 (09:16 +0000)]
lantiq: reset gphys on reboot

If gphys are not reset upstream uboot can not use them anymore.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40318

10 years agolantiq: add support for ZyXEL P2812HNUFX
John Crispin [Sun, 30 Mar 2014 09:16:06 +0000 (09:16 +0000)]
lantiq: add support for ZyXEL P2812HNUFX

This patch adds almost full support for this board. WiFi is still not working.
The FXS ports are not functional due to missing support for the TAPI driver on
VR9 SoC.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
Tested-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 40317

10 years agolantiq: add ubifs support in image Makefile
John Crispin [Sun, 30 Mar 2014 09:16:02 +0000 (09:16 +0000)]
lantiq: add ubifs support in image Makefile

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40316

10 years agolantiq: add ubifs to FEATURES
John Crispin [Sun, 30 Mar 2014 09:15:58 +0000 (09:15 +0000)]
lantiq: add ubifs to FEATURES

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40315

10 years agolantiq: xrx200: add ubi support in the kernel
John Crispin [Sun, 30 Mar 2014 09:15:54 +0000 (09:15 +0000)]
lantiq: xrx200: add ubi support in the kernel

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40314

10 years agolantiq: add inital support for xrx200 switch
John Crispin [Sun, 30 Mar 2014 09:15:50 +0000 (09:15 +0000)]
lantiq: add inital support for xrx200 switch

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40313

10 years agolantiq: xrx200: fix duplex
John Crispin [Sun, 30 Mar 2014 09:15:46 +0000 (09:15 +0000)]
lantiq: xrx200: fix duplex

Both the GPL driver from ZyXEL and the xrx200 driver have this error. The flags
are reversed. Full duplex is marked as half and the other way around. With this
fix the switch will push full GBit speeds.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40312

10 years agolantiq: fixup 3370 dts file
John Crispin [Sun, 30 Mar 2014 09:15:41 +0000 (09:15 +0000)]
lantiq: fixup 3370 dts file

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

10 years agolantiq: fix nand/ebu locking
John Crispin [Sun, 30 Mar 2014 09:15:37 +0000 (09:15 +0000)]
lantiq: fix nand/ebu locking

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

10 years agolantiq: add tffs driver
John Crispin [Sun, 30 Mar 2014 09:15:33 +0000 (09:15 +0000)]
lantiq: add tffs driver

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

10 years agoltq-vdsl: fix MIPS16 compile breakage
John Crispin [Sun, 30 Mar 2014 09:15:29 +0000 (09:15 +0000)]
ltq-vdsl: fix MIPS16 compile breakage

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

10 years agofirmware: create a new folder for holfing firmware blobs
John Crispin [Sun, 30 Mar 2014 09:15:25 +0000 (09:15 +0000)]
firmware: create a new folder for holfing firmware blobs

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

10 years agokernel: export gluebi info to sysfs
John Crispin [Sun, 30 Mar 2014 09:15:20 +0000 (09:15 +0000)]
kernel: export gluebi info to sysfs

Export the ubi_num and vol_id into the sysfs record of the gluebi-
emulated mtd device. Previously userspace didn't have a way to
map gluebi-emulated devices back to their corresponding ubi volumes.

SVN-Revision: 40306

10 years agokernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfx
John Crispin [Sun, 30 Mar 2014 09:15:16 +0000 (09:15 +0000)]
kernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfx

If the CPU port is not forced up, the link, at least on this board, is lost after
changes are applied. This makes sure that the link is restored. Regression tests
should confirm it doesn't break other boards.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40305

10 years agokernel: rtl8306: fix max pvid & remove port isolation
John Crispin [Sun, 30 Mar 2014 09:15:11 +0000 (09:15 +0000)]
kernel: rtl8306: fix max pvid & remove port isolation

- hide port pvid - vlan index relation
- switch initialises with vlans disabled so port isolation is not used
- remove special treatment of cpu port

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40304

10 years agokernel: rtl8306: cosmetic changes for swconfig
John Crispin [Sun, 30 Mar 2014 09:15:07 +0000 (09:15 +0000)]
kernel: rtl8306: cosmetic changes for swconfig

Changes to:
- show the correct "enable_vlan" value under "Global attributes"
- show tagged ports under "Vlan: ports"
- use get_port_link method to report link status

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 40303

10 years agoutil-linux: backport upstream fix for unshare utility
John Crispin [Sun, 30 Mar 2014 09:15:03 +0000 (09:15 +0000)]
util-linux: backport upstream fix for unshare utility

the unshare utility wasn't getting certain defines for mount
anymore.

SVN-Revision: 40302

10 years agomtd: improve mtd detection
John Crispin [Sun, 30 Mar 2014 09:14:58 +0000 (09:14 +0000)]
mtd: improve mtd detection

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

10 years agodropbear: move options.h editing to Build/Configure
Felix Fietkau [Sat, 29 Mar 2014 17:10:52 +0000 (17:10 +0000)]
dropbear: move options.h editing to Build/Configure

fixes incremental build with change to CONFIG_DROPBEAR_ECC
drop --with-shared which is unknown to configure

Patch by Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 40300

10 years agodropbear: add options SSHKeepAlive and IdleTimeout.
Felix Fietkau [Sat, 29 Mar 2014 17:05:35 +0000 (17:05 +0000)]
dropbear: add options SSHKeepAlive and IdleTimeout.

Without timeout mechanism, if ssh client disconnected without sending
FIN or RST, forked dropbear servers would hang there for
KEX_RETRY_TIMEOUT seconds (8 hours).

TCP keepalive is not implemented in dropbear yet, thus the name
SSHKeepAlive.

300 seconds in this patch is selected from the default value of
ServerAliveInterval for Debian ssh client (See man ssh_config).

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

10 years agodropbear: fix interface config setting
Felix Fietkau [Sat, 29 Mar 2014 16:59:33 +0000 (16:59 +0000)]
dropbear: fix interface config setting

Patch from #15070

SVN-Revision: 40298

10 years agodropbear: update to 2014.63
Felix Fietkau [Sat, 29 Mar 2014 16:59:26 +0000 (16:59 +0000)]
dropbear: update to 2014.63

Upstream changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

This adds elliptic curve cryptography (ECC) support as an option, disabled
by default.

dropbear mips 34kc uClibc binary size:
before: 161,672 bytes
after, without ECC (default): 164,968
after, with ECC: 198,008

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 40297

10 years agomac80211: skip antenna gain when compiling regdb.txt (#15397)
Jo-Philipp Wich [Fri, 28 Mar 2014 16:05:46 +0000 (16:05 +0000)]
mac80211: skip antenna gain when compiling regdb.txt (#15397)

The antenna gain attribute has been removed from the upstream regulatory database.
Incorperate patch from Luis R. Rodriguez to skip the parsing of the gain attribute
in genregdb.awk in order to emit proper rules again.

Also refresh fuzzy patches while we're at it.

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

10 years agoubox: fix logd (hopefully)
John Crispin [Thu, 27 Mar 2014 13:36:01 +0000 (13:36 +0000)]
ubox: fix logd (hopefully)

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

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

10 years agolantiq: drop old svip folders
John Crispin [Thu, 27 Mar 2014 13:34:56 +0000 (13:34 +0000)]
lantiq: drop old svip folders

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

10 years agoupdate regulatory database to 2013-11-27
Imre Kaloz [Thu, 27 Mar 2014 11:28:51 +0000 (11:28 +0000)]
update regulatory database to 2013-11-27

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

10 years agokernel: update 3.10 to 3.10.34
Gabor Juhos [Thu, 27 Mar 2014 09:28:33 +0000 (09:28 +0000)]
kernel: update 3.10 to 3.10.34

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

10 years agoar71xx: build image for TL-WDR4300v1 (IL)
Gabor Juhos [Thu, 27 Mar 2014 06:36:59 +0000 (06:36 +0000)]
ar71xx: build image for TL-WDR4300v1 (IL)

The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40038

10 years agofirmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)
Gabor Juhos [Thu, 27 Mar 2014 06:36:58 +0000 (06:36 +0000)]
firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)

The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40037

10 years agoar71xx: add profile and build firmware image for the Oolite v1 board
Gabor Juhos [Thu, 27 Mar 2014 06:36:57 +0000 (06:36 +0000)]
ar71xx: add profile and build firmware image for the Oolite v1 board

Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40036

10 years agofirmware-utils/mktplinkfw: add support for the Oolite v1 board
Gabor Juhos [Thu, 27 Mar 2014 06:36:49 +0000 (06:36 +0000)]
firmware-utils/mktplinkfw: add support for the Oolite v1 board

Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg: fix whitespaces]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40035

10 years agofirmware-utils/mktplinkfw: add an option to generate 16MiB images
Gabor Juhos [Thu, 27 Mar 2014 06:36:48 +0000 (06:36 +0000)]
firmware-utils/mktplinkfw: add an option to generate 16MiB images

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
Patchwork: http://patchwork.openwrt.org/patch/2449/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40034

10 years agoar71xx: add user space support for the Oolite v1 board
Gabor Juhos [Thu, 27 Mar 2014 06:36:47 +0000 (06:36 +0000)]
ar71xx: add user space support for the Oolite v1 board

Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg: use correct board name in uci-defaults/02_network]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40033

10 years agoar71xx: add kernel support for the Oolite v1 board
Gabor Juhos [Thu, 27 Mar 2014 06:36:46 +0000 (06:36 +0000)]
ar71xx: add kernel support for the Oolite v1 board

Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg:
 - use a separate patch for kernel changes,
 - reorder Kconfig and Makefile entries,
 - change function and variable names to be lowercase only
   and fix misaligned tabs in mach-gs-oolite.c,
   ... ]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40032

10 years agoar71xx: rename RB951Ui specific kernel patch
Gabor Juhos [Thu, 27 Mar 2014 06:35:55 +0000 (06:35 +0000)]
ar71xx: rename RB951Ui specific kernel patch

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

10 years agofeeds.conf.default: fix copy&paste mistake (#15383)
Felix Fietkau [Wed, 26 Mar 2014 19:26:32 +0000 (19:26 +0000)]
feeds.conf.default: fix copy&paste mistake (#15383)

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

10 years agofeeds: switch to using http(s) urls
Felix Fietkau [Wed, 26 Mar 2014 16:08:09 +0000 (16:08 +0000)]
feeds: switch to using http(s) urls

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

10 years agousbmode: switch to http:// instead of git://
Felix Fietkau [Wed, 26 Mar 2014 16:08:06 +0000 (16:08 +0000)]
usbmode: switch to http:// instead of git://

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

10 years agojsonpath: switch to http:// instead of git://
Felix Fietkau [Wed, 26 Mar 2014 16:08:02 +0000 (16:08 +0000)]
jsonpath: switch to http:// instead of git://

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

10 years agolibubox: switch to git.openwrt.org as source
Felix Fietkau [Wed, 26 Mar 2014 16:07:58 +0000 (16:07 +0000)]
libubox: switch to git.openwrt.org as source

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

10 years agoupdate to 3.14-rc8
Imre Kaloz [Wed, 26 Mar 2014 14:14:20 +0000 (14:14 +0000)]
update to 3.14-rc8

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

10 years agoupgrade 3.13 targets to 3.13.7
Imre Kaloz [Wed, 26 Mar 2014 11:34:39 +0000 (11:34 +0000)]
upgrade 3.13 targets to 3.13.7

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

10 years agomtd: add support for bad blocks in NAND flash
Felix Fietkau [Wed, 26 Mar 2014 10:50:09 +0000 (10:50 +0000)]
mtd: add support for bad blocks in NAND flash

NAND flash is very likely to contain bad blocks.

Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.

This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.

Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40021

10 years ago6rd / ds-lite: make the firewall-zones of nested-protocols configurable
Steven Barth [Wed, 26 Mar 2014 10:12:49 +0000 (10:12 +0000)]
6rd / ds-lite: make the firewall-zones of nested-protocols configurable

SVN-Revision: 40020

10 years agodhcp: send 6rd-ORO when expecting 6rd-information
Steven Barth [Wed, 26 Mar 2014 09:48:20 +0000 (09:48 +0000)]
dhcp: send 6rd-ORO when expecting 6rd-information

SVN-Revision: 40019

10 years agofs-tools: add back mount_root, jffs2reset and ffs2mark functionality
John Crispin [Tue, 25 Mar 2014 20:15:50 +0000 (20:15 +0000)]
fs-tools: add back mount_root, jffs2reset and ffs2mark functionality

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

10 years agoustream-ssl: update to latest version, adds certificate validation support
Felix Fietkau [Tue, 25 Mar 2014 15:06:24 +0000 (15:06 +0000)]
ustream-ssl: update to latest version, adds certificate validation support

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

10 years agoadd the TI AM335x PM firmware package
Imre Kaloz [Tue, 25 Mar 2014 14:56:35 +0000 (14:56 +0000)]
add the TI AM335x PM firmware package

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

10 years agoutil-linux: update to 2.24.1
Luka Perkov [Mon, 24 Mar 2014 00:19:44 +0000 (00:19 +0000)]
util-linux: update to 2.24.1

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

10 years agouClibc: backport mount.h update
Luka Perkov [Mon, 24 Mar 2014 00:19:33 +0000 (00:19 +0000)]
uClibc: backport mount.h update

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

10 years agolibroxml: enable xpath support
Luka Perkov [Sun, 23 Mar 2014 16:08:58 +0000 (16:08 +0000)]
libroxml: enable xpath support

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

10 years agoca-certificates: install to /etc/ssl/certs/ directly instead of installing a symlink...
Felix Fietkau [Sun, 23 Mar 2014 11:59:37 +0000 (11:59 +0000)]
ca-certificates: install to /etc/ssl/certs/ directly instead of installing a symlink (fixes #15351)

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

10 years agopartially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable...
Felix Fietkau [Sat, 22 Mar 2014 19:52:48 +0000 (19:52 +0000)]
partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk"

This complicates the evaluation order for some packages

SVN-Revision: 40006

10 years agouhttpd: update to latest version, improves cgi path handling
Felix Fietkau [Sat, 22 Mar 2014 19:38:48 +0000 (19:38 +0000)]
uhttpd: update to latest version, improves cgi path handling

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

10 years agoustream-ssl: update to the latest version, fixes cyassl build
Felix Fietkau [Fri, 21 Mar 2014 23:39:47 +0000 (23:39 +0000)]
ustream-ssl: update to the latest version, fixes cyassl build

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

10 years agouhttpd: update to latest version, fixes HEAD requests to CGI scripts
Felix Fietkau [Fri, 21 Mar 2014 20:49:56 +0000 (20:49 +0000)]
uhttpd: update to latest version, fixes HEAD requests to CGI scripts

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

10 years agoinclude: r39979 broke kernel unpacking
John Crispin [Fri, 21 Mar 2014 18:55:31 +0000 (18:55 +0000)]
include: r39979 broke kernel unpacking

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

10 years agonetifd: update to the latest version, adds support for reloading proto handlers on...
Felix Fietkau [Fri, 21 Mar 2014 15:55:27 +0000 (15:55 +0000)]
netifd: update to the latest version, adds support for reloading proto handlers on toplogy changes

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

10 years agopx5g: rename the old package to px5g-standalone, add a new one that links against...
Felix Fietkau [Fri, 21 Mar 2014 15:55:23 +0000 (15:55 +0000)]
px5g: rename the old package to px5g-standalone, add a new one that links against polarssl

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

10 years agopolarssl: add support for generating rsa keys
Felix Fietkau [Fri, 21 Mar 2014 15:55:18 +0000 (15:55 +0000)]
polarssl: add support for generating rsa keys

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

10 years agolibroxml: add package (tiny XML parser/writer library)
Felix Fietkau [Fri, 21 Mar 2014 15:55:15 +0000 (15:55 +0000)]
libroxml: add package (tiny XML parser/writer library)

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

10 years agox86_64: fix sysupgrade
Felix Fietkau [Fri, 21 Mar 2014 15:55:11 +0000 (15:55 +0000)]
x86_64: fix sysupgrade

Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This issue was introduced for target x86. Since the target for x86_64 is
similar to x86, this issue is present also in this target. It solves the
ticket #15042 and #14088.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Tested-By: Stefan Hellermann <stefan@the2masters.de>
SVN-Revision: 39997

10 years agox86: fix sysupgrade
Felix Fietkau [Fri, 21 Mar 2014 15:55:07 +0000 (15:55 +0000)]
x86: fix sysupgrade

Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This patch solves ticket #15042 and #14088.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 39996

10 years agohostapd: add pbc_in_m1 option
Felix Fietkau [Fri, 21 Mar 2014 15:55:03 +0000 (15:55 +0000)]
hostapd: add pbc_in_m1 option

Option pbc_in_m1 is being used as a WPS capability discovery
workaround for PBC with Windows 7.
Add possibility to enable this workaround from UCI.

To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1.

Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>
SVN-Revision: 39995

10 years agoead: clean up
Felix Fietkau [Fri, 21 Mar 2014 15:54:59 +0000 (15:54 +0000)]
ead: clean up

Remove unused variables
Correct some (non important) memory leaks
Remove fclose(NULL)
Correct possible out of bound access

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39994

10 years agoead: set_nonblock() is doing nothing (typo)
Felix Fietkau [Fri, 21 Mar 2014 15:54:56 +0000 (15:54 +0000)]
ead: set_nonblock() is doing nothing (typo)

spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 39993

10 years agoppp: remove ppp requirement from chat
Felix Fietkau [Fri, 21 Mar 2014 15:54:52 +0000 (15:54 +0000)]
ppp: remove ppp requirement from chat

This patch removes dependancy of PPP from chat application as chat application can be used for other serial communication as well that is not dependant on PPP and therefore one should be able to install chat without PPP. There also are no dependencies within chat application for PPP.

Signed-off-by: Oskari Rauta <oskari.rauta at gmail.com>
SVN-Revision: 39992

10 years agolibnl-tiny: ensure compatibility to libnl version 3 and higher
Felix Fietkau [Fri, 21 Mar 2014 15:54:48 +0000 (15:54 +0000)]
libnl-tiny: ensure compatibility to libnl version 3 and higher

To be prepared to support keepalived 1.2.10 and higher we need libnl3 or
higher. The attached patch
add some defines so that it can be build be libnl-tiny.
Patch by Thomas Heil

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

10 years agoAdd Bosch C_CAN/D_CAN modules kernel package
Felix Fietkau [Fri, 21 Mar 2014 15:54:44 +0000 (15:54 +0000)]
Add Bosch C_CAN/D_CAN modules kernel package

Add Bosch C_CAN/D_CAN driver as a kernel package. The D_CAN controller is used
on BeagleBoneBlack.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
SVN-Revision: 39990

10 years agokernel: add can.ko to the kmod-can package.
Felix Fietkau [Fri, 21 Mar 2014 15:54:41 +0000 (15:54 +0000)]
kernel: add can.ko to the kmod-can package.

Build all of the can support as modules, otherwise the kernel image is
changed when a can kernel package is selected, because the can protocol
is then built in into the kernel image.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
SVN-Revision: 39989

10 years agomac80211: iwlagn include firmware for 7260 cards
Felix Fietkau [Fri, 21 Mar 2014 15:54:37 +0000 (15:54 +0000)]
mac80211: iwlagn include firmware for 7260 cards

This patch enables including the firmware for Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 cards in iwlagn.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
SVN-Revision: 39988

10 years agobusybox: remove obsolete brctl linux 2.4 compat patch
Felix Fietkau [Fri, 21 Mar 2014 15:54:34 +0000 (15:54 +0000)]
busybox: remove obsolete brctl linux 2.4 compat patch

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

10 years agobusybox: remove obsolete awk include() patch
Felix Fietkau [Fri, 21 Mar 2014 15:54:30 +0000 (15:54 +0000)]
busybox: remove obsolete awk include() patch

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

10 years agoustream-ssl: update to latest version, fixes writes before ssl handshake completion
Felix Fietkau [Fri, 21 Mar 2014 15:54:26 +0000 (15:54 +0000)]
ustream-ssl: update to latest version, fixes writes before ssl handshake completion

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

10 years agoca-certificates: add system CA certificates package (based on the debian one)
Felix Fietkau [Fri, 21 Mar 2014 15:54:22 +0000 (15:54 +0000)]
ca-certificates: add system CA certificates package (based on the debian one)

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

10 years agoprocd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts...
Felix Fietkau [Fri, 21 Mar 2014 15:54:18 +0000 (15:54 +0000)]
procd: add a PROCD_DEBUG variable that will dump the ubus calls from init scripts to stderr

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

10 years agobuild: remove GREP_OPTIONS export from rules.mk, defining it in the top-level Makefil...
Felix Fietkau [Fri, 21 Mar 2014 15:54:14 +0000 (15:54 +0000)]
build: remove GREP_OPTIONS export from rules.mk, defining it in the top-level Makefile is enough

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

10 years agobuild: remove duplicate variable definitions
Felix Fietkau [Fri, 21 Mar 2014 15:54:11 +0000 (15:54 +0000)]
build: remove duplicate variable definitions

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

10 years agobuild: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS...
Felix Fietkau [Fri, 21 Mar 2014 15:54:07 +0000 (15:54 +0000)]
build: remove check to nonexistant CONFIG_ENABLE_LOCALE variable and move DISABLE_NLS to package-defaults.mk

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

10 years agobuild: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTION...
Felix Fietkau [Fri, 21 Mar 2014 15:54:03 +0000 (15:54 +0000)]
build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk

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

10 years agomac80211: Enable kmod-rt2800-soc package for rt288x target
Felix Fietkau [Fri, 21 Mar 2014 15:03:08 +0000 (15:03 +0000)]
mac80211: Enable kmod-rt2800-soc package for rt288x target

Trunk and the latest backport to Attitude Adjustment have the
kmod-rt2800-soc package hidden for the ramips_rt288x target.
This makes the dependency match the dependency given in the
TITLE field.

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

10 years agolibusb-compat: install libusb-config in host staging dir
Florian Fainelli [Thu, 20 Mar 2014 23:16:06 +0000 (23:16 +0000)]
libusb-compat: install libusb-config in host staging dir

A bunch of packages such as sispctl look for libusb-config to find it, install
libusb-config in staging_dir/*/host/bin which is in the TARGET_PATH.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39975

10 years agomodules: make kmod-pcspkr depend on X86
Florian Fainelli [Thu, 20 Mar 2014 23:15:56 +0000 (23:15 +0000)]
modules: make kmod-pcspkr depend on X86

The kernel Kconfig dependency lists X86, and we will fail building this module
on other platforms such as Malta.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39974

10 years agosunxi: init eth0 as lan instead of wan, add a couple boards
Zoltan Herpai [Thu, 20 Mar 2014 22:46:18 +0000 (22:46 +0000)]
sunxi: init eth0 as lan instead of wan, add a couple boards

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39973

10 years agosunxi: enable /proc/device-tree - used for board detection
Zoltan Herpai [Thu, 20 Mar 2014 21:59:52 +0000 (21:59 +0000)]
sunxi: enable /proc/device-tree - used for board detection

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39972

10 years agosunxi: various changes - fix mmc, sata, usb (partially) on CubieTruck - fix hstimer...
Zoltan Herpai [Thu, 20 Mar 2014 21:40:07 +0000 (21:40 +0000)]
sunxi: various changes - fix mmc, sata, usb (partially) on CubieTruck - fix hstimer DT on A20

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
SVN-Revision: 39971

10 years agonetifd: update to the latest version, fixes ubus handling of proto data items
Felix Fietkau [Thu, 20 Mar 2014 20:06:59 +0000 (20:06 +0000)]
netifd: update to the latest version, fixes ubus handling of proto data items

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