[LEDE-DEV] [PATCH v2] ramips: add support for Ubiquiti EdgeRouter X-SFP

Torbjorn Jansson torbjorn.jansson at mbox200.swipnet.se
Wed Jul 19 03:14:42 PDT 2017


ok, thanks.
i was using my sfp port so would be nice to have it working again.
i assume it is not as easy as adding port 5 to that list?
i know too little of the driver(s) in question to be of any use other 
than testing.


next problem is to figure out why 6rd is behaving badly and errors with:
daemon.notice netifd: wan6 (23933): Command failed: Unknown error

On 2017-07-18 19:34, Drie, Herman van (zakelijk) wrote:
> I reported the same before, perhaps a bit different description:
> https://bugs.lede-project.org/index.php?do=details&task_id=883&opened=704&ty
> pe%5B0%5D=&sev%5B0%5D=&due%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B
> 0%5D=&reported%5B0%5D=
> 
> I found an overview here how ports are connected internally:
> https://kazoo.ga/re-visit-the-switch-in-edgerouter-x/
> 
> Not sure what it is, the driver file does state 8 ports.
> Wondering whether problem is in
> /LEDE/snapshot/target/linux/ramips/dts/mt7621.dtsi ?
> 
> You are correct that port 5 isn't configured in switch defconfig script upon
> boot for ERX-SFP:
> /LEDE/snapshot/target/linux/ramips/base-files/etc/board.d/02_network
> 
> 	tl-wr841n-v13|\
> 	ubnt-erx|\
> 	ubnt-erx-sfp|\
> 	ur-326n4g|\
> 	wrtnode|\
> 	wrtnode2p | \
> 	wrtnode2r | \
> 	wt3020-4M|\
> 	wt3020-8M|\
> 	zbt-wa05)
> 		ucidef_add_switch "switch0" \
> 			"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6 at eth0"
> 
> 
> -----Original Message-----
> From: Lede-dev [mailto:lede-dev-bounces at lists.infradead.org] On Behalf Of
> Torbjorn Jansson
> Sent: dinsdag 18 juli 2017 18:29
> To: Sven Roederer <devel-sven at geroedel.de>; lede-dev at lists.infradead.org
> Subject: Re: [LEDE-DEV] [PATCH v2] ramips: add support for Ubiquiti
> EdgeRouter X-SFP
> 
> On 2017-05-29 11:24, Sven Roederer wrote:
>> This patch adds support for the Ubiquiti EdgeRouter X-SFP and improves
>> support for the EdgeRouter X (PoE-passthrough).
>>
>> Specification:
>> - SoC: MediaTek MT7621AT
>> - Flash: 256 MiB
>> - RAM: 265 MiB
>> - Ethernet: 5 x LAN (1000 Mbps)
>> - UART: 1 x UART on PCB (3.3V, RX, TX, GND) - 57600 8N1
>> - EdgeRouter X:
>>     - 1 x PoE-Passtrough (Eth4)
>>     - powered by Wallwart or passive PoE
>> - EdgeRouter X-SFP:
>>     - 5 x PoE-Out (24V, passive)
>>     - 1 x SFP (unknown status)
>>     - powered by Wallwart (24V)
> 
> 
> regarding the sfp port, it does not show up on the luci switch page.
> this port seems to be missing.
> 
> what i have is CPU (eth0) and then lan 1 to 4 and a WAN
> 
> WAN is the port labeled eth0 on the device and then lan 1-4 must be eth1-4
> sfp port is labeled eth5 and as far as i can tell doesn't work.
> 
> is this just a minor config issue so this port is perhaps not configured at
> all with vlan and so on?
> 




More information about the Lede-dev mailing list