20250118拿掉荣品pro-rk3566开发板上Android13下在uboot和kernel启动阶段的Rockchip这个LOGO标识
20250118拿掉荣品pro-rk3566开发板上Android13下在uboot和kernel启动阶段的Rockchip这个LOGO标识
2025/1/18 15:12
缘起:做飞凌OK3588-C开发板/核心板【Linux R4】的时候,测试/生产要求没有开机LOGO【飞凌/Rockchip】
要求:黑屏或者中性界面。
这次决定也这样干。结果Vysor可以进Android的UI界面,LCD屏进不了。
于是将Rockchip给的BMP文件在WIN10自带的画图中给直接涂黑了!
【可能的原因:荣品不让拿掉LOGO文件 或者是 Android13系统要求的】使用ACD See 5.0很容易知道logo.bmp和logo_kernel.bmp都是256色的BMP文件。【654x270x256色】
如果使用WIN10自带的画图工具编辑之后保存成为24bit的BMP文件也是可以正常使用的。
https://doc.rpdzkj.cn/#/zh_cn/%E7%91%9E%E8%8A%AF%E5%BE%AE%E7%B3%BB%E5%88%97/%E7%91%9E%E8%8A%AF%E5%BE%AE%E9%80%9A%E7%94%A8%E6%96%87%E6%A1%A3/%E5%BC%80%E6%9C%BALogo%E4%B8%8E%E5%8A%A8%E7%94%BB
我们这边是建议修改中性的或者黑屏logo
板子首先跑 uboot 接着跑kernel 再跑到系统,最后加载对应的应用,这个开机log 是在板子跑进系统前展示的画面,去不去掉并不影响开机时间,建议不要改显示的部分.直接去掉反而会对稳定性有影响
Xshell 8 (Build 0065)
Copyright (c) 2024 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[C:\~]$
Connecting to 192.168.3.250:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-130-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Introducing Expanded Security Maintenance for Applications.
Receive updates to over 25,000 software packages with your
Ubuntu Pro subscription. Free for personal use.
https://ubuntu.com/pro
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
New release '22.04.5 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Sat Jan 18 11:03:55 2025 from 192.168.3.199
rootroot@rootroot-X99-Turbo:~$ cd Android13.0/
rootroot@rootroot-X99-Turbo:~/Android13.0$ ll
total 1160488
drwxrwxrwx 37 rootroot rootroot 4096 12月 10 16:32 ./
drwxr-xr-x 32 rootroot rootroot 4096 1月 18 14:47 ../
lrwxrwxrwx 1 rootroot rootroot 19 12月 10 10:06 Android.bp -> build/soong/root.bp
drwxrwxr-x 37 rootroot rootroot 4096 12月 10 10:06 art/
drwxrwxr-x 14 rootroot rootroot 4096 12月 10 10:06 bionic/
drwxrwxr-x 4 rootroot rootroot 4096 12月 10 10:06 bootable/
lrwxrwxrwx 1 rootroot rootroot 26 12月 10 10:06 bootstrap.bash -> build/soong/bootstrap.bash*
drwxrwxr-x 8 rootroot rootroot 4096 12月 10 10:06 build/
lrwxrwxrwx 1 rootroot rootroot 23 12月 10 10:06 BUILD -> build/bazel/bazel.BUILD
-rwxrwxr-x 1 rootroot rootroot 27397 12月 10 10:06 build.sh*
-rwxrwxr-x 1 rootroot rootroot 14109 12月 10 10:06 .classpath*
drwxrwxr-x 13 rootroot rootroot 4096 12月 10 10:06 cts/
drwxrwxr-x 7 rootroot rootroot 4096 12月 10 10:06 dalvik/
drwxrwxr-x 5 rootroot rootroot 4096 12月 10 10:06 developers/
drwxrwxr-x 20 rootroot rootroot 4096 12月 10 10:06 development/
drwxrwxr-x 11 rootroot rootroot 4096 12月 10 10:06 device/
drwxrwxr-x 385 rootroot rootroot 12288 1月 16 09:42 external/
drwxrwxr-x 16 rootroot rootroot 4096 12月 10 10:07 frameworks/
drwxrwxr-x 8 rootroot rootroot 4096 12月 10 10:12 .git/
-rw-rw-r-- 1 rootroot rootroot 14 12月 10 10:06 .gitignore
drwxrwxr-x 19 rootroot rootroot 4096 12月 10 10:07 hardware/
-rw-rw-r-- 1 rootroot rootroot 162 12月 10 10:07 javaenv.sh
drwxrwxr-x 5 rootroot rootroot 4096 12月 10 10:07 kernel/
drwxrwxr-x 26 rootroot rootroot 4096 1月 14 18:07 kernel-5.10/
-rw-rw-r-- 1 rootroot rootroot 1128659893 12月 10 13:49 kernel-5.10b.tgz
drwxrwxr-x 19 rootroot rootroot 4096 12月 10 10:07 libcore/
drwxrwxr-x 9 rootroot rootroot 4096 12月 10 10:07 libnativehelper/
drwxrwxr-x 10 rootroot rootroot 4096 12月 10 10:07 mkcombinedroot/
-rwxrwxr-x 1 rootroot rootroot 10437 12月 10 10:07 mkimage_ab.sh*
-rwxrwxr-x 1 rootroot rootroot 8581 12月 10 10:07 mkimage.sh*
drwxrwxr-x 13 rootroot rootroot 4096 1月 18 11:07 out/
drwxrwxr-x 9 rootroot rootroot 4096 12月 10 10:08 packages/
drwxrwxr-x 5 rootroot rootroot 4096 12月 10 10:08 pdk/
drwxrwxr-x 10 rootroot rootroot 4096 12月 10 10:08 platform_testing/
drwxrwxr-x 32 rootroot rootroot 4096 12月 10 10:12 prebuilts/
-rwxrwxr-x 1 rootroot rootroot 519 12月 10 10:12 restore_patches.sh*
-rwxrwxr-x 1 rootroot rootroot 11096 12月 10 16:28 rk3566_android_serial*
-rwxrwxr-x 1 rootroot rootroot 11096 12月 10 13:59 rk3566_android_serial1*
-rwxrwxr-x 1 rootroot rootroot 11096 12月 10 14:09 rk3566_android_serial2*
-rwxrwxr-x 1 rootroot rootroot 11096 12月 10 15:31 rk3566_android_serial3*
drwxrwxr-x 9 rootroot rootroot 4096 1月 14 18:03 rkbin/
drwxrwxr-x 4 rootroot rootroot 4096 12月 10 10:06 RKDocs/
drwxrwxr-x 4 rootroot rootroot 4096 12月 10 10:12 rkst/
drwxrwxr-x 5 rootroot rootroot 4096 12月 10 10:06 RKTools/
drwxrwxr-x 13 rootroot rootroot 4096 1月 14 18:14 rockdev/
drwxrwxr-x 20 rootroot rootroot 4096 12月 10 10:12 sdk/
drwxrwxr-x 45 rootroot rootroot 4096 12月 10 10:12 system/
drwxrwxr-x 10 rootroot rootroot 4096 12月 10 10:12 test/
drwxrwxr-x 4 rootroot rootroot 4096 12月 10 10:12 toolchain/
drwxrwxr-x 23 rootroot rootroot 4096 12月 10 10:12 tools/
drwxrwxr-x 27 rootroot rootroot 4096 1月 14 18:08 u-boot/
-rw-rw-r-- 1 rootroot rootroot 59383681 12月 10 13:48 u-boot1.tgz
drwxrwxr-x 4 rootroot rootroot 4096 12月 10 10:12 vendor/
lrwxrwxrwx 1 rootroot rootroot 27 12月 10 10:06 WORKSPACE -> build/bazel/bazel.WORKSPACE
rootroot@rootroot-X99-Turbo:~/Android13.0$
rootroot@rootroot-X99-Turbo:~/Android13.0$
rootroot@rootroot-X99-Turbo:~/Android13.0$ cd kernel-5.10/arch/arm64/boot/dts/
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts$ ll
total 532
drwxrwxr-x 34 rootroot rootroot 4096 1月 14 09:42 ./
drwxrwxr-x 3 rootroot rootroot 4096 1月 14 18:07 ../
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 actions/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 allwinner/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 altera/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 amazon/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 amd/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 amlogic/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 apm/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 arm/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 bitmain/
drwxrwxr-x 4 rootroot rootroot 4096 12月 10 10:07 broadcom/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 cavium/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 exynos/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 freescale/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 hisilicon/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 intel/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 lg/
-rw-rw-r-- 1 rootroot rootroot 630 12月 10 10:07 Makefile
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 marvell/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 mediatek/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 microchip/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 nvidia/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 qcom/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 realtek/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 renesas/
drwxrwxr-x 3 rootroot rootroot 4096 12月 3 17:38 rockchip/
drwxrwxr-x 8 rootroot rootroot 32768 12月 10 10:07 rockchip00/
-rwx------ 1 rootroot rootroot 110928 12月 3 17:51 rockchip14zuixiao_rongpin3566.tar.gz*
-rw-rw-r-- 1 rootroot rootroot 125211 12月 14 17:13 rockchip15.tar.gz
-rw-rw-r-- 1 rootroot rootroot 127495 1月 14 09:42 rockchip16.tar.gz
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 socionext/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 sprd/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 synaptics/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 ti/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 toshiba/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 xilinx/
drwxrwxr-x 2 rootroot rootroot 4096 12月 10 10:07 zte/
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts$
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts$
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts$ cd rockchip
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts/rockchip$ ll
total 228
drwxrwxr-x 3 rootroot rootroot 4096 12月 3 17:38 ./
drwxrwxr-x 34 rootroot rootroot 4096 1月 14 09:42 ../
-rwx------ 1 rootroot rootroot 12808 12月 2 18:43 Makefile*
-rwx------ 1 rootroot rootroot 1205 12月 2 18:43 rk3566.dtsi*
-rwx------ 1 rootroot rootroot 1902 12月 2 18:43 rk3568-android.dtsi*
-rwx------ 1 rootroot rootroot 11079 12月 2 18:43 rk3568-dram-default-timing.dtsi*
-rwx------ 1 rootroot rootroot 105152 12月 2 18:43 rk3568.dtsi*
-rwx------ 1 rootroot rootroot 62429 12月 2 18:43 rk3568-pinctrl.dtsi*
drwxrwxr-x 2 rootroot rootroot 4096 1月 14 18:03 rk356x/
-rwx------ 1 rootroot rootroot 8206 12月 2 18:43 rockchip-pinconf.dtsi*
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts/rockchip$
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts/rockchip$
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts/rockchip$ grep bmp . -R
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,uboot = "logo.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,kernel = "logo_kernel.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,uboot = "logo.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,kernel = "logo_kernel.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,uboot = "logo.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,kernel = "logo_kernel.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,uboot = "logo.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,kernel = "logo_kernel.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,uboot = "logo.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,kernel = "logo_kernel.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,uboot = "logo.bmp";
./rk356x/.pro-rk3566.dtb.dts.tmp: logo,kernel = "logo_kernel.bmp";
Binary file ./rk356x/pro-rk3566.dtb matches
./rk3568.dtsi: logo,uboot = "logo.bmp";
./rk3568.dtsi: logo,kernel = "logo_kernel.bmp";
./rk3568.dtsi: logo,uboot = "logo.bmp";
./rk3568.dtsi: logo,kernel = "logo_kernel.bmp";
./rk3568.dtsi: logo,uboot = "logo.bmp";
./rk3568.dtsi: logo,kernel = "logo_kernel.bmp";
./rk3568.dtsi: logo,uboot = "logo.bmp";
./rk3568.dtsi: logo,kernel = "logo_kernel.bmp";
./rk3568.dtsi: logo,uboot = "logo.bmp";
./rk3568.dtsi: logo,kernel = "logo_kernel.bmp";
./rk3568.dtsi: logo,uboot = "logo.bmp";
./rk3568.dtsi: logo,kernel = "logo_kernel.bmp";
rootroot@rootroot-X99-Turbo:~/Android13.0/kernel-5.10/arch/arm64/boot/dts/rockchip$
Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk3568.dtsi
Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk3568 - 副本.dtsi
display_subsystem: display-subsystem {
compatible = "rockchip,display-subsystem";
memory-region = <&drm_logo>, <&drm_cubic_lut>;
memory-region-names = "drm-logo", "drm-cubic-lut";
ports = <&vop_out>;
devfreq = <&dmc>;
route {
route_dsi0: route-dsi0 {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_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 = <&vp0_out_dsi1>;
};
route_edp: route-edp {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_out_edp>;
};
route_hdmi: route-hdmi {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp1_out_hdmi>;
};
route_lvds: route-lvds {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp1_out_lvds>;
};
route_rgb: route-rgb {
status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp2_out_rgb>;
};
};
};
修改成为:
display_subsystem: display-subsystem {
compatible = "rockchip,display-subsystem";
memory-region = <&drm_logo>, <&drm_cubic_lut>;
memory-region-names = "drm-logo", "drm-cubic-lut";
ports = <&vop_out>;
devfreq = <&dmc>;
route {
route_dsi0: route-dsi0 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_out_dsi0>;
};
route_dsi1: route-dsi1 {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_out_dsi1>;
};
route_edp: route-edp {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp0_out_edp>;
};
route_hdmi: route-hdmi {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp1_out_hdmi>;
};
route_lvds: route-lvds {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp1_out_lvds>;
};
route_rgb: route-rgb {
status = "disabled";
logo,uboot = "";
logo,kernel = "";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vp2_out_rgb>;
};
};
};