summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: fix usb on more recent bcma based devices.hauke2011-12-231-4/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: initial support for Sitecom WL-351 v1 002juhosg2011-12-2313-5/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for the Senao/EnGenius ESR-9753 boardjuhosg2011-12-2314-1/+190
| | | | | | Signed-off-by: Artur Wronowski <arteqw@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: define firmware partition for Omnima MiniEMBWiFijuhosg2011-12-231-0/+4
| | | | | | Patch-by: Ivan Ignjatic <ivan@omnima.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set a reserved bit that resets to 1 when writing the address table ↵nbd2011-12-221-0/+2
| | | | | | control register on the ar7240 switch (should fix #10547) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450Hjogo2011-12-211-0/+8
| | | | | | Thanks netprince for reporting and testing. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach ↵jow2011-12-211-1/+1
| | | | | | id of the WZR-HP-AG300H, correct the id (#10649) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove patch starting adding brcm4716 to ssbhauke2011-12-191-104/+0
| | | | | | | brcm4716 is supported by bcma now we do not need this patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.hauke2011-12-1910-521/+1768
| | | | | | | This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to version master-2011-12-16 from wireless-testinghauke2011-12-1931-3949/+17429
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove support for kernel 2.6.39hauke2011-12-1936-3310/+0
| | | | | | | There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing wireless led changes for wzr-hp-g300nh2nbd2011-12-191-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the wzr-hp-g300nh2nbd2011-12-1810-0/+231
| | | | | | Signed-off-by: Mark Deneen <mdeneen@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use 64kraw template on more TP-Link boardsjuhosg2011-12-171-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: connect GMAC0 to the internal switch on DB120juhosg2011-12-152-1/+35
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add defines for the AR934X GMAC interfacejuhosg2011-12-151-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GMAC1 interface speed on the DB120 boardjuhosg2011-12-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix switch port setup for AR934Xjuhosg2011-12-151-11/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934Xjuhosg2011-12-152-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: setup switch interface mode on AR934Xjuhosg2011-12-151-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: detect the built-in switch of the AR934X SoCsjuhosg2011-12-151-12/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to attach the internal switch for AR934xjuhosg2011-12-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: introduce ar71xx_switch_datajuhosg2011-12-155-8/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build images for TL-WR741N/ND v2juhosg2011-12-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71x: use raw squashfs images for TP-Link boardsjuhosg2011-12-151-20/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create a template for using unpadded squashfs imagesjuhosg2011-12-151-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: put squash image right after the kernel on TP-Link boardsjuhosg2011-12-151-4/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: tplinkpart: allow to detect JFFS2 as welljuhosg2011-12-151-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: check PHY IDs before accessing the switch registersjuhosg2011-12-151-9/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724xjuhosg2011-12-151-13/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: nuke ar7240sw_initjuhosg2011-12-151-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix mac addresses on jjPlus devicesjuhosg2011-12-152-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build image for the Hornet-UB boardjuhosg2011-12-141-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ALFA Network's Hornet-UB boardjuhosg2011-12-149-0/+160
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add GPIO function bit defines for AR933Xjuhosg2011-12-141-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Omnima MiniEMBWiFi boardjuhosg2011-12-1411-1/+140
| | | | | | | | | This patch adds support for the Omnima MiniEMBWiFi Ralink RT3050F based board. Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix gpio count for ar7241/ar7242nbd2011-12-142-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register extra leds behind the wireless mac on wzr-hp-g450hnbd2011-12-143-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add support for registering extra leds connected to the wmac gpio linesnbd2011-12-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: get rid of squashfs-4k imagesjuhosg2011-12-131-11/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29522 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: disable 'small sector' erase in m25p80 driverjuhosg2011-12-136-0/+126
| | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move linux/ath9k_platform.h to generic files so that it can be ↵nbd2011-12-131-0/+0
| | | | | | reused from other targets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wireless led on wzr-hp-g450hnbd2011-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable AR9341 support at setup.cjuhosg2011-12-131-0/+6
| | | | | | Patch-by: dyq <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2juhosg2011-12-135-5/+8
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add gpios and usb for wzr-hp-g450hnbd2011-12-131-2/+73
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use RedBoot parser on PB44juhosg2011-12-111-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [atheros] convert to gpiolibblogic2011-12-092-0/+536
| | | | | | Signed-off-by: karlp@tweak.net.au git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WNDR3x00 factory image generationjuhosg2011-12-071-2/+2
| | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WNDR3x00 model detectionjuhosg2011-12-071-14/+17
| | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73