FAQ_MA35D1_Show Logo when booting

Post Reply
ytliu6
Posts: 62
Joined: 08 Nov 2022, 10:28

21 Nov 2022, 10:10

1. Go to the following path and open U-Boot menuconfig

Code: Select all

~/yocto/build/tmp-glibc/work/numaker_som_ma35d16a81-poky-linux/u-boot-ma35d1/2020.07-r0/build/ma35d1_sdcard0_defconfig$ make menuconfig
2. Enable LCD driver and modify RAM size in U-Boot

Code: Select all

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 to modify U-Boot environment

Code: Select all

~/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 and modify device to close display initial function

Code: Select all

~/yocto/build/tmp-glibc/work-shared/numaker-som-ma35d16a81/kernel-source/arch/arm64/boot/dts/nuvoton$
vim ma35d1.dtsi

&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

Code: Select all

~/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

Code: Select all

~/yocto/build/conf$ vim local.conf

IMAGE_FEATURES_remove += " splash "
7. Rebuild U-Boot, Linux kernel and re-pack Image

Code: Select all

~/yocto/build$ bitbake u-boot-ma35d1 linux-ma35d1 tf-a-ma35d1 –C compile && bitbake nvt-image-qt5 –c cleanall && bitbake nvt-image-qt5
8. Program the Image to MA35D1

9. Use NuWriter program the bmp file to address 0x1C00000

#MA35D1 #Logo #Booting

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest