richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

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: 隨手札記