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