原创 自定義你自己的xubuntu

最近想學習linux driver programming,  買了第三版,作者說,最好自己編譯一個linux出來,我就打算這麼做了。下面這個網址的內容幫助我良多http://www.howtogeek.com/howto/ubuntu/

原创 pmw3100, jeita->fg->charger

too cold, cold, hot, too hot configuration in fg registers. 0x00004162 FG_BATT_INFO_JEITA_TOO_COLD 0x00004163 FG_BATT_I

原创 Using Inline Assembly With gcc

All following are from http://www.cs.dartmouth.edu/~sergey/cs108/2009/gcc-inline-asm.pdf   Assembler Instructions with

原创 why do you need ./ to execute programs in current directory?

Shell 通過保存在PATH環境變量中的文件路徑列表來尋找命令和程序。 環境變量將信息存儲在其他命令和程序可以訪問到的地方,環境變量存儲諸如,你正在使用的shell,你的登錄名,你當前的工作路徑等信息。 爲了查看當前定義的所有環境變量的

原创 基於Newlib庫的PowerPC交叉編譯器的製作

如果有需要轉載,請在使用的地方,隨手附上我的空間地址,謝謝。http://blog.csdn.net/pro_or_gram/article/details/6642079  基於Newlib庫的PowerPC交叉編譯器的製作第一階段:準

原创 Nor Flash 編程

1. 注意Nor Flash的 數據寬度。例如,8-bit, 16-bit等。 它們會在program,erase,read id過程中,產生小小的confusing, 比較好的方式,個人以爲,可以定義一個Macro,如 Addr(ba

原创 Song: San Francisco (Be Sure to Wear Some Flowers in Your Hair)

Song : San Francisco (Be Sure to Wear Some Flowers in Your Hair) Singer: Scott McKenzie If you're going to San Francisc

原创 How To Install Programs In Linux (.gz &.bz & RPM)

一直在使用ubuntu,只會使用 apt-get install 命令來安裝package,今天學習了一下怎麼在linux下本地安裝package,這篇學習的文章是轉載來的, 原載如下鏈接: http://geekdomain.wordp

原创 MPC837xE-rdb開發板上DUART的調試

花了一天時間搞MPC837xE-rdb開發板上DUART的調試。   因爲Application的要求,要使用interrupt-driven 進行Transmit。 一些基本配置,比如 data length,stop bits len

原创 在Ubuntu下,建立下載image文件到Mini2440或者TQ2440開發板的環境

如果需要轉載本文,就註明本文出處,謝謝。 衆所周知,在做這類嵌入式開發,尤其是我們自己在玩開發板的時候,一般,都需要建立起一個下載的環境。 通常,串口工具軟件會使用標準的COMx端口與目標開發板進行通信,控制與顯示,而下載image文

原创 [Python][Numpy] ValueError: Integers to negative integer powers are not allowed.

The code snippet is as follows: >>> for c in np.arange(-5, 5):...     lr = LogisticRegression(C=np.int(10**c), random_

原创 [Keyword]關鍵字

Perception : minimize misclassification errors Support Vector Machine(SVM) : maximize the margin

原创 The Linux Bootdisk HOWTO 之 4. Building a root filesystem 構建根文件系統

4. Building a root filesystem Creating the root filesystem involves selecting files necessary for the system to run. In

原创 ecos linker script

In ECOS, for a specific platform, what relate to linking script are 3 files,   generally,  let's say this is a image ru

原创 Ubuntu Emacs23中,去到某一行的命令。

ubuntu的Linux,在emacs23中打算去到某一行,使用M-g 或者 M-x goto-line 命令卻起不到作用。 在如下的鏈接中,找到了答案。輸入 M-g-g 命令, 就會 提示 Goto line:  在冒號後面輸入目的行號