Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
zyxel_xs1930_series [2020/12/01 05:53] – [Firmware] bkoblitz | zyxel_xs1930_series [2022/11/15 15:48] (current) – Remove trailing space pmenzel | ||
---|---|---|---|
Line 6: | Line 6: | ||
| XS1930-10 | 8 | 2 | - | | | XS1930-10 | 8 | 2 | - | | ||
| XS1930-12HP | 10 | 2 | 8 | | | XS1930-12HP | 10 | 2 | 8 | | ||
+ | | XS1930-12F | 2 | 10 | - | | ||
===== Models ===== | ===== Models ===== | ||
Line 18: | Line 19: | ||
* 3-pin fan | * 3-pin fan | ||
- | The serial port is accessible via pins from from the outside on the right side of the device. Pins are front to back: GND, TX, RX, Vcc. | + | The serial port is accessible via pins from the outside on the right side of the device. Pins are front to back: GND, TX, RX, Vcc. |
- | Port settings are 115200 baud, 8n1, with 3.3 logic level. | + | Port settings are 115200 baud, 8n1, with 3.3V logic level. |
+ | |||
+ | If you are using a Raspberry Pi, ensure that the serial port is activated first, many guides list these steps, here is a decent guide: https:// | ||
+ | |||
+ | Once wired up, and the serial port is enabled test that this works. | ||
+ | |||
+ | $ setserial -g / | ||
+ | |||
+ | /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 | ||
+ | /dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3 | ||
+ | /dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 | ||
+ | /dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3 | ||
+ | |||
+ | It's likely /dev/ttyS0, use Linux' | ||
+ | |||
+ | $ cu -l /dev/ttyS0 -s 115200 | ||
+ | |||
+ | If done correctly, you will be presented with a login prompt, the login credentials for the web interface and this serial interface are the same. Test that the system is wired properly before restarting. | ||
=== Photos === | === Photos === | ||
Line 25: | Line 43: | ||
| Overview | {{: | | Overview | {{: | ||
| Main board | {{: | | Main board | {{: | ||
+ | | Serial port location | {{: | ||
+ | | Serial Port connected (raspi client) | {{: | ||
===== Firmware ===== | ===== Firmware ===== | ||
Line 356: | Line 376: | ||
You can directly load RasCode_image.bin into a disassembler at memory location 0x80274000 for analysis (see above: 2: RasCode(RAMCODE), | You can directly load RasCode_image.bin into a disassembler at memory location 0x80274000 for analysis (see above: 2: RasCode(RAMCODE), | ||
- | ===== OpenWRT | + | ===== OpenWrt |
- | A very initial boot of OpenWRT | + | A very initial boot of OpenWrt |
< | < | ||
- | | + | |
[ 0.000000] Calling boot_cpu_init | [ 0.000000] Calling boot_cpu_init | ||
[ 0.000000] Linux version 5.4.70 (birger@AMDDesktop) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14727-627da9a38c)) #0 Thu Oct 29 18:33:33 2020 | [ 0.000000] Linux version 5.4.70 (birger@AMDDesktop) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14727-627da9a38c)) #0 Thu Oct 29 18:33:33 2020 |