Commit Graph

7526 Commits (2ad90a1ec346edbb2e822f27dfa519ee036b4768)

Author SHA1 Message Date
Hauke Mehrtens 11125d68ed brcm47xx: fix usb on more recent bcma based devices.
SVN-Revision: 29605
13 years ago
Gabor Juhos 7b1e525b56 ramips: initial support for Sitecom WL-351 v1 002
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

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

SVN-Revision: 29604
13 years ago
Gabor Juhos 2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
13 years ago
Gabor Juhos 03bce34384 ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

SVN-Revision: 29602
13 years ago
Felix Fietkau db0a1db257 ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)
SVN-Revision: 29598
13 years ago
Jonas Gorski 8799627ef0 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

SVN-Revision: 29595
13 years ago
Jo-Philipp Wich ebefe1eb3a the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)
SVN-Revision: 29593
13 years ago
Hauke Mehrtens 0cd03df3b1 brcm47xx: remove patch starting adding brcm4716 to ssb
brcm4716 is supported by bcma now we do not need this patch

SVN-Revision: 29576
13 years ago
Hauke Mehrtens 5b8686c303 brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.

SVN-Revision: 29575
13 years ago
Hauke Mehrtens 1aa5a61754 kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
SVN-Revision: 29574
13 years ago
Hauke Mehrtens 91d0ef6f19 brcm47xx: remove support for kernel 2.6.39
There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.

SVN-Revision: 29573
13 years ago
Felix Fietkau 11013ad947 ar71xx: add missing wireless led changes for wzr-hp-g300nh2
SVN-Revision: 29568
13 years ago
Felix Fietkau 0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
13 years ago
Gabor Juhos 5a0a2b2f1b ar71xx: use 64kraw template on more TP-Link boards
SVN-Revision: 29561
13 years ago
Gabor Juhos 67c7980290 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

SVN-Revision: 29557
13 years ago
Gabor Juhos 5bbd416e38 ar71xx: add defines for the AR934X GMAC interface
SVN-Revision: 29556
13 years ago
Gabor Juhos e47a8c2bb2 ar71xx: fix GMAC1 interface speed on the DB120 board
SVN-Revision: 29555
13 years ago
Gabor Juhos 36bc2c2c80 ar71xx: ag71xx: fix switch port setup for AR934X
SVN-Revision: 29554
13 years ago
Gabor Juhos 00667c3846 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
SVN-Revision: 29553
13 years ago
Gabor Juhos 0540970345 ar71xx: ag71xx: setup switch interface mode on AR934X
SVN-Revision: 29552
13 years ago
Gabor Juhos 44014110b8 ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
SVN-Revision: 29551
13 years ago
Gabor Juhos e2a546d475 ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
13 years ago
Gabor Juhos 9ae65588d8 ar71xx: introduce ar71xx_switch_data
SVN-Revision: 29549
13 years ago
Gabor Juhos bfe747b7d9 ar71xx: build images for TL-WR741N/ND v2
SVN-Revision: 29548
13 years ago
Gabor Juhos aefff26624 ar71x: use raw squashfs images for TP-Link boards
SVN-Revision: 29547
13 years ago
Gabor Juhos d5bd28ffae ar71xx: create a template for using unpadded squashfs images
SVN-Revision: 29546
13 years ago
Gabor Juhos dbc4fa4b5b ar71xx: put squash image right after the kernel on TP-Link boards
SVN-Revision: 29545
13 years ago
Gabor Juhos 850be54b72 ar71xx: tplinkpart: allow to detect JFFS2 as well
SVN-Revision: 29543
13 years ago
Gabor Juhos b7d7481b07 ar71xx: ag71xx: check PHY IDs before accessing the switch registers
SVN-Revision: 29541
13 years ago
Gabor Juhos 0655552860 ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
SVN-Revision: 29540
13 years ago
Gabor Juhos 204fc6bed5 ar71xx: ag71xx: nuke ar7240sw_init
SVN-Revision: 29539
13 years ago
Gabor Juhos d1f7783612 ar71xx: fix mac addresses on jjPlus devices
SVN-Revision: 29538
13 years ago
Gabor Juhos d3058b8f8c ar71xx: build image for the Hornet-UB board
SVN-Revision: 29536
13 years ago
Gabor Juhos b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
13 years ago
Gabor Juhos 66c8cc0f6d ar71xx: add GPIO function bit defines for AR933X
SVN-Revision: 29534
13 years ago
Gabor Juhos 0c38d36488 ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

SVN-Revision: 29533
13 years ago
Felix Fietkau 7076d74b21 ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
13 years ago
Felix Fietkau b878f4a927 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
SVN-Revision: 29531
13 years ago
Felix Fietkau e3017bc05e ath9k: add support for registering extra leds connected to the wmac gpio lines
SVN-Revision: 29530
13 years ago
Gabor Juhos d2717d3d47 ar71xx: get rid of squashfs-4k images
SVN-Revision: 29522
13 years ago
Gabor Juhos 5afedc67e2 generic: disable 'small sector' erase in m25p80 driver
This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html

SVN-Revision: 29521
13 years ago
Felix Fietkau 4a441570ca kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
SVN-Revision: 29516
13 years ago
Felix Fietkau 3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
13 years ago
Gabor Juhos 2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
13 years ago
Gabor Juhos 058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29513
13 years ago
Felix Fietkau 48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
13 years ago
Gabor Juhos 4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
13 years ago
John Crispin 934eef78ca convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

SVN-Revision: 29486
13 years ago
Gabor Juhos 6e69765559 ar71xx: fix WNDR3x00 factory image generation
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29473
13 years ago
Gabor Juhos 8eb8a6e1e7 ar71xx: fix WNDR3x00 model detection
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29472
13 years ago