Felix Fietkau
87f078aee9
kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:29 +00:00
Felix Fietkau
494a34245d
kernel: keep dropped stats in fq_codel
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:25 +00:00
Felix Fietkau
967b13d79b
kernel: tune fq_codel defaults for common netdevice speeds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:21 +00:00
Felix Fietkau
10e97fe11f
kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:16 +00:00
Florian Fainelli
f79b8bc0ec
kernel: refresh patches against 3.9-rc6
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 16:16:20 +00:00
Florian Fainelli
7251e4fdeb
kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
...
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 16:16:16 +00:00
Florian Fainelli
5a27c63705
kernel: backport switch user API changes after r36283
...
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 15:47:01 +00:00
John Crispin
7b7317fc25
[ramips] unbreak portmapping - typo fix
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:39:01 +00:00
John Crispin
ffaccbaa81
[ramips] move memory detect node to dtsi files
...
Signed-of-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:36 +00:00
John Crispin
77a28db429
[ramips] Add Netgear WNCE2001 (OF version)
...
Add Netgear WNCE2001.
This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.
Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming
The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.
The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.
http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:33 +00:00
John Crispin
e61b526322
[ramips] remove bootargs from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:28 +00:00
John Crispin
8fb3d4d8cf
[ramips] add ofpart info to the devicetrees
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:24 +00:00
John Crispin
6b65168cf8
[ramips] add sample swconfig portmap
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:20 +00:00
John Crispin
98f2fc0ea1
[ramips] set of_node before registring the switch
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:17 +00:00
John Crispin
3dc6fbf96d
[swconfig] allow loading port maps from OF
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:09 +00:00
Steven Barth
4c9003ffc7
Adapt default network configuration for IPv6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 08:03:08 +00:00
Gabor Juhos
42e7765d34
ramips: TEW-691GR.dts fixes
...
* fix pinmux settings
* remove spi node
* add nor-flash node
* enable mdio-bus and add phy handle
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 12:34:17 +00:00
Gabor Juhos
3d035c5be5
ramips: rt3883: enable the AR8216 driver
...
It is needed for the TEW-69{1,2}GR boards.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 12:34:15 +00:00
Gabor Juhos
67f2b85c8b
ramips: add profile for the Omnima EMB-HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:04 +00:00
Gabor Juhos
409d825847
ramips: OMNI-EMB-HPM.dts fixes
...
* add mdio-bus and phy nodes
* set phy-handle for the ethernet node
* define flash partiions
* cleanup flash node properties
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:03 +00:00
Gabor Juhos
c9bcd064dd
ramips: add mdio-bus node to rt3883.dtsi
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:02 +00:00
Gabor Juhos
c0a94a3105
ramips: fix MDIO/PHY handling
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:01 +00:00
Gabor Juhos
ed8fffd327
ramips: fix console speed for OMNI-EMB-HPM
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 08:24:51 +00:00
Gabor Juhos
d515b9e7c7
ramips: avoid invalid pointer dereference in pinmux code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 08:24:50 +00:00
Gabor Juhos
ee9470c508
ramips: TEW-692GR.dts fixes
...
* fix pinmux settings
* remove spi node
* add PCI node
* add nor-flash node
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 07:11:35 +00:00
Gabor Juhos
04b9580dba
ramips: add PCI node into RTN56U.dts
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:22 +00:00
Gabor Juhos
170c3c34d7
ramips: add PCI node for rt3883.dtsi
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:21 +00:00
Gabor Juhos
9a5ee56a33
ramips: rt3883: enable PCI support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:20 +00:00
Gabor Juhos
c797fdfb4d
ramips: fix RT3883 PCI driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:18 +00:00
Gabor Juhos
2ea7a39705
ramips: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 17:05:05 +00:00
Gabor Juhos
95f88d23c0
ramips: add missing cpu-feature-override.h files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 17:05:04 +00:00
Gabor Juhos
24a761dac1
ramips: fix broken patch name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 16:26:27 +00:00
Gabor Juhos
d16801822a
ramips: fix polarity of GPIO buttons for RT-N56U
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 16:24:33 +00:00
Gabor Juhos
941539cb04
x86/generic: remove old kernel configs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:17 +00:00
Gabor Juhos
b7a4639384
x86/generic: switch to 3.8
...
Only tested within a VM.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:15 +00:00
Gabor Juhos
da00d19b24
x86/generic: add config for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:13 +00:00
Gabor Juhos
c2c4190a24
x86/alix2: remove old kernel configs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:11 +00:00
Gabor Juhos
9e8a9a0cc9
x86/alix2: switch to 3.8
...
Tested on an alix2d13 board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:09 +00:00
Gabor Juhos
c62a2a7fb8
x86/alix2: add config for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:08 +00:00
Gabor Juhos
eb343829ba
x86: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 15:53:05 +00:00
Gabor Juhos
ae97f7ac24
ramips: add nor-flash node for the RT-N56U
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 14:46:11 +00:00
Gabor Juhos
ba1f5717e8
ramips: fix pinmux settings for the RT-N56U
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 14:46:10 +00:00
Gabor Juhos
c2751b8502
ramips: pinmux fixes
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 14:46:09 +00:00
Gabor Juhos
c79885c667
ramips: remove trailing whitespaces from dts files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 13:32:37 +00:00
Gabor Juhos
2ae68184a8
ramips: handle PCI interrupts in plat_irq_dispatch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 13:25:38 +00:00
John Crispin
319f0d0a6e
[ramips] fix typos inside dts files
...
Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:47:03 +00:00
John Crispin
695fe3d0ed
[ramips] fix default commandline in dts files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:46:54 +00:00
Gabor Juhos
00d4fe79c0
ramips: add cfi_cmdset_0002 patches
...
The parallel flash access on the RT-N56U is broken
without those patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:37:15 +00:00
Felix Fietkau
d9d6fd3f5d
cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:24:30 +00:00
Gabor Juhos
ec4901457c
ramips: remove top-level {address,size}-cells properties from .dts files
...
Those are defined in the SoC specific .dtsi files.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 08:19:10 +00:00