目前分類:Driver 其他 (29)
- Jul 31 Wed 2019 14:59
eMMC 简介
- Jan 31 Wed 2018 09:57
Kernel 3.4 to 3.10 porting guide
Kernel 3.4 to 3.10 porting guide
Here are some issues you may run into when porting something from 3.4 to 3.10:
- Mar 02 Thu 2017 17:50
Reading file in kernel-簡單但實用
http://daydreamer.idv.tw/rewrite.php/read-65.html
在embedded的設備上,driver需要讀取某些設定檔並根據設定值設定硬體,除了ioctl, file read/write之外,最簡單的方式莫過於直接在kernel space進行設定檔的讀寫,不過通常”寫入”這個功能很少用到,所以我略過這個東西不提
- Jul 12 Tue 2016 14:18
fedora 24 Required key not available
- Apr 16 Thu 2015 17:55
warning "Attempt to use kernel headers from user space,
- Feb 04 Wed 2015 09:16
Android 啟動流程: Init.c 閱讀筆記
- Jan 29 Thu 2015 10:01
LTIB 常用命令详解
LTIB 常用命令详解
下面再写一点ltib的常用命令参数吧,虽然觉得对其编译内核和文件系统流程有了一定了解,但是对其命令参数用过的还不是很多,可以说是不甚了解,下面介绍一些,希望有用:
- Dec 10 Wed 2014 09:17
linux對於多個MSI中斷向量的支持
- Dec 10 Wed 2014 09:13
MSI-HOWTO
- Sep 03 Wed 2014 18:32
LDDP:零、Linux Device Driver Programming
- Aug 07 Thu 2014 16:39
MSI-HOWTO
- Jul 29 Tue 2014 18:21
使用變數型別的良好習慣
- May 07 Wed 2014 17:51
非開源的驅動程式如何繞過version magic的檢查
非開源的驅動程式如何繞過version magic的檢查
最近在分析Linux核心模組與核心之間的版本耦合關係時,在開發kernel driver時,總是會遇到討人厭的vermagic檢查,只要目前在run的kernel版本跟driver編譯時用的kernel版本不一致,就沒辦法insmod。
比如要將第三方的驅動”ntfs.ko”加入帶android HoneyComb系統中。然後insmod。結果報錯:
- Nov 13 Wed 2013 09:40
Linux Device Drivers ─ Debug 訊息開關
- Jul 31 Tue 2012 09:35
Linux 2.6.36以後file_operations和DECLARE_MUTEX 的變化
Linux 2.6.36以後file_operations和DECLARE_MUTEX 的變化
今天嘗試移植了2.6.38的內核到AT91SAM9260上,在編譯驅動時發現從2.6.36的內核開始,include/linux/semaphore.h 和 include/linux/fs.h中有了兩處變化與驅動相關:
1, 在include/linux/semaphore.h 中
- Jul 20 Fri 2012 17:40
ldd3 源码编译之 scullc 字符设备驱动
- Jan 11 Wed 2012 19:10
HWMON
Recommended Kernel Configuration
Code maturity level options [*] Prompt for development and/or incomplete code/drivers Device Drivers I2C support <M> I2C support <M> I2C device interface I2C Algorithms <M> (configure all of them as modules) I2C Hardware Bus support <M> (configure all of them as modules) I2C Hardware Sensors Chip support (up to 2.6.12) <M> (configure all of them as modules) Hardware Monitoring support (since 2.6.13) <M> (configure all of them as modules)
- Aug 30 Tue 2011 10:29
SD and Mmc Controller Driver