[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115327":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":8,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},115327,"oos","dekajoule\u002Foos","dekajoule",null,"Rust",197,15,1,19,0,4,78,17,76.33,"GNU General Public License v2.0",false,"main",true,[],"2026-11-23 20:48:52","2026-11-23 15:20:45","# OOS: an open operating system for the Rigol DHO800\u002FDHO900\n\nOOS replaces the software of a Rigol DHO800\u002FDHO900 oscilloscope with a Linux 6.12 kernel and a new scope application\nwritten in Rust. It runs from the scope's own SD card, next to the stock system, and you can switch back at any time.\n\n> **Experimental software. Read the [disclaimer](#disclaimer) before you install it.**\n> OOS has run on a DHO924S and, by user reports, on a DHO804 and a DHO802; several functions have never run on real\n> hardware ([status](#status)). Measurements made with OOS are not calibrated to any standard.\n\n\u003Ctable>\n\u003Ctr>\u003Ctd>\u003Cimg src=\"docs\u002Fimages\u002Fchannels.png\" alt=\"Two channels: a 10:1 probe on the calibration signal and the built-in generator\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Fimages\u002Fpane-spectrum.png\" alt=\"A square wave with its spectrum and peak list under it\">\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Cimg src=\"docs\u002Fimages\u002Feye.png\" alt=\"Eye diagram with TIE charts, bathtub and jitter breakdown\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Fimages\u002Flogic-analyser.png\" alt=\"Analog channel with three logic analyser lines\">\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftable>\n\nAll pictures are screenshots of a DHO924S running OOS. More in the [gallery](#gallery). How to install and use it is in\nthe [wiki](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki): [start here](#getting-started).\n\n## Thanks\n\nOOS builds on the work of these projects. Thank you to everyone behind them:\n\n- **[NovaOS](https:\u002F\u002Fgithub.com\u002FBradyok\u002Fnovaos-kernel-source)** by Olympian LED, Inc., for publishing the GPL source of\n  its Linux port to this hardware, which showed what a kernel needs here and where OOS started. The patches, device tree\n  and configuration of the OOS kernel are written anew today. Its install notes also helped with the loader's image format.\n- **[Norbert Kiszka](https:\u002F\u002Fgithub.com\u002Fnorbertkiszka)**, for the findings about this hardware he shared in public.\n- **[Linux](https:\u002F\u002Fkernel.org)**, the kernel underneath everything, and **[Rockchip](https:\u002F\u002Fgithub.com\u002Frockchip-linux\u002Fkernel)**\n  for the board support it runs on here.\n- **[Xilinx XDMA driver](https:\u002F\u002Fgithub.com\u002FXilinx\u002Fdma_ip_drivers)**, which connects the SoC to the FPGA over PCIe.\n- **[BusyBox](https:\u002F\u002Fbusybox.net)**, the userland of the image.\n- **[e2fsprogs](https:\u002F\u002Fe2fsprogs.sourceforge.net)** by Theodore Ts'o, which checks the data partition at every start.\n- **[wpa_supplicant](https:\u002F\u002Fw1.fi\u002Fwpa_supplicant\u002F)** by Jouni Malinen and contributors, for WLAN.\n- **[linux-firmware](https:\u002F\u002Fgit.kernel.org\u002Fpub\u002Fscm\u002Flinux\u002Fkernel\u002Fgit\u002Ffirmware\u002Flinux-firmware.git)** and Realtek, for the\n  firmware of the WLAN stick.\n- **[Rust](https:\u002F\u002Fwww.rust-lang.org)** and the **[libc](https:\u002F\u002Fgithub.com\u002Frust-lang\u002Flibc)** crate, the only dependency\n  of the OOS code on the scope.\n- **[Roboto](https:\u002F\u002Fgithub.com\u002Fgooglefonts\u002Froboto-classic)**, the typeface of the screen.\n\nSources and licences of the kernel parts are listed in [kernel\u002FREADME.md](kernel\u002FREADME.md).\n\n## Contents\n\n- [Disclaimer](#disclaimer)\n- [How OOS is made](#how-oos-is-made)\n- [Supported models](#supported-models)\n- [What OOS does](#what-oos-does)\n- [Gallery](#gallery)\n- [Status](#status)\n- [Getting started](#getting-started)\n- [Repository layout](#repository-layout)\n- [Development](#development)\n- [Licences](#licences)\n\n## Disclaimer\n\n**Use OOS entirely at your own risk.** OOS is provided \"as is\", without warranty of any kind, express or implied,\nincluding but not limited to merchantability, fitness for a particular purpose and non-infringement. To the maximum\nextent permitted by applicable law, the authors and contributors are not liable for any damage or loss arising from\nits use or from following these instructions. That includes damage to the instrument, to connected equipment or\ndevices under test, loss of data or calibration, lost warranty, wrong measurements, injury and any consequential loss.\n\nInstalling OOS means that you accept in particular the following risks:\n\n- **Warranty.** The boot card is inside the instrument. **Installing OOS with a second card means opening the scope,\n  and that voids the warranty.** The USB install does not open it, but it changes the card, and nothing here promises\n  that your warranty survives that. If it goes wrong, you may have to open the scope anyway.\n- **Instrument damage.** OOS drives the hardware directly: FPGA, ADC, front ends, sample clock, fan, relays and the\n  generator output. A software fault can leave hardware in a state the stock firmware would never select. A failed fan\n  control or a wrong setting can cause overheating or damage.\n- **Data loss.** A mistake while writing the card can make the scope unbootable or destroy the factory calibration\n  stored on it. Without a good copy of your original card this data **cannot be replaced**.\n- **Licences.** Option licences of the stock system have been seen to stop working after running OOS, and had to be\n  entered again. Keep your licence keys at hand.\n- **Wrong measurements.** OOS is not a calibrated or certified measuring instrument. Readings, trigger behaviour,\n  decoders and analysis results can be wrong without any visible sign. Do not use OOS for safety-relevant, medical,\n  legal, commercial or compliance measurements, and never rely on it to decide whether something is safe to touch.\n- **Electrical safety.** OOS changes nothing about the input ratings of the instrument. Observe the manufacturer's\n  safety instructions and ratings. The open instrument contains a mains power supply with dangerous voltages. Disconnect\n  the mains and all probes before you open it, and close it again before you connect mains. Only open it if you know\n  how to do this safely.\n- **Network security.** Apart from SSH (password or key, [docs\u002Fnetwork.md](docs\u002Fnetwork.md) 7), the only shell on the\n  network, OOS has no authentication: SCPI, VXI-11, HiSLIP (on a computer), the web remote and MCP are open to everyone\n  who can reach the scope. The community signing key is public, so anyone on the network can also install an update.\n  This holds for WLAN as well. **Connect the scope to a trusted bench network only, never directly to the internet.**\n- **Experimental settings.** System > Overclock (with `adc.overclock = on`) and `\u002Foos\u002Flimits.conf` can change the sample\n  clock, `limits.conf` can also lift limits. Values outside the defaults are outside any rating and can make the scope\n  unusable or damage it.\n  Overclocked records lose samples at the full rate, so they are wrong: see [docs\u002Fmodels.md](docs\u002Fmodels.md).\n\nOOS is an independent project. It is not affiliated with, endorsed by or supported by RIGOL TECHNOLOGIES CO., LTD.\nRigol and all other names are trademarks of their respective owners and are used here only to identify the hardware.\nDo not contact Rigol for support with OOS. The repository contains no Rigol code ([how OOS is made](#how-oos-is-made)).\nAt run time OOS uses the FPGA image already in the scope's flash, the calibration files on its own card and the stock\nsoftware on that card, which it needs to read the scope's identity. It only reads them.\n\n## How OOS is made\n\nOOS is an **independent reimplementation**. The tree holds only descriptions of the scope's behaviour in our own\nwords, and code written to them. The descriptions in [docs\u002F](docs\u002FREADME.md) are **black-box**: they say what goes in\nand what comes out at the scope's interfaces, that is the values its registers take and return, the words on the buses\nto the front ends, ADC, PLL and panel as they appear on a running unit, the signals at its inputs and outputs, the\nanswers of the stock SCPI, and what Rigol publishes for users (the programming guide, the manuals) together with the\ndata sheets of the parts. Each fact says how it is known (verified on the unit, assumed, or not yet verified on\nhardware). The tree holds no vendor code or data, and since\n[ADR 0026](docs\u002Fadr\u002Fprocess\u002F0026-contributions-are-signed-off-and-hold-no-vendor-material.md) (2026-11-16) the same\nrule holds for every text around the code: commit messages, pull requests and issues.\n\nThe decision records say this in detail:\n[ADR 0030](docs\u002Fadr\u002Fprocess\u002F0030-independent-reimplementation-from-black-box-descriptions.md) (this rule),\n[ADR 0013](docs\u002Fadr\u002Fprocess\u002F0013-no-vendor-code-only-libc.md) (no vendor code or data),\n[ADR 0015](docs\u002Fadr\u002Fprocess\u002F0015-say-how-you-know.md) (how a fact is known) and\n[ADR 0026](docs\u002Fadr\u002Fprocess\u002F0026-contributions-are-signed-off-and-hold-no-vendor-material.md) (contributions).\n\n## Supported models\n\nOOS reads the model from `\u002Frigol\u002Fdata\u002Fvendor.bin` at start and adapts channels, logic analyser, generator and EXT\ntrigger to it. The stock software has to be on the card for that; without it, set `model = ...` in `\u002Foos\u002Flimits.conf`.\nDetails and limits: [docs\u002Fmodels.md](docs\u002Fmodels.md).\n\n| Model | Rated bandwidth | Channels | Logic analyser | Generator | EXT trigger | Runs OOS |\n|---|---|---|---|---|---|---|\n| DHO802 \u002F DHO812 | 70 \u002F 100 MHz | 2 | - | - | yes | a DHO802 runs it (user report) |\n| DHO804 \u002F DHO814 \u002F DHO824 | 70 \u002F 100 \u002F 250 MHz | 4 | - | - | - | a DHO804 runs it (user report) |\n| DHO914 \u002F DHO924 | 125 \u002F 250 MHz | 4 | yes | - | - | not yet |\n| DHO914-EDU \u002F DHO924-EDU | 125 \u002F 250 MHz | 4 | yes | - | - | not yet |\n| DHO914S \u002F DHO924S | 125 \u002F 250 MHz | 4 | yes | yes | - | a DHO924S runs it (developer's unit) |\n\nEach row is one hardware variant: its models differ only in the licensed bandwidth ([docs\u002Fmodels.md](docs\u002Fmodels.md)\n2.1), so a model whose row runs OOS counts as verified, and the USB install takes it without being told\n([docs\u002Finstall-usb.md](docs\u002Finstall-usb.md) 4). The other models are prepared from the known model table and have\nnever run OOS. The feature columns follow the model line-up; whether the EDU variants have the LA port is not\nconfirmed. DHO1000,\nHDO1000\u002F2000\u002F4000 and MHO models are different boards and are not supported; [docs\u002Fporting.md](docs\u002Fporting.md) says\nwhat would carry over and how an owner can describe one.\n\nLimits on all models:\n\n| | 1 channel | 2 channels | 3-4 channels |\n|---|---|---|---|\n| Sample rate per channel | 1.25 GSa\u002Fs | 625 MSa\u002Fs | 312.5 MSa\u002Fs |\n| Memory depth per channel | 125 M | 62.5 M | 31.25 M |\n| Memory depth with the LA on | 31.25 M | 12.5 M | 10 M |\n\nFor how the hardware works, see the [hardware overview](https:\u002F\u002Fdekajoule.github.io\u002Foos\u002Fhardware\u002Foverview.html).\n\n## What OOS does\n\n- **Acquisition** up to 1.25 GSa\u002Fs and 125 M points: normal, peak detect, average and high resolution, roll and scan\n  mode, zoom, Auto with four views of the signal\n- **Trigger**: twelve hardware trigger types, protocol trigger on decoded bus events, zone trigger, noise reject\n- **Display**: waveform windows, up to four views to switch between, full screen, three text sizes, HDMI output, the\n  picture drawn on the GPU\n- **Measurement and maths**: 35 automatic measurements with statistics, cursors, DVM, a frequency counter in the FPGA,\n  a second pane (spectrum, results, events, trends), data logger, 8 math channels with free formulas, references,\n  mask test\n- **29 protocol decoders**, from UART, I2C and SPI to CAN-FD, MIL-STD-1553 and NMRA DCC\n- **Analysers**: spectrum, eye diagram and jitter, power, Bode with the built-in or an external generator, bandwidth\n  test, Identify\n- **Logic analyser** with the PLA2216 probe, and the **generator** of S models\n- **Remote control**: web remote, SCPI, VXI-11, MCP for AI assistants, SSH, the scope by name over mDNS\n- **System**: its own cold boot of all hardware, self-calibration into its own files, signed updates with trial start\n  and automatic rollback\n\nEvery feature in detail: [Features](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FFeatures).\n\n## Gallery\n\n| | |\n|---|---|\n| ![Results pane](docs\u002Fimages\u002Fpane-results.png) | ![Trend pane](docs\u002Fimages\u002Fpane-trend.png) |\n| Results pane: every measurement with statistics, peaks beside it | Trend pane: two measurements over time |\n| ![Labels on the trace](docs\u002Fimages\u002Flabels.png) | ![Spectrum](docs\u002Fimages\u002Fspectrum.png) |\n| Measurements labelled on the trace | Spectrum view with its peak list |\n| ![Main screen](docs\u002Fimages\u002Fmain.png) | ![System menu](docs\u002Fimages\u002Fmenu-system.png) |\n| The main screen, 200 kHz from the built-in generator | System menu |\n| ![Auto set-up views](docs\u002Fimages\u002Fauto-bar.png) | ![Full screen](docs\u002Fimages\u002Ffull-screen.png) |\n| After Auto: a few periods, many periods, rising or falling edge | Full screen, the same button goes back |\n\n## Status\n\n| Area | State |\n|---|---|\n| Boot, cold boot, acquisition, trigger, roll and scan, touch, front panel, generator (sine, built-in Bode), self-calibration | run on a DHO924S |\n| Signed updates from the web page and the shell, kexec trial start, trial and confirmation, install over ADB | run on a DHO924S |\n| An update with another device tree, tried by kexec first (kexec-tools, from 0.1.7) | run on a DHO924S: 0.1.6 to 0.1.7 to 0.1.8 through the web page, with cold starts |\n| System > Graphics = GPU, JPEG live picture from the video encoder | run on a DHO924S, on the panel and with a 1920x1080 monitor in Mirror, Waveform and Layout |\n| Frequency counter in the FPGA, backlight, AC\u002FDC by a long press | run on a DHO924S (the counter with the built-in generator, 1.5 Hz to 9.9 MHz) |\n| Logic analyser with a PLA2216: lines, pulse widths, edge, pulse, pattern, duration and protocol trigger, UART, SPI and I2C on the lines, roll, scan, whole deep records, CSV | run on a DHO924S, three lines (D0 to D2) driven; thresholds have no effect here, under stock neither |\n| Generator modulation (AM, FM, PM), deep memory, limits, web, MCP, VXI-11 | run on a DHO924S |\n| HDMI output | run on a DHO924S |\n| Automatic rollback of a bad update | tests on the host only |\n| USB install without opening the scope | run on a DHO924S with a modified stock system: dry run, first install, run again |\n| Generator noise, system info, bandwidth test | tests on the host only |\n| Bode with a free-running sweep | tests on the host only (synthetic sweeps); the scan path for sweeps above about 0.9 s is not yet tried on a unit |\n| Bode with a generator on USB (USBTMC), UNI-T UTG900 preset | tests on the host only (a simulated USBTMC device); no generator on USB tried yet |\n| USB storage stick, 10:1 probe | run on a DHO924S |\n| WLAN | driver, firmware and scan run on a DHO924S with an RTL8188EU stick; joining a network tested on simulated radios only |\n| Overclocking (System > Overclock) | run on a DHO924S: every step boots, but above 1.25 GHz records at the full rate lose samples; the default stays 1.25 GHz |\n| Spectrum, eye and jitter, results and trend panes, measurement labels, Auto | run on a DHO924S with the generator and an RF source |\n| Protocol decoders | tested with simulated signals; only some with real signals |\n| All models other than the DHO924S | never run |\n| Hardware averaging, 800 ps\u002Fdiv | not implemented |\n\nThe technical documents in [docs\u002F](docs\u002FREADME.md) say for each topic whether it is verified on the unit.\n\nKnown limits:\n\n- Generator DC level: the output's middle jumps by about 85 mV where the generator switches its range at 2 Vpp.\n  Whether the stock system shows the same is not known yet.\n- High resolution only gains where the record has more samples than the screen has points.\n- Logic analyser: D3 to D15 were not driven with a signal yet.\n- WLAN: joining a network has not been tried on the unit.\n\n## Getting started\n\nThe guides are in the [wiki](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki):\n\n| Guide | What it covers |\n|---|---|\n| [Installation](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FInstallation) | from a USB stick without opening the scope, on a second card, or over ADB; the files of a release; how OOS starts |\n| [First Steps](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FFirst-Steps) | the first start, the screen, Auto, windows and views, text size, saving, date and time, self-calibration |\n| [Measurements and Analysers](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FMeasurements-and-Analysers) | measurements, counter, panes, spectrum, eye, Bode, overclocking |\n| [Generator](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FGenerator), [Logic Analyser](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FLogic-Analyser) | the built-in generator of S models, the PLA2216 probe |\n| [Remote Control](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FRemote-Control), [SCPI and VXI-11](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FSCPI-and-VXI-11) | web remote, network, WLAN, every remote interface and command |\n| [Updates and Going Back](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FUpdates-and-Going-Back) | new versions, rollback, returning to stock |\n| [Troubleshooting](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FTroubleshooting) | what to do when something goes wrong |\n| [Building](https:\u002F\u002Fgithub.com\u002Fdekajoule\u002Foos\u002Fwiki\u002FBuilding) | building the image on macOS or Linux, trying OOS on a computer without a scope |\n\nIn one-shot mode, the default after an install, the next power-on starts the stock system again. OOS never writes the\nFPGA flash, `\u002Frigol\u002Fdata`, or the `uboot`, `trust` and `parameter` partitions.\n\n## Repository layout\n\nThe folders of the tree and what each holds: [AGENTS.md](AGENTS.md), Layout of the tree. Besides them: `keys\u002F` (the\npublic keys trusted for updates and the community signing key), [CHANGELOG.md](CHANGELOG.md) (what changed between\nreleases), [docs\u002FREADME.md](docs\u002FREADME.md) (the index of the technical documentation) and\n[tools\u002FREADME.md](tools\u002FREADME.md) (the host tools, and which of them touch a scope).\n\n## Development\n\n[CONTRIBUTING.md](CONTRIBUTING.md) says how to build, check and test a change, and how it gets into main. Coding\nagents, and people new to the tree, start with [AGENTS.md](AGENTS.md); the hardware with the\n[hardware overview](https:\u002F\u002Fdekajoule.github.io\u002Foos\u002Fhardware\u002Foverview.html) and\n[docs\u002Farchitecture.md](docs\u002Farchitecture.md).\n\n## Licences\n\nOOS is free software under the GNU General Public License, version 2 or (at your option) any later version. See\n[LICENSE](LICENSE).\n\nThird-party parts keep their own licences. [THIRD-PARTY-LICENSES.md](THIRD-PARTY-LICENSES.md) lists every one of\nthem with its version, its licence, where its licence text is and which source files go with a release: the Linux\nkernel and the XDMA driver, BusyBox, glibc and GCC's runtime, Mesa, libdrm and zlib (the GPU helper,\n[gpu\u002FREADME.md](gpu\u002FREADME.md)), e2fsck, kexec, wpa_supplicant with libnl, nftables with libmnl and libnftnl, Dropbear,\nOpenSSH's `sftp-server`, musl, the Rust standard library, the Roboto font, the wireless regulatory database and the\nRTL8188EU firmware. An image built from this tree carries the licence texts and that list under `\u002Fetc\u002Flicenses`.\n\nEvery release carries the source archives of the binaries in its image next to the image. If you pass on an OOS\nimage, the GPL requires you to provide the corresponding source as well: pass those archives and this tree at the\nrelease's tag on with it, or point to the release.\n","OOS 是一个为 Rigol DHO800\u002FDHO900 系列示波器开发的开源替代操作系统，以 Linux 6.12 内核和 Rust 编写的原生示波应用为核心，支持从 SD 卡双系统启动，可随时回退至原厂固件。它提供多通道波形显示、频谱分析、眼图与抖动分析（TIE、浴盆曲线）、逻辑分析仪集成等专业功能，并基于 Rockchip 平台与 FPGA PCIe 数据通路实现硬件加速。项目处于实验阶段，未校准，不适用于计量级测量，主要面向嵌入式开发者、仪器爱好者及需要深度定制示波器功能的技术用户。",2,"2026-11-24 04:50:41","CREATED_QUERY"]