openwrt/staging/hauke.git
11 years agorename interrupt number constants
Florian Fainelli [Thu, 6 Dec 2012 22:41:14 +0000 (22:41 +0000)]
rename interrupt number constants

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

11 years agoremove the now deprecated /proc/adm8668 interface
Florian Fainelli [Thu, 6 Dec 2012 22:41:09 +0000 (22:41 +0000)]
remove the now deprecated /proc/adm8668 interface

Proper gpiolib support is hooked instead.

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

11 years agoadd a gpiolib driver
Florian Fainelli [Thu, 6 Dec 2012 22:41:04 +0000 (22:41 +0000)]
add a gpiolib driver

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

11 years agodo not reset WAN and LAN blocks
Florian Fainelli [Thu, 6 Dec 2012 22:40:58 +0000 (22:40 +0000)]
do not reset WAN and LAN blocks

This is taken care of by the tulip driver accordingly.

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

11 years agoenable and advertise USB support
Florian Fainelli [Thu, 6 Dec 2012 22:40:54 +0000 (22:40 +0000)]
enable and advertise USB support

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

11 years agoadd support for on-board EHCI controller
Florian Fainelli [Thu, 6 Dec 2012 22:40:49 +0000 (22:40 +0000)]
add support for on-board EHCI controller

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

11 years agomac80211: add support for adm8211 wireless driver
Florian Fainelli [Thu, 6 Dec 2012 22:40:45 +0000 (22:40 +0000)]
mac80211: add support for adm8211 wireless driver

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

11 years agoremove the "old" tulip forked driver
Florian Fainelli [Thu, 6 Dec 2012 22:40:40 +0000 (22:40 +0000)]
remove the "old" tulip forked driver

We can now use the mainline tulip driver.

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

11 years agouse the tulip platform driver
Florian Fainelli [Thu, 6 Dec 2012 22:40:36 +0000 (22:40 +0000)]
use the tulip platform driver

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

11 years agopatch the tulip driver to accept a platform variant
Florian Fainelli [Thu, 6 Dec 2012 22:40:31 +0000 (22:40 +0000)]
patch the tulip driver to accept a platform variant

Isolate the PCI specific parts and group them under CONFIG_TULIP_PCI
CONFIG_TULIP_PLATFORM can be enabled for a platform style Tulip driver.

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

11 years agomove clock frequencies into clock driver
Florian Fainelli [Thu, 6 Dec 2012 22:40:26 +0000 (22:40 +0000)]
move clock frequencies into clock driver

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

11 years agoadd CONFIG_GPIO_PL061 config symbol
Florian Fainelli [Thu, 6 Dec 2012 22:40:21 +0000 (22:40 +0000)]
add CONFIG_GPIO_PL061 config symbol

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

11 years agoreplace the custom mtd driver with a partition parser
Florian Fainelli [Thu, 6 Dec 2012 22:40:17 +0000 (22:40 +0000)]
replace the custom mtd driver with a partition parser

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

11 years agocleanup PCI controller code
Florian Fainelli [Thu, 6 Dec 2012 22:40:12 +0000 (22:40 +0000)]
cleanup PCI controller code

At some point we should make the ADM5120 PCI controller driver a real
platform driver and share that one between the two targets.

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

11 years agocleanup and make interrupt code more robust
Florian Fainelli [Thu, 6 Dec 2012 22:40:02 +0000 (22:40 +0000)]
cleanup and make interrupt code more robust

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

11 years agoremove frequency from /proc/cpuinfo
Florian Fainelli [Thu, 6 Dec 2012 22:39:57 +0000 (22:39 +0000)]
remove frequency from /proc/cpuinfo

This is not the place to expose it and duplicates code reading the
system frequency.

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

11 years agoprovide a system clock to be used by the MIPS timer
Florian Fainelli [Thu, 6 Dec 2012 22:39:52 +0000 (22:39 +0000)]
provide a system clock to be used by the MIPS timer

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

11 years agoget rid of the UART defines
Florian Fainelli [Thu, 6 Dec 2012 22:39:47 +0000 (22:39 +0000)]
get rid of the UART defines

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

11 years agoget rid of the specific UART driver and use AMBA PL010
Florian Fainelli [Thu, 6 Dec 2012 22:39:43 +0000 (22:39 +0000)]
get rid of the specific UART driver and use AMBA PL010

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

11 years agoimplement early_printk without an early_console
Florian Fainelli [Thu, 6 Dec 2012 22:39:33 +0000 (22:39 +0000)]
implement early_printk without an early_console

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

11 years agosimplify IRQ controller code
Florian Fainelli [Thu, 6 Dec 2012 22:39:27 +0000 (22:39 +0000)]
simplify IRQ controller code

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

11 years agouse platform_add_devices
Florian Fainelli [Thu, 6 Dec 2012 22:39:22 +0000 (22:39 +0000)]
use platform_add_devices

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

11 years agomove time related functions to their own file
Florian Fainelli [Thu, 6 Dec 2012 22:39:18 +0000 (22:39 +0000)]
move time related functions to their own file

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

11 years agomove setup-related functions to their own file
Florian Fainelli [Thu, 6 Dec 2012 22:39:08 +0000 (22:39 +0000)]
move setup-related functions to their own file

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

11 years agoipv6-support: next iteration * Introduce mode 6rd * Introduce mode 6to4 * Fix announc...
Steven Barth [Thu, 6 Dec 2012 20:52:40 +0000 (20:52 +0000)]
ipv6-support: next iteration * Introduce mode 6rd * Introduce mode 6to4 * Fix announcement of DNS-Servers received from DHCPv6 * Fix some corner-cases in relaying behaviour

SVN-Revision: 34542

11 years ago6relayd: More RFC-compatibility and size reduction
Steven Barth [Thu, 6 Dec 2012 20:52:35 +0000 (20:52 +0000)]
6relayd: More RFC-compatibility and size reduction

SVN-Revision: 34541

11 years ago6distributed: Add compatibility with 6rd and 6to4
Steven Barth [Thu, 6 Dec 2012 20:52:30 +0000 (20:52 +0000)]
6distributed: Add compatibility with 6rd and 6to4

SVN-Revision: 34540

11 years agoppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)
Jo-Philipp Wich [Thu, 6 Dec 2012 18:17:21 +0000 (18:17 +0000)]
ppp: unconditionally start pppd with nodefaultroute and usepeerdns (#12580)

Since the switch to netifd, proto handlers may always set the defaultroute
and provide dns server addresses, netifd will decide in the generic code
path whether the announced values are masked or not.

Additionally protocol handlers should not modify the routing tables themselves
and prevent any launched services from doing so.

Remove the additional defaultroute and peerdns option handling from the ppp.sh
protocol handler and rely on netifd to mask or not mask the values.

SVN-Revision: 34536

11 years agokernel: fix video-core build on 3.6+
Felix Fietkau [Thu, 6 Dec 2012 14:11:19 +0000 (14:11 +0000)]
kernel: fix video-core build on 3.6+

SVN-Revision: 34533

11 years agokernel: add missing config symbols
Felix Fietkau [Thu, 6 Dec 2012 14:11:16 +0000 (14:11 +0000)]
kernel: add missing config symbols

SVN-Revision: 34532

11 years agomac80211: clean up patches, replace patching config.mk with a generated sed expression
Felix Fietkau [Thu, 6 Dec 2012 14:11:09 +0000 (14:11 +0000)]
mac80211: clean up patches, replace patching config.mk with a generated sed expression

SVN-Revision: 34531

11 years agolibiconv-full: add clause to Makefile to actually install iconv
Florian Fainelli [Wed, 5 Dec 2012 18:05:04 +0000 (18:05 +0000)]
libiconv-full: add clause to Makefile to actually install iconv

At present, if you select the iconv utility it will be built but not
installed. This patch adds the clauses necessary to the Makefile to
actually install iconv.

Signed-off-by: Mike Brady <mikebrady@eircom.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34530

11 years agokernel 3.6+: nuke obsolete patches that are messing up oprofile builds
Felix Fietkau [Wed, 5 Dec 2012 16:49:48 +0000 (16:49 +0000)]
kernel 3.6+: nuke obsolete patches that are messing up oprofile builds

SVN-Revision: 34506

11 years agolinux-atm: put all packages into their own submenus
Florian Fainelli [Wed, 5 Dec 2012 14:58:54 +0000 (14:58 +0000)]
linux-atm: put all packages into their own submenus

Now that we package individual tools as well, the list of ATM tools is
pretty big to deserve its own submenu.

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

11 years agolinux-atm: fix typo introduced in r34502
Florian Fainelli [Wed, 5 Dec 2012 14:37:03 +0000 (14:37 +0000)]
linux-atm: fix typo introduced in r34502

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

11 years agolinux-atm: package each available atm debug tool individually
Florian Fainelli [Wed, 5 Dec 2012 14:18:08 +0000 (14:18 +0000)]
linux-atm: package each available atm debug tool individually

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

11 years agokernel/3.3: move OHCI and EHCI platform drivers to generic
Florian Fainelli [Wed, 5 Dec 2012 14:18:05 +0000 (14:18 +0000)]
kernel/3.3: move OHCI and EHCI platform drivers to generic

These patches are not specific to bcm47xx and will be used on other
platforms as well.

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

11 years agonetifd: update to latest version, fixes resolv.conf writes on interface setting changes
Felix Fietkau [Wed, 5 Dec 2012 13:28:56 +0000 (13:28 +0000)]
netifd: update to latest version, fixes resolv.conf writes on interface setting changes

SVN-Revision: 34500

11 years agoRevert "include/image.mk: call Image/Build/{cpiogz,targz}"
Florian Fainelli [Tue, 4 Dec 2012 22:59:05 +0000 (22:59 +0000)]
Revert "include/image.mk: call Image/Build/{cpiogz,targz}"

This breaks on platforms building their own targz/cpioz images.

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

11 years agodropbear: update to 2012.55 and refresh patches
Florian Fainelli [Tue, 4 Dec 2012 16:40:17 +0000 (16:40 +0000)]
dropbear: update to 2012.55 and refresh patches

Upstream has a few code cleanups, more eagerly burns sensitive memory and
includes the fix for CVE-2012-0920. Full changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

Local changes:
- Removed PKG_MULTI which is no longer in options.h (even before 2011.54)
- Merged DO_HOST_LOOKUP into 120-openwrt_options.patch
- Removed LD from make opts (now included in TARGET_CONFIGURE_OPTS)
- Removed 400-CVE-2012-0920.patch which is included in 2012.55

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34496

11 years agolinux-atm: create atm-debug-tools package
Florian Fainelli [Tue, 4 Dec 2012 16:19:24 +0000 (16:19 +0000)]
linux-atm: create atm-debug-tools package

Instead of commenting the inclusion of some binaries, just make them
available using a new package "atm-debug-tools."

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

11 years agolinux-atm: factor common descriptions
Florian Fainelli [Tue, 4 Dec 2012 16:19:21 +0000 (16:19 +0000)]
linux-atm: factor common descriptions

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

11 years agocns3xxx: fix dwc_otg driver compat with udc-core
Florian Fainelli [Tue, 4 Dec 2012 16:19:18 +0000 (16:19 +0000)]
cns3xxx: fix dwc_otg driver compat with udc-core

function.  This removes those from the dwc_otg driver and removes the patch
that comments out the linkage of udc-core so that the dwc_otg driver can
co-exist happily with other USB Device Controllers.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34475

11 years agocns3xxx: advertise pcie usb usbgadget features
Florian Fainelli [Tue, 4 Dec 2012 16:19:12 +0000 (16:19 +0000)]
cns3xxx: advertise pcie usb usbgadget features

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34474

11 years agoinclude/image.mk: call Image/Build/{cpiogz,targz}
Florian Fainelli [Tue, 4 Dec 2012 16:19:09 +0000 (16:19 +0000)]
include/image.mk: call Image/Build/{cpiogz,targz}

All Image/mkfs/... macros call the Image/Build except for
Image/mkfs/targz and Image/mkfs/cpiogz

This patch adds the Image/Build call for Image/mkfs/targz and
Image/mkfs/cpiogz.

Signed-off-by: Maarten Bezemer <m.m.bezemer@utwente.nl>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34473

11 years agofirewall: extend nat reflection support
Jo-Philipp Wich [Tue, 4 Dec 2012 15:24:21 +0000 (15:24 +0000)]
firewall: extend nat reflection support

- use comment match to keep track of per-network rules
- setup reflection for any interface which is part of a masqueraded zone, not just "wan"
- delete per-network reflection rules if network is brought down

SVN-Revision: 34472

11 years agoFix Comtrend AR-5381u Power LED
Florian Fainelli [Tue, 4 Dec 2012 15:19:50 +0000 (15:19 +0000)]
Fix Comtrend AR-5381u Power LED

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34471

11 years agomac80211, hostapd: Fix macfilter for multi bssid setups
Felix Fietkau [Tue, 4 Dec 2012 12:06:40 +0000 (12:06 +0000)]
mac80211, hostapd: Fix macfilter for multi bssid setups

Previously only the first macfilter configuration would have been used
on all interfaces. However, the configuration was always done per vif
already. Hence, move the macfilter setup into hostapd.sh where and
create one mac list file per vif.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 34470

11 years agodo no longer rename amba-pl010 serial devices names
Florian Fainelli [Mon, 3 Dec 2012 16:18:40 +0000 (16:18 +0000)]
do no longer rename amba-pl010 serial devices names

Back in the days when we could not override /etc/inittab, it made a lot
of sense to rename ttyAM to ttyS since this was the only supported
serial device(s), we can now just put in an appropriate /etc/inittab file
now.

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

11 years agoMake ltq-dsl-app compile with an eglibc-based toolchain
Mirko Vogt [Mon, 3 Dec 2012 12:46:57 +0000 (12:46 +0000)]
Make ltq-dsl-app compile with an eglibc-based toolchain

Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>
SVN-Revision: 34468

11 years agokernel: disable more pci quirks to save space on platforms that don't need them
Felix Fietkau [Mon, 3 Dec 2012 10:33:47 +0000 (10:33 +0000)]
kernel: disable more pci quirks to save space on platforms that don't need them

SVN-Revision: 34467

11 years agoipv6-support: Second Iteration * mode 'downstream' renamed to 'router' * mode 'upstre...
Steven Barth [Mon, 3 Dec 2012 09:18:53 +0000 (09:18 +0000)]
ipv6-support: Second Iteration * mode 'downstream' renamed to 'router' * mode 'upstream' renamed to 'dhcpv6' * mode 'relay' added * cleanups and minor bugfixes in state handling

SVN-Revision: 34466

11 years agonetifd: empty hotplug handler removed
Steven Barth [Mon, 3 Dec 2012 07:20:44 +0000 (07:20 +0000)]
netifd: empty hotplug handler removed

SVN-Revision: 34465

11 years agomac80211: refresh patches
Gabor Juhos [Sun, 2 Dec 2012 20:41:39 +0000 (20:41 +0000)]
mac80211: refresh patches

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

11 years agomac80211: rename a misnamed ath9k patch
Gabor Juhos [Sun, 2 Dec 2012 20:41:37 +0000 (20:41 +0000)]
mac80211: rename a misnamed ath9k patch

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

11 years ago6distributed: Poll for ubus to come up (fix race)
Steven Barth [Sun, 2 Dec 2012 19:06:48 +0000 (19:06 +0000)]
6distributed: Poll for ubus to come up (fix race)

SVN-Revision: 34462

11 years agokernel 3.6+: switch to a crc32 implementation that is more suitable for small caches...
Felix Fietkau [Sun, 2 Dec 2012 18:37:41 +0000 (18:37 +0000)]
kernel 3.6+: switch to a crc32 implementation that is more suitable for small caches. reduces kernel image size by ~22 KiB on mips

SVN-Revision: 34461

11 years agoinclude: download.mk: correct tar argument order when packing checkouts
Jo-Philipp Wich [Sun, 2 Dec 2012 18:35:47 +0000 (18:35 +0000)]
include: download.mk: correct tar argument order when packing checkouts

GNU TAR v1.26 will fail with "no such file or directory" errors when the
output file does not immediately follow the -f switch.

SVN-Revision: 34460

11 years agotools: e2fsprogs: delete doc/ directory after unpacking to ensure that makeinfo is...
Jo-Philipp Wich [Sun, 2 Dec 2012 18:35:39 +0000 (18:35 +0000)]
tools: e2fsprogs: delete doc/ directory after unpacking to ensure that makeinfo is not invoked

SVN-Revision: 34459

11 years agokernel: fix stripping symbol exports
Felix Fietkau [Sun, 2 Dec 2012 17:42:17 +0000 (17:42 +0000)]
kernel: fix stripping symbol exports

SVN-Revision: 34458

11 years agolibubox: update to latest version, fixes blob/blobmsg endian issues
Felix Fietkau [Sun, 2 Dec 2012 16:50:39 +0000 (16:50 +0000)]
libubox: update to latest version, fixes blob/blobmsg endian issues

SVN-Revision: 34456

11 years agotools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux hosts
Felix Fietkau [Sun, 2 Dec 2012 16:17:33 +0000 (16:17 +0000)]
tools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux hosts

SVN-Revision: 34455

11 years agobrcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed...
Hauke Mehrtens [Sun, 2 Dec 2012 16:11:39 +0000 (16:11 +0000)]
brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.

SVN-Revision: 34454

11 years agob43-tools: pack the lcn firmware into the brcmsmac firmware package.
Hauke Mehrtens [Sun, 2 Dec 2012 16:09:23 +0000 (16:09 +0000)]
b43-tools: pack the lcn firmware into the brcmsmac firmware package.

SVN-Revision: 34453

11 years agobroadcom-wl: get the mmio address directly from the struct if bcma is used.
Hauke Mehrtens [Sun, 2 Dec 2012 16:07:43 +0000 (16:07 +0000)]
broadcom-wl: get the mmio address directly from the struct if bcma is used.

SVN-Revision: 34452

11 years agobuild: it is no longer necessary to call make target/linux/clean as part of make...
Felix Fietkau [Sun, 2 Dec 2012 15:26:28 +0000 (15:26 +0000)]
build: it is no longer necessary to call make target/linux/clean as part of make clean

SVN-Revision: 34451

11 years agokernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
Felix Fietkau [Sun, 2 Dec 2012 15:26:24 +0000 (15:26 +0000)]
kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies

SVN-Revision: 34450

11 years agokernel: patch in a working copy of elf.h instead of using relative path based hackery...
Felix Fietkau [Sun, 2 Dec 2012 15:26:19 +0000 (15:26 +0000)]
kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements

SVN-Revision: 34449

11 years agosstrip: remove a redundant copy of elf.h
Felix Fietkau [Sun, 2 Dec 2012 15:26:15 +0000 (15:26 +0000)]
sstrip: remove a redundant copy of elf.h

SVN-Revision: 34448

11 years agorules.mk: don't use $(realpath) in file_copy, the destination directory might not...
Jo-Philipp Wich [Sun, 2 Dec 2012 15:15:07 +0000 (15:15 +0000)]
rules.mk: don't use $(realpath) in file_copy, the destination directory might not exist yet - spotted while doing a fresh build

SVN-Revision: 34447

11 years agoramips: fix serial console for Belkin F5D8235 v1/v2
Gabor Juhos [Sun, 2 Dec 2012 14:16:12 +0000 (14:16 +0000)]
ramips: fix serial console for Belkin F5D8235 v1/v2

Based on a patch from #12533.

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

11 years agoUpdate linux-atm fixes to reflect the final upstream pull request
Gabor Juhos [Sun, 2 Dec 2012 13:04:04 +0000 (13:04 +0000)]
Update linux-atm fixes to reflect the final upstream pull request

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34443

11 years agoMake teql hotplug script run sooner
Gabor Juhos [Sun, 2 Dec 2012 13:04:03 +0000 (13:04 +0000)]
Make teql hotplug script run sooner

In particular, it wants to run before the ntpclient script. Which may
block for a long time attempting to do DNS lookups for NTP servers. In
my case, that would have *worked* if the new device had been added to
teql first, rather than timing out.

This was effectively causing a huge delay between an interface coming
up, and routing actually starting to work.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34442

11 years agoChange default TARGET_ROOTFS_RESERVED_PCT to zero to avoid wasted space
Gabor Juhos [Sun, 2 Dec 2012 13:04:01 +0000 (13:04 +0000)]
Change default TARGET_ROOTFS_RESERVED_PCT to zero to avoid wasted space

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34441

11 years agotoolchain: use file_copy to install the initial gcc files
Jo-Philipp Wich [Sun, 2 Dec 2012 12:20:47 +0000 (12:20 +0000)]
toolchain: use file_copy to install the initial gcc files

SVN-Revision: 34440

11 years agoimagebuilder: use file_copy to deploy files/ in the image generation phase
Jo-Philipp Wich [Sun, 2 Dec 2012 12:20:43 +0000 (12:20 +0000)]
imagebuilder: use file_copy to deploy files/ in the image generation phase

SVN-Revision: 34439

11 years agopackage: use file_copy to deploy files/ in the package/install phase
Jo-Philipp Wich [Sun, 2 Dec 2012 12:20:38 +0000 (12:20 +0000)]
package: use file_copy to deploy files/ in the package/install phase

SVN-Revision: 34438

11 years agorules.mk: provide a macro "file_copy" which removes any symlink in the destination...
Jo-Philipp Wich [Sun, 2 Dec 2012 12:20:34 +0000 (12:20 +0000)]
rules.mk: provide a macro "file_copy" which removes any symlink in the destination dir that would be overwritten

SVN-Revision: 34437

11 years agotoolchain: remove duplicate default in bintutils Kconfig
Jo-Philipp Wich [Sun, 2 Dec 2012 11:27:23 +0000 (11:27 +0000)]
toolchain: remove duplicate default in bintutils Kconfig

SVN-Revision: 34436

11 years agoremove support for ubicom32
Florian Fainelli [Fri, 30 Nov 2012 10:53:55 +0000 (10:53 +0000)]
remove support for ubicom32

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

11 years agokernel: remove references to TARGET_ubicom32
Florian Fainelli [Fri, 30 Nov 2012 10:53:51 +0000 (10:53 +0000)]
kernel: remove references to TARGET_ubicom32

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

11 years agoremove target
Florian Fainelli [Fri, 30 Nov 2012 10:53:47 +0000 (10:53 +0000)]
remove target

This target is unused, does not support any off the shelf hardware and
has been a maintenance burden for quite some time now.

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

11 years agodisable sstrip when using musl
Florian Fainelli [Thu, 29 Nov 2012 21:43:05 +0000 (21:43 +0000)]
disable sstrip when using musl

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

11 years agoremove Linux 3.3 support
Florian Fainelli [Thu, 29 Nov 2012 21:43:02 +0000 (21:43 +0000)]
remove Linux 3.3 support

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

11 years agogcc/4.5-linaro: backport musl patch
Florian Fainelli [Thu, 29 Nov 2012 21:42:58 +0000 (21:42 +0000)]
gcc/4.5-linaro: backport musl patch

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

11 years agouse a default kernel command-line to mount squashfs and jffs2
Florian Fainelli [Thu, 29 Nov 2012 21:42:53 +0000 (21:42 +0000)]
use a default kernel command-line to mount squashfs and jffs2

This fixes bug #9055.

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

11 years agoipv6-support: Add conffiles section
Steven Barth [Thu, 29 Nov 2012 20:33:17 +0000 (20:33 +0000)]
ipv6-support: Add conffiles section

SVN-Revision: 34423

11 years agoipv6-support: Add new IPv6-support meta-package
Steven Barth [Thu, 29 Nov 2012 20:14:28 +0000 (20:14 +0000)]
ipv6-support: Add new IPv6-support meta-package

SVN-Revision: 34422

11 years agoodhcp6c: Add new embedded DHCPv6 client
Steven Barth [Thu, 29 Nov 2012 20:14:23 +0000 (20:14 +0000)]
odhcp6c: Add new embedded DHCPv6 client

SVN-Revision: 34421

11 years ago6distributed: add local IPv6 prefix distributor
Steven Barth [Thu, 29 Nov 2012 20:14:18 +0000 (20:14 +0000)]
6distributed: add local IPv6 prefix distributor

SVN-Revision: 34420

11 years ago6relayd: Fix some RFC 6204 compatibility issues
Steven Barth [Thu, 29 Nov 2012 20:14:14 +0000 (20:14 +0000)]
6relayd: Fix some RFC 6204 compatibility issues

SVN-Revision: 34419

11 years agoRemove old IPv6 sysctl-config (deprecated)
Steven Barth [Thu, 29 Nov 2012 20:14:09 +0000 (20:14 +0000)]
Remove old IPv6 sysctl-config (deprecated)

SVN-Revision: 34418

11 years agoRemove default sysctl-entry for IPv6 here (races)
Steven Barth [Thu, 29 Nov 2012 20:14:04 +0000 (20:14 +0000)]
Remove default sysctl-entry for IPv6 here (races)

SVN-Revision: 34417

11 years agokernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
Gabor Juhos [Thu, 29 Nov 2012 17:58:28 +0000 (17:58 +0000)]
kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL

Patches queued upstream in net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34415

11 years agoar71xx: switch to 3.6.8
Gabor Juhos [Thu, 29 Nov 2012 17:53:42 +0000 (17:53 +0000)]
ar71xx: switch to 3.6.8

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

11 years agokernel: Update Geos to 3.6.8
Gabor Juhos [Thu, 29 Nov 2012 17:37:19 +0000 (17:37 +0000)]
kernel: Update Geos to 3.6.8

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34411

11 years agokernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
Gabor Juhos [Thu, 29 Nov 2012 17:37:18 +0000 (17:37 +0000)]
kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)

Patches about to go into net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34410

11 years agokernel: Add missing CONFIG_BATTERY_DS2781 option to generic 3.6 config
Gabor Juhos [Thu, 29 Nov 2012 17:37:16 +0000 (17:37 +0000)]
kernel: Add missing CONFIG_BATTERY_DS2781 option to generic 3.6 config

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34409

11 years agobuild: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
Gabor Juhos [Thu, 29 Nov 2012 17:37:15 +0000 (17:37 +0000)]
build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space

The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34408

11 years agoramips: rt305x: add profile and build image for the Asus RT-N13U
Gabor Juhos [Thu, 29 Nov 2012 17:37:14 +0000 (17:37 +0000)]
ramips: rt305x: add profile and build image for the Asus RT-N13U

Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34407