Changes between Version 14 and Version 15 of TBR/Website/FAQ


Ignore:
Timestamp:
04/18/13 19:23:53 (11 years ago)
Author:
Gedare
Comment:

/* Complete rewrite */

Legend:

Unmodified
Added
Removed
Modified
  • TBR/Website/FAQ

    v14 v15  
    66
    77
    8 Some questions are answered in the [wiki:TBR/UserManual/GeneralInformation General Information].
    9 
    10 == Processor-specific memory sizes of RTEMS elements ==
    11 
    12 
    13 <i>For the memory sizes of RTEMS elements inside Chapter 8 of the processor-specific application supplement, are they in bytes or words?</i>
    14 
    15 They should be in bytes.
    16 == Multiprocessor Communications Interface Layer ==
    17 
    18 
    19 <i>The Multiprocessor Communications Interface Layer describes the use of global objects as a means of communication, but does that mean you can use any device (serial port, CANbus, ethernet) to act as the conduit for the MPCI packets ?</i>
    20 
    21 Yes.  The only provided driver is for shared memory.
    22 == Demonstrates of MPCI between two nodes ==
    23 
    24 <i>Can you give an example application that demonstrates the implementation of the MPCI between two nodes ?</i>
    25 
    26 The driver portion is in c/src/lib/libchip/shmdr.  Each of the mptests is an example.
    27 == JAUS message set with the RTEMS OS ==
    28 
    29 <i>Has anyone implemented a JAUS message set with the RTEMS OS ?</i>
    30 
    31 Not that I know of but I do know Robert Wade. :)
    32 == Select on serial ports ==
    33 
    34 <i>Does RTEMS support select() on serial ports ?</i>
    35 
    36 No. However, there is a method to register a call back on serial communications that can be used
    37 for the same effect.  ioctl( fd, RTEMS_IO_RCVWAKEUP, &wakeup);
    38 
    39 Here is a code snippet:
    40 
    41      void receive_callback(struct termios *tty, void * arg )
    42      {
    43         (void) rtems_event_send( (rtems_id) arg, EVENT_RS232_RX );
    44      }
    45 
    46 To install the callback:
    47 
    48    rtems_id task;
    49    struct ttywakeup wakeup;
    50    
    51    rtems_task_ident( RTEMS_SELF, RTEMS_LOCAL, &task);
    52    wakeup.sw_pfn = receive_callback;
    53    wakeup.sw_arg = (void *) task ;
    54    ioctl( fd, RTEMS_IO_RCVWAKEUP, &wakeup);
    55 == Changing the console buffer size and baud rate ==
    56 
    57 <i>Is there some appropriate way of configuring the console buffer size (and baud rate) in bsp.h, or some way of calling the termios code to get the rate changed and buffer resized at startup ?</i>
    58 
    59 To change the buffer size call {{{rtems_termios_bufsize</code> before the console termios driver is initialised. The call is defined in <file>libio_.h</file> in {{{cpukit/libcsupport</code>.
    60 
    61 To change the default baud rate for the console port, call ''rtems_termios_set_initial_baud'' after calling ''rtems_termios_open'' in the device driver.  The powerpc/gen5200 BSP uses this feature so the RTEMS console honors the baud rate configured via U-Boot.  Later in the application you can make a termios set attribute call before you use the serial port or console. This could be in a BSP hook or {{{main</code>.
    62 == OSI protocols with RTEMS ==
    63 
    64 
    65 <i>Does RTEMS support the OSI protocol stack ?</i>
    66 
    67 RTEMS does not provide an OSI protocol stack with its released code, how-ever RTEMS does work with commercial OSI protocol stacks. This includes IP tunnelling using GRE between the RTEMS TCP/IP stack the OSI protocol stack.
     8 *  [wiki:TBR/Website/What_is_RTEMS What is RTEMS]?
     9 *  What [wiki:TBR/Delete/ExecutiveVsKernelVsOperatingSystemVsRTOS  kind of operating system] is RTEMS?
     10 * Where can I [wiki:TBR/Delete/DownloadRTEMS  get RTEMS]?
     11 *  How do you pronounce RTEMS?
     12  *  Listen to [wiki:User:JoelSherrill  Joel Sherrill] pronouncing it for you http://www.rtems.org/ftp/pub/rtems/people/joel/JoelSaysRTEMS.wav
     13 * What does RTEMS [wiki:TBR/Website/StandFor  stand for]?
     14 * What [wiki:TBR/Website/Standards_Are_Support_By_RTEMS  standards are supported] by RTEMS?
     15 * What [wiki:TBR/UserManual/SupportedCPUs  processors] is RTEMS available for?
     16 * Where/why was it developed? [wiki:WhoDevelopedRTEMS  Who Developed RTEMS?]
     17 * Are there [wiki:SimilarCommercialProducts  similar commercial products]?
     18 * How can I obtain [wiki:RTEMSSupport  RTEMS support]?
     19 * What [RTEMS_Training| RTEMS Training Opportunities] are available? What about free [http://www.rtems.org/moodle online training]?
     20 * How can I contribute?
     21 *  How do I get help by [wiki:TBR/Website/RTEMSMailingLists  email] or [wiki:Developer/IRC  IRC]?
     22 * Are there restrictions on the [wiki:TBR/Delete/RTEMSLicense  RTEMS License]?
     23 * Are there [[ExportRestrictions| Export Restrictions]] on RTEMS?