20241024拿掉飞凌OK3588-C的开发板linux R4启动时的LOGO
2024/10/24 14:20
缘起:公司的产品可能要卖到北边/敏感地区。
开机肯定有飞凌的LOGO。
要么是公司的LOGO,要么是中性的:全黑色或者是一朵花【稍微有点品味】。
所以要拿掉uboot/Kernel阶段的启动LOGO。
Z:\versions\OK3588_Linux_fs\kernel\arch\arm64\boot\dts\rockchip\rk3588s.dtsi
display_subsystem: display-subsystem {
compatible = "rockchip,display-subsystem";
ports = <&vop_out>;
route {
route_dp0: route-dp0 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp1_out_dp0>;
};
route_dsi0: route-dsi0 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp3_out_dsi0>;
};
route_dsi1: route-dsi1 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp3_out_dsi1>;
};
route_edp0: route-edp0 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp2_out_edp0>;
};
route_edp1: route-edp1 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
};
route_hdmi0: route-hdmi0 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_out_hdmi0>;
};
route_rgb: route-rgb {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp3_out_rgb>;
};
};
};
修改为:
display_subsystem: display-subsystem {
compatible = "rockchip,display-subsystem";
ports = <&vop_out>;
route {
route_dp0: route-dp0 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp1_out_dp0>;
};
route_dsi0: route-dsi0 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp3_out_dsi0>;
};
route_dsi1: route-dsi1 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp3_out_dsi1>;
};
route_edp0: route-edp0 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp2_out_edp0>;
};
route_edp1: route-edp1 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
};
route_hdmi0: route-hdmi0 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_out_hdmi0>;
};
route_rgb: route-rgb {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp3_out_rgb>;
};
};
};