随笔分类 -  uboot

摘要:uboot入口boot flow(ARMv8) uboot entry point是_start,这个在u-boot.lds里有define _start里执行b reset跳转到reset label处执行 19 .globl _start 20 _start: 21 #if defined(CO 阅读全文
posted @ 2022-06-12 18:48 aspirs 阅读(370) 评论(0) 推荐(0) 编辑
摘要:uboot misc global_data struct成员含义 mon_lenuboot image size,uboot image里包含.text,.rodata, .data, .u_boot_list, .bss等section,这些section size之和即是mon_len sta 阅读全文
posted @ 2022-06-12 18:43 aspirs 阅读(109) 评论(0) 推荐(0) 编辑
摘要:uboot relocation platform: ARM64 arch/arm/lib/crt0_64.S uboot分为relocation前和relocation后两个stage,这两个stage stack所在的位置不同 对于relocation前,在_main()里设置sp的初始值为CO 阅读全文
posted @ 2022-06-09 17:51 aspirs 阅读(135) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示