目前分類:Driver 其他 (29)

瀏覽方式: 標題列表 簡短摘要

 

 

https://linux.codingbelief.com/zh/storage/flash_memory/emmc/

立你斯 發表在 痞客邦 留言(0) 人氣()

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:

立你斯 發表在 痞客邦 留言(0) 人氣()

http://daydreamer.idv.tw/rewrite.php/read-65.html

在embedded的設備上,driver需要讀取某些設定檔並根據設定值設定硬體,除了ioctl, file read/write之外,最簡單的方式莫過於直接在kernel space進行設定檔的讀寫,不過通常”寫入”這個功能很少用到,所以我略過這個東西不提

立你斯 發表在 痞客邦 留言(0) 人氣()

 

基本上 如果確定 KERNEL版本是跟HERADER 一樣的話

那試著把 BIOS 的 secure boot  關掉試試

立你斯 發表在 痞客邦 留言(0) 人氣()

  1. */2.6.37/include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"

     然後問我這個怎麼消除。我也是第一次注意到這個警告(以前可能有出現,可能我沒有注意吧)。然後我根據後面提供的網址,研讀了一下這份英文資料,發現這個原來是頭檔的使用不當產生的。英文資料翻譯如下:

 

內核頭文件

立你斯 發表在 痞客邦 留言(0) 人氣()

Android kernel 啟動後會執行Init初始化,代碼在 system/core/init 中。
 

立你斯 發表在 痞客邦 留言(0) 人氣()

LTIB 常用命令详解

 

下面再写一点ltib的常用命令参数吧,虽然觉得对其编译内核和文件系统流程有了一定了解,但是对其命令参数用过的还不是很多,可以说是不甚了解,下面介绍一些,希望有用:

立你斯 發表在 痞客邦 留言(0) 人氣()

Linux2.6.30核心版本開始,Linux增加了對於請求多個MSI中斷向量號的支持。

立你斯 發表在 痞客邦 留言(0) 人氣()

來自核心文件/Documentation/pci/MSI-HOWTO.txt

1. 什麼是MSI

MSI全稱Message Signaled Interrupt

立你斯 發表在 痞客邦 留言(0) 人氣()

 

LDDP:一、Linux 裝置驅動程式的概要

立你斯 發表在 痞客邦 留言(0) 人氣()

來自核心文件/Documentation/pci/MSI-HOWTO.txt

1. 什麼是MSI

MSI全稱Message Signaled Interrupt

立你斯 發表在 痞客邦 留言(0) 人氣()

使用變數型別的良好習慣

 



立你斯 發表在 痞客邦 留言(1) 人氣()

printk編輯


printk相當於printf的孿生姐妹,她們一個運行在用戶態,另一個則在內核態被人們所熟知。

立你斯 發表在 痞客邦 留言(0) 人氣()

非開源的驅動程式如何繞過version magic的檢查

最近在分析Linux核心模組與核心之間的版本耦合關係時,在開發kernel driver時,總是會遇到討人厭的vermagic檢查,只要目前在run的kernel版本跟driver編譯時用的kernel版本不一致,就沒辦法insmod。

比如要將第三方的驅動”ntfs.ko”加入帶android HoneyComb系統中。然後insmod。結果報錯:

立你斯 發表在 痞客邦 留言(0) 人氣()

今天在“top”發現一個events/0行程CPU資源佔很高

立你斯 發表在 痞客邦 留言(0) 人氣()

Linux Device Drivers

Debug 訊息開關

 

立你斯 發表在 痞客邦 留言(0) 人氣()

Linux 2.6.36以後file_operationsDECLARE_MUTEX 的變化

  今天嘗試移植了2.6.38的內核到AT91SAM9260上,在編譯驅動時發現從2.6.36的內核開始,include/linux/semaphore.h include/linux/fs.h中有了兩處變化與驅動相關:


1, 在include/linux/semaphore.h

立你斯 發表在 痞客邦 留言(0) 人氣()


立你斯 發表在 痞客邦 留言(0) 人氣()

  • 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) 


立你斯 發表在 痞客邦 留言(0) 人氣()

SD卡驱动原理浅析


http://cupidove.blog.163.com/blog/static/10056622011749047499/

立你斯 發表在 痞客邦 留言(0) 人氣()

1 2