Skip to content

OOS 0.1.4

Choose a tag to compare

@deckerjulian deckerjulian released this 10 Nov 07:46
· 533 commits to main since this release

Fifth version of OOS, an open operating system for the Rigol DHO800/DHO900. Fixes for the cold start and the calibration check, a much lighter web remote, and builds on Linux.

Experimental. It has run on one DHO924S, and one DHO804 runs an earlier version. Read the disclaimer, the status and the known limits first. Measurements are not calibrated to any standard.

Installing and updating

No build needed: Installation.

From 0.1.1, 0.1.2 or 0.1.3: install oos-0.1.4.oosupd through http://<scope>:8080/update. The scope restarts into the new build by itself (kexec) and installs it from there. Then switch it off at the mains, wait 30 seconds and switch it on: that start is the trial. From 0.1.0 the install is direct, followed by the same power-cycle.

What changed

  • Fix, cold start: after a true power-on the FPGA's factory image only hears the BOOT command about 11 s after power-on, and a BOOT sent earlier is lost. On some units every cold start stopped at "FPGA image". OOS now sees the wrong image, unloads the PCIe drivers, sends BOOT again and checks again, up to twice, with a warning on the start-up screen. Thanks to @mj1911, who found and fixed it (#1).
  • Fix, calibration warning: the start-up check asked for cal_afg.hex, the generator calibration, on models without a generator (DHO800, DHO900 without "S"). The warning stayed there after every self-calibration. A self-calibration with /oos not mounted now fails instead of reporting "saved" for a result that was gone at the next start.
  • Web remote: the live picture is a compressed PNG of about 90 KB instead of a 1.8 MB BMP, about six times the picture rate on a 10 Mbit/s link; BMP can still be chosen on the page. Also by @mj1911 (#2).
  • Building on Linux, arm64 and x86-64: the kernel is cross-compiled in the build container, the scripts check what is missing and refuse sudo. Step by step: Building. A workflow builds the image on both hosts and compares them.
  • Smaller second cards: tools/sdcard-clone.sh fit makes a copy of the card image for a card that is smaller than the original.

Full list: CHANGELOG.md.

Files

File What
oos-0.1.4.img boot image, for the second-card install in the README
oos-0.1.4.oosupd update package for a running OOS, signed with the maintainer key (id 4dbd03d9763869dd), which every build trusts
DHO800_DHO900_OOS_Install.GEL install from a USB stick through the stock system's Storage > Upgrade, without opening the scope; keep its name
SHA256SUMS checksums
linux-6.12.115-base.tar.xz kernel source, needed to build the kernel: put it into kernel/src/
busybox_1.37.0*, e2fsprogs-1.47.2.tar.xz, wpa_supplicant-2.11.tar.gz sources of the other programs in the image

State

This exact package has not run on the unit yet. The BOOT repeat ran on the DHO924S of its author in four cold starts where the first BOOT was lost; the first repeat loaded the main image each time (the second repeat is tested on the host only), and a warm restart is unchanged. The PNG picture ran there from RAM.

Host tests pass. The register sequences of the acquisitions are the same as in 0.1.3 (tools/plan-matrix.sh with calibration files, 8519 lines). The USB install passes its simulation on a card file: dry run, install, selecting again, a card that is not stock refused. The kernel, the device tree and every third-party file in the image come out bit for bit the same when built on arm64 and on x86-64 Linux.