6.11 Instantiating a LinuxBoot example
This section describes how to instantiate a single Exported Virtual Subsystem (EVS) into the virtual platform connected to SystemC components modeling a timer, as well as the application memory with an exclusive monitor, and to boot the Linux operating system.
Procedure
-
Build the EVS_LinuxBoot example system.
Option |
Description |
Linux |
> cd $PVLIB_HOME/examples/SystemCExport/EVS_Platforms/EVS_LinuxBoot/Build_Cortex-A15x1
> ./build.sh
|
Microsoft Windows |
> cd %PVLIB_HOME%\examples\SystemCExport\EVS_Platforms\EVS_LinuxBoot\Build_Cortex-A15x1
> build.bat
|
-
Run the example.
Option |
Description |
Linux |
> ./run.sh
|
Microsoft Windows |
> run.bat
|
The Linux image to load onto the simulation executable is part of the TPIP
package. The
locations are
$PVLIB_HOME/images/RTSM_VE_Linux/RTSM_VE_CLI_V7/RTSM_VE_CLI_V7.axf
or
$PVLIB_HOME/images/RTSM_VE_Linux/RTSM_VE_CLI_V7_LPAE/RTSM_VE_CLI_V7_LPAE.axf,
depending on the processor component, for the application, and
$PVLIB_HOME/images/RTSM_VE_Linux/filesystems/armv5t_min_VE_V7.image
for the image. The provided run script uses the locations automatically.
Depending on the processor component, one, two, or four Linux penguins appear on the LCD
and a terminal window shows the Linux boot messages.