qemu-rtd2841 v1.2.0 minor

v1.2.0 — Android 9 Pie Userspace, Software EGL/GLES2 & Graphics Pipeline

by Ruben ·

High-definition 1080p smart TV dashboard rendered on the emulated Realtek RTD2841 simple-framebuffer

Realtek RTD2841 Smart TV SoC QEMU model booting 4-core Linux and Android 9

#c #devtools #embedded #android #linux #macos #gpl-2.0 #ai-assisted

Changelog

Realtek RTD2841 QEMU Model v1.2.0 Release

I am pleased to release v1.2.0 of the Realtek RTD2841 (RTK284x) QEMU machine model and emulator.

This release delivers the complete Android 9 Pie userspace foundation, software EGL 1.4 & OpenGL ES 2.0 driver stack, custom PID 1 userspace initialization, and hardware display pipeline validation.


What's New in v1.2.0
1. Software Compatibility EGL 1.4 & OpenGL ES 2.0 Driver
  • Sanitized Shader Validation: Integrated two-pass comment-stripping shader compiler validator (tools/software_egl_gles2.c), strictly isolating GLSL keywords, preventing false rejections on commented source, and enforcing proper semicolon termination and pipeline stage segregation.
  • Pure AArch32 Kernel Driver Integration: Direct SWI Linux system calls (sys_mmap2, sys_munmap) with libc fallbacks for host diagnostic verification.
  • ARM32 Shared Library Target: Packaged and validated build/phase3/libGLES_software.so supporting SurfaceFlinger software rasterization paths.
2. Android 9 Pie Userspace Init & Foundation
  • Lightweight PID 1 (tools/mini_init.c): Zero-libc AArch32 init supervisor managing early /dev, /proc, /sys pseudo-filesystems, mount points, and essential socket daemons.
  • Android Property System: In-memory property workspace compatible with Bionic libc dynamic lookups and setprop/getprop IPC.
  • Binder & ServiceManager Activation: Emulated Android RPC IPC infrastructure for userspace service discovery and registration.
3. Hardware Composer & IR Input Subsystems
  • Composer & Framebuffer Probe (tests/test_fbdev_hwc.c): Zero-dependency AArch32 diagnostic validating 1080p double-buffered DMA rendering against emulated simple-framebuffer apertures.
  • Realtek IR Controller Protocol (qemu-model/hw/char/rtd2841_ir.c): Support for hardware scan-code injection, interrupt delivery, and NEC protocol decoding for remote control emulation.
4. Automated Milestone Test Suite
  • Comprehensive verification suites (tests/run_milestone1_test.py through tests/run_milestone6_test.py) validating init, property services, HAL discovery, graphics rendering, and multi-core CPU synchronization.

Links

← Back to the feed