3.2.1. Baseboard parameters

Table 3.2 lists the EB RTSM instantiation time parameters that you can change when you start the model. The syntax to use in a configuration file is:

baseboard.component_name.parameter=value

Table 3.2. EBBaseboard Model instantiation parameters

Component nameParameterDescriptionTypeValuesDefault
eb_sysregs_0user_switches_ valueswitch S6 settingintegersee Switch S60
eb_sysregs_0boot_switch_ valueswitch S8 settingintegersee Switch S80
flashldr_0fnamepath to flash image filestringvalid filename[empty string]
flashldr_1fnamepath to flash image filestringvalid filename[empty string]
mmcp_mmc_filemultimedia card filenamestringvalid filenamemmc.dat
pl111_clcd_0pixel_double_ limitsets threshold in horizontal pixels below which pixels sent to framebuffer doubled in size in both dimensionsinteger-0x12c
smcREMAPindicates which channel of the SMC is bootable integer-1, 0-7-1 (no remap)
sp810_sysctrluse_s8indicates whether to read boot_switches_valuebooleantrue/falsefalse
vfs2mountmount point for the host filesystemstringsee Mount names[empty string]

Switch S6

Switch S6 is equivalent to the Boot Monitor configuration switch on the EB hardware. Default settings are listed in Table 3.3. If you have the standard ARM Boot Monitor flash image loaded, the setting of switch S6-1 changes what happens on model reset. Otherwise, the function of switch S6 is implementation dependent. If you want to write the switch position directly to the S6 parameter in the model, you must convert the switch settings to an integer value from the equivalent binary, where 1 is on and 0 is off.

Table 3.3. Default positions for EB System Model switch S6

SwitchDefault PositionFunction in default position
S6-1OFFDisplays prompt allowing Boot Monitor command entry after system start.
S6-2OFFSee Table 3.4.
S6-3OFFSee Table 3.4.
S6-4 to S6-8OFFReserved for application use.

If S6-1 is in the ON position, the Boot Monitor executes the boot script that was loaded into flash. If there is no script, the Boot Monitor prompt is displayed.

The settings of S6-2 and S6-3 affect STDIO source and destination on model reset as defined in Table 3.4.

Table 3.4. STDIO redirection

S6-2S6-3OutputInputDescription
OFFOFFUART0UART0STDIO autodetects whether to use semihosting I/O or a UART. If a debugger is connected, STDIO is redirected to the debugger output window, otherwise STDIO goes to UART0.
OFFONUART0UART0STDIO is redirected to UART0, regardless of semihosting settings.
ONOFFCLCDKeyboardSTDIO is redirected to the CLCD and keyboard, regardless of semihosting settings.
ONONCLCDUART0STDIO output is redirected to the LCD and input is redirected to the keyboard, regardless of semihosting settings.

Further information on Boot Monitor configuration and commands can be found in separate documentation. See the Emulation Baseboard User Guide (Lead Free).

Switch S8

Switch S8 is disabled by default. To enable it, before you start the model you must change the state of the parameter baseboard.sp810_sysctrl.use_s8 to true. See Baseboard parameters.

If you have a Boot Monitor flash image loaded, switch S8 allows you to remap boot memory. On reset, the EB hardware starts to execute code at 0x0, which is typically volatile DRAM. You can put the contents of non-volatile RAM at this location by setting the S8 switch in the EB RTSM CLCD as shown in Table 3.5. The settings take effect on model reset.

Table 3.5. EB System Model switch S8 settings

Switch S8[4:1]Memory RangeDescription
00000x40000000 - 0x4FEFFFFFNOR flash remapped to 0x0
00010x44000000 - 0x47FFFFFFNOR flash remapped to 0x0
00100x48000000 - 0x4BFFFFFFSRAM remapped to 0x0

Note

Attempting to change switch S8 settings after the model has started, for example by using the CLCD DIP switches, can lead to unpredictable behavior.

Copyright © 2008 ARM Limited. All rights reserved.ARM DUI0424B
Non-ConfidentialUnrestricted Access