Commit graph

20934 commits

Author SHA1 Message Date
Florian Fainelli
a8965f0005 make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

SVN-Revision: 32487
2012-06-23 11:03:40 +00:00
Florian Fainelli
7c984552ed 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.

SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli
2c47bbc199 regroup interrupt controller register definitions in hardware.h
SVN-Revision: 32485
2012-06-23 11:03:29 +00:00
Jo-Philipp Wich
7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it
SVN-Revision: 32482
2012-06-21 19:41:47 +00:00
Florian Fainelli
481c9faf20 remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

SVN-Revision: 32481
2012-06-21 12:20:47 +00:00
Florian Fainelli
4b33e0996e fix USB led triggers
SVN-Revision: 32474
2012-06-20 21:58:00 +00:00
Florian Fainelli
a98c74164e use generic uci defaults functions
SVN-Revision: 32473
2012-06-20 21:57:56 +00:00
Florian Fainelli
007fa4d638 remove uselss cache invalidations
SVN-Revision: 32472
2012-06-20 21:57:53 +00:00
Florian Fainelli
9a2367aa6d improve ethernet driver debugging
SVN-Revision: 32471
2012-06-20 21:57:49 +00:00
Florian Fainelli
3b0dba382b do not use MULTI_IRQ_HANDLER it is bogus on our platform
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

SVN-Revision: 32470
2012-06-20 21:57:45 +00:00
Mirko Vogt
f45cd30543 verified to work - remove broken flag
SVN-Revision: 32469
2012-06-20 19:04:35 +00:00
Felix Fietkau
3143f03568 toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package
SVN-Revision: 32467
2012-06-20 13:45:01 +00:00
John Crispin
f6ef96fab2 add and export HOSTCC_NOCACHE
SVN-Revision: 32466
2012-06-20 07:48:47 +00:00
Vasilis Tsiligiannis
1978c07539 Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
2012-06-19 22:36:53 +00:00
Vasilis Tsiligiannis
82dc07f6f2 busybox: Enable ibs, obs and conv options on 'dd'
SVN-Revision: 32464
2012-06-19 22:34:49 +00:00
Jo-Philipp Wich
6387e8e458 ppp: annotate most patches with description and S-o-b
SVN-Revision: 32463
2012-06-19 17:03:24 +00:00
Florian Fainelli
f4afa00862 add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462
2012-06-19 14:48:56 +00:00
Gabor Juhos
7c87391c55 ar71xx: create profile and build image for the TL-WDR4300 board
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Gabor Juhos
2d97a52045 ar71xx: add user space support for the TL-WDR4300
SVN-Revision: 32460
2012-06-19 11:51:18 +00:00
Gabor Juhos
8b9931fd27 ar71xx: add support for the TL-WDR4300 board
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
e6a10d5cdd ar71xx: refresh patches
SVN-Revision: 32458
2012-06-19 11:51:15 +00:00
Gabor Juhos
86c6543259 ar71xx: make AR8327 LEDs working on the DB120 board
SVN-Revision: 32457
2012-06-19 10:44:17 +00:00
Gabor Juhos
b934fa2f16 generic: ar8216: allow to configure AR8327 LEDs via platform data
SVN-Revision: 32456
2012-06-19 10:44:16 +00:00
Gabor Juhos
f509a87f2d ar71xx: remove superfluous include of asm/mach-ath79/pci.h
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f ar71xx: add a common function to configure USB power GPIOs
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Gabor Juhos
27fea0b6d7 ar71xx: correctly detect NETGEAR WNDRMAC
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32453
2012-06-19 10:13:38 +00:00
Gabor Juhos
ee9bc123fb ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32452
2012-06-19 10:13:37 +00:00
Gabor Juhos
2cd8c216dc tools/e2fsprogs: don't build e4defrag
Compilation fails on older systems due to missing syscalls, and the
e4defrag tool is not used by the build-system anyway.

SVN-Revision: 32451
2012-06-19 09:52:18 +00:00
Gabor Juhos
833b4af816 ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w

Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>

SVN-Revision: 32450
2012-06-19 09:52:15 +00:00
Felix Fietkau
431e612d9e mac80211: fix linux 3.5 compatibility
SVN-Revision: 32449
2012-06-19 00:59:19 +00:00
Felix Fietkau
5e204a09cf mac80211: fix AP multi-BSSID support (#11698)
SVN-Revision: 32448
2012-06-19 00:53:20 +00:00
Felix Fietkau
26cf21df02 ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
5d364d0ca1 ar71xx: add support for reading the MAC address from OTP ROM on AR933x
SVN-Revision: 32446
2012-06-19 00:21:58 +00:00
Jo-Philipp Wich
231f5ebb28 zlib fix for btrfs
Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>

SVN-Revision: 32444
2012-06-18 23:59:57 +00:00
Jo-Philipp Wich
c2b78f87d9 openssl does not compile with uml and arch x86_64
Hi,

I found that openssl did not compile on the uml target under x86_64. The
attached patch should
correct this and is working for me. Is this the right way to do it?

thanks,
Thomas

SVN-Revision: 32443
2012-06-18 23:54:08 +00:00
Jo-Philipp Wich
970918cc45 toolchain/insight: update download location and MD5 sum to status quo
insight GDB version 6.8-1 sources have apparently changed.
The original file is no longer available upstream.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32438
2012-06-18 23:41:48 +00:00
Jo-Philipp Wich
f06473f8ff optimize kernel config for kvm_guest
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 32436
2012-06-18 23:36:50 +00:00
Felix Fietkau
cfe79471d1 kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 32434
2012-06-18 23:30:48 +00:00
Jo-Philipp Wich
3cf347124a kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)
SVN-Revision: 32433
2012-06-18 23:26:36 +00:00
Jo-Philipp Wich
d65c855203 6rd: apply the same simplifications done in 6to4 and 6in4
SVN-Revision: 32432
2012-06-18 23:08:20 +00:00
Jo-Philipp Wich
fdfffd0fbe Add new package for configuring 6rd tunnels.
This patch adds support for manually configuring 6rd tunnels. It depends on
the netifd patches I sent earlier, which add 6rd support.

A basic interface configuration looks like:

    config interface 'wan6'
      option proto '6rd'
      option peeraddr '192.0.2.1'
      option ip6prefix '2123::'
      option ip6prefixlen '16'
      option ip4prefixlen '0'

Where ip4prefixlen is optional and actually defaults to 0, which would use all
bits of the IPv4 in the calculated IPv6 subnet.

I believe it should be possible to configure a regular 6to4 tunnel using this,
and that we may want to merge the two eventually, but there are some larger

differences between the two at the moment:

 - 6rd addresses can be more difficult to calculate. My ISP, for example, has
   a setup with a v6 mask of 43 bits, and a v4 mask of 19.

 - 6to4 has support for configuring radvd. This is something we want, of
   course, but it seems best to deal with this in a separate patch.

Just creating a new package looked like the quickest way to get this in.

This work is based on the 6in4 package, and work by Stijn Tintel.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>

SVN-Revision: 32431
2012-06-18 23:08:18 +00:00
Jo-Philipp Wich
985eab3706 netifd: bump again to git head, fix device present state after reconnecting shell protos
SVN-Revision: 32430
2012-06-18 23:01:04 +00:00
Felix Fietkau
575f47b36e netifd: update to latest version again, fixes route6 issues (#11528)
SVN-Revision: 32429
2012-06-18 21:52:28 +00:00
Jo-Philipp Wich
4dc3b124e9 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts
SVN-Revision: 32428
2012-06-18 21:40:34 +00:00
Felix Fietkau
992d685ea4 netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)
SVN-Revision: 32426
2012-06-18 21:23:09 +00:00
Florian Fainelli
6de0939c3a build: allow KERNELNAME to contain multiple kernel make targets
SVN-Revision: 32423
2012-06-18 13:20:50 +00:00
Jo-Philipp Wich
cbac321164 remove inittab override
SVN-Revision: 32422
2012-06-18 11:50:37 +00:00
John Crispin
0a684babcc fix ccache related build breakage
SVN-Revision: 32421
2012-06-18 08:50:26 +00:00
Felix Fietkau
3360067932 mac80211: update to wireless-testing 2012-06-14
SVN-Revision: 32420
2012-06-18 01:26:36 +00:00
Jo-Philipp Wich
c73b39fd30 uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses
SVN-Revision: 32419
2012-06-18 00:41:43 +00:00