John Crispin
e3003ea2a9
fix prepare_generic_squashfs
...
prepare_generic_squashfs was called twice on the generated images breaking mount_root
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36349
2013-04-17 11:54:09 +00:00
John Crispin
8001e6a689
fix rt305x gpio
...
https://dev.openwrt.org/ticket/13359
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36343
2013-04-16 06:58:18 +00:00
Gabor Juhos
604395650a
kernel: update linux 3.8 to 3.8.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
John Crispin
d3a46c4b7f
update rt2880 config-3.8
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36327
2013-04-12 18:57:01 +00:00
John Crispin
92259c4803
fix up the rt2880 patches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36326
2013-04-12 18:56:53 +00:00
John Crispin
a6424245e6
fix RT-N15 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36325
2013-04-12 18:56:44 +00:00
John Crispin
7af1fa46ad
update rt2880.dtsi
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36324
2013-04-12 18:56:36 +00:00
John Crispin
fb47fd0d6b
unbreak portmapping - typo fix
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
John Crispin
bc7b310959
move memory detect node to dtsi files
...
Signed-of-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36290
2013-04-09 14:19:36 +00:00
John Crispin
48feea4861
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>
SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
John Crispin
e468abcae0
remove bootargs from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36288
2013-04-09 14:19:28 +00:00
John Crispin
82c3b7ce26
add ofpart info to the devicetrees
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36287
2013-04-09 14:19:24 +00:00
John Crispin
f1e9d30ffc
add sample swconfig portmap
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36286
2013-04-09 14:19:20 +00:00
John Crispin
fcd962cc71
set of_node before registring the switch
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36285
2013-04-09 14:19:17 +00:00
Gabor Juhos
130f67210a
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>
SVN-Revision: 36276
2013-04-08 12:34:17 +00:00
Gabor Juhos
a4a148f222
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>
SVN-Revision: 36275
2013-04-08 12:34:15 +00:00
Gabor Juhos
a9d977b2af
ramips: add profile for the Omnima EMB-HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36274
2013-04-08 11:12:04 +00:00
Gabor Juhos
82705b30b3
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>
SVN-Revision: 36273
2013-04-08 11:12:03 +00:00
Gabor Juhos
909fabe574
ramips: add mdio-bus node to rt3883.dtsi
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36272
2013-04-08 11:12:02 +00:00
Gabor Juhos
78ee80f2e8
ramips: fix MDIO/PHY handling
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36271
2013-04-08 11:12:01 +00:00
Gabor Juhos
30e5bae84a
ramips: fix console speed for OMNI-EMB-HPM
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36270
2013-04-08 08:24:51 +00:00
Gabor Juhos
cd7ce5226d
ramips: avoid invalid pointer dereference in pinmux code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36269
2013-04-08 08:24:50 +00:00
Gabor Juhos
4c85227cf4
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>
SVN-Revision: 36268
2013-04-08 07:11:35 +00:00
Gabor Juhos
97635d7a8e
ramips: add PCI node into RTN56U.dts
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36264
2013-04-07 20:56:22 +00:00
Gabor Juhos
474264f64c
ramips: add PCI node for rt3883.dtsi
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36263
2013-04-07 20:56:21 +00:00
Gabor Juhos
6c8951313c
ramips: rt3883: enable PCI support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36262
2013-04-07 20:56:20 +00:00
Gabor Juhos
b6b0a8fbee
ramips: fix RT3883 PCI driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36261
2013-04-07 20:56:18 +00:00
Gabor Juhos
1700bf5b2e
ramips: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36260
2013-04-07 17:05:05 +00:00
Gabor Juhos
6de8743e44
ramips: add missing cpu-feature-override.h files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36259
2013-04-07 17:05:04 +00:00
Gabor Juhos
68875710fd
ramips: fix broken patch name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36258
2013-04-07 16:26:27 +00:00
Gabor Juhos
16d0ce52b0
ramips: fix polarity of GPIO buttons for RT-N56U
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36257
2013-04-07 16:24:33 +00:00
Gabor Juhos
d1f28c6d1f
ramips: add nor-flash node for the RT-N56U
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36249
2013-04-07 14:46:11 +00:00
Gabor Juhos
0c3c29ca38
ramips: fix pinmux settings for the RT-N56U
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36248
2013-04-07 14:46:10 +00:00
Gabor Juhos
66fbe78a93
ramips: pinmux fixes
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36247
2013-04-07 14:46:09 +00:00
Gabor Juhos
aedf05caa0
ramips: remove trailing whitespaces from dts files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36246
2013-04-07 13:32:37 +00:00
Gabor Juhos
017aabe292
ramips: handle PCI interrupts in plat_irq_dispatch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36245
2013-04-07 13:25:38 +00:00
John Crispin
811f7f9f2d
fix typos inside dts files
...
Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>
SVN-Revision: 36244
2013-04-07 11:47:03 +00:00
John Crispin
709b19ed9f
fix default commandline in dts files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36243
2013-04-07 11:46:54 +00:00
Gabor Juhos
85675528da
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>
SVN-Revision: 36242
2013-04-07 11:37:15 +00:00
Gabor Juhos
10d8e4b66c
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>
SVN-Revision: 36237
2013-04-07 08:19:10 +00:00
Gabor Juhos
756b810178
ramips: fix ethernet switch node in DIR-645.dts
...
Fix a typo in the node name and add vendor prefix
for the compatible string.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36231
2013-04-06 17:19:35 +00:00
Gabor Juhos
1ef39b43dd
ramips: remove spi node from RTN56.dts
...
The RT-N56U board uses a parallel flash.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36223
2013-04-06 12:37:40 +00:00
Gabor Juhos
d57e662cda
ramips: fix ethernet switch node in RTN56U.dts
...
The RT-N56U uses an RTL8367M switch.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36222
2013-04-06 12:37:38 +00:00
Gabor Juhos
4becd8590c
ramips: rt3883: enable the RTL8367 driver
...
That is needed by the Asus RT-N56U board.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36221
2013-04-06 12:37:37 +00:00
Gabor Juhos
348640f4b3
ramips: rt3883: sync 3.8 config
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36217
2013-04-06 12:37:31 +00:00
John Crispin
d16de0b69f
fix typo pinmmux -> pinmux
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36216
2013-04-06 11:46:34 +00:00
Gabor Juhos
f78c902cfd
kernel: update linux 3.8 to 3.8.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
John Crispin
df7af06f1f
fix dir-615 h1 network config
...
http://patchwork.openwrt.org/patch/3527/
Signed-off-by: Daniel Petre <dani@ip6.ro>
SVN-Revision: 36213
2013-04-05 23:37:45 +00:00
John Crispin
e1a74d8ff7
fix typo that made gpiomuxing fail
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36212
2013-04-05 23:10:42 +00:00
John Crispin
93899a1329
add profile for tenda w150m board
...
http://patchwork.openwrt.org/patch/3371/
Signed-off-by: Chi Zhang <zhangchi866@gmail.com>
SVN-Revision: 36176
2013-04-03 10:00:21 +00:00
John Crispin
7e54357bd5
fix ALL5002 default package selection
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36175
2013-04-03 10:00:16 +00:00
John Crispin
37401dca92
Build WW factory image for DAP-1350
...
http://patchwork.openwrt.org/patch/3466/
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36174
2013-04-03 10:00:12 +00:00
John Crispin
910b705155
add Huawei D105
...
http://patchwork.openwrt.org/patch/3510/
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 36173
2013-04-03 10:00:08 +00:00
John Crispin
c1710901c5
add profile for the Edimax 3g-6200NL board
...
http://patchwork.openwrt.org/patch/3214/
Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net>
SVN-Revision: 36172
2013-04-03 10:00:03 +00:00
John Crispin
f3643374c4
there is no ttyS1 console
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36171
2013-04-03 09:59:59 +00:00
John Crispin
99e0ff1123
make v3.8 the default
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36170
2013-04-03 09:59:55 +00:00
John Crispin
c8d5f5e0ef
add new image/Makefile
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36169
2013-04-03 09:59:51 +00:00
John Crispin
770b28f146
add the dts files that describe the boards in future
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36168
2013-04-03 09:59:46 +00:00
John Crispin
2328e8389e
fix upvel profile names
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36167
2013-04-03 09:59:41 +00:00
John Crispin
94972a5268
fix rt3883 config-3.8
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36166
2013-04-03 09:59:37 +00:00
John Crispin
0716ae8abe
fix rt305x config-3.8
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36165
2013-04-03 09:59:33 +00:00
John Crispin
dce4945972
mark rt288x broken until the test hardware arrives in the mail
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36164
2013-04-03 09:59:16 +00:00
John Crispin
46f141637c
add patches for v3.8
...
Signed-off-by: John Crsipin <blogic@openwrt.org>
SVN-Revision: 36163
2013-04-03 09:59:10 +00:00
John Crispin
4f86ea43ca
remove old ralink 3.8 patches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36162
2013-04-03 09:58:48 +00:00
John Crispin
d4db00205d
move files to files-3.7
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36161
2013-04-03 09:58:44 +00:00
John Crispin
86a691144b
add feature gpio
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36160
2013-04-03 09:58:37 +00:00
Gabor Juhos
07532dca7f
kernel: update linux 3.8 to 3.8.3
...
Also refresh the related generic/platform patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
John Crispin
b22cbac68f
make sure errors get sent to /dev/null
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35988
2013-03-12 13:52:40 +00:00
Gabor Juhos
fe3df4b593
ramips: add profile and build image for the Upvel UR-326N4G board
...
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35972
2013-03-11 21:02:45 +00:00
Gabor Juhos
d543f4b771
ramips: add user-space support for the Upvel UR-326N4G board
...
[juhosg: fix mac address setup]
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35971
2013-03-11 21:02:43 +00:00
Gabor Juhos
3c2ef04a0e
ramips: add kernel support for the Upvel UR-326N4G board
...
[juhosg: add missing symbols to config-3.{7,8}]
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35970
2013-03-11 21:02:40 +00:00
Gabor Juhos
23b3b3a194
kernel: update linux 3.7 to 3.7.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos
8798c73860
ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
...
All known rt305x and rt3883 implementations support at
least the 24kec instruction set which includes the DSP
extension. For rt288x, the previous value mips32r2 is
kept.
The cpu target is now set per sub-archtecture, according
to cpu-feature-overrides.h of each SoC family.
[juhosg: define ARCH_PACKAGES variable for rt305x/rt3883
in order to differentiate the packages compiled with
the 24Kec option.]
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35853
2013-03-03 12:47:31 +00:00
Gabor Juhos
59ad675ef1
ramips: add user-space detection for ALL5002/ALL5003
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35852
2013-03-03 12:47:28 +00:00
Gabor Juhos
50e51e5ecc
ramips: indicate support for ALL5003
...
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35851
2013-03-03 12:47:25 +00:00
Gabor Juhos
367ab0a40f
ramips: enhance user-space board detection
...
Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35850
2013-03-03 12:47:02 +00:00
Gabor Juhos
1ba2272ca5
ramips: fix whitespace in /lib/ramips.sh
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35849
2013-03-03 12:46:08 +00:00
Gabor Juhos
5412b6f32e
ramips: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35801
2013-02-25 21:28:42 +00:00
Gabor Juhos
a08646642e
ramips: image: don't break make process if mkimage command fails
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35800
2013-02-25 21:28:40 +00:00
Gabor Juhos
275db5b4c4
ramips: remove port_power_off field from ehci_platform_data
...
It is removed in 3.8. Also add a revert patch for 3.7.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35799
2013-02-25 21:28:38 +00:00
Gabor Juhos
5e1d6ce077
ramips: remove __dev_{init,exit} annotations
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35798
2013-02-25 21:28:34 +00:00
Jonas Gorski
1cd62d06ca
ramips: print image build warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35721
2013-02-21 11:45:33 +00:00
Gabor Juhos
90011a99f3
ramips: migrate to common led helper functions
...
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35652
2013-02-18 09:56:29 +00:00
Gabor Juhos
3f749d1e8e
kernel: update linux 3.7 to 3.7.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos
4375dae6d3
ramips: fix kmod-usb2 package name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35628
2013-02-16 17:26:52 +00:00
Gabor Juhos
7fd8525853
ramips: use the new macaddr_* helpers instead of maccalc
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35615
2013-02-16 11:50:25 +00:00
Gabor Juhos
753d713e92
ramips: use the mtd_get_mac_* helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35613
2013-02-16 11:50:21 +00:00
Gabor Juhos
162b8e23a5
kernel: update linux 3.7 to 3.7.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
bae4bfe3f8
kernel: update linux 3.7 to 3.7.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
08ff976720
kernel: update linux 3.7 to 3.7.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos
9ed81a91f3
ramips: build image for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35468
2013-02-02 17:21:06 +00:00
Gabor Juhos
813aec6796
ramips: add user-space support for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35467
2013-02-02 17:21:05 +00:00
Gabor Juhos
d578f3ac38
ramips: rt3883: add kernel support for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35466
2013-02-02 17:21:01 +00:00
Gabor Juhos
b99b2ff553
ramips: add userspace support for the Edimax BR-6425
...
[juhosg: remove sysupgrade changes]
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35463
2013-02-02 17:01:50 +00:00
Gabor Juhos
0a42e38bad
ramips: add kernel support for the Edimax BR-6425 board
...
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35462
2013-02-02 17:01:47 +00:00
Gabor Juhos
fb2e2a56d7
refresh kernel configs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35434
2013-02-01 17:28:40 +00:00
Gabor Juhos
562ba537fc
kernel: update linux 3.7 to 3.7.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
John Crispin
756a7c5451
fix for non-blinking LAN LEDs
...
https://dev.openwrt.org/ticket/12830
SVN-Revision: 35359
2013-01-28 18:06:31 +00:00
John Crispin
d93706154b
ramips: reset switch on single-port devices
...
Signed-off-by: Daniel Gole <dgolle@allnet.de>
SVN-Revision: 35356
2013-01-28 17:44:41 +00:00
Gabor Juhos
15be1c9ee7
kernel: update linux 3.7 to 3.7.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Gabor Juhos
ed6d399f8d
ramips: add profile and build image for the Tenda 3G300M
...
Factory image should be used to flash from
original firmware.
[juhosg: use the GENERIC_4M template]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35246
2013-01-19 17:05:07 +00:00
Gabor Juhos
9891603eb5
ramips: add user-space support for the Tenda 3G300M
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35245
2013-01-19 17:05:06 +00:00
Gabor Juhos
7eff5d2df0
ramips: add kernel support for the Tenda 3G300M
...
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.
Factory image should be used to flash from original firmware.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35244
2013-01-19 17:05:03 +00:00
Gabor Juhos
f7a943694f
ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
...
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.
Compile-tested, the generated files inspected with "file" utility.
[juhosg:
- keep the factory.bin images to avoid users confusion,
- use GENERIC_4M template for the W306R V2.0
- update commit log]
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35243
2013-01-19 15:36:13 +00:00
Gabor Juhos
6aebe6a65d
ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
...
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35242
2013-01-19 15:36:11 +00:00
Gabor Juhos
60dde219d4
ramips: do not stop the build if some targets fail
...
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35238
2013-01-19 08:51:45 +00:00
Jo-Philipp Wich
3a2cccda2e
all targets: use numerically prefixed uci-defaults file names to better control order of execution
...
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Gabor Juhos
0de21d9747
kernel: update linux 3.7 to 3.7.3
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Felix Fietkau
576aa2af0c
ramips: enable BR6425N in kernel config
...
Though originally contained in the patch applied in r35020, the move to 3.7 in
r34845 lost the kernel .config option. Reintroduce it to config-3.7.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 35191
2013-01-17 09:39:44 +00:00
Gabor Juhos
ff2ce330a5
ramips: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35110
2013-01-12 12:25:30 +00:00
Gabor Juhos
d53f8c3ded
ramips: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35109
2013-01-12 12:25:28 +00:00
John Crispin
f2f9332350
adds support for Edimax BR-6524N
...
fixes #12754
Signed-off-by: <rq@akl.lt>
SVN-Revision: 35020
2013-01-06 11:11:42 +00:00
John Crispin
569bbe4970
rt5350 switch support fix
...
RT5350 frame engine need reset frame engine and embedded switch together.
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 34969
2013-01-02 11:28:21 +00:00
Gabor Juhos
fb07876f25
ramips: rt305x: fix garbled name in mach-mzk-w300nh2.c
...
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34934
2012-12-30 08:23:48 +00:00
Gabor Juhos
6708d68c24
ramips: build firmware image for the Planex MZK-W300NH2 Router
...
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34927
2012-12-29 17:50:40 +00:00
Gabor Juhos
8b1ac2ae37
ramips: add user-space support for the Planex MZK-W300NH2 Router
...
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34926
2012-12-29 17:50:38 +00:00
Gabor Juhos
d6d06aceb0
ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
...
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/ . It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.
[juhosg: move user-space support and image generation changes into
separate patches]
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34925
2012-12-29 17:50:35 +00:00
Gabor Juhos
76537041eb
ramips: build image for Airlive AIR3GII
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34924
2012-12-29 17:50:34 +00:00
Gabor Juhos
3aad9b4c9b
ramips: add user-space support for Airlive AIR3GII
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34923
2012-12-29 17:50:32 +00:00
Gabor Juhos
3fcb8bb0dd
ramips: rt305x: add kernel support for AirLive AIR3GII
...
AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.
Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button
[ 13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[ 13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.
Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)
[juhosg: move user-space support and image generation changes into
separate patches]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34922
2012-12-29 17:50:28 +00:00
Felix Fietkau
41a039f464
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
...
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Gabor Juhos
69da894432
ramips: fix ASUS WL-330N3G MAC address
...
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.
Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.
Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34877
2012-12-24 06:52:41 +00:00
Gabor Juhos
c5a36f13f0
ramips: fix wifi EEPROM extraction on DIR-615-Dx models
...
Patch from #12636 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34876
2012-12-24 06:52:38 +00:00
Gabor Juhos
8105c6badd
ramips: unify eeprom file name for the built-in wireless MAC
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34860
2012-12-22 16:09:03 +00:00
Gabor Juhos
c81b4475c9
ramips: rt3883: fix build error
...
The cpuport_cfg field has been renamed to port0_cfg.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34859
2012-12-22 13:50:47 +00:00
Gabor Juhos
b44cdcde8e
ramips: add support for 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34845
2012-12-22 12:11:13 +00:00
Gabor Juhos
b81667cb23
ramips: convert to use {e,o}hci-platform driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34843
2012-12-22 12:11:08 +00:00
Gabor Juhos
e1b5eeeaa4
ramips: Add USB support for DAP-1350 platform.
...
It seems to work as intended, but only lightly tested.
Patch-by: Bryan Steele <brynet@gmail.com>
SIgned-off-by: Gabor Juhos <juhsog@openwrt.org>
SVN-Revision: 34811
2012-12-20 19:17:17 +00:00
Mirko Vogt
e34a4e0c7b
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
...
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Gabor Juhos
44b9898251
kernel: update linux 3.6 to 3.6.11
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Gabor Juhos
fe8efb72ca
ramips: nuke 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34744
2012-12-17 22:28:11 +00:00
Gabor Juhos
2b378d11c8
kernel: update linux 3.6 to 3.6.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
John Crispin
c2ae0ec02a
add support for Hauppauge Broadway
...
This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway
platform. It doesn't deal with the TV tuner or transcoder at this point,
but the core functionality is working (Ethernet, wireless, USB, buttons,
LEDs, etc).
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
SVN-Revision: 34595
2012-12-10 14:13:01 +00:00
Gabor Juhos
2581173660
kernel: update linux 3.6 to 3.6.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Gabor Juhos
e0e43655ce
ramips: fix serial console for Belkin F5D8235 v1/v2
...
Based on a patch from #12533 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34445
2012-12-02 14:16:12 +00:00
Gabor Juhos
44131bd785
ramips: rt305x: add profile and build image for the Asus RT-N13U
...
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34407
2012-11-29 17:37:14 +00:00
Gabor Juhos
d3994b7408
ramips: rt305x: add user-space support for the Asus RT-N13U
...
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34406
2012-11-29 17:37:13 +00:00
Gabor Juhos
0ec59e6235
ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 Router
...
The work has been backported from openwrt-dreambox with
some modifications & code cleanup.
* updated config-3.3
* updated config-3.6
* renamed rt-n13 to rt-n13u
* fixed mach-rt-n13u.c
[juhosg: move user-space support and image generation into separate
patches]
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34405
2012-11-29 17:37:11 +00:00
Gabor Juhos
c2f018fca2
remove common symbols from 3.6 configs
...
The removed symbols are present in the generic configuration.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34404
2012-11-29 15:21:41 +00:00
Gabor Juhos
1f516235ea
remove common symbols from 3.3 configs
...
The removed symbols are present in the generic configuration.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Gabor Juhos
3a4d0ebd5c
kernel: update linux 3.6 to 3.6.8
...
Also refresh the affected patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Gabor Juhos
57b7879a4e
ramips: ramips_eth: use Kconfig definition to enable debug
...
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34332
2012-11-25 14:25:54 +00:00
Gabor Juhos
21d5df8700
ramips: add DIR-615 D userspace support
...
Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.
An IRC user reported these changes allowed him to use wifi on his hardware.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34331
2012-11-25 14:25:27 +00:00
Gabor Juhos
dd092fd10c
ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34270
2012-11-20 07:19:10 +00:00
Gabor Juhos
ff1e854511
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
John Crispin
dd8c625424
previous commit pushed 1 file too many ;)
...
SVN-Revision: 34179
2012-11-12 21:36:23 +00:00
John Crispin
ced0cf3a94
move ethernet hw init to init/uninit functions
...
This should fix the stalled irq problem seen by several people.
This is not the real fix, but rather moves the bug to the un/init patch of the driver.
The real bug still needs to be fixed, but this workaround should be suffcient to make
the ethernet stable.
SVN-Revision: 34177
2012-11-12 21:35:01 +00:00
John Crispin
6090ddc896
adds fon20n profile
...
SVN-Revision: 34112
2012-11-07 20:26:31 +00:00
John Crispin
3991526989
ramips: use kernel 3.6.6
...
## Booting image at 80800000 ...
Image Name: MIPS OpenWrt Linux-3.6.6
Created: 2012-11-06 14:19:54 UTC
System Control Status = 0x20440000
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3560768 Bytes = 3.4 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32
Starting kernel ...
[ 0.000000] Linux version 3.6.6 (daniel@localhost.localdomain ) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #2 Tue Nov 6 16:19:48 IST 2012
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Ralink RT3052 id:1 rev:2 running at 384.00 MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS1,57600n8 board=ALL0239-3G mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=0000c388
[ 0.000000] Readback ErrCtl register=0000c388
[ 0.000000] Memory: 27048k/32768k available (2015k kernel code, 5720k reserved, 498k data, 2676k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:48
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[ 0.090000] pid_max: default: 32768 minimum: 301
[ 0.100000] Mount-cache hash table entries: 512
[ 0.110000] NET: Registered protocol family 16
[ 0.120000] MIPS: machine is Allnet ALL0239-3G
[ 0.140000] bio: create slab <bio-0> at 0
[ 0.150000] Switching to clocksource MIPS
[ 0.160000] NET: Registered protocol family 2
[ 0.170000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.210000] TCP: reno registered
[ 0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] NET: Registered protocol family 1
[ 5.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.470000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 5.490000] msgmni has been set to 52
[ 5.500000] io scheduler noop registered
[ 5.510000] io scheduler deadline registered (default)
[ 5.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 5.530000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 5.550000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 5.560000] physmap platform flash device: 00800000 at bf000000
[ 5.580000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000
[ 5.600000] Amd/Fujitsu Extended Query Table at 0x0040
[ 5.610000] Amd/Fujitsu Extended Query version 1.3.
[ 5.620000] number of CFI chips: 1
[ 5.620000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[ 5.640000] Creating 6 MTD partitions on "physmap-flash.0":
[ 5.650000] 0x000000000000-0x000000030000 : "u-boot"
[ 5.660000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 5.680000] 0x000000040000-0x000000050000 : "factory"
[ 5.690000] 0x000000050000-0x000000130000 : "kernel"
[ 5.700000] 0x000000130000-0x000000800000 : "rootfs"
[ 5.710000] mtd: partition "rootfs" set to be root filesystem
[ 5.730000] split_squashfs: error occured while reading from "physmap-flash.0"
[ 5.740000] 0x000000050000-0x000000800000 : "firmware"
[ 5.760000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[ 5.780000] TCP: cubic registered
[ 5.780000] NET: Registered protocol family 17
[ 5.790000] 8021q: 802.1Q VLAN Support v1.8
[ 5.820000] Freeing unused kernel memory: 2676k freed
[ 6.490000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -
Please press Enter to activate this console. [ 10.150000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 10.170000] Backport based on wireless-testing.git master-2012-09-07
[ 10.180000] compat.git: wireless-testing.git
[ 10.210000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.230000] cfg80211: World regulatory domain updated:
[ 10.240000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.250000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.270000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.280000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.300000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.310000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.430000] NET: Registered protocol family 10
[ 10.760000] PPP generic driver version 2.4.2
[ 10.820000] l2tp_core: L2TP core driver, V2.0
[ 10.840000] l2tp_netlink: L2TP netlink interface
[ 10.870000] sit: IPv6 over IPv4 tunneling driver
[ 10.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.060000] NET: Registered protocol family 24
[ 11.090000] nf_conntrack version 0.5.0 (464 buckets, 1856 max)
[ 11.230000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 11.410000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.510000] device eth0.1 entered promiscuous mode
[ 14.520000] device eth0 entered promiscuous mode
[ 14.530000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 14.550000] br-lan: port 1(eth0.1) entered forwarding state
[ 14.560000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.560000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.600000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33
BusyBox v1.19.4 (2012-11-06 13:40:37 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r34079)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#
SVN-Revision: 34111
2012-11-07 20:26:21 +00:00
John Crispin
480892226d
ramips: add HAVE_CLK to Kconfig on all ramips socs
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34110
2012-11-07 20:26:04 +00:00
John Crispin
feb31be6af
ramips: add linux-3.6 configuration for ramips socs
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
create mode 100644 target/linux/ramips/rt288x/config-3.6
create mode 100644 target/linux/ramips/rt305x/config-3.6
create mode 100644 target/linux/ramips/rt3883/config-3.6
SVN-Revision: 34109
2012-11-07 20:25:55 +00:00
John Crispin
ca1fcaed5b
ramips: port patches to linux-3.6
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
create mode 100644 target/linux/ramips/patches-3.6/001-mips-add-cp0-compare-irq-function.patch
create mode 100644 target/linux/ramips/patches-3.6/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch
create mode 100644 target/linux/ramips/patches-3.6/011-mtd-cfi_cmdset_0002-force-word-write.patch
create mode 100644 target/linux/ramips/patches-3.6/100-mips-ralink-core.patch
create mode 100644 target/linux/ramips/patches-3.6/101-rt288x_serial_driver_hack.patch
create mode 100644 target/linux/ramips/patches-3.6/102-rt288x-pci-driver-hook.patch
create mode 100644 target/linux/ramips/patches-3.6/103-ethernet.patch
create mode 100644 target/linux/ramips/patches-3.6/104-ramips-watchdog-driver.patch
create mode 100644 target/linux/ramips/patches-3.6/105-ramips-spi-driver.patch
create mode 100644 target/linux/ramips/patches-3.6/105-usb_dwc_otg.patch
create mode 100644 target/linux/ramips/patches-3.6/106-rt3883-pci-support.patch
create mode 100644 target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch
create mode 100644 target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch
SVN-Revision: 34108
2012-11-07 20:25:34 +00:00
Gabor Juhos
a0dd47bbed
ramips: enable USB power on the DIR-645
...
Closes #12422 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34082
2012-11-05 11:04:45 +00:00
Gabor Juhos
829aaedcbf
ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34078
2012-11-05 06:58:53 +00:00
Gabor Juhos
e91dc2e5b3
target: refresh all target configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33987
2012-10-29 10:11:05 +00:00
Gabor Juhos
db5eea6acd
ramips: use correct key code for the RFKILL switch on the TEW-691GR
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33943
2012-10-26 18:53:44 +00:00
Gabor Juhos
b530d9d2b3
ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33864
2012-10-19 17:42:22 +00:00
Gabor Juhos
6ca2970e4b
ramips: add profile and build image for the TEW-691GR board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33852
2012-10-18 07:23:13 +00:00
Gabor Juhos
21180e29f7
ramips: add user-space support for TEW-691GR
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33851
2012-10-18 07:23:12 +00:00
Gabor Juhos
25d53c4c28
ramips: rt3883: add initial support for the TRENDnet TEW-691GR board
...
No wireless support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33850
2012-10-18 07:23:11 +00:00
Gabor Juhos
462a53c367
ramips: add profile and build image for the TEW-692GR board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33849
2012-10-18 07:23:10 +00:00
Gabor Juhos
d3c368c324
ramips: add user-space support for the TEW-692GR board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33847
2012-10-18 07:23:07 +00:00
Gabor Juhos
7f8b7207c9
ramips: rt3883: add initial support for TRENDnet TEW-692GR board
...
No wireless support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33846
2012-10-18 07:23:06 +00:00
Gabor Juhos
bf9ae9432b
ramips: add profile and build image for the DIR-645 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33845
2012-10-18 07:23:04 +00:00
Gabor Juhos
06edafd079
ramips: add user space support for the DIR-645
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33844
2012-10-18 07:23:03 +00:00
Gabor Juhos
d1a253a2fd
ramips: rt3883: add inital support for the DIR-645 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33843
2012-10-18 07:23:02 +00:00
Gabor Juhos
e962c16a88
ramips: use get_magic_long in sysupgrade image check
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33842
2012-10-18 07:23:00 +00:00
Gabor Juhos
d832cd11f8
ramips: add image for ALL0256N-8M
...
The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.
[juhosg: change suffix from '8m' to '8M']
Patch by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33614
2012-10-04 06:34:09 +00:00
Gabor Juhos
e3bcbeb427
ramips: add memory detection code for RT5350
...
SVN-Revision: 33571
2012-09-27 10:18:15 +00:00
Gabor Juhos
80d2da9f0f
ramips: allow to use custom code for memory size detection
...
SVN-Revision: 33570
2012-09-27 10:18:14 +00:00
John Crispin
d8c04821c3
make uci-defaults switch detection work on rt5350
...
SVN-Revision: 33549
2012-09-25 14:47:18 +00:00
John Crispin
34d57ebd8b
add ethernet support for rt5350
...
SVN-Revision: 33548
2012-09-25 14:47:08 +00:00
John Crispin
af0cd76937
make ramips ethernet use a register mapping table
...
SVN-Revision: 33547
2012-09-25 14:46:58 +00:00
John Crispin
394a560a9a
unbreak port mapping detection
...
SVN-Revision: 33536
2012-09-25 09:51:48 +00:00
John Crispin
223db72385
D-Link DAP-1350; Avoid bricking esw config
...
This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.
D-Link DAP-1350 goes bricked with AA 12.09-beta.
This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.
There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.
Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 33411
2012-09-15 09:28:28 +00:00
John Crispin
bf355f8ee9
ramips/rt3883: fix a typo in the ASUS profile
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33410
2012-09-15 09:20:50 +00:00
Gabor Juhos
0a42b02126
ramips/rt305x: add initial support for Rt5350 SoC
...
Somehow detecting the RAM size in common/setup.c doesn't
work here, it always detects 64M and then crashes on devices
with less RAM.
Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how
it could be, for now I use the mem=32M kernel parameter to get
stuff working.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33381
2012-09-12 19:03:12 +00:00
Gabor Juhos
d8b2fef763
ramips: Add missing andmask to ramips_esw register read for recv_good value.
...
Add missing andmask to ramips_esw register read for recv_good value.
Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33322
2012-09-05 20:08:43 +00:00
Gabor Juhos
04c6143ca9
ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
...
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.
Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.
Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.
Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.
I did some tests regarding maximum packet size and did not see any
difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33321
2012-09-05 20:08:42 +00:00
Gabor Juhos
6c7b776ae0
ramips: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33316
2012-09-05 19:22:48 +00:00
Gabor Juhos
b0da5b73b8
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
...
SVN-Revision: 33307
2012-08-29 10:37:51 +00:00
Gabor Juhos
54d8a55eed
ramips: make built-in switch transparent for ALL0256N and ALL5002
...
This allows them to transparently communicate with an external VLAN switch.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33305
2012-08-29 10:37:47 +00:00
Gabor Juhos
bc4763a399
ramips: Power down phy on disabled switch ports
...
Power down phy on disabled switch ports.
Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.
[juhosg: fix checkpatch warning]
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33304
2012-08-29 10:37:45 +00:00
Gabor Juhos
1617f226a9
ramips: Add support for 8devices Carambola dev board.
...
Add support for 8devices Carambola dev board.
The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33303
2012-08-29 10:37:43 +00:00
Gabor Juhos
bb0785880a
ramips: Rename POC registers
...
Rename POC registers.
The current code uses POC1-POC3.
The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2
So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33302
2012-08-29 10:37:41 +00:00
Gabor Juhos
f1b9d77912
ramips: Minor ramips_esw.c cleanup
...
Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33301
2012-08-29 10:37:40 +00:00
Gabor Juhos
1f3400d3b4
ramips: Add switch setup to uci network defaults
...
Add switch setup to uci network defaults.
The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33300
2012-08-29 10:37:38 +00:00
Gabor Juhos
3b17f1deb8
ramips: Add swconfig support to ramips_esw.c
...
Add swconfig support to ramips_esw.c
This patch adds swconfig support for ramips_esw:
Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.
The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33299
2012-08-29 10:37:36 +00:00
Gabor Juhos
358c7e47f2
ramips: ramips_esw.c indentation cleanup
...
Minor indentation cleanup.
Prepare for the main swconfig patch by cleaning up indentation a bit.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33298
2012-08-29 10:37:35 +00:00
Gabor Juhos
cebaa557be
ramips: fix board parameter for the NBG-419N ( #12061 )
...
SVN-Revision: 33229
2012-08-22 17:55:12 +00:00
Gabor Juhos
eb54a05e89
ramips: add profile for Allnet devices
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33225
2012-08-22 12:36:35 +00:00
Gabor Juhos
d77418d67e
ramips: add RSSI leds for uci-defaults for ALL0256N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33220
2012-08-22 09:46:30 +00:00
Gabor Juhos
67e6461ad7
ramips: add board alias for the ALL0239-3G
...
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.
The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.
I'm working on implementing fixtrx for uImage in the mtd package to solve this.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33206
2012-08-17 17:56:07 +00:00
Gabor Juhos
89606b61b1
ramips: add support for D-Link DIR-615 H1
...
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.
[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>
SVN-Revision: 33205
2012-08-17 17:56:05 +00:00
Gabor Juhos
82759a1716
ramips: rename rt3352 usb platform devices
...
In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33145
2012-08-12 12:48:31 +00:00
Gabor Juhos
1525620b0e
ramips: watchdog: use maximum possible timeout by default
...
As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.
As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33144
2012-08-12 12:48:28 +00:00
Gabor Juhos
615a619bc7
ramips: provide means to specify custom "image name" for uImages, use for DIR-620
...
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33143
2012-08-12 12:48:26 +00:00
Gabor Juhos
9365113040
ramips: add D-Link DIR-620 A1 support
...
Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.
Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 33142
2012-08-12 12:48:24 +00:00
Florian Fainelli
1627b2bb4b
move rt305x-dwc driver to target specific modules.mk
...
SVN-Revision: 32864
2012-07-25 15:50:42 +00:00
John Crispin
5e52619b76
DWC otg usb: compilation fixes and trivial bugfix in slave mode
...
Signed-of-by: Nikolai Zhubr <n-a-zhubr@yandex.ru>
SVN-Revision: 32823
2012-07-24 20:38:55 +00:00
John Crispin
799d6deab0
D-Link DAP-1350 initial support
...
The initial support for the D-Link DAP-1350.
USB related functionality is not tested.
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32821
2012-07-24 20:38:43 +00:00
John Crispin
03be8d08ac
initial LED configuration for Fonera 2.0n
...
Setup initial configuration for Wifi and USB LEDS of a Fonera 2.0n (ramips)
Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
SVN-Revision: 32819
2012-07-24 20:38:31 +00:00
John Crispin
2d2479a033
add ALL5002 userspace support
...
detect EEPROM, MAC addresses and support sysupgrade for the ALL5002
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32816
2012-07-24 20:38:14 +00:00
John Crispin
e219c3ac3a
enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
...
Hope that this works, didn't have a chance to actually test it...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32815
2012-07-24 20:38:08 +00:00
John Crispin
a65eee9ac3
add image build for ALL5002
...
add image build for ALL5002
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32814
2012-07-24 20:38:03 +00:00
John Crispin
0a08a776fb
add support for Allnet ALL5002 to kernel
...
support ALL5002 in ramips/rt305x branch of the kernel.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32813
2012-07-24 20:37:56 +00:00
John Crispin
6641024f50
uart_clk on Rt3352F is always 40MHz
...
Currently, sys_clk/10 is used which is just wrong.
cpu_clk/10 would work for systems with 400MHz CPU clock.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32812
2012-07-24 20:37:50 +00:00
Gabor Juhos
372945185d
ramips: rt305x: add support for Edimax 3G-6200N
...
Support for Edimax 3G-6200N router with USB.
Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>
SVN-Revision: 32682
2012-07-12 13:29:46 +00:00
Vasilis Tsiligiannis
eee358338c
ramips: mac address detection for Fonera 2.0n
...
Detect and apply MAC address of a Fonera 2.0n (ramips)
Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 32490
2012-06-23 13:58:29 +00:00
Gabor Juhos
833b4af816
ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
...
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w
Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>
SVN-Revision: 32450
2012-06-19 09:52:15 +00:00
John Crispin
a4d96aae8d
bump to 3.3.8
...
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
ffbb4f88a9
ramips: use the generic uci-default functions for initial LED setup
...
SVN-Revision: 31993
2012-05-29 16:39:18 +00:00
Gabor Juhos
c71838faa1
ramips: WAN LED for D-Link DIR-300-B1
...
Add led devices for D-Link DIR-300-B1 WAN LED.
Note that the GPIO state is also ANDed with the esw switch port 4
LED state, which is why I've set the amber LED to default-on.
Closes: https://dev.openwrt.org/ticket/11326
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
[ juhosg:
- fix comment style in mach-dir-300-revb.c,
- remove the PPP specific LED setup, not everyone uses a PPP connection
on the WAN interface]
SVN-Revision: 31989
2012-05-29 16:39:03 +00:00
Gabor Juhos
1c552ba8e5
ramips: rt3883: add device registration code for the SPI controller
...
SVN-Revision: 31922
2012-05-27 17:10:00 +00:00
Gabor Juhos
9c241983fc
ramips: allow to use the SPI driver on RT3662/RT3883
...
SVN-Revision: 31921
2012-05-27 17:09:58 +00:00
Gabor Juhos
78a750dcce
ramips: rt3883: fix GPIO reservation for the SPI pins
...
SVN-Revision: 31920
2012-05-27 17:09:56 +00:00
Gabor Juhos
0622fdd82c
ramips: rt305x: remove superfluous controller_data assignment
...
SVN-Revision: 31919
2012-05-27 17:09:52 +00:00
Gabor Juhos
7f5bec0642
ramips: make rt2x00 firmware extraction quiet
...
SVN-Revision: 31918
2012-05-27 17:09:50 +00:00
Gabor Juhos
2ae5581447
kernel: update linux 3.3 to 3.3.7
...
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
e4720dfa95
ramips: Add byte queue limits support to net/ethernet/ramips_main.c
...
Add byte queue limits support to net/ethernet/ramips_main.c
"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31844
2012-05-23 21:05:23 +00:00
Gabor Juhos
1d286fd755
ramips: Enable sysupgrade for Sitecom WL-351
...
Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31843
2012-05-23 21:05:22 +00:00
Gabor Juhos
39994008cb
linux: move certain disabled symbols to the generic configs
...
* CONFIG_ARCH_DMA_ADDR_T_64BIT
* CONFIG_ARCH_HAS_ILOG2_U32
* CONFIG_ARCH_HAS_ILOG2_U64
* CONFIG_ARCH_PHYS_ADDR_T_64BIT
* CONFIG_ARCH_SUPPORTS_MSI
* CONFIG_GENERIC_CPU_DEVICES
* CONFIG_HWMON_DEBUG_CHIP
* CONFIG_I2C_PXA_PCI
* CONFIG_LEDS_GPIO
* CONFIG_MINIX_FS_NATIVE_ENDIAN
* CONFIG_MLX4_CORE
* CONFIG_POWER_SUPPLY
* CONFIG_POWER_SUPPLY_DEBUG
* CONFIG_QUOTACTL
* CONFIG_SDIO_UART
* CONFIG_SENSORS_K10TEMP
* CONFIG_SENSORS_SCH56XX_COMMON
* CONFIG_SENSORS_VIA_CPUTEMP
* CONFIG_SERIO_AMBAKMI
* CONFIG_SERIO_I8042
* CONFIG_SERIO_LIBPS2
* CONFIG_SERIO_PCIPS2
* CONFIG_SERIO_RAW
* CONFIG_SERIO_SERPORT
* CONFIG_SPI_BITBANG
* CONFIG_SPI_GPIO
SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e
kernel: update linux 3.3 to 3.3.6
...
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f
kernel: update linux 3.3 to 3.3.5
...
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos
b0449ccf04
ramips: W306R V2.0 - GPIO and Network fixes
...
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
removing a line(default is correct), and reversed the
Lan/wan layout LLLLW to WLLLL.
Added: image/Makefile now builds -factory.bin files. I am
unsure of the accepted way to change the makefile but
the name of the image needs to be 'linkn Kernel Image'
in order to be accepted by the OEM firmware.
Known issue: eth0 (internal switch i think has mac address:
00:11:22:33:44:55 but i think it should be same as
the lan).
Known issue: Pressing the reset button has no noticable effect,
i would expect the router to boot failsafe if being
pressed on boot, reboot if short press and reset all
to default if long press.
[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]
Signed-off-by: David Pearce <david_18051985@hotmail.com>
SVN-Revision: 31557
2012-05-02 19:17:59 +00:00
Gabor Juhos
90e99b9fe8
ramips: Make serial console for DIR-300-B1 work again
...
Make serial console for DIR-300-B1 work again.
With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.
Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31556
2012-05-02 19:17:58 +00:00
Gabor Juhos
cbfce53831
kernel: update linux 3.3 to 3.3.4
...
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos
8e06682fb7
ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN
...
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
SVN-Revision: 31507
2012-04-29 07:36:33 +00:00
Jonas Gorski
8fd383ae2e
kernel: update linux 3.3 to 3.3.3
...
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Gabor Juhos
1ab80c7817
ramips: rt305x: add support for the UR-336UN board
...
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>
SVN-Revision: 31451
2012-04-23 16:56:06 +00:00
Gabor Juhos
3626444c6d
ramips: rt305x: add support for the Asus WL-330N3G board
...
This patch adds support for the ASUS WL-330N3G
Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led.
The bi-color led is driven by 2 gpio.
I don't know how to handle this, so I simply made 2 leds : one red, one blue.
But the red light takes precedence over the blue one according to the chart below.
r = led is red
b = led is blue
0 = led is off
xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness
initial state action led gpio state
r0 b0 r0->r1 r r0 b0
r0 b0 b0->b1 b r0 b1
r1 b0 r1->r0 0 r0 b0
r1 b0 b0->b1 r r1 *b1*
r1 b1 r1->r0 b r0 b1
r1 b1 b1->b0 r r1 b0
r0 b1 r0->r1 r r1 *b1*
r0 b1 b1->b0 0 r0 r0
Signed-off-by: Frédéric Leroy <fredo@starox.org>
SVN-Revision: 31450
2012-04-23 16:56:05 +00:00
Gabor Juhos
5024ffb976
ramips: nuke 3.2 suport
...
SVN-Revision: 31405
2012-04-21 12:30:53 +00:00
Gabor Juhos
6c8ca78067
ramips: switch to 3.3.2
...
SVN-Revision: 31404
2012-04-21 12:30:51 +00:00
Gabor Juhos
5c325b0057
ramips: add support for 3.3
...
SVN-Revision: 31403
2012-04-21 12:30:50 +00:00
Gabor Juhos
7f902c962b
ramips: rt305x: add OHCI/EHCI registration code for RT3352
...
SVN-Revision: 31402
2012-04-21 12:30:48 +00:00
Gabor Juhos
1645928135
ramips: rt305x: fix CPU clock detection on RT3352
...
SVN-Revision: 31401
2012-04-21 12:30:47 +00:00
Gabor Juhos
fb69e28eaf
ramips: rt305x: use different memory size setup for RT3352
...
SVN-Revision: 31400
2012-04-21 12:30:45 +00:00
Gabor Juhos
818aeba960
ramips: rt3883: add profile and build sysupgrade image for the RT-N56U
...
SVN-Revision: 31399
2012-04-21 12:30:44 +00:00
Gabor Juhos
6b677e1d22
ramips: add swconfig to the default package list
...
SVN-Revision: 31398
2012-04-21 12:30:43 +00:00
Gabor Juhos
ced031a0b2
ramips: build initramfs image for the Fonera 2.0N
...
SVN-Revision: 31397
2012-04-21 12:30:42 +00:00
Gabor Juhos
fc88a363c0
ramips: rt305x: add initial support for Tenda W306R V2.0
...
More device info at: http://wiki.openwrt.org/toh/tenda/w306r
Signed-off-by: David Pearce <David_18051985@hotmail.com.au>
[juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages
from the profile, change broken GPIO number]
SVN-Revision: 31396
2012-04-21 12:30:40 +00:00
Gabor Juhos
88b5827c52
ramips: remove hardcoded console parameter from kernel configs
...
SVN-Revision: 31395
2012-04-21 12:30:30 +00:00
Jonas Gorski
a8f2bc682e
kernel: also update the targets to use 3.2.15
...
Thanks Gabor for spotting it.
SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
16b4cbcdd6
kernel: update linux 3.2 to 3.2.14
...
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Jonas Gorski
d87efd8c3c
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Jo-Philipp Wich
e9c4d3d1f2
ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
...
SVN-Revision: 31144
2012-03-29 16:03:04 +00:00
Gabor Juhos
d495277d9f
ramips: rt305x: build image for the DIR-615 rev D boards
...
Patch from #10105 .
SVN-Revision: 31101
2012-03-27 19:29:59 +00:00
Gabor Juhos
e4e24c5512
ramips: rt305x: add add support for the Asus WL-330N board
...
[juhosg: reorder several lines in order to keep things sorted
alphabetically]
Signed-off-by: Frédéric Leroy <fredo@starox.org>
SVN-Revision: 31100
2012-03-27 19:29:57 +00:00
Gabor Juhos
c1dc6df8bd
kernel: update linux 3.2 to 3.2.12
...
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos
18f7081e17
ramips: rt305x: add profile for the AZtech HW-5503G board
...
Patch from #11085 .
SVN-Revision: 30907
2012-03-12 17:29:06 +00:00
Gabor Juhos
0f77d0b2ba
ramips: add RT3350 detection
...
SVN-Revision: 30900
2012-03-12 16:12:13 +00:00
Gabor Juhos
05d3f559f5
ramips: rt305x: rewrite SoC detection
...
SVN-Revision: 30890
2012-03-11 19:05:59 +00:00
Gabor Juhos
8cf8ee8f9d
ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
...
SVN-Revision: 30889
2012-03-11 19:05:57 +00:00
Gabor Juhos
acb4ad86e5
ramips: replace RALINK_SOC_* macros with global variables
...
SVN-Revision: 30888
2012-03-11 19:05:56 +00:00
Gabor Juhos
8cff770eb3
ramips: introduce ramips_soc_prom_init and move SoC detection into that
...
SVN-Revision: 30887
2012-03-11 19:05:53 +00:00
Gabor Juhos
6c51c47962
ramips: build initramfs image for DIR-{3,6}00 boards
...
SVN-Revision: 30882
2012-03-11 16:39:31 +00:00
Gabor Juhos
4e15457e0e
ramips: allow to use DSP ASE on RT3xxx
...
SVN-Revision: 30879
2012-03-11 16:39:26 +00:00
Gabor Juhos
0e486d2fd2
ramips: add support for unbranded XDX-RN502J board
...
This patch adds support for routers using a PCB marked XDX-RN502J
V2.0, such as some unbranded routers like this:
http://www.mediafire.com/?8acv87h6snn9fj6
http://www.mediafire.com/?do7xonw7scor4kn
http://www.mediafire.com/?1ad49zvx3e7jyix
http://www.mediafire.com/?i46cqiq66maa197
http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html
some reports also state the Aceex 22Y uses the same board.
more information can be found in the following openwrt forum post
https://forum.openwrt.org/viewtopic.php?id=34878
[juhosg: fix checkpatch warnings, use the GENERIC_4M template]
Signed-off-by: bruno schwander <bruno@tinkerbox.org>
SVN-Revision: 30809
2012-03-04 16:09:13 +00:00
Gabor Juhos
44c8b396f9
ramips: board support for Asus RT-N10+
...
[juhosg: fix indentation in platform scripts, and remove debug
messages from 06_set_iface_mac]
Signed-off-by: Patrick van Staveren <trick@vanstaveren.us>
SVN-Revision: 30808
2012-03-04 16:09:11 +00:00
Gabor Juhos
9698a499b6
kernel: update linux 3.2 to 3.2.9
...
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
72599f0c61
ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
...
SVN-Revision: 30733
2012-02-26 10:54:13 +00:00
Gabor Juhos
100f76a010
ramips: raeth: add rx_info structure
...
This helps to reduce code size on RX path:
add/remove: 0/0 grow/shrink: 3/1 up/down: 68/-56 (12)
function old new delta
ramips_eth_open 1104 1144 +40
ramips_ring_free 212 232 +20
ramips_eth_stop 400 408 +8
ramips_eth_rx_hw 648 592 -56
SVN-Revision: 30732
2012-02-26 10:54:12 +00:00
Gabor Juhos
32e7b1c7d9
ramips: raeth: add tx_info structure
...
This helps to reduce code size on TX path:
add/remove: 0/0 grow/shrink: 1/4 up/down: 56/-92 (-36)
function old new delta
ramips_eth_open 1048 1104 +56
ramips_eth_tx_housekeeping 156 148 -8
ramips_ring_free 224 212 -12
ramips_eth_stop 420 400 -20
ramips_eth_hard_start_xmit 480 428 -52
SVN-Revision: 30731
2012-02-26 10:54:10 +00:00
Gabor Juhos
30143b715c
ramips: raeth: don't process disabled interrupts
...
Also rename the 'fe_int' variable.
SVN-Revision: 30713
2012-02-25 11:59:19 +00:00
Gabor Juhos
6990f66861
ramips: fix FONERA20N image generation
...
SVN-Revision: 30710
2012-02-24 16:18:46 +00:00
Gabor Juhos
9afeeae65e
ramips: image: increase minimum kernel partition size to 896k
...
SVN-Revision: 30706
2012-02-23 19:58:16 +00:00
Gabor Juhos
7089b5213e
ramips: image: cleanup and sort templates/profiles
...
SVN-Revision: 30705
2012-02-23 19:58:15 +00:00
Gabor Juhos
c8718a220b
ramips: image: use GENERIC_4M template for the ALL0256N board
...
SVN-Revision: 30704
2012-02-23 19:58:14 +00:00
Gabor Juhos
507c7d30f5
ramips: image: introduce mkmtd/{,phys,spi} helpers
...
SVN-Revision: 30703
2012-02-23 19:58:12 +00:00
Gabor Juhos
5f63ea18aa
ramips: image: pass mtdlayout variables by value
...
SVN-Revision: 30702
2012-02-23 19:58:11 +00:00
Gabor Juhos
49e53c06b9
ramips: image: merge F5D8235V{1,2} templates
...
SVN-Revision: 30701
2012-02-23 19:58:10 +00:00
Gabor Juhos
00e7277a4c
ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
...
SVN-Revision: 30700
2012-02-23 19:58:07 +00:00
Gabor Juhos
554010d55b
ramips: image: introduce mkcmdline helper
...
SVN-Revision: 30699
2012-02-23 19:58:06 +00:00
Gabor Juhos
32c6d63acf
ramips: image: use the GENERIC_4M template for the V11ST-FE board
...
SVN-Revision: 30698
2012-02-23 19:58:04 +00:00
Gabor Juhos
ab65053cf0
ramips: image: simplify Makefile a bit
...
SVN-Revision: 30697
2012-02-23 19:58:03 +00:00
Gabor Juhos
9017fce3a2
ramips: image: add MkImageLzma wrapper
...
SVN-Revision: 30696
2012-02-23 19:58:02 +00:00
Gabor Juhos
c9d8f471fc
ramips: image: allow to build board specific initramfs images
...
SVN-Revision: 30695
2012-02-23 19:58:01 +00:00
Gabor Juhos
c0974b46a5
ramips: merge identical switch configuration entries
...
SVN-Revision: 30688
2012-02-22 19:46:19 +00:00
Gabor Juhos
a9101a144c
ramips: use unified switch identifiers in uci-defaults/network
...
SVN-Revision: 30687
2012-02-22 19:46:17 +00:00
Gabor Juhos
b6522f372f
ramips: fix VLAN config of the RT-N15
...
SVN-Revision: 30686
2012-02-22 19:46:15 +00:00
Gabor Juhos
a18a821733
ramips: raeth: show interrupt statistics in debugfs
...
SVN-Revision: 30681
2012-02-22 13:06:44 +00:00
Gabor Juhos
214216c04d
ramips: raeth: add debugfs support
...
SVN-Revision: 30680
2012-02-22 13:06:42 +00:00
Gabor Juhos
c1e4d709fa
ramips: raeth: rename main source file
...
SVN-Revision: 30679
2012-02-22 13:06:41 +00:00
Gabor Juhos
5e6bc97d0c
ramips: raeth: add missing Kconfig and Makefile
...
SVN-Revision: 30671
2012-02-21 09:44:30 +00:00
Gabor Juhos
3ba0f4e1ca
ramips: move the ethernet driver into a separate directory
...
Also clean up the Kconfig symbols.
SVN-Revision: 30670
2012-02-21 09:26:43 +00:00
Gabor Juhos
a6d904b1d6
ramips: rename the spi driver
...
SVN-Revision: 30669
2012-02-21 09:26:41 +00:00
Gabor Juhos
dd001a4b0f
ramips: rt3883: make rt3883_nand_data visible
...
SVN-Revision: 30655
2012-02-19 19:40:37 +00:00
Gabor Juhos
62f213eab9
ramips: merge 3.2 fixes
...
SVN-Revision: 30652
2012-02-19 17:52:23 +00:00
Gabor Juhos
18fdaee00b
ramips: nuke 2.6.39 support
...
SVN-Revision: 30651
2012-02-19 17:52:20 +00:00
Gabor Juhos
e2ea72515f
ramips: rt305x: nuke built-in MTD partition maps
...
SVN-Revision: 30650
2012-02-19 17:52:15 +00:00
Gabor Juhos
de6405c898
ramips: rt288x: nuke built-in MTD partition maps
...
SVN-Revision: 30649
2012-02-19 17:52:11 +00:00
Gabor Juhos
e7f59b9326
ramips: build sysupgrade image for the V11ST-FE board
...
SVN-Revision: 30648
2012-02-19 17:52:08 +00:00
Gabor Juhos
3489515a7e
ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
...
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]
Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>
SVN-Revision: 30645
2012-02-19 16:44:49 +00:00
Gabor Juhos
990ed96a2a
ralink: rt3883: disable the 2GHz band on the RT-N56U
...
SVN-Revision: 30632
2012-02-18 17:36:21 +00:00
Gabor Juhos
5710530c41
ramips: rt3883: make rt3883_wlan_data visible
...
SVN-Revision: 30631
2012-02-18 17:36:16 +00:00
Gabor Juhos
e17a3ffbbd
ramips: extract eeprom for the built-in wlan module on the RT-N56U
...
SVN-Revision: 30604
2012-02-16 20:06:22 +00:00
Gabor Juhos
dabca24361
ramips: rt3883: change eeprom file name
...
SVN-Revision: 30603
2012-02-16 20:06:21 +00:00
Gabor Juhos
00d963999d
ramips: select HW_HAS_PCI on per-board basis
...
SVN-Revision: 30576
2012-02-16 08:17:54 +00:00
Gabor Juhos
fc967295ec
ramips: rt3883: remove a stray character from rt3883.h
...
SVN-Revision: 30575
2012-02-16 08:17:53 +00:00
Gabor Juhos
b4af07d5c0
ramips: rt288x: don't register the PCI controller on each board
...
SVN-Revision: 30574
2012-02-16 08:17:52 +00:00
Gabor Juhos
f8a56dc8df
ramips: raeth: separate ring allocation and setup
...
SVN-Revision: 30573
2012-02-16 08:17:50 +00:00
Gabor Juhos
49fc54be3d
ramips: rt288x: fix PCI resource conflict
...
SVN-Revision: 30563
2012-02-15 21:19:02 +00:00
Florian Fainelli
37f8c19028
correct PCI IO/Mem resource swapping
...
SVN-Revision: 30562
2012-02-15 21:13:21 +00:00
Florian Fainelli
3ceebbba14
add Ralink V11ST-FE board support
...
This board is equipped with:
- 4MB of NOR Flash
- 32MB of SDRAM
- IC+ IP175C switch
- one Mini-PCI slot
SVN-Revision: 30561
2012-02-15 21:13:11 +00:00
Gabor Juhos
8b8d9a8336
ramips: raeth: add a helper function for skb allocation
...
SVN-Revision: 30555
2012-02-15 18:33:42 +00:00
Gabor Juhos
e57546de83
ramips: raeth: use netdev_alloc_skb
...
SVN-Revision: 30554
2012-02-15 18:33:41 +00:00
Gabor Juhos
064855314b
ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
...
This helps GCC to generare more efficient code.
SVN-Revision: 30553
2012-02-15 18:33:40 +00:00
Gabor Juhos
8c95385d78
ramips: raeth: use 're' instead of 'priv' everywhere
...
SVN-Revision: 30552
2012-02-15 18:33:38 +00:00
Gabor Juhos
b3b79365f3
ramips: raeth: force link down in ramips_phy_stop
...
SVN-Revision: 30550
2012-02-15 13:47:52 +00:00
Gabor Juhos
3e7b461431
ramips: raeth: serialize ramips_link_adjust calls
...
SVN-Revision: 30549
2012-02-15 13:47:50 +00:00
Gabor Juhos
dcb13d4098
ramips: raeth: add PHYLIB support
...
SVN-Revision: 30547
2012-02-15 06:47:12 +00:00
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
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
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
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
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
Gabor Juhos
80b40497de
ramips: add MIPS platform file
...
SVN-Revision: 30459
2012-02-11 18:16:11 +00:00
Gabor Juhos
4e1b870f3e
ramips: add MDIO bus support for RT288X
...
SVN-Revision: 30455
2012-02-11 16:49:56 +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
Gabor Juhos
0430194cc3
ramips: fix compiler warning in prom.c
...
SVN-Revision: 30424
2012-02-10 17:38:46 +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
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
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
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
809fe38e41
ramips fix f5d8235-v1 diag LED support
...
SVN-Revision: 29857
2012-01-22 18:11:39 +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
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
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
Gabor Juhos
244c322d25
ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
...
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29617
2011-12-28 08:43:43 +00:00
Gabor Juhos
f50b02b559
ramips: rt288x: change base address and window size of flash bank 0
...
SVN-Revision: 29616
2011-12-28 08:43:36 +00:00
Gabor Juhos
98437278c4
ramips: rt305x: add support for the ALFA Networks W502U (R36) board
...
SVN-Revision: 29615
2011-12-28 08:43:32 +00:00
Gabor Juhos
723d8dd74f
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
...
SVN-Revision: 29612
2011-12-27 16:56:30 +00:00
Gabor Juhos
7b1e525b56
ramips: initial support for Sitecom WL-351 v1 002
...
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.
Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.
With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.
The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated
But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 29604
2011-12-23 14:27:16 +00:00
Gabor Juhos
2cb946f5b4
ramips: add support for the Senao/EnGenius ESR-9753 board
...
Signed-off-by: Artur Wronowski <arteqw@gmail.com>
SVN-Revision: 29603
2011-12-23 14:27:10 +00:00
Gabor Juhos
03bce34384
ramips: define firmware partition for Omnima MiniEMBWiFi
...
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>
SVN-Revision: 29602
2011-12-23 14:27:05 +00:00
Gabor Juhos
0c38d36488
ramips: add support for Omnima MiniEMBWiFi board
...
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.
Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>
SVN-Revision: 29533
2011-12-14 20:51:26 +00:00
Gabor Juhos
43bd4c6ad1
ramips: fix mac addresses on the DIR-300/600 boards
...
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Gabor Juhos
5ef6ec4a31
ramips: set mac addresses for the NBG-419N
...
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>
SVN-Revision: 29454
2011-12-05 17:27:07 +00:00
Gabor Juhos
750d560767
ramips: set preinit interface mac on the hw550-3g board
...
Based on a patch by Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29453
2011-12-05 17:27:06 +00:00
Gabor Juhos
b5d7b359b2
ramips: use ramips_get_mac_* functions in the preinit script
...
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos
4d5b940e66
ramips: move ramips_get_mac_* functions to lib/ramips.sh
...
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a
ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
...
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
b1137d48a4
ramips: fix network configuration setup
...
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
Gabor Juhos
56c9b50006
ramips: fix argus board rootfs size
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29422
2011-12-04 15:24:57 +00:00
Gabor Juhos
3fccc3b376
ramips: enable sysupgrade on the RT-N15 board
...
SVN-Revision: 29393
2011-12-01 22:48:58 +00:00
Gabor Juhos
4b2d1c3ad3
ramips: wrap long line in platform upgrade script
...
SVN-Revision: 29392
2011-12-01 22:48:57 +00:00
Gabor Juhos
d622263588
ramips: add profile for the Asus RT-N15
...
This uses previously submitted rtl8366 kernel packages.
[juhosg: The kmod-gpio-dev package has been removed from the package list.]
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29391
2011-12-01 22:48:55 +00:00
Gabor Juhos
3a9e02fa41
ramips: setup default network configuration for RT-N15
...
Based on a patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29390
2011-12-01 22:48:54 +00:00
Gabor Juhos
fc61c107f0
ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
...
It is needed by the RT-N15 board.
SVN-Revision: 29389
2011-12-01 22:48:53 +00:00
Gabor Juhos
80221fcd2a
ramips: remove default network configuration, and generate that from uci-defaults
...
SVN-Revision: 29387
2011-12-01 22:48:51 +00:00
Gabor Juhos
4f6c58adac
ramips: use /lib/functions/uci-defaults.sh
...
SVN-Revision: 29386
2011-12-01 22:48:48 +00:00
Gabor Juhos
569d8de6d6
ramips: simplify uci-defaults/network script
...
SVN-Revision: 29383
2011-12-01 22:48:45 +00:00
Gabor Juhos
66c9a351dd
ramips: setup mac and network interfaces from separate functions
...
SVN-Revision: 29382
2011-12-01 22:48:43 +00:00
Gabor Juhos
62d18e9f9a
ramips: fix Asus RT-N15 board support
...
Fix Asus RT-N15 flash partitions and make an image.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29381
2011-12-01 22:48:42 +00:00
Gabor Juhos
2dd79d55c7
ramips: Sparklan wcr-150gn board fixes
...
* Fix partition sizes.
* Add buttons and leds.
* Register usb.
* Remove unnecessary stuff from image Makefile
* Fix rt2x00 eeprom extract.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29380
2011-12-01 22:48:41 +00:00
Gabor Juhos
7c678e7511
ramips: fix package name of kmod-input-gpio-buttons
...
Based on a patch from Omnima Limited.
SVN-Revision: 29379
2011-12-01 22:48:39 +00:00
Gabor Juhos
2ed38b24a8
ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29378
2011-12-01 22:48:38 +00:00
Gabor Juhos
295e04084c
ramips: setup bc2 mac addresses from the generic network script
...
SVN-Revision: 29377
2011-12-01 22:48:37 +00:00
Gabor Juhos
02f95d4fb3
ramips: combine network setup for all boards in one file
...
Inspired by the patch from Roman Yeryomin. Thanks, Roman!
This removes unnecessary duplication and simplifies network setup for new
boards. It would be a one line change most likely.
[juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards
in order to avoid regression]
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 29376
2011-12-01 22:48:35 +00:00
Vasilis Tsiligiannis
17ccd4aec4
rt305x: Create factory image for Fonera 2.0n
...
SVN-Revision: 28689
2011-10-31 09:23:44 +00:00
Gabor Juhos
ee8077f0fe
ramips: Support for NexAira BC2
...
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]
Signed-off-by: Adam Porter <porter.adam at gmail.com>
SVN-Revision: 28571
2011-10-24 21:49:36 +00:00
Gabor Juhos
18452a753b
ramips: fix switch-port assignment for HW550-3G
...
WAN is on swtich port 0 for Aztech HW550-3G.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28570
2011-10-24 21:49:32 +00:00
Gabor Juhos
68a01c0180
ramips: combine led setup for all boards in one file
...
This removes unnecessary duplication and simplifies led setup for new
boards. It would be a one line change most likely.
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 28569
2011-10-24 21:49:31 +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
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
2011-08-16 22:04:10 +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
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
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Gabor Juhos
abb1ca01a7
ramips: fix buffalo image generation
...
SVN-Revision: 27495
2011-07-06 16:46:33 +00:00
Gabor Juhos
1a4e7153b6
ramips: add diag support for RT-N15 and PWH2004
...
Also sort the board names alphabetically.
SVN-Revision: 27478
2011-07-06 08:05:00 +00:00
Gabor Juhos
d6985f5b46
ramips: use the 'router' LED for diagnostic on the WHR-G300N board
...
SVN-Revision: 27477
2011-07-06 08:04:55 +00:00
Gabor Juhos
2cc346b8e0
ramips: create tftp image for the WHR-G300N board
...
SVN-Revision: 27476
2011-07-06 08:04:54 +00:00
Gabor Juhos
0dc18d8586
ramips: create factory image for the WHR-G300N board
...
SVN-Revision: 27474
2011-07-06 08:04:52 +00:00
Gabor Juhos
e9c8218375
ramips: create factory image for DIR-300-B1
...
SVN-Revision: 27439
2011-07-04 06:48:45 +00:00
Gabor Juhos
6e7b802297
ramips: merge 2.6.39 patches
...
SVN-Revision: 27399
2011-07-03 15:02:10 +00:00
Gabor Juhos
646f64d389
ramips: remove 2.6.37 stuff
...
SVN-Revision: 27398
2011-07-03 15:02:09 +00:00
Gabor Juhos
2fc6be00f4
ramips: switch to 2.6.39.2
...
SVN-Revision: 27397
2011-07-03 15:02:07 +00:00
Gabor Juhos
0fde070cf9
ramips: add 2.6.39 support
...
Based on the patches from #9625
SVN-Revision: 27396
2011-07-03 15:02:06 +00:00
Gabor Juhos
c8010517d5
ramips: add hotplug script to extract eeprom for the rt2x00 driver
...
SVN-Revision: 27393
2011-07-03 15:02:01 +00:00
Gabor Juhos
3334d0604e
ramips: specify eeprom file name on RT305X
...
SVN-Revision: 27392
2011-07-03 15:02:00 +00:00
Gabor Juhos
f53cc4c439
ramips: specify eeprom file name on RT288X
...
SVN-Revision: 27391
2011-07-03 15:01:59 +00:00
Gabor Juhos
521e495f4b
ramips: add all supported boards to lib/ramips.sh
...
SVN-Revision: 27389
2011-07-03 15:01:56 +00:00
Gabor Juhos
6f54df889a
ramips: check the size of the uImage in image generation
...
SVN-Revision: 27388
2011-07-03 15:01:55 +00:00
Gabor Juhos
575a5286c8
ramips: use lowercase partiion names on the WCR150GN board
...
SVN-Revision: 27387
2011-07-03 15:01:53 +00:00
Gabor Juhos
31facf0b75
ramips: use different partition names in the DIR-300-B1 image
...
SVN-Revision: 27386
2011-07-03 15:01:52 +00:00
Gabor Juhos
dbe55f08f0
ramips: force word write on flashes with AMD cmdset ( #9252 )
...
SVN-Revision: 27385
2011-07-03 15:01:51 +00:00
Gabor Juhos
f1cf43d468
ramips: update partition map for DIR-300-B1
...
Patch by Layne Edwards from #9252 .
SVN-Revision: 27384
2011-07-03 15:01:49 +00:00
Gabor Juhos
641c87b127
ramips: consistently use 'firmware' name for sysupgrade partitions
...
SVN-Revision: 27383
2011-07-03 15:01:48 +00:00
Gabor Juhos
381d7f05af
ramips: fix a section mismatch warning
...
SVN-Revision: 27382
2011-07-03 15:01:46 +00:00
Gabor Juhos
16ad91d69f
ramips: remove unused include from the common GPIO code
...
SVN-Revision: 27381
2011-07-03 15:01:44 +00:00
Gabor Juhos
c9f3e7082f
ramips: disable watchdog on sysupgrade
...
SVN-Revision: 27380
2011-07-03 15:01:43 +00:00
Gabor Juhos
e70e6f6848
ramips: swap target check in image generation
...
SVN-Revision: 27379
2011-07-03 15:01:42 +00:00
Gabor Juhos
affb57ee27
ramips: update HW550-3G mtd partitions
...
This patch updates the mtd partitions for the Aztech HW550-3G
Signed-off-by: Layne Edwards <ledwards@astrumtech.net>
SVN-Revision: 27378
2011-07-03 15:01:41 +00:00
Gabor Juhos
3099ffe414
ramips: set cp0_perfcount_irq for RT305X
...
SVN-Revision: 27377
2011-07-03 15:01:40 +00:00
Gabor Juhos
d5a7e2f5c1
ramips: initial board support for MOFI3500-3GN
...
This patch adds initial board support for the MoFi Network MOFI3500-3GN
(Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG). This
router is basically the NA version of the HW550-3G.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26466
2011-04-04 08:43:07 +00:00
Hauke Mehrtens
50c743e79e
kernel: Update to version 2.6.37.6
...
Thank you Peter Wagner for the patch
SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Gabor Juhos
87f5872f35
ramips: remove 2.6.36 stuff
...
SVN-Revision: 26329
2011-03-27 19:20:06 +00:00
Gabor Juhos
90d37adb8d
ramips: switch to 2.6.37
...
SVN-Revision: 26328
2011-03-27 19:20:04 +00:00
Gabor Juhos
1844ea6c7b
ramips: UPF_FIXED_TYPE must be set for the serial ports
...
SVN-Revision: 26327
2011-03-27 19:20:03 +00:00
Gabor Juhos
9ef4785364
ramips: define GPIO chips separately for each SoCs
...
SVN-Revision: 26326
2011-03-27 19:19:59 +00:00
Gabor Juhos
37d6d88869
ramips: move GPIO definitions into a separate header file
...
SVN-Revision: 26325
2011-03-27 19:19:57 +00:00
Gabor Juhos
251a367fb4
ramips: setup GPIO chip functions on the fly
...
SVN-Revision: 26324
2011-03-27 19:19:51 +00:00
Gabor Juhos
b03f2dfcee
ramips: use separate register base for GPIO chips
...
SVN-Revision: 26323
2011-03-27 19:19:48 +00:00
Gabor Juhos
8770359f17
ramips: fix dir-300 mtd layout
...
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 26322
2011-03-27 19:19:45 +00:00
Gabor Juhos
f599459abb
ramips: enable MDIO on the HW550-3G board
...
SVN-Revision: 26321
2011-03-27 19:19:41 +00:00
Gabor Juhos
d701a72760
ramips: add sysupgrade and status LED support for HW550-3G
...
This patch adds sysupgrade and status LED support for the Aztech
HW550-3G. Some LED GPIOs were changed for clarity.
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26320
2011-03-27 19:19:40 +00:00
Felix Fietkau
335877a2b3
global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
...
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Gabor Juhos
23518bb2e4
ramips: initial board support for Aztech HW550-3G
...
This patch adds initial support for the Aztech HW550-3G (Ralink
RT3052f SoC, 8MB flash, 32MB dram). Ethernet is not working yet.
Wireless appears to work fine. USB does not work yet (as with other
Ralink boards).
Signed-off-by: Layne Edwards <ledwards76@gmail.com>
SVN-Revision: 26123
2011-03-13 16:34:52 +00:00
Florian Fainelli
45c9f5e75e
update to kernel 2.6.36.4
...
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Gabor Juhos
1c92e047c8
ramips: register watchdog device on the rt288x boards
...
SVN-Revision: 25130
2011-01-26 20:48:52 +00:00
Gabor Juhos
2b50cecea6
ramips: add watchdog device for RT288x
...
SVN-Revision: 25129
2011-01-26 20:48:50 +00:00
Gabor Juhos
764aa3fe9c
ramips: register watchdog device on the rt305x boards
...
SVN-Revision: 25128
2011-01-26 20:48:47 +00:00
Gabor Juhos
42e36cf732
ramips: add watchdog device for RT305x
...
SVN-Revision: 25127
2011-01-26 20:48:46 +00:00
Gabor Juhos
16366feafb
ramips: add watchdog driver
...
SVN-Revision: 25126
2011-01-26 20:48:41 +00:00
Gabor Juhos
f38367fcb4
ramips: implement clock API for RT288x
...
SVN-Revision: 25125
2011-01-26 20:48:39 +00:00
Gabor Juhos
b0ffa70248
ramips: implement clock API for RT305X
...
SVN-Revision: 25124
2011-01-26 20:48:35 +00:00
Gabor Juhos
f9e74383a9
ramips: remove extern and __init from function prototypes
...
SVN-Revision: 25123
2011-01-26 20:48:33 +00:00
Gabor Juhos
b99a637795
ramips: ramips_esw: fix typos
...
Patch from #8577 .
SVN-Revision: 24898
2011-01-04 13:44:05 +00:00
Gabor Juhos
d2fdd1dbe1
ramips: remove 2.6.3[24] support
...
SVN-Revision: 24562
2010-12-14 08:00:31 +00:00
Gabor Juhos
1403850be1
ramips: switch to 2.6.36
...
SVN-Revision: 24561
2010-12-14 08:00:29 +00:00
Gabor Juhos
f9898e30fb
ramips: handle OTG interrupt on the RT305x SoC
...
SVN-Revision: 24560
2010-12-14 08:00:25 +00:00
Felix Fietkau
5a351509aa
base-files: use shutdown instead of stop when the system goes down (patch by tripolar)
...
SVN-Revision: 24540
2010-12-13 08:01:21 +00:00
Gabor Juhos
502d21dc2a
ramips: ramips_esw: add more definitions
...
SVN-Revision: 24340
2010-12-08 10:15:33 +00:00
Gabor Juhos
bf58ef7c6d
ramips: ramips_esw: add helper function to set pvid
...
SVN-Revision: 24339
2010-12-08 10:15:28 +00:00
Gabor Juhos
692d379b50
ramips: ramips_esw: add helper function to set vlan members
...
SVN-Revision: 24338
2010-12-08 10:15:25 +00:00
Gabor Juhos
f7c3f91074
ramips: ramips_esw: add helper function to set VLAN id
...
SVN-Revision: 24337
2010-12-08 10:15:22 +00:00
Gabor Juhos
0d2ad7a816
ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
...
SVN-Revision: 24336
2010-12-08 10:15:16 +00:00
Gabor Juhos
7b878dde4b
ramips: ramips_esw: use rt305x_esw prefix in function names
...
SVN-Revision: 24335
2010-12-08 10:15:14 +00:00
Gabor Juhos
0fcedc7bda
ramips: ramips_esw: coding style cleanup
...
SVN-Revision: 24334
2010-12-08 10:15:12 +00:00
Gabor Juhos
48e6a31812
ramips: ramips_esw: add defines for switch register offsets
...
SVN-Revision: 24333
2010-12-08 10:15:07 +00:00
Gabor Juhos
74c13f06df
ramips: ramips_esw: don't touch GPIO_PURPOSE register
...
It must have been set by the board initialization code.
SVN-Revision: 24332
2010-12-08 10:15:04 +00:00
Gabor Juhos
3b9a6adc7d
ramips: ramips_esw: convert it to be a platform driver
...
SVN-Revision: 24331
2010-12-08 10:15:00 +00:00
Gabor Juhos
889729df01
ramips: ramips_esw: move hardware initialization into a separate function
...
SVN-Revision: 24330
2010-12-08 10:14:58 +00:00