上一页 1 2 3 4 5 6 7 8 ··· 41 下一页
摘要: office misc excel HEX2DEC/DEC2HEX函数用法 HEX2DEC(x) 注意单元格里的数据最前面不能有0,最后也不能有空格 阅读全文
posted @ 2022-06-28 17:06 aspirs 阅读(25) 评论(0) 推荐(0) 编辑
摘要: makefile misc make cmd中传入参数 用origin函数来判断 ifeq ($(origin CMD_LINE_VAR), command line) 获取所执行的Makefile所在的路径 root-dir := $(realpath $(dir $(realpath $(MAK 阅读全文
posted @ 2022-06-21 13:56 aspirs 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 从一个文件里读取出每一行,并解析每一行 #!/bin/bash callstack_file=${1} cat ${callstack_file} | while read line do entry=`echo ${line} | grep entry -w` if [ -n "${entry}" 阅读全文
posted @ 2022-06-13 21:53 aspirs 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(294) 评论(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 阅读(90) 评论(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 阅读(108) 评论(0) 推荐(0) 编辑
摘要: driver misc driver probe函数调用callstack [ 0.073075][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.147-gac0f89dbd82d-dirty #1 [ 0.073080][ T1] Hardw 阅读全文
posted @ 2022-05-25 10:52 aspirs 阅读(20) 评论(0) 推荐(0) 编辑
摘要: uboot 2019 uclass、udevice uclass链表 drivers/core/uclass.c uclass_get,根据uclass_id去get,如果没有find到,则调用uclass_add()将uclass添加到gd->uclass_root链表里,uclass是用UCLA 阅读全文
posted @ 2022-05-19 17:57 aspirs 阅读(297) 评论(0) 推荐(0) 编辑
摘要: AVB相关image(vbmeta.img/system.img)的生成 vbmeta.img/vbmeta_system.img(chain partition)的生成 调用build-vbmetaimage-target生成vbmeta.img 3762 $(INSTALLED_VBMETAIM 阅读全文
posted @ 2022-05-16 00:06 aspirs 阅读(2118) 评论(0) 推荐(0) 编辑
摘要: android related image generation 调用build_image.py的cmd如下,system.img、userdata.img、cache.img、vendor.img都是调用这个cmd去生成image的 ./build/tools/releasetools/buil 阅读全文
posted @ 2022-05-15 22:31 aspirs 阅读(188) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 41 下一页