richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

ARM11 BE8 and BE32

四月 8th, 2010 · No Comments

What’s difference between BE8 and BE32?

Tags: ARM11, BE32, BE8, Big-Endian

[Read more →]

Tags: ARM

ARM11 VFP

三月 22nd, 2010 · No Comments

如果要使用 ARM11 的 VFP 功能, 在 compile 時加上 -mfpu=vfp -mfloat-abi=softfp
我是使用 debian for ARM , gcc 4.4.2

Tags: ARM11, GCC, VFP

[Read more →]

Tags: 隨手札記

[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

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