
linux 驱动累积经验
紫地瓜
这个作者很懒,什么都没留下…
展开
-
cortex-A9 exynos-4412 i2c5 adapter 配置问题
在 linux 3.0.15 上实验 readl() writel() 读写 i2c5适配器地址 0x138B_0000 时发现 不管往里面些什么 读出来的都是0. 最后发现 是因为 没有为 i2c5 适配器打开时钟造成的。 i2c5适配器 相对于 cortex-a9 来说就是一个外围器件, 如果没有给它时钟那么就不能工作, 进而导致没有办法正常操作映射给原创 2017-07-10 22:21:19 · 292 阅读 · 0 评论 -
linux 内核编译,检测git 仓库版本号
在编译linux内核结束的时候 会使用mkiamge工具将 zImage 制作成 uImage, OBJCOPY arch/arm/boot/zImage Kernel: arch/arm/boot/zImage is ready UIMAGE arch/arm/boot/uImage Image Name: Linux-3.14.0 Created: Thu No...原创 2018-12-07 23:22:30 · 596 阅读 · 0 评论 -
多路复用 select 内核实现
附上调试代码 内核调试 /* * This file contains the procedures for the handling of select and poll * * Created for Linux based loosely upon Mathius Lattner's minix * patches by Peter MacDonald. Heavily edi...原创 2018-12-13 20:49:22 · 422 阅读 · 0 评论