Commit graph

7998 commits

Author SHA1 Message Date
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