06 2022 档案
摘要:office misc excel HEX2DEC/DEC2HEX函数用法 HEX2DEC(x) 注意单元格里的数据最前面不能有0,最后也不能有空格
阅读全文
摘要:makefile misc make cmd中传入参数 用origin函数来判断 ifeq ($(origin CMD_LINE_VAR), command line) 获取所执行的Makefile所在的路径 root-dir := $(realpath $(dir $(realpath $(MAK
阅读全文
摘要:从一个文件里读取出每一行,并解析每一行 #!/bin/bash callstack_file=${1} cat ${callstack_file} | while read line do entry=`echo ${line} | grep entry -w` if [ -n "${entry}"
阅读全文
摘要: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
阅读全文
摘要:uboot misc global_data struct成员含义 mon_lenuboot image size,uboot image里包含.text,.rodata, .data, .u_boot_list, .bss等section,这些section size之和即是mon_len sta
阅读全文
摘要:uboot relocation platform: ARM64 arch/arm/lib/crt0_64.S uboot分为relocation前和relocation后两个stage,这两个stage stack所在的位置不同 对于relocation前,在_main()里设置sp的初始值为CO
阅读全文