Repository navigation
OOS 0.1.6
Seventh version of OOS, an open operating system for the Rigol DHO800/DHO900. Most of it comes from the reports and ideas in the forum thread and from a pull request. Highlights:
- the web remote and SCPI no longer slow the scope down
- protocol modules, with NMRA DCC as the first one
- text size
- date and time by NTP
- the USB install now checks the hardware variant
Experimental. It has run on a DHO924S, and DHO804s run earlier versions. 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 to 0.1.5: install oos-0.1.6.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. The kernel changes in this version too.
What changed
Remote control
-
The web remote, SCPI and VXI-11 no longer slow the scope down. The servers read their connections in the frame loop with a 1 ms timeout, which the kernel rounds up to whole timer ticks (4 to 8 ms). Every web request stopped the screen for that long, and so did every pass of the loop with an SCPI connection open. They now read without waiting.
-
The live picture is faster.
- The page gets each new picture as soon as it is made (long poll with ETag).
- It is made on the slow cores, with spare time only, and only of a changed screen.
- The PNG encoder and the screen comparison are faster.
-
Measured on a DHO924S over Ethernet:
0.1.5 0.1.6 scope screen, one browser open 16 frames/s 30 frames/s scope screen, two browsers open – 30 frames/s new pictures in the browser 4 to 5/s about 13/s An SCPI script that keeps its connection open costs no frames either.
Protocols
- Protocol modules: a new decoder is one file and one registration: docs/protocol-modules.md. Menu rows, setups, protocol trigger, labels, event rows, demo traffic and a view of its own come from one trait. DMX512, S/PDIF and USB PD moved into modules, and their saved setups load as before.
- NMRA DCC for model railways, from pull request #3 by Arjen Halma:
- Display > Second pane > Bus view shows the layout it controls: locomotives with direction, speed and functions, turnouts, signals, and the track status, green while live and red after an emergency stop.
- The event table lists one command per row (
Loco 5 Fwd 50/128). - Tested with generated packets only.
Display and measurements
- Display > Text size: Normal, Large, Larger. Normal looks exactly as before.
- Measure > Add item: a second tap removes a measurement.
System and network
- System > Date and time:
- Time from NTP, off by default (then OOS sends nothing to the outside).
- Time zones with daylight saving time, or the clock set by hand.
- Once the clock is set, files are named by date and time.
- Ethernet at 10 Mbit/s after a cold start (user report):
- A kernel patch makes the PHY negotiate again after its set-up, as a replug does.
- System > Network shows the link speed and has a "10 Mbit retry", on by default.
- The unit of the author never showed the problem, so the fix is not confirmed yet.
Install
- The USB install checks the hardware, not the model name. DHO804, DHO814 and DHO824 are taken now (same board; a DHO804 that names itself a DHO824 was refused before), and so are DHO914S and DHO924S.
- A refused install says how to go on:
oos-install.lognames the verified models, the risk, andoos-any-model.txt. - Backing up the SD card on Windows, macOS and Linux: docs/sdcard-backup.md.
Full list: CHANGELOG.md.
Files
| File | What |
|---|---|
oos-0.1.6.img |
boot image, for the second-card install in the README |
oos-0.1.6.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/ (the OOS patches are in the repository) |
busybox_1.37.0*, e2fsprogs-1.47.2.tar.xz, wpa_supplicant-2.11.tar.gz |
sources of the other programs in the image (the same as in 0.1.5) |
State
Installed on the author's DHO924S through the web page:
- the kexec start was checked;
- the install into
recoverywas checked, with the earlier build kept for rollback; - the new build is running;
- the trial start after the power cycle is still to come.
Kernel patch: checked on that unit with a test build of 0.1.5 plus the patch. A cold start and a confirmed trial both gave 100 Mbit/s full, 9.3 MB/s and no errors.
Measured on the unit: the web remote and SCPI figures above, and the DCC Bus view and event table with the demo traffic. NTP, the time zone and the text sizes are tested on the host only.
Host tests pass:
- hal 219, dsp 161, ui 272 and fpgad 4 tests;
- the register sequences of the acquisitions are the same as in 0.1.5 (
tools/plan-matrix.shwith calibration files, 8519 lines); - the USB install passes its simulation on a card file: dry run, install, selecting again, and a card that is not stock is refused.