summaryrefslogtreecommitdiff
path: root/docs/03-Linux-kernel-build.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/03-Linux-kernel-build.txt')
-rw-r--r--docs/03-Linux-kernel-build.txt22
1 files changed, 10 insertions, 12 deletions
diff --git a/docs/03-Linux-kernel-build.txt b/docs/03-Linux-kernel-build.txt
index 9252859..7058613 100644
--- a/docs/03-Linux-kernel-build.txt
+++ b/docs/03-Linux-kernel-build.txt
@@ -5,14 +5,13 @@ A suitable Linux kernel image for use with the virtualizer
can be built as follows (GCC toolchain used for these steps is:
CodeSourcery Sourcery G++ Lite 2010.09 v4.5.1)
-$ tar -jxf arm-virtualizer-v2_3-130312.tar.bz2
-$ cd arm-virtualizer-v2_3-130312/bootwrapper
+$ tar -jxf arm-virtualizer-v2_4-170512.tar.bz2
+$ cd arm-virtualizer-v2_4-170512/bootwrapper
$ make clean
$ pushd /tmp
-$ git clone git://linux-arm.org/linux-2.6-lp.git linux-2.6-lp.git
-$ cd linux-2.6-lp.git
-$ git checkout -b a15-hotplug origin/a15-hotplug
-$ yes | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- vexpress_a15_virt_defconfig
+$ git clone git://linux-arm.org/arm-blm.git arm-blm
+$ cd arm-blm
+$ yes | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- vexpress_blm_defconfig
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4
$ popd
$ cp $OLDPWD/arch/arm/boot/Image payload/kernel
@@ -24,10 +23,10 @@ $ make clean && make
.. in the top bootwrapper directory.
This will result in a file called img.axf located at
-arm-virtualizer-v2_3-130312/bootwrapper/img.axf.
+arm-virtualizer-v2_4-170512/bootwrapper/img.axf.
To launch the ARM FastModel with the virtualizer, first modify
-arm-virtualizer-v2_3-130312/bootwrapper/big-little-MP<x>.mxscript
+arm-virtualizer-v2_4-170512/bootwrapper/big-little-MP<x>.mxscript
as usual to fill in paths to the model binary and the img.axf files.
The mxscript file is adequately commented to assist with this.
@@ -44,15 +43,14 @@ string model = "/home/working_dir/models/RTSM_VE_Cortex-A15x4-A7x4";
The path to the img.axf file is specified using the app directive as
follows:
-string app = "arm-virtualizer-v2_3-130312/bootwrapper/img.axf";
+string app = "arm-virtualizer-v2_4-170512/bootwrapper/img.axf";
The model can then be launched using:
-modeldebugger -s arm-virtualizer-v2_3-130312/bootwrapper/big-little-MP<x>.mxscript
+modeldebugger -s arm-virtualizer-v2_4-170512/bootwrapper/big-little-MP<x>.mxscript
Where 'x' is the 1 or 4 respectively in the case of an MP1 model run or an
MP4 model run.
This will result in the Linux kernel console messages appearing the ARM
-FastModel UART emulation window. The virtualizer will switch execution
-between the two clusters at ~12 million instruction intervals.
+FastModel UART emulation window.