Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gs1900-48 [2020/10/02 12:53] – biot | gs1900-48 [2023/01/19 16:36] (current) – Serial header pin-out svanheule | ||
---|---|---|---|
Line 4: | Line 4: | ||
The GS1900-48 is a 48 + 2-port Gigabit L2 switch with 48 gigabit ports. | The GS1900-48 is a 48 + 2-port Gigabit L2 switch with 48 gigabit ports. | ||
+ | |||
+ | ===== Firmware ===== | ||
+ | It ships with a bootloader based on Realtek' | ||
+ | |||
+ | ==== OpenWRT Support ==== | ||
+ | There is experimental hardware support for the device in OpenWRT. SFP does not work. | ||
+ | |||
===== Hardware ====== | ===== Hardware ====== | ||
Line 9: | Line 16: | ||
* Macronix MX25l12805D (16MB flash) | * Macronix MX25l12805D (16MB flash) | ||
* 128MB RAM | * 128MB RAM | ||
- | * 6 * [[RTL8218B]] external PHY | + | * 6 × [[RTL8218B]] external PHY |
- | * 2 * [[RTL8231]] GPIO extenders to control the port LEDs, system LED and reset button | + | * 2 × [[RTL8231]] GPIO extenders |
+ | * One configured as shift register | ||
+ | * One configured in MIIM mode (phy address 0x3) for GPIO usage: | ||
2 Uplink ports are SFP cages which support 1000 Base-X tmini GBIC modules. | 2 Uplink ports are SFP cages which support 1000 Base-X tmini GBIC modules. | ||
- | Power is supplied via a 230 volt mains connector. The board has a hard reset switch SW1, which is is not reachable from the outside. J4 provides a 12V RS232 serial connector which is connected through U8 to the 3.3V UART of | + | Power is supplied via a 230 volt mains connector. The board has a hard reset switch SW1, which is is not reachable from the outside. J4 provides a 12V RS232 serial connector |
the RTL8393. Conversion is done by U8, a SIPEX 3232EC. To connect to the UART, wires can be soldered to R603 and R602. | the RTL8393. Conversion is done by U8, a SIPEX 3232EC. To connect to the UART, wires can be soldered to R603 and R602. | ||
+ | SDA of the left SFP cage is connected to gpio 26 of the closeby RTL8231, SCL to 24. For the right cage, SDA is GPIO30 and SCL is 31. | ||
==== Board details ==== | ==== Board details ==== | ||
Line 23: | Line 33: | ||
{{wiki: | {{wiki: | ||
- | ===== Firmware ===== | + | ==== JTAG ==== |
- | It ships with a bootloader based on Realtek' | + | The board has an unpopulated eJTAG header. The SMD resistor configuration is such that the interface is disabled by default. To be able to use the JTAG interface, the following changes need to be made: |
+ | * R171 permanently asserts nTRST. Move R171 (pull-down) to R525 (pull-up) to allow remote assertion of nTRST. | ||
+ | * R48 is unpopulated, | ||
+ | * Add 2×7 pin header, or at least add connections to TDI, TDO, TCK, TMS and (one) GND pins. | ||
- | ==== OpenWRT Support | + | With these modifications, |
- | There is experimental hardware support | + | |
+ | < | ||
+ | Info : JTAG tap: auto0.tap tap/device found: 0x00001001 (mfg: 0x000 (< | ||
+ | Info : JTAG tap: auto1.tap tap/device found: 0x00000001 (mfg: 0x000 (< | ||
+ | </ | ||
+ | |||
+ | ==== Hard reset circuit | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | Looking at the circuit around the hard reset button (SW1), one can see an RC (debouncing) circuit (R210+C32). R465 is a pull-up, to maintain the de-asserted state of the RC-circuit' | ||
+ | |||
+ | U25 has marking " | ||
+ | |||
+ | The board config reports that GPIO5 on the RTL8231 (U38) can be used to reset the SoC. GPIO5 leads to TP2 on the board, but neither are connected electrically to U25:2 or U25:3, nor to R403 next to the SoC. A bodge wire can be installed to enable runtime reset-by-GPIO. | ||
+ | |||
+ | ==== Board configuration ==== | ||
+ | |||
+ | < | ||
+ | GS1900# show board | ||
+ | **************************** | ||
+ | | ||
+ | **************************** | ||
+ | ============================ | ||
+ | Board GPIO | ||
+ | ============================ | ||
+ | Device | ||
+ | ------- ---- ---------- -------- -------- | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | INT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | EXT | ||
+ | |||
+ | ============================ | ||
+ | Board Configuration | ||
+ | ============================ | ||
+ | ====== Port ================== | ||
+ | Type | ||
+ | ---------- ---- ------- ----------- -------------- -------- ------- | ||
+ | 1000M 1 (0) 0 | ||
+ | 1000M 2 (0) 1 | ||
+ | 1000M 3 (0) 2 | ||
+ | 1000M 4 (0) 3 | ||
+ | 1000M 5 (0) 4 | ||
+ | 1000M 6 (0) 5 | ||
+ | 1000M 7 (0) 6 | ||
+ | 1000M 8 (0) 7 | ||
+ | 1000M 9 (0) 8 | ||
+ | 1000M 10 (0) 9 | ||
+ | 1000M 11 (0) 10 Copper | ||
+ | 1000M 12 (0) 11 Copper | ||
+ | 1000M 13 (0) 12 Copper | ||
+ | 1000M 14 (0) 13 Copper | ||
+ | 1000M 15 (0) 14 Copper | ||
+ | 1000M 16 (0) 15 Copper | ||
+ | 1000M 17 (0) 16 Copper | ||
+ | 1000M 18 (0) 17 Copper | ||
+ | 1000M 19 (0) 18 Copper | ||
+ | 1000M 20 (0) 19 Copper | ||
+ | 1000M 21 (0) 20 Copper | ||
+ | 1000M 22 (0) 21 Copper | ||
+ | 1000M 23 (0) 22 Copper | ||
+ | 1000M 24 (0) 23 Copper | ||
+ | 1000M 25 (0) 24 Copper | ||
+ | 1000M 26 (0) 25 Copper | ||
+ | 1000M 27 (0) 26 Copper | ||
+ | 1000M 28 (0) 27 Copper | ||
+ | 1000M 29 (0) 28 Copper | ||
+ | 1000M 30 (0) 29 Copper | ||
+ | 1000M 31 (0) 30 Copper | ||
+ | 1000M 32 (0) 31 Copper | ||
+ | 1000M 33 (0) 32 Copper | ||
+ | 1000M 34 (0) 33 Copper | ||
+ | 1000M 35 (0) 34 Copper | ||
+ | 1000M 36 (0) 35 Copper | ||
+ | 1000M 37 (0) 36 Copper | ||
+ | 1000M 38 (0) 37 Copper | ||
+ | 1000M 39 (0) 38 Copper | ||
+ | 1000M 40 (0) 39 Copper | ||
+ | 1000M 41 (0) 40 Copper | ||
+ | 1000M 42 (0) 41 Copper | ||
+ | 1000M 43 (0) 42 Copper | ||
+ | 1000M 44 (0) 43 Copper | ||
+ | 1000M 45 (0) 44 Copper | ||
+ | 1000M 46 (0) 45 Copper | ||
+ | 1000M 47 (0) 46 Copper | ||
+ | 1000M 48 (0) 47 Copper | ||
+ | 1000M 49 (0) 48 Fiber (A) ALL Auto | ||
+ | 1000M 50 (0) 49 Fiber (A) ALL Auto | ||
+ | |||
+ | |||
+ | ====== Fiber ================= | ||
+ | Fiber Port Number: 2 | ||
+ | |||
+ | ------------ Fiber Detect | ||
+ | LPort Present | ||
+ | ------ -------- --------- ---------------------- ---------------------- | ||
+ | 48 | ||
+ | 49 | ||
+ | |||
+ | ------------ Fiber Optical | ||
+ | LPort SMI DEV SMI TYPE ID Delay | ||
+ | ------ -------- --------- ----- ------- ------ ------ | ||
+ | 48 | ||
+ | 49 | ||
+ | |||
+ | ------------ Fiber TX Disable | ||
+ | LPort GPIO | ||
+ | ------ ------ | ||
+ | 48 | ||
+ | 49 | ||
+ | |||
+ | |||
+ | ====== Button ================ | ||
+ | |||
+ | ------------ Reset Button | ||
+ | GPIO: EXT_3 | ||
+ | Timer: 1(sec) | ||
+ | Timer: 4(sec) | ||
+ | |||
+ | |||
+ | ====== Led =================== | ||
+ | SYS (REG) | ||
+ | ALARM (REG) | ||
+ | |||
+ | |||
+ | ====== Reset ================= | ||
+ | Type: GPIO | ||
+ | GPIO: EXT_5 | ||
+ | |||
+ | |||
+ | ====== WatchDog ============== | ||
+ | Type: REG | ||
+ | |||
+ | |||
+ | </ | ||
===== References ===== | ===== References ===== | ||
* [[https:// | * [[https:// | ||
- | {{tag> | + | {{tag> |