Commit Graph

7393 Commits (ffdf69028f27c346ba2d159e25f33869b4871308)

Author SHA1 Message Date
Gabor Juhos d96e321bd1 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

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

SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Gabor Juhos ef41e0a61c ar71xx: don't override CONFIG_FSNOTIFY
SVN-Revision: 28563
2011-10-24 21:49:18 +00:00
Jo-Philipp Wich b61de9c865 base-files: make sure inittab-console-fixup returns with success (#10275)
SVN-Revision: 28562
2011-10-24 21:35:43 +00:00
Nicolas Thill b0d9bccafc x86: allow VDI & VMDK images for all subtargets (closes: #10255)
SVN-Revision: 28518
2011-10-22 13:09:15 +00:00
Jonas Gorski 40d088446f linux: generic: refresh patches for 3.1-rc10
Hopefully the last one and identical to final.

SVN-Revision: 28492
2011-10-20 10:32:44 +00:00
Jonas Gorski a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Jonas Gorski 03f91068d1 ar71xx: add a workaround for ar8316 not always driving the TA bit to low
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.

SVN-Revision: 28422
2011-10-11 23:05:13 +00:00
Jonas Gorski b7a2a74823 ar8216: use mdiobus_{read,write} to ensure proper locking
SVN-Revision: 28421
2011-10-11 23:05:10 +00:00
John Crispin 0a866293bd * update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)

SVN-Revision: 28405
2011-10-10 15:13:46 +00:00
Jonas Gorski c674c874b7 ag71xx: close a race between the phy state machine and link state
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.

Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.

SVN-Revision: 28380
2011-10-08 11:37:14 +00:00
Jo-Philipp Wich ce5e1abbb7 add IDs for Huawai K3770, K3771, K4510 and K4511 to option driver
SVN-Revision: 28376
2011-10-06 18:23:16 +00:00
Florian Fainelli 829ae01f16 add missing kernel config symbols
SVN-Revision: 28363
2011-10-04 09:15:37 +00:00
Daniel Dickinson b0345ef184 Was specifying input-polled-keys and not input-keys-polled as the module name. Philip Prindeville - 2011-10-03 03:58:17
SVN-Revision: 28357
2011-10-03 04:39:54 +00:00
Daniel Dickinson c0a625ffbf Add patch for linux-3.0 as well.
Fix typo from previous submission with input-keys-polled.
Philip Prindeville - 2011-10-03 01:44:55

SVN-Revision: 28356
2011-10-03 03:09:20 +00:00
Daniel Dickinson 7e372b6dcf New x86 platform specific symbol needed for 3.1-rc3. 2011-10-03 03:06:29 +00:00
Daniel Dickinson 541aa8e38e A lot of these options get set automatically when Geode is selected.
Don't make the config more complicated than it needs to be.
Philip Prindeville - 2011-08-29 03:15:27

SVN-Revision: 28353
2011-10-03 03:02:42 +00:00
Florian Fainelli 3802769ea1 add vlan definitions for Siemens SE505v2
Hi,

this patch adds the correct vlan definitions for the Siemens SE505v2. It
applies to trunk as well as backfire (please apply here too). On
backfire this also patches brcm-2,4, because brcm47xx base-files is just
symlinked to brcm-2.4.

It also fixes two whitespace issues.

Tested with brcm47xx on both trunk and backfire branch and works as
expected.

Signed-off-by: Manuel Munz <freifunk@somakoma.de>

SVN-Revision: 28336
2011-09-30 12:55:33 +00:00
John Crispin aecc73de77 The enable function was using the global timeout variable for local operations. This resulted in the value of the global variable being corrupted, thus breaking the code.
SVN-Revision: 28310
2011-09-26 10:35:51 +00:00
John Crispin 1ef8066bff * remove obseleted m25p80 patch
SVN-Revision: 28309
2011-09-26 09:36:02 +00:00
John Crispin cf59e7255d * rebase 3.0 patches * fold some fixes into existing patches
SVN-Revision: 28308
2011-09-26 09:35:02 +00:00
Gabor Juhos 6ac4156136 ar71xx: fix MAC addresses on the DIR-825-B1 board
Patch-by: Lukas Kuna

SVN-Revision: 28295
2011-09-23 19:56:39 +00:00
Gabor Juhos e45d7d7006 ar71xx: enable login only on the system console by default
SVN-Revision: 28294
2011-09-23 19:56:38 +00:00
Alexandros C. Couloumbis 5fc14dfb87 linux/generic: commit an upstream kernel 3.0 patch (fixes busubox-1.19.2 build failure)
SVN-Revision: 28293
2011-09-23 10:00:13 +00:00
Gabor Juhos 49ac36e818 ar71xx: build images for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28279
2011-09-21 11:47:56 +00:00
Gabor Juhos 733399600f ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Gabor Juhos d3617ac7d3 ar71xx: add AR933x specific USB setup function
SVN-Revision: 28276
2011-09-21 11:47:51 +00:00
Gabor Juhos 91340d8af7 ar71xx: add ar71xx_device_reset_rmw helper
SVN-Revision: 28275
2011-09-21 11:47:50 +00:00
Gabor Juhos 9fa51d5c38 ar71xx: fix copy&paste bug in WZRHPAG300H profile description
SVN-Revision: 28274
2011-09-21 11:47:48 +00:00
Gabor Juhos 079e746fc4 ar71xx: remove 'default [yn]' from machine Kconfig entries
SVN-Revision: 28273
2011-09-21 11:47:47 +00:00
Gabor Juhos 73dac07c44 ar71xx: sort AR71XX_MACH_* entries
SVN-Revision: 28272
2011-09-21 11:47:45 +00:00
Gabor Juhos ef2431c8d9 ar71xx: create image for the TP-Link TL-WR743ND v1
Same hardware as WR741ND but with PoE support.

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

SVN-Revision: 28271
2011-09-21 11:47:44 +00:00
Gabor Juhos 76d0d1a837 ar71xx: create image for the TP-Link TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28269
2011-09-21 11:47:40 +00:00
Gabor Juhos 93c093057d generic: jumbo frames support for rtl8366s
This patch adds the option to enable jumbo frames on the rtl8366s
switch. This is almost exactly the same as the first patch at
https://dev.openwrt.org/ticket/7977 and it has been requested
in a comment there.

I have tested this and it successfully allows devices on the switch
using jumbo frames to communicate.

Signed-off-by: Ash Hughes <ashley.hughes@blueyonder.co.uk>

SVN-Revision: 28267
2011-09-21 11:47:38 +00:00
Jo-Philipp Wich 34f2cfc657 fix generation for arm platforms Based on patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 28225
2011-09-13 07:39:14 +00:00
Felix Fietkau 1bdf65f580 ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
SVN-Revision: 28213
2011-09-11 17:44:12 +00:00
Jo-Philipp Wich 1e24383ae6 Various enhancements from Manuel Munz <freifunk@somakoma.de> - don't regenerate Package index unless the packagedir changes - remove opkg lists from rootfs, saves > 1MB uncompressed - don't direct errors on index creation into packagelist
SVN-Revision: 28205
2011-09-09 17:25:20 +00:00
Jo-Philipp Wich ba46c7b3c6 Xen DomU: make sure kernel is gzip compressed, pygrub cannot handle xz
SVN-Revision: 28197
2011-09-08 22:18:26 +00:00
Felix Fietkau 65d809ef19 ar71xx: do not count normal interrupts as spurious (fixes #10037)
SVN-Revision: 28182
2011-09-06 05:38:23 +00:00
Felix Fietkau de8cabe839 ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default (fixes #9954)
SVN-Revision: 28173
2011-09-05 18:37:48 +00:00
Imre Kaloz ed2c8bdc92 upgrade testing kernel support to 3.1
SVN-Revision: 28165
2011-09-04 15:06:05 +00:00
Imre Kaloz 4f0b1a6602 cleanup config
SVN-Revision: 28164
2011-09-04 15:02:37 +00:00
Imre Kaloz 0569cff6e1 refresh patches
SVN-Revision: 28163
2011-09-04 15:01:56 +00:00
Imre Kaloz 6d17e13cde add missing symbols
SVN-Revision: 28162
2011-09-04 15:01:25 +00:00
Felix Fietkau 24dfe525c2 brcm47xx: fix padding of trx images, padjffs2 does not work properly on empty files by default
SVN-Revision: 28125
2011-08-29 21:23:51 +00:00
Felix Fietkau cd2c68501c ar71xx: fix ethernet PLL setting on ar7242
SVN-Revision: 28124
2011-08-29 21:23:46 +00:00
Hamish Guthrie cc037a5e27 Remove subpage align patch
SVN-Revision: 28086
2011-08-25 11:49:55 +00:00
Hamish Guthrie 21f7943561 Re-order patches, add nand sub-page alignment
SVN-Revision: 28084
2011-08-25 10:37:30 +00:00
Florian Fainelli cbd28ad0ec bump to 2.6.39.4
Since linux gets developed on x86 more than all other hardware,
hardly makes sense to have our default x86 version be trailing
by over a year.

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

SVN-Revision: 28082
2011-08-25 09:35:51 +00:00
Florian Fainelli d2652dee9d update alix2 platform driver
Add support for Ed Wildgoose's alix platform driver plus my
enhancement to add GPIO soft button support.

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

SVN-Revision: 28081
2011-08-25 09:35:45 +00:00
Jonas Gorski 71adaae258 kernel: add two missing config symbols for 3.1
SVN-Revision: 28080
2011-08-24 11:43:25 +00:00
Gabor Juhos 72e117ec79 ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
2011-08-22 20:41:49 +00:00
Gabor Juhos 4b96d3af2a ramips: rt305x: remove unused defines from mach-nw718.c
SVN-Revision: 28077
2011-08-22 20:41:48 +00:00
Gabor Juhos 462ca22e9c ramips: sort Makefile entries
SVN-Revision: 28076
2011-08-22 20:41:47 +00:00
Gabor Juhos d50494f3bb ramips: sort RAMIPS_MACH_* defines
SVN-Revision: 28075
2011-08-22 20:41:45 +00:00
Gabor Juhos 90686691ce ramips: fix wireless firmware extraction for wr512-3gn
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28073
2011-08-22 18:08:45 +00:00
Gabor Juhos f0049824b9 ramips: remove 'default [yn]' keywords from machine Kconfig entries
SVN-Revision: 28054
2011-08-19 15:55:12 +00:00
Gabor Juhos 6720025497 ramips: rt305x: fix wr512n image generation
SVN-Revision: 28053
2011-08-19 15:55:11 +00:00
Gabor Juhos 9085b05d9e ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28052
2011-08-19 15:55:10 +00:00
Gabor Juhos 46b101ad0a ramips: register usb on Belkin F5D8235 v2 and Argus ATP-52-B routers
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 28051
2011-08-19 15:55:08 +00:00
Gabor Juhos 05209860da ramips: fix wireless on Belkin F5D8235 v2
Fix wireless firmware extract from flash for Belkin F5D8235 v2.

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

SVN-Revision: 28050
2011-08-19 15:55:07 +00:00
Gabor Juhos f8ab604eb6 ramips: fix typo in default packages
Fix fivebytepypo - there is no such kernel module wpad-mini :)

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

SVN-Revision: 28049
2011-08-19 15:55:05 +00:00
Hamish Guthrie 048d4aca76 omap35xx: Add 3.0.3 kernel support for Gumstix
SVN-Revision: 28047
2011-08-19 12:00:08 +00:00
Hauke Mehrtens 464539b074 kernel: update to version 3.0.3
SVN-Revision: 28043
2011-08-18 12:54:12 +00:00
Jo-Philipp Wich ebb152295b fix the default network configuration for the ASUS WL-330gE (#8751)
SVN-Revision: 28024
2011-08-17 03:16:59 +00:00
Hauke Mehrtens 09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Jonas Gorski 3e94ee9642 kernel: generic: refresh patches for 3.1-rc2
SVN-Revision: 28021
2011-08-16 21:42:15 +00:00
Gabor Juhos ace8ce0845 ramips: use maccalc instead of hexdump + sed
SVN-Revision: 28007
2011-08-15 19:00:23 +00:00
Gabor Juhos bfc47ffead ramips: rt305x: fix mac addresses on the Netcore NW718 board
SVN-Revision: 28006
2011-08-15 18:55:53 +00:00
Gabor Juhos 17c041cd0b ramips: add maccalc to the default package list
SVN-Revision: 28005
2011-08-15 18:55:52 +00:00
Gabor Juhos 67e480971c ramips: add input drivers to the default package list
SVN-Revision: 28003
2011-08-15 18:55:50 +00:00
Gabor Juhos 35ecf12059 ramips: rt305x: make config and factory partitions read-only on the ATP-52B
SVN-Revision: 28002
2011-08-15 18:55:48 +00:00
Gabor Juhos 75e2360ab3 ramips: add uci-defaults scripts to preconfigure USB LEDs
SVN-Revision: 28000
2011-08-15 14:12:00 +00:00
Gabor Juhos e1b176de82 ramips: rt305x: add some USB modules to the default profile
SVN-Revision: 27999
2011-08-15 14:11:58 +00:00
Gabor Juhos 169d68c98c ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>

SVN-Revision: 27997
2011-08-15 14:11:55 +00:00
Gabor Juhos 0ca16a4600 ramips: rt305x: register the dwc_otg device on the relevant boards
SVN-Revision: 27996
2011-08-15 14:11:52 +00:00
Gabor Juhos addc86fdbd ramips: rt305x: add dwc_otg platform device
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 27995
2011-08-15 14:11:51 +00:00
Gabor Juhos 6ef87ff5e6 ramips: sync kernel config
SVN-Revision: 27993
2011-08-15 14:11:48 +00:00
Gabor Juhos 4ee4fc9725 ramips: load the input drivers during preinit
SVN-Revision: 27992
2011-08-15 14:11:47 +00:00
Gabor Juhos a3c7e71ae1 ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

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

SVN-Revision: 27991
2011-08-15 14:11:45 +00:00
Gabor Juhos 1ebcf03789 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27990
2011-08-15 14:11:43 +00:00
Gabor Juhos bb64fb2e58 generic: ar8216: add support for get link status
SVN-Revision: 27989
2011-08-15 14:11:41 +00:00
Felix Fietkau 50817f6afe kernel: disable cfi cmdset 0002 erase suspend
on some platforms, erase suspend leads to data corruption and lockups when write
ops collide with erase ops. this has been observed on the buffalo wzr-hp-g300nh.
rather than play whack-a-mole with a hard to reproduce issue on a variety of devices,
simply disable erase suspend, as it will usually not produce any useful gain on
the small filesystems used on embedded hardware.

SVN-Revision: 27984
2011-08-15 00:15:36 +00:00
Felix Fietkau 12c84f8eeb ar71xx: add some code to detect DMA stuck conditions on ar7240
SVN-Revision: 27975
2011-08-13 22:30:14 +00:00
Felix Fietkau 85ccc74e1b ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
SVN-Revision: 27973
2011-08-13 21:49:46 +00:00
Hauke Mehrtens 77218b0338 brcm47xx: fix flash detection on chipcommon less devices.
This closes #9906
Thank you for the report Kim

SVN-Revision: 27967
2011-08-12 16:37:22 +00:00
Felix Fietkau 82a05d1a19 initramfs: allow preinit to enable switching from initramfs to tmpfs to allow overlayfs to be mounted on top of it
SVN-Revision: 27960
2011-08-11 20:32:57 +00:00
Felix Fietkau d26bb6c59c ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout (fixes #9922)
SVN-Revision: 27959
2011-08-11 13:52:40 +00:00
Florian Fainelli ce2ced7311 package more board specific modules:
- keyboard matrix driver
- SoC sound support

based on patch by KanjiMonster

SVN-Revision: 27957
2011-08-11 11:18:44 +00:00
Florian Fainelli f7dbf2ef04 add more missing touchscren symbols (3.0+)
SVN-Revision: 27956
2011-08-11 11:18:41 +00:00
Florian Fainelli 11b1f687d4 disable hardware perf support to work in qemu
SVN-Revision: 27955
2011-08-11 11:18:37 +00:00
Hauke Mehrtens 20de21593b kernel: revert r27953
KanjiMonster did the right patch, I was just confused because of linux-3.0 and linux-2.6.30

SVN-Revision: 27954
2011-08-11 09:54:02 +00:00
Hauke Mehrtens 409f8211e1 kernel: fix ocf patch for kernel 2.6.30
find_task_by_vpid is already exported by the kernel without any patches needed.

SVN-Revision: 27953
2011-08-11 09:47:36 +00:00
Jonas Gorski 7304dcad2a kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF
find_task_by_vpid is already exported, thus breaking builds.

SVN-Revision: 27952
2011-08-11 09:46:30 +00:00
Jonas Gorski def60e2918 ar71xx: make ehci patch apply again
SVN-Revision: 27951
2011-08-10 23:02:56 +00:00
Felix Fietkau 9e5ead9a51 ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images (#9918)
SVN-Revision: 27950
2011-08-10 22:24:56 +00:00
Florian Fainelli b59ab7d13b fix ehci build on 3.0+
SVN-Revision: 27946
2011-08-10 11:37:25 +00:00
Florian Fainelli 0e40c19b45 add ignore_oc in struct ehci_hcd
SVN-Revision: 27945
2011-08-10 11:37:21 +00:00
Florian Fainelli 458716389c update to 3.0.1
SVN-Revision: 27943
2011-08-09 13:13:22 +00:00
Florian Fainelli f124358722 add CONFIG_EARLY_PRINTK
SVN-Revision: 27942
2011-08-09 13:13:16 +00:00
Jonas Gorski 6b5f483efa bcm63xx: add support for linux 3.1-rc1
SVN-Revision: 27941
2011-08-09 12:19:49 +00:00
Jonas Gorski cf2070bd5b linux: generic: add support for 3.1-rc1
SVN-Revision: 27940
2011-08-09 12:19:43 +00:00
Daniel Dickinson 7ef004a144 Add packages that will be relant as "There's a new Alix platform driver hitting linux-next upstream. Get ready for it in 2.6.39.4 and 3.0.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>"

SVN-Revision: 27929
2011-08-08 02:33:18 +00:00
Felix Fietkau ba9e7889dd kernel: fix another typo in the netfilter optimization patches
SVN-Revision: 27927
2011-08-07 21:17:18 +00:00
Hauke Mehrtens 6f4151b7f0 kernel: add missing option
SVN-Revision: 27925
2011-08-06 16:46:04 +00:00
Felix Fietkau ac96ae6731 kernel: add missing checks in the netfilter optimization patch which broke some rules containing only source/destination address checks
SVN-Revision: 27923
2011-08-06 12:39:31 +00:00
Hauke Mehrtens a1d5ad7655 uml: add some missing options
SVN-Revision: 27921
2011-08-06 11:23:45 +00:00
Hauke Mehrtens d447cb5164 kernel: add some missing config options
These options where found by buildbot

SVN-Revision: 27920
2011-08-06 10:41:15 +00:00
Hauke Mehrtens 51be984655 kernel: update to kernel version 3.0.1
SVN-Revision: 27918
2011-08-06 09:51:55 +00:00
Florian Fainelli 55e020cd14 update to kernel 3.0
SVN-Revision: 27912
2011-08-05 13:48:42 +00:00
Florian Fainelli 698c1b4952 add more missing config symbols
SVN-Revision: 27911
2011-08-05 13:48:38 +00:00
Florian Fainelli 48af2495b4 update to kernel 3.0
SVN-Revision: 27910
2011-08-05 13:48:35 +00:00
Florian Fainelli a8e79cbdf8 add 101-perf_arm_uclibc.patch to 3.0 patches
SVN-Revision: 27909
2011-08-05 13:48:31 +00:00
Florian Fainelli c99d08f050 add missing config symbol
SVN-Revision: 27908
2011-08-05 13:48:28 +00:00
Gabor Juhos 7e5a1bc1d0 ar71xx: fix image generation
SVN-Revision: 27907
2011-08-05 10:31:52 +00:00
Hauke Mehrtens 77966b81d8 brcm47xx: use kernel 3.0
As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.

SVN-Revision: 27906
2011-08-04 20:10:24 +00:00
Hauke Mehrtens 8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Gabor Juhos 85b858fae6 ar71xx: enable sysupgrade on the AP96 and DB120 boards
SVN-Revision: 27901
2011-08-04 19:41:18 +00:00
Gabor Juhos fb77134596 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
SVN-Revision: 27900
2011-08-04 19:41:17 +00:00
Gabor Juhos fd3a5f64f2 ar71xx: cleanup image generation Makefile
SVN-Revision: 27899
2011-08-04 19:41:16 +00:00
Felix Fietkau 4b75394056 ar71xx: fix ethernet FIFO state corruption on ar7240
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

SVN-Revision: 27896
2011-08-04 17:36:31 +00:00
Felix Fietkau d2aeca6b6d ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

SVN-Revision: 27895
2011-08-04 17:36:27 +00:00
Felix Fietkau 500c3a1475 ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
2011-08-04 17:36:23 +00:00
Jonas Gorski 3b36e83a29 generic: Add missing config symbol
SVN-Revision: 27887
2011-08-03 23:28:00 +00:00
Florian Fainelli 4543f6d659 remove 8*1-usb_serial_endpoint_size.patch
This is breaking some devices out there such as Winchiphead CH341 adapters (#9601)

SVN-Revision: 27885
2011-08-03 13:23:21 +00:00
Florian Fainelli c37a9544bf add support for BCM6345 Ethernet DMA engine
SVN-Revision: 27881
2011-08-02 18:55:55 +00:00
Florian Fainelli 11c4128770 improve BCM6345 support
- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

SVN-Revision: 27880
2011-08-02 18:55:46 +00:00
Florian Fainelli c4af036ec7 refresh 3.0 patches
SVN-Revision: 27879
2011-08-02 18:55:38 +00:00
Felix Fietkau 54d97e6782 ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%
SVN-Revision: 27878
2011-08-02 15:12:08 +00:00
Florian Fainelli a0ce3668a6 fix r6040 multicast patch, thanks nicolas le falher
SVN-Revision: 27876
2011-08-02 14:13:00 +00:00
Jonas Gorski ed2b7cd342 linux/generic: remove obsolete kernel options from 3.0
Also fix one typo.

SVN-Revision: 27875
2011-08-02 09:58:16 +00:00
Jonas Gorski 61e2e03311 kernel: Fix firewire for 2.6.37+
The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874
2011-08-02 09:53:19 +00:00
Felix Fietkau e5e17a1ce8 imagebuilder: clean opkg files if requested (patch from #9866)
SVN-Revision: 27872
2011-08-01 23:58:11 +00:00
Felix Fietkau 62b8cba9c0 kernel: enable inotify by default (#8055)
SVN-Revision: 27853
2011-07-31 18:12:23 +00:00
Felix Fietkau 19eaf1c5f7 kernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0
SVN-Revision: 27840
2011-07-30 15:39:52 +00:00
Imre Kaloz e4b6839fd3 upgrade to 3.0 (magicbox ata and openrb usb is broken, but the current kernel didn't compile at all, so...)
SVN-Revision: 27826
2011-07-29 10:16:48 +00:00
Jonas Gorski e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Gabor Juhos ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
Gabor Juhos 437e184484 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812
2011-07-28 10:56:30 +00:00
Gabor Juhos 7193f29d96 ramips: rt305x: enable M25P80 driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27811
2011-07-28 10:56:28 +00:00
Gabor Juhos c6db514de8 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27810
2011-07-28 10:56:27 +00:00
Gabor Juhos 57122e7ccc ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos 3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos 857c1028ac ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos 42d3a55347 ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
2011-07-28 10:56:21 +00:00
Gabor Juhos 39689b648f ramips: rt305x: sort Kconfig/Makefile entries
SVN-Revision: 27805
2011-07-28 10:56:19 +00:00
Gabor Juhos 32c0534516 ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>

SVN-Revision: 27804
2011-07-28 10:56:18 +00:00
Gabor Juhos 57663ce25b ramips: fix PWH2004 image generation
SVN-Revision: 27803
2011-07-28 10:56:15 +00:00
Jonas Gorski eaa935658b swconfig: Add generic switch identifiers
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800
2011-07-27 18:00:18 +00:00
Felix Fietkau 4da138d899 x86/alix2: include WAN interface by default
Include WAN interface by default, instead of putting both ports in the LAN bridge.

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

SVN-Revision: 27787
2011-07-26 16:37:48 +00:00
Felix Fietkau 41db64f8e0 x86/alix2: fix typo in target makefile
Cut and paste cruft from borrowing from Geos platform.

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

SVN-Revision: 27786
2011-07-26 16:37:44 +00:00
Hauke Mehrtens 80956276a7 x86: add missing config symbols
This adds some config symbols for kernel 3.0.

Thank you realopty for the patch.

This is from #9719.

SVN-Revision: 27775
2011-07-25 21:21:01 +00:00
Jonas Gorski 4e6c93bef1 bcm63xx: Fix SPI commands and register offsets for BCM6348
In 240-spi.patch, spi registers for bcm6348 were all messed up. This patch fixes that.
It also fixes some spi commands for all bcm63xx.

Signed-off-by: Anthony Blakemore <stokie-ant@raverbaby.co.uk>

SVN-Revision: 27774
2011-07-25 19:52:47 +00:00
Imre Kaloz f0f10fa599 add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
SVN-Revision: 27762
2011-07-24 22:04:08 +00:00
Jo-Philipp Wich f66871e836 From: George Kashperko <george@znau.edu.ua> Issue map read after Write Buffer Load command to ensure chip is ready to receive data. Signed-off-by: George Kashperko <george@znau.edu.ua>
SVN-Revision: 27760
2011-07-24 15:37:00 +00:00
Jo-Philipp Wich 6eb9e39bc4 refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
SVN-Revision: 27759
2011-07-24 15:36:33 +00:00
Hauke Mehrtens 4815eaa4c3 brcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
ssb_pcicore_fix_sprom_core_index accesses the sprom on the pci bus but
this causes a data bus error (oops) on a SoC.

SVN-Revision: 27758
2011-07-24 15:18:29 +00:00
Felix Fietkau 9e4113b493 ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau 5b32d62fcf rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB
SVN-Revision: 27755
2011-07-24 14:40:31 +00:00
Felix Fietkau 1afe8a0726 rtl8366: unify rtl8366s and rtl8366rb platform data
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Hauke Mehrtens 00dd85d8f6 ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c

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

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753
2011-07-24 14:17:58 +00:00
Felix Fietkau b5e3f6cd81 x86: 2.6.39 requires additional symbol
Sysfs support for DMI BIOS was added in 2.6.39.

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

SVN-Revision: 27749
2011-07-24 09:41:07 +00:00
Felix Fietkau a6f7e72cf7 atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 27747
2011-07-24 09:11:10 +00:00
Felix Fietkau 6d3bddb056 geos: include pppstats and pppdump in default packaging
As the Geos box includes an ADSL modem that's targeted towards PPPoE, PPPoA, and bridged utilization, including these useful tools allows for easier configuration and troubleshooting.

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

SVN-Revision: 27743
2011-07-24 08:41:58 +00:00
Felix Fietkau 9105dad418 ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Imre Kaloz 193845ce7a upgrade to 3.0
SVN-Revision: 27738
2011-07-23 20:44:08 +00:00
Imre Kaloz 5e29e14795 upgrade to 3.0
SVN-Revision: 27737
2011-07-23 20:43:53 +00:00
Imre Kaloz 0cb1b5d775 3.0 is out
SVN-Revision: 27736
2011-07-23 20:42:58 +00:00
Hauke Mehrtens 49f4d4217e brcm47xx: build bcma into the kernel
Now we can assume that every brcm47xx kernel has the bcma module build
into the kernel. This is not needed for this version as this does not
support bcma as system bus but kernel 3.0 will.

SVN-Revision: 27733
2011-07-23 11:19:58 +00:00
Hauke Mehrtens 5169b72c8a kernel: update bcma and ssb to version master-2011-07-22 from wireless-testing
SVN-Revision: 27731
2011-07-23 11:17:00 +00:00
Hauke Mehrtens b07b5fc7b6 brcm47xx: remove old kernel versions
SVN-Revision: 27724
2011-07-22 18:41:24 +00:00
Hauke Mehrtens b988168906 brcm47xx: update bcma and ssb to master-2011-07-21
* add new patches for bcm4716 SoC
* add support for serial flash on bcma bus

SVN-Revision: 27723
2011-07-22 16:30:42 +00:00
Hauke Mehrtens 39f491e479 kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch

SVN-Revision: 27722
2011-07-22 16:04:25 +00:00
Felix Fietkau c7173a211d ar71xx: reinitialize global switch settings after reset on ar7240
SVN-Revision: 27705
2011-07-20 14:39:47 +00:00
Felix Fietkau ca473833c4 ar71xx: configure address aging on ar7240
SVN-Revision: 27704
2011-07-20 14:39:42 +00:00
Felix Fietkau fefc79f3cb ar71xx: reset the phy in the ethernet init on ar724x
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Felix Fietkau 005fe5d1fd ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
SVN-Revision: 27702
2011-07-20 12:04:29 +00:00
Felix Fietkau e7ab000008 ar71xx: increase the delay after the ethernet MAC reset
SVN-Revision: 27701
2011-07-20 12:04:25 +00:00
Felix Fietkau 255dcaa3a6 ar71xx: fix an unused variable warning
SVN-Revision: 27700
2011-07-20 12:04:20 +00:00
John Crispin 8acc276692 sync default kernel config for lantiq danube/ar9
SVN-Revision: 27697
2011-07-19 18:08:09 +00:00
John Crispin 500d7d4bc8 fix etehrnet when using EPHY on lantiq ASE
SVN-Revision: 27696
2011-07-19 18:06:52 +00:00
John Crispin 78a9b1a2ad fixes pci on lantiq AR9 SoC
SVN-Revision: 27695
2011-07-19 18:06:42 +00:00
John Crispin 3833b7be24 add support for more lantiq AR9 boards
SVN-Revision: 27694
2011-07-19 18:06:33 +00:00
Felix Fietkau fee32761f3 kernel: backport and enable tmpfs xattr support for 2.6.39
SVN-Revision: 27691
2011-07-19 09:00:55 +00:00
John Crispin 6b8c119b41 * fix external interrupts
SVN-Revision: 27687
2011-07-18 16:27:11 +00:00
John Crispin 5906377332 * add gigasx76x update
* rebase patches
* add arv752DPW arv7525PD
* fixes gpio_keys

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 27665
2011-07-17 19:27:44 +00:00
Florian Fainelli 3994a2d1f9 add additionnal debug symbols when kernel debugging is enabled
SVN-Revision: 27637
2011-07-17 12:30:04 +00:00
Florian Fainelli 9c7294f7c7 add ehci support to DWV-S0 board (#9059)
SVN-Revision: 27622
2011-07-16 08:39:04 +00:00
Florian Fainelli 930485561c fix GEN_SPI_RSET_BASE macro (#9697)
SVN-Revision: 27604
2011-07-13 09:33:11 +00:00
Imre Kaloz ab5fd3c1cb upgrade to 3.0-rc7
SVN-Revision: 27600
2011-07-12 13:44:16 +00:00
Imre Kaloz 0321740a62 upgrade to 3.0-rc6 and optimize for armv5te again
SVN-Revision: 27592
2011-07-11 20:35:16 +00:00
Felix Fietkau f3d693c0ee ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
SVN-Revision: 27568
2011-07-09 06:30:13 +00:00
Felix Fietkau 2806c75c07 ag71xx: keep the rx engine stopped while the link is not up, should hopefully fix stability issues from #9405
SVN-Revision: 27567
2011-07-09 06:29:46 +00:00
Imre Kaloz 8788b97e65 use the new upstream l2cache and wdt code, smaller changes, refresh patches
SVN-Revision: 27558
2011-07-08 09:41:07 +00:00
Imre Kaloz b3b0f0e49a add mpcore_wdt fixes
SVN-Revision: 27557
2011-07-08 09:33:13 +00:00
John Crispin 7f548d379f fix generation of falcon images for profiles
SVN-Revision: 27550
2011-07-07 20:20:51 +00:00
John Crispin d7732885ed adds 2 ASC related patches to lantiq
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>

SVN-Revision: 27549
2011-07-07 20:20:46 +00:00
John Crispin b75a8fb532 fix up falcon kernel config
SVN-Revision: 27542
2011-07-07 18:20:56 +00:00
John Crispin 036df9f088 fix i2c-falcon kmod package selection
SVN-Revision: 27541
2011-07-07 18:20:51 +00:00
John Crispin a463daa818 replace all references to xway with danube
SVN-Revision: 27538
2011-07-07 18:20:37 +00:00
John Crispin dc2af33083 fix lantiq image makefile to represent new split between ar9 and danube
SVN-Revision: 27537
2011-07-07 18:20:31 +00:00