Re: Ethernet switch with linux/openwrt and DSA
On Tue, Apr 4, 2023 at 9:45 AM Greg Oliver wrote: > > On Mon, Apr 3, 2023 at 5:11 PM Michael Richardson wrote: > > > > > > Janusz Dziedzic wrote: > > >> > Finally buy: D-LINK DGS-1210-48 G1. > > >> > > > Also - HP 1920-24G JG924A works correctly. > > > > > But what about future? Is there any new device we can buy and use > > > openwrt there? Or even 2.5Gbps/5Gbps? > > > > > So far just buy used/older devices. > > > > mcr> Is this a device that is still for sale? I have some control plane > > mcr> things that I'd like to test on a variety of switches. I using the > > mcr> Zyxel GS1900 now. > > > > My testing is way behind. > > > > > ZyXEL GS1900-48-EU0102F (new one) will be also fine? > > > > Assuming it boots openwrt, more ports is more interesting to me than faster > > ports. > > I have a handful of GS1900-8HP models I would like to try this out on, > but the images are not where previously mentioned. Get a 404 and only > 4 chipsets are listed under the RealTek nightly directory. Any idea > where I can currently find them? > > TiA! NM - I found it - sorry for the noise! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
On Mon, Apr 3, 2023 at 5:11 PM Michael Richardson wrote: > > > Janusz Dziedzic wrote: > >> > Finally buy: D-LINK DGS-1210-48 G1. > >> > > Also - HP 1920-24G JG924A works correctly. > > > But what about future? Is there any new device we can buy and use > > openwrt there? Or even 2.5Gbps/5Gbps? > > > So far just buy used/older devices. > > mcr> Is this a device that is still for sale? I have some control plane > mcr> things that I'd like to test on a variety of switches. I using the > mcr> Zyxel GS1900 now. > > My testing is way behind. > > > ZyXEL GS1900-48-EU0102F (new one) will be also fine? > > Assuming it boots openwrt, more ports is more interesting to me than faster > ports. I have a handful of GS1900-8HP models I would like to try this out on, but the images are not where previously mentioned. Get a 404 and only 4 chipsets are listed under the RealTek nightly directory. Any idea where I can currently find them? TiA! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
Janusz Dziedzic wrote: >> > Finally buy: D-LINK DGS-1210-48 G1. >> > Also - HP 1920-24G JG924A works correctly. > But what about future? Is there any new device we can buy and use > openwrt there? Or even 2.5Gbps/5Gbps? > So far just buy used/older devices. mcr> Is this a device that is still for sale? I have some control plane mcr> things that I'd like to test on a variety of switches. I using the mcr> Zyxel GS1900 now. My testing is way behind. > ZyXEL GS1900-48-EU0102F (new one) will be also fine? Assuming it boots openwrt, more ports is more interesting to me than faster ports. signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
pt., 23 gru 2022 o 17:51 Michael Richardson napisał(a): > > > > Finally buy: D-LINK DGS-1210-48 G1. > Also - HP 1920-24G JG924A works correctly. But what about future? Is there any new device we can buy and use openwrt there? Or even 2.5Gbps/5Gbps? So far just buy used/older devices. > Is this a device that is still for sale? > I have some control plane things that I'd like to test on a variety of > switches. I using the Zyxel GS1900 now. > ZyXEL GS1900-48-EU0102F (new one) will be also fine? BR Janusz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
> Finally buy: D-LINK DGS-1210-48 G1. Is this a device that is still for sale? I have some control plane things that I'd like to test on a variety of switches. I using the Zyxel GS1900 now. signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
czw., 22 gru 2022 o 18:26 Jan Hoffmann napisał(a): > > Hi Janusz, > > > BTW, this switch have some issues with IPv6? > > > > Simple remove lan2 from switch/bridge and configure manually - connect > > my device directly to eth2 port. > > Seems IPv4 works correctly - while IPv6 not (ping6 ff02::1%lan2 - no > > answer). > > Same config (with removed lan2 from bridge) works perfectly with > > mt7530 (also dsa) on my mt7621 board. > > I just tested this on my HPE 1920-48G, and it works. But I'm running a > build with some patches, so that may be the reason. > My fault, seems firewall was enabled and block all except lan zone. After disable firewall - see ipv6 packets. BR Janusz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
Hi Janusz, BTW, this switch have some issues with IPv6? Simple remove lan2 from switch/bridge and configure manually - connect my device directly to eth2 port. Seems IPv4 works correctly - while IPv6 not (ping6 ff02::1%lan2 - no answer). Same config (with removed lan2 from bridge) works perfectly with mt7530 (also dsa) on my mt7621 board. I just tested this on my HPE 1920-48G, and it works. But I'm running a build with some patches, so that may be the reason. You could try if the changes from my multicast-snooping branch [1] fix the issue. One of them fixes an issue that can occur even without multicast snooping enabled and results in corruption of the unknown multicast port mask. Best, Jan [1] https://github.com/janh/openwrt/commits/realtek-multicast-snooping ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
czw., 22 gru 2022 o 02:24 Luiz Angelo Daros de Luca napisał(a): > > > Thanks all! > > Finally buy: D-LINK DGS-1210-48 G1. > > > > U-Boot 2011.12.(2.1.5.67086)-Candidate1 (Apr 13 2017 - 13:58:11) > > > > Board: RTL839x CPU:700MHz LXB:200MHz MEM:400MHz > > DRAM: 128 MB > > SPI-F: 1x32 MB > > > > Next: > > - connected serial cable > > - stop in uboot > > - boot from > > tftp/openwrt-realtek-rtl839x-d-link_dgs-1210-52-initramfs-kernel.bin > > - next simple scp/sysupgrade > > openwrt-realtek-rtl839x-d-link_dgs-1210-52-squashfs-sysupgrade.bin > > > Great news! Interesting, is it the same model as 1210-52 but with the > extra ports as non combo? Or are SFP+ still combo ports with 45-48 > ports? Currently 49-52 they are disabled in -52 variant but they might > introduce a problem if someone gets that fixed and they are missing in > your device. Ports are statically defined in the DTS file and they > might brick the device if missing. > Ports 49-52 seems to be "shared" I have both eth and sfp ports with same numbers (btw eth ports 49-52 don't work correctly) > Did you try the image1 firmware? It should work from the web interface > but you need to write it to the image1, not image2 slot. If it is that > close to F1 series, might be able to dual boot the device back to the > original firmware. If that doesn't work, we might need to change some > flags in the dlink image generator. Is the original firmware shared > between -f1 and -g1 series? > From original GUI/SW wasn't able to change image1/image2 - only config1/config2. Because of that decide to run directly from uboout and RAM via tftp - just to check if will up correctly. But original SW show double mtds for kernel/rootfs - so maybe only GUI issue? Linux version 2.6.19 (jonathan@210Server) (gcc version 3.4.4 mipssde-6.03.00-20051020) #2 PREEMPT Fri Oct 6 14:29:30 CST 2017 CPU revision is: 00019555 Determined physical RAM map: memory: 0200 @ (usable) User-defined physical RAM map: memory: 0790 @ (usable) Built 1 zonelists. Total pages: 30734 Kernel command line: console=ttyS0,115200 mem=121M noinitrd root=/dev/mtdblock4 rw rootfstype=squashfs csb=0x0157CCD6 cso=0x0794DD64 csf=0x42662D12 sfin=,32MB,8376352;8335392 Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, linesize 32 bytes. Synthesized TLB refill handler (20 instructions). Synthesized TLB load handler fastpath (32 instructions). Synthesized TLB store handler fastpath (32 instructions). Synthesized TLB modify handler fastpath (31 instructions). Cache parity protection disabled PID hash table entries: 512 (order: 9, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 120320k/123904k available (1786k kernel code, 3460k reserved, 393k data, 104k init, 0k highmem) Mount-cache hash table entries: 512 Checking for 'wait' instruction... available. NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered squashfs: version 3.3 (2007/10/31) Phillip Lougher JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 1 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0x0 (irq = 31) is a 16550A Probe: SPI CS1 Flash Type MX25L25635F Creating 9 MTD partitions on "Total SPI FLASH": 0x-0x0008 : "BOOT" 0x0008-0x000c : "BDINFO" 0x000c-0x0010 : "BDINFO2" 0x0010-0x0028 : "KERNEL1" 0x0028-0x00e8 : "ROOTFS1" 0x00e8-0x0100 : "KERNEL2" 0x0100-0x0104 : "SYSINFO" 0x0104-0x01c4 : "ROOTFS2" 0x01c4-0x0200 : "JFFS2" TCP cubic registered > I would include a new DTS file/firmware generation, even if it only > includes/copies -52 variant. It would make the lives of newcomers much > easier. > G1 - have dedicated SW - DGS-1210-48-G1-7-00-B006.hex BTW, this switch have some issues with IPv6? Simple remove lan2 from switch/bridge and configure manually - connect my device directly to eth2 port. Seems IPv4 works correctly - while IPv6 not (ping6 ff02::1%lan2 - no answer). Same config (with removed lan2 from bridge) works perfectly with mt7530 (also dsa) on my mt7621 board. Or we miss some configuration? Some logs below: Thu Dec 22 15:05:20 2022 kern.info kernel: [98039.948092] rtl83xx-switch switch@1b00 lan2: Link is Up - 1Gbps/Full - flow control rx/tx Thu Dec 22 15:05:20 2022 kern.info kernel: [98039.957695] IPv6: ADDRCONF(NETDEV_CHANGE): lan2: link becomes ready Thu Dec 22 15:05:20 2022 daemon.notice netifd: Network
Re: Ethernet switch with linux/openwrt and DSA
> Thanks all! > Finally buy: D-LINK DGS-1210-48 G1. > > U-Boot 2011.12.(2.1.5.67086)-Candidate1 (Apr 13 2017 - 13:58:11) > > Board: RTL839x CPU:700MHz LXB:200MHz MEM:400MHz > DRAM: 128 MB > SPI-F: 1x32 MB > > Next: > - connected serial cable > - stop in uboot > - boot from > tftp/openwrt-realtek-rtl839x-d-link_dgs-1210-52-initramfs-kernel.bin > - next simple scp/sysupgrade > openwrt-realtek-rtl839x-d-link_dgs-1210-52-squashfs-sysupgrade.bin Great news! Interesting, is it the same model as 1210-52 but with the extra ports as non combo? Or are SFP+ still combo ports with 45-48 ports? Currently 49-52 they are disabled in -52 variant but they might introduce a problem if someone gets that fixed and they are missing in your device. Ports are statically defined in the DTS file and they might brick the device if missing. Did you try the image1 firmware? It should work from the web interface but you need to write it to the image1, not image2 slot. If it is that close to F1 series, might be able to dual boot the device back to the original firmware. If that doesn't work, we might need to change some flags in the dlink image generator. Is the original firmware shared between -f1 and -g1 series? I would include a new DTS file/firmware generation, even if it only includes/copies -52 variant. It would make the lives of newcomers much easier. > > root@OpenWrt:~# ubus call system board > { > "kernel": "5.10.156", > "hostname": "OpenWrt", > "system": "RTL8393", > "model": "D-Link DGS-1210-52", > "board_name": "d-link,dgs-1210-52", > "rootfs_type": "squashfs", > "release": { > "distribution": "OpenWrt", > "version": "SNAPSHOT", > "revision": "r21432-4c0919839d", > "target": "realtek/rtl839x", > "description": "OpenWrt SNAPSHOT r21432-4c0919839d" > } > } > root@OpenWrt:~# Regards, Luiz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
śr., 14 gru 2022 o 20:35 Jan Hoffmann napisał(a): > > > Hi Janusz, > > > > > Could I just buy (any experience): > > > > > > HP switch 1920-24G JG924A > > > Do I need to check any HW ver? Or any JG924A should work? > > > > The devices from HPE 1920 series with model numbers JG92xA are all > > Realtek-based, and should be compatible with OpenWrt (make sure not to > > get a device from the similarly-named 1920S-series though, as those are > > not supported). > > > > Note that the HPE devices are only supported in master and support for > > 1920-48G is not yet included. > > And to be clear, the models with PoE are also not supported (I forgot > about those in the initial message). > > > For 1920-24G, the patches 2 and 5 from [1] are probably still necessary, > > as the device will reset during boot otherwise. I should really send > > updated versions of these to finally get that issue fixed. > > Thanks all! Finally buy: D-LINK DGS-1210-48 G1. U-Boot 2011.12.(2.1.5.67086)-Candidate1 (Apr 13 2017 - 13:58:11) Board: RTL839x CPU:700MHz LXB:200MHz MEM:400MHz DRAM: 128 MB SPI-F: 1x32 MB Next: - connected serial cable - stop in uboot - boot from tftp/openwrt-realtek-rtl839x-d-link_dgs-1210-52-initramfs-kernel.bin - next simple scp/sysupgrade openwrt-realtek-rtl839x-d-link_dgs-1210-52-squashfs-sysupgrade.bin root@OpenWrt:~# ubus call system board { "kernel": "5.10.156", "hostname": "OpenWrt", "system": "RTL8393", "model": "D-Link DGS-1210-52", "board_name": "d-link,dgs-1210-52", "rootfs_type": "squashfs", "release": { "distribution": "OpenWrt", "version": "SNAPSHOT", "revision": "r21432-4c0919839d", "target": "realtek/rtl839x", "description": "OpenWrt SNAPSHOT r21432-4c0919839d" } } root@OpenWrt:~# BR Janusz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
Hi Janusz, > Could I just buy (any experience): > > HP switch 1920-24G JG924A > Do I need to check any HW ver? Or any JG924A should work? The devices from HPE 1920 series with model numbers JG92xA are all Realtek-based, and should be compatible with OpenWrt (make sure not to get a device from the similarly-named 1920S-series though, as those are not supported). Note that the HPE devices are only supported in master and support for 1920-48G is not yet included. And to be clear, the models with PoE are also not supported (I forgot about those in the initial message). For 1920-24G, the patches 2 and 5 from [1] are probably still necessary, as the device will reset during boot otherwise. I should really send updated versions of these to finally get that issue fixed. Best, Jan [1] http://lists.openwrt.org/pipermail/openwrt-devel/2022-October/039565.html ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
Hi Janusz, > Could I just buy (any experience): > > HP switch 1920-24G JG924A > Do I need to check any HW ver? Or any JG924A should work? The devices from HPE 1920 series with model numbers JG92xA are all Realtek-based, and should be compatible with OpenWrt (make sure not to get a device from the similarly-named 1920S-series though, as those are not supported). Note that the HPE devices are only supported in master and support for 1920-48G is not yet included. For 1920-24G, the patches 2 and 5 from [1] are probably still necessary, as the device will reset during boot otherwise. I should really send updated versions of these to finally get that issue fixed. Best, Jan [1] http://lists.openwrt.org/pipermail/openwrt-devel/2022-October/039565.html ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
> > > > D-Link DGS-1210-48 HW Ver. G1 - will be fine? I need some confirmation. > > Anyone could confirm? > D-Link DGS-1210-52 F does work in snapshot. You'll need to wait for the next 23.x for a stable release. I think there is only one switch with >=48 ports supported in 22.03: zyxel gs1900. And even that one might be missing some fixes current in the master branch. I would recommend to search for a switch with less ports or wait for the 23.x release. Regards, Luiz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
On Wed, 14 Dec 2022 at 18:16, Janusz Dziedzic wrote: > > śr., 14 gru 2022 o 12:59 Janusz Dziedzic > napisał(a): > > > > wt., 13 gru 2022 o 14:20 Daniel Golle napisał(a): > > > > > > On Tue, Dec 13, 2022 at 11:17:49AM +0100, Janusz Dziedzic wrote: > > > > Hello, > > > > > > > > Do you know any/some ethernet switch project (best 18+ gbps ports) > > > > that using linux/openwrt and DSA architecture? > > > > > > Some switches with high port density currently supported by OpenWrt: > > > * TP-Link SG2452P > > > * ZyXEL GS1900-48 > > > * Panasonic Switch-M48eG PN28480K > > > > > > All of the above are using RealTek RTL839x platform. > > > > > > > Could I just buy (any experience): > > > > HP switch 1920-24G JG924A > > Do I need to check any HW ver? Or any JG924A should work? > > > Or > > D-Link DGS-1210-48 HW Ver. G1 - will be fine? I need some confirmation. > Anyone could confirm? F1 and F2 revisions are RTL, but not idea about Gx. Regards, Robert > > BR > Janusz > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
śr., 14 gru 2022 o 12:59 Janusz Dziedzic napisał(a): > > wt., 13 gru 2022 o 14:20 Daniel Golle napisał(a): > > > > On Tue, Dec 13, 2022 at 11:17:49AM +0100, Janusz Dziedzic wrote: > > > Hello, > > > > > > Do you know any/some ethernet switch project (best 18+ gbps ports) > > > that using linux/openwrt and DSA architecture? > > > > Some switches with high port density currently supported by OpenWrt: > > * TP-Link SG2452P > > * ZyXEL GS1900-48 > > * Panasonic Switch-M48eG PN28480K > > > > All of the above are using RealTek RTL839x platform. > > > > Could I just buy (any experience): > > HP switch 1920-24G JG924A > Do I need to check any HW ver? Or any JG924A should work? > Or D-Link DGS-1210-48 HW Ver. G1 - will be fine? I need some confirmation. Anyone could confirm? BR Janusz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
wt., 13 gru 2022 o 14:20 Daniel Golle napisał(a): > > On Tue, Dec 13, 2022 at 11:17:49AM +0100, Janusz Dziedzic wrote: > > Hello, > > > > Do you know any/some ethernet switch project (best 18+ gbps ports) > > that using linux/openwrt and DSA architecture? > > Some switches with high port density currently supported by OpenWrt: > * TP-Link SG2452P > * ZyXEL GS1900-48 > * Panasonic Switch-M48eG PN28480K > > All of the above are using RealTek RTL839x platform. > Could I just buy (any experience): HP switch 1920-24G JG924A Do I need to check any HW ver? Or any JG924A should work? BR Janusz -- Janusz Dziedzic ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
On Tue, Dec 13, 2022 at 11:17:49AM +0100, Janusz Dziedzic wrote: > Hello, > > Do you know any/some ethernet switch project (best 18+ gbps ports) > that using linux/openwrt and DSA architecture? Some switches with high port density currently supported by OpenWrt: * TP-Link SG2452P * ZyXEL GS1900-48 * Panasonic Switch-M48eG PN28480K All of the above are using RealTek RTL839x platform. Cheers Daniel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
Janusz Dziedzic writes: > Hello, > > Do you know any/some ethernet switch project (best 18+ gbps ports) > that using linux/openwrt and DSA architecture? Anythin rtl838x or rtl839x based? See https://github.com/openwrt/openwrt/blob/master/target/linux/realtek/image/rtl838x.mk https://github.com/openwrt/openwrt/blob/master/target/linux/realtek/image/rtl839x.mk for examples of already supported devices. Bjørn ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Ethernet switch with linux/openwrt and DSA
On Tue, 13 Dec 2022 at 11:18, Janusz Dziedzic wrote: > > Hello, > > Do you know any/some ethernet switch project (best 18+ gbps ports) > that using linux/openwrt and DSA architecture? Check out the Realtek target in OpenWrt. Regards, Robert > > BR > Janusz > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Ethernet switch with linux/openwrt and DSA
Hello, Do you know any/some ethernet switch project (best 18+ gbps ports) that using linux/openwrt and DSA architecture? BR Janusz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel