Where to find those definition for particular boards? CFG_SYS_INIT_RAM_ADDR, CFG_SYS_INIT_RAM_SIZE, GENERATED_GBL_DATA_SIZE? etc.

Pei Jia jiapei at longervision.com
Fri Dec 15 09:28:50 CET 2023


Hi, all:

I'm using a *BeagleV-Fire*, However, I failed to build *u-boot*, and now 
traced to this step. Where to find those *macro values* specifically for 
this board *BeagleV-Fire*?


#ifdef CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR
#define SYS_INIT_SP_ADDR    CONFIG_CUSTOM_SYS_INIT_SP_ADDR
#else
#ifdef CONFIG_MIPS
#define SYS_INIT_SP_ADDR    (CFG_SYS_SDRAM_BASE + CFG_SYS_INIT_SP_OFFSET)
#else
#define SYS_INIT_SP_ADDR    \
     (CFG_SYS_INIT_RAM_ADDR + CFG_SYS_INIT_RAM_SIZE - 
GENERATED_GBL_DATA_SIZE)
#endif
#endif


Cheers


-- 
Dr. Pei Jia
Email: jiapei at longervision.com
Cell: +1 778-863-5816 <tel:+17788635816>
Website: https://www.longervision.ca


More information about the U-Boot mailing list