HK Aura DM870 DeepWiki 100% Named • 18,392 + 41
Harman Kardon Aura (1st-Gen) • BridgeCo DM870-CE2 ("Sulu") • ARM926EJ-S (ARMv5TE) • Live Ghidra Sync

DM870 AirPlay Firmware DeepWiki

Complete reverse-engineered architectural reference for dm870_airplay.bin (3.88 MiB SDRAM app) and dm870_stage2_loader.bin (8 KiB TCM loader) — running BridgeCo's KnOS RTOS, 1,435-class C++ BCO service framework (6,333 class-bound virtual methods in Ghidra), AirPlay/RAOP, Spotify Connect, DLNA/UPnP, Sulu Wi-Fi, and multi-codec audio DSP.

18,392 / 18,392
App Functions Named (100%, 0 undef)
1,435 Classes
1,308 Vtables • 2,740 Labels
6,333
Ghidra Class-Bound Methods
41 / 41
Stage-2 TCM Loader (0x0040DA00)

01 System Architecture Overview

Inside the Harman Kardon Aura, the BridgeCo DM870-CE2 (Sulu) is a triple-core network-audio SoC (240 MHz ARM926EJ-S + 160 MHz SIMD Audio Engine + 160 MHz Secure Co-processor, module CX870-3IB) with 8 MiB external MX29GL640E NOR flash, 16 MiB SDRAM, 64 KiB unified on-chip SRAM, integrated 802.11b/g MAC/baseband (T6201 RF) (SuluWLAN), and I2S audio output feeding the STM32-managed AK7742 DSP (STM32 Wiki • BL1 Wiki).

AirPlay / RAOP AirTunes • mDNS • FairPlay ALAC/AAC • RTSP • Plist UPnP / DLNA SSDP • SOAP • GENA • DIDL AVTransport • RenderingCtrl Streaming Services Spotify • QPlay • vTuner Pandora • Shoutcast • SSL Control & Admin Telnet :8000 • HTTP WebCfg 164 ShellCmd • HTTP-MM BridgeCo C++ Middleware (1,435 RTTI Classes • 1,308 Vtables • 6,333 Class Methods) IBCOInterface (199) • Functor (187) • NapManager HSM • SystemDataService (SDS/CNE) • IUIModeHandler Audio StreamProcessors: AAC / ALAC / MP3 / FLAC / Vorbis / WMA / WAVE / LPCM / AIFF → NapAvPortOutput SuluWLAN & TCP/IP Stack 802.11b/g • WPA2 • WPS • Setup AP (HK_Aura*****) + DHCP • Antenna Diversity ([ANTDIV]) • AES / DES / SHA1 / MD5 / TLS KnOS RTOS & DM870 HAL SRAM 0x00400000 (64 KiB) • IRQ 0x00400040 • Preemptive Threads & Timers • EMC NOR/SDRAM + FlashDriver • Audio DMA + TGen AV PLL → I2S STM32F105 Host Bridge SPI RemoteReg (LAC) + I2S Out • SPIRegisterTransportLayer • 67 RemoteRegisterCallback • SuluUSB + PersParam + FireCast
Figure 1 — BridgeCo DM870-CE2 ("Sulu") layered software & hardware architecture

Codebase Composition (18,392 Functions in dm870_airplay.bin)

Networking, HTTP & TLS/Crypto
3,325
Utility & Vtable Stubs
2,673
BridgeCo C++ Core (BCO/HSM/SDS)
2,392
KnOS RTOS, HAL & Host Bridge
2,041
Audio Pipeline & Codecs
1,970
UI Framework & Resources
1,290
Wi-Fi (Sulu WLAN / WPA / DHCP)
1,217
UPnP / DLNA / SOAP
1,182
AirPlay, RAOP & mDNS
797
Streaming Services (Spotify/Media)
646
Telnet Shell, CLI & Logging
439
ARM RVCT Runtime & libc
420

02 Two-Stage Boot Chain & Runtime Memory Map

NOR partition 0x1C0000..0x5B0000 (CRC-32 0xCDC12327, build 20150804070002) holds the 8 KiB Stage-2 Loader (dm870_stage2_loader.bin @ on-chip SRAM 0x0040DA00) and the 3.88 MiB main application (dm870_airplay.bin @ SDRAM 0x60008000, Fletcher-32 0xAFB432F9).

Memory BlockAddress RangeSizeOrigin & Role
TCM_CODE0x00400000 – 0x0040314712.3 KiBCopied from 0x603E601C. ARM IRQ dispatcher (0x00400040), RTOS timer queues, audio DMA descriptors.
TCM_DATA0x00403148 – 0x004032F7432 BRVCT LZ77-decompressed from 0x603E9164. Hot IRQ/scheduler state.
TCM_BSS0x004032F8 – 0x0040408F3.4 KiBZeroed by __scatterload_zeroinit. Fast IRQ handler tables.
TCM_STACK_ID0x00404090 – 0x0040FFFF47.9 KiBBoot/IRQ stacks (SP 0x0040FA00), Stage-2 slot (0x0040DA00), device ID byte 0x0040FFFF.
SDRAM_LOW_BSS0x60000000 – 0x600047FF18 KiBLow SDRAM zero-initialized region.
SDRAM_CODE (ram)0x60008000 – 0x603E91733.88 MiBLoaded dm870_airplay.bin: ARM/Thumb code, 1,435 RTTI typeinfo, 1,308 vtables, compressed init data.
SDRAM_DATA0x60418000 – 0x6041F15B28.3 KiBRVCT LZ77-decompressed from 0x603E1E84. Global C++ singletons & service tables.
SDRAM_BSS0x6041F15C – 0x60472B97334.6 KiBStatic zero-initialized globals, sockets, audio buffers, KnOS state; followed by SDRAM heap.

03 Reconstructed C++ Class Hierarchy & BridgeCo Core

Built with ARM RVCT C++ with intact Itanium-ABI RTTI (0x603D03FC / 0x603D040C / 0x603D041C): 1,435 classes (218 root, 1,104 single, 113 multiple inheritance), 1,308 vtables (1,305 applied in Ghidra), and 6,333 class-bound methods (`6,243` typed with `ClassName *this`).

Root Base ClassDescendantsRole in BridgeCo Firmware
IBCOInterface199Root COM-style service interface (IBCOService, INapManager, IUPnPModule, IWlControlService, IGenaService, ISpotifyService).
Functor187Type-safe callback closures (MemberFunctor0/1/2, SynchMemberFunctor, FreeFunctor).
ShellCmd164Telnet/serial CLI commands (PersParamShell, SysStreamStatCommand, WLAN/DMA/AVE tools).
IObservable / IObserver83 / 26Publish-subscribe change notifications (NestedObserver<T, Key>) for SDS, Wi-Fi, PLL, UI.
RemoteRegisterCallback67SPI RemoteReg handlers bridging DM870 subsystems to STM32F105.
BCOServiceHandle61Smart runtime service lookup handles (TBCOServiceHandle<T>).
HSMTopState<Host>45+Hierarchical State Machines for NapManager (15), NapAvPortOutput (14), NapCore (10), ShellHSMHost.

04 Sulu Wi-Fi Driver, WPA/WPS & Networking

Native SuluWlanDevice (0x60131D10) with embedded wpa_supplicant (0x601BAF6C), WPA2-PSK/WPS (wlan_wps_pin_join @ 0x60214470), JBCONNECT Setup AP (HK_Aura***** @ 192.168.1.1 + DHCPServer @ 0x60077EC0), antenna diversity ([ANTDIV]), TLS/SSL (SSLClientServiceImpl), and ParaventHtContentHandler HTTP server.

05 AirPlay, RAOP Audio & Bonjour mDNS

AirPlayReceiverServerControl (0x6005DAAC), AirtunesProcessor (0x6003A87C), Bonjour/mDNS (_raop._tcp / _airplay._tcp), RTSP, binary/XML plist parser, FairPlay/RSA/AES audio decryption, album art serving, and on-chip SRAM TGen AV PLL Observer (0x004012B8) sample-clock drift locking.

06 UPnP / DLNA Renderer & Streaming Services

Full DLNA Digital Media Renderer (UPnPMediaRenderer, SsdpWorker, GenaServiceImpl @ 0x6013B048, UpnpAvDidlReader) plus Spotify Connect (SpotifyServiceInit @ 0x600E4BD8, SpotifyService_selectAndPlay @ 0x600E76C8) and BridgeCo SDK modules for QPlay, Pandora, Lastfm, Sirius, Rhapsody, Shoutcast, Napster, Flickr, and DTCP/Cardea.

07 NAP Audio Engine, Codecs & DSP

NapManager (15-state HSM) feeds pluggable StreamProcessor/NapDecoder decoders — AAC/ALAC, MP3, FLAC, Ogg Vorbis, WMA, WAVE/LPCM/AIFF — into NapAvPortOutput and on-chip SRAM audio DMA (dma_setChannelDescriptor @ 0x00401040) driving I2S output to the AK7742 DSP.

08 STM32 Host Bridge (SPI RemoteReg / LAC)

SPIRegisterTransportLayer_process (0x601FCE74) frames variable-length SPI register packets dispatched across 67 RemoteRegisterCallback handlers (Wi-Fi on/off, IP profile, WPS, Wi-Fi test, rr:// OTA transfer) with NOR persistence via PersParam (0x601A6708) and FlashDriver.

09 Telnet Shell (:8000), WebCfg & Diagnostics

TelnetShellService (/dev/TelnetShell @ 0x601E2808, port 8000) dispatches 164 ShellCmd classes (`persparam`, `sys wlan test`, `drc`, `ave`, `sulu`, `ssdp`, `sds`, `rtp`); the embedded HTTP WebCfg server provides ASP configuration pages (`webCfg_configureProfileSettings`, `webCfg_configureAirplayPassword`, etc.).

10 Interactive Function, C++ Class & Ghidra Object Explorer

Browse all live Ghidra objects from dm870_airplay.bin and dm870_stage2_loader.bin: 18,392 app functions (6,333 class-bound), 1,435 C++ classes, 2,740 vtable & typeinfo labels, and 41 Stage-2 bootloader functions. Press / anywhere to search.

Loading...