1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-17 20:53:59 +02:00
openwrt/target/linux/realtek/dts-5.10
Raylynn Knight b515ad10a6 realtek: add support for ZyXEL GS1900-24E
The ZyXEL GS1900-24E is a 24 port gigabit switch similar to other GS1900
switches.

Specifications
--------------
* Device:    ZyXEL GS1900-24E
* SoC:       Realtek RTL8382M 500 MHz MIPS 4KEc
* Flash:     16 MiB Macronix MX25L12835F
* RAM:       128 MiB DDR2 SDRAM Nanya NT5TU128M8GE
* Ethernet:  24x 10/100/1000 Mbps
* LEDs:      1 PWR LED (green, not configurable)
             1 SYS LED (green, configurable)
             24 ethernet port link/activity LEDs (green, SoC controlled)
* Buttons:   1 "RESET" button on front panel
* Switch:    1 Power switch on rear of device
* Power      120-240V AC C13
* UART:      1 serial header (JP2) with populated standard pin connector on
             the left side of the PCB.
             Pinout (front to back):
             + Pin 1 - VCC marked with white dot
             + Pin 2 - RX
             + Pin 3 - TX
             + PIn 4 - GND

Serial connection parameters:  115200 8N1.

Installation
------------

OEM upgrade method:

* Log in to OEM management web interface
* Navigate to Maintenance > Firmware
* Select the HTTP radio button
* Select the Active radio button
* Use the browse button to locate the
realtek-rtl838x-zyxel_gs1900-24e-initramfs-kernel.bin
file and select open so File Path is updated with filename.
* Select the Apply button. Screen will display "Prepare
for firmware upgrade ...".
*Wait until screen shows "Do you really want to reboot?"
then select the OK button
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
   > sysupgrade -n /tmp/realtek-rtl838x-zyxel_gs1900-24e-squashfs-sysupgrade.bin
   it may be necessary to restart the network (/etc/init.d/network restart) on
   the running initramfs image.

U-Boot TFTP method:

* Configure your client with a static 192.168.1.x IP (e.g. 192.168.1.10).
* Set up a TFTP server on your client and make it serve the initramfs image.
* Connect serial, power up the switch, interrupt U-boot by hitting the
  space bar, and enable the network:
   > rtk network on
* Since the GS1900-24E is a dual-partition device, you want to keep the OEM
  firmware on the backup partition for the time being. OpenWrt can only boot
  from the first partition anyway (hardcoded in the DTS). To make sure we are
  manipulating the first partition, issue the following commands:
  > setsys bootpartition 0
  > savesys
* Download the image onto the device and boot from it:
   > tftpboot 0x84f00000 192.168.1.10:openwrt-realtek-rtl838x-zyxel_gs1900-24e-initramfs-kernel.bin
   > bootm
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
   > sysupgrade -n /tmp/openwrt-realtek-rtl838x-zyxel_gs1900-24e-squashfs-sysupgrade.bin
   it may be necessary to restart the network (/etc/init.d/network restart) on
   the running initramfs image.

Signed-off-by: Raylynn Knight <rayknight@me.com>
2022-06-06 10:30:50 +02:00
..
rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi realtek: add support for Panasonic Switch-M8eG PN28080K 2022-03-13 19:54:57 +01:00
rtl838x.dtsi realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl839x.dtsi realtek: fix node addresses for RTL839x 2022-02-20 16:23:55 +00:00
rtl930x.dtsi realtek: use DT provided address for timers 2022-02-20 16:23:58 +00:00
rtl931x.dtsi realtek: consolidate bootargs again 2022-02-20 16:23:55 +00:00
rtl8380_netgear_gigabit_1xx.dtsi
rtl8380_netgear_gigabit_3xx.dtsi
rtl8380_netgear_gigabit.dtsi realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl8380_netgear_gs108t-v3.dts
rtl8380_netgear_gs110tpp-v1.dts realtek: netgear-gs110tpp: Add system LEDs 2021-12-27 13:51:41 +01:00
rtl8380_netgear_gs308t-v1.dts
rtl8380_netgear_gs310tp-v1.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_panasonic_m8eg-pn28080k.dts realtek: add support for Panasonic Switch-M8eG PN28080K 2022-03-13 19:54:57 +01:00
rtl8380_zyxel_gs1900-8.dts
rtl8380_zyxel_gs1900-8hp-v1.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900-8hp-v2.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900-10hp.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8380_zyxel_gs1900.dtsi realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl8382_allnet_all-sg8208m.dts realtek: Consolidate bootargs 2021-11-24 21:42:44 +02:00
rtl8382_d-link_dgs-1210-10p.dts realtek: move RTL8231 definitions to board files 2022-02-20 16:23:55 +00:00
rtl8382_d-link_dgs-1210-16.dts
rtl8382_d-link_dgs-1210-28.dts
rtl8382_d-link_dgs-1210.dtsi realtek: Consolidate bootargs 2021-11-24 21:42:44 +02:00
rtl8382_inaba_aml2-17gp.dts realtek: Consolidate bootargs 2021-11-24 21:42:44 +02:00
rtl8382_iodata_bsh-g24mb.dts realtek: add support for I-O DATA BSH-G24MB 2022-03-07 21:44:53 +01:00
rtl8382_zyxel_gs1900-16.dts realtek: add support for ZyXEL GS1900-16 2022-05-07 17:23:45 +02:00
rtl8382_zyxel_gs1900-24-v1.dts realtek: add ZyXEL GS1900-24 v1 support 2022-03-13 19:24:13 +01:00
rtl8382_zyxel_gs1900-24e.dts realtek: add support for ZyXEL GS1900-24E 2022-06-06 10:30:50 +02:00
rtl8382_zyxel_gs1900-24hp-v1.dts realtek: add ZyXEL GS1900-24HP v1 support 2022-04-16 17:26:56 +02:00
rtl8382_zyxel_gs1900-24hp-v2.dts realtek: enable uart1 on the devices with PoE support in 5.10 2021-09-26 00:32:18 +02:00
rtl8393_zyxel_gs1900-48.dts realtek: ZyXEL GS1900-48: fix system LED polarity 2022-02-20 16:23:55 +00:00
rtl9302_zyxel_xgs1250-12.dts realtek: consolidate bootargs again 2022-02-20 16:23:55 +00:00