Changes between Version 17 and Version 18 of TBR/BSP/Leon3


Ignore:
Timestamp:
01/13/15 10:28:00 (9 years ago)
Author:
daniel.cederman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Leon3

    v17 v18  
    1 = Leon3 =
     1= LEON3/4 =
    22
    33
    4 {{Infobox BSP
     4{{{
     5#!comment
     6Infobox BSP
    57|BSP_name     = LEON3
    68|Manufacturer = Aeroflex Inc.
     
    911|Board_URL    = http://www.hitechglobal.com/ipcores/leon3.htm
    1012|Architecture = SPARC V8
    11 |CPU_model    = LEON3
     13|CPU_model    = LEON3/4
    1214|Monitor      =
    1315|Simulator    = TSIM, Modelsim, Ncsim and GHDL
     
    1820|Video        =
    1921|Other        = Also features a built-in disassembler for debug purposes.
    20 }}
     22}}}
    2123
    22 This BSP is for the [http://www.gaisler.com/products/leon3/leon3.html LEON3 SPARC V8 processor] developed by [http://www.gaisler.com Aeroflex Gaisler]. LEON3 is available as a synthesizable VHDL model, allowing custom implementations on FPGA and/or ASIC. The LEON3 BSP probes AMBA Play&Play information for basic peripherals such as interrupt controller, timer, and UART. Probing the Plug&Play makes it possible for the LEON3 BSP to supports many LEON3 based controllers and boards. The LEON3 BSP has also support for the LEON4. The basic peripherals supported:
     24This BSP is for the [http://gaisler.com/index.php/products/processors LEON3/4 SPARC V8 processor] developed by [http://www.gaisler.com Cobham Gaisler]. LEON3/4 is available as a synthesizable VHDL model, allowing custom implementations on FPGA and/or ASIC. The LEON3/4 BSP probes AMBA Plug&Play information for basic peripherals such as interrupt controller, timer, and UART. Probing the Plug&Play makes it possible for the BSP to supports many LEON3/4 based controllers and boards. The basic peripherals supported:
    2325
    2426 *  IRQMP, IRQAMP
     
    2729
    2830The BSP supports three network interfaces: the
    29 [http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=199&Itemid=145 GRETH 10/100/1000], the
     31[http://gaisler.com/index.php/products/ipcores/ethernet/grethgbit GRETH 10/100/1000], the
    3032[http://www.google.se/url?sa=t&ct=res&cd=1&url=http%3A//www.opencores.org/projects/ethmac/&ei=DPonQ6y_NceciALjsMC_Bw Opencores Ethernet MAC] and the [http://www.google.se/url?sa=t&ct=res&cd=1&url=http%3A//www.smsc.com/main/catalog/lan91c111.html&ei=2PknQ5KaE4miiAKA7-HKBw LAN91C111] i/f.
    3133
     
    3537 *  CAN, OC_CAN (Opencores CAN GRLIB wrapper)
    3638 *  1553, 1553BRM
    37  *  SpaceWire, GRSPW
     39 *  !SpaceWire, GRSPW
    3840 *  PCI drivers to RASTA, Companion Chip
     41
    3942= System Console =
    4043
    41 The 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.
     44The LEON3/4 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 an integer named `debug_uart_index` and/or `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 use `APBUART[0]` for CPU0, `APBUART[1]` for CPU1 and so on.
    4245
    43 /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.
     46`/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.
    4447
    45 {| class="wikitable" border="1" cellspacing="1" cellpadding="5"
    46 |-
    47 ! MINOR
    48 ! DEVICE FILE SYSTEM NAME
    49 ! UART
    50 |-
    51 | 0
    52 | /dev/console
    53 | Default APBUART[0], user selectable through 'syscon_uart_index'
    54 |-
    55 | 1
    56 | /dev/console_a
    57 | APBUART[0]   (missing by default)
    58 |-
    59 | 2
    60 | /dev/console_b
    61 | APBUART[1]
    62 |-
    63 | ..
    64 |
    65 |
    66 |-
    67 |}
     48||= MINOR =||= DEVICE FILE SYSTEM NAME =||= UART =||
     49||0 ||/dev/console ||Default `APBUART[0]`, user selectable through `syscon_uart_index` ||
     50||1 ||/dev/console_a ||`APBUART[0]` (missing by default)||
     51||2 ||/dev/console_b ||`APBUART[1]` ||
     52||... ||  || ||
    6853
    69 On a MP system the console renamed to /dev/console is selected by CPU index (LEON3_Cpu_Index). /dev/console_['a' + LEON3_Cpu_Index] is
     54On a MP system the console renamed to `/dev/console` is selected by CPU index (`LEON3_Cpu_Index`). `/dev/console_['a' + LEON3_Cpu_Index]` is
    7055renamed unless overridden. Resource sharing is performed by the user, one should not open/access a console that another OS instance uses.
    7156
    72 The console driver can operate in polling mode or interrupt mode, which mode is used is selected at compile time using the CONSOLE_USE_INTERRUPT configuration option. All UARTs are operate in the same mode.
     57The console driver can operate in polling mode or interrupt mode, which mode is used is selected at compile time using the `CONSOLE_USE_INTERRUPT` configuration option. All UARTs are operate in the same mode.
     58
    7359= Console forwarding to GRMON =
    7460