ArmIntegratorCPLinux
ARM Integrator CP Platform
This page includes information for the
ArmIntegratorCP platform configured for ARM926EJ-S and Linux2.6.
The platform is included as part of the standard OVPsim download package.
You can download a self installer that includes the platform source, all peripherals, and a binary of Linux2.6 - in fact everything you need to boot and start to use the ARM Integrator Virtual Platform running Linux2.6.
To run the platform you do need an OVPsim license key.
| [for Windows] IntegratorCP booting Linux on ARM926EJ-S or Cortex-A9UP (32.71 MB) ARM IntegratorCP Virtual Platform including ARM926EJ-S and Cortex-A9UP, all peripherals and software to boot Linux2.6 in under 10 secs. |
| [for Linux] IntegratorCP booting Linux on ARM926EJ-S or Cortex-A9UP (35.9 MB) ARM IntegratorCP Virtual Platform including ARM926EJ-S and Cortex-A9UP, all peripherals and software to boot Linux2.6 in under 10 secs. |
This standard download includes the ARM IntegratorCP platform, peripherals, and Linux2.6 image.
When downloaded, double-click on the installer (Windows32.exe or Linux32.exe) and follow the simple instructions.
Diagram
Compiling User Programs, and adding to disk image
The following sections illustrate how user applications can simply be added into a ramdisk for the Linux system. And then run within the ArmIntegratorCP virtual platform. In this example we are building and adding the 'benchmarks' user applications provided in the zip file benchmarks.zip, which includes a Makefile, into the ramdisk.
On a Linux host Machine
Firstly download the ARM linux toolchain from CodeSourcery
http://www.codesourcery.com/sgpp/lite/arm/portal/release858∞
Install this toolchain on your disk
Build benchmark applications in the following manner
% make -C benchmarks TOOLDIR=<pathToCompilerInstallation> all
This will create several executables, now we want to add this to our ramdisk
Extract the current Ramdisk 'fs.img' to file system
% unpackImage.sh fs.img fs
Copy benchmarks into the file system
% cp -r benchmarks fs
Package filesystem back into a ramdisk
% packImage.sh fs fs.img
Re run the simulator, this time there will be a top level directory called 'benchmarks', which contains the applications build in the previous steps these can now be executed in the simulated Linux
On a Windows host Machine with Msys/Mingw
Firstly download the ARM linux toolchain from CodeSourcery
http://www.codesourcery.com/sgpp/lite/arm/portal/release858∞
Install this toolchain on your disk
you will also need a windows version of cpio, this can be found at
http://sourceforge.net/projects/gnuwin32/files/cpio/cpio-2.6-2.exe/download∞
Install cpio, and ensure it appears on your path in the msys shell
Build benchmark applications in the following manner
% make -C benchmarks TOOLDIR=<pathToCompilerInstallation> all
Unfortunately under windows we cannot unpack the image to a filesystem because windows does not understand symbolic links, which are present on the simulated disk, So under Windows we will simply append the files onto the existing image
% appendImage.sh benchmarks fs.img newfs.img
% mv newfs.img fs.img
Re run the simulator, this time there will be a top level directory called 'benchmarks', which contains the applications build in the previous steps these can now be executed in the simulated Linux
| Download script to pack a directory into a disk image packImage.sh / 164 Bytes |
| Download script to unpack a disk image to a directory unpackImage.sh / 167 Bytes |
| Download script to append a program onto a disk image appendImage.sh / 422 Bytes |
| Download zip file containing benchmarks benchmarks.zip / 21.01 KB |
ArmHoldingsPlatforms ImperasPage