Port of the FLOPPINUX for WYSE device
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-20 11:18:18 +01:00
docs docs 2026-11-18 16:32:46 +01:00
flash-c fc/gradient: fix un-terminated digit prints (ndigits scan) — junk byte after numbers under tcc builds; bake into build 21 2026-11-19 21:27:22 +01:00
netxfer WYSENUX 0.1.0: first release 2026-11-18 20:53:45 +01:00
releases WYSENUX 0.2.0: working USB keyboard 2026-11-18 21:16:15 +01:00
wysenux WYSENUX v0.4.1: slim distro — fc editor ditched, /projects/gradient.c baked, vim push recipe (build 23) 2026-11-20 11:18:18 +01:00
.gitignore wysenux: ditch fc editor, ship fcc + /projects/gradient.c (build 22); gitignore vendored vim tarball 2026-11-20 00:17:48 +01:00
README.md project hub: WYSENUX 0.3.0 (smol web) 2026-11-19 13:56:33 +01:00

WYSENUX

A RAM-resident Linux distribution for the Wyse Winterm 3235LE — a fork of FLOPPINUX.

FLOPPINUX is an embedded Linux on a single floppy. WYSENUX keeps the idea — tiny, hackable, one build script — and swaps the floppy for the network: the Wyse's own NetXfer recovery mode downloads and executes the whole OS into RAM on every boot. No disk, no flash writes: pull the power and the machine forgets WYSENUX ever existed.

                _________________
               /_/ WYSENUX     /_/;
              / ' thin client ' //
             / '------------' //
            /   .--------.   //
           /   /  3235LE  /  //
          .___/_________/__//   64MiB
          '===\_________\=='   netboot

What WYSENUX has (0.3.0)

Kernel Debian 3.16.0-6-586 (586 build — the Geode GX1 has no CMOV)
Userspace Alpine static busybox 1.35 + busybox-extras (telnetd)
Display gx1fb framebuffer console, on-screen root shell
Network natsemi driver, static 10.0.0.2/24 (server 10.0.0.1)
Remote access telnet 10.0.0.2:23 · raw shell 10.0.0.2:24 — root, no password
Input kbdinject — freestanding i486 daemon translating the Wyse/Cypress keyboard's boot-protocol HID reports into uinput events (its empty report descriptor defeats stock usbhid)
Layout floppinux-style /etc/init.d/rc + /welcome, minimal /init PID1
Build limit initrd gz must stay ≤ 0x15693B — the NetXfer loader silently hangs past that ceiling (build.sh aborts if exceeded)
Persistence none by design (RAM-only; power-cycle = clean slate)

Boot it

cd netxfer && sudo ./serve.sh wysenux.bin     # start the NetXfer responder
# Wyse: cold power-off (unplug 5V ~5s), hold P, power on

The ROM validates the image and RAM-executes the loader chain — kernel log on screen, then the welcome art and a shell. Telnet in from the server laptop. Serve any other image the same way (wyse_lin20.bin = pre-fork test build).

Build it

cd wysenux && ./build.sh        # -> netxfer/tftpboot/wysenux.bin (4.4MB)

Source of the whole OS is plain files in wysenux/rootfs/. Edit, build, serve, reboot — that's the loop. Requirements: gcc -m32, cpio, gzip, and the vendored makebootp toolchain (see folder layout).

The hardware it runs on

Model Wyse Winterm 3235LE (WT3235LE), P/N 902024-22, s/n 9LJ8DA00160
MAC 00:80:64:53:1E:C0 (Wyse OUI)
CPU National Geode GX1 @ 300 MHz (x86 i586-class, no CMOV)
RAM 64 MB + free PC133 SODIMM slot
Flash 32 MB NAND + SmartMedia socket — currently holds no OS (stock CE 4.2 replaced during experiments; WYSENUX netboots instead)
Video CS5530A + GX1, up to 1280x1024; VGA legacy modes dead under the NetXfer ROM, fbcon works
Network NS DP83815 10/100
USB 4x USB 1.1 (CS5530A OHCI + internal TUSB2046 hub); no PS/2, no serial, no parallel
Firmware No standard PC BIOS; two-stage Wyse scheme. Safemode ROM is now 3125SE-derived (frl_code.ce, k-swapped) — P-mode NetXfer works, which is WYSENUX's loader
Recovery NetXfer: hold P at cold power-on → raw BOOTP (10067) / TFTP (10069)

Project layout

wysenux/            THE DISTRIBUTION: rootfs/ source, build.sh, inject_dev.py
netxfer/            boot infrastructure for the laptop
  serve.sh            one-command responder restart + image serve
  respond.py          raw AF_PACKET BOOTP/TFTP responder (NetXfer protocol)
  tftpboot/           bootable images served to the box (wysenux.bin, …)
  parky/              makebootp toolchain, parky's loader grammar reference
  ftpd.py             stdlib FTP server (WinCE-era upgrade channel experiments)
linux/              kernel side: extracted Debian 3.16.0-6-586 tree
docs/               research & process documents (01-hardware, 02-os-options,
                    03-netxfer-recovery, 04-network-log, 05-tagged-images)
6722.jpg            photo of the unit + label

Key lessons (the short version)

  1. The only custom-OS route in is NetXfer (P at cold power-on): the box has no standard BIOS boot. Its 09.66 client speaks raw BOOTP from UDP source port 0 — the kernel drops those packets, hence our raw AF_PACKET responder (respond.py).
  2. Zero-flash code execution is proven: tagged images run in RAM (beep payloads → full Linux). The current ROM even validates parky's 4-record image grammar and executes the Linux loader.
  3. The image grammar is strict: parky's makebootp structure only, ≥ 4,272,000 bytes, initrd size field exact. One flipped initrd content byte is fine — validation is structural, not a hash.
  4. Cross-flashing via k-swap worked: parky's 3125SE image with the platform key patched (06020101… → 04020101…) passed bootstrap212's gates and flashed — replacing the (locked-out) 09.66 safemode client with a working one, at the cost of stock CE.
  5. No genuine 3235LE firmware is online anywhere (hunt documented in docs/) — a permanently flashed stock-OS restore is currently impossible; WYSENUX's netboot makes that irrelevant for daily use.
  6. The Wyse/Cypress keyboard is nonstandard: empty HID report descriptor, usbhid registers no input device; kbdinject bridges it via hidraw (flaky: hidraw registration itself still intermittently absent — open issue; standard USB keyboards enumerate fine).

Primary sources

  • FLOPPINUX — Krzysztof Jankowski's single-floppy Linux tutorial (our init layout, welcome screen homage, build philosophy)
  • parkytowers.me.uk — Wyse 3125SE/3235LE + Compaq Evo T20 pages; parky's makebootp toolchain and Linux loader are what actually boot WYSENUX
  • rayer.g6.cz — RayeR's Evo T20 work (FreeDOS/Linux, BIOS patches, evo_eeprom)
  • mowson.org/karl — netxfer.sh, Evo T20 netboot howtos
  • driverguide.com — genuine Wyse packages (user account required): NetXfer.zip (img2utc + mkutc UTC grammar), 541Wye34_3125_FTP.exe
  • Wyse patent US6836885B1 — params.ini/FTP upgrade protocol grammar