Commit graph

7228 commits

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