Repository navigation
v0.1.0 — first release
First release of peek-carthing.
What's in this release
| file | what |
|---|---|
peek_mmio.ko |
Pre-built kernel module, already patched with the stock-kernel module_layout CRC. Drop straight onto a Car Thing running ADB-enabled firmware (kernel 4.9.113) and insmod. |
peek-collect.py |
Userspace JSON aggregator. Walks /proc + /sys + i2c-tools + DRM debugfs, loads the kmod, parses its dmesg dump with decoded register fields, emits one JSON document on stdout. |
Requirements
A Car Thing running ADB-enabled firmware. ADB isn't on by default on
retail units — it's a community firmware mod, applied with the usual
reflashing tools.
Quick run
gh release download --repo ThingLabsOSS/peek-carthing --pattern '*.ko' --pattern '*.py' v0.1.0
adb push peek_mmio.ko peek-collect.py /tmp/
adb shell 'python3 /tmp/peek-collect.py > /tmp/hwinfo.json'
adb pull /tmp/hwinfo.jsonFive seconds end-to-end.
What you get
28 MMIO sections decoded into typed JSON fields including panel timing,
MIPI DPHY bias triplet, Mali GPU ID, live PDM mic ringbuffer pointers,
eMMC bus config, and DDR per-byte-lane training values. Plus sysfs walks
(thermal zones, SARADC, I2C survey, DRM state, DTB walk, processes,
modules, block devices, USB, network). Total JSON ~275 KB.
See README.md
for full instructions including build-from-source against
JoeyEamigh/spotify-kernel
or spsgsb/kernel-common.