Changes between Version 9 and Version 10 of TBR/BSP/Leon3


Ignore:
Timestamp:
Apr 6, 2012, 4:17:07 PM (7 years ago)
Author:
Daniel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Leon3

    v9 v10  
    2323The LEON3 BSP has support for the RTEMS console interface and the debug UART interface (printk). The first UART found is by default selected as debug and system console. However, it is possible to override the default settings by declaring a integer named 'debug_uart_index' or/and the 'syscon_uart_index'. Setting the variable to N will select the Nth UART for either debug UART or system console. Note that on a AMP system (RTEMS MP) the default is to user APBUART[0] for CPU0, APBUART[1] for CPU1 and so on.
    2424
    25 The console driver operates the UART in polling mode only.
     25/dev/console_a is by default renamed /dev/console and assigned minor=0, but the user can select /dev/console_['a'+N] to be renamed to /dev/console by setting syscon_uart_index=N. See table below.
     26
     27MINOR    DEVICE-FS-NAME       UART
     280        /dev/console         Default /dev/console_a, user selectable
     291        /dev/console_a       APBUART[0]   (missing by default)
     302        /dev/console_b       APBUART[1]
     31...
     32
     33On a MP system the console renamed to /dev/console is selected by CPU index (LEON3_Cpu_Index). /dev/console_['a' + LEON3_Cpu_Index] is
     34renamed unless overridden. Resource sharing is performed by the user, one should not open/access a console that another OS instance uses.
     35
     36At the time of writing, the console driver operates the UART in polling mode only.
    2637= Boards =
    2738