- hardware decoded from the stock DTB (panel, keys, battery, gamepad, WiFi, power, storage layout) and the 16 MiB boot area - EmuELEC 4.7 / Linux 5.10.160 inventory, partition map, extlinux boot chain - patched SYSTEM with dropbear SSH, userspace WireGuard, jq, dtach, iperf3, tcpdump; build script, units, authorized keys, install/rollback docs - EmuELEC OTA tar format and the initramfs apply logic, incl. the FAT32 EEROMS:/.update bind mount - upstream EmuELEC vs rk3128-cfw vs mainline 6.6 assessment and driver gaps - SV6160/RK915 WiFi: vendor module metadata, firmware hashes, clean-room mainline driver requirements, Codeberg DNS workaround - tools: dump/partition extractors, FDT dumper, Kagi share exporter
4.3 KiB
G90 hardware, decoded from the stock device tree
All values below come from rk3128-evb-ddr3-v10-linux.dtb extracted from the
FAT boot partition, plus the boot area and the squashfs. Full text dump:
g90.dts.txt. The file is named after the Rockchip EVB it
was derived from, but it is the G90's real board description.
Boot area (first 16 MiB of the card)
| Offset | Contents |
|---|---|
| 0 | MBR, partition table |
| 32 KiB | idbloader (DDR init + miniloader) |
| 8 MiB | uboot.img (LOADER header), distro-boot u-boot |
| 12 MiB | trust.img (TOS header), OP-TEE |
U-Boot environment strings show distro_bootcmd, boot_extlinux=sysboot …,
so the bootloader reads extlinux/extlinux.conf from partition 1. No
signature verification anywhere; KERNEL.MD5 and SYSTEM.MD5 on p1 are 48
bytes of zeros.
Partition table
| # | Start sector | Size | Type | Label |
|---|---|---|---|---|
| 1 | 32768 | 1,572,864 s (768 MiB) | 0x0c FAT16, bootable | EMUELEC |
| 2 | 1,605,632 | 1,048,576 s (512 MiB) | 0x82 swap | — |
| 3 | 2,654,208 | 9,928,704 s (4,848 MiB) | 0x83 ext4 | STORAGE |
| 4 | 12,582,912 | 89,817,088 s (42.8 GiB) | 0x0c FAT32 | EEROMS |
Partitions are contiguous; p4 begins exactly at 6 GiB.
SoC / memory
- RK3128, 4x Cortex-A7, Mali-400 MP2 (
rockchip,rk3128-mali+arm,mali-400). - DDR3,
ddr3_speed_bin = 0x15,ddr_timingnode present. - CPU OPPs 216/408/600/696/816/1008/1200 MHz; GPU OPPs 200–480 MHz.
vdd_armandvdd_logicare PWM regulators (pwm1,pwm2), 0.75–1.5 V, init 1.1 V;vcc_sysfixed 3.0 V.
Display
- 4-lane MIPI-DSI via
rockchip,rk3128-mipi-dsi+rockchip,rk3128-dsi-dphy. - Panel:
simple-panel-dsi, 600x1024 native (portrait panel, rotated by ES), 153 mm x 85 mm per DT. - Timing: pixel clock 43,200,000 Hz, hfp 40 / hsync 20 / hbp 20,
vfp 24 / vsync 4 / vbp 8,
dsi,flags = 0xa03,dsi,format = 0, 4 lanes. - Init: ~40 DCS commands in
panel-init-sequence(full sequence in the dts dump). - Delays: prepare/reset/init 20 ms, enable 120 ms, disable/unprepare 20 ms,
reset GPIO
gpio024 (active low). - Backlight:
pwm-backlighton PWM0, 25 kHz, 256 levels, default 128. - Panel rail:
vcc3v3_lcd_n,gpio112, active low, boot-on.
Input
Volume/menu keys (adc-keys, SARADC channel 1, poll 100 ms):
| Key | Linux code | Threshold |
|---|---|---|
| volume up | 115 | 20,000 µV |
| volume down | 114 | 549,999 µV |
| menu | 139 | 1,240,000 µV |
| esc | 1 | 1,980,000 µV |
| key-up threshold | — | 3,300,000 µV |
Gamepad (micro,gamepad, vendor driver):
- 4 SARADC axes: left X/Y (ch 0/1), right X/Y (ch 2/3), threshold 3300 µV.
gpio-key-num = 18GPIO buttons, 30 ms poll, 100 ms debounce.- Two "rocker" GPIOs:
gpio09 andgpio012. - RGB LED: red
gpio321, greengpio17, bluegpio320.
Power and battery
rk30-adc-battery,is_dc_charge = 1, DC-detectgpio011.- Charge LEDs: red
gpio226, bluegpio227. bat_table(28 entries, from the DT):0 0 0 0 200 300 3400 3440 3480 3510 3590 3650 3710 3790 3880 3950 4020 3480 3810 3875 3915 3951 3991 4052 4114 4144 4172 4219pwr_ctrl: shutdown-detectgpio08, power-holdgpio025.
Audio
rockchip,rk3128-codec, I2S, speaker amp enablegpio030,spk_volume 15,hp_volume 15,spk-mute-delay 200 ms,hp-mute-delay 100 ms.- Headphone detect disabled in the DT (
codec_hp_det = 0); SPDIF present but unused.
Storage and WiFi
- eMMC:
dwmmc@1021c000, 8-bit, non-removable. - SD:
dwmmc@10214000, 4-bit,vmmc-supply = vcc_sdmmc(gpio114). - SDIO:
dwmmc@10218000, 4-bit,supports-sdio,supports-rk912,mmc-pwrseq = sdio-pwrseq(resetgpio00 +gpio221). wireless-wlan:wifi_chip_type = "rk915", host-wake IRQgpio317.- Firmware in the rootfs:
rk915_fw.bin(48,056 B),rk915_patch.bin(16,716 B).
Thermal / misc
tsadcwith two trip points, PWM fan not present.- RTC
hym8563on I2C0 at 0x51 (not populated on every batch?). ramoopsat 0x62e00000 (0xf0000) and a 24 MiB CMA region at 0x63000000.- UART console:
ttyFIQ0@ 115200 on UART1 (perextlinux.conf).
What differs from the reference EVB
The EVB base has HDMI and Ethernet; the G90 adds the DSI panel, adc-keys,
rk30-adc-battery, pwr_ctrl, the SDIO WiFi, the gamepad node, the RGB LED,
and the PWM regulators. HDMI is left disaled (sic) in the stock DT.