richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

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

RVDS Load Linux Kernel Script

六月 30th, 2009 · No Comments

用 RVDS 的時候, 如果只是要拿來 Load kernel,  可以用以下這個簡單的 script. 自動 connect 到 Realview ICE, load kernel , run, 再 disconnect.
connect 『@MPCore_0@RVI』
stop
readfile,raw,nowarn 『<path to >/bootpImage』=0×100000
WAIT=OFF
go
disconnect,nodebug 『@MPCore_0@RVI』

bglobal, disable 『data abort』
bglobal, disable 『prefetch abort』
這二個指令在 Trace32 時, 就可以讓 Linux booting 起來, 但是這一招在 RealView ICE 似乎沒有用. 要 disconnect 之後, 進到 kernel 再 connect.
當有了 shell script 之後, 就可以不用進 RVDS 的 GUI mode [...]

[Read more →]

Tags: 隨手札記