Suddenly, I move my interest to multi-core systems scheduling.
(The setting for latest version RTEMS is here)
This article only contents the configuration you can use to build up the RTEMS with BSP realview_pbx_a9_qemu_smp, which delivered the kernel with SMP support and the official SMP example in RTEMS ver 4.11.
(Suppose you have rtems cross compiler in your host with ver 4.11)
To have a full test-suites for the smptest or sptest/mptest, the option of --enable-tests should be "yes". The BSP for SMP should be realview_pbx_a9_qemu_smp bsp rather than real-view_pbx_a9_qemu.
I suppose you can follow the tutorial or instructions in Quick Start of RTEMS's documents and build up the toolchain of arm-rtems4.11.
After you extract the source code and create a build folder:
In the source code folder, you type:
./bootstrap
In the build folder, you configure the installation:
../rtems/configure --target=arm-rtems4.11 --enable-rtemsbsp=realview_pbx_a9_qemu_smp --enable-smp --enable-tests=yes --enable-networking --enable-posix --prefix=$HOME/RTEMS-work/compiler/4.11
Suppose that you have installed QEMU for ARM, The way to deploy QEMU for SMP (the number of processors should be larger than 1, for example here is 10):
qemu-system-arm -no-reboot -nographic -M realview-pbx-a9 -m 256M -kernel smp01.exe -smp 10
You can do more detailed configuration by referring to the manual of QEMU.
Ref:
http://rohiniwithrpi2.blogspot.de/2015/08/debugging.html
(The setting for latest version RTEMS is here)
This article only contents the configuration you can use to build up the RTEMS with BSP realview_pbx_a9_qemu_smp, which delivered the kernel with SMP support and the official SMP example in RTEMS ver 4.11.
(Suppose you have rtems cross compiler in your host with ver 4.11)
To have a full test-suites for the smptest or sptest/mptest, the option of --enable-tests should be "yes". The BSP for SMP should be realview_pbx_a9_qemu_smp bsp rather than real-view_pbx_a9_qemu.
I suppose you can follow the tutorial or instructions in Quick Start of RTEMS's documents and build up the toolchain of arm-rtems4.11.
After you extract the source code and create a build folder:
In the source code folder, you type:
./bootstrap
In the build folder, you configure the installation:
../rtems/configure --target=arm-rtems4.11 --enable-rtemsbsp=realview_pbx_a9_qemu_smp --enable-smp --enable-tests=yes --enable-networking --enable-posix --prefix=$HOME/RTEMS-work/compiler/4.11
Suppose that you have installed QEMU for ARM, The way to deploy QEMU for SMP (the number of processors should be larger than 1, for example here is 10):
qemu-system-arm -no-reboot -nographic -M realview-pbx-a9 -m 256M -kernel smp01.exe -smp 10
You can do more detailed configuration by referring to the manual of QEMU.
Ref:
http://rohiniwithrpi2.blogspot.de/2015/08/debugging.html
Comments
Post a Comment