You copied the Doc URL to your clipboard.

Command-line examples for booting Android

These typical command lines show you how to boot Android to use the Generic Graphics Accelerator.

Note

The name of the Sidechannel plugin in these command lines is case-sensitive.

32-bit Android for Linux

The following command-line example shows you how to boot 32-bit Android to use the Generic Graphics Accelerator in Linux.

../models/Linux64_GCC-4.1/FVP_VE_Cortex-A15x1 \
boot/rtsm/linux-system-semi.axf \
--plugin ../plugins/path_of_Sidechannel.so \
-C DEBUG.Sidechannel.interceptor=path_of_libReconciler.so \
-C motherboard.smsc_91c111.enabled=1 \
-C motherboard.vis.disable_visualisation=0 \
-C motherboard.hostbridge.userNetworking=1 \
-C motherboard.hostbridge.userNetPorts=5204=6565 \
-C motherboard.mmc.p_mmc_file=linaro-android-vexpress-lsk-14.10.img

In this example, ../models/Linux64_GCC-4.1/FVP_VE_Cortex-A15x1 is a Fast Model FVP.

The following parameters that are used in the command line shown above are relevant to the Generic Graphics Accelerator:

  • The parameter --plugin ../plugins/path_of_Sidechannel.so instructs Fast Models to load the plugin Sidechannel.so, which communicates between the host and the target.
  • The parameter -C DEBUG.sidechannel.interceptor=path_of_libReconciler.so instructs the Reconciler to use the Side Channel Plugin to intercept Fast Models.

64-bit Android for Linux

The following command line example shows you how to boot 64-bit Android to use the Generic Graphics Accelerator in Linux.

../../models64/Build_AEMv8A-AEMv8A/Linux64_GCC-4.1/FVP_Base_AEMv8A-AEMv8A \
--plugin ../../plugins/path_of_Sidechannel.so \
-C DEBUG.Sidechannel.interceptor=path_of_libReconciler.so \
-C pctl.startup=0.0.0.0 \
-C bp.secure_memory=0 \
-C cluster0.NUM_CORES=1 \
-C cluster1.NUM_CORES=0 \
-C cache_state_modelled=0 \
-C bp.hostbridge.userNetworking=1 \
-C bp.hostbridge.userNetPorts=5212=6565 \ 
-C bp.smsc_91c111.enabled=1 \  
-C bp.smsc_91c111.mac_address=auto \
-C bp.pl011_uart0.untimed_fifos=1 \
-C bp.secureflashloader.fname=bl1.bin \
-C bp.flashloader0.fname=fvp_fip.bin \
-C bp.flashloader1.fname=uefi-vars.fd \
-C bp.virtioblockdevice.image_path=../linaro-android-fvp_v8-lcr-14.12_build.img

In this example, ../../models64/Build_AEMv8A-AEMv8A/Linux64_GCC-4.1/FVP_Base_AEMv8A-AEMv8A is a Fast Model FVP.

The following parameters that are used in the command line shown above are relevant to the Generic Graphics Accelerator:

  • The parameter --plugin ../../plugins/path_of_Sidechannel.so instructs Fast Models to load the plugin Sidechannel.so, which communicates between the host and the target.
  • The parameter -C DEBUG.sidechannel.interceptor=path_of_libReconciler.so instructs the Reconciler to use the Side Channel Plugin to intercept Fast Models.

Related information

Was this page helpful? Yes No