20250602在荣品的PRO-RK3566开发板的Android13下打开HDMI显示

20250602在荣品的PRO-RK3566开发板的Android13下打开HDMI显示

2025/6/2 16:20

缘起:貌似荣品的PRO-RK3566开发板的Android13默认关闭了HDMI显示。

据说:荣品确认RK3566的GPU比较弱,同时开【MIPI接口的】LCD屏显示和HDMI显示容易出现异常。

更具经验与这两个DTS有关:

Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk356x\pro-rk3566.dts

Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk356x\rp-lcd-hdmi.dtsi

Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk356x\pro-rk3566.dts

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)

/*

* Copyright (c) 2020 Rockchip Electronics Co., Ltd.

*

*/

/dts-v1/;

//rk3566-evb1-ddr4-v10

//#include "rk3566-evb1-ddr4-v10.dtsi"

#include "rk3566-evb-rpdzkj-rk809-tcs4525.dtsi"

#include "../rk3568-android.dtsi"

/*************************camera***********************/

#include "rp-mipi-camera-gc2093-rk3566.dtsi"

/***************************************************/

/*************************adc key***********************/

#include "rp-adc-key.dtsi"

/***************************************************/

/*************************gmac***********************/

#include "rp-gmac1-m0-pro-rk3566.dtsi"

/***************************************************/

/*************************SATA***********************/

//#include "rk3568-sata1.dtsi"

#include "rk3568-sata2.dtsi"

/***************************************************/

/****************** SINGLE LCD ***************/

#include "pro-rk3566-single-lcd-gpio.dtsi"

/* HDMI */
//#include "rp-lcd-hdmi.dtsi"

/* MIPI0 */
//#include "rp-lcd-mipi0-5-720-1280-v2-boxTP.dtsi"
//#include "rp-lcd-mipi0-5.5-720-1280.dtsi"
//#include "rp-lcd-mipi0-5.5-720-1280-v2.dtsi"
//#include "rp-lcd-mipi0-5.5-1080-1920.dtsi"
//#include "rp-lcd-mipi0-7-1024-600.dtsi"
//#include "rp-lcd-mipi0-7-720-1280.dtsi"
#include "rp-lcd-mipi0-7-1200-1920.dtsi"

//#include "rp-lcd-mipi0-8-800-1280.dtsi"

//#include "rp-lcd-mipi0-8-800-1280-v2.dtsi"

//#include "rp-lcd-mipi0-8-800-1280-v3.dtsi"

//#include "rp-lcd-mipi0-8-1200-1920.dtsi"

//#include "rp-lcd-mipi0-10-800-1280.dtsi"

//#include "rp-lcd-mipi0-10-800-1280-v2.dtsi"

//#include "rp-lcd-mipi0-10-800-1280-v3.dtsi"

//#include "rp-lcd-mipi0-10-1920-1200.dtsi"

//#include "rp-lcd-mipi0-10-1920-1200-jc.dtsi"

修改为:

/****************** SINGLE LCD ***************/

#include "pro-rk3566-single-lcd-gpio.dtsi"

/* HDMI */
#include "rp-lcd-hdmi.dtsi"

/* MIPI0 */
//#include "rp-lcd-mipi0-5-720-1280-v2-boxTP.dtsi"
//#include "rp-lcd-mipi0-5.5-720-1280.dtsi"
//#include "rp-lcd-mipi0-5.5-720-1280-v2.dtsi"
//#include "rp-lcd-mipi0-5.5-1080-1920.dtsi"
//#include "rp-lcd-mipi0-7-1024-600.dtsi"
//#include "rp-lcd-mipi0-7-720-1280.dtsi"
#include "rp-lcd-mipi0-7-1200-1920.dtsi"

Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk356x\rp-lcd-hdmi.dtsi

/**

* enable hdmi dispaly

*/

&rpdzkj {

compatible = "rp_config";

user_version = "rpdzkj";

system_rotate = "0";

csi_camera_rotate = "0"; //all csi camera rotation //0 90 180 270 //no effect

csi_camera_facing = "0"; //0:auto 1:all front 2:all back //no effect

usb_camera_rotate = "0"; //all usb camera rotation //0 90 180 270

usb_camera_facing = "0"; //0:auto 1:all front 2:all back

lcd_density = "320";

language = "zh-CN"; //zh-CN //en-US

time_zone = "Asia/Shanghai"; //Asia/Shanghai = +8 //Europe/London = +1 //Africa/Casablanca = +0;

not_navigation_bar = "false";

not_status_bar = "false";

default_launcher = "true";

has_root = "true";

usb_not_permission = "true";

gps_use = "false";

gps_serial_port = "/dev/ttyS4";

primary_device = "DSI";
//extend_device = "HDMI-A";
extend_rotate = "0";//0 0//1 90 //2 180 //3 270
rotation_efull = "false";
extend_rotate_2 = "0";//0 0//1 90 //2 180 //3 270
rotation_efull_2 = "true";
extend_rotate_3 = "0";//0 0//1 90 //2 180 //3 270
rotation_efull_3 = "true";
home_apk = "null";
status = "okay";
};

&hdmi {
status = "disabled";
};

&hdmi_in_vp0 {
status = "disabled";
};

&hdmi_in_vp1 {
status = "disabled";
};

&hdmi_sound {
status = "disabled";
};

&i2s0_8ch {

status = "okay";

};

&hdmi {

rockchip,phy-table =

<92812500 0x8009 0x0000 0x0270>,

<165000000 0x800b 0x0000 0x026d>,

<185625000 0x800b 0x0000 0x01ed>,

<297000000 0x800b 0x0000 0x01ad>,

<594000000 0x8029 0x0000 0x0088>,

<000000000 0x0000 0x0000 0x0000>;

};

修改为:

/**

* enable hdmi dispaly

*/

&rpdzkj {

compatible = "rp_config";

user_version = "rpdzkj";

system_rotate = "0";

csi_camera_rotate = "0"; //all csi camera rotation //0 90 180 270 //no effect

csi_camera_facing = "0"; //0:auto 1:all front 2:all back //no effect

usb_camera_rotate = "0"; //all usb camera rotation //0 90 180 270

usb_camera_facing = "0"; //0:auto 1:all front 2:all back

lcd_density = "320";

language = "zh-CN"; //zh-CN //en-US

time_zone = "Asia/Shanghai"; //Asia/Shanghai = +8 //Europe/London = +1 //Africa/Casablanca = +0;

not_navigation_bar = "false";

not_status_bar = "false";

default_launcher = "true";

has_root = "true";

usb_not_permission = "true";

gps_use = "false";

gps_serial_port = "/dev/ttyS4";

primary_device = "DSI";
extend_device = "HDMI-A";
extend_rotate = "0";//0 0//1 90 //2 180 //3 270
rotation_efull = "false";
extend_rotate_2 = "0";//0 0//1 90 //2 180 //3 270
rotation_efull_2 = "true";
extend_rotate_3 = "0";//0 0//1 90 //2 180 //3 270
rotation_efull_3 = "true";
home_apk = "null";
status = "okay";
};

&hdmi {
status = "okay";
};

&hdmi_in_vp0 {
status = "okay";
};

&hdmi_in_vp1 {
status = "disabled";
};

&hdmi_sound {
status = "okay";
};

&i2s0_8ch {

status = "okay";

};

&hdmi {

rockchip,phy-table =

<92812500 0x8009 0x0000 0x0270>,

<165000000 0x800b 0x0000 0x026d>,

<185625000 0x800b 0x0000 0x01ed>,

<297000000 0x800b 0x0000 0x01ad>,

<594000000 0x8029 0x0000 0x0088>,

<000000000 0x0000 0x0000 0x0000>;

};

相关推荐
悠哉悠哉愿意5 天前
【单片机学习笔记】串口、超声波、NE555的同时使用
笔记·单片机·学习
Lester_11015 天前
STM32霍尔传感器输入口设置为复用功能输入口时,还能用GPIO函数直接读取IO的状态吗
stm32·单片机·嵌入式硬件·电机控制
LCG元5 天前
低功耗显示方案:STM32L0驱动OLED,动态波形绘制与优化
stm32·嵌入式硬件·信息可视化
三佛科技-187366133975 天前
120W小体积碳化硅电源方案(LP8841SC极简方案12V10A/24V5A输出)
单片机·嵌入式硬件
z20348315205 天前
STM32F103系列单片机定时器介绍(二)
stm32·单片机·嵌入式硬件
Alaso_shuang5 天前
STM32 核心输入、输出模式
stm32·单片机·嵌入式硬件
脚后跟5 天前
AI助力嵌入式物联网项目全栈开发
嵌入式硬件·物联网·ai编程
2501_918126915 天前
stm32死锁是怎么实现的
stm32·单片机·嵌入式硬件·学习·个人开发
z20348315205 天前
STM32F103系列单片机定时器介绍(一)
stm32·单片机
星马梦缘6 天前
驱动层开发——蜂鸣器驱动
stm32·单片机·嵌入式硬件·hal·驱动