1. Open the necessary U-Boot configurations by running the following command
Code: Select all
# make uboot-menuconfig
Console --->
[ ] Console recording
[*] Add functionality to disable console completely
() Board specific string to be added to uboot version string
(4) loglevel
[*] Support a silent console
[*] Only silence the U-Boot console
[*] Changes to the 'silent' environment variable update immediately
[*] Allow flags to take effect on relocation
[*] Don't display the console devices on boot
Start-up hooks --->
[*] Call board-specific init before relocation
Code: Select all
Path:
~/Buildroot/output/build/uboot-custom/board/nuvoton/ma35d1/ma35d1.c
int board_early_init_f(void)
{
gd->flags |= (GD_FLG_SILENT | GD_FLG_DISABLE_CONSOLE);
return 0;
}
Code: Select all
Path:
~/Buildroot/output/build/arm-trusted-firmware-custom/plat/nuvoton/ma35d1/platform.mk
# Build option to add debugfs support
USE_DEBUGFS := 1
DEBUG := 1
LOG_LEVEL := 0
Code: Select all
# make uboot-rebuild arm-trusted-firmware-rebuild && make