zx-swtg3424s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
zx-swtg3424s [2023/04/13 21:48] svidpetzx-swtg3424s [2023/04/20 18:07] (current) svidpet
Line 1: Line 1:
-====== Whitelabel (HoracoZX-SWTG3424S ======+====== Horaco ZX-SWTG3424S ======
 The ZX-SWTG3424S is a 24 GE + 4 SFP + console + usb port L3 managed switch. The ZX-SWTG3424S is a 24 GE + 4 SFP + console + usb port L3 managed switch.
  
Line 12: Line 12:
   * Winbond 25Q128JVFQ (16 MB flash)   * Winbond 25Q128JVFQ (16 MB flash)
   * Winbond W631GG8KB-12 (128 MB DDR3 SDRAM)   * Winbond W631GG8KB-12 (128 MB DDR3 SDRAM)
-  * [[rtl8231|RTL8231 GPIO expander]] to control the port LEDs+  * 2x [[rtl8231|RTL8231 GPIO expander]] to control the port LEDs
   * 3x RTL8218D 8x Gigabit PHY   * 3x RTL8218D 8x Gigabit PHY
   * [[https://datasheetspdf.com/pdf-file/964696/SDMC/DM2016/1]|SDMC DM2016N]] software protect IC   * [[https://datasheetspdf.com/pdf-file/964696/SDMC/DM2016/1]|SDMC DM2016N]] software protect IC
Line 29: Line 29:
 {{ :zx-swtg3424s_led_array.jpg?600 |}} {{ :zx-swtg3424s_led_array.jpg?600 |}}
 ==== PCB side 1 ==== ==== PCB side 1 ====
-{{ :zx-swtg3424s_pcb_a.jpg?600 |}}+{{ :zx-swtg3424s_pcb-a_bw.jpg?600 |}}
 ==== PCB side 2 ==== ==== PCB side 2 ====
-{{ :zx-swtg3424s_pcb_b.jpg?600 |}}+{{ :zx-swtg3424s_pcb-b_bw.jpg?600 |}} 
 +==== PCB's merged ==== 
 +{{ :zx-swtg3424s_pcb_merged.jpg?400 |}} 
  
 ---- ----
 ===== bootloader ===== ===== bootloader =====
-=== U-boot === +=== U-boot start === 
-<code> +<code>
 U-Boot 2011.12.(1.0.0.2) (Dec 20 2022 - 04:42:03) U-Boot 2011.12.(1.0.0.2) (Dec 20 2022 - 04:42:03)
  
Line 50: Line 53:
 RTL9300# # RTL9300# #
 </code> </code>
 +=== U-boot version ===
 <code> <code>
 +U-Boot 2011.12.(1.0.0.2) (Dec 20 2022 - 04:42:03)
 +mips-linux-uclibc-xgcc (Realtek MSDK-4.8.5p1 Build 2536) 4.8.5 20150209 (prerelease)
 +GNU ld (Realtek MSDK-4.8.5p1 Build 2536) 2.24.0
 </code> </code>
 +=== flshow ===
 <code> <code>
 +RTL9300# # flshow
 +=============== FLASH Partition Layout ===============
 +Index  Name       Size       Address
 +------------------------------------------------------
 +     LOADER     0xe0000    0xb4000000-0xb40dffff
 +     BDINFO     0x10000    0xb40e0000-0xb40effff
 +     SYSINFO    0x10000    0xb40f0000-0xb40fffff
 +     JFFS2_CFG  0x100000   0xb4100000-0xb41fffff
 +     JFFS2_LOG  0x100000   0xb4200000-0xb42fffff
 +     RUNTIME1   0xc00000   0xb4300000-0xb4efffff
 +     OEMINFO    0x100000   0xb4f00000-0xb4ffffff
 +======================================================
 </code> </code>
 +=== printenv ===
 <code> <code>
 +RTL9300# # printenv
 +baudrate=115200
 +boardmodel=RTL9301_3x8218D_4XGE_HR
 +bootcmd=boota
 +bootdelay=1
 +ethaddr=xx:xx:xx:xx:xx:xx
 +ipaddr=192.168.2.1
 +ledModeInitSkip=0
 +modelname=ZX-SWTG3424S
 +serialnumber=xxxxxxxxxxxxxxx
 +serverip=192.168.2.254
 +stderr=serial
 +stdin=serial
 +stdout=serial
 +
 +Environment size: 283/65532 bytes
 </code> </code>
 +=== help ===
 <code> <code>
 +RTL9300# # help
 +?       - alias for 'help'
 +base    - print or set address offset
 +boota   - boota  - boot application image from flash partiton
 +
 +bootm   - boot application image from memory
 +bootp   - boot image via network using BOOTP/TFTP protocol
 +cmp     - memory compare
 +cp      - memory copy
 +crc32   - checksum calculation
 +env     - environment handling commands
 +erase   - erase FLASH memory
 +flerase - Erase flash partition
 +flinfo  - print FLASH memory information
 +flshow  - Show flash partition layout
 +go      - start application at address 'addr'
 +help    - print command description/usage
 +iminfo  - print header information for application image
 +loadb   - load binary file over serial line (kermit mode)
 +loads   - load S-Record file over serial line
 +loady   - load binary file over serial line (ymodem mode)
 +loop    - infinite loop on address range
 +md      - memory display
 +mm      - memory modify (auto-incrementing address)
 +mtest   - simple RAM read/write test
 +mw      - memory write (fill)
 +nm      - memory modify (constant address)
 +ping    - send ICMP ECHO_REQUEST to network host
 +printenv- print environment variables
 +printsys- printsys - print system information variables
 +
 +protect - enable or disable FLASH write protection
 +reset   - Perform RESET of the CPU
 +reset_all- Perform whole chip RESET of the CPU
 +rtk     - rtk     - Realtek commands
 +
 +run     - run commands in an environment variable
 +saveenv - save environment variables to persistent storage
 +savesys - savesys - save system information variables to persistent storage
 +
 +setenv  - set environment variables
 +setsys  - setsys  - set system information variables
 +
 +sf      - SPI flash sub-system
 +sleep   - delay execution for some time
 +tftpboot- boot image via network using TFTP protocol
 +upgrade - Upgrade loader or runtime image
 +version - print monitor, compiler and linker version
 </code> </code>
 +===== stock firmware =====
 +=== boot ===
 +
 <code> <code>
 +U-Boot 2011.12.(1.0.0.2) (Dec 20 2022 - 04:42:03)
 +
 +Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
 +DRAM:  128 MB
 +SPI-F: WINBOND/EF4018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f852e0)
 +Loading 65536B env. variables from offset 0xe0000
 +Net:   Net Initialization Skipped
 +No ethernet found.
 +Hit Esc key to stop autoboot:  0
 +## Booting kernel from Legacy Image at 81000000 ...
 +   Image Name:   1.1.1.14
 +   Created:      2022-12-20   4:39:06 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    8649578 Bytes = 8.2 MB
 +   Load Address: 80000000
 +   Entry Point:  80332af0
 +   Verifying Checksum ... OK
 +   Uncompressing Kernel Image ... OK
 +
 +Starting kernel ...
 +
 +console [ttyS0] enabled
 +bootconsole [early0] disabled
 +Calibrating delay loop... 531.66 BogoMIPS (lpj=2658304)
 +pid_max: default: 32768 minimum: 301
 +Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +NET: Registered protocol family 16
 +SCSI subsystem initialized
 +usbcore: registered new interface driver usbfs
 +usbcore: registered new interface driver hub
 +usbcore: registered new device driver usb
 +NET: Registered protocol family 2
 +TCP established hash table entries: 1024 (order: 0, 4096 bytes)
 +TCP bind hash table entries: 1024 (order: 2, 20480 bytes)
 +TCP: Hash tables configured (established 1024 bind 1024)
 +TCP: reno registered
 +UDP hash table entries: 256 (order: 1, 12288 bytes)
 +UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
 +NET: Registered protocol family 1
 +futex hash table entries: 256 (order: 0, 7168 bytes)
 +squashfs: version 4.0 (2009/01/31) Phillip Lougher
 +ntfs: driver 2.1.31 [Flags: R/W DEBUG].
 +jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
 +msgmni has been set to 230
 +random: modprobe urandom read with 0 bits of entropy available
 +io scheduler noop registered
 +io scheduler deadline registered
 +io scheduler cfq registered (default)
 +Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 +serial8250: ttyS0 at MMIO 0x0 (irq = 47, base_baud = 10764700) is a 16550A
 +loop: module loaded
 +SCSI Media Changer driver v0.25
 +RTK_SPI_FLASH_MIO driver is bypassed
 +RTK_NORSFG3 driver is used
 +=================================================================
 +init_luna_nor_spi_map: flash map at 0xb4000000
 +SPI NOR driver probe...
 +WINBOND/EF4018/MMIO16-1/ModeC add SPI NOR partition
 +MTD partitions obtained from built-in array
 +Creating 7 MTD partitions on "rtk_norsf_g3":
 +0x000000000000-0x0000000e0000 : "LOADER"
 +0x0000000e0000-0x0000000f0000 : "BDINFO"
 +0x0000000f0000-0x000000100000 : "SYSINFO"
 +0x000000100000-0x000000200000 : "JFFS2 CFG"
 +0x000000200000-0x000000300000 : "JFFS2 LOG"
 +0x000000300000-0x000000f00000 : "RUNTIME"
 +0x000000f00000-0x000001000000 : "OEMINFO"
 +=================================================================
 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 +rtk_gen1_hcd_cs_init: rtk_gen1_hcd_cs_init()!
 +rtk_gen1_hcd_cs_init: register rtk_gen1_ehci ok!
 +usb_phy_configure_process: usb_phy_configure_process()!
 +rtk_gen1-ehci rtk_gen1-ehci: Realtek On-Chip EHCI Host Controller
 +rtk_gen1-ehci rtk_gen1-ehci: new USB bus registered, assigned bus number 1
 +rtk_gen1-ehci rtk_gen1-ehci: irq 28, io mem 0x18021000
 +rtk_gen1-ehci rtk_gen1-ehci: USB 2.0 started, EHCI 1.00
 +hub 1-0:1.0: USB hub found
 +hub 1-0:1.0: 1 port detected
 +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 +ohci-platform: OHCI generic platform driver
 +usbcore: registered new interface driver uas
 +usbcore: registered new interface driver usb-storage
 +TCP: cubic registered
 +NET: Registered protocol family 10
 +sit: IPv6 over IPv4 tunneling driver
 +NET: Registered protocol family 17
 +Freeing unused kernel memory: 6972K (80461000 - 80b30000)
 +Mount DEV File System....OK
 +Mount PROC File System........OK
 +Mount Main SQFS File System........OK
 +Mount Module SQFS File System....OK
 +Mount CFG JFFS2 File System....OK
 +Mount LOG JFFS2 File System....OK
 +Mount OEM JFFS2 File System....OK
 +RTCORE LKM Insert...
 +RTCORE Driver Module Initialize
 +  IOAL init
 +  Log init
 +  Hardware-profile probe
 +  (RTL9301_3x8218D_4XGE_HR)
 +  Hardware-profile init
 +  GPIO probe (unit 0): (found)
 +  GPIO Init
 +  SPI init (unit 0)
 +  Intr Probe (unit 0)
 +  TC probe (unit 0): (found)
 +  TC init (unit 0)
 +    TC util init (unit 0)
 +    TC util init (isr)
 +  Watchdog probe (unit 0): (found)
 +  Watchdog init (unit 0)
 +  I2C probe (unit 0)
 +  RTL8231 probe (unit 0): (found)
 +  RTL8231 init (unit 0)
 +  UART probe (unit 0): (found)
 +  NIC probe (unit 0)
 +  IOAL init
 +  L2Ntfy probe (unit 0): (found)
 +RTK Driver Module Initialize
 +  MAC probe (unit 0)
 +    Chip 9301 (found)
 +  MAC init (unit 0)
 +  SMI protocol probe (unit 0)
 +  PHY probe (unit 0)
 +  Chip Construct (unit 0)
 +    Chip Construct
 +    Disable PHY Polling
 +    PHY Reset
 +    MAC Construct
 +    Turn Off Serdes
 +    Serdes Construct
 +    PHY Construct
 +    Turn On Serdes
 +    Mac_Polling_PHY Config
 +    Enable PHY Polling
 +    Misc
 +  PHY init (unit 0)
 +  Mgmt_dev init (unit 0)
 +RTDRV Driver Module Initialize
 +Init Board Configuration Module....OK
 +net: module license 'Realtek Semiconductor Corp.' taints kernel.
 +Disabling lock debugging due to kernel taint
 +Init Net Module....OK
 +Init Define Database Module....OK
 +Init KSI Core Driver Module....OK
 +Init OS Abstract Layer Module....OK
 +Init SKI Core Driver Module....OK
 +Init Board Module....OK
 +Init Board Vendor Module....OK
 +Init Switch Voice VLAN Module....OK
 +Init Switch Surveillance VLAN Module....OK
 +Init Switch GVRP Module....OK
 +Init Switch STP Module....OK
 +Init Switch AUTHMGR Module....OK
 +Init Switch LACP Module....OK
 +Init Switch Multicast Module....OK
 +Init Switch IPSG Module....OK
 +Init Switch DHCP Module....OK
 +Init Switch DAI Module....OK
 +Init Switch LLDP Module....OK
 +Init Switch UDLD Module....OK
 +Init Switch MAC VLAN Module....OK
 +Init Switch ERPS Module....OK
 +Init Switch LOOPBACK Module....OK
 +Init Custom Module....OK
 +Init OEM_INFOR ....OK
 +
 +====== Factory Defaults Initial [Start] ======
 +Init Switch Factory Default....OK
 +Init VLAN Factory Default....OK
 +Init Protocol VLAN Factory Default....OK
 +Init Vocie VLAN Factory Default....OK
 +Init Surveillance VLAN Factory Default....OK
 +Init Mirror Factory Default....OK
 +Init L2 Factory Default....OK
 +Init L3 Factory Default....OK
 +Init Trunk Factory Default....OK
 +Init Rate Factory Default....OK
 +Init QoS Factory Default....OK
 +Init LACP Factory Default....OK
 +Init EEE Factory Default....OK
 +Init DoS Factory Default....OK
 +Init IGMP Factory Default....OK
 +Init MVR Factory Default....OK
 +Init MLD Factory Default....OK
 +Init STP Factory Default....OK
 +Init LLDP Factory Default....OK
 +Init System Factory Default....OK
 +Init SNMP Factory Default....OK
 +Init Port Security Factory Default....OK
 +Init Syslog Factory Default....OK
 +Init AAA Factory Default....OK
 +Init Auth Manager Factory Default....OK
 +Init Radius Factory Default....OK
 +Init Custom Factory Default....OK
 +Init IP Source Guard Factory Default....OK
 +Init DHCP Snooping Factory Default....OK
 +Init Dynamic ARP Inspection Factory Default....OK
 +Init GVRP Factory Default....OK
 +Init UDLD Factory Default....OK
 +Init ERPS Factory Default....OK
 +Init LOOPBACK Factory Default....OK
 +Init DHCP Server Factory Default....OK
 +Init Oem config Factory Default....OK
 +====== Factory Defaults Initial [Done] ======
 +
 +====== Initial from default [Start] ======
 +====== Initial from default [Done] ======
 +System Post Initial....OK
 +Port Post Initial....OK
 +Init VLAN Default Entry....START
 +Init VLAN Default Entry....OK
 +Init Voice VLAN OUI Default Entry....START
 +Init Voice VLAN OUI Default Entry....OK
 +Init Surveillance VLAN OUI Default Entry....START
 +Init Surveillance VLAN OUI Default Entry....OK
 +Init MGMT ACL Default Entry....START
 +Init MGMT ACL Default Entry....OK
 +*Jan 01 2022 00:00:08: %SYSTEM-5-COLDSTART: Cold startup
 +Press any key to continue
 +Username:
 </code> </code>
 +=== version ===
 <code> <code>
 +Switch# show version
 +Loader Version   : 1.0.0.2
 +Loader Date      : Dec 20 2022 - 04:42:03
 +Firmware Version : 1.1.1.14
 +Firmware Date    : Dec 20 2022 - 04:39:06
 </code> </code>
  • zx-swtg3424s.1681422520.txt.gz
  • Last modified: 2023/04/13 21:48
  • by svidpet