ARM Technical Support Knowledge Articles

Can I boot the Linux kernel on the RTSMs provided with RVDS?

Applies to: RealView Development Suite (RVDS)

Answer

The Real-Time System Models (RTSMs) provided with RVDS are fast functional models of ARM based systems.  They are based on ARM's Versatile Emulation Baseboard (EB) with a Core Tile (CT).  As such the models can use the Kernel, U-Boot and CramFS downloads for the Versatile boards from the ARM website:

  Linux OS Downloads

This FAQ covers booting the Linux kernel with a files system on the ARM1176JZF-S based RTSM.  The steps required for the other RTSMs will be similar, but may vary slightly.

The FAQ assumes a familiarity with RVD, and also with using the Linux operating system.


Instructions

1) From the above link, download:

The kernel image:  "RealView EB and PB" -> RealView-v6

The U-boot image: "RealView EB and PB" -> EB

The file system: "Minimal ARMv6 VFP cramfs"

2) Launch RVD, and open the "Connect to Target" window

3) Add a new configuration under the RTSM section.  Configure the connection as a RTSMEmulationBaseboard_CT1176.dll/.so.  Also set the following parameter:

 baseboard.flashldr_0(FlashLoader) = C:\path\to\Minimal ARMv6 VFP cramfs 

Setting the path as appropriate.

4) Connect to the configuration

5) Load the u-boot_bin_u-boot_realview_eb.axf image to the target

6) Using the Upload/Download Memory File dialog, load the Linux kernel binary to address 0x7fc0.  Alternatively, from the CLI:

readfile,raw,gui
"kernel_bin_2.6.24-arm3_uImage-2.6.24-arm3-realview-v6"=0x7fc0

7) Start execution.  You will see a Telnet terminal open, to which the U-Boot messages are printed.

8) When prompted, press a key to stop auto-boot, and enter the following U-Boot commands:

setenv bootargs root=/dev/mtdblock0 mtdparts=armflash.0:8976k@0x0(cramfs) mem=128M console=ttyAMA0    bootm 0x7fc0

The Linux kernel will then boot.


NOTE: The above setenv command includes the size (8976K) of the file system.  This, and the exact filenames, may change as the downloads are updated regularly.  Please verify the size and file names at time of download.

NOTE: ARM does not offer support for using or booting the Linux kernel.  This FAQ is provided for information purposes only.  For Linux support, please contact the Linux community.

Article last edited on: 2009-09-08 14:12:05

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential