VS-RK3XXX 主板中设置android 7.1系统中视频输出4K配置说明:
hardware/rockchip/libgralloc
/Android.mk
GRALLOC_INIT_AFBC?=1
USE_AFBC_LAYER = 0 找到这个设置为0
ifeq ($(strip $(TARGET_BOARD_PLATFORM)),rk3399)
USE_AFBC_LAYER = 0
ifeq ($(strip $(TARGET_BOARD_PLATFORM_PRODUCT)),box)
USE_AFBC_LAYER = 0
endif
endif
驱动文件主要是dts的配置,
kernel\arch\arm64\boot\dts\rockchip
&route_hdmi {
status = "okay";
connect = <&vopl_out_hdmi>;
};
&route_mipi {
status = "okay";
};
HDMI应该是connect = <&vopb_out_hdmi>;
MIPI应该是connect = <&vopl_out_hdmi>;
所以改成
&route_hdmi {
connect = <&vopb_out_hdmi>;
status = "okay";
};
&route_mipi {
connect = <&vopl_out_mipi>;
status = "okay";
};