richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

如何確認 uclibc 是有 VFP 最佳化的?

九月 1st, 2010 · No Comments

這標題隨便下的, 只是一個筆記的 Note.

Tags: arm, eabi, GCC, uclibc, VFP

[Read more →]

Tags: ARM · Linux

Patch RVDS 4.0 at Linux

六月 30th, 2010 · No Comments

在 Linux 上上 RVDS 4.0 的 Patch Command 如下

# ~/ARM/bin/linux-pentium/setuplinux.bin patch –source RVDS_4_0_dist_to_4-all-all_stnd.armpatch –target ~/ARM

Tags: arm, Linux, patch, RVDS

[Read more →]

Tags: ARM · Linux

Boot Monitor Flash 基本操作

三月 31st, 2010 · No Comments

ARM PB11MPCore Boot Monitor
Version:    V4.1
Build Date: Oct 24 2007
Tile Site : Tile Not Fitted
Endian:     Little
K:\>

Tags: arm, Boot monitor, flash

[Read more →]

Tags: ARM

[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 的動作.
大致上的訊息是這樣的

# opcontrol –shutdown
Stopping profiling.
Killing daemon.
# Stopping profiling.
Killing daemon.
opreport image:/vmlinux -l -w -g > oprofile.txt
error: no sample files found: profile specification too strict ?

這時請改用 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 · Ubuntu