Hello ,
I am trying to change variables like bootdelay by changing the build/workspace/sources/u-boot/configs/smarc-rzg2l_defconfig file, but the changes are not being taken in u-boot . when I run env default -a still the bootdelay is 2 . To disable the kernal logs during boot I have tried this
The Framebuffer console is supported via CONFIG_FRAMEBUFFER_CONSOLE setting in the kernel.
Currently, if CONFIG_EXPERT is not enabled, CONFIG_FRAMEBUFFER_CONSOLE will be enabled and logs will be dumped on your display console.
To disable it, please set "CONFIG_EXPERT=y" in your defconfig (arch/arm64/configs/defconfig). CONFIG_FRAMEBUFFER_CONSOLE will be disabled. but coudnt find the defconfig mention here .I want to reduce the boot time as low as possible. can you please give solution for above things and any suggestions to reduce boot time , Thank you.
Harsha said:To disable the kernal logs during boot I have tried this
Updated the wiki page with another option
https://confluence.renesas.com/display/REN/Kernel#Kernel-DisableKernelLogsonScreenDuringBoot
Harsha said:I want to reduce the boot time as low as possible. can you please give solution for above things and any suggestions to reduce boot time ,
Start removed kernel drivers and features you do not needed.
The default configuration for the BSP turns everything on because it's intended for evaluation.
But, if you went through the kernel configuration (menuconfig) and turned off everything that you are not using, you will find that you will boot a lot faster.
What I do is add initcall_debug to the command line (https://confluence.renesas.com/display/REN/Linux+Debug+Tricks#LinuxDebugTricks-Usinginitcall_debug ) and then look at all the drivers that are being loaded and see which ones I am clearly not using.
Thanks Chris , can you help with why the u-boot variable is not changing even when I was changing them in the related defconfig file (build/workspace/sources/u-boot/configs/smarc-rzg2l_defconfig ).
Harsha said:can you help with why the u-boot variable is not changing
Just hard code it source. That is what I would do.
You can set #define CONFIG_EXTRA_ENV_SETTINGS like we do in file include/configs/smarc-rzg2l.h
https://github.com/renesas-rz/renesas-u-boot-cip/blob/v2021.10/rz/include/configs/smarc-rzg2l.h
I have tried even this , but still the changes are not being taken. When I run 'env default -a' in u-boot it is taking bootdelay as 2 even I declared it as 0 in the smarc-rzg2l.h file.
Anyways thanks for the information
Are you 100% sure that the new u-boot is built, programmed properly and you are booting from the expected storage?