会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Jello
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
27
28
29
30
31
32
33
34
35
···
77
下一页
2019年7月12日
在调试linux的休眠功能时如何打开调试信息开关?
摘要: 答:在bootargs中添加参数no_console_suspend即可进行调试
阅读全文
posted @ 2019-07-12 15:49 Jello
阅读(648)
评论(0)
推荐(0)
2019年7月11日
生成要发送到社区的内核补丁时如何指定发布的版本号(v2,v3...)?
摘要: 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)
2019年7月10日
如何从社区的patchwork下载补丁并应用到当前内核源码?
摘要: 1. 下载 wget http://patchwork.ozlabs.org/series/111111/mbox 2. 打补丁 git am mbox
阅读全文
posted @ 2019-07-10 16:15 Jello
阅读(884)
评论(0)
推荐(0)
2019年7月9日
linux下如何设置日志级别?
摘要: 答: 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)
2019年7月4日
在arm上执行某个程序时总是提示 not found是怎么回事?
摘要: 答: 使用ldd查看程序是否缺少库,如果缺少库,那么就从交叉编译工具链中获取并复制到arm的根文件系统中
阅读全文
posted @ 2019-07-04 16:48 Jello
阅读(848)
评论(0)
推荐(0)
linux下如何交叉编译util-linux?
摘要: 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)
linux如何交叉编译i2c-tools?
摘要: 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)
2019年6月28日
如何查看linux内核中驱动的初始化顺序?
摘要: 答:通过生成的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)
2019年6月25日
如何单独编译Linux内核的某个模块?
摘要: 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)
2019年6月21日
vi下如何配置自动更新标签(tags)?
摘要: 答: 在~/.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
下一页
公告