mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Chrome on macOS labels .bin files application/macbinary. Searching for application/octet-stream mistakes the image bytes for more part headers and aborts when the preamble buffer fills. Find the multipart header terminator instead, after the HTTP separator retained by handle_post. Keep authentication, CRC checks and staging limits unchanged. Cover MacBinary, an omitted part Content-Type, and a split header terminator with exact staged-byte checks.
2.1 KiB
2.1 KiB
Change Log
[0.x] - 2026-xx-XX
Added
-
Devices
- Support the hongyavision HYWS-SGT0204S (PCB marking
2G5F4_10G2_V1.01), an RTL8372 based 4x2.5G + 2xSFP+ unmanaged switch with a 512 KB Bright MoonT25S40flash. It is a sibling of the KP-9000-6XH-X2 (2M-PCB43-V1.1) with the two SFP+ cages wired the other way round (physical 5 is on SDS1, physical 6 on SDS0), no reset button fitted, wrong silkscreen labels on the serial header,LED_GLB_IO_ENbit 6 has to be set for the port LEDs to work, and the fitted T25S40 cannot be read in DIO mode on this board, so the target selects single-IO flash reads (flash_sio). New machine targetMACHINE_2G5F4_10G2_V1_01, seedoc/devices/2G5F4_10G2_V1.01.md.
- Support the hongyavision HYWS-SGT0204S (PCB marking
-
Web UI
- Compress the embedded assets (minify + gzip) and switch to a single-page layout. #315
- Replace the multi-page UI with a themed single-page app: light, dark and Selenized themes following the browser by default, English, Japanese and Chinese, save to flash merges the command log into the startup config and verifies the write, firmware images are checked in the browser before upload. #429
Changed
Fixed
-
Web UI
- Accept firmware uploads regardless of the file part's MIME type, including
application/macbinarysent by Chrome on macOS for.binfiles.
- Accept firmware uploads regardless of the file part's MIME type, including
-
Config
- A startup configuration line longer than the command buffer no longer stops the replay: the offending line is skipped and the following lines are still applied.
- The web UI and the configuration upload now refuse a line the replay cannot take, instead of writing it to flash.
Breaking changes
- Config
- VLAN don't accept port
u-suffix anymore. Sovlan 1 4uis not valid anymore. Replace it withvlan 1 4.
- VLAN don't accept port
- Commands
- port zero/
0is treated as theCPU_PORT. #326 - Many commands don't accept the CPU_PORT anymore. See #334.
When the CPU_PORT is needed, the command/service will add the CPU_PORT automaticly.
Only
isolateaccept the CPU_PORT as destination port.
- port zero/
[v0.1_aplha] - 2025-11-03
First release.