Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:zyxel:zyxel_gs1900-10hp [2021/03/09 17:41] – note about tested SFP module reichharttoh:zyxel:gs1900-10hp [2024/02/12 11:13] – external edit
Line 7: Line 7:
 {{:media:zyxel:gs1900-10hp:gs1900-10hp-angled.jpg?178|ZyXEL GS1900-10HP angled view}} {{:media:zyxel:gs1900-10hp:gs1900-10hp-angled.jpg?178|ZyXEL GS1900-10HP angled view}}
  
-===== OpenWrt support =====+===== Supported Versions ===== 
 +<!-- ToH: { 
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "rotate": true, 
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "owrt_forum_topic_url", "deviceid"], 
 +  "filterColumns": {"brand": "^Zyxel$", "model": "^GS1900-10HP$"
 +} -->
  
-<WRAP> +===== Hardware Highlights ===== 
-<tabbox Supported Versions> +<!-- ToH: { 
----- datatable ---- +  "source""json", 
-cols    BrandModelVersionsSupported Current Rel, OEM device homepage URL_urlOWrt Forum Topic URL_url, Device Techdata_pageid +  "dom": "t", 
-headers BrandModelVersionCurrent ReleaseOEM InfoForum TopicTechnical Data +  "paging": false, 
-align   : c,c,c,c,c,c,c,c +  "rotate": true
-filter  : Brand=Zyxel +  "shownColumns"["model""version""cpu""cpumhz""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem""usbports"]
-filter  Model=GS1900-10HP +  "filterColumns"{"brand": "^Zyxel$", "model""^GS1900-10HP$"} 
-----+-->
  
-<tabbox Hardware Highlights> 
----- datatable ---- 
-cols    : Model, Versions, CPU, CPU MHz, CPU Cores_numcores_, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ 
-header  : Model, Version,SoC,CPU MHz,CPU Cores,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB 
-align   : c,c,c,c,c,c,c,c,c,c,c,c,c 
-filter  : Brand=Zyxel 
-filter  : Model=GS1900-10HP 
----- 
  
-</tabbox> +===== Development thread ===== 
-</WRAP>+  * Development can be tracked in the following OpenWrt thread: [[https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/|Support for Realtek RTL838x based managed switches]]. 
 +  * A very complete source of information is [[https://svanheule.net/switches/gs1900-10hp|Svanheule's wiki entry on the GS1900-10HP]].
  
 +
 +===== Installation =====
 +/* stable release */
 +
 +<!-- ToH: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"],
 +  "filterColumns": {"brand": "^Zyxel$", "model": "^GS1900-10HP$"}
 +} -->
  
  
-===== Development thread ===== 
-  * Development can be tracked in the following OpenWrt thread: [[https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/|Support for Realtek RTL838x based managed switches]]. 
-  * OpenWrt support was originally added by bkobl, his GitHub repo can be found [[https://github.com/bkobl/openwrt/tree/rtl83xx_dev|here]]. Until target and device support have matured in upstream OpenWrt, bkobl's tree might be more usable. 
-  * A very complete source of information is [[https://biot.com/switches/gs1900-10hp|Biot's wiki entry on the GS1900-10HP]]. 
  
  
-===== Installation ===== 
----- datatable ---- 
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url 
-align   : c,c,c 
-filter  : Brand=Zyxel 
-filter  : Model=GS1900-10HP 
----- 
  
-See [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic)]] for generic installation procedures.+-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 70: Line 72:
     * First you'll copy over the OpenWrt RAM disk image, then boot it.     * First you'll copy over the OpenWrt RAM disk image, then boot it.
     * Once OpenWrt is running from RAM, you can write the sysupgrade image as if you were running an already installed OpenWrt image.     * Once OpenWrt is running from RAM, you can write the sysupgrade image as if you were running an already installed OpenWrt image.
-  * The device comes with exposed UART pins that are easily usable without needing to open the case. See the [[toh:zyxel:zyxel_gs1900-10hp#serial|serial section below]] for how to wire your serial cable and the serial connection parameters.+  * The device comes with exposed UART pins that are easily usable without needing to open the case. See the [[toh:zyxel:gs1900-10hp#serial|serial section below]] for how to wire your serial cable and the serial connection parameters.
   * Configure your computer with a static IP (e.g. 192.168.1.111).   * Configure your computer with a static IP (e.g. 192.168.1.111).
   * The bootloader contains a TFTP client. Set up a TFTP server on your computer as per the instructions above and copy the RAM disk image into the server directory.   * The bootloader contains a TFTP client. Set up a TFTP server on your computer as per the instructions above and copy the RAM disk image into the server directory.
   * Wire up your device and open a serial terminal (see 'Serial' above) with the connection parameters specified in the serial section below.   * Wire up your device and open a serial terminal (see 'Serial' above) with the connection parameters specified in the serial section below.
   * Power up the router and interrupt the bootloader by hitting the space bar.   * Power up the router and interrupt the bootloader by hitting the space bar.
-  * Since the GS1900-10HP is a dual-partition device, you want to keep the OEM firmware on the backup partition for the time being. OpenWrt can only boot off the first partition (this is hardcoded in the DTS). To make sure we are manipulating the first partition, issue the following commands: ''setsys bootpartition 0 && savesys''.+  * Since the GS1900-10HP is a dual-partition device, you want to keep the OEM firmware on the backup partition for the time being. OpenWrt can only boot off the first partition (this is hardcoded in the DTS). To make sure we are manipulating the first partition, issue the following commands: ''setsys bootpartition 0savesys''.
   * Activate the network functionality by typing ''rtk network on'' and hitting Enter.   * Activate the network functionality by typing ''rtk network on'' and hitting Enter.
   * If your TFTP server is functional, the following command will transfer the RAM disk onto the router: ''tftpboot 0x84f00000 192.168.1.111:openwrt-realtek-generic-zyxel_gs1900-10hp-initramfs-kernel.bin'', which you can then boot by issuing ''bootm''.   * If your TFTP server is functional, the following command will transfer the RAM disk onto the router: ''tftpboot 0x84f00000 192.168.1.111:openwrt-realtek-generic-zyxel_gs1900-10hp-initramfs-kernel.bin'', which you can then boot by issuing ''bootm''.
Line 82: Line 84:
 ---- ----
  
-| {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | <color #ed1c24>**OpenWrt configures the switch by default with a management VLAN ID 100 on the LAN**</color>, so keep your serial connection until you have made sure you can SSH into it after flashing so you don't lock yourself out. If you would like a 'clean' ''/etc/config/network'' without VLANs (replace macaddr values by your own!), you can start with the configuration below. |+| {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | <color #ed1c24>**OpenWrt configures the switch by default with a management VLAN ID 100 on the LAN port 1**</color>, so keep your serial connection until you have made sure you can SSH into it after flashing so you don't lock yourself out. If you would like a 'clean' ''/etc/config/network'' without VLANs (replace macaddr values by your own!), you can start with the configuration below. |
  
 <code bash> <code bash>
Line 164: Line 166:
  
 ==== PoE configuration ==== ==== PoE configuration ====
-For PoE control, you'll need the rtl83xx-poe package, which at this point is only available in [[commit>?p=openwrt/staging/blogic.git;a=tree;f=package/rtl83xx-poe;hb=2540faec92abf8f5e52eae0e77bfbdb47457252d|blogic's tree]]. Either compile it yourself or copy the following files over manually: +For PoE control, you'll need the realtek-poe package, which is hosted on [[https://github.com/Hurricos/realtek-poe.git|GitHub]]. A patch to integrate the package into an OpenWrt buildroot can be found [[https://paste.debian.net/1278695/|here]].
-  * ''/bin/poe.lua'' +
-  * ''/etc/init.d/poe'' +
-  * ''/etc/config/poe'' +
-The first two should be executable (''+x''). Keep in mind the rtl83xx-poe package so far only speaks the Broadcom PoE 'dialect', so **you can only use it on boards with Broadcom PoE controllers**. (Packages required: lua lua-rs232 libubus-lua libubox-lua).+
  
 The **power budget** is set per board in ''/etc/board.d/02_network''. If yours isn't in there yet, please consider [[:submitting-patches|submitting a patch]] with the power budget as specified by the manufacturer. The **power budget** is set per board in ''/etc/board.d/02_network''. If yours isn't in there yet, please consider [[:submitting-patches|submitting a patch]] with the power budget as specified by the manufacturer.
Line 226: Line 224:
 ==== Info ==== ==== Info ====
  
----- datatemplatelist dttpllist ---- +<!-- ToH: { 
-templatemeta:template_datatemplatelist +  "source""json", 
-cols    BrandModelVersionsDevice TypeAvailabilitySupported Since Commit_gitSupported since RelSupported current RelUnsupportedBootloaderCPUTargetCPU MHzFlash MBsRAM MBSwitchEthernet 100M ports_Ethernet Gbit ports_Comments network ports_ModemVLANWLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_Detachable Antennas_USB ports_SATA ports_Comments USB SATA ports_SerialJTAGLED countButton countPower supplyDevice Techdata_pageidForum topic URL_urlwikidevi URL_urlOEM Device Homepage URL_urlFirmware OEM Stock URL_urlFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_urlComments_ +  "dom""t", 
-filter  : Brand=Zyxel +  "paging"false, 
-filter  Model=GS1900-10HP +  "rotate": true, 
-----+  "shownColumns": ["brand""model""version""devicetype""availability""supportedsincecommit""supportedsincerel""supportedcurrentrel""unsupported_functions""bootloader""cpu""target""cpumhz""flashmb""rammb""switch""ethernet100mports""ethernet1gports""commentsnetworkports""modem""vlan""wlan24ghz""wlan50ghz""wlanhardware""wlancomments""detachableantennas""usbports""sataports""commentsusbsataports""serial""jtag""ledcount""buttoncount""powersupply""deviceid""owrt_forum_topic_url""wikideviurl""oemdevicehomepageurl""firmwareoemstockurl", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "comments"]
 +  "filterColumns"{"brand": "^Zyxel$", "model""^GS1900-10HP$"} 
 +-->
  
 ^ Architecture     | MIPS                             | ^ Architecture     | MIPS                             |
Line 277: Line 277:
  
 ==== Serial ==== ==== Serial ====
 +
 +It looks like pin order is wrong. The real is GND RX TX VCC
 +
 -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc. -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc.
  
Line 284: Line 287:
   * RX   * RX
   * GND   * GND
 +
 +Photo of serial connector - no need to open the case to hook up serial:
 +
 +{{:media:zyxel:gs1900-10hp:zyxel-serial-pins.jpg?direct&400|}}
 +
 +If you require to use it frequently then one solution is to solder an adapter cable with an audio jack and then connect an FTDI TTL-232R-3V3-AJ cable to it ({{:media:zyxel:gs1900-10hp:zyxel-serial-audio-jack-adapter.jpg?linkonly|photo}}).
  
 ^ Serial connection parameters for ZyXEL GS1900-10HP v1 | 115200 baud, 8N1 | ^ Serial connection parameters for ZyXEL GS1900-10HP v1 | 115200 baud, 8N1 |
  
-See above for a detailed shot of the PCB (no need to open the case to hook up serial). 
  
 ==== JTAG ==== ==== JTAG ====
Line 694: Line 702:
  
 ===== Tags ===== ===== Tags =====
-{{tagpage>GigabitEthernet}} {{tagpage>MIPS}} {{tagpage>realtek}} {{tagpage>PoE}} {{tagpage>SFP}}+[[meta:tags|How to add tags]] 
 +{{tag>GigabitEthernet MIPS realtek PoE SFP}}
  • Last modified: 2024/12/07 09:13
  • by monomartin