Commit Graph

25167 Commits (f49b81ca588f0ebc2deead91e2181e360369bab7)

Author SHA1 Message Date
Florian Fainelli f49b81ca58 [adm8668] move setup-related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:08 +00:00
Steven Barth e20634512b 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:40 +00:00
Steven Barth 555733dc19 6relayd: More RFC-compatibility and size reduction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:35 +00:00
Steven Barth e8d86f1a8e 6distributed: Add compatibility with 6rd and 6to4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 20:52:30 +00:00
Jo-Philipp Wich 5308e09135 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 18:17:21 +00:00
Felix Fietkau f5754d8095 kernel: fix video-core build on 3.6+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:19 +00:00
Felix Fietkau eaad0240c3 kernel: add missing config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:16 +00:00
Felix Fietkau aaf2783f6c mac80211: clean up patches, replace patching config.mk with a generated sed expression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:09 +00:00
Florian Fainelli b43862ba7b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 18:05:04 +00:00
Felix Fietkau b0d6a6b1eb kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 16:49:48 +00:00
Florian Fainelli eebdec56b1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:58:54 +00:00
Florian Fainelli 489c3ed133 linux-atm: fix typo introduced in r34502
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:37:03 +00:00
Florian Fainelli cdcf1f1393 linux-atm: package each available atm debug tool individually
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:08 +00:00
Florian Fainelli 92bdf9bcc2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:05 +00:00
Felix Fietkau ce739282b4 netifd: update to latest version, fixes resolv.conf writes on interface setting changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 13:28:56 +00:00
Florian Fainelli 9a95c59fbe 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 22:59:05 +00:00
Florian Fainelli 46e32ed7fa 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:40:17 +00:00
Florian Fainelli 7e47109379 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:24 +00:00
Florian Fainelli ae346cafa2 linux-atm: factor common descriptions
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:21 +00:00
Florian Fainelli d6328b1ebb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:18 +00:00
Florian Fainelli ea51c07a17 cns3xxx: advertise pcie usb usbgadget features
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:12 +00:00
Florian Fainelli 4a233e175e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:09 +00:00
Jo-Philipp Wich b0ab057b72 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 15:24:21 +00:00
Florian Fainelli b6f39ce33a [brcm63xx ] Fix Comtrend AR-5381u Power LED
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 15:19:50 +00:00
Felix Fietkau c9250641c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 12:06:40 +00:00
Florian Fainelli 75d0271704 [adm5120] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 16:18:40 +00:00
Mirko Vogt f456e95ddd Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 12:46:57 +00:00
Felix Fietkau 4a0f91482d kernel: disable more pci quirks to save space on platforms that don't need them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 10:33:47 +00:00
Steven Barth 70d19c877a ipv6-support: Second Iteration
* mode 'downstream' renamed to 'router'
* mode 'upstream' renamed to 'dhcpv6'
* mode 'relay' added
* cleanups and minor bugfixes in state handling

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 09:18:53 +00:00
Steven Barth 0789334c3c netifd: empty hotplug handler removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 07:20:44 +00:00
Gabor Juhos 7faa98983a mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:39 +00:00
Gabor Juhos 523556378b mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:37 +00:00
Steven Barth 8be018013d 6distributed: Poll for ubus to come up (fix race)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 19:06:48 +00:00
Felix Fietkau 011600d51e kernel 3.6+: switch to a crc32 implementation that is more suitable for small caches. reduces kernel image size by ~22 KiB on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:37:41 +00:00
Jo-Philipp Wich ab24863321 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:35:47 +00:00
Jo-Philipp Wich 7a03e9cd3a tools: e2fsprogs: delete doc/ directory after unpacking to ensure that makeinfo is not invoked
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:35:39 +00:00
Felix Fietkau 230a9f2b78 kernel: fix stripping symbol exports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 17:42:17 +00:00
Felix Fietkau a2cd55ec72 libubox: update to latest version, fixes blob/blobmsg endian issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:50:39 +00:00
Felix Fietkau 37455b343a tools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:17:33 +00:00
Hauke Mehrtens 816ed544af brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:11:39 +00:00
Hauke Mehrtens b1c02e0ceb b43-tools: pack the lcn firmware into the brcmsmac firmware package.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:09:23 +00:00
Hauke Mehrtens 19d0fc1c10 broadcom-wl: get the mmio address directly from the struct if bcma is used.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:07:43 +00:00
Felix Fietkau 7a620c3b96 build: it is no longer necessary to call make target/linux/clean as part of make clean
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:28 +00:00
Felix Fietkau 1c7f02bbb9 kernel: move KERNEL_BUILD_DIR under BUILD_DIR to properly fix gcc/libc based dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:24 +00:00
Felix Fietkau 7f4fd427f8 kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:19 +00:00
Felix Fietkau 6865361529 sstrip: remove a redundant copy of elf.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:15 +00:00
Jo-Philipp Wich 77febe3142 rules.mk: don't use $(realpath) in file_copy, the destination directory might not exist yet - spotted while doing a fresh build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:15:07 +00:00
Gabor Juhos dab30d99f1 ramips: fix serial console for Belkin F5D8235 v1/v2
Based on a patch from #12533.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 14:16:12 +00:00
Gabor Juhos ead6361419 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 13:04:04 +00:00
Gabor Juhos 0e27bbf8b9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 13:04:03 +00:00