openwrt/staging/nbd.git
12 years agonetifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option...
Jo-Philipp Wich [Sun, 1 Jul 2012 12:43:14 +0000 (12:43 +0000)]
netifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes patchwork.openwrt.org/patch/1810/

SVN-Revision: 32573

12 years agoinclude/image.mk: /tmp should have mode 1777
Jo-Philipp Wich [Sun, 1 Jul 2012 11:48:54 +0000 (11:48 +0000)]
include/image.mk: /tmp should have mode 1777

On the off chance that the root filesystem's /tmp is used directly as a
temporary directory instead of having a tmpfs mounted over it, it should have
the sticky bit set.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 32572

12 years agodnsmasq: introduce "add_local_hostname" and "add_local_domain" options - add_local_do...
Jo-Philipp Wich [Sun, 1 Jul 2012 11:32:46 +0000 (11:32 +0000)]
dnsmasq: introduce "add_local_hostname" and "add_local_domain" options - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname These change supersedes patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/

SVN-Revision: 32570

12 years agopackage/dnsmasq: permit UCI configuration of --dhcp-fqdn option
Jo-Philipp Wich [Sun, 1 Jul 2012 11:32:45 +0000 (11:32 +0000)]
package/dnsmasq: permit UCI configuration of --dhcp-fqdn option

This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 32569

12 years agopackage/dnsmasq: permit dhcp_option in global dnsmasq config section
Jo-Philipp Wich [Sun, 1 Jul 2012 11:32:29 +0000 (11:32 +0000)]
package/dnsmasq: permit dhcp_option in global dnsmasq config section

dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 32568

12 years agoFix extroot by UUID
Jo-Philipp Wich [Sun, 1 Jul 2012 11:06:32 +0000 (11:06 +0000)]
Fix extroot by UUID

Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>
SVN-Revision: 32567

12 years agokernel/modules: load pppol2tp after pppox
Jo-Philipp Wich [Sun, 1 Jul 2012 10:34:45 +0000 (10:34 +0000)]
kernel/modules: load pppol2tp after pppox

l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this:
l2tp_ppp: Unknown symbol pppox_ioctl (err 0)
...
during boot.
I also fixed the dependency, it should be pppox rather than pppoe.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32562

12 years agoconfig: tag parallel build options with high build breakage probability with a BROKEN...
Felix Fietkau [Sat, 30 Jun 2012 21:44:12 +0000 (21:44 +0000)]
config: tag parallel build options with high build breakage probability with a BROKEN dependency to discourage users from spamming us with tickets about them

SVN-Revision: 32559

12 years agouClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
Felix Fietkau [Sat, 30 Jun 2012 21:44:09 +0000 (21:44 +0000)]
uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam

SVN-Revision: 32558

12 years agouClibc: split the package into the main directory and the headers/ and utils/ subdire...
Felix Fietkau [Sat, 30 Jun 2012 21:44:05 +0000 (21:44 +0000)]
uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support

SVN-Revision: 32557

12 years agotoolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid...
Felix Fietkau [Sat, 30 Jun 2012 21:43:59 +0000 (21:43 +0000)]
toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying

SVN-Revision: 32556

12 years agotoolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes...
Felix Fietkau [Sat, 30 Jun 2012 18:12:23 +0000 (18:12 +0000)]
toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup

SVN-Revision: 32555

12 years agotoolchain/gcc: fix installing the toolchain after removing the toolchain dir without...
Felix Fietkau [Sat, 30 Jun 2012 18:12:19 +0000 (18:12 +0000)]
toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild

SVN-Revision: 32554

12 years agotoolchain: keep the initial gcc around for later uclibc rebuilds
Felix Fietkau [Sat, 30 Jun 2012 18:12:15 +0000 (18:12 +0000)]
toolchain: keep the initial gcc around for later uclibc rebuilds

testing uclibc changes is tricky because the final gcc tends to miscompile
uclibc code or barf up internal compiler errors.
install binutils into $(TOOLCHAIN_DIR)/initial (without changing the configure
prefix) and copy it from there to $(TOOLCHAIN_DIR)/ so that the initial gcc
can be put into $(PATH) for the uclibc build, even if the final gcc
is already installed.

SVN-Revision: 32553

12 years agobase-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib...
Jo-Philipp Wich [Fri, 29 Jun 2012 19:04:11 +0000 (19:04 +0000)]
base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh

SVN-Revision: 32531

12 years agoath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380...
Felix Fietkau [Fri, 29 Jun 2012 17:59:39 +0000 (17:59 +0000)]
ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)

SVN-Revision: 32528

12 years agoeglibc: work around a broken configure test to fix compile errors on x86
Felix Fietkau [Fri, 29 Jun 2012 16:19:48 +0000 (16:19 +0000)]
eglibc: work around a broken configure test to fix compile errors on x86

SVN-Revision: 32527

12 years agobase-files: only consider enabled default routes when finding the wan iface (#11774)
Jo-Philipp Wich [Fri, 29 Jun 2012 11:58:35 +0000 (11:58 +0000)]
base-files: only consider enabled default routes when finding the wan iface (#11774)

SVN-Revision: 32525

12 years agonetifd: update to current git head, exposes enabled state, mtu and metric overrides...
Jo-Philipp Wich [Fri, 29 Jun 2012 11:42:15 +0000 (11:42 +0000)]
netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes

SVN-Revision: 32524

12 years agofix watchdog and rng drivers section mismatch (#11767)
Florian Fainelli [Fri, 29 Jun 2012 09:07:54 +0000 (09:07 +0000)]
fix watchdog and rng drivers section mismatch (#11767)

SVN-Revision: 32522

12 years agotools: sdcc depends on bison
Felix Fietkau [Fri, 29 Jun 2012 00:32:43 +0000 (00:32 +0000)]
tools: sdcc depends on bison

SVN-Revision: 32521

12 years agoar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
Felix Fietkau [Thu, 28 Jun 2012 16:05:08 +0000 (16:05 +0000)]
ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)

SVN-Revision: 32520

12 years agotoolchain: enable gdb by default
Felix Fietkau [Thu, 28 Jun 2012 14:32:11 +0000 (14:32 +0000)]
toolchain: enable gdb by default

SVN-Revision: 32518

12 years agoath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
Felix Fietkau [Thu, 28 Jun 2012 00:34:19 +0000 (00:34 +0000)]
ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB

SVN-Revision: 32517

12 years agoath9k: update the ar934x initvals
Felix Fietkau [Wed, 27 Jun 2012 22:32:56 +0000 (22:32 +0000)]
ath9k: update the ar934x initvals

SVN-Revision: 32516

12 years agoath9k: remove the queue length limiting patch, the approach was experimental, not...
Felix Fietkau [Wed, 27 Jun 2012 22:32:51 +0000 (22:32 +0000)]
ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required

SVN-Revision: 32515

12 years agokernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
Felix Fietkau [Wed, 27 Jun 2012 22:32:47 +0000 (22:32 +0000)]
kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)

Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.

(both need timestamps on to work well, besides)

TCP cubic is better maintained and understood than westwood,
also.

While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.

If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.

SVN-Revision: 32514

12 years agobase-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
Felix Fietkau [Wed, 27 Jun 2012 22:32:44 +0000 (22:32 +0000)]
base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)

A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.

Lastly sack/dsack help on recovery from larger amounts of packet
loss.

SVN-Revision: 32513

12 years agofix SPI clock frequency selection
Florian Fainelli [Wed, 27 Jun 2012 22:14:50 +0000 (22:14 +0000)]
fix SPI clock frequency selection

SVN-Revision: 32512

12 years agoath9k: improve ani behavior during scanning
Felix Fietkau [Wed, 27 Jun 2012 12:45:00 +0000 (12:45 +0000)]
ath9k: improve ani behavior during scanning

SVN-Revision: 32511

12 years agoath9k: more ani fixes
Felix Fietkau [Wed, 27 Jun 2012 02:15:25 +0000 (02:15 +0000)]
ath9k: more ani fixes

SVN-Revision: 32510

12 years agoath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix...
Felix Fietkau [Wed, 27 Jun 2012 01:29:56 +0000 (01:29 +0000)]
ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases

SVN-Revision: 32509

12 years agoath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinati...
Felix Fietkau [Wed, 27 Jun 2012 01:23:17 +0000 (01:23 +0000)]
ath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices

SVN-Revision: 32508

12 years agoath9k: reject invalid antenna mask configurations
Felix Fietkau [Wed, 27 Jun 2012 01:10:18 +0000 (01:10 +0000)]
ath9k: reject invalid antenna mask configurations

SVN-Revision: 32507

12 years agonetifd: update to latest version, fixes bridge member interface settings
Felix Fietkau [Tue, 26 Jun 2012 23:34:07 +0000 (23:34 +0000)]
netifd: update to latest version, fixes bridge member interface settings

SVN-Revision: 32506

12 years agobroadcom-wl: fix WDS hotplug for multiple networks
Jo-Philipp Wich [Tue, 26 Jun 2012 15:43:09 +0000 (15:43 +0000)]
broadcom-wl: fix WDS hotplug for multiple networks

SVN-Revision: 32505

12 years agolinux-atm: remove defunct ipoa protocol support
Jo-Philipp Wich [Tue, 26 Jun 2012 15:40:03 +0000 (15:40 +0000)]
linux-atm: remove defunct ipoa protocol support

SVN-Revision: 32504

12 years agobase-files: allow wireless ifaces to be part of multiple networks
Jo-Philipp Wich [Tue, 26 Jun 2012 15:25:33 +0000 (15:25 +0000)]
base-files: allow wireless ifaces to be part of multiple networks

SVN-Revision: 32503

12 years agosdcc: enable packihx, required by firmwarehotplug
Jo-Philipp Wich [Tue, 26 Jun 2012 08:30:38 +0000 (08:30 +0000)]
sdcc: enable packihx, required by firmwarehotplug

SVN-Revision: 32500

12 years agoscripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially...
Felix Fietkau [Mon, 25 Jun 2012 00:27:03 +0000 (00:27 +0000)]
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems

SVN-Revision: 32499

12 years agokernel: add missing config symbol
Felix Fietkau [Sun, 24 Jun 2012 20:21:27 +0000 (20:21 +0000)]
kernel: add missing config symbol

SVN-Revision: 32498

12 years agoath9k: fix a dynamic WEP related regression
Felix Fietkau [Sat, 23 Jun 2012 17:30:45 +0000 (17:30 +0000)]
ath9k: fix a dynamic WEP related regression

SVN-Revision: 32492

12 years agoath9k: merge a patch for improving ad-hoc mode performance
Felix Fietkau [Sat, 23 Jun 2012 17:30:40 +0000 (17:30 +0000)]
ath9k: merge a patch for improving ad-hoc mode performance

SVN-Revision: 32491

12 years agoramips: mac address detection for Fonera 2.0n
Vasilis Tsiligiannis [Sat, 23 Jun 2012 13:58:29 +0000 (13:58 +0000)]
ramips: mac address detection for Fonera 2.0n

Detect and apply MAC address of a Fonera 2.0n (ramips)

Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 32490

12 years agoprovide an early ioremap cookie of the system configuration register
Florian Fainelli [Sat, 23 Jun 2012 11:03:50 +0000 (11:03 +0000)]
provide an early ioremap cookie of the system configuration register

SVN-Revision: 32489

12 years agogroup SYSDBG register defines in mcs814x.h
Florian Fainelli [Sat, 23 Jun 2012 11:03:45 +0000 (11:03 +0000)]
group SYSDBG register defines in mcs814x.h

SVN-Revision: 32488

12 years agomake hardware.h a forward inclusion of mcs814x.h
Florian Fainelli [Sat, 23 Jun 2012 11:03:40 +0000 (11:03 +0000)]
make hardware.h a forward inclusion of mcs814x.h

mach/hardware.h is soon to be removed by upstream kernel

SVN-Revision: 32487

12 years agoremove platform specific initialization from ethernet driver
Florian Fainelli [Sat, 23 Jun 2012 11:03:35 +0000 (11:03 +0000)]
remove platform specific initialization from ethernet driver

Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

SVN-Revision: 32486

12 years agoregroup interrupt controller register definitions in hardware.h
Florian Fainelli [Sat, 23 Jun 2012 11:03:29 +0000 (11:03 +0000)]
regroup interrupt controller register definitions in hardware.h

SVN-Revision: 32485

12 years agoppp: the pptp buffering option is not supported anymore, remove it
Jo-Philipp Wich [Thu, 21 Jun 2012 19:41:47 +0000 (19:41 +0000)]
ppp: the pptp buffering option is not supported anymore, remove it

SVN-Revision: 32482

12 years agoremove handle_irq callback in board-mcs8140-dt.c
Florian Fainelli [Thu, 21 Jun 2012 12:20:47 +0000 (12:20 +0000)]
remove handle_irq callback in board-mcs8140-dt.c

This should have been removed in r32470.

SVN-Revision: 32481

12 years agofix USB led triggers
Florian Fainelli [Wed, 20 Jun 2012 21:58:00 +0000 (21:58 +0000)]
fix USB led triggers

SVN-Revision: 32474

12 years agouse generic uci defaults functions
Florian Fainelli [Wed, 20 Jun 2012 21:57:56 +0000 (21:57 +0000)]
use generic uci defaults functions

SVN-Revision: 32473

12 years agoremove uselss cache invalidations
Florian Fainelli [Wed, 20 Jun 2012 21:57:53 +0000 (21:57 +0000)]
remove uselss cache invalidations

SVN-Revision: 32472

12 years agoimprove ethernet driver debugging
Florian Fainelli [Wed, 20 Jun 2012 21:57:49 +0000 (21:57 +0000)]
improve ethernet driver debugging

SVN-Revision: 32471

12 years agodo not use MULTI_IRQ_HANDLER it is bogus on our platform
Florian Fainelli [Wed, 20 Jun 2012 21:57:45 +0000 (21:57 +0000)]
do not use MULTI_IRQ_HANDLER it is bogus on our platform

This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

SVN-Revision: 32470

12 years agoverified to work - remove broken flag
Mirko Vogt [Wed, 20 Jun 2012 19:04:35 +0000 (19:04 +0000)]
verified to work - remove broken flag

SVN-Revision: 32469

12 years agotoolchain: move eglibc-files from base-files to toolchain, it is packaged as part...
Felix Fietkau [Wed, 20 Jun 2012 13:45:01 +0000 (13:45 +0000)]
toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package

SVN-Revision: 32467

12 years agoadd and export HOSTCC_NOCACHE
John Crispin [Wed, 20 Jun 2012 07:48:47 +0000 (07:48 +0000)]
add and export HOSTCC_NOCACHE

SVN-Revision: 32466

12 years agoFix sysupgrade for squashfs, jffs2 and ext4 images
Vasilis Tsiligiannis [Tue, 19 Jun 2012 22:36:53 +0000 (22:36 +0000)]
Fix sysupgrade for squashfs, jffs2 and ext4 images

* use 'fsync' with 'dd' for image writing
* save config to boot partition

SVN-Revision: 32465

12 years agobusybox: Enable ibs, obs and conv options on 'dd'
Vasilis Tsiligiannis [Tue, 19 Jun 2012 22:34:49 +0000 (22:34 +0000)]
busybox: Enable ibs, obs and conv options on 'dd'

SVN-Revision: 32464

12 years agoppp: annotate most patches with description and S-o-b
Jo-Philipp Wich [Tue, 19 Jun 2012 17:03:24 +0000 (17:03 +0000)]
ppp: annotate most patches with description and S-o-b

SVN-Revision: 32463

12 years agoadd Moschip MSC814x support
Florian Fainelli [Tue, 19 Jun 2012 14:48:56 +0000 (14:48 +0000)]
add Moschip MSC814x support

This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462

12 years agoar71xx: create profile and build image for the TL-WDR4300 board
Gabor Juhos [Tue, 19 Jun 2012 11:51:20 +0000 (11:51 +0000)]
ar71xx: create profile and build image for the TL-WDR4300 board

SVN-Revision: 32461

12 years agoar71xx: add user space support for the TL-WDR4300
Gabor Juhos [Tue, 19 Jun 2012 11:51:18 +0000 (11:51 +0000)]
ar71xx: add user space support for the TL-WDR4300

SVN-Revision: 32460

12 years agoar71xx: add support for the TL-WDR4300 board
Gabor Juhos [Tue, 19 Jun 2012 11:51:17 +0000 (11:51 +0000)]
ar71xx: add support for the TL-WDR4300 board

SVN-Revision: 32459

12 years agoar71xx: refresh patches
Gabor Juhos [Tue, 19 Jun 2012 11:51:15 +0000 (11:51 +0000)]
ar71xx: refresh patches

SVN-Revision: 32458

12 years agoar71xx: make AR8327 LEDs working on the DB120 board
Gabor Juhos [Tue, 19 Jun 2012 10:44:17 +0000 (10:44 +0000)]
ar71xx: make AR8327 LEDs working on the DB120 board

SVN-Revision: 32457

12 years agogeneric: ar8216: allow to configure AR8327 LEDs via platform data
Gabor Juhos [Tue, 19 Jun 2012 10:44:16 +0000 (10:44 +0000)]
generic: ar8216: allow to configure AR8327 LEDs via platform data

SVN-Revision: 32456

12 years agoar71xx: remove superfluous include of asm/mach-ath79/pci.h
Gabor Juhos [Tue, 19 Jun 2012 10:13:43 +0000 (10:13 +0000)]
ar71xx: remove superfluous include of asm/mach-ath79/pci.h

SVN-Revision: 32455

12 years agoar71xx: add a common function to configure USB power GPIOs
Gabor Juhos [Tue, 19 Jun 2012 10:13:41 +0000 (10:13 +0000)]
ar71xx: add a common function to configure USB power GPIOs

SVN-Revision: 32454

12 years agoar71xx: correctly detect NETGEAR WNDRMAC
Gabor Juhos [Tue, 19 Jun 2012 10:13:38 +0000 (10:13 +0000)]
ar71xx: correctly detect NETGEAR WNDRMAC

This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
SVN-Revision: 32453

12 years agoar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
Gabor Juhos [Tue, 19 Jun 2012 10:13:37 +0000 (10:13 +0000)]
ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC

This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
SVN-Revision: 32452

12 years agotools/e2fsprogs: don't build e4defrag
Gabor Juhos [Tue, 19 Jun 2012 09:52:18 +0000 (09:52 +0000)]
tools/e2fsprogs: don't build e4defrag

Compilation fails on older systems due to missing syscalls, and the
e4defrag tool is not used by the build-system anyway.

SVN-Revision: 32451

12 years agoramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
Gabor Juhos [Tue, 19 Jun 2012 09:52:15 +0000 (09:52 +0000)]
ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router

This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w

Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>
SVN-Revision: 32450

12 years agomac80211: fix linux 3.5 compatibility
Felix Fietkau [Tue, 19 Jun 2012 00:59:19 +0000 (00:59 +0000)]
mac80211: fix linux 3.5 compatibility

SVN-Revision: 32449

12 years agomac80211: fix AP multi-BSSID support (#11698)
Felix Fietkau [Tue, 19 Jun 2012 00:53:20 +0000 (00:53 +0000)]
mac80211: fix AP multi-BSSID support (#11698)

SVN-Revision: 32448

12 years agoar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedw...
Felix Fietkau [Tue, 19 Jun 2012 00:22:04 +0000 (00:22 +0000)]
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)

SVN-Revision: 32447

12 years agoar71xx: add support for reading the MAC address from OTP ROM on AR933x
Felix Fietkau [Tue, 19 Jun 2012 00:21:58 +0000 (00:21 +0000)]
ar71xx: add support for reading the MAC address from OTP ROM on AR933x

SVN-Revision: 32446

12 years agozlib fix for btrfs
Jo-Philipp Wich [Mon, 18 Jun 2012 23:59:57 +0000 (23:59 +0000)]
zlib fix for btrfs

Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>
SVN-Revision: 32444

12 years agoopenssl does not compile with uml and arch x86_64
Jo-Philipp Wich [Mon, 18 Jun 2012 23:54:08 +0000 (23:54 +0000)]
openssl does not compile with uml and arch x86_64

Hi,

I found that openssl did not compile on the uml target under x86_64. The
attached patch should
correct this and is working for me. Is this the right way to do it?

thanks,
Thomas

SVN-Revision: 32443

12 years agotoolchain/insight: update download location and MD5 sum to status quo
Jo-Philipp Wich [Mon, 18 Jun 2012 23:41:48 +0000 (23:41 +0000)]
toolchain/insight: update download location and MD5 sum to status quo

insight GDB version 6.8-1 sources have apparently changed.
The original file is no longer available upstream.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32438

12 years agooptimize kernel config for kvm_guest
Jo-Philipp Wich [Mon, 18 Jun 2012 23:36:50 +0000 (23:36 +0000)]
optimize kernel config for kvm_guest

This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 32436

12 years agokmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
Felix Fietkau [Mon, 18 Jun 2012 23:30:48 +0000 (23:30 +0000)]
kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko

kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 32434

12 years agokernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on...
Jo-Philipp Wich [Mon, 18 Jun 2012 23:26:36 +0000 (23:26 +0000)]
kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)

SVN-Revision: 32433

12 years ago6rd: apply the same simplifications done in 6to4 and 6in4
Jo-Philipp Wich [Mon, 18 Jun 2012 23:08:20 +0000 (23:08 +0000)]
6rd: apply the same simplifications done in 6to4 and 6in4

SVN-Revision: 32432

12 years agoAdd new package for configuring 6rd tunnels.
Jo-Philipp Wich [Mon, 18 Jun 2012 23:08:18 +0000 (23:08 +0000)]
Add new package for configuring 6rd tunnels.

This patch adds support for manually configuring 6rd tunnels. It depends on
the netifd patches I sent earlier, which add 6rd support.

A basic interface configuration looks like:

    config interface 'wan6'
      option proto '6rd'
      option peeraddr '192.0.2.1'
      option ip6prefix '2123::'
      option ip6prefixlen '16'
      option ip4prefixlen '0'

Where ip4prefixlen is optional and actually defaults to 0, which would use all
bits of the IPv4 in the calculated IPv6 subnet.

I believe it should be possible to configure a regular 6to4 tunnel using this,
and that we may want to merge the two eventually, but there are some larger

differences between the two at the moment:

 - 6rd addresses can be more difficult to calculate. My ISP, for example, has
   a setup with a v6 mask of 43 bits, and a v4 mask of 19.

 - 6to4 has support for configuring radvd. This is something we want, of
   course, but it seems best to deal with this in a separate patch.

Just creating a new package looked like the quickest way to get this in.

This work is based on the 6in4 package, and work by Stijn Tintel.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
SVN-Revision: 32431

12 years agonetifd: bump again to git head, fix device present state after reconnecting shell...
Jo-Philipp Wich [Mon, 18 Jun 2012 23:01:04 +0000 (23:01 +0000)]
netifd: bump again to git head, fix device present state after reconnecting shell protos

SVN-Revision: 32430

12 years agonetifd: update to latest version again, fixes route6 issues (#11528)
Felix Fietkau [Mon, 18 Jun 2012 21:52:28 +0000 (21:52 +0000)]
netifd: update to latest version again, fixes route6 issues (#11528)

SVN-Revision: 32429

12 years ago6in4, 6to4: further simplify protocol backends - use new default route dependencies...
Jo-Philipp Wich [Mon, 18 Jun 2012 21:40:34 +0000 (21:40 +0000)]
6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts

SVN-Revision: 32428

12 years agonetifd: update to latest version, adds 6rd related changes and adds support for defau...
Felix Fietkau [Mon, 18 Jun 2012 21:23:09 +0000 (21:23 +0000)]
netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)

SVN-Revision: 32426

12 years agobuild: allow KERNELNAME to contain multiple kernel make targets
Florian Fainelli [Mon, 18 Jun 2012 13:20:50 +0000 (13:20 +0000)]
build: allow KERNELNAME to contain multiple kernel make targets

SVN-Revision: 32423

12 years agoremove inittab override
Jo-Philipp Wich [Mon, 18 Jun 2012 11:50:37 +0000 (11:50 +0000)]
remove inittab override

SVN-Revision: 32422

12 years agofix ccache related build breakage
John Crispin [Mon, 18 Jun 2012 08:50:26 +0000 (08:50 +0000)]
fix ccache related build breakage

SVN-Revision: 32421

12 years agomac80211: update to wireless-testing 2012-06-14
Felix Fietkau [Mon, 18 Jun 2012 01:26:36 +0000 (01:26 +0000)]
mac80211: update to wireless-testing 2012-06-14

SVN-Revision: 32420

12 years agouhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading...
Jo-Philipp Wich [Mon, 18 Jun 2012 00:41:43 +0000 (00:41 +0000)]
uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses

SVN-Revision: 32419

12 years agoe2fsprogs: fix md5sum issue
Luka Perkov [Sun, 17 Jun 2012 21:34:16 +0000 (21:34 +0000)]
e2fsprogs: fix md5sum issue

md5sum from kernel.org and sourceforge.net are not the same

SVN-Revision: 32418

12 years agoacx-mac80211: Add workaround for mac80211 hw-queue check
Vasilis Tsiligiannis [Sun, 17 Jun 2012 20:50:43 +0000 (20:50 +0000)]
acx-mac80211: Add workaround for mac80211 hw-queue check

SVN-Revision: 32417

12 years agoacx-mac80211: Bump to v20120607
Vasilis Tsiligiannis [Sun, 17 Jun 2012 20:49:55 +0000 (20:49 +0000)]
acx-mac80211: Bump to v20120607

SVN-Revision: 32416

12 years agoacx-mac80211: Allow firmware downloading for more ACX1xx cards
Vasilis Tsiligiannis [Sun, 17 Jun 2012 20:46:31 +0000 (20:46 +0000)]
acx-mac80211: Allow firmware downloading for more ACX1xx cards

SVN-Revision: 32415