19.2.5. Running the example program

The example program supplied can be used to confirm that the ARMv8-A Foundation Platform is working correctly.

Run the platform with the following command line:

./Foundation_v8 --image hello.axf  

Add --quiet to suppress everything except for the output from the example program.

It should print output similar to the following:

terminal_0: Listening for serial connection on port 5000
terminal_1: Listening for serial connection on port 5001
terminal_2: Listening for serial connection on port 5002
terminal_3: Listening for serial connection on port 5003

Simulation is started

Hello, 64-bit world!
Simulation is terminating. Reason: Simulation stopped

The example demonstrates that the platform initializes correctly, loads and executes the example program, and that the semihosting calls to print output and stop the platform working.

Copyright © 2015 ARM. All rights reserved.ARM DEN0024A
Non-ConfidentialID050815