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>;

};

相关推荐
XINVRY-FPGA6 小时前
EPM240T100I5N Altera FPGA MAX II CPLD
人工智能·嵌入式硬件·fpga开发·硬件工程·dsp开发·射频工程·fpga
mit6.8247 小时前
[openvela] Hello World :从零开始的完整实践与问题复盘
c++·嵌入式硬件
曙曙学编程10 小时前
stm32——GPIO
c语言·c++·stm32·单片机·嵌入式硬件
第二层皮-合肥11 小时前
FPGA实现ETH接口
单片机·嵌入式硬件·fpga开发
anghost15011 小时前
基于单片机的智能声控窗帘
单片机·嵌入式硬件·mongodb
璞致电子14 小时前
【PZ-ZU47DR-KFB】璞致FPGA ZYNQ UltraScalePlus RFSOC QSPI Flash 固化常见问题说明
嵌入式硬件·fpga开发·fpga·软件无线电·sdr
陌夏微秋15 小时前
FPGA硬件设计2 最小芯片系统-ZYNQ7020/7010
嵌入式硬件·fpga开发·硬件架构·硬件工程·信息与通信·智能硬件
猫猫的小茶馆15 小时前
【STM32】HAL库中的实现(五):ADC (模数转换)
stm32·单片机·嵌入式硬件·mcu·51单片机·智能硬件·pcb工艺
紫阡星影17 小时前
【模块系列】STM32&W25Q64
stm32·单片机·嵌入式硬件
keer_zu18 小时前
STM32L051同时处理Alarm A和Alarm B中断
stm32·单片机·嵌入式硬件