上一页 1 2 3 4 5 6 7 ··· 41 下一页
摘要: nand flash basics nand flash page size, block size page是NAND Flash上最小的读/写单位(一个page上的单元共享一根字符线Word line),块是最小的擦除单位(。不同厂牌不同型号颗粒有不同的page和block大小。 4KB的页尺寸 阅读全文
posted @ 2022-11-05 19:31 aspirs 阅读(231) 评论(0) 推荐(0) 编辑
摘要: git misc git branch git branch #查看有哪些branch git checkout $branch #切换本地branch git branch -D $branch #删除本地branch $branch,-D是-d(delete)和--force的组合 git re 阅读全文
posted @ 2022-11-05 12:09 aspirs 阅读(33) 评论(0) 推荐(0) 编辑
摘要: gdb usage attach process gdb attach $pid 查看进程内的所有线程 info thread 切换跟踪线程 thread $thread_id #此thread_id为info thread结果行首的thread id 查看变量值 先bt查看backtrace,再f 阅读全文
posted @ 2022-10-26 21:29 aspirs 阅读(17) 评论(0) 推荐(0) 编辑
摘要: sed -n '1,3p' file表示 取文件 第一行到 第3行的内容; 在匹配行前一行、后一行添加新行 前一行: sed -i '/target string/istring line want to add' $input_file #target string不需要是目标行完整字串,取其一部 阅读全文
posted @ 2022-09-24 11:40 aspirs 阅读(277) 评论(0) 推荐(0) 编辑
摘要: CFI cfi_slowpath_handler/__cfi_slowpath kernel/cfi.c /* Compiler-defined handler names */ #ifdef CONFIG_CFI_PERMISSIVE #define cfi_failure_handler __u 阅读全文
posted @ 2022-09-12 15:54 aspirs 阅读(883) 评论(0) 推荐(0) 编辑
摘要: 体检 misc 肿瘤标志物检测项比如AFP、CEA、CA199、PSA、CA125特异性和敏感比较高,对于有肿瘤高危因素的人群有体检价值 眼底检查是检查眼底血管,可以检查动脉硬化,糖尿病、高血压早期就可以看到血管硬化 糖化血糖蛋白可以检查过去3个月的血糖波动 运动心肺功能,如果血管堵了,运动心电图可 阅读全文
posted @ 2022-08-28 13:25 aspirs 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 打印callstack in jni jclass throwable_class = env->FindClass("java/lang/Throwable"); jmethodID throwable_init = env->GetMethodID(throwable_class, "<init 阅读全文
posted @ 2022-07-23 13:40 aspirs 阅读(31) 评论(0) 推荐(0) 编辑
摘要: use ftrace during boot phase trace_buf_size [KMG] 比如trace_buf_size=1M,这将会把每个cpu的trace buffer设置为1M trace_event trace_event=sched:*,timer:*,irq:* trace_ 阅读全文
posted @ 2022-07-23 13:34 aspirs 阅读(94) 评论(0) 推荐(0) 编辑
摘要: alarm timer kernel里的alarm timer可以由以下方式来设置: 1. android alarmmanagerservice来设置,此时的timer type要为RTC_WAKEUP或者ELAPSED_REALTIME_WAKEUP,在alarmmanagerservice j 阅读全文
posted @ 2022-07-23 13:03 aspirs 阅读(241) 评论(0) 推荐(0) 编辑
摘要: multimedia misc resolution definition 2K/FHD: 1920x1080 720p: 1280x720 480p: 720x480 480 to 2K multiply factor: (1920/720) * (1080/480) = 6.0075 阅读全文
posted @ 2022-07-21 12:21 aspirs 阅读(10) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 41 下一页