Commit Graph

8608 Commits (6c9d20d6e7595b67aed95b23847c8f23ac89f192)

Author SHA1 Message Date
John Crispin 6c9d20d6e7 tools/firmware-utils/ptgen option to use MB rounding
SVN-Revision: 33218
12 years ago
John Crispin 968ac3fd03 add led defintion for the WR2543 5GHz WLAN LED
Signed-off-by: Andy Leiserson <andy@leiserson.org>

SVN-Revision: 33215
12 years ago
Hauke Mehrtens 3133d4d8de remove unused file
SVN-Revision: 33210
12 years ago
Hauke Mehrtens 9eaee85cc2 make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

SVN-Revision: 33209
12 years ago
Hauke Mehrtens f4d6baf498 update gpio patches
SVN-Revision: 33208
12 years ago
Gabor Juhos 67e6461ad7 ramips: add board alias for the ALL0239-3G
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

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

SVN-Revision: 33206
12 years ago
Gabor Juhos 89606b61b1 ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

SVN-Revision: 33205
12 years ago
Gabor Juhos 182a18a369 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

SVN-Revision: 33202
12 years ago
Gabor Juhos 5d84dabf0f generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

SVN-Revision: 33193
12 years ago
John Crispin 76954dc8b0 set xen images to gzip compression, fixes #11970
SVN-Revision: 33192
12 years ago
Florian Fainelli a183ced08e MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

SVN-Revision: 33188
12 years ago
John Crispin 5f8ffb8873 fixes gpio_dev un/reload balancing
Signed-off-by: SHI Bin <shibin@ctsing.com>

SVN-Revision: 33183
12 years ago
Florian Fainelli 25792cb971 generic: enhanced image Makefile
* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

SVN-Revision: 33174
12 years ago
Gabor Juhos 5fc4b7f5fd ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33165
12 years ago
Florian Fainelli f164b71189 leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33158
12 years ago
Florian Fainelli f0f10014a0 BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33157
12 years ago
Florian Fainelli 9b91c62917 nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33156
12 years ago
Gabor Juhos 82759a1716 ramips: rename rt3352 usb platform devices
In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.

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

SVN-Revision: 33145
12 years ago
Gabor Juhos 1525620b0e ramips: watchdog: use maximum possible timeout by default
As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.

As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33144
12 years ago
Gabor Juhos 615a619bc7 ramips: provide means to specify custom "image name" for uImages, use for DIR-620
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33143
12 years ago
Gabor Juhos 9365113040 ramips: add D-Link DIR-620 A1 support
Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.

Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33142
12 years ago
Gabor Juhos b942309f4f generic: use __meminit annotation for crashlog_init_memblock
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

SVN-Revision: 33137
12 years ago
Florian Fainelli 2cf28cff7d only support 128KiB erase block sizes
SVN-Revision: 33131
12 years ago
Florian Fainelli 035b41bafb disable PCI support
None of the boards we support have PCI connectors

SVN-Revision: 33130
12 years ago
Florian Fainelli 639112f0d5 strip a bit more the kernel config
SVN-Revision: 33129
12 years ago
Florian Fainelli 0f91df4de6 properly advertise OHCI and EHCI capabilities
SVN-Revision: 33128
12 years ago
Florian Fainelli 43ddb1d7af change partition names to be more in line with other OpenWrt devices
SVN-Revision: 33127
12 years ago
Florian Fainelli 911a83dffc generate upgrade files suffixed with filesystem type
SVN-Revision: 33126
12 years ago
Florian Fainelli c16bf519f1 nuport-mac: delay call to napi_start() until fully able to process RX
SVN-Revision: 33079
12 years ago
Florian Fainelli 0028429dfa set a compatible command-line to boot from flash
SVN-Revision: 33078
12 years ago
Gabor Juhos 5dd996bc2a generic: rtl8366_smi: increase delay after switch hw reset
SVN-Revision: 33077
12 years ago
Jo-Philipp Wich c8a0166212 Fix hard reset of alix/soekris hardware under heavy NIC load
The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 33072
12 years ago
Florian Fainelli 47380a4388 nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

SVN-Revision: 33071
12 years ago
Florian Fainelli 7f9bfa3fcd nuport-mac: rework PHY interrupt configuration to avoid races
SVN-Revision: 33070
12 years ago
Florian Fainelli 5e877f02b4 nuport-mac: close possible race condition during start
SVN-Revision: 33069
12 years ago
Florian Fainelli 35351a28b9 nuport-mac: unmap the DMA buffer when closing device
SVN-Revision: 33068
12 years ago
Florian Fainelli b77494fa2f nuport-mac: check dma_map_single address return values
SVN-Revision: 33067
12 years ago
Florian Fainelli 798cc28d73 build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

SVN-Revision: 33066
12 years ago
Florian Fainelli f8386ecbc6 cleanup image generation
SVN-Revision: 33065
12 years ago
John Crispin 64b385dda7 pci gpio mapping
This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 33054
12 years ago
Jonas Gorski 4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
12 years ago
Hauke Mehrtens a0fb060211 update tg3 driver
SVN-Revision: 33004
12 years ago
Hauke Mehrtens 35661401da generate image for Linksys e3200
SVN-Revision: 33003
12 years ago
Hauke Mehrtens a71f347c30 brcm47xx: update gpio patch
SVN-Revision: 33001
12 years ago
Hauke Mehrtens 1d40a652ee brcm47xx: fix patch which moves the flash struct in wgt634u code
SVN-Revision: 33000
12 years ago
John Crispin 5f438c3565 W502V/ARV4525 wireless mac bugfix
The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 32993
12 years ago
Hauke Mehrtens 0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
12 years ago
John Crispin 060b161ca6 cleanup patches
SVN-Revision: 32953
12 years ago
Florian Fainelli 162e272b4b nuport-mac: properly protect the phy interrupt handler
SVN-Revision: 32951
12 years ago
John Crispin f45132d1d4 Codel: avoid a nul rec_inv_sqrt
One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 32950
12 years ago