openwrt/target/linux
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
..
apm821xx kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
archs38 kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
armvirt armvirt: 64: enable driver for QEMU' supported watchdog 2022-05-07 14:31:21 +02:00
at91 config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
ath25 generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
ath79 ath79: allow use GPIO17 as regular gpio on GL-AR300M devices 2022-06-05 21:19:32 +02:00
bcm27xx bcm27xx/bcm2711: enable asm crypto algorithms 2022-06-04 12:39:01 +02:00
bcm47xx kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
bcm53xx config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
bcm63xx bcm63xx: add linux v5.15 support 2022-05-20 15:53:16 +02:00
bcm4908 bcm4908: enable armv8-CE crypto algorithms 2022-06-04 12:39:01 +02:00
bmips bmips: dgnd3700v2: fix network config 2022-05-23 21:05:59 +02:00
gemini gemini: Bump kernel to v5.15 2022-04-14 10:12:34 +02:00
generic generic: remove patch to fix vlan setup on mv88e6xxx 2022-06-05 21:19:32 +02:00
imx kernel: bump 5.15 to 5.15.32 2022-04-09 19:31:46 +02:00
ipq40xx ipq40xx: add support for Linksys WHW01 v1 2022-06-05 21:19:32 +02:00
ipq806x ipq-wifi: drop upstreamed board-2.bin 2022-05-14 11:08:45 +02:00
kirkwood kirkwood: set testing kernel version to 5.15 2022-05-01 13:40:13 +09:00
lantiq kernel: bump 5.10 to 5.10.114 2022-05-16 20:26:38 +02:00
layerscape layerscape/armv8_64b: enable armv8-CE crypto algos 2022-06-04 12:39:01 +02:00
malta malta: use default OpenWrt network configuration 2022-05-28 17:35:34 +02:00
mediatek mediatek: mt7622: add support for ELECOM WRC-X3200GST3 2022-05-21 22:27:01 +01:00
mpc85xx mpc85xx: enable error reporting for RAM and PCIe 2022-05-14 11:08:45 +02:00
mvebu mvebu/cortexa72: enable armv8-CE crypto algos 2022-06-04 12:39:01 +02:00
mxs kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeon kernel: move some symbols to generic config 2022-04-09 19:31:46 +02:00
octeontx octeontx: add armv8-CE version of CRC T10 2022-06-04 12:39:01 +02:00
omap config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
oxnas kernel: bump 5.10 to 5.10.112 2022-04-23 20:46:25 +02:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq config: limit CONFIG_DEBUG_INFO to top-level generic configs 2022-05-18 13:32:06 +03:00
ramips ramips: use hotplug script for EAP615-Wall MACs 2022-06-03 13:45:38 +03:00
realtek realtek: add support for ZyXEL GS1900-24E 2022-06-06 10:30:50 +02:00
rockchip rockchip/armv8: enable armv8-CE crypto algorithms 2022-06-04 12:39:01 +02:00
sunxi sunxi/cortexa53: enable armv8-CE crypto algorithms 2022-06-04 12:39:01 +02:00
tegra kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 kernel/x86: move x86' specific watchdogs to the x86 target 2022-05-07 14:31:22 +02:00
zynq kernel: delete Linux 5.4 config and patches 2022-03-21 11:36:30 +00:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00