1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 14:45:20 +02:00
Commit Graph

23820 Commits

Author SHA1 Message Date
jow
2caf3c66a2 [PATCH 1/4] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:32:29 +00:00
jow
b6a1b5d84d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 11:06:32 +00:00
jow
9f93ad9ef0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-01 10:34:45 +00:00
nbd
7b71f99fda config: tag parallel build options with high build breakage probability with a BROKEN dependency to discourage users from spamming us with tickets about them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:12 +00:00
nbd
8096c8d9bf uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:09 +00:00
nbd
db73773bde uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:05 +00:00
nbd
b284b583be toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:43:59 +00:00
nbd
86e3bacd5a toolchain/uClibc: fix getting the nameserver from _res state after res_init. fixes displaying the nameserver in busybox nslookup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:23 +00:00
nbd
b5d071eb9b toolchain/gcc: fix installing the toolchain after removing the toolchain dir without a full rebuild
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:19 +00:00
nbd
40b6fce4a1 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 18:12:15 +00:00
jow
97f0df7a84 [package] base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 19:04:11 +00:00
nbd
0387092597 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 17:59:39 +00:00
nbd
f0ebad0e26 eglibc: work around a broken configure test to fix compile errors on x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 16:19:48 +00:00
jow
79cdadea60 [package] base-files: only consider enabled default routes when finding the wan iface (#11774)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 11:58:35 +00:00
jow
b7fcfbf381 [package] netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 11:42:15 +00:00
florian
a2ed4b34a3 [brcm63xx] fix watchdog and rng drivers section mismatch (#11767)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 09:07:54 +00:00
nbd
faf197b945 tools: sdcc depends on bison
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 00:32:43 +00:00
nbd
7ffed0b52c ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 16:05:08 +00:00
nbd
7f7b8b4dfb toolchain: enable gdb by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 14:32:11 +00:00
nbd
2ac75aacc1 ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 00:34:19 +00:00
nbd
c1c8e3bb46 ath9k: update the ar934x initvals
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:56 +00:00
nbd
3fdee93c55 ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:51 +00:00
nbd
b6422914a3 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:47 +00:00
nbd
126de14e4c 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:44 +00:00
florian
a6f7f0aaf2 [brcm63xx] fix SPI clock frequency selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:14:50 +00:00
nbd
1ab7fc1991 ath9k: improve ani behavior during scanning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 12:45:00 +00:00
nbd
fc00da6b46 ath9k: more ani fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 02:15:25 +00:00
nbd
5f0e5c8f58 ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 01:29:56 +00:00
nbd
8a31cf1a07 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 01:23:17 +00:00
nbd
1a0f31f9ad ath9k: reject invalid antenna mask configurations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 01:10:18 +00:00
nbd
3d1b9cd3fb netifd: update to latest version, fixes bridge member interface settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 23:34:07 +00:00
jow
f4e0c95bb6 [package] broadcom-wl: fix WDS hotplug for multiple networks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 15:43:09 +00:00
jow
968a2a2451 [package] linux-atm: remove defunct ipoa protocol support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 15:40:03 +00:00
jow
40add56ce9 [package] base-files: allow wireless ifaces to be part of multiple networks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 15:25:33 +00:00
jow
75f167e6de [tools] sdcc: enable packihx, required by firmwarehotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 08:30:38 +00:00
nbd
d3510593f9 scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-25 00:27:03 +00:00
nbd
ced5f69d4d kernel: add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-24 20:21:27 +00:00
nbd
4c77c170f6 ath9k: fix a dynamic WEP related regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 17:30:45 +00:00
nbd
bbf9fad77f ath9k: merge a patch for improving ad-hoc mode performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 17:30:40 +00:00
acinonyx
99a635edd1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 13:58:29 +00:00
florian
27abc2e19f [mcs814x] provide an early ioremap cookie of the system configuration register
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:50 +00:00
florian
a699bb193a [mcs814x] group SYSDBG register defines in mcs814x.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:45 +00:00
florian
01532c0031 [mcs814x] make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:40 +00:00
florian
4c31778fc4 [mcs814x] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:35 +00:00
florian
bc89518781 [mcs814x] regroup interrupt controller register definitions in hardware.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:29 +00:00
jow
5129ca13a6 [package] ppp: the pptp buffering option is not supported anymore, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-21 19:41:47 +00:00
florian
0235660f48 [mcs814x] remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-21 12:20:47 +00:00
florian
b6eacc06d6 [mcs814x] fix USB led triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:58:00 +00:00
florian
2af5a044d3 [mcs814x] use generic uci defaults functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:56 +00:00
florian
aa77c3e868 [mcs814x] remove uselss cache invalidations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:53 +00:00