forked from mirror/openwrt
The Zyxel XGS1210-12 Switch is a 10 + 2 port multi-GBit switch with 8 x 1000BaseT, 2 x 10/100/1000/2500BaseT Ethernet ports and 2 SFP+ module slot. Hardware: - RTL9302B SoC - Macronix MX25L12833F (16MB flash) - Nanja NT5CC64M16GP-1 (128MB DDR3 SDRAM) - RTL8231 GPIO extender to control the port LEDs - RTL8218D 8x Gigabit PHY - RTL8226 2x 10m/100m/1/2.5 Gigabit PHY - SFP+ 2x 10GBit slot Power is supplied via a 12V 1.5A standard barrel connector. At the right side behind the grid is UART serial connector. A Serial header can be connected to from the outside of the switch trough the airvents with a standard 2.54mm header. Pins are from top to bottom Vcc(3.3V), TX, RX and GND. Serial connection is via 115200 baud, 8N1. A reset button is accessble through a hole in the front panel At the time of this commit, all ethernet ports work under OpenWrt, including the various NBaseT modes, SFP+ slots are supported with i2c bus. Installation -------------- * Connect serial as per the layout above. Connection parameters: 115200 8N1. * Navigate to 'Management' in the OEM web interface and click on 'Firmware upgrade' to the left. * Upload the OpenWrt initramfs image, and wait till the switch reboots. * Connect to the device through serial and change the U-boot boot command. > fw_setenv bootcmd 'rtk network on; boota' * Reboot, scp the sysupgrade image to /tmp, verify the checksum and flash it: > sysupgrade openwrt-realtek-rtl930x-Zyxel_xgs1210-12-squashfs-sysupgrade.bin * Upon reboot, you have a functional OpenWrt installation. Leave the bootcmd value as is - without 'rtk network on' the switch will fail to initialise the network. Debug ------------ * Connect serial as per the layout above. Connection parameters: 115200 8N1. * A tftp server is requiered, tftpd-hpa works well. * Power the device, at U-Boot start rapidly hit Esc key to stop autoboot * Enable network: > rtk network on * Change ip address (default is 192.168.1.1): > setenv ipaddr 192.168.1.6 * Download initramfs: > tftpboot 0x84f00000 192.168.1.111:openwrt-realtek-rtl930x-Zyxel_xgs1210-12-initramfs-kernel.bin * Boot loaded file: > bootm 0x84f00000 This prodecudre also apply to the sock firmware with the file XGS1210-12_V2.00(ABTY.1)C0.bix. More information can be found on the page of XGS1250-12 as they share the same base. Signed-off-by: Nicolas BERTRAND <nicolasbertrand89@gmail.com> [fixed white space error] Signed-off-by: Paul Spooren <mail@aparcar.org> |
||
|---|---|---|
| .. | ||
| rtl83xx_d-link_dgs-1210_common.dtsi | ||
| rtl83xx_d-link_dgs-1210_gpio.dtsi | ||
| rtl83xx_d-link_dgs-1210_gpio_sfp.dtsi | ||
| rtl83xx_hpe_1920.dtsi | ||
| rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi | ||
| rtl838x.dtsi | ||
| rtl839x.dtsi | ||
| rtl930x.dtsi | ||
| rtl931x.dtsi | ||
| rtl8380_d-link_dgs-1210-10mp-f.dts | ||
| rtl8380_engenius_ews2910p-v1.dts | ||
| rtl8380_engenius_ews2910p-v3.dts | ||
| rtl8380_engenius_ews2910p.dtsi | ||
| rtl8380_hpe_1920-8g-poe-65w.dts | ||
| rtl8380_hpe_1920-8g-poe-180w.dts | ||
| rtl8380_hpe_1920-8g.dts | ||
| rtl8380_hpe_1920-8g.dtsi | ||
| rtl8380_linksys_lgs310c.dts | ||
| rtl8380_netgear_gigabit.dtsi | ||
| rtl8380_netgear_gs108t-v3.dts | ||
| rtl8380_netgear_gs110tpp-v1.dts | ||
| rtl8380_netgear_gs110tup-v1.dts | ||
| rtl8380_netgear_gs308t-v1.dts | ||
| rtl8380_netgear_gs310tp-v1.dts | ||
| rtl8380_panasonic_m8eg-pn28080k.dts | ||
| rtl8380_tplink_sg2xxx.dtsi | ||
| rtl8380_tplink_sg2008p-v1.dts | ||
| rtl8380_tplink_sg2210p-v3.dts | ||
| rtl8380_zyxel_gs1900-8-v1.dts | ||
| rtl8380_zyxel_gs1900-8-v2.dts | ||
| rtl8380_zyxel_gs1900-8hp-v1.dts | ||
| rtl8380_zyxel_gs1900-8hp-v2.dts | ||
| rtl8380_zyxel_gs1900-10hp.dts | ||
| rtl8380_zyxel_gs1900.dtsi | ||
| rtl8380_zyxel_gs1900_gpio.dtsi | ||
| rtl8380_zyxel_gs1900_gpio_emulated.dtsi | ||
| rtl8382_allnet_all-sg8208m.dts | ||
| rtl8382_apresia_aplgs120gtss.dts | ||
| rtl8382_d-link_dgs-1210-10p.dts | ||
| rtl8382_d-link_dgs-1210-16.dts | ||
| rtl8382_d-link_dgs-1210-20.dts | ||
| rtl8382_d-link_dgs-1210-26.dts | ||
| rtl8382_d-link_dgs-1210-28.dts | ||
| rtl8382_d-link_dgs-1210-28_common.dtsi | ||
| rtl8382_d-link_dgs-1210-28mp-f.dts | ||
| rtl8382_d-link_dgs-1210-28p-f.dts | ||
| rtl8382_d-link_dgs-1210-28p_common.dtsi | ||
| rtl8382_hpe_1920-16g.dts | ||
| rtl8382_hpe_1920-24g-poe-180w.dts | ||
| rtl8382_hpe_1920-24g-poe-370w.dts | ||
| rtl8382_hpe_1920-24g.dts | ||
| rtl8382_hpe_1920-24g.dtsi | ||
| rtl8382_hpe_1920.dtsi | ||
| rtl8382_inaba_aml2-17gp.dts | ||
| rtl8382_iodata_bsh-g24mb.dts | ||
| rtl8382_panasonic_m16eg-pn28160k.dts | ||
| rtl8382_panasonic_m24eg-pn28240k.dts | ||
| rtl8382_tplink_t1600g-28ts-v3.dts | ||
| rtl8382_zyxel_gs1900-16.dts | ||
| rtl8382_zyxel_gs1900-24-v1.dts | ||
| rtl8382_zyxel_gs1900-24e.dts | ||
| rtl8382_zyxel_gs1900-24ep.dts | ||
| rtl8382_zyxel_gs1900-24hp-v1.dts | ||
| rtl8382_zyxel_gs1900-24hp-v2.dts | ||
| rtl8393_d-link_dgs-1210-52.dts | ||
| rtl8393_hpe_1920-48g-poe.dts | ||
| rtl8393_hpe_1920-48g.dts | ||
| rtl8393_hpe_1920.dtsi | ||
| rtl8393_netgear_gs750e.dts | ||
| rtl8393_panasonic_m48eg-pn28480k.dts | ||
| rtl8393_tplink_sg2452p-v4.dts | ||
| rtl8393_zyxel_gs1900-48.dts | ||
| rtl9302_zyxel_xgs1210-12.dts | ||
| rtl9302_zyxel_xgs1250-12.dts | ||
| rtl9303_tplink_tl-st1008f_v2.dts | ||
| rtl9303_xikestor_sks8300-8x.dts | ||