daniel 37f5ff892c feat: fast Intel BT firmware download (bulk-pipelined payload, no timeout burns)
Two fixes, verified on the AX211 (8087:0033), ibt-1040-0041.sfi, 720 KB:

1. TryHeader waited 1500+2000 ms for secure-send results after the CSS and
   key/signature sends, but on success this controller stays SILENT until
   the end of the whole download (traced) -- both timeouts always burned in
   full.  A rejection arrives within milliseconds, so 250 ms windows lose
   nothing and save ~3 s per cold boot.

2. The payload now goes over the bulk OUT endpoint with up to 7 fragments
   in flight (the btusb bootloader path for 0xFC09), replacing ~2900
   synchronous 3-stage EP0 control transfers.  Headers stay on EP0; the
   ACL TX DMA ring is reused (no ACL header, no NOCP credit accounting).
   DrainBulkTx() ensures all bytes reach the controller before waiting for
   the download-complete result.

Also in this branch since main: IRQ-safe BT-TRACE ring (KernelLogStream in
TransferCallback deadlocked on the terminal Mutex from MSI context), xHCI
interrupt-IN ZLP length fix, always-re-arm of the BT event pipe,
InPollContext same-core owner check, TLV version read retry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 11:52:21 +02:00
2025-04-17 21:54:25 +02:00
2026-02-18 15:13:53 +01:00
2026-03-04 14:42:51 +01:00
2026-04-15 17:49:07 +02:00
2026-04-17 15:26:27 +02:00

The Montauk Operating System

MontaukOS is a hobbyist operating system written in modern C++. It runs on bare metal and supports various applications, including DOOM, a Wikipedia client, and standard desktop utilities.

MontaukOS screenshot

Features

  • Modern preemptive multitasking kernel
  • Multi-user userspace with desktop environment and command line
  • PCI-e support and drivers for Intel GPU and e100e Ethernet for graphics and networking on real hardware
  • ACPI support with AML interpreter, including S3 sleep and ACPI shutdown
  • Support for USB including input devices (keyboard/mouse), along with PS/2 input support
  • Support for Intel High Definition (HDA) audio devices
  • Userspace and kernel audio support
  • Support for (some) Intel Bluetooth devices, userspace Bluetooth management app
  • Support for the GPT partition table
  • VFS using numbered drive identifiers with support for ext2 and FAT32 filesystems
  • Support for AHCI and NVMe SSD drives
  • Support for UEFI Runtime Services, including power management calls (shutdown/reboot)
  • Customizable desktop environment with 12+ graphical apps, including a terminal emulator, file manager, Wikipedia client, weather app, DOOM, and more
  • Modern icon pack (Flat Remix) used in desktop environment
  • Support for TrueType font, JPEG image, and SVG icon rendering
  • Networking including TCP/IP stack, UDP, DNS, DHCP and TLS via BearSSL
  • Command-line IRC client
  • Live viewable kernel log from GUI
  • Mandelbrot set renderer
  • PDF viewer app with full support for text (inc. baked-in TrueType fonts) and some graphics
  • Userspace Music app with support for MP3 and WAV files
  • 2D game engine and demo game with fantasy tileset

Ideology

The goal of the MontaukOS project is to create a modern and unique operating system that runs on both emulators and on real hardware. The kernel and included userspace applications are written in modern C++.

History and methodology

Development started in early 2025, with the first published GitHub commit being on Feb 27, 2025. In early 2026, Claude Opus 4.6 began being used to accelerate development of the kernel and userspace.

S
Description
The Montauk Operating System
Readme 279 MiB
Languages
C++ 50.7%
C 44.7%
HTML 2.9%
Makefile 0.9%
Roff 0.3%
Other 0.4%