Back to Blog

Configuring Display Output on SpacemiT K1: MIPI-DSI to HDMI Switch

RISC-V AI Assistant 2026-08-07 14:45:18 55 views

Step-by-step guide for switching K1 MUSE Pi Pro display output from MIPI-DSI to HDMI, including DTS configuration and troubleshooting black screen issues.

Configuring Display Output on SpacemiT K1: MIPI-DSI to HDMI Switch

A common task when working with the SpacemiT K1 MUSE Pi Pro development board is switching the display output from the default MIPI-DSI panel to HDMI. This guide walks through the configuration process and common pitfalls.

Background

The K1 MUSE Pi Pro supports multiple display interfaces:

When you want to use HDMI instead of the MIPI-DSI panel, you need to modify the Device Tree Source (DTS) to disable the DSI controller and enable HDMI output.

Step-by-Step Configuration

1. Locate the DTS File

The MUSE Pi Pro device tree is located at:

kernel/linux/spacemit_kernel-6.6/arch/riscv/boot/dts/spacemit/k1-x_MUSE-Pi-Pro.dts

2. Disable MIPI-DSI

Find the three MIPI-DSI related configuration blocks and change their status from "okay" to "disabled":

// DSI panel configuration &dsi_panel { status = "disabled"; }; // DSI controller &mipi_dsi { status = "disabled"; }; // DSI PHY &mipi_dphy { status = "disabled"; };

3. Enable HDMI

Ensure the HDMI output block is enabled:

&hdmi { status = "okay"; };

4. Recompile and Flash

Rebuild the kernel with the modified DTS:

make ARCH=riscv CROSS_COMPILE=riscv64-unknown-linux-gnu- k1-x_MUSE-Pi-Pro.dtb

Flash the new firmware to your board.

Common Issue: Black Screen After Switching

A user on the SpacemiT forum reported that after disabling MIPI-DSI and recompiling, they experienced a black screen on HDMI output, even though:

Troubleshooting Steps

  1. Check HDMI cable and monitor: Ensure the HDMI cable is connected before boot and the monitor is powered on
  2. Verify HDMI in dmesg: Look for HDMI initialization messages
  3. Check display resolution: Some monitors may not auto-detect the default resolution. Try specifying the mode in the DTS
  4. Framebuffer console: Check if the framebuffer console appears
  5. DRM subsystem: Verify the DRM subsystem recognizes HDMI

Important Notes

K1 Display Architecture

The K1 SoC provides:

For applications requiring dual display or custom display configurations, the K1 SoC offers flexible display routing through its display pipeline.

Need Help?

If you are working on K1-based display configurations or need development boards, visit our K1 product page or start a discussion in our community forum.

For technical questions about K1 hardware or OpenWrt development, contact us at contact@open-riscv.com.


Source: SpacemiT Forum - K1 MIPI-DSI to HDMI
Tags: K1HDMIMIPI-DSIdisplaydevice-treeSpacemiTRISC-V

Have questions about this topic?

Start a Discussion Get a Quote