Commit Graph

25177 Commits (cdf3b8f2337bf67103e4d5a2ecf70e4bcda9b64e)

Author SHA1 Message Date
Florian Fainelli cdf3b8f233 [adm8668] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:12 +00:00
Florian Fainelli 1a027d8005 [adm8668] cleanup and make interrupt code more robust
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:02 +00:00
Florian Fainelli e3f29c6ca9 [adm8668] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:57 +00:00
Florian Fainelli 580031c536 [adm8668] provide a system clock to be used by the MIPS timer
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:52 +00:00
Florian Fainelli 19bf4c0273 [adm8668] get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:47 +00:00
Florian Fainelli 66455ce5e7 [adm8668] get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:43 +00:00
Florian Fainelli f7b556bf27 [adm8668] implement early_printk without an early_console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:33 +00:00
Florian Fainelli c42e9b5f6a [adm8668] simplify IRQ controller code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:27 +00:00
Florian Fainelli 213368a9bd [adm8668] use platform_add_devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:22 +00:00
Florian Fainelli de49325c0a [adm8668] move time related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

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