Hello,
Could you help me, Where in the SPL ( Secondary program Loader ) can I set the ram size?
Currently, the configuration is done in u-boot like: gd->ram_size = PHYS_SDRAM_SIZE;
And now, I have to do it in the SPL side.
I'd appreciate the support. Thank you!
Solved! Go to Solution.
Hi @Arm7
There is no example code for setting ram size in SPL.
Hello @Zhiming_Liu,
Thank you for the support, CONFIG_SPL_SIZE_LIMIT it seems, this configuration is only for SPL side, When the boot sequence ends, in kernel, the configuration would be kept ?
You can refer the comment in this file:
https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/lib/crt0_64.S