Commit graph

22380 commits

Author SHA1 Message Date
Florian Fainelli
47ccbaaa91 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
2012-12-06 22:39:57 +00:00
Florian Fainelli
e37f6fb458 provide a system clock to be used by the MIPS timer
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34550
2012-12-06 22:39:52 +00:00
Florian Fainelli
79c2ce01b7 get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34549
2012-12-06 22:39:47 +00:00
Florian Fainelli
afc2b07be1 get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34548
2012-12-06 22:39:43 +00:00
Florian Fainelli
2dee2133c5 implement early_printk without an early_console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34547
2012-12-06 22:39:33 +00:00
Florian Fainelli
f85115efd8 simplify IRQ controller code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34546
2012-12-06 22:39:27 +00:00
Florian Fainelli
50303d52e2 use platform_add_devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34545
2012-12-06 22:39:22 +00:00
Florian Fainelli
192c1e90bc move time related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34544
2012-12-06 22:39:18 +00:00
Florian Fainelli
1f939889ca move setup-related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34543
2012-12-06 22:39:08 +00:00
Steven Barth
82576f0ca3 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
2012-12-06 20:52:40 +00:00
Steven Barth
61e8c6b83b 6relayd: More RFC-compatibility and size reduction
SVN-Revision: 34541
2012-12-06 20:52:35 +00:00
Steven Barth
f14e1f1b1d 6distributed: Add compatibility with 6rd and 6to4
SVN-Revision: 34540
2012-12-06 20:52:30 +00:00
Jo-Philipp Wich
d221222907 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
2012-12-06 18:17:21 +00:00
Felix Fietkau
94c1d77886 kernel: fix video-core build on 3.6+
SVN-Revision: 34533
2012-12-06 14:11:19 +00:00
Felix Fietkau
abc03de599 kernel: add missing config symbols
SVN-Revision: 34532
2012-12-06 14:11:16 +00:00
Felix Fietkau
3e5940532d mac80211: clean up patches, replace patching config.mk with a generated sed expression
SVN-Revision: 34531
2012-12-06 14:11:09 +00:00
Florian Fainelli
85ce5212fe 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
2012-12-05 18:05:04 +00:00
Felix Fietkau
a3843e7ec7 kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
SVN-Revision: 34506
2012-12-05 16:49:48 +00:00
Florian Fainelli
eaa30e9776 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
2012-12-05 14:58:54 +00:00
Florian Fainelli
da069ac466 linux-atm: fix typo introduced in r34502
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34503
2012-12-05 14:37:03 +00:00
Florian Fainelli
b459e36579 linux-atm: package each available atm debug tool individually
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34502
2012-12-05 14:18:08 +00:00
Florian Fainelli
512baafc6b 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
2012-12-05 14:18:05 +00:00
Felix Fietkau
838d6e3b8d netifd: update to latest version, fixes resolv.conf writes on interface setting changes
SVN-Revision: 34500
2012-12-05 13:28:56 +00:00
Florian Fainelli
5698062707 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
2012-12-04 22:59:05 +00:00
Florian Fainelli
9e355444a6 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
2012-12-04 16:40:17 +00:00
Florian Fainelli
4f78be25e1 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
2012-12-04 16:19:24 +00:00
Florian Fainelli
250773ef32 linux-atm: factor common descriptions
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34476
2012-12-04 16:19:21 +00:00
Florian Fainelli
822ee5053e 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
2012-12-04 16:19:18 +00:00
Florian Fainelli
fd0729f35c 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
2012-12-04 16:19:12 +00:00
Florian Fainelli
592aa97626 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
2012-12-04 16:19:09 +00:00
Jo-Philipp Wich
6504b268b3 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
2012-12-04 15:24:21 +00:00
Florian Fainelli
d9d0814fc2 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
2012-12-04 15:19:50 +00:00
Felix Fietkau
8516ddb133 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
2012-12-04 12:06:40 +00:00
Florian Fainelli
d3cda51994 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
2012-12-03 16:18:40 +00:00
Mirko Vogt
4c30952394 Make ltq-dsl-app compile with an eglibc-based toolchain
Signed-Off-By: Frank Meerkötter <frank@meerkoetter.org>

SVN-Revision: 34468
2012-12-03 12:46:57 +00:00
Felix Fietkau
a7220cd9f8 kernel: disable more pci quirks to save space on platforms that don't need them
SVN-Revision: 34467
2012-12-03 10:33:47 +00:00
Steven Barth
4bda16cf27 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
2012-12-03 09:18:53 +00:00
Steven Barth
71ed7ae842 netifd: empty hotplug handler removed
SVN-Revision: 34465
2012-12-03 07:20:44 +00:00
Gabor Juhos
8cfe4bf9cd mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34464
2012-12-02 20:41:39 +00:00
Gabor Juhos
7a26eb9f13 mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34463
2012-12-02 20:41:37 +00:00
Steven Barth
c6b0c63cad 6distributed: Poll for ubus to come up (fix race)
SVN-Revision: 34462
2012-12-02 19:06:48 +00:00
Felix Fietkau
ec885796c0 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
2012-12-02 18:37:41 +00:00
Jo-Philipp Wich
5d253542d7 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
2012-12-02 18:35:47 +00:00
Jo-Philipp Wich
740daabdfd tools: e2fsprogs: delete doc/ directory after unpacking to ensure that makeinfo is not invoked
SVN-Revision: 34459
2012-12-02 18:35:39 +00:00
Felix Fietkau
24b31c9428 kernel: fix stripping symbol exports
SVN-Revision: 34458
2012-12-02 17:42:17 +00:00
Felix Fietkau
d38be845f4 libubox: update to latest version, fixes blob/blobmsg endian issues
SVN-Revision: 34456
2012-12-02 16:50:39 +00:00
Felix Fietkau
697cbb6d2f tools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux hosts
SVN-Revision: 34455
2012-12-02 16:17:33 +00:00
Hauke Mehrtens
2ac9ac5163 brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
SVN-Revision: 34454
2012-12-02 16:11:39 +00:00
Hauke Mehrtens
9362c121c8 b43-tools: pack the lcn firmware into the brcmsmac firmware package.
SVN-Revision: 34453
2012-12-02 16:09:23 +00:00
Hauke Mehrtens
3399d16dd7 broadcom-wl: get the mmio address directly from the struct if bcma is used.
SVN-Revision: 34452
2012-12-02 16:07:43 +00:00