Changeset 380b5227 in rtems
- Timestamp:
- 08/10/00 16:25:46 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b96ca51
- Parents:
- 59d4d513
- Location:
- make
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
make/ChangeLog
r59d4d513 r380b5227 1 2 2000-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 6 2000-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. 1 9 2 10 2000-08-10 Joel Sherrill <joel@OARcorp.com> -
make/custom/mbx8xx.cfg
r59d4d513 r380b5227 65 65 # MBX8xx-specific options: 66 66 # 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 # 67 71 # CONSOLE_MINOR (BSP--console driver) 68 72 # Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR, … … 70 74 # as /dev/console. 71 75 # 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. 75 107 # 76 108 # 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. 81 111 # 82 112 # EPPCBUG_VECTORS (BSP--RTEMS) 83 # If defined, the mostvectors branch to EPPCBug, except the following:113 # If defined, vectors branch to EPPCBug, except the following: 84 114 # 0x500 (external interrupt), 0x900 (decrementer). 85 115 # … … 112 142 @echo "#define mpc$(CPU_TYPE) 1" >>$@ 113 143 @echo >>$@ 144 @echo "#define UARTS_USE_TERMIOS 1" >>$@ 114 145 @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" >>$@ 116 149 @echo "#define EPPCBUG_SMC1 1" >>$@ 117 150 @echo "#define EPPCBUG_VECTORS 1" >>$@ … … 121 154 @echo "#define PPC_VECTOR_FILE_BASE 0x0000" >>$@ 122 155 @echo "#define PPC_USE_SPRG 0" >>$@ 123 @echo " /* #define PPC_USE_DATA_CACHE 1" */>>$@156 @echo "#define PPC_USE_DATA_CACHE 1" >>$@ 124 157 @echo >>$@ 125 158 endef … … 148 181 # file which is designed for gcc 2.8 149 182 define make-exe 150 $(LD) $(XLDFLAGS) -T $(LINKCMDS) \183 $(LD) $(XLDFLAGS) -T $(LINKCMDS) -o $(basename $@)_sym.exe \ 151 184 --defsym __fini=0 --defsym __init=0 \ 152 - o $@ -u atexit -u __vectors -u start \185 -u atexit -u __vectors -u start \ 153 186 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group 154 $(NM) -g -n $ @ > $(basename $@).num155 $(STRIP) -o $(basename $@).e lf $@156 $(SIZE) $ @187 $(NM) -g -n $(basename $@)_sym.exe> $(basename $@).nm 188 $(STRIP) -o $(basename $@).exe $(basename $@)_sym-exe 189 $(SIZE) $(basename $@)_sym.exe 157 190 endef 158 191 else 159 192 define make-exe 160 193 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \ 161 -o $(basename $@) .exe $(LINK_OBJS) $(LINK_LIBS)162 $(NM) -g -n $ @> $(basename $@).nm163 $(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 165 198 endef 166 199 endif
Note: See TracChangeset
for help on using the changeset viewer.