Commit Graph

8207 Commits (e43a6b684eb31322f10d2b081e6649c32bde8206)

Author SHA1 Message Date
Gabor Juhos 507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
2012-02-23 19:58:12 +00:00
Gabor Juhos 5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
2012-02-23 19:58:11 +00:00
Gabor Juhos 49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
2012-02-23 19:58:10 +00:00
Gabor Juhos 00e7277a4c ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
SVN-Revision: 30700
2012-02-23 19:58:07 +00:00
Gabor Juhos 554010d55b ramips: image: introduce mkcmdline helper
SVN-Revision: 30699
2012-02-23 19:58:06 +00:00
Gabor Juhos 32c6d63acf ramips: image: use the GENERIC_4M template for the V11ST-FE board
SVN-Revision: 30698
2012-02-23 19:58:04 +00:00
Gabor Juhos ab65053cf0 ramips: image: simplify Makefile a bit
SVN-Revision: 30697
2012-02-23 19:58:03 +00:00
Gabor Juhos 9017fce3a2 ramips: image: add MkImageLzma wrapper
SVN-Revision: 30696
2012-02-23 19:58:02 +00:00
Gabor Juhos c9d8f471fc ramips: image: allow to build board specific initramfs images
SVN-Revision: 30695
2012-02-23 19:58:01 +00:00
John Crispin b168535b10 drop backported patches as they cause regressions and oopses
SVN-Revision: 30690
2012-02-23 07:42:04 +00:00
John Crispin e5798d7c9b fixes etop locking issue
SVN-Revision: 30689
2012-02-23 07:42:00 +00:00
Gabor Juhos c0974b46a5 ramips: merge identical switch configuration entries
SVN-Revision: 30688
2012-02-22 19:46:19 +00:00
Gabor Juhos a9101a144c ramips: use unified switch identifiers in uci-defaults/network
SVN-Revision: 30687
2012-02-22 19:46:17 +00:00
Gabor Juhos b6522f372f ramips: fix VLAN config of the RT-N15
SVN-Revision: 30686
2012-02-22 19:46:15 +00:00
Gabor Juhos a18a821733 ramips: raeth: show interrupt statistics in debugfs
SVN-Revision: 30681
2012-02-22 13:06:44 +00:00
Gabor Juhos 214216c04d ramips: raeth: add debugfs support
SVN-Revision: 30680
2012-02-22 13:06:42 +00:00
Gabor Juhos c1e4d709fa ramips: raeth: rename main source file
SVN-Revision: 30679
2012-02-22 13:06:41 +00:00
Gabor Juhos 5e6bc97d0c ramips: raeth: add missing Kconfig and Makefile
SVN-Revision: 30671
2012-02-21 09:44:30 +00:00
Gabor Juhos 3ba0f4e1ca ramips: move the ethernet driver into a separate directory
Also clean up the Kconfig symbols.

SVN-Revision: 30670
2012-02-21 09:26:43 +00:00
Gabor Juhos a6d904b1d6 ramips: rename the spi driver
SVN-Revision: 30669
2012-02-21 09:26:41 +00:00
Felix Fietkau c918810414 ar71xx: switch to kmod-gpio-button-hotplug
SVN-Revision: 30660
2012-02-20 10:51:48 +00:00
Felix Fietkau 058d331a39 kernel: strip unnecessary symbol table information from kernel modules, reduces default squashfs size on ar71xx by about 4k
SVN-Revision: 30657
2012-02-20 09:03:17 +00:00
Gabor Juhos dd001a4b0f ramips: rt3883: make rt3883_nand_data visible
SVN-Revision: 30655
2012-02-19 19:40:37 +00:00
Gabor Juhos 62f213eab9 ramips: merge 3.2 fixes
SVN-Revision: 30652
2012-02-19 17:52:23 +00:00
Gabor Juhos 18fdaee00b ramips: nuke 2.6.39 support
SVN-Revision: 30651
2012-02-19 17:52:20 +00:00
Gabor Juhos e2ea72515f ramips: rt305x: nuke built-in MTD partition maps
SVN-Revision: 30650
2012-02-19 17:52:15 +00:00
Gabor Juhos de6405c898 ramips: rt288x: nuke built-in MTD partition maps
SVN-Revision: 30649
2012-02-19 17:52:11 +00:00
Gabor Juhos e7f59b9326 ramips: build sysupgrade image for the V11ST-FE board
SVN-Revision: 30648
2012-02-19 17:52:08 +00:00
Gabor Juhos 3489515a7e ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]

Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>

SVN-Revision: 30645
2012-02-19 16:44:49 +00:00
Hauke Mehrtens 5dec9dd3b2 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.

SVN-Revision: 30639
2012-02-18 23:21:47 +00:00
Hauke Mehrtens 1122b231f9 brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9.
It also adds sprom from nvram support for devices on the bcma bus.

SVN-Revision: 30638
2012-02-18 23:08:26 +00:00
Gabor Juhos 990ed96a2a ralink: rt3883: disable the 2GHz band on the RT-N56U
SVN-Revision: 30632
2012-02-18 17:36:21 +00:00
Gabor Juhos 5710530c41 ramips: rt3883: make rt3883_wlan_data visible
SVN-Revision: 30631
2012-02-18 17:36:16 +00:00
Gabor Juhos 799e9cbec8 generic: add disable_[25]ghz to struct rt2x00_platform_data
SVN-Revision: 30630
2012-02-18 17:36:13 +00:00
Gabor Juhos 3d20de331d ar71xx: fix image signature for UBNT-XM boards
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Gabor Juhos 383008635a generic/2.6.37: fix 'set but unused' build errors on MIPS
SVN-Revision: 30615
2012-02-17 17:21:03 +00:00
Gabor Juhos e17a3ffbbd ramips: extract eeprom for the built-in wlan module on the RT-N56U
SVN-Revision: 30604
2012-02-16 20:06:22 +00:00
Gabor Juhos dabca24361 ramips: rt3883: change eeprom file name
SVN-Revision: 30603
2012-02-16 20:06:21 +00:00
Vasilis Tsiligiannis eed8e2a4fd Disable by default padding of images
SVN-Revision: 30590
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis 8676e49d9d Allow gzipping of squashfs images with padded jffs2 partition
SVN-Revision: 30589
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis ab09db09fc GZip only ext4 and padded images
SVN-Revision: 30588
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis b4f51343c6 Make gzipping of images configurable via menuconfig
SVN-Revision: 30587
2012-02-16 17:53:57 +00:00
Gabor Juhos 3004f30f01 ar71xx: remove duplicated define from the D-Link profile
SVN-Revision: 30577
2012-02-16 09:03:27 +00:00
Gabor Juhos 00d963999d ramips: select HW_HAS_PCI on per-board basis
SVN-Revision: 30576
2012-02-16 08:17:54 +00:00
Gabor Juhos fc967295ec ramips: rt3883: remove a stray character from rt3883.h
SVN-Revision: 30575
2012-02-16 08:17:53 +00:00
Gabor Juhos b4af07d5c0 ramips: rt288x: don't register the PCI controller on each board
SVN-Revision: 30574
2012-02-16 08:17:52 +00:00
Gabor Juhos f8a56dc8df ramips: raeth: separate ring allocation and setup
SVN-Revision: 30573
2012-02-16 08:17:50 +00:00
Gabor Juhos d186c17aa6 generic: add SND_PPC symbol
SVN-Revision: 30572
2012-02-16 07:51:44 +00:00
Daniel Dickinson 1bb8a7613e Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
SVN-Revision: 30571
2012-02-16 07:45:28 +00:00
Daniel Dickinson b797f72319 d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson c736e2d4b0 Fix partitions for Cameo-based boards; kernel 3.2 is bigger
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson 4685a51301 image: For Cameo-based board fix adding mtd layout to kernel commandline)
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Jo-Philipp Wich 8dc1ff6cb1 linux 3.2: missing generic symbols
These symbols are dependent on CONFIG_PCI being enabled.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30565
2012-02-15 23:37:47 +00:00
Gabor Juhos 49fc54be3d ramips: rt288x: fix PCI resource conflict
SVN-Revision: 30563
2012-02-15 21:19:02 +00:00
Florian Fainelli 37f8c19028 correct PCI IO/Mem resource swapping
SVN-Revision: 30562
2012-02-15 21:13:21 +00:00
Florian Fainelli 3ceebbba14 add Ralink V11ST-FE board support
This board is equipped with:
- 4MB of NOR Flash
- 32MB of SDRAM
- IC+ IP175C switch
- one Mini-PCI slot

SVN-Revision: 30561
2012-02-15 21:13:11 +00:00
Gabor Juhos 8b8d9a8336 ramips: raeth: add a helper function for skb allocation
SVN-Revision: 30555
2012-02-15 18:33:42 +00:00
Gabor Juhos e57546de83 ramips: raeth: use netdev_alloc_skb
SVN-Revision: 30554
2012-02-15 18:33:41 +00:00
Gabor Juhos 064855314b ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
This helps GCC to generare more efficient code.

SVN-Revision: 30553
2012-02-15 18:33:40 +00:00
Gabor Juhos 8c95385d78 ramips: raeth: use 're' instead of 'priv' everywhere
SVN-Revision: 30552
2012-02-15 18:33:38 +00:00
Gabor Juhos b3b79365f3 ramips: raeth: force link down in ramips_phy_stop
SVN-Revision: 30550
2012-02-15 13:47:52 +00:00
Gabor Juhos 3e7b461431 ramips: raeth: serialize ramips_link_adjust calls
SVN-Revision: 30549
2012-02-15 13:47:50 +00:00
Gabor Juhos dcb13d4098 ramips: raeth: add PHYLIB support
SVN-Revision: 30547
2012-02-15 06:47:12 +00:00
John Crispin 23b2bd9494 linux-atm: update solos-pci driver to upstream
Fixes for the solos-pci driver.

- Corrects calculation of headroom for padding.
- Removes pointless debug messages.
- Expose Bis A and Bis M annex capabilities.
- Expose hardware revision.

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 30541
2012-02-14 20:11:24 +00:00
John Crispin 9e5b8ad833 linux-atm: headroom/padding fixes
Submitted upstream to netdev by Chas Williams on linux-atm.

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 30540
2012-02-14 20:11:22 +00:00
John Crispin 1a71f07d00 generate uboot environment data in target
With this patch it is possible to generate uboot environment config file
inside lantiq target. Currently it is only supporting GIGASX76X board.

uboot environment config is used by fw_printenv fw_setenv tools.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 30537
2012-02-14 19:07:11 +00:00
John Crispin 7416a5f0aa fix compile error in previous commit
SVN-Revision: 30534
2012-02-14 19:07:05 +00:00
John Crispin cd1a204365 Support booting the Speedport W502V using BRN-BOOT.
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

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

SVN-Revision: 30532
2012-02-14 17:48:04 +00:00
Gabor Juhos 02a01a16c7 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
SVN-Revision: 30529
2012-02-14 17:32:45 +00:00
Gabor Juhos 43d1a2c3ab ramips: rt3883: enable PCI on the RT-N56U board
SVN-Revision: 30528
2012-02-14 17:32:44 +00:00
Gabor Juhos 784be92e39 ramips: rt3883: add PCI support
SVN-Revision: 30527
2012-02-14 17:32:42 +00:00
Gabor Juhos 10f00dc48b ramips: rt3883: sync 2.6.39 config
SVN-Revision: 30526
2012-02-14 17:32:41 +00:00
Gabor Juhos ed79921fe5 ramips: use SoC specific irq.h
SVN-Revision: 30525
2012-02-14 17:32:40 +00:00
John Crispin 0b07769898 fixes irq locking in ethernet driver
SVN-Revision: 30522
2012-02-14 15:05:58 +00:00
John Crispin 55bf39e98c fixes gpio_export patch
SVN-Revision: 30521
2012-02-14 15:05:57 +00:00
John Crispin 976d3eb854 add annex selection support to ltq_dsl package
SVN-Revision: 30518
2012-02-14 15:05:49 +00:00
Gabor Juhos 9a0e17857e ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos 1c57a22aae ar71xx: add model detection for TL-WR842N/ND
SVN-Revision: 30507
2012-02-13 17:11:57 +00:00
Florian Fainelli e16916480d update to 3.2
SVN-Revision: 30503
2012-02-13 16:05:30 +00:00
Florian Fainelli 7bed2e2225 fix titan gpio register size
SVN-Revision: 30502
2012-02-13 16:05:27 +00:00
Gabor Juhos 8d5dfa75e6 ramips: rt3883: update package list in the default profile
SVN-Revision: 30499
2012-02-13 15:18:05 +00:00
Gabor Juhos 99c019fb0d ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
2012-02-13 15:18:04 +00:00
Gabor Juhos 97e641a0e6 ramips: raeth: enable MDIO code for RT3883
SVN-Revision: 30497
2012-02-13 15:18:03 +00:00
Gabor Juhos e532fa5fd4 ramips: add preliminary support for the RT3662/RT3883 SoCs
SVN-Revision: 30495
2012-02-13 15:17:59 +00:00
Florian Fainelli 4a0dc3a32a add support for 3.2
SVN-Revision: 30492
2012-02-13 12:36:34 +00:00
Hauke Mehrtens 30408f1cc4 brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
SVN-Revision: 30488
2012-02-12 22:41:20 +00:00
Hauke Mehrtens e7bd7f7e85 brcm47xx: activate config bug to show warnings
SVN-Revision: 30487
2012-02-12 22:40:01 +00:00
Gabor Juhos 22ec8b4839 ramips: use GENERIC_{4,8}M image template for WR5123GN
SVN-Revision: 30483
2012-02-12 18:04:47 +00:00
Gabor Juhos b7f129e19b ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
SVN-Revision: 30482
2012-02-12 18:04:46 +00:00
Hauke Mehrtens fa21aef5ab brcm47xx: refresh patches
SVN-Revision: 30481
2012-02-12 16:45:27 +00:00
Hauke Mehrtens 838c363886 brcm47xx: update usb driver for brcm47xx.
SVN-Revision: 30480
2012-02-12 16:38:10 +00:00
Gabor Juhos a287c60a61 ramips: add initial support for 3.2
SVN-Revision: 30476
2012-02-12 12:52:14 +00:00
Gabor Juhos 388013b0ce ramips: include 'linux/module.h' in the ramips_spi driver
SVN-Revision: 30475
2012-02-12 12:52:13 +00:00
Gabor Juhos faae4235c4 ramips: rt288x: remove per-board physmap_flash_data instances
SVN-Revision: 30474
2012-02-12 12:52:12 +00:00
Gabor Juhos 3502e2b93f ramips: rt305x: remove per-board physmap_flash_data instances
SVN-Revision: 30473
2012-02-12 12:52:10 +00:00
Imre Kaloz 143e861708 enable another l2 cache errate on newer kernels
SVN-Revision: 30472
2012-02-12 11:22:08 +00:00
Gabor Juhos 3a11dcdaa8 ramips: load gpio-polled keys module
SVN-Revision: 30463
2012-02-11 20:37:34 +00:00
Gabor Juhos 323ece9474 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
SVN-Revision: 30462
2012-02-11 19:37:11 +00:00
Gabor Juhos 32b9e8c750 ramips: use gpio-keys-polled instead of gpio-buttons
SVN-Revision: 30461
2012-02-11 19:37:06 +00:00
Imre Kaloz 8ce80f7454 add some missing symbols
SVN-Revision: 30460
2012-02-11 18:38:28 +00:00
Gabor Juhos 80b40497de ramips: add MIPS platform file
SVN-Revision: 30459
2012-02-11 18:16:11 +00:00
Gabor Juhos 80a535ba58 generic/2.6.39: refresh patches
SVN-Revision: 30458
2012-02-11 18:16:08 +00:00
Imre Kaloz 440a7fbc3b refresh patches to -rc3
SVN-Revision: 30456
2012-02-11 17:43:06 +00:00
Gabor Juhos 4e1b870f3e ramips: add MDIO bus support for RT288X
SVN-Revision: 30455
2012-02-11 16:49:56 +00:00
Imre Kaloz 0ace4636db rename 3.1 patches directory as it will be used for newer kernels as well
SVN-Revision: 30454
2012-02-11 15:59:23 +00:00
Imre Kaloz 1fb5ff4e04 rename 2.6.39 patches directory
SVN-Revision: 30453
2012-02-11 15:58:14 +00:00
Gabor Juhos 34a9ccf544 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30452
2012-02-11 15:31:18 +00:00
Gabor Juhos 8916c02b47 ramips: raeth: make debugging messages configurable
SVN-Revision: 30450
2012-02-11 15:12:10 +00:00
Gabor Juhos aac3ad4c0e ramips: raeth: use device pointer in DMA API calls
SVN-Revision: 30449
2012-02-11 15:12:08 +00:00
Gabor Juhos 1fd8724e94 ramips: raeth: add netdev pointer to private structure
SVN-Revision: 30448
2012-02-11 15:12:06 +00:00
Gabor Juhos c6fa11d00f ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
SVN-Revision: 30447
2012-02-11 15:12:05 +00:00
Gabor Juhos 2d055f130e ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
SVN-Revision: 30446
2012-02-11 15:12:04 +00:00
Gabor Juhos 7bd7ddcf4e ramips: raeth: add rx_dma array to store the DMA address of the rx packets
SVN-Revision: 30445
2012-02-11 15:12:02 +00:00
Gabor Juhos 647af823d9 ramips: raeth: use dma_addr_t for the descriptors
SVN-Revision: 30444
2012-02-11 15:12:01 +00:00
Gabor Juhos df5892d1f1 ramips: raeth: unmap DMA memory when a packet is received
SVN-Revision: 30443
2012-02-11 15:11:56 +00:00
Gabor Juhos 617954ca5d ramips: raeth: add a temporary pktlen variable
SVN-Revision: 30442
2012-02-11 15:11:55 +00:00
Gabor Juhos d1d492eaf9 ramips: raeth: protect macro parameters
SVN-Revision: 30441
2012-02-11 15:11:50 +00:00
Gabor Juhos 8250692359 ramips: raeth: indicate dropped packets in stats
SVN-Revision: 30440
2012-02-11 15:11:49 +00:00
Gabor Juhos c67adbbddb ramips: raeth: use the NUM_TX_DESC for the tx_skb array
SVN-Revision: 30439
2012-02-11 15:11:47 +00:00
Gabor Juhos a2c8789578 ramips: use uncached address in detect_mem_size
SVN-Revision: 30438
2012-02-11 15:11:45 +00:00
Gabor Juhos ba4c9b3a8f ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30437
2012-02-11 15:11:43 +00:00
Gabor Juhos f2dd67dc09 ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30436
2012-02-11 15:11:41 +00:00
Gabor Juhos d6b9f88743 ramips: refresh patches
SVN-Revision: 30435
2012-02-11 15:11:40 +00:00
Gabor Juhos 9cde29f1a7 ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19.

This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210

It's also worth noting that this board has a GPIO line to control the
power to the USB port.

[juhosg:
 - fix checkpatch warnings,
 - reorder Kconfig entry,
 - merge the sysupgrade patch,
 - add GPL header]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 30434
2012-02-11 15:11:36 +00:00
Gabor Juhos 59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
2012-02-11 15:11:34 +00:00
Gabor Juhos 7298ef2456 ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30432
2012-02-11 15:11:32 +00:00
Hauke Mehrtens 295a154f2f brcm47xx: print the chip id and rev found by ssb and bcma
SVN-Revision: 30428
2012-02-10 22:42:43 +00:00
Gabor Juhos 3708227f96 ar71xx: zero partition parser data in m25p80
Ths fixes parsing of RedBoot partitions.

SVN-Revision: 30427
2012-02-10 20:19:06 +00:00
Gabor Juhos 0430194cc3 ramips: fix compiler warning in prom.c
SVN-Revision: 30424
2012-02-10 17:38:46 +00:00
Hauke Mehrtens 4e332227d0 brcm47xx: update bcm5354 support patch
SVN-Revision: 30423
2012-02-10 17:22:26 +00:00
Gabor Juhos 6c07149c2d ar71xx: fix platform description
SVN-Revision: 30419
2012-02-10 15:27:49 +00:00
Gabor Juhos 724211aa0d generic: fix yaffs2 build warnings on 3.3
SVN-Revision: 30418
2012-02-10 15:21:43 +00:00
Gabor Juhos 766999085a ar71xx: ag71xx: add BQL support
It will be usable only from linux-3.3.

Based on a patch by Dave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 30417
2012-02-10 14:56:47 +00:00
Gabor Juhos fc069f030b ar71xx: add dummy DQL helper functions for 3.2
SVN-Revision: 30416
2012-02-10 14:56:44 +00:00
Gabor Juhos 32a18a05f8 ar71xx: add preliminary support for 3.3
SVN-Revision: 30410
2012-02-10 11:53:56 +00:00
Felix Fietkau 512df38f5c ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
SVN-Revision: 30409
2012-02-10 11:46:37 +00:00
Felix Fietkau 61f48beadd ar71xx: fix db120 board detection
SVN-Revision: 30408
2012-02-10 11:46:31 +00:00
Gabor Juhos 73b9a8bf9b ar71xx: allow to build ag71xx w/o PCI support enabled
SVN-Revision: 30407
2012-02-10 11:46:10 +00:00
Gabor Juhos fe0c7aac66 ar71xx: merge 3.2 fixes
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos d72bde99cd ar71xx: merge files-3.2 to files
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos 81b7aaefbe ar71xx: nuke 2.6.39 support
SVN-Revision: 30404
2012-02-10 08:19:28 +00:00
Gabor Juhos 650d777f3d ar71xx: switch to 3.2.5
SVN-Revision: 30403
2012-02-10 08:19:27 +00:00
Gabor Juhos abeab97efc ar71xx: refresh 3.2 patches
SVN-Revision: 30402
2012-02-10 08:19:25 +00:00
Gabor Juhos 6959317691 kernel: update linux 3.2 to 3.2.5
SVN-Revision: 30401
2012-02-10 08:19:23 +00:00
Gabor Juhos f754063159 ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
SVN-Revision: 30400
2012-02-09 21:19:57 +00:00
Felix Fietkau 848dedeb8b ar71xx: fix ar934x usb reset handling on 3.2
SVN-Revision: 30399
2012-02-09 20:39:41 +00:00
Gabor Juhos 31a0451cee generic: fix kexec build error for MIPS with gcc-4.6-linaro
SVN-Revision: 30395
2012-02-09 14:06:44 +00:00
Gabor Juhos 841f0f23b3 generic: 3.3: add missing config symbols
SVN-Revision: 30393
2012-02-09 08:07:52 +00:00
Gabor Juhos 098ca08e94 generic: 3.3: fix yaffs2 build error
SVN-Revision: 30392
2012-02-09 08:07:50 +00:00
Gabor Juhos 09c45f50d4 ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
SVN-Revision: 30391
2012-02-08 20:47:58 +00:00
Gabor Juhos c126bed503 ar71xx: 3.2: fix AHB clock name in rb4xx_spi
SVN-Revision: 30390
2012-02-08 20:47:56 +00:00
Gabor Juhos 32194001ed generic: fix yaffs2 build error on 3.2
SVN-Revision: 30389
2012-02-08 20:47:54 +00:00
Florian Fainelli fb53d25fa4 add more missing config symbols
SVN-Revision: 30386
2012-02-08 17:35:40 +00:00
Gabor Juhos 81f15f5026 ar71xx: add profile and build image for the TEW-673GRU board
SVN-Revision: 30377
2012-02-08 16:26:27 +00:00
Gabor Juhos 48e85cd47b ar71xx: add support for the TRENDNet TEW-673GRU board
SVN-Revision: 30376
2012-02-08 16:26:25 +00:00
Jo-Philipp Wich b91a542247 select GENERIC_ATOMIC64 implementation to fix xfs related build errors
SVN-Revision: 30371
2012-02-08 10:34:21 +00:00
Imre Kaloz bd8683ac93 add audio and display features
SVN-Revision: 30370
2012-02-08 10:21:48 +00:00
Jo-Philipp Wich f35c4a3266 8139cp: backport patches to make driver stable again
List of patches that Jo-Philipp groveled out of git.

Redux: defuzzed.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30366
2012-02-07 21:56:51 +00:00
Vasilis Tsiligiannis 834be6c1fe alix2, geos: Adjust CFLAGS
Clone of CFLAGS change from r30013 into Geos and Alix platforms.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30353
2012-02-07 13:00:47 +00:00
Felix Fietkau e430c864f4 kernel: add a recent upstream commit (post-3.3) to the ssb update patch, required for the next mac80211 update
SVN-Revision: 30345
2012-02-07 11:28:06 +00:00
Vasilis Tsiligiannis 42ec97097e generic: Enable HPET, HID and AT keyboard support
SVN-Revision: 30309
2012-02-05 17:56:04 +00:00
Vasilis Tsiligiannis b5ff8b85d6 generic: Add missing and remove unused config symbols
SVN-Revision: 30133
2012-02-04 20:45:17 +00:00
Jonas Gorski 778e5d4fa5 brcm63xx: add support for linux 3.3
SVN-Revision: 30027
2012-02-04 10:17:27 +00:00
Jonas Gorski 49874a57f1 kernel: fix netfilter layer7 compilation in 3.3
SVN-Revision: 30026
2012-02-04 10:17:14 +00:00
Jonas Gorski d6afe712ab x86: make alix platform patch apply to 3.3
Based on a patch from Philip Prindeville.

While at it, also refresh the patches.

SVN-Revision: 30025
2012-02-03 20:17:00 +00:00
Jo-Philipp Wich c433bfb571 disable additional PATA drivers in global 3.2 and 3.3 config, remove redundant symbols from alix2 config
SVN-Revision: 30024
2012-02-03 19:47:55 +00:00
Jo-Philipp Wich 40867f1b68 x86: trivial -- add missing CONFIG_GEOS symbol to top-level So that builds don't stall in x86 prompting for this symbol. [From Philip Prindeville, via http://patchwork.openwrt.org/patch/1828/]
SVN-Revision: 30023
2012-02-03 19:21:41 +00:00
Jo-Philipp Wich 79a3fdb9da geos: backport driver from linux-next to 3.2 and 3.3 The Geos driver is in linux-next and will be out in 3.4. It builds fine against 3.2.2 and 3.3-rc2. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30022
2012-02-03 18:16:27 +00:00
Jo-Philipp Wich 25d605ab0e net5501: backport drivers from linux-next Backport net5501 platform driver from 3.4. Remove vestiges of old (pre-2.6.30) leds-net5501.c driver. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30021
2012-02-03 18:14:02 +00:00
Jo-Philipp Wich 7a36f3d2ff x86: move additional oddball PATA drivers These should only be enabled in the generic image, as they bloat all of the other targets. Also add symbols for NET5501, ALIX, and GEOS which were added backported to 3.2 and 3.3. Restore PC speaker to Geos target. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30019
2012-02-03 18:02:57 +00:00
Jo-Philipp Wich d13c3cd073 net5501: adjust CFLAGS and package selection (#10893) This patches the CFLAGS for Geode LX CPUs for 4.3 and new GGC versions. This creates more compatible code and allowed me to boot my system first time with no troubles. Also, the missing kmod is added in.
SVN-Revision: 30013
2012-02-03 14:19:29 +00:00
Felix Fietkau d9ff9c44ee ar71xx: add usb on the pb92 board
SVN-Revision: 30007
2012-02-03 09:44:51 +00:00
Jonas Gorski f99bf6517c x86: add 3.3 generic symbols
Copy x86/config-3.2 to x86/config-3.3 and add additional symbols (for 3.3-rc2).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30002
2012-02-02 21:01:59 +00:00
Jo-Philipp Wich b6be49429b alix2: backport platform driver updates from linux-next Add patches to x86/patches-3.2 and x86/patches-3.3 (update will appear in 3.4). [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1817/]
SVN-Revision: 30001
2012-02-02 19:26:32 +00:00
Jo-Philipp Wich 7a9e4ffe8e alix2, geos, net5501: remove kmod-ledtrig-netfilter, its not used by any standard system facility
SVN-Revision: 30000
2012-02-02 19:11:52 +00:00
Jo-Philipp Wich bf8bb9b661 alix2, goes, net5501: clean up default packages Remove packages which are dependencies of other packages Remove packages which are part of the default package list Remove DSL specific packages from net5501 Remove bridge package, we use the busybox applet Replace hostapd with wpad
SVN-Revision: 29999
2012-02-02 19:06:22 +00:00
Jo-Philipp Wich 047ba1e12e alix2, net5501: bump both subtargets to Linux 3.2.2 to align with the rest
SVN-Revision: 29998
2012-02-02 19:00:40 +00:00
Jo-Philipp Wich 1ae5715f2e geos: add missing files from previous commit
SVN-Revision: 29997
2012-02-02 18:59:51 +00:00
Jo-Philipp Wich a1258ccaba geos: backport Geos driver from linux-next Backport of linux-next driver. Driver adds support for LEDS and S/W button. Add hotplug script for button actions. Add Openwrt system config for LEDS triggers. Add updated kernel .config for 3.2 symbols. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1816/]
SVN-Revision: 29996
2012-02-02 18:58:20 +00:00
Jo-Philipp Wich 415a375eaa geos: cleanup GPIO driver name In 3.1, the old drivers/char/ entry for the CS5535 GPIO driver went obsolete. Make Geos use a recent kernel and remove this ambiguity. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1815/]
SVN-Revision: 29995
2012-02-02 18:44:35 +00:00
Jo-Philipp Wich 5523eca4e5 net5501: correct net5501 h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Designate eth0 as wan interface, and bridge eth1/eth2/eth3. Add heartbeat LED trigger. Use correct CS5535 GPIO driver. Use correct USB drivers (OHCI not UHCI). Add MSR and HW clock support. Add GPIO mask definition. Add correct SATA drivers. Add LED triggers. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1802/]
SVN-Revision: 29994
2012-02-02 18:41:10 +00:00
Jonas Gorski eca9950f63 kernel: add preliminary support for linux 3.3
Based on 3.3-rc2

SVN-Revision: 29986
2012-02-02 08:23:54 +00:00
Jo-Philipp Wich 3310df6b52 alix2: correct h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Drop obsolete CS5535 GPIO driver.
[Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1804/]

SVN-Revision: 29981
2012-02-01 15:31:23 +00:00
Gabor Juhos 41bd6bd282 ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
SVN-Revision: 29978
2012-01-31 20:49:34 +00:00
Gabor Juhos c315ce403b ar71xx: merge DIR-600 A1 and DIR-615 E4 support
SVN-Revision: 29976
2012-01-31 18:37:29 +00:00
Gabor Juhos dd47afc197 ar71xx: fix ethernet LEDs on the DIR-600-A1 board
SVN-Revision: 29975
2012-01-31 18:37:24 +00:00
Gabor Juhos 8200f0c61a ar71xx: unify LED names on D-Link boards
SVN-Revision: 29974
2012-01-31 18:37:15 +00:00
Gabor Juhos faeca86e50 ar71xx: support for D-LINK DIR-615 rev. E4
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>

SVN-Revision: 29973
2012-01-31 18:37:09 +00:00
Gabor Juhos 97e4ddd012 ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>

SVN-Revision: 29972
2012-01-31 18:37:01 +00:00
Gabor Juhos 8766f32b8c ar71xx: compress kernel binaries in Image/Prepare stage
The lzma compressed kernel is used by one of the loaders.

SVN-Revision: 29971
2012-01-31 18:36:54 +00:00
Gabor Juhos d5d37febb4 ar71xx: use dynamically allocated partitions in wrt160nl_part
SVN-Revision: 29970
2012-01-31 18:36:51 +00:00
Gabor Juhos 44ed690cb3 ramips: change vlan_config for the ALFA W502U board
This change moves the WAN port into a separate VLAN.

SVN-Revision: 29969
2012-01-31 18:34:10 +00:00
Jonas Gorski b3568b10c2 kernel: update linux 3.2 to 3.2.2
SVN-Revision: 29967
2012-01-31 09:44:00 +00:00
Jonas Gorski 1015fab0d7 kernel: update linux 3.1 to 3.1.10
SVN-Revision: 29966
2012-01-31 09:43:57 +00:00
Jonas Gorski e67f4477bb kernel: update linux 3.0 to 3.0.18
SVN-Revision: 29965
2012-01-31 09:43:53 +00:00
Florian Fainelli 882eddbf92 build 96348R images
SVN-Revision: 29960
2012-01-30 21:12:32 +00:00
Florian Fainelli 0700644b16 remove support for 2.6.39
SVN-Revision: 29959
2012-01-30 21:12:28 +00:00
Florian Fainelli 038fc8eac3 bump to 3.0.17
SVN-Revision: 29958
2012-01-30 21:12:25 +00:00
Florian Fainelli 8100658a30 add missing config symbols
Thanks KanjiMonster

SVN-Revision: 29955
2012-01-30 10:53:20 +00:00
Florian Fainelli 0501ea063b fix gpiommc build failure with 3.2
SVN-Revision: 29954
2012-01-30 10:53:16 +00:00
Jo-Philipp Wich 55b5e15bff create a config-3.2 for upcoming changes, rebase config-default to 2.6.39
SVN-Revision: 29953
2012-01-30 02:13:37 +00:00
Florian Fainelli 8c4813b75e add default and Sim.One profiles
SVN-Revision: 29942
2012-01-29 15:00:36 +00:00
Florian Fainelli 0bb50678de add 3.2 support
SVN-Revision: 29941
2012-01-29 15:00:33 +00:00
Florian Fainelli e82f06639e add another 3.2 framebuffer symbol
SVN-Revision: 29940
2012-01-29 15:00:29 +00:00
Florian Fainelli ad808cf7e6 add support for 3.2 kernel
SVN-Revision: 29939
2012-01-29 15:00:25 +00:00
Florian Fainelli eeb00634a7 add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

SVN-Revision: 29935
2012-01-28 13:19:49 +00:00
Florian Fainelli 405a0f3905 refresh 3.2 patches
SVN-Revision: 29934
2012-01-28 13:19:43 +00:00
Jo-Philipp Wich cb6f860b8f make sure .config gets copied as file When using scripts/env, .config is most likely a symbolic link pointing to env/.config. Previously the symbolic link got copied as-is into the SDK tarball, leading to a dangling .config symlink on the target system which prevented the SDK from working.
SVN-Revision: 29927
2012-01-28 03:30:30 +00:00
Hauke Mehrtens d1c07b3657 brcm47xx: add fix for cardbus host controller
These devices have two devices on the bus, the host controller itself and the device.

SVN-Revision: 29923
2012-01-27 20:10:51 +00:00
Gabor Juhos b9b768b8d3 ar71xx: use 64k block size for WZR-HP-AG300H
SVN-Revision: 29917
2012-01-27 10:42:41 +00:00
Gabor Juhos ac8116739a ar71xx: fix sysupgrade image building of atheros boards after r29899
SVN-Revision: 29916
2012-01-27 07:51:09 +00:00
Gabor Juhos 013fe76b36 ar71xx: create the temporary directory before building initramfs images
Thanks to Florian for reporting.

SVN-Revision: 29915
2012-01-26 21:28:34 +00:00
Gabor Juhos a5538a18d4 ar71xx: create a profile and build images for Compex WPE72
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29914
2012-01-26 17:01:44 +00:00
Gabor Juhos e1e84badaa ar71xx: add support for Compex WPE72/WPE72NX
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29912
2012-01-26 17:01:41 +00:00
Gabor Juhos 1c4f6b4308 generic: add WPE72 ID to myloader.h
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29911
2012-01-26 17:01:38 +00:00
Gabor Juhos b3fdd931d1 ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
This patch adds support for the Sitecom WL-341 v3 and other Sercomm
IP1006RRv2 based boards for sysupgrade support and for the initial
flash through pushbutton initiated recovery mode with the special
partition table and fixes for the quirks and things required by the
modified bootloader.

There is a known bug, Wi-Fi is not working on my board probably
because of the lack of RAM (the board only has 16MiB ram -- half of
the normal amount for non rebadged versions, but there is an empty
slot for another ram chip,) but I don't know for sure. The driver
loads but hostapd fails to load so I think it's not related to the
specific device except for the lack of RAM.

Moreover, only 7 of the 11 onboard leds are confirmed working, it
seems that one of the others is always on and the remaining ones are
connected to the wireless card leds already recognized by OpenWrt

[juhosg: reordered some parts in order to keep things sorted
alphabetically]

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

SVN-Revision: 29910
2012-01-26 10:44:23 +00:00
Gabor Juhos 038d4e0d77 ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29905
2012-01-25 07:44:45 +00:00
Gabor Juhos c11ac55b29 ar71xx: TL-MR3020: fix GPIO polarity for button and switch
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29904
2012-01-25 07:44:43 +00:00
Gabor Juhos 4f3d6c9ae9 ar71xx: use the lzma loader on the Planex boards
SVN-Revision: 29900
2012-01-24 20:12:10 +00:00
Gabor Juhos 5fa9768cee ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
SVN-Revision: 29899
2012-01-24 20:12:08 +00:00
Gabor Juhos 095c236694 ar71xx: fix the AP/Router LED definitons on MZK-W300NH
SVN-Revision: 29897
2012-01-24 18:40:38 +00:00
Gabor Juhos 23e1b451dc ar71xx: preset WLAN LED config on MZK-W300NH
SVN-Revision: 29896
2012-01-24 18:40:36 +00:00
Gabor Juhos 23836d5908 ar71xx: remove hardcoded MTD layout from planex files
SVN-Revision: 29895
2012-01-24 18:40:34 +00:00
Gabor Juhos 859c915077 ar71xx: pass mtdlayout to Planex boards via command line
SVN-Revision: 29894
2012-01-24 18:40:33 +00:00
Gabor Juhos 6ad9bf8d17 ar71xx: remove an unused header file
SVN-Revision: 29893
2012-01-24 18:40:31 +00:00
Gabor Juhos 02e77c6ae1 ramips: generate sysupgrade image for the ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29884
2012-01-24 11:48:48 +00:00
Gabor Juhos 944c8aacdb ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N.

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

SVN-Revision: 29883
2012-01-24 11:48:47 +00:00
Gabor Juhos 1932a7205c ramips: add kernel support for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29882
2012-01-24 11:48:45 +00:00
Gabor Juhos 17bb003891 ar71xx: nuke fs_all variable in image/Makefile
SVN-Revision: 29880
2012-01-24 09:47:25 +00:00
Gabor Juhos 1fb88e2541 ar71xx: create interim kernel files in a separate dir
This reduces the size of the ImageBuilder tarball a lot.

SVN-Revision: 29879
2012-01-24 09:47:23 +00:00
Gabor Juhos a43e2f508f ar71xx: prebuild all loaders in Image/Prepare stage
SVN-Revision: 29878
2012-01-24 09:47:22 +00:00
Gabor Juhos faf17f197f ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

SVN-Revision: 29877
2012-01-24 09:47:20 +00:00
Gabor Juhos 9cf1d4e06e ramips: scripts updates
In this patch:

* rename Argus leds to avoid underscores
* rename Belkin F5D8235 v1 leds from f5d8234 to f5d8235
* remove Belkin F5D8235 v1 status led defined as storage led (it was
  defined as usb led earlier, just in wrong place) - it should have
  router led as in v2
* add Argus, Sparklan and Belkin F5D8235 v2 status leds
* add Belkin F5D8235 v1 and v2 usb leds
* fix Belkin F5D8235 v2 network config generation and mac address axtraction
* fix Sparklan board identification
* add Sparklan usb led (this board doesn't have usb connector by
  default and the led is hidden also but if you are going to solder
  the connector then you'll see the led too)
* add Sparklan network config generation and mac address extraction
* fix empty string test in network script and...
* ...sort case entries by the first board in the list

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29871
2012-01-23 10:23:32 +00:00
Gabor Juhos 44517a3789 ar71xx: 3.2: fix build errors if PCI is not enabled
SVN-Revision: 29870
2012-01-23 08:52:21 +00:00
Gabor Juhos 778db0a13d ar71xx: fix compiler warning if PCI is not enabled
SVN-Revision: 29869
2012-01-23 08:52:18 +00:00
Gabor Juhos af015f956c ar71xx: add initial support for 3.2
Tested on the following boards:
  ALFA AP96
  TL-MR3220 v1
  TL-WR1043ND v1
  TL-WR2543ND v1
  TL-WR703N v1
  TL-WR741ND v1
  TL-WR741ND v4
  WNDR3700 v1
  WZR-HP-G300NH

SVN-Revision: 29868
2012-01-22 22:38:19 +00:00
Gabor Juhos 386cbfe45b ar71xx: move arch specific files to files-2.6.39
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos 7b7427e52c ar71xx: build ALFA AP96 images with default profile as well
SVN-Revision: 29866
2012-01-22 22:33:15 +00:00
Gabor Juhos dd49cca9d6 generic: 3.2: allow to build myloader mtd parser for ATH79
SVN-Revision: 29860
2012-01-22 18:43:39 +00:00
Gabor Juhos 9be1b91644 generic: allow to build myloader mtd parser for 3.2+
SVN-Revision: 29858
2012-01-22 18:36:49 +00:00
Gabor Juhos 809fe38e41 ramips fix f5d8235-v1 diag LED support
SVN-Revision: 29857
2012-01-22 18:11:39 +00:00
Gabor Juhos e7dee3aeed ar71xx: wrt160nl_part: include module.h and fix compiler warnings
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos a7d344565b ar71xx: tplinkpart: include module.h
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos 6c2638c5e2 ar71xx: rename vsc7385 spi driver
SVN-Revision: 29853
2012-01-22 13:51:57 +00:00
Gabor Juhos bb16739db9 ar71xx: rename ap81 spi driver
SVN-Revision: 29852
2012-01-22 13:51:56 +00:00
Gabor Juhos 5ef8b922fa ar71xx: rename rb4xx spi drivers
SVN-Revision: 29851
2012-01-22 13:51:54 +00:00
Gabor Juhos aad175d5b6 ar71xx: rename the nxp_74hc153 driver
SVN-Revision: 29850
2012-01-22 13:51:52 +00:00
Gabor Juhos ef1c53b7b7 ar71xx: change board id of the UniFi board
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos f90e578903 ar71xx: include linux/module.h in the micrel phy driver
SVN-Revision: 29848
2012-01-22 13:51:49 +00:00
Gabor Juhos e9d8deaaed ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

SVN-Revision: 29847
2012-01-22 13:43:23 +00:00
Gabor Juhos 8e662f28fe generic: 3.2: don't disable lockdep for OOT modules
SVN-Revision: 29846
2012-01-22 09:57:39 +00:00
Gabor Juhos 4625c9b5a4 generic: rtl8366: add rtl8366_smi_write_reg_noack helper
After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

SVN-Revision: 29844
2012-01-21 22:44:09 +00:00
Hauke Mehrtens 26d4e1876c brcm47xx: add support for pcie host controller on bcma based SoCs.
This also adds minimal support for the BCMA43224 pcie wireless card.

SVN-Revision: 29843
2012-01-21 22:39:20 +00:00
Gabor Juhos 557cf076b4 ramips: sysupgrade for ESR-9753
This patch add sysupgrade for Engenius ESR-9753

Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29824
2012-01-20 10:49:26 +00:00
Jonas Gorski aa8f9171f2 kernel: fix OCF for linux 3.2
Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

SVN-Revision: 29818
2012-01-19 19:51:54 +00:00
Jo-Philipp Wich fc512193a0 add missing kernel symbols
SVN-Revision: 29790
2012-01-19 01:57:22 +00:00
Jo-Philipp Wich 2fc3fe1d09 Make the grub timeout configurable on x86 targets
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

SVN-Revision: 29786
2012-01-19 01:14:45 +00:00
Jo-Philipp Wich 095f7f2da3 x86/config-3.2: add linux-3.2 symbols for x86
The following symbols are missing for x86, in sorted order.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 29783
2012-01-19 00:31:39 +00:00
Florian Fainelli dbfeb5d158 fix thinko in 102-ehci_hcd_ignore_oc patch
SVN-Revision: 29773
2012-01-18 07:56:02 +00:00
John Crispin 49eb3fd845 gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 29763
2012-01-17 12:10:35 +00:00
John Crispin a2708d11e8 ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 29762
2012-01-17 11:23:11 +00:00
Hauke Mehrtens 034cf5643f brcm47xx: add support for kernel 3.2
SVN-Revision: 29756
2012-01-15 21:18:34 +00:00
Hauke Mehrtens c3d134af12 brcm47xx: run kernel_oldconfig
SVN-Revision: 29755
2012-01-15 14:53:32 +00:00
Imre Kaloz f9e41adc80 add support for OMAP4 based boards, starting with the PandaBoard
SVN-Revision: 29753
2012-01-14 23:02:56 +00:00
Imre Kaloz 6274648199 fixup arm xz support with recent changes
SVN-Revision: 29750
2012-01-14 22:55:04 +00:00
Imre Kaloz e65195c246 add missing symbols
SVN-Revision: 29749
2012-01-14 22:53:28 +00:00
Felix Fietkau b0479e2ca2 kernel: disable bridge igmp snooping in 3.2 as well
SVN-Revision: 29747
2012-01-14 14:57:03 +00:00
Felix Fietkau 66895b7115 kernel: disable bridge igmp snooping by default to avoid multicast issues
SVN-Revision: 29744
2012-01-14 13:50:25 +00:00
Jonas Gorski 9eb73ee6b7 kernel: ppc40x: ppc44x: add missing kernel config symbol
SVN-Revision: 29742
2012-01-14 12:04:17 +00:00
Hauke Mehrtens d5bc3a994b brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.

SVN-Revision: 29734
2012-01-13 20:11:23 +00:00
Jo-Philipp Wich 9d497cb132 rtl8366: fix rtl8366_smi_detect() after r29677
SVN-Revision: 29732
2012-01-13 19:17:58 +00:00
Jonas Gorski 3883e71097 brcm63xx: add support for linux 3.2
SVN-Revision: 29731
2012-01-13 14:59:50 +00:00
Jonas Gorski 1bc0abb058 kernel: add support for linux 3.2.1
SVN-Revision: 29730
2012-01-13 14:55:07 +00:00
Jonas Gorski f3f1075655 kernel: backport overlayfs v11 to 3.0 and 2.6.39
Should fix whiteout issues and missing files when using extroot.

SVN-Revision: 29727
2012-01-13 14:42:53 +00:00
Jonas Gorski c560444a58 kernel: update linux 3.1 to 3.1.9
SVN-Revision: 29726
2012-01-13 14:38:28 +00:00
Jonas Gorski e49d3e1d5b kernel: update linux 3.0 to 3.0.17
SVN-Revision: 29725
2012-01-13 14:10:44 +00:00
Felix Fietkau e87bb77966 ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured this makes enable_vlan=0 practical for vlan passthrough
SVN-Revision: 29719
2012-01-12 10:15:11 +00:00
Felix Fietkau c33e016fa5 ar8216: do not strip vlan tags when running with vlan_enable=0
SVN-Revision: 29718
2012-01-12 10:15:08 +00:00
Gabor Juhos fbf81c8e79 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Daniel Dickinson 034b7f0ef5 Remove invalid LED GPIO from GW6200 board definition. GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.
SVN-Revision: 29712
2012-01-11 13:47:48 +00:00
Gabor Juhos 67f62cf5cf ar71xx: disable ath79 in order to get rid of Kconfig warnings
SVN-Revision: 29711
2012-01-11 09:14:19 +00:00
Gabor Juhos 88d8cdd503 ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29710
2012-01-11 09:14:18 +00:00
Gabor Juhos e1b7995aef ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
SVN-Revision: 29709
2012-01-11 09:14:17 +00:00
Gabor Juhos 67444c7795 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
SVN-Revision: 29708
2012-01-11 09:14:15 +00:00
Gabor Juhos 0f566a376c ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29707
2012-01-11 09:14:14 +00:00
Gabor Juhos 09a6e3f662 ar71xx: ar71xx_spi: save and restore regs from probe/remove
SVN-Revision: 29706
2012-01-11 09:14:13 +00:00
Gabor Juhos 714a9bd641 ar71xx: ar71xx_wdt: add shutdown handler
SVN-Revision: 29705
2012-01-11 09:14:11 +00:00
Gabor Juhos 9727256330 ar71xx: refresh patches
SVN-Revision: 29683
2012-01-07 19:36:43 +00:00
Gabor Juhos 4edff7d3ef ar71xx: add a profile and build images for the TL-WR2543N/ND
SVN-Revision: 29682
2012-01-07 19:36:42 +00:00
Gabor Juhos a1dcbc66a6 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos a56bdeff9d ar71xx: allow to specify max read size for m25p80
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

SVN-Revision: 29679
2012-01-07 19:36:33 +00:00
Gabor Juhos 8b567fb508 generic: add driver for the RTL8367R/M switches
SVN-Revision: 29678
2012-01-07 19:36:31 +00:00
Gabor Juhos 87fb92ee03 generic: rtl8366: preparing for RTL8367 support
* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

SVN-Revision: 29677
2012-01-07 19:36:30 +00:00
Gabor Juhos 43196813d7 generic: rtl8366_smi: add timeout message
SVN-Revision: 29676
2012-01-07 19:36:25 +00:00
Gabor Juhos 67b2814842 ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>

SVN-Revision: 29675
2012-01-07 17:24:44 +00:00
Gabor Juhos 6c74274c8d generic: improve MIPS kexec support
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

SVN-Revision: 29674
2012-01-07 16:29:16 +00:00
Gabor Juhos f638c6207b ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
SVN-Revision: 29672
2012-01-06 15:54:59 +00:00
Gabor Juhos 1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos 84cd8a5ee0 ar71xx: fix RB-750 network configuration
SVN-Revision: 29668
2012-01-06 07:20:54 +00:00
Gabor Juhos 8eb0b7ab3d ar71xx: fix sections mismatch warnings in the nand drivers
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00
Gabor Juhos 232eb83f74 ar71xx: fix LED configuration on the RB-750
SVN-Revision: 29666
2012-01-05 18:08:28 +00:00
Gabor Juhos d65c6fe720 ar71xx: create profile and build image for the ALFA AP96 board
SVN-Revision: 29663
2012-01-04 21:13:57 +00:00
Gabor Juhos b8f0d86115 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos 807e046193 ar71xx: specify console kernel parameter for the Compex boards
SVN-Revision: 29660
2012-01-04 17:30:59 +00:00
Gabor Juhos 923f3e3752 ar71xx: allow to use the command line hack on compex devices
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
Gabor Juhos 2f53f82203 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos 301b1b4f92 ar71xx: show correct model name on TL-WA701N/ND boards
SVN-Revision: 29657
2012-01-04 17:30:55 +00:00
Gabor Juhos ac68f0d8fa ar71xx: add profile and build image for the TL-WA701N/ND boards
SVN-Revision: 29656
2012-01-04 17:30:54 +00:00
Gabor Juhos 72019009c7 ar71xx: fix network configuration for the TL-WA901N/ND boards
SVN-Revision: 29654
2012-01-04 17:30:52 +00:00
Gabor Juhos 90bfef9ec9 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos 5eb502d9c1 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

SVN-Revision: 29652
2012-01-04 17:30:49 +00:00
Gabor Juhos 1045c83527 ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos 88223f87d1 ar71xx: use the new om-watchdog package for OM2P
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 29648
2012-01-04 17:30:41 +00:00
Jo-Philipp Wich a788f199c9 remove current RTSP support
SVN-Revision: 29643
2012-01-04 00:29:29 +00:00
Jo-Philipp Wich 237282ae8c backport upstream commit e1738bd9cecc5c867b0e2996470c1ff20f66ba79 to affected kernels (#9802) commit 8efa88540635 (sch_sfq: avoid giving spurious NET_XMIT_CN signals) forgot to call qdisc_tree_decrease_qlen() to signal upper levels that a packet (from another flow) was dropped, leading to various problems.
SVN-Revision: 29642
2012-01-03 23:08:15 +00:00
Gabor Juhos 8854c90119 ar71xx: add profile and build factory image for the Hornet-UB board
SVN-Revision: 29637
2012-01-01 19:30:29 +00:00
Gabor Juhos 1d3de89f3c ar71xx: build images for the ALFA Network N2/N5 boards
SVN-Revision: 29636
2012-01-01 19:30:28 +00:00
Gabor Juhos 1e68f10b87 ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos 5c067db8a7 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos fff02e6ea8 ar71xx: enable SWCONFIG_LEDS
SVN-Revision: 29630
2011-12-31 15:02:40 +00:00
Gabor Juhos 5fa65cba6e kernel: swconfig: introduce a generic switch LED trigger
SVN-Revision: 29627
2011-12-31 15:02:30 +00:00
Gabor Juhos 8c2482f76e ar71xx: ag71xx: implement get_port_{link,stats} callbacks
SVN-Revision: 29626
2011-12-31 15:02:26 +00:00
Gabor Juhos 975355a2b1 kernel: swconfig: add get_port_{link,stats} callbacks
SVN-Revision: 29625
2011-12-31 15:02:24 +00:00
Gabor Juhos 557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Gabor Juhos 244c322d25 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29617
2011-12-28 08:43:43 +00:00
Gabor Juhos f50b02b559 ramips: rt288x: change base address and window size of flash bank 0
SVN-Revision: 29616
2011-12-28 08:43:36 +00:00
Gabor Juhos 98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
2011-12-28 08:43:32 +00:00
Gabor Juhos 76dacee995 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

Patch-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 29614
2011-12-27 16:59:43 +00:00
Gabor Juhos c6ee919b2a ar71xx: fix sysupgrade on PB42/PB44 boards
SVN-Revision: 29613
2011-12-27 16:57:01 +00:00
Gabor Juhos 723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
2011-12-27 16:56:30 +00:00
Jo-Philipp Wich 9fa33ceee2 add missing config symbol
SVN-Revision: 29610
2011-12-25 13:33:18 +00:00
Hauke Mehrtens 11125d68ed brcm47xx: fix usb on more recent bcma based devices.
SVN-Revision: 29605
2011-12-23 17:21:52 +00:00
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
2011-12-23 14:27:16 +00:00
Gabor Juhos 2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
2011-12-23 14:27:10 +00:00
Gabor Juhos 03bce34384 ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

SVN-Revision: 29602
2011-12-23 14:27:05 +00:00
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
2011-12-22 05:43:53 +00:00
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
2011-12-21 19:32:40 +00:00
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
2011-12-21 01:27:48 +00:00
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
2011-12-19 23:55:20 +00:00
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
2011-12-19 23:39:13 +00:00
Hauke Mehrtens 1aa5a61754 kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
SVN-Revision: 29574
2011-12-19 23:33:03 +00:00
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
2011-12-19 23:26:15 +00:00
Felix Fietkau 11013ad947 ar71xx: add missing wireless led changes for wzr-hp-g300nh2
SVN-Revision: 29568
2011-12-19 09:04:15 +00:00
Felix Fietkau 0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos 5a0a2b2f1b ar71xx: use 64kraw template on more TP-Link boards
SVN-Revision: 29561
2011-12-17 18:49:55 +00:00
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
2011-12-15 22:25:38 +00:00
Gabor Juhos 5bbd416e38 ar71xx: add defines for the AR934X GMAC interface
SVN-Revision: 29556
2011-12-15 22:25:36 +00:00
Gabor Juhos e47a8c2bb2 ar71xx: fix GMAC1 interface speed on the DB120 board
SVN-Revision: 29555
2011-12-15 22:25:35 +00:00
Gabor Juhos 36bc2c2c80 ar71xx: ag71xx: fix switch port setup for AR934X
SVN-Revision: 29554
2011-12-15 22:25:32 +00:00
Gabor Juhos 00667c3846 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
SVN-Revision: 29553
2011-12-15 22:25:30 +00:00
Gabor Juhos 0540970345 ar71xx: ag71xx: setup switch interface mode on AR934X
SVN-Revision: 29552
2011-12-15 22:25:29 +00:00
Gabor Juhos 44014110b8 ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
SVN-Revision: 29551
2011-12-15 22:25:28 +00:00
Gabor Juhos e2a546d475 ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
2011-12-15 22:25:22 +00:00
Gabor Juhos 9ae65588d8 ar71xx: introduce ar71xx_switch_data
SVN-Revision: 29549
2011-12-15 22:25:11 +00:00
Gabor Juhos bfe747b7d9 ar71xx: build images for TL-WR741N/ND v2
SVN-Revision: 29548
2011-12-15 22:03:48 +00:00
Gabor Juhos aefff26624 ar71x: use raw squashfs images for TP-Link boards
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos d5bd28ffae ar71xx: create a template for using unpadded squashfs images
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos dbc4fa4b5b ar71xx: put squash image right after the kernel on TP-Link boards
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos 850be54b72 ar71xx: tplinkpart: allow to detect JFFS2 as well
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos b7d7481b07 ar71xx: ag71xx: check PHY IDs before accessing the switch registers
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos 0655552860 ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos 204fc6bed5 ar71xx: ag71xx: nuke ar7240sw_init
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos d1f7783612 ar71xx: fix mac addresses on jjPlus devices
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos d3058b8f8c ar71xx: build image for the Hornet-UB board
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos 66c8cc0f6d ar71xx: add GPIO function bit defines for AR933X
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
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
2011-12-14 20:51:26 +00:00
Felix Fietkau 7076d74b21 ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau b878f4a927 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Felix Fietkau e3017bc05e ath9k: add support for registering extra leds connected to the wmac gpio lines
SVN-Revision: 29530
2011-12-14 20:21:36 +00:00
Gabor Juhos d2717d3d47 ar71xx: get rid of squashfs-4k images
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
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
2011-12-13 20:41:22 +00:00
Felix Fietkau 4a441570ca kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau 3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos 2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
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
2011-12-13 14:59:40 +00:00
Felix Fietkau 48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos 4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
John Crispin 934eef78ca convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

SVN-Revision: 29486
2011-12-09 07:52:10 +00:00
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
2011-12-07 06:55:50 +00:00
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
2011-12-07 06:55:39 +00:00
Gabor Juhos 43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Jonas Gorski e33bb9ec66 linux: update 3.1 to 3.1.4
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
Jonas Gorski 6e2ae90f4a linux: update 3.0 to 3.0.12
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
Gabor Juhos c6b2b98812 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos 62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos 0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Gabor Juhos 5ef6ec4a31 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

SVN-Revision: 29454
2011-12-05 17:27:07 +00:00
Gabor Juhos 750d560767 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29453
2011-12-05 17:27:06 +00:00
Gabor Juhos b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos 4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
Gabor Juhos 4dc9092f4b ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

SVN-Revision: 29447
2011-12-05 14:52:36 +00:00