+---------------------------------------------------------------+
| Host OS (Linux / Android) |
| ├─ Kernel with MIU driver (memory controller) |
| ├─ Shiromine SDK (VPU driver, libhevc, sample apps) |
| └─ User‑space app (ffmpeg, GStreamer, or custom player) |
| |
| +----------------------+ +----------------------------+ |
| | ADN396 SoC | | External DRAM (DDR4/LPDDR4) | |
| | ├─ CPU cores | | (accessed via MIU) | |
| | ├─ HW HEVC engine | +----------------------------+ |
| | └─ HDMI / LVDS out | |
| +----------------------+ |
| |
| +-------------------+ +-------------------------------+ |
| | Fengmiu Firmware | | Bai board‑level I/O (HDMI) | |
| +-------------------+ +-------------------------------+ |
+---------------------------------------------------------------+
# Check that the VPU/HEVC character device exists
ls -l /dev/hevc0
# Expected output: crw-rw---- 1 root video 250, 0 Apr 11 12:34 /dev/hevc0
# Load the module manually if it isn’t auto‑loaded
sudo modprobe vpu_adn396 # module name may differ; consult dmesg
dmesg | grep -i vpu
If the driver reports MIU: initialized and HEVC engine ready, you’re good to go.
| Item | Recommended version / notes |
|------|-----------------------------|
| Host PC | Linux (Ubuntu 22.04 LTS or newer) – needed for cross‑compilation and adb/scp. |
| Toolchain | GCC 12‑arm‑none‑eabi (or the vendor‑supplied “ADI‑Toolchain”). |
| Serial console | 115200 8N1 (UART0) to view boot logs. |
| Power supply | 5 V ≥ 2 A, clean rail (especially for high‑speed HDMI). |
| SD card / eMMC | Minimum 4 GB, formatted as ext4 for the rootfs. | adn396 miu shiromine bai fengmiu fhdhevc work
# Place a 1080p HEVC test clip on the board (scp or USB)
scp 1080p_test.hevc root@192.168.1.10:/tmp/
# Run the SDK’s decoder test
hevc_decode -i /tmp/1080p_test.hevc -o /dev/fb0