Commit Graph
20 Commits
Author SHA1 Message Date
daniel 8c09ccef66 feat: add support for aarch64 timer/interrupts, port MontaukOS userspace 2026-10-25 08:27:09 +01:00
daniel 1bae77ec84 feat: make kernel architecture-agnostic; primitive work on arm port 2026-10-24 21:25:18 +02:00
daniel 5cd5c2e6be fix: move RTL-SDR to userspace 2026-08-29 10:02:32 +02:00
daniel b1c55073c7 fix: kernel concurrency, interrupt context, and user VA safety 2026-08-01 15:43:38 +02:00
daniel 18122136dd fix: improve Bluetooth reliability 2026-07-31 18:42:48 +02:00
danielandClaude Fable 5 77940cf896 feat: fully async Intel BT firmware bring-up + HCI multi-packet event reassembly
The BT firmware download now runs from the idle loop after boot (zero boot
stall), completing the async goal.  What made every earlier deferral attempt
fail was a months-latent HCI-layer bug, not the deferred environment:

  WaitCommandComplete returned after the FIRST USB packet of an event, but
  events larger than the 64-byte interrupt max-packet (like the AX211's
  96-byte FC05 TLV version response) span several packets.  Sending the next
  command while the tail of the previous response was still in flight wedges
  the AX211 bootloader into permanently ignoring commands.  Boot-time flanterm
  rendering added milliseconds between commands and accidentally paced the
  protocol past the race -- which is why the synchronous bring-up always
  worked and every log-suppressed (deferred) bring-up went mute at FC05 #2,
  regardless of scheduling/MSI/xHCI fixes.

  Fix: reassemble multi-packet Command Complete/Status events in the
  transfer callback; the mailbox is marked ready only when the declared
  event length has fully arrived.  This inherently paces command flow and,
  as a bonus, the TLV version read now sees the full response (sbe_type
  present -> ECDSA/RSA selection is no longer a guess).

Also: per-slot EP0 completion tracking in the xHCI (a waiting ControlTransfer
can no longer be released early by another device's EP0 completion).

Verified on the AX211: instant boot, background download, real BD_ADDR.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 12:31:30 +02:00
danielandClaude Fable 5 8bf3ceb457 wip: async BT firmware download attempt — DO NOT MERGE, breaks AX211 bring-up
Deferring the Intel BT firmware download off the boot path made the AX211
bootloader stop answering after the first FC05; even the final synchronous
revert freezes boot, so one of the 'neutral' fixes kept in this diff breaks
the bring-up on its own (candidates: BT-TRACE logging inside TransferCallback,
unconditional interrupt-IN re-queue after error completions on a halted EP,
xHCI interrupt-IN ZLP len fix interacting with HID, InPollContext owner
check).  Full history + next experiments in memory notes, 2026-07-05/06.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 15:46:06 +02:00
daniel daa17a325f fix: RTL-SDR bug fixes and accuracy improvements 2026-07-03 10:36:41 +02:00
daniel 108538f60c feat: add RTL-SDR, R820t drivers, radio APIs, and sdr demo tool 2026-06-22 11:49:16 +02:00
daniel e0c8787727 feat: A2DP bluetooth audio working 2026-06-10 16:00:42 +02:00
daniel 0f16785c9f feat: Intel BT firmware download, A2dp & Bluetooth audio progress 2026-06-03 18:05:17 +02:00
daniel 104b89d4ed feat: Xhci BIOS-to-OS handoff 2026-05-24 10:23:16 +02:00
daniel 52bbacb60b fix: USB mass storage polish 2026-05-18 17:53:10 +02:00
daniel c20579afd3 feat: support for USB mass storage devices, hotplugging 2026-05-18 17:47:12 +02:00
daniel 38b1f8a7ef feat: further kernel power and power optimizations 2026-04-21 20:51:12 +02:00
daniel 7d6f001659 feat: various power and thermal optimizations, fix Printers app regression 2026-04-20 16:00:52 +02:00
daniel 9f54e4957d feat: Intel HDA audio driver, audio streaming syscalls, userspace Music app, fixes and improvements, rudimentary Bluetooth support 2026-03-10 17:14:33 +01:00
daniel 5dded4bda0 feat: graphics/net PnP, keyboard driver improvements 2026-03-04 21:10:34 +01:00
daniel 887a61bf33 feat: Fix USB mouse support, GUI wkipedia app, icon refresh, file manager improvements, more 2026-02-20 11:33:06 +01:00
daniel 5810306e14 feat(kernel): Add USB devicde and keyboard/mouse support 2026-02-19 23:06:18 +01:00