8.3.1 Command-line examples for booting Android

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

Each example uses a different Fast Models FVP. The first line of the example identifies the FVP. The parameters to the FVP that are relevant to the Generic Graphics Accelerator are:

--plugin ../plugins/<path_of_Sidechannel.so>
Instructs Fast Models to load the Sidechannel plugin, which communicates between the host and the target. It is named Sidechannel.so on Linux or Sidechannel.dll on Windows. The name is case-sensitive
-C DEBUG.sidechannel.interceptor=<path_of_libReconciler.so>
Specifies the location of the Reconciler plugin to load. It is named libReconciler.so on Linux or Reconciler.dll on Windows.

Note:

These command lines use adb port number 5212 on the host as an example, mapping to adbd port number 6565 on the Android target. The host port number can be changed as required. The adbd port number on the Android target is 5555 by default.

32-bit Android on Linux

The following Linux command-line example boots 32-bit Android to use the Generic Graphics Accelerator.

../../models/Linux64_GCC-5.4/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=5212=6565 \
-C motherboard.mmc.p_mmc_file=linaro-android-vexpress-lsk-14.10.img

64-bit Android on Linux

The following Linux command-line example boots 64-bit Android to use the Generic Graphics Accelerator.

../../models64/Build_AEMv8A-AEMv8A/Linux64_GCC-5.4/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

32-bit Android on Windows

The following Windows command-line example boots 32-bit Android to use the Generic Graphics Accelerator.

..\..\models\FVP_VE_Cortex-A17x1.exe \
boot\rtsm\linux-system-semi.axf \
--plugin ..\..\..\plugins\<path_of_Sidechannel.dll> \
-C DEBUG.Sidechannel.interceptor=<path_of_Reconciler.dll> \
-C motherboard.smsc_91c111.enabled=1 \
-C motherboard.vis.disable_visualisation=0 \
-C motherboard.hostbridge.userNetworking=1 \
-C motherboard.hostbridge.userNetPorts=5212=6565 \
-C motherboard.mmc.p_mmc_file=linaro-android-vexpress-lsk-14.10.img
-C cluster.cpu0.semihosting-cmd_line="--kernel boot\uImage \
--dtb boot\rtsm\rtsm_ve-ca15x1-t6xx.dtb \
--initrd boot\uInitrd -- console=tty0 console=ttyAMA0,38400n8 \
rootwait ro init=//init androidboot.console=ttyAMA0"

64-bit Android on Windows

The following Windows command line example boots 64-bit Android to use the Generic Graphics Accelerator.

..\..\models\FVP_Base_Cortex-A57x1.exe \
--plugin ..\..\..\..\plugins\<path_of_Sidechannel.dll> \
-C DEBUG.Sidechannel.interceptor=<path_of_Reconciler.dll> \
-C pctl.startup=0.0.0.0 \
-C bp.secure_memory=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.ve_sysregs.mmbSiteDefault=0 \
-C bp.virtioblockdevice.image_path=../linaro-android-6.0.0_r26-fvp_v8-lcr-15.11_build.img
Non-ConfidentialPDF file icon PDF versionARM 100965_1101_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.