richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

[ARM][Linux] 建立 ARM 平台的 Debian System

十二月 25th, 2009 · No Comments

在 Embedded system 下, 使用現有的系統驗證 SoC 功能是非常棒的.
最大的好處就是不用到處找工具編一堆有的沒有的, 時間可以花在更重要的地方
像我將 debian 裝好之後, 就可以跑 wireshark 了
本圖中, 最左邊的是 console, 中間的視窗是 EVB 上的 wireshark, 右邊的視窗是 PC 端的 wireshark

真是超好用的……

Tags: arm, ARM11, debian, debootstrap

[Read more →]

Tags: Embedded · Linux

Linux kernel PCI Domains Support for ARM

十二月 17th, 2009 · No Comments

Linux kernel 支援不同 domain 的 PCI, 看起來是 ACPI 的功能之一.
其他平台看起來也有支援, 像是 sparc or mips 都有.
但是在 ARM 上並沒有這樣的支援
我的平台有 2 個 PCIe Host Controller , 而且都要設定在 PCIe bus 0 上面.
這時就拿 PCI domain 的 code 來用最快,
以下就是 Sample Code 和 ARM 部份的 Patch Code (不含我目前使用平台的 Patch)

Tags: arm, kernel, Linux, PCI

[Read more →]

Tags: 隨手札記

ARM 的 Oprofile

十二月 12th, 2009 · 4 Comments

最近在弄 ARM11 的 Oprofile, 結果發現執行 opcontrol 的動作之後, 沒有 log 的動作.
這時請改用 timer interrupt
在 load oprofile modules 加上 timer=1
若是 static link 時, 就要在 boot_cmd 加上 oprofile.timer=1
似乎目前的 kernel oprofile 不支援 ARM11MPCore.
http://oprofile.sourceforge.net/doc/detailed-parameters.html#timer

Tags: arm, ARM11, kernel, Linux, oprofile

[Read more →]

Tags: Embedded

Sharp ARM Base Netbook PC-Z1 NetWalker

九月 28th, 2009 · 3 Comments

最近 Sharp 開始出售第一台 ARM Base 的 Netbook , 取名 NetWalker
不過說他是 Netbook 我個人覺得這一台的定位比較像是放在比電子字典更強一點點的功能.

Tags: arm, netbook, PC-Z1, SHARP, ubuntu

[Read more →]

Tags: Hardware · Linux

htop cross compile 碰到 undefined references to `rpl_malloc’

八月 20th, 2009 · No Comments

Cross compile htop 碰到的錯誤訊息.
undefined references to `rpl_malloc’
下這行指令就好了
# ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes ./configure –with-gnu-ld –host=arm-linux

Tags: arm, htop, rpl_malloc

[Read more →]

Tags: 隨手札記

ARM RealView ICE, RealView Trace 開箱文

十二月 22nd, 2008 · 5 Comments

最近公司買了 ARM Realview ICE 和 RealView Trace.
所以就照一照, 弄個開箱文. 這二台加起來超過 US$7,000.- 以上
RealView Development Suite Professional Floating License 要價 US$12,000.- 以上, 軟體果然比硬體貴多了
我猜 ARM 應該覺得大家都會用盜版呀….

Tags: arm, Realview ICE, Realview Trace, 開箱文

[Read more →]

Tags: Embedded · 工作

[新聞][想法] Ubuntu announces ARM port

十一月 21st, 2008 · 1 Comment

原文在 http://linuxdevices.com/news/NS9527593286.html
節錄如下:
Canonical announced it will port Ubuntu Desktop Linux to the ARMv7 architecture. Targeted at netbooks, the Ubuntu ARM distribution could set the stage for Intel to lose the 『software advantage』 that has enabled x86 to shrug off attacks from other architectures for the last 30 years.
沒有想到 ARM netbook 來的這麼快, OLPC 的構想, eeePC 的成功, 到現在 [...]

[Read more →]

Tags: Embedded · Hardware · kubuntu

[新聞][想法] Google 瀏覽器引擎可在 ARM 平台執行.

十月 30th, 2008 · 3 Comments

原文在 EETIME Google’s browser engine running on ARM
節錄內文如下
Google has ported a core part of its new browser to the ARM processor as well as to the x86. Google co-founder Sergey Brin said all or parts of the new Chrome browser could be available for mobile devices such as cellphones within a few months.
個人的想法是, 果然 Google [...]

[Read more →]

Tags: Embedded · Hardware

[新聞][想法] ARM想進入迷你筆電市場

十月 16th, 2008 · 7 Comments

其實進入 Netbook 這個市場, 對 ARM 來說應該不是這麼難, 現在 ARM CPU 的 Performance 不比當年了, 重點是價格相對於ATOM 的系統會便宜很多.
搭配 ARM 的公司幾乎都是做 SoC. 成本還比 ATOM 低.
至於效能嘛, 當然還是差了一點, 不過買 Netbook 的人會很在意效能嗎?
以目前我們在規劃的產品來說, ARM11 MPCore, PCIe, SATA, Gigabit Nic , LCD Control, 2D/3D 加速引擊, 己經具備了低階 Netbook 所需的元素, 問題就在於, 怎麼樣整合 Linux 進來用.  要和誰合作?
而市場目標是什麼, 投票用 Linux, 教學用, 還是家用多媒體環境呢?
像 ARM 都是客制化市場, 或許出可以放 FullHD 的類 eeeBox 也不是不可能.
而成本還更低, [...]

[Read more →]

Tags: Embedded · Hardware · Linux · 工作

[ARM] chroot 出現 Message 『Illegal Instruction』

二月 21st, 2008 · 2 Comments

記錄一下,
不僅僅是 chroot 以外, 如果執行任何程式有 『Illegal Instruction』 時, 記得將 kernel 的 NWFPE 選項 enable.

Tags: arm, kernel, Linux

[Read more →]

Tags: Embedded · Hardware · Linux