上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 77 下一页
摘要: 答:在bootargs中添加参数no_console_suspend即可进行调试 阅读全文
posted @ 2019-07-12 15:49 Jello 阅读(648) 评论(0) 推荐(0)
摘要: 1. 生成一个补丁 git format-patch --subject-prefix=v2 -1 那么生成的patch文件就会有如下类似的信息: Subject: [v2] your description about the patch 2. 那么若是同时生成两个补丁呢? git format- 阅读全文
posted @ 2019-07-11 11:59 Jello 阅读(365) 评论(0) 推荐(0)
摘要: 1. 下载 wget http://patchwork.ozlabs.org/series/111111/mbox 2. 打补丁 git am mbox 阅读全文
posted @ 2019-07-10 16:15 Jello 阅读(884) 评论(0) 推荐(0)
摘要: 答: echo $level > /proc/sys/kernel/printk 如: echo 8 4 1 7 > /proc/sys/kernel/printk 阅读全文
posted @ 2019-07-09 13:56 Jello 阅读(1745) 评论(0) 推荐(0)
摘要: 答: 使用ldd查看程序是否缺少库,如果缺少库,那么就从交叉编译工具链中获取并复制到arm的根文件系统中 阅读全文
posted @ 2019-07-04 16:48 Jello 阅读(848) 评论(0) 推荐(0)
摘要: 1. 获取源码 wget https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.34/util-linux-2.34.tar.xz 2. 解压 tar xvf util-linux-2.34.tar.gz cd util-linu 阅读全文
posted @ 2019-07-04 16:24 Jello 阅读(4498) 评论(0) 推荐(0)
摘要: 1. 获取源码 wget https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/i2c-tools-4.1.tar.xz 2. 解压源码 tar xvf i2c-tools-4.1.tar.gz cd i2c-tools-4.1 3 阅读全文
posted @ 2019-07-04 12:56 Jello 阅读(2211) 评论(0) 推荐(0)
摘要: 答:通过生成的System.map可以查看到,主要关注__initcall_<module_entry_function>_init<level>,如: __initcall_sunxi_sram_driver_init6,模块的入口函数为sunxi_sram_driver,级别为6 阅读全文
posted @ 2019-06-28 15:59 Jello 阅读(709) 评论(0) 推荐(0)
摘要: 1. 配置该模块为[M] 2. 编译 make modules SUBDIRS=./drivers/rtc (5.3的内核为make modules M=./drivers/rtc) 3. 安装 make modules_install SUBDIRS=./drivers/rtc (5.3的内核为m 阅读全文
posted @ 2019-06-25 11:29 Jello 阅读(5388) 评论(0) 推荐(0)
摘要: 答: 在~/.vimrc中写入以下内容即可: au BufWritePost *.c,*.cpp,*.h silent! !ctags -R & 参考资料: 一键打造vim ide 阅读全文
posted @ 2019-06-21 19:52 Jello 阅读(690) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 77 下一页