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
Code: Select all
Device Drivers --->
Graphics support --->
[*] Enable driver model support LCD/video
[*] Nuvoton MA35D1 video support
(0x8C800000) MA35D1 DCU framebuffer address
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}; " \
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";
};
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 */
};
Code: Select all
~/yocto/build/conf$ vim local.conf
IMAGE_FEATURES_remove += " splash "
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
9. Use NuWriter program the bmp file to address 0x1C00000
#MA35D1 #Logo #Booting