常见问答

FAQ

Show logo when booting  Issue Date:2025-01-17

1.  Go to the following path and open U-Boot menuconfig:
  ~/yocto/build/tmp-glibc/work/numaker_som_ma35d16a81-poky-linux/u-boot-ma35d1/2020.07-r0/git$ make menuconfig
2. Enable LCD driver and modify RAM size in U-Boot:
 
Device Drivers --->
Graphics support --->
[*] Enable driver model support LCD/video
[*] Nuvoton MA35D1 video support
(0x8C800000) MA35D1 DCU framebuffer address
3. According to your boot source, modify the U-Boot environment:
 
~/yocto/build/tmp-glibc/work/numaker_som_ma35d16a81-poky-linux/u-boot-ma35d1/2020.07-r0/git/include/configs$ vim ma35d1.h

"mmc read ${kernel_addr_r} 0x1800 0x8000; " \
"mmc read ${fdt_addr_r} 0x1600 0x80; " \
"mmc read ${bmp_addr_r} 0xe000 0x1000; " \
"bmp display ${bmp_addr_r}; " \
"booti ${kernel_addr_r} - ${fdt_addr_r}; "
4. According to your evaluation board, modify the device to close display initialization function:
 
~/yocto/build/tmp-glibc/work-shared/numaker-som-ma35d16a81/kernel-source/arch/arm64/boot/dts/nuvoton$ vim ma35d1-som-256m.dts

&display {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_display0>;
    memory-region = <&display_buf>;
    //resets = <&reset MA35D1_RESET_DISP>;
    status = "okay";
};
5. Re-define the U-Boot RAM size:
 
~/yocto/build/tmp-glibc/work/numaker_som_ma35d16a81-poky-linux/u-boot-ma35d1/2020.07-r0/git/arch/arm/dts$ vim ma35d1-sdcard0.dts

memory {
    device_type = "memory";
    reg = <0x00000000 0x80000000 0 0x0F000000>; /* 112M */
};
6. Close default logo from Yocto:
 
~/yocto/build/conf$ vim local.conf

IMAGE_FEATURES_remove += " splash "
7. Rebuild U-Boot, Linux kernel, and re-pack Image:
 
~/yocto/build$ bitbake u-boot-ma35d1 linux-ma35d1 -C compile && \
bitbake nvt-image-qt5 -c cleanall && \
bitbake nvt-image-qt5
8. Program the Image to MA35D1
9. Use NuWriter to program the bmp file to address 0x1C00000
  Nuvoton_FAQ_Show logo when booting
Products: Microprocessors ,Arm Cortex-A35 MPUs
Applications:
Function: Others,Boot source,Buildroot