The Plasma Cloud PSX28 Switch is a 24 + 4 port multi-GBit switch with 24x 10/100/1000/2500BaseT Ethernet ports and 4x SFP+ module slot. Hardware: - RTL9312C SoC - Macronix MX25L25645G (32MB flash) - 512MB DDR3 SDRAM - RTL8231 GPIO extender to control the port LEDs - 6x RTL8224 4x 10m/100m/1/2.5 Gigabit PHY - SFP+ 4x 10GBit slot - RTL8239 POE++ PSE controller with frontend MCU The switch is powered directly via AC. The external RS232 serial connector (RJ45, Cisco pinout) can be used to access the terminal. Serial connection is via 115200 baud, 8N1. A reset button is accessible through a hole in the front panel. Installation ------------ * The device can be flashed by using sysupgrade command. Either from the original vendor firmware or using an initramfs (see "Debug") * Connect serial on front panel. Connection parameters: 115200 8N1 * The image must be copied using scp to /tmp of the device scp openwrt-realtek-rtl931x-plasmacloud_psx28-squashfs-sysupgrade.bin root@[IP address of the device]:/tmp/ * start sysupgrade without saving the original vendor configuration sysupgrade -n /tmp/openwrt-realtek-rtl931x-plasmacloud_psx28-squashfs-sysupgrade.bin Installation via u-boot ----------------------- If you have an TFTP server connected to the switch, it is possible to directly install the device using the factory image from u-boot # setup networking and IP of TFP server rtk network on setenv ipaddr 10.100.100.99 setenv serverip 10.100.100.20 # get factory image tftp 0x84000000 factory.bin # erase firmware partitions sf probe 0 sf erase 0x5e0000 0x1a20000 # write firmware to both partitions sf write ${fileaddr} 0x5e0000 ${filesize} sf write ${fileaddr} 0x12f0000 ${filesize} # adjust the boot commands setenv bootargs "mtdparts=spi0.0:768k(u-boot),64k(u-boot-env),64k(u-boot-env2),5120k(reserved),13376k(inactive),13376k(firmware2)" setenv bootcmd "rtk init; bootm 0xb52f0000" # restart reset Debug ----- * Connect serial on front panel. Connection parameters: 115200 8N1. * A tftp server is required, tftpd-hpa works well. * Power the device, at U-Boot start rapidly hit Esc key to stop autoboot * Enter passwords: "1234" or "plasmapsx" * Enable network: rtk network on * Change ip address of device: setenv ipaddr 192.168.1.6 * Download initramfs from TFTP server: tftpboot 0x84000000 192.168.1.111:openwrt-realtek-rtl931x-plasmacloud_psx28-initramfs-kernel.bin * Boot loaded file: bootm 0x84000000 Signed-off-by: Harshal Gohel <hg@simonwunderlich.de> Co-developed-by: Sven Eckelmann <se@simonwunderlich.de> Signed-off-by: Sven Eckelmann <se@simonwunderlich.de> Link: https://github.com/openwrt/openwrt/pull/20172 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.
Sunshine!
Download
Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.
If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.
An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:
Development
To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.
Requirements
You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.
binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.7+ rsync subversion unzip which
Quickstart
-
Run
./scripts/feeds update -a
to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -a
to install symlinks for all obtained packages into package/feeds/ -
Run
make menuconfig
to select your preferred configuration for the toolchain, target system & firmware packages. -
Run
make
to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.
Related Repositories
The main repository uses multiple sub-repositories to manage packages of
different categories. All packages are installed via the OpenWrt package
manager called opkg
. If you're looking to develop the web interface or port
packages to OpenWrt, please find the fitting repository below.
-
LuCI Web Interface: Modern and modular interface to control the device via a web browser.
-
OpenWrt Packages: Community repository of ported packages.
-
OpenWrt Routing: Packages specifically focused on (mesh) routing.
-
OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).
Support Information
For a list of supported devices see the OpenWrt Hardware Database
Documentation
Support Community
- Forum: For usage, projects, discussions and hardware advise.
- Support Chat: Channel
#openwrt
on oftc.net.
Developer Community
- Bug Reports: Report bugs in OpenWrt
- Dev Mailing List: Send patches
- Dev Chat: Channel
#openwrt-devel
on oftc.net.
License
OpenWrt is licensed under GPL-2.0