Linksys LGS328C

From TechInfoDepot
Jump to navigationJump to search
24-port managed Gigabit Ethernet switch
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
Brand • Model • Rev Linksys LGS328C
CPU1 checkY Realtek RTL9301
CPU1 Type MIPS 34KEc
CPU1 Speed 800 MHz
Flash1 Size 128 MiB134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br /> (NAND)
Flash2 Size 2 MiB2,097,152 B <br />16,384 Kib <br />2,048 KiB <br />16 Mib <br />0.00195 GiB <br /> (NOR)
RAM1 Size 512 MiB536,870,912 B <br />4,194,304 Kib <br />524,288 KiB <br />4,096 Mib <br />0.5 GiB <br />
ETH chip1 Realtek RTL9301
Switch Realtek RTL9301
Ethernet Port Count 24-2.5GbE
Ethernet connector 8P8C
Wired Standard IEEE 802.3i/3u/3ab/3bz
Auto-MDIX unspecified
Switch Class managed

Ethernet OUI: none specified

Expansion IF types SFP+
SFP ports 4
Stock bootloader U-Boot
Power 110-240 VAC ~ 50/60 Hz, 0.7 A
Serial Port (UART) yes, 5V TTL, (115200 8N1)
3rd Party Firmware Support OpenWrt • (List | Dev | DLs)

For a list of all currently documented Realtek chipsets with specifications, see Realtek.

For a list of all currently documented Linksys devices with specifications, see Linksys.


Flashing

Flashing OpenWrt

Target: realtek
Subtarget: rtl930x_nand
Package architecture: mips_24kc
Supported Since Commit
Support started version: 25.12.0
Current supported version: 25.12.1
LAN Hardware: Realtek RTL9301
LAN Comment: 24x GbE ports, 4x 10G SFP+ ports
WLAN Hardware: none
Installation method(s):
See git-commit
Recovery method(s):
See git-commit
git • >>
realtek: add support for Linksys LGS328C
Hardware specification
----------------------

* RTL9301 SoC, 1 MIPS 34KEc core @ 800MHz
* 512MB DRAM
* 2MB NOR Flash
* 128MB NAND Flash
* 24 x 10/100/1000BASE-T ports
* 4 x 10G SFP+ ports
* Power LED, Fault LED
* Reset button on front panel
* UART (115200 8N1) via RJ45

Installation using serial interface
-----------------------------------

1. Press "a" "c" "p" during message "Enter correct key to stop autoboot"
2. Start network "rtk network on"
3. Load image "tftpboot <TFTP IP>:openwrt-realtek-rtl930x_nand-linksys_lgs328c-initramfs-kernel.bin"
4. Boot image "bootm"
5. Switch to first bootpartition "fw_setsys bootpartition 0"
5. Download sysupgrade "scp <IP>:openwrt-realtek-rtl930x_nand-linksys_lgs328c-squashfs-sysupgrade.bin /tmp/."
6. Install sysupgrade "sysupgrade /tmp/openwrt-realtek-rtl930x_nand-linksys_lgs328c-squashfs-sysupgrade.bin"

Installation using OEM webinterface
-----------------------------------

This is not possible because the OpenWrt NAND Flash layout is different
from the vendor layout. To be precise. Vendor uses:

- 64 MB vendor UBI root_data
- 32 MB vendor kernel+root 1 (~19 MB used)
- 32 MB vendor kernel+root 2 (~19 MB used)

OpenWrt uses:

- 64 MB vendor UBI (not touched)
- 10 MB OpenWrt kernel
- 22 MB Openwrt mtd-concat UBI
- 23 MB vendor kernel 2 (space reduced, vendor data unchanged)
- 09 MB OpenWrt mtd-concat UBI

Dual-boot with stock firmware using writable u-boot-env
-------------------------------------------------------

From stock to OpenWrt / primary image 1 (CLI as admin):
   - > boot system image1
   - > reboot

From OpenWrt to stock / boot image 2: (shell as root)
   - # fw_setsys bootpartition 1
   - # reboot

Debrick using serial interface
------------------------------

1. Press "a" "c" "p" during message "Enter correct key to stop autoboot"
2. Load vendor image with "upgrade runtime <TFTP IP>:LGS328xxxxx.imag"
3. switch to primary partition "setsys bootpartition 0"
4. safe config "savesys"

Further documentation
---------------------
See https://openwrt.org/toh/linksys/lgs352c