richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

Entries Tagged as 'Hardware'

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

九月 1st, 2010 · No Comments

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

Tags: arm, eabi, GCC, uclibc, VFP

[Read more →]

Tags: ARM · Linux

ubuntu 下安裝 Broadcom wifi driver.

七月 19th, 2010 · No Comments

Linux 下 Broadcom 的 Wifi Driver 可以在 802.11 Linux STA driver 下載到.
不過在 ubuntu 下, 其實這個工作更容易

# sudo apt-get install bcmwl-kernel-source

然後就會下載並且編好 Broadcom Wifi Driver.
會放在 /lib/modules/[kernelversion]/updates/dkms 下
以我的為例, 就會放在

# cd /lib/modules/2.6.32-23-generic-pae/updates/dkms
# ls -lF
-rw-r–r– 1 root root 10812004 2010-07-01 10:16 nvidia-current.ko
-rw-r–r– 1 root root 2138420 2010-07-16 11:55 wl.ko

wl.ko 就是 Broadcom wifi 的 module 了, 接下來就是像一般 Wifi 的用法了.
不過這是 [...]

[Read more →]

Tags: Hardware · Ubuntu

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

[筆記] ubuntu 裝 RVDS.

六月 7th, 2010 · 1 Comment

* 要使用 User right 安裝, 不能 sudo install
* 直接用 ISO file 似乎會有問題
安裝完以後, 在 ubuntu 10.04 的環境下要另外安裝 Openmotif

# wget http://mirrors.kernel.org/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-4_i386.deb
# sudo dpkg -i libmotif3_2.2.3-4_i386.deb

這樣就可以了 .

Tags: openmotif, RVDS, ubuntu

[Read more →]

Tags: ARM · Ubuntu

Android Dev Phone 升級 Eclair (2.1)

四月 30th, 2010 · 4 Comments

其實 Android 升級也不是像想像中麻煩, 但是升級之前需要做很多準備工作, 如果不是熟門熟路的話, 會不知道在做什麼, 但是如果熟悉了以後, 換 ROM 大概就像喝水一樣容易 .
以下就是我花一堆時間升級得到的心得. 希望對大家有用
本文章僅適用於 ADP1 (Android Dev Phone 1), 其他不適合.
其他相同的機型有 HTC Magic 和 T-Mobile G1
* 免責聲明: 任何改機行為皆有極大風險, 請自負風險, 本人不負任何責任 *

Tags: adp, Android, Eclair, HTC Magic, recovery, Security, T-Mobile G1, upgrade, 升級

[Read more →]

Tags: Android

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

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

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

[Linux][Kernel][Memory] smbd: page allocation failure. order:2, mode:0×20

十二月 11th, 2009 · No Comments

如果啟動了 Jumbo Frame 加上執行 Samba , 有可能會出現類似的訊息(系統抓下來似乎有點不全)

Tags: Jumbo Frame, Linux, linux kernel, memory, samba

[Read more →]

Tags: Embedded · Linux