顯示具有 Linux 標籤的文章。 顯示所有文章
顯示具有 Linux 標籤的文章。 顯示所有文章

2013/04/27

使用 OpenOCD and JTAG Adaptor 調適 ARM Cortex a9 CPU


Topic:
說明如何入門 OpenOCD 和 JTAG Adaptor 
當作ICD(In Circuit Debugger)來調適 ARM Cortex-a9 CPU

Tools:
*OpenOCD: Open Source, offical web, user Guides
*JTAG Adaptor: OpenJTAG (from 100ask 百問網).


聲明:
這邊只是記錄我的學習心得,對於商品的特殊編號或機密我都沒有提到。
沒有任何廣告、公開秘密、毀謗等意圖。
有提到的也是公開的資訊,在我的REF中都有特別說明出處與來源。
如果貴司仍覺不妥,請來信告知。儘快修改。
我也不負任何法律責任,
舉例說明:我說可以用,結果你買了一個,結果不能用,我不會賠你錢。XD

Disclaimer:
Here is just the record of my study without any commercial activity.I don't mention any special number or confidential information for specific product. It is published/open information even I do. And those can be found in my reference list.If you (or your company) still feel uncomfortable with this, PLEASE let me know (e-mail or leave the mesage). I will remove or modify them as soon as possible, Thanks.

I won't be liable for any damage.
For example,once you bought a adaptor because I told you it can work well here, I won't pay indemnity if it can't work.

2013/03/04

(中文試譯) Kernel Space 與 User Space 間的溝通介面介紹


(中文試譯) Kernel Space 與 User Space 間的溝通介面介紹

原文: Kernel Space - User Space Interfaces (version0.8, July 2008)
原作者: Ariane Keller mailto:ariane.zerospam.keller@tik.ee.ethz.ch
 

(圖片出處:http://www.myextralife.com/comic/comic-interface/)


* 版本會一直修改,目前為 v0.1
* 紅色字體為小弟我才疏學淺,不知其中文翻譯應該如何表達
* 綠色字體為我自己的筆記與想法
* 灰色字體TBD (To Be Done) 這部分我保留原文,因為目前我還沒有實際操作過,翻譯起來也無意義。
* 如果對翻譯內容有所疑問與指教,歡迎留言或Mail。
* 如果IE顯示亂碼,請改變編碼: 檢視-> 編碼 -> Unicode(UTF-8)
 
 
murmurings:
之前我閱讀小鄭學長的Blog"軟體學徒forever"。看見他的一個奇妙單元叫"中文試譯"。
我感覺這單元不僅可以提升自己對文章與知識的理解,更可以增加英文能力。感覺真是一舉數得。
很多部份我還沒實作過也沒認真研讀過,我就先放TBD了。
期待未來有天可以補上。

本文開始======================================================================
這篇文章談論到許多有趣的方法關於Kernel(2.6)與使用者空間(User Space)之間的溝通介面。
我們將會解釋到Socket、Procfs、系統呼叫、一般的檔案與記憶體映射處理。請見以下目錄: