OOS——Rigol示波器的开放操作系统
OOS – an open operating system for the Rigol Scopes

原始链接: https://www.eevblog.com/forum/testgear/oos-an-open-operating-system-for-the-rigol-scopes/

OOS 是 Rigol DHO800/DHO900 示波器的实验性开源替代操作系统。它从 SD 卡启动 Linux 6.12 和基于 Rust 的示波器应用,保留原厂固件完整并支持切换回去。它不触碰 FPGA 闪存、出厂校准和启动分区。功能包括高级采集/触发、测量、数学运算、25 种协议解码器、分析器(频谱、眼图、抖动、电源、Bode)、逻辑分析仪支持、信号发生器,以及通过以太网/Wi-Fi、SCPI、Web、LXI、MCP 和 telnet 进行远程控制。型号支持各异;DHO924S 是经过测试的开发单元,其他型号未经验证。测量结果未校准,使用风险自负。安装可通过 USB GEL 或第二张 SD 卡完成,也可从运行中的 OOS 更新。用户可以自行构建或运行 GUI 模拟。项目征集硬件报告、解码器真实信号测试和 bug 报告。

Hacker News 的一篇帖子介绍了 OOS——一款用于 Rigol 示波器的开放操作系统,并附有 EEVblog 讨论和 GitHub 仓库的链接。评论者称赞 Julian 的工作(部分借助 AI)复制了示波器背后的软件与硬件深度集成,并认为它可能使 Rigol 示波器比类似品牌更受欢迎。另一位评论者说,他们的二手 Rigol 禁用了 i2c 解码器,且 Rigol North America 未回复许可咨询,希望 OOS 能让这台设备成为更好的工具。
相关文章

原文

OOS: an open operating system for the Rigol DHO800/DHO900

OOS replaces the software of a Rigol Scope (right now Supported DHO800/DHO900) with a Linux 6.12 kernel and a new scope application written in Rust. It runs from the scope's own SD card, next to the stock system, and you can switch back at any time. Source, releases and guides: github.com/deckerjulian/oos (GPL).

All pictures are screenshots of a DHO924S running OOS.

Experimental software. So far OOS has run on one DHO924S only, and some functions have never run on real hardware. Measurements made with OOS are not calibrated to any standard. You use it at your own risk; please read the disclaimer before you install it.

What OOS never touches: the FPGA flash, the factory calibration in /rigol/data, and the uboot, trust and parameter partitions. Its own self-calibration goes into its own files.



What is in it

Acquisition and trigger

  • Normal, peak detect, average, high resolution; memory depth up to 125 M points; 1 ns/div up to roll and scan mode
  • Hardware trigger: edge, pulse, slope, video, pattern, duration, timeout, runt, window, delay, setup/hold, Nth edge
  • Protocol trigger on decoded bus events, zone trigger with boxes or polygons

Measurement and maths
  • 35 automatic measurements with statistics, delay and phase, cursors, DVM and counter
  • A second pane under the plot: spectrum with peak list, results table, decoder events, or trends of two measurements
  • 8 math channels with free formulas (sqrt(CH1^2+CH2^2)), filters, FFT; reference waveforms, mask test, CSV data logger

Protocol decoders (25)
UART, I2C, SPI, Quad-SPI, I3C, 1-Wire, SWD, JTAG, CAN, CAN-FD, LIN, FlexRay, SENT, ARINC 429, MIL-STD-1553, I2S, S/PDIF, DMX512, Modbus, USB LS/FS, USB PD, parallel and more; four at once, with an event table.

Analysers

  • Spectrum analyser with harmonics, THD, SNR, SFDR, waterfall
  • Eye diagram and jitter (TJ/RJ/DJ, DCD, DDJ, PJ), power analysis, Bode plot with the built-in or an external generator
  • Bandwidth test from a fast edge. OOS does not limit the bandwidth to the rated value

Logic analyser (PLA2216, DHO900), generator (S models: sine, square, ramp, pulse, noise, DC, arbitrary, AM/FM/PM), HDMI as mirror or second workspace.

Remote control over Ethernet or a WLAN stick: SCPI on port 5555 (Rigol-style subset, :WAV:MODE RAW reads every sample), VXI-11, a web remote with live screen and touch on port 8080, LXI identification, MCP for AI assistants, and telnet (a root shell without password: keep the scope on a network you trust).

System: its own cold boot of the hardware (stock never has to run first), self-calibration, signed updates with trial start and automatic rollback, experimental overclocking of the sample clock.




Models

OOS reads the model from the unit and adapts channels, logic analyser, generator and EXT trigger to it.

ModelChannelsLAGeneratorRun OOS?
DHO802 / DHO8122--not yet
DHO804 / DHO814 / DHO8244--a DHO804 runs it (user report)
DHO914 / DHO924 (also EDU)4yes-not yet
DHO914S4yesyesnot yet
DHO924S4yesyesyes, the development unit

DHO1000, HDO and MHO are different boards and not supported.

Installing

Everything is in the latest release; you do not have to build anything.

  • From a USB stick, scope closed: DHO800_DHO900_OOS_Install.GEL through Storage > Upgrade of the stock system. Do the dry run first. So far only accepted on the DHO924S.
  • On a second SD card, scope opened: back up the original card, clone it, install oos-<version>.img. The original card stays in a drawer. A second card a few MB smaller than the original works too (tools/sdcard-clone.sh fit).
  • Updates of a running OOS: the .oosupd file through http://<scope>:8080/update.
Step by step: wiki: Installation. Going back to stock is one power cycle, or putting the original card back: wiki: Updates and Going Back.

Building it yourself works on macOS (Apple silicon) and on Linux, arm64 and x86-64; on a normal PC the kernel is cross-compiled in Docker: wiki: Building. You can also run the GUI on your computer without a scope, with simulated signals.



What would help
  • Reports from other models than the DHO924S: what works, what does not, the start-up screen and oos-fpgad model
  • Real signals for the protocol decoders, most were only tested with simulated ones
  • Bugs and ideas as GitHub issues, or here in this thread



Thanks

OOS builds on the work of others. In particular: NovaOS by Olympian LED, Inc., for publishing the GPL source of its Linux port to this hardware, which showed what a kernel needs here and where OOS started (the OOS kernel patches, device tree and configuration are written anew); Norbert Kiszka for the modified firmware and the findings he shared in public; Linux and Rockchip, the Xilinx XDMA driver, BusyBox, e2fsprogs, wpa_supplicant, Rust. The full list is in the README.

Links

联系我们 contact @ memedata.com