Changeset 060d538 in rtems


Ignore:
Timestamp:
Aug 25, 2000, 5:24:11 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
00ff4cd
Parents:
b24a093
Message:

2000-08-11 Charles-Antoine Gauthier <charles.gauthier@…>

  • custom/mbx8xx.cfg: Add support for configuration parameters in NVRAM
Location:
make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    rb24a093 r060d538  
     1
     22000-08-11  Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>
     3
     4        * custom/mbx8xx.cfg: Add support for configuration parameters in NVRAM
    15
    262000-08-25      Joel Sherrill <joel.sherrill@OARcorp.com>
  • make/custom/mbx8xx.cfg

    rb24a093 r060d538  
    6565#  MBX8xx-specific options:
    6666#
     67#  NVRAM_CONFIGURE
     68#    Define to 1 if you want the console driver, network driver and caches
     69#    configured at boot time from parameters stored in NVRAM. If set to 1,
     70#    most parameters below are ignored during the build. If not set to 1,
     71#    then the console driver is configured at build time, the network host
     72#    information is obtained from application supplied data structures, and
     73#    the caches are configured at boot time based on the information supplied
     74#    in this file.
     75#
    6776#  UARTS_USE_TERMIOS
    6877#    Define to 1 if you want termios support for every port.
     
    7584#
    7685#  UARTS_IO_MODE (BSP--console driver)
    77 #    Define to 0 if you want polled I/O performed by RTEMS.
     86#    Define to 0 or 1 if you want polled I/O performed by RTEMS.
    7887#    Define to 1 if you want interrupt-driven performed by RTEMS.
    7988#    Define to 2 if you want polled I/O performed by EPPCBug.
     
    95104#
    96105#  PRINTK_IO_MODE (BSP--console driver)
    97 #    Define to 0 if you want polled I/O performed by RTEMS.
    98 #    Define to 1 if you want interrupt-driven I/O performed by RTEMS.
     106#    Define to 0 or 1 if you want polled I/O performed by RTEMS.
    99107#    Define to 2 if you want polled I/O performed by EPPCBug.
    100 #    The printk() port is not configured to termios. The only way to
    101 #    use printk() with interrupt-driven I/O, which always uses termios,
    102 #    is to open the printk port from an RTEMS application. One way to
    103 #    do this is to have PRINTK_MINOR == CONSOLE_MINOR. With EPPCBug 1.1,
     108#    The printk() port is not configured to use termios. With EPPCBug 1.1,
    104109#    if mode 2 is selected, PRINTK_MINOR must be set to SMC1_MINOR.
    105110#    This is a deficiency of the firmware: it does not perform serial I/O
    106111#    on any port other than its default debug port, which must be SMC1.
     112#    Printk always uses polled output.
    107113#
    108114#  EPPCBUG_SMC1 (BSP--console driver)
    109115#    If defined, SMC1 is in use by EPPC-Bug. The console driver will not
    110116#    re-initialize that port.
    111 #
    112 #  EPPCBUG_VECTORS (BSP--RTEMS)
    113 #    If defined, vectors branch to EPPCBug, except the following:
    114 #    0x500 (external interrupt), 0x900 (decrementer).
    115117#
    116118#  INSTRUCTION_CACHE_ENABLE (BSP--RTEMS)
     
    122124#    is turned on.
    123125#   
     126#  EPPCBUG_VECTORS (BSP--RTEMS)
     127#    If defined, vectors branch to EPPCBug, except the following:
     128#    0x500 (external interrupt), 0x900 (decrementer).
     129#
    124130#  PowerPC-specific options:
    125131#       
     
    129135#     response time.  The use of these registers can conflict with
    130136#     other tools like debuggers.  This should be 0 when using EPPCBug
    131 #     because its uses most SPRGs (don't believe the documentation!).
     137#     because its uses most SPRGs (do not believe the documentation!).
    132138#
    133139#  PPC_USE_DATA_CACHE (RTEMS PowerPC port)
     
    142148        @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
    143149        @echo                                               >>$@
    144         @echo "#define UARTS_USE_TERMIOS 1"                 >>$@
     150        @echo "#define NVRAM_CONFIGURE 1"                   >>$@
     151        @echo "#define UARTS_USE_TERMIOS 0"                 >>$@
    145152        @echo "#define CONSOLE_MINOR SMC2_MINOR"            >>$@
    146153        @echo "#define UARTS_IO_MODE 0"                     >>$@
    147154        @echo "#define PRINTK_MINOR SMC2_MINOR"             >>$@
    148   @echo "#define PRINTK_IO_MODE 0"                    >>$@
     155        @echo "#define PRINTK_IO_MODE 0"                    >>$@
    149156        @echo "#define EPPCBUG_SMC1 1"                      >>$@
    150157        @echo "#define EPPCBUG_VECTORS 1"                   >>$@
Note: See TracChangeset for help on using the changeset viewer.