You copied the Doc URL to your clipboard.

5.2. config.txt generic motherboard configuration file

You can use the USB-B configuration port on the Motherboard Express, V2M-P1, or the USB port on the custom motherboard, to update the config.txt generic board configuration file from your workstation to the root directory of the USBMSD flash.

Example 5.2 shows a configuration file that you can load to the microSD card on the Motherboard Express, V2M-P1.

Note

  • Colons (:) indicate the end of commands and must be separated by a space character (0x20) from the value fields.

  • Semicolons (;) indicate comments.

TITLE: Versatile Express Configuration File

[CONFIGURATION]
AUTORUN: FALSE                  ;Auto Run from power on
TESTMENU: FALSE                 ;MB Peripheral Test Menu

UPDATE: FALSE                   ;Force JTAG and FPGA update to DBs
VERIFY: FALSE                   ;Force FPGA verify to DBS

SLIDESHOW: FALSE                ;CLCD Slideshow
MUXFPGA: MB                     ;MB or DB1 or DB2
DVIMODE: VGA                    ;VGA or SVGA or XGA or SXGA or UXGA

MBLOG: TRUE                     ;LOG MB MICRO TO UART1 in run mode
DBLOG: TRUE                     ;LOG DB MICRO TO UART2/3 in run mode

USERSWITCH: 00000000            ;UserSwitch[7:0] in binary
CONFSWITCH: 00000000            ;Configuration Switch[7:0] in binary
ASSERTNPOR: FALSE               ;External resets assert nPOR
WDTRESET: RESETMB               ;Watchdog reset options NONE/RESETMB/RESETDB/
PCIMASTER: DB1                  ;Port Failover DB1/DB2/NONE
MASTERSITE: DB1                 ;Boot Master DB1/DB2
MEMORYMAP: LEGACY               ;Select Memory map LEGACY/AS1
USB_REMOTE: FALSE               ;Selects remote command via USB

MACADDRESS: OxFFFFFFFFFFFF      ;MAC Address

Example 5.3 shows a configuration file that you can load to the microSD card on the custom motherboard.

TITLE: Versatile Express Configuration File

[CONFIGURATION]
AUTORUN: FALSE                  ;Auto Run from power on
TESTMENU: FALSE                 ;MB Peripheral Test Menu

UPDATE: FALSE                   ;Force JTAG and FPGA update to DBs
VERIFY: FALSE                   ;Force FPGA verify to DBS

ASSERTNPOR: FALSE               ;External resets assert nPOR
MEMORYMAP: LEGACY               ;Select Memory map LEGACY/AS1
USB_REMOTE: FALSE               ;Selects remote command via USB

MACADDRESS: OxFFFFFFFFFFFF      ;MAC Address

CONFIGURATION section

The [CONFIGURATION] section of the config.txt file defines generic settings that you can use for any motherboard variant.

AUTORUN, TESTMENU, UPDATE, VERIFY, SLIDESHOW, MBLOG, DBLOG, and ASSERTNPOR are control values that you can set to TRUE or FALSE. Set to FALSE for default operation.

AUTORUN

Forces the motherboard to enter the power-up sequence when power is applied, or the Hardware RESET button is pressed.

TESTMENU

Display the test menu on the terminal display connected to UART0. This is typically only used for test purposes. It runs the full motherboard peripheral self-test on startup.

UPDATE

Force updates of the daughterboard JTAG devices and the FPGAs. This is typically only used for test purposes. It forces all of the images in the system to be updated from the micro SD card.

VERIFY

Force verification of the daughterboard FPGAs. This is typically only used for test purposes. This performs a verify on the daughterboard Nand Flash.

SLIDESHOW

Display a series of images to the CLCD display. This is typically only used for test purposes.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

MUXFPGA

Selects the device to which to supply video and audio to the DVI-I connector: DB1, default, DB2, or MB.

DB1 is the CoreTile Express daughterboard fitted to Site 1 of the Motherboard Express, V2M-P1, and typically has a CLCD controller. DB2 is the LogicTile Express in Site 2, and you can use it if a custom CLCD controller is implemented in the FPGA. The MB CLCD controller is used if neither of the daughterboards has its own controller.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

DVIMODE

Selects the default resolution for the DVI-I output as VGA, SVGA, XGA, SXGA or UXGA.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

MBLOG

Specify as TRUE to have the output from the MCC sent to the UART1 in run mode.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

DBLOG

Specify as TRUE to have the output from DB1 Daughterboard Configuration Controller sent to UART2 and the output from DB2 Daughterboard Configuration Controller sent to UART3 in run mode.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

USERSWITCH

Load the soft user switch. Your applications can read this. See the Motherboard Express μATX Technical Reference Manual.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

This switch is not used for system configuration, but you can use it for application code, for example Boot Monitor.

CONFSWITCH

Load the soft configuration switch. Your applications can read this. See the Motherboard Express μATX Technical Reference Manual.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

This switch is not used for system configuration, but you can use it for application code.

ASSERTNPOR

Determines whether the nPOR reset signal is also asserted when an external source asserts nRST. You can generate this through a JTAG nSRST signal, or by pressing the ON/OFF/Soft Reset briefly in run mode.

WDTRESET

Selects the action to be performed when the Watchdog peripheral on the MotherBoard generates a reset. RESETMB reboots the motherboard, and RESETDB resets the daughterboard fitted to Site 1 of the Motherboard Express, V2M-P1. NONE ignores the reset.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

PCIMASTER

Selects the PCI failover mode. DB1 selects Site 1 of the Motherboard Express, V2M-P1, as the upstream port. DB2 selects Site 2 as the upstream port. NONE selects failover not enabled.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

MACADDRESS

This entry can specify a new value for the LAN MAC address. The new value overwrites the default LAN MAC address that the LAN controller uses.

The default LAN MAC address is permanently stored in an EEPROM associated with the LAN controller. To restore the default LAN MAC address, set MACADDRESS to 0xFFFFFFFFFFFF.

MASTERSITE

Selects the site of the Motherboard Express, V2M-P1, where the processor core is to boot from.

Note

This setting is valid only for the Motherboard Express, V2M-P1, config.txt file.

MEMORY_MAP

Selects the ARM Legacy map or the ARM Cortex-A Series memory map.

USB_REMOTE

Enables remote commands through USB.