diff options
Diffstat (limited to 'docs/03-Linux-kernel-build.txt')
-rw-r--r-- | docs/03-Linux-kernel-build.txt | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/docs/03-Linux-kernel-build.txt b/docs/03-Linux-kernel-build.txt index 972725a..b5d79b2 100644 --- a/docs/03-Linux-kernel-build.txt +++ b/docs/03-Linux-kernel-build.txt @@ -2,14 +2,15 @@ Building and installing a Linux kernel ====================================== A suitable Linux kernel image for use with the virtualizer -can be built as follows: +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.0-ti-040911.tar.bz2 -$ cd arm-virtualizer-v2.0-ti-040911/bootwrapper +$ tar -jxf arm-virtualizer-v2_1-171111.tar.bz2 +$ cd arm-virtualizer-v2_1-171111/bootwrapper $ make clean $ pushd /tmp -$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/maz/ael-kernel.git ael-kernel.git -$ cd ael-kernel.git +$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git arm-platforms.git +$ cd arm-platforms.git $ git checkout -b ael-11.06 origin/ael-11.06 $ yes | make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- vexpress-new_defconfig $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 @@ -23,10 +24,10 @@ $ make clean && make .. in the top bootwrapper directory. This will result in a file called img.axf located at -arm-virtualizer-v2.0-ti-040911/bootwrapper/img.axf. +arm-virtualizer-v2_1-171111/bootwrapper/img.axf. To launch the ARM FastModel with the virtualizer, first modify -arm-virtualizer-v2.0-ti-040911/bootwrapper/big-little-MP<x>.mxscript +arm-virtualizer-v2_1-171111/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. @@ -43,11 +44,11 @@ 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.0-ti-040911/bootwrapper/img.axf"; +string app = "arm-virtualizer-v2_1-171111/bootwrapper/img.axf"; The model can then be launched using: -modeldebugger -s arm-virtualizer-v2.0-ti-040911/bootwrapper/big-little-MP<x>.mxscript +modeldebugger -s arm-virtualizer-v2_1-171111/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. |