kehuadong

上一页 1 ··· 7 8 9 10 11 12 13 下一页

2022年11月10日

lua 控制语句

摘要: for循环 模式1 for k,v in f, data, init_k do end 进行的操作是 f(data, old_k), 例如f(data, init_k) 渴望返回的是 new_k, v可以继续循环 或者nil终止循环 function f(d, k) if k < 10 then r 阅读全文

posted @ 2022-11-10 17:22 kehuadong 阅读(19) 评论(0) 推荐(0) 编辑

2022年11月9日

lua协程

摘要: local coroutine = coroutine local table = table local coroutine_create = coroutine.create local coroutine_resume = coroutine.resume local coroutine_yi 阅读全文

posted @ 2022-11-09 14:54 kehuadong 阅读(17) 评论(0) 推荐(0) 编辑

2022年11月8日

linux shell

摘要: linux shell系列经验 阅读全文

posted @ 2022-11-08 21:12 kehuadong 阅读(14) 评论(5) 推荐(0) 编辑

2020年12月14日

gcc

摘要: __builtin_expect — 分支预测优化 https://www.cnblogs.com/LubinLew/p/GCC-__builtin_expect.html #define likely(x) __builtin_expect(!!(x), 1) 预测if (likely(x))成立 阅读全文

posted @ 2020-12-14 19:33 kehuadong 阅读(91) 评论(0) 推荐(0) 编辑

2020年12月1日

uboot启动过程 3

摘要: uboot启动过程1描述到 _start -> reset -> save_boot_params -> save_boot_params_ret -> cpu_init_cp15: 配置cp15, 关闭MMU什么的 -> cpu_init_crit -> lowlevel_init -> s_in 阅读全文

posted @ 2020-12-01 07:19 kehuadong 阅读(103) 评论(0) 推荐(0) 编辑

2020年11月29日

~

摘要: 意志支配行动 累了可以休息,但是不可放弃前进的心,尽力便无憾, 需要时刻反省是否尽力 停止fool arroud, 保持专心,守住前进之本心 https://www.bilibili.com/video/BV1NJ411U7Vc/?spm_id_from=333.788.recommend_more 阅读全文

posted @ 2020-11-29 21:59 kehuadong 阅读(61) 评论(0) 推荐(0) 编辑

uboot启动过程 2

摘要: 512M内存, 地址范围 [0x80000000, 0xA0000000) UBOOT原先位置 0x87800000, 移动后的位置0x9FF47000, 也就是最后 700多k, 前面的位置留给内核 https://www.cnblogs.com/kehuadong/p/14054220.html 阅读全文

posted @ 2020-11-29 02:21 kehuadong 阅读(888) 评论(0) 推荐(0) 编辑

2020年11月28日

uboot启动过程 1

摘要: 打开 u-boot.lds OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(_start) SECTIONS { . = 0x00000000; . = ALI 阅读全文

posted @ 2020-11-28 21:36 kehuadong 阅读(428) 评论(0) 推荐(0) 编辑

2020年11月24日

linux根文件系统

摘要: /bin 目录 /dev 目录 /etc 目录 此目录下存放着各种配置文件,大家可以进入 Ubuntu 的 etc 目录看一下,里面的配置文件非常多!但是在嵌入式 Linux 下此目录会很简洁 /lib 目录 /mnt 目录 临时挂载目录,一般是空目录,可以在此目录下创建空的子目录,比如/mnt/s 阅读全文

posted @ 2020-11-24 00:21 kehuadong 阅读(187) 评论(0) 推荐(0) 编辑

uboot之顶层Makefile

摘要: uboot版本信息 VERSION = 2006 主版本号 PATCHLEVEL = 03 补丁版本号 SUBLEVEL = 次此版本号 EXTRAVERSION = 附加版本 NAME MAKEFLAGS变量 $(MAKE) -C subdir $(MAKE)就是调用“make”命令,-C 指定子 阅读全文

posted @ 2020-11-24 00:03 kehuadong 阅读(430) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 下一页

导航