Source code and upstream development
Where the code for each part of the system lives, what it implements, what it was tested on and how far it is from mainline. Detailed camera work is documented once, in the camera pipeline article.
As of · Linux 7.1.0 · MainPCB Rev. 1.1
Repositories
| Repository | Area | Branch | Licence | Description |
|---|---|---|---|---|
| dawndrums/dawnos | Image build | main | GPL-3.0 | Entry point for building a DawnOS image from source. Kernel and root-filesystem steps are marked work in progress. |
| dawndrums/build | Image build | dawnos | — | Build scripts (branch dawnos); used via ./build/mk-uboot.sh divine-d.Referenced by the dawnos README; contents not yet reviewed for this page. |
| dawndrums/u-boot | Bootloader | dd-vendor-09.2026 | GPL-2.0+ | U-Boot tree for pending commits; fork of radxa/u-boot (vendor-derived). |
| dawndrums/rkbin | Bootloader | — | — | Rockchip binary boot components (DDR init, loaders). Binary-only.Referenced by the dawnos README; contents not yet reviewed for this page. |
| dawndrums/divine | Hardware | — | — | Divine D. MainPCB assets.Referenced by the dawnos README; contents not yet reviewed for this page. |
| Kernel and device treeNot yet published | Kernel | — | GPL-2.0 | Linux 7.1.0 with Dawndrums patches and the Divine D. device tree. |
| libcamera pipeline and IPANot yet published | Camera | — | — | Pipeline handler and IPA (autofocus, tuning) changes. |
| divine-cameraNot yet published | Camera | — | — | Camera application, version 0.1.0, based on KDE Plasma Camera. |
| dd-audiodNot yet published | Audio | — | — | Routes modem call audio (PCM) to and from PipeWire. |
Development areas
Problem, implementation, status
Kernel and device tree
- Problem
- Run Divine D. on a mainline-based kernel instead of the vendor kernel.
- Implementation
- Linux 7.1.0 with Dawndrums patches and the Divine D. device tree. Media paths use mainline kernel interfaces.
- Repositories
- Kernel and device tree — Not yet published
- Tested on
- Development (2026-11-16)
- Upstream
- Divine D. device tree and patches not yet submitted upstream.
Bootloader and boot stages
- Problem
- Bring up DDR and load the kernel from eMMC or microSD on a board without SPI flash.
- Implementation
- Vendor-derived U-Boot (branch dd-vendor-09.2026) with Rockchip rkbin binaries; idbloader.img at sector 64, u-boot.itb at sector 16384.
- Repositories
- dawndrums/u-boot (dd-vendor-09.2026)dawndrums/rkbindawndrums/build (dawnos)dawndrums/dawnos (main)
- Tested on
- Development (2026-11-16)
- Upstream
- Vendor tree. Mainline U-Boot support for Divine D. not started.
Camera pipeline
- Problem
- A complete camera stack for the IMX586 on mainline interfaces: capture, ISP processing, autofocus and recording.
- Implementation
- Kernel sensor and actuator support, libcamera pipeline handler and IPA, divine-camera application. The camera pipeline article is the detailed reference.
- Repositories
- Kernel and device tree — Not yet publishedlibcamera pipeline and IPA — Not yet publisheddivine-camera — Not yet published
- Tested on
- Development (2026-11-16)
- Upstream
- Fully open source: kernel drivers, RKISP2, libcamera pipeline and IPA, tuning files, divine-camera. No proprietary blobs. Upstream submission pending.
Detailed reference: camera pipeline article.
DawnOS image and packages
- Problem
- Reproducible images for Divine D.
- Implementation
- dawndrums/dawnos and dawndrums/build. Bootloader build documented; kernel and root filesystem steps in progress.
- Repositories
- dawndrums/dawnos (main)dawndrums/build (dawnos)
- Tested on
- Not yet recorded
- Upstream
- Not applicable.
Audio and call audio
- Problem
- Route modem call audio and device audio through PipeWire.
- Implementation
- dd-audiod bridges the modem PCM interface and PipeWire.
- Repositories
- dd-audiod — Not yet published
- Tested on
- Not yet recorded
- Upstream
- Not applicable (userspace daemon).
Hardware design
- Problem
- Board and module design for Divine D.
- Implementation
- 10-layer HDI main board, Rev. 1.1 (03.2026).
- Repositories
- dawndrums/divine
- Tested on
- Not yet recorded
- Upstream
- Not applicable.
Roadmap
Work in progress
- ImplementingHardware video encoding on mainline V4L2 interfaces
- ImplementingAutofocus: PDAF, CDAF and hybrid
- ImplementingKernel and root-filesystem steps in the DawnOS image build
- ImplementingFirst DawnOS release (1.0)
Architecture
Hardware and software structure
Radio modules independent processor · memory · firmware
- Cellularkill switchSIM7600G-H-M.2CPURAMFWUSB (M.2)
- GNSSkill switchLG77L (C)CPURAMUART
- Wi-Fi 6kill switchAP6275P (BCM43752)CPURAMFWPCIe
- Bluetoothkill switchAP6275P (BCM43752)CPURAMFWUART / PCM
- LoRaRAK3172 (STM32WL)CPURAMOPEN FWUART
Application processor
On-board peripherals
- Display5.5″ AMOLED 1080 × 1920 · MIPI DSI · Goodix touch
- Cameraskill switchIMX586 48 MP rear · IMX378 12 MP front · MIPI CSI
- Audiokill switchES8388 codec · CS43131 DAC · 2 amplifiers · dual microphones
- PowerRK806 PMIC · BQ25890 charger · MAX17048 gauge · USB-C PD · under-voltage monitor
- SensorsICM-42670-P IMU · STK3310 light/proximity · haptics · IR LED
- I/OUSB-C · Micro HDMI · 3.5 mm · 18-pin pogo · Maskrom, UART, JTAG/SWD
- No access to main memory
- PCIe: DMA-capable, isolated by the IOMMU (configuration to be documented)
- kill switchHardware switch
Divine D. is a distributed design. Cellular, GNSS, Wi-Fi, Bluetooth and LoRa are each a separate module with its own processor and memory, connected to the RK3588S over a defined peripheral link. None of them shares the RK3588S main memory.
Hardware kill switches for the cellular modem, GNSS, Wi-Fi/Bluetooth, the cameras and the microphones.
Module firmware: firmware inventory.