Versatile Express. Boot Monitor. Reference Manual. Copyright ARM. All rights reserved. ARM DUI 0465F (ID110612)

Similar documents
PrimeCell Infrastructure AMBA 3 AXI File Reader Master (BP144)

AMBA Remap and Pause. Technical Reference Manual. Revision: r0p0. Copyright 1997 ARM Limited. All rights reserved. ARM DDI 0048AC

Cortex -A53 MPCore Processor Cryptography Extension ARM. Technical Reference Manual. Revision: r0p4

Integrator /CP Board Support Package for Microsoft Windows CE.NET

ARMv8-A Synchronization primitives. primitives. Version 0.1. Version 1.0. Copyright 2017 ARM Limited or its affiliates. All rights reserved.

Offline Shader Compiler. Mali. User Guide. Version: 3.0. Copyright ARM. All rights reserved. ARM DUI 0513B (ID032912)

Trace Debug Tools Version 1.2 Installation Guide

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912)

GPU Offline Shader Compiler. Mali. User Guide. Version: 2.2. Copyright 2009 ARM. All rights reserved. ARM DUI 0513A (ID101409)

ARM. Streamline. Performance Analyzer. Using ARM Streamline. Copyright 2010 ARM Limited. All rights reserved. ARM DUI 0482A (ID100210)

ARM Firmware Suite v1.4 Installation Guide

Page intentionally blank Replace with cover artwork

ARM RealView Versatile/PB926EJ-S Board Support Package for Microsoft Windows CE.NET

ARM DS-5. Using the Debugger. Copyright 2010 ARM. All rights reserved. ARM DUI 0446A (ID070310)

GPU Shader Library. Mali. User Guide. Version: 1.0. Copyright 2009 ARM. All rights reserved. ARM DUI 0510A (ID101409)

Designer ADR-400 AMBA. User Guide. Revision: r3p2. Copyright ARM. All rights reserved. ARM DUI 0333M (ID011213)

CoreTile Express for Cortex-A5

OpenGL ES 2.0 SDK for Android. Mali. User Guide. Version: Copyright 2011 ARM. All rights reserved. ARM DUI 0587A (ID120411)

ARM. Compiler toolchain v4.1 for. Creating Static Software Libraries with armar. Copyright 2011 ARM. All rights reserved. ARM DUI 0590A (ID061811)

Secure software guidelines for ARMv8-M. for ARMv8-M. Version 0.1. Version 2.0. Copyright 2017 ARM Limited or its affiliates. All rights reserved.

AArch64 Virtualization

AMBA Peripheral Bus Controller

SP605 Standalone Applications

ML605 Built-In Self Test Flash Application

VK5100-imx6 Development Platform Quick Start Guide

Model. Integrator. User Guide. Version 1.0. Copyright All rights reserved. ARM DUI 0180A

Creating Flash Algorithms with Eclipse

StrongARM** SA-110/21285 Evaluation Board

PetaLinux SDK User Guide. Eclipse Plugin Guide

ZC706 Built-In Self Test Flash Application April 2015

Revision: 0.30 June Intel Server Board S1200RP UEFI Development Kit Firmware Installation Guide

Developer Application Note: Using the MiniTerm as a Serial LCD Copyright 2008, Genovation, Inc.

SP605 Built-In Self Test Flash Application

MOD-RFID125 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, February 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

Mali Offline Compiler User Guide

Application Note 176. Interrupts on MPCore Development Boards. Released on: 28 March, Copyright 2006, All rights reserved.

MOD-RFID125-BOX User Manual

USB 2.0 Multi-Plus Card Reader/Writer. User s Manual

ARMv8-M processor power management

Phoenix Technologies, Ltd.

ARM CoreLink DPE-400 Data Parity Extension for NIC-400

ML410 VxWorks Workbench BSP and System Image Creation for the BSB Design Using EDK 8.2i SP2. April

DS2 Products Auto-Update Tool BSP

ML605 Built-In Self Test Flash Application

AMBA. Reset Controller ARM. Data Sheet. Open Access

Hardware In The Loop (HIL) Simulation for the Zynq-7000 All Programmable SoC Author: Umang Parekh

MultiBoot and Fallback Using ICAP in UltraScale+ FPGAs

AVR- M16 development board Users Manual

SEMICONDUCTOR PRODUCT INFORMATION

GB-Ware. Quick Guide. Powered by: Tel: Fax Web:

AC701 Built-In Self Test Flash Application April 2015

ML410 VxWorks BSP and System Image Creation for the BSB Design Using EDK 8.2i SP1. April

MOD-RFID1356 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, May 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

Copyright NeoAccel Inc. SSL VPN-Plus TM. NeoAccel Management Console: Firewall version 2.3

Upgrading the MSA1000 for Enhanced Features

December 2002, ver. 1.3 Application Note 191. Six individual interrupts Six-bit priority scheme Five-bit priority scheme plus one individual interrupt

Enterprise Historian TM History Services. Version 2.4/1 Patch 8. Release Notes

The network interface configuration property screens can be accessed by double clicking the network icon in the Windows Control Panel.

Computer Setup (F10) Utility Guide HP Compaq d220 and d230 Microtower

ARM Tool Chain Setup for the Fujitsu MB86R01 Jade Board

Packet Trace Guide. Packet Trace Guide. Technical Note

Reinstalling the Operating System on the Dell PowerVault 745N

i.mx 6UltraLite Evaluation Kit Quick Start Guide s datasheet has been downloaded from at this pag

udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet

Computer Setup (F10) Utility Guide HP Elite 7000 MT Series PCs

Getting Started with FreeRTOS BSP for i.mx 7Dual

GS2K OV SDK User Guide. 1VV Rev

Embest SOC8200 Single Board Computer

Celeron EPIC Computer with GUI and Dual Ethernet SBC4685

LPC1788 Mio Board. User Manual. Revision 1.0 1

PetaLinux SDK User Guide. Firmware Upgrade Guide

ActiveImage Protector 2016R2SP1. Backup and Recovery of Oracle Database Second Edition - March 23, 2017

MITEL PERFORMANCE ANALYTICS

Initial Configuration on ML-Series Card

ARM Cortex processors

Intel Entry Storage System SS4000-E

DTK2410 Specification

WPJ344 Hardware Manual

HMS30C7110. uclinux Developer Guide. Multipurpose Network Processor. SNMP Working Guide. Hynix Semiconductor Inc. Version 0.1

MultiCom/MV 1.0. Comtrol RocketPort Guide. Copyright , Viewpoint Systems, Inc. All Rights Reserved

BIOS Update and Management. Motherboard

Polycom CMA System Upgrade Guide

StrongARM SA-1100 Development Board Firmware Kit

LPC2148 DEV BOARD. User Manual.

HP OmniBook DiagTools. User s Guide

OneSign Virtual Appliance Guide

Installation Quick Start SUSE Linux Enterprise Server 11

ML605 Restoring Flash Contents

Command-Line Interfaces

TITAN AEL Embedded Linux Development Kit. Quickstart Manual

WICED. WICED Development System. Factory Programming Application Note

GPU Shader Development Studio. Mali. User Guide. Version: Copyright ARM. All rights reserved. DUI0504B (ID072410)

ConnectCore 6 Android/Yocto. Getting Started Guide

HMS30C7110. uclinux Developer Guide. Multipurpose Network Processor. Interrupt Controller Guide. MagnaChip Semiconductor Ltd. Version 0.

AN LPC1700 secondary USB bootloader. Document information. LPC1700, Secondary USB Bootloader, ISP, IAP

NN Nortel Communication Server 1000 Linux Platform Base and Applications Installation and Commissioning

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit

FX RFID READER SERIES Embedded SDK Sample Application

Configuring the MSA1000 for Linux or NetWare Environments

Cortex -A53 MPCore Processor Advanced SIMD and Floating-point Extension ARM. Technical Reference Manual. Revision: r0p4

Transcription:

Versatile Express Boot Monitor Reference Manual Copyright 2009-2012 ARM. All rights reserved. ARM DUI 0465F ()

Versatile Express Boot Monitor Reference Manual Copyright 2009-2012 ARM. All rights reserved. Release Information The following changes have been made to this book. Change history Date Issue Confidentiality Change 27 November 2009 A First release 06 August 2010 B Second release 15 October 2010 C Third release 28 March 2011 D Fourth release 22 June 2012 E Fifth release 12 October 2012 F Sixth release Proprietary Notice Words and logos marked with or are registered trademarks or trademarks of ARM in the EU and other countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners. Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder. The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded. This document is intended only to assist the reader in the use of the product. ARM shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product. Where the term ARM is used it means ARM or any of its subsidiaries as appropriate. Confidentiality Status This document is. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to. Product Status The information in this document is final, that is for a developed product. Web Address http://www.arm.com ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. ii

Contents Versatile Express Boot Monitor Reference Manual Chapter 1 Appendix A Versatile Express Boot Monitor Reference 1.1 About the Boot Monitor... 1-2 1.2 About the platform library... 1-3 1.3 Using the Boot Monitor... 1-4 1.4 Boot Monitor command reference... 1-6 Revisions ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. iii

Chapter 1 Versatile Express Boot Monitor Reference This chapter describes using the Versatile Express Boot Monitor provided with the Motherboard Express µatx. It contains the following sections: About the Boot Monitor on page 1-2 About the platform library on page 1-3 Using the Boot Monitor on page 1-4 Boot Monitor command reference on page 1-6. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-1

1.1 About the Boot Monitor This is the standard ARM application that runs when the system is booted. It is built with the ARM platform library. Note Any application that is built using the ARM platform library, or handles its own initialization, can replace the Boot Monitor. The Virtual Express Boot Monitor supports the following functions: General file operations. MultiMedia Card (MMC), CompactFlash (CF), and Secure Digital (SD) card utilities. Loading and running another application. A semihosting server that handles standard ARM semihosting SVC calls. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-2

1.2 About the platform library The ARM platform library handles the system initialization and re-targets the standard C library. To achieve this, it provides a basic I/O subsystem that supports simple device drivers. The platform library provides: A simple terminal driver. UART, PS/2 keyboard, and LCD drivers. Support for semihosting I/O. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-3

1.3 Using the Boot Monitor The Versatile Express Boot Monitor is a collection of tools and utilities designed to help develop applications on the Versatile Express development platform. 1.3.1 Boot Monitor configuration User switches on the motherboard or in the config.txt file control Boot Monitor configuration. USERSWITCH[0] Table 1-1 shows how the setting of USERSWITCH[0] in the config.txt file determines how the Boot Monitor starts after a reset. [0] Description Table 1-1 Function of USERSWITCH[0] OFF ON A prompt is displayed enabling you to enter Boot Monitor commands. The Boot Monitor executes a boot script that has been loaded into an MMC or Secure Digital (SD) card. If a boot script is not present, the Boot Monitor prompt is displayed. The boot script can execute any Boot Monitor commands. It typically selects and runs an application image that has been stored in either NOR flash memory, or on the SD card. You can store one or more code images in flash memory and use the boot script to start an image at reset. Use the SET BOOTSCRIPT command to set the boot script file name from the Boot Monitor. See Table 1-3 on page 1-6. User switch 1 User switch 2 USERSWITCH[2:1] Table 1-2 describes how the setting of USERSWITCH[2:1] controls text input and output for applications STDIO calls and Boot Monitor I/O. Output Input Description Table 1-2 Function of USERSWITCH[2:1] OFF OFF UART0 or console UART0 or console STDIO autodetects whether to use semihosting I/O or a UART. If a debugger is connected and semihosting is enabled, STDIO is redirected to the debugger console window. Otherwise, STDIO goes to UART0. OFF ON UART0 UART0 STDIO is redirected to UART0. This occurs even under semihosting. ON OFF LCD Keyboard STDIO is redirected to the LCD and keyboard. This occurs even under semihosting. ON ON LCD UART0 STDIO output is redirected to the LCD and input is redirected to the UART0. This occurs even under semihosting. The USERSWITCH[2:1] bits do not affect file I/O operations performed under semihosting. Semihosting operation requires a debugger and a JTAG interface device. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-4

USERSWITCH[7:3] The Boot Monitor does not use the USERSWITCH[7:3] bits and these bits are always available for user applications. If a different loader program is present at the boot location, the function of USERSWITCH and CFGSWITCH is implementation-dependent. See the configuration information in the documentation supplied with your motherboard. 1.3.2 Running the Boot Monitor This section describes how to run the Boot Monitor and have it display a prompt to a terminal. The Boot Monitor accepts user commands from the debugger console window or an attached terminal. A command interpreter carries out the necessary actions to complete the user commands. To run Boot Monitor and have it display a prompt to a terminal connected to UART0, set User Switches [0], [1], and [2] to OFF, and reset the system. Standard input and output functions use UART0 by default. The default setting for UART0 is: 38400 baud. 8 data bits. No parity. 1 stop bit. There is no hardware or software flow control. Use these values to configure a terminal application on your PC to communicate with the Boot Monitor. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-5

1.4 Boot Monitor command reference The Boot Monitor is the standard ARM application that runs when the Versatile Express development platform is reset. Note s are accepted in uppercase or lowercase. The Boot Monitor accepts abbreviations of commands if the meaning is not ambiguous. For example, for QUIT, you can type QUIT, QUI, QU, Q, quit, qui, qu, or q. Optional parameters for commands are indicated by [param]. For example DIRECTORY [directory] indicates that the DIRECTORY command can take an optional parameter to specify which directory to list the contents of. If no parameter is supplied, the default is used, in this case, the current directory. Type HELP at the Boot Monitor prompt to display a full list of the available commands. You must set the appropriate switch setting to start the Boot Monitor after reset. See Boot Monitor configuration on page 1-4. The Boot Monitor has the following command sets: The default command set is available when the Boot Monitor starts. See Default command set. This command set remains enabled until you switch to one of the alternate command sets. Entering SDCARD enables the commands for flash memory cards. See MMC, SD, and CompactFlash card sub-menu commands on page 1-8. Entering CONFIGURE enables the configuration commands. See Boot Monitor Configure commands on page 1-9. Entering DEBUG enables the debug commands. See Boot Monitor Debug commands on page 1-11. Entering FLASH enables the flash commands for the NOR flash on the motherboard. See Boot Monitor NOR flash commands on page 1-12. 1.4.1 Default command set Table 1-3 shows the standard Boot Monitor command set for the Versatile Express development platform. Table 1-3 Standard Boot Monitor command set @ script_file ALIAS alias commands CD directory path CLEAR BOOTSCRIPT CONFIGURE Run a script file. Create an alias command alias for the string of commands contained in commands. Change directory. Clear the current boot script. If no boot script is set and the run boot script switch is set the boot monitor will run the default BOOTSCRIPT from flash. Enter the Configure subsystem. You can now execute the commands that Boot Monitor Configure commands on page 1-9 describes. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-6

Table 1-3 Standard Boot Monitor command set (continued) CONVERT BINARY binary_file LOAD_ADDRESS address[entry_point address] COPY file1 file2 Provide information to the system that is required by the RUN command to execute a binary file. A new file with the name binary_file is produced, but with an.exe file extension. Copy file1 to file2. For example, to copy the leds code from the PC to the MMC or SD card, type the following: COPY C:\software\projects\examples\rvds2.0\leds.axf leds.axf Note Remote file access requires semihosting. Use a debugger connection to provide semihosting. CREATE file name DEBUG DELETE file name DIRECTORY [directory] DISPLAY BOOTSCRIPT ECHO text EXIT FLASH HELP [command] LINUX BOOT image name LOAD_ADDRESS address [ENTRY_POINT address] [kernel command line...] Create a new file by inputting text. Enter +++ on a new line to signal the end of the boot script. Enter the debug subsystem. You can now execute the commands that Boot Monitor Debug commands on page 1-11 describes. Delete file name from MMC or SD card or CompactFlash card. List the files in a MMC, SD card, or CompactFlash card directory. Files that are only accessible from semihosting cannot be listed. Display the current boot script. Echo text to the current output device. Exit the Boot Monitor. The processor is held in a tight loop until a JTAG debugger interrupts it. Enter the flash file system for the NOR flash on the Motherboard Express µatx. You can now execute the commands that Boot Monitor NOR flash commands on page 1-12 describes. List the Boot Monitor commands. Entering HELP followed by a command displays help for that command. Load Linux image image name and run it. If the ENTRY_POINT is specified, it replaces the load address as the entry point. You can specify a text file file name containing the kernel command line. LINUX BOOT image name LOAD_ADDRESS address [ENTRY_POINT address] [FILE file name] LINUX FDT image name LOAD_ADDRESS address LINUX INITRD image name LOAD_ADDRESS address LOAD name Load FDT image image name. Load initrd image image name. Load the image name into memory and run it. M: Change drive, allocated to MMC or SD card. K: Change drive, allocated to CompactFlash card. MKDIR directory path Create a new directory. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-7

Table 1-3 Standard Boot Monitor command set (continued) QUIT REBOOT RESET RENAME old_name new_name RMDIR directory path RUN image_name SDCARD SET BOOTSCRIPT script_file SHUTDOWN TYPE file name VERIFY file1 file2 Alias for EXIT. Exit the Boot Monitor. The processor is held in a tight loop until a JTAG debugger interrupts it. Power down and then restart the system. Perform a reset of the daughterboards. Rename file named old_name to new_name. Remove a directory. Load the image image_name into memory and run it. Enter the SD card subsystem. You can now execute the commands that MMC, SD, and CompactFlash card sub-menu commands describes. Specify script_file as the boot script. This script will run at system reset if the run boot script switch is set. Power down the whole system except for the Motherboard Configuration Controller (MCC) which enters standby state. Display the file file name. Compare two files file1 to file2 and report the first nine errors. 1.4.2 MMC, SD, and CompactFlash card sub-menu commands The Boot Monitor includes a set of MMC, CF, and SD card commands, SDCARD. Enter SDCARD while the main command set is active to enable the SDCARD commands. Table 1-4 shows the commands for the SDCARD sub-menu. Table 1-4 MMC, SD, and CompactFlash card command set EXIT FORMAT drive [QUICK] [VOLUME label] HELP [command] IDENTIFY INFORM drive [CSD CID SCR SDS] Exit the SDCARD commands and return to executing standard Boot Monitor commands that Default command set on page 1-6 describes. Format MMC, SD card, or CompactFlash card for use: drive Specifies the drive letter. QUICK Performs a quick format by overwriting the FAT. VOLUME label Sets the disk label. List the SDCARD sub-menu commands. Entering HELP followed by a command displays help for that command. Display CompactFlash card information. Display SD Card Information: drive Specifies the drive letter. CSD Returns information from the CSD register. CID Returns information from the CID register. SCR Returns information from the SCR register. SDS Issues SD_STATUS command and returns the results. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-8

Table 1-4 MMC, SD, and CompactFlash card command set (continued) INITIALISE [socket] QUIT REBOOT RESET SHUTDOWN If the card has been changed, call INITIALISE to initialize the card and the file system before using any commands, otherwise the behavior is unpredictable and the card can be corrupted. Option [socket] selects different sockets: M Selects MCI 0. K Selects CompactFlash. Alias for EXIT. Exit the SDCARD commands and return to executing standard Boot Monitor commands that Default command set on page 1-6 describes. Power down and then restart the system. Perform a reset of the daughterboards. Power down the whole system except for the Motherboard Configuration Controller (MCC) which enters standby state. 1.4.3 Boot Monitor Configure commands The Boot Monitor includes a set of configuration commands. Enter CONFIGURE while the main command set is active to enable the configuration commands. Table 1-5 shows the commands for the Configure sub-menu. Table 1-5 Boot Monitor Configure command set DISABLE DATA CACHE DISABLE I CACHE DISABLE MMU DISPLAY CLOCK [site name] [POSITION number] [DCC number] [OSC number] Disable the Level 1 data cache. Disable the Level 1 instruction cache. Disable the MMU. Display system clocks information for the oscillator device on the specified card. The options are: site name Valid site names are MB, DB1 or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number OSC number Note Valid controller numbers are from 0 to16. Valid oscillator number for the specified card. The DCC is the Daughterboard Configuration Controller on the daughterboard. DISPLAY CURRENT [site name] [POSITION number] [DCC number] [DEVICE number] DISPLAY DATE Display the current of a device on the specified card. The options are: site name Valid site names are MB, DB1 or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. DEVICE number Valid device number for the specified card. Display the current date. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-9

Table 1-5 Boot Monitor Configure command set (continued) DISPLAY ENERGY [site name] [POSITION number] [DCC number] [DEVICE number] DISPLAY HARDWARE DISPLAY POWER [site name] [POSITION number] [DCC number] [DEVICE device] DISPLAY SCC [site name] [POSITION number] [DCC number] [REGISTER address] DISPLAY TEMPERATURE [site name] [POSITION number] [DCC number] [DEVICE number] Display the requested energy in Joules: site name Valid site names are DB1 or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number Device number Valid controller numbers are from 0 to16. Valid device number for the specified card. Display hardware information, for example, the FPGA revisions. Display the requested power in Watts. Display the contents of the Serial Configuration Controller (SCC) register on the specified daughterboard. The options are: site name Valid site names are DB1 or DB2. POSITION number Valid daughterboard numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. REGISTER address The address of the SCC Register for the specified card. Display the temperature of a device on the specified board. The options are: site name Valid site names are MB, DB1, or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. DEVICE number Valid number for the configuration controller or FPGA on the board. Note If a single device is fitted, number must be 0. If two devices are fitted, number can be 0 or 1. DISPLAY TIME DISPLAY VOLTAGE [site name] [POSITION number] [DCC number] [DEVICE number] ENABLE DATA CACHE ENABLE I CACHE ENABLE MMU EXIT HELP [command] QUIT REBOOT RESET Display the current time. Display the voltage of a device on the specified board. The options are: site name Valid site names are MB, DB1, or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. DEVICE number Enable the Level 1 data cache. Enable the Level 1 instruction cache. Enable the MMU. Valid device number for the specified card. Exit the configure commands and return to executing standard Boot Monitor commands that Default command set on page 1-6 describes. List the configure commands. Entering HELP followed by a command displays help for that command. Alias for EXIT. Exit the Configure commands and return to standard Boot Monitor commands Default command set on page 1-6 describes. Power down and then restart the system. Perform a reset of the daughterboards. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-10

Table 1-5 Boot Monitor Configure command set (continued) RESET ENERGY [site name] [POSITION number] [DCC number] [DEVICE number] Perform a reset of the stored energy measurement. The options are: site name Valid site names are DB1 or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. DEVICE number Valid device number for the specified card. SET BAUD port rate Set the baud rate for the UART port specified. Valid port numbers are 0, 1, 2, 3. SET CLOCK [site name] [POSITION number] [DCC number] [OSC device] FREQUENCY frequency Set the frequency in MHz of the requested oscillator device on the specified board. The options are: site name Valid site names are MB, DB1 or DB2. POSITION number Valid board numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. OSC device Note Valid oscillator device for the specified card. The Boot Monitor does not set any of the clocks on startup. The default values in the motherboard configuration file, board.txt, determines the clock values. SET DATE dd/mm/yy SET MUXFPGA [site name] SET SCC [site name] [POSITION number] [DCC number] REGISTER address DATA value SET TIME hh:mm:ss SHUTDOWN Set date. You can also enter the date as dd-mm-yy. Set the source of the video output for the specified site. The option is: site name Valid site names are MB, DB1 or DB2. Set the value of the e Serial Configuration Controller (SCC) register on the specified daughterboard. The options are: site name Valid site names are DB1 or DB2. POSITION number Valid daughterboard numbers are from 0 to 16. DCC number Valid controller numbers are from 0 to 16. REGISTER address value The address of the SCC Register for the specified card. The value to set for the SCC register. Set time. You can also enter the time as hh-mm-ss. Power down the whole system except for the MCC which enters standby state. 1.4.4 Boot Monitor Debug commands The Boot Monitor includes a set of debug commands. Enter DEBUG while the main command set is active to enable the debug commands. Table 1-6 shows the commands for the Debug sub-menu. Table 1-6 Boot Monitor Debug command set DEPOSIT address value [size] DISABLE MESSAGES ENABLE MESSAGES Load memory specified by address with value. The size parameter is optional. If used, it can be BYTE, HALFWORD, or WORD. The default is WORD. Disable printing of debug messages. Enable printing of debug messages. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-11

Table 1-6 Boot Monitor Debug command set (continued) EXAMINE address EXIT GO address HELP [command] MODIFY address value mask [size] QUIT REBOOT RESET SHUTDOWN START TIMER STOP TIMER Examine memory at address. Exit the debug commands and return to executing standard Boot Monitor commands that Default command set on page 1-6 describes. Run the code starting at address. List the debug commands. Entering HELP followed by a command displays help for that command. Performs read-modify-write at memory specified by address. The current value at the location is ORed with the result of ANDing value and mask. The size parameter is optional. If used, it can be BYTE, HALFWORD, or WORD. The default is WORD. Alias for EXIT. Exit the Debug commands and return to standard Boot Monitor commands that Default command set on page 1-6 describes. Power down and then restart the system. Perform a reset of the daughterboards. Power down the whole system except for the MCC which enters standby state. Start a timer. Stop the timer started with the START TIMER command and display the elapsed time. 1.4.5 Boot Monitor NOR flash commands The Boot Monitor includes a set of NOR flash commands, FLASH. Enter FLASH while the main command set is active to enable the NOR flash commands. Table 1-7 shows the commands for the NOR Flash subsystem. Table 1-7 Boot Monitor NOR flash command set CREATE BOOTSCRIPT [NAME name] [FLASH_ADDRESS address] DISPLAY BOOTSCRIPT [name] DISPLAY IMAGE name ERASE IMAGE name ERASE RANGE start [end] Create a boot script that is stored in flash. The image is identified in flash by the default name BOOTSCRIPT. This can be overridden by using the optional NAME argument. You can specify where in flash the boot script is written using the optional FLASH_ADDRESS argument. Display boot script that is stored in flash. If the optional name is not specified, then the default name BOOTSCRIPT is used. Display information of image name. Erase an image or binary file from flash. Erase an area of NOR flash from the start address to the end address. Note It is only possible to erase entire blocks of flash. Therefore, the entire block of flash that contains start, the block that contains end, and all intervening blocks are erased. This might mean that data before start or after end is erased if they are not on block boundaries. If you do not specify the optional end parameter, only the single block of flash that contains start is erased. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-12

Table 1-7 Boot Monitor NOR flash command set (continued) EXIT HELP [command] LINUX BOOT image name [LOAD_ADDRESS address] [ENTRY_POINT address] [kernel command line] Exit the NOR flash commands and return to executing standard Boot Monitor commands that Default command set on page 1-6 describes. List the flash commands. Entering HELP followed by a command displays help for that command. Load Linux image image name from flash and run it. If the LOAD_ADDRESS or ENTRY_POINT are specified, these replace the programmed load address or entry point. You can specify a text file file name containing the kernel command line. LINUX BOOT image name [LOAD_ADDRESS address] [ENTRY_POINT address] [FILE file name] LINUX FDT image name [LOAD_ADDRESS address] LINUX INITRD image name [LOAD_ADDRESS address] LIST AREAS LIST IMAGES LOAD name QUIT REBOOT RESERVE SPACE address size RESET RUN name SHUTDOWN Load FDT image image name from flash. If the LOAD_ADDRESS is specified, it replaces the programmed load. Load initrd image image name from flash. If the LOAD_ADDRESS is specified, it replaces the programmed load. List areas in flash. An area is one or more contiguous blocks that have the same size and use the same programming algorithm. List images in flash. Load the image image_name into memory. Alias for EXIT. Exit the NOR flash commands and return to standard Boot Monitor commands that Default command set on page 1-6 describes. Power down and then restart the system. Reserve space in NOR flash. The Boot Monitor does not use this space. address is the start of the area and size is the size of the reserved area. Perform a reset of the daughterboards. Load the image name from flash and run it. Power down the whole system except for the MCC which enters standby state. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-13

Table 1-7 Boot Monitor NOR flash command set (continued) UNRESERVE SPACE address WRITE BINARY file [NAME new_name] [FLASH_ADDRESS address] [LOAD_ADDRESS address] [ENTRY_POINT address] Free the space starting at address in NOR flash. The Boot Monitor can use tis space. Write a binary file to flash. By default, the image is identified by its file name. Use NAME new_name to specify a name instead of using the default name. Use FLASH_ADDRESS address to specify where in flash the image is to be located. The optional LOAD_ADDRESS and ENTRY_POINT arguments enable you to specify the load address and the entry point. If an entry point is not specified, the load address is used as the entry point. Note Remote file access requires semihosting. Use a debugger connection to provide semihosting. WRITE IMAGE file [NAME new_name] [FLASH_ADDRESS address] Write an ELF image file to flash. By default, the image is identified by its file name. For example, t:\images\boot_monitor.axf is identified as boot_monitor. Use NAME new_name to specify a name instead of using the default name. Use FLASH_ADDRESS address to specify where in flash the image is to be located. If the image is linked to run from flash, the link address is used and address is ignored. Note Remote file access requires semihosting. Use a debugger connection to provide semihosting. ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. 1-14

Appendix A Revisions This appendix describes the technical changes between released issues of this book. Table A-1 Issue A Change Location Affects No changes, first release - - Table A-2 Differences between issue A and issue B Change Location Affects Note changed in Boot Monitor Configure command set table. The note in the SET CLOCK command is changed to state that the clock values are determined by the default values in the motherboard configuration file, board.txt. Table 1-5 on page 1-9 All versions ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. A-1

Revisions Table A-3 Differences between issue B and issue C Change Location Affects VERIFY file1 file2 command added to Standard Boot Monitor command set. Table 1-3 on page 1-6 All versions DCC number added to Boot Monitor Configure command set in the following commands: DISPLAY CLOCK DISPLAY CURRENT DISPLAY SCC DISPLAY TEMPERATURE DISPLAY VOLTAGE SET CLOCK SET SCC Table 1-5 on page 1-9 All versions LINUX image name [file name] added to Boot Monitor NOR flash command set. Table 1-7 on page 1-12 Issue C Table A-4 Differences between issue C and issue D Change Location Affects Document updated to latest Element Definition Document (EDD). All document All versions LINUX commands added: LINUX image name [command line information] LINUX image name [FILE] [file name] DISPLAY POWER [site name] [POSITION number] [DCC number] [DEVICE device] LINUX image name [command line information] LINUX image name [FILE] [file name] Table 1-3 on page 1-6 Table 1-3 on page 1-6 Table 1-5 on page 1-9 Table 1-7 on page 1-12 Table 1-7 on page 1-12 All versions Table A-5 Differences between issue D and issue E Change Location Affects DISPLAY ENERGY and RESET ENERGY commands added. Table 1-5 on page 1-9 All versions Linux commands changed. Previous Linux commands replaced with the following: LINUX BOOT image name LOAD_ADDRESS address [ENTRY_POINT address] [kernel command line] LINUX BOOT image name LOAD_ADDRESS address [ENTRY_POINT address] [FILE file name] LINUX INITRD image name LOAD_ADDRESS address LINUX FDT image name LOAD_ADDRESS address Linux commands changed. Previous Linux commands replaced with the following: LINUX BOOT image name [LOAD_ADDRESS address] [ENTRY_POINT address] [kernel command line] LINUX BOOT image name [LOAD_ADDRESS address] [ENTRY_POINT address] [FILE file name] LINUX INITRD image name [LOAD_ADDRESS address] LINUX FDT image name [LOAD_ADDRESS address] Table 1-3 on page 1-6 Table 1-7 on page 1-12 All versions All versions ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. A-2

Revisions Table A-6 Differences between issue E and issue F Change Location Affects Updated CLEAR BOOTSCRIPT and SET BOOTSCRIPT commands. Table 1-3 on page 1-6 All versions Added REBOOT, RESET and SHUTDOWN commands. Table 1-3 on page 1-6 Table 1-4 on page 1-8 Table 1-6 on page 1-11 Table 1-7 on page 1-12 All versions Removed Glossary. Added explanations of abbreviations used in document. Throughout document All versions ARM DUI 0465F Copyright 2009-2012 ARM. All rights reserved. A-3