-
/arch/arm/lib/ctr0.SBoot Loader 2019. 9. 20. 14:51
r9
/arch/arm/include/asm/global_data.h
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r9")라고 정의되어있다.
/include/asm-generic/u-boot.hd에 bd_t
/include/asm-generic/global_data.h에 gd_t
74라인의 CONFIG_SPL_STACK은
76라인의
CONFIG_SYS_INIT_SP_ADDR은
/include/configs/odroid_xu4.h에
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000)라고 정의되어있고
CONFIG_SYS_LOAD_ADDR은
/include/configs/exynos5-common.h에
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 0x3E00000)라고 정의되어있고,
CONFIG_SYS_SDRAM_BASE는
/include/configs/odroid_xu4.h에
#define CONFIG_SYS_SDRAM_BASE 0x40000000라고 정의되어있다.
각설하고 결국 CONFIG_SYS_INIT_SP_ADDR는 0x43e00000이다
'Boot Loader' 카테고리의 다른 글
/common/console.c (0) 2019.09.22 ABI와 EABI (0) 2019.09.20 U-boot (0) 2019.09.20 U-boot 환경 설정 $ make odroid-xu4_defconfig (0) 2019.08.23 U-boot Makefile 분석 (0) 2019.08.23