Changeset 380b5227 in rtems


Ignore:
Timestamp:
Aug 10, 2000, 4:25:46 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b96ca51
Parents:
59d4d513
Message:

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

  • mbx8xx.cfg: Support for shared printk and no termios.

2000-08-10 John Cotton <john.cotton@…>

  • mbx8xx.cfg: Support added for dejagnu test harness.
Location:
make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r59d4d513 r380b5227  
     1       
     22000-08-10      Charles-Antoine Gauthier  <charles.gauthier@nrc.ca>
     3        * mbx8xx.cfg: Support for shared printk and no termios.
     4        * custom/mbx8xx.cfg: Support for shared printk and no termios.
     5
     62000-08-10      John Cotton  <john.cotton@nrc.ca>
     7        * mbx8xx.cfg: Support added for dejagnu test harness.
     8        * custom/mbx8xx.cfg: Support added for dejagnu test harness.
    19
    2102000-08-10      Joel Sherrill <joel@OARcorp.com>
  • make/custom/mbx8xx.cfg

    r59d4d513 r380b5227  
    6565#  MBX8xx-specific options:
    6666#
     67#  UARTS_USE_TERMIOS
     68#    Define to 1 if you want termios support for every port.
     69#    Termios support is independent of the choice of UART I/O mode.
     70#
    6771#  CONSOLE_MINOR (BSP--console driver)
    6872#    Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR,
     
    7074#    as /dev/console.
    7175#
    72 #  UARTS_USE_INTERRUPTS (BSP--console driver)
    73 #    Define if you want interrupt-driven I/O instead of polling. Superceeded
    74 #    by EPPCBUG_SMC1 on SMC1.
     76#  UARTS_IO_MODE (BSP--console driver)
     77#    Define to 0 if you want polled I/O performed by RTEMS.
     78#    Define to 1 if you want interrupt-driven performed by RTEMS.
     79#    Define to 2 if you want polled I/O performed by EPPCBug.
     80#    There is no provision to have a mix of interrupt-driven and polled I/O
     81#    ports, except that the printk port may use a different mode from the
     82#    other ports. If this is done, do not open the printk port from an RTEMS
     83#    application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR must
     84#    be set to SMC1_MINOR. This is a deficiency of the firmware: it does not
     85#    perform serial I/O on any port other than its default debug port, which
     86#    must be SMC1.
     87#
     88#  PRINTK_MINOR (BSP--console driver)
     89#    Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR,
     90#    SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output
     91#    by printk(). If the port that printk() uses is also used for other I/O
     92#    (e.g. if  PRINTK_MINOR == CONSOLE_MINOR), then both ports should use
     93#    the same type of I/O, otherwise the drivers will likely conflict with
     94#    each other.
     95#
     96#  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.
     99#    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,
     104#    if mode 2 is selected, PRINTK_MINOR must be set to SMC1_MINOR.
     105#    This is a deficiency of the firmware: it does not perform serial I/O
     106#    on any port other than its default debug port, which must be SMC1.
    75107#
    76108#  EPPCBUG_SMC1 (BSP--console driver)
    77 #    If defined, the I/O through the SCM1 is done through the EPPCBug firmware.
    78 #    Because of limitations in revision 1.1 of the firmware, EPPCBug must be
    79 #    configured to use SMC1 as its console. If not defined, I/O through SMC1
    80 #    is done through a RTEMS device driver.
     109#    If defined, SMC1 is in use by EPPC-Bug. The console driver will not
     110#    re-initialize that port.
    81111#
    82112#  EPPCBUG_VECTORS (BSP--RTEMS)
    83 #    If defined, the most vectors branch to EPPCBug, except the following:
     113#    If defined, vectors branch to EPPCBug, except the following:
    84114#    0x500 (external interrupt), 0x900 (decrementer).
    85115#
     
    112142        @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
    113143        @echo                                               >>$@
     144        @echo "#define UARTS_USE_TERMIOS 1"                 >>$@
    114145        @echo "#define CONSOLE_MINOR SMC2_MINOR"            >>$@
    115         @echo "#define UARTS_USE_INTERRUPTS 1"              >>$@
     146        @echo "#define UARTS_IO_MODE 0"                     >>$@
     147        @echo "#define PRINTK_MINOR SMC2_MINOR"             >>$@
     148  @echo "#define PRINTK_IO_MODE 0"                    >>$@
    116149        @echo "#define EPPCBUG_SMC1 1"                      >>$@
    117150        @echo "#define EPPCBUG_VECTORS 1"                   >>$@
     
    121154        @echo "#define PPC_VECTOR_FILE_BASE 0x0000"         >>$@
    122155        @echo "#define PPC_USE_SPRG 0"                      >>$@
    123         @echo "/* #define PPC_USE_DATA_CACHE 1" */          >>$@
     156        @echo "#define PPC_USE_DATA_CACHE 1"                >>$@
    124157        @echo                                               >>$@
    125158endef
     
    148181# file which is designed for gcc 2.8
    149182define make-exe
    150         $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
     183        $(LD) $(XLDFLAGS) -T $(LINKCMDS) -o $(basename $@)_sym.exe \
    151184            --defsym __fini=0 --defsym __init=0 \
    152             -o $@ -u atexit -u __vectors -u start \
     185            -u atexit -u __vectors -u start \
    153186            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
    154         $(NM) -g -n $@ > $(basename $@).num
    155         $(STRIP) -o $(basename $@).elf $@
    156         $(SIZE) $@
     187        $(NM) -g -n $(basename $@)_sym.exe> $(basename $@).nm
     188        $(STRIP) -o $(basename $@).exe $(basename $@)_sym-exe
     189        $(SIZE) $(basename $@)_sym.exe
    157190endef
    158191else
    159192define make-exe
    160193        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \
    161             -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
    162         $(NM) -g -n $@ > $(basename $@).nm
    163         $(STRIP) -o $(basename $@) $@
    164         $(SIZE) $@
     194            -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS)
     195        $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm
     196        $(STRIP) -o $(basename $@).exe $(basename $@)_sym.exe
     197        $(SIZE) $(basename $@)_sym.exe
    165198endef
    166199endif
Note: See TracChangeset for help on using the changeset viewer.