Commit Graph

112 Commits (82c3b7ce2669e44619adbdfa9b26113aa12ef2c0)

Author SHA1 Message Date
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
11 years ago
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
11 years ago
John Crispin 910b705155 add Huawei D105
http://patchwork.openwrt.org/patch/3510/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 36173
11 years ago
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
11 years ago
John Crispin f3643374c4 there is no ttyS1 console
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36171
11 years ago
John Crispin b22cbac68f make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35988
11 years ago
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
11 years ago
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
12 years ago
Gabor Juhos 7fd8525853 ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35615
12 years ago
Gabor Juhos 753d713e92 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35613
12 years ago
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
12 years ago
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
12 years ago
John Crispin d93706154b ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de>

SVN-Revision: 35356
12 years ago
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
12 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
John Crispin f2f9332350 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35020
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 21180e29f7 ramips: add user-space support for TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33851
12 years ago
Gabor Juhos d3c368c324 ramips: add user-space support for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33847
12 years ago
Gabor Juhos 06edafd079 ramips: add user space support for the DIR-645
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33844
12 years ago
John Crispin d8c04821c3 make uci-defaults switch detection work on rt5350
SVN-Revision: 33549
12 years ago
John Crispin 394a560a9a unbreak port mapping detection
SVN-Revision: 33536
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos d77418d67e ramips: add RSSI leds for uci-defaults for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33220
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos ffbb4f88a9 ramips: use the generic uci-default functions for initial LED setup
SVN-Revision: 31993
12 years ago
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
12 years ago
Gabor Juhos 7f5bec0642 ramips: make rt2x00 firmware extraction quiet
SVN-Revision: 31918
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 1ab80c7817 ramips: rt305x: add support for the UR-336UN board
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31451
12 years ago
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
12 years ago
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
12 years ago