Deos RTEMS

From DDCIDeos
Jump to navigationJump to search

Description

This project is to enable RTEMS, a single process POSIX executive, to run within a Deos process.

The multi-phased project strategy is described in a spreadsheet Bill has, based on some gross effort estimates.

At this time spending authorization is only for the first phase, basically a demo and planning for future phases.

Joel Sherrill is the technical contact at OAR.

The RTEMS tools are now available in a Cygwin 2018 install and an crude example exists.

Planning and coordination between DDCI and OAR is currently happening in some Google docs:

  1. Deos/RTEMS Roadmap
  2. Task list (Old task list)
  3. Installation task list

TODO/Issues

These need to be integrated into above development task list.

  1. Requires cygwin 2016
  2. Requires rtems-package
  3. OpenArbor 6.6.3 related issues:
    • Requires desk/rtems-environment.py and desk/bin/gcc-rtems-environment.py to be included in the DDS
  4. elfcheck.py fails in this environment with error "/bin/sh: i686-pc-elf-objdump: command not found"
  5. cpu-usage-example is here: https://deos.ddci.com/svn/DDCI/rtems-products/examples/branches/mainline/code/rtems-cpu-usage/
  6. Have OAR deliver the compilers in such a way as to remove the manual steps required by ftp://redhat5.ddci.com/rtems-products/README.txt
  7. Get PPC (and eventually ARM) compilers and tools. Ideally using the same prefix (e.g., i686-pc-elf) as used by the DDCI compilers.
  8. IO integration
    1. Com port
    2. General pthread/partition blocking issues
  • RTEMS more capabilities
    1. mmap() methods
    2. shm_open() methods
    3. posix_devctl()
    4. Make RTEMS library/libraries into an .so
  • DDCI
    1. Debugging the example is problematic. Stepping into an rtems function does not work.
    2. Need pthread aware debugging and status monitor displays
    3. TCP/IP
    4. ARINC 653 required calls (Health and Ports) - calls should be available now. Example being developed at face653-examples
    5. Integration issues with early July 2018 drop
      • RTEMS delivery had extra /5 in path. OAR informed and next drop should not have that. DDC-I removed the extra /5 directory in current 5.0.3 tools and adapter packages.
      • deos_arm, deos_ppc, deos_x86 must be renamed to deos for OpenArbor. Lisa has an email to change OA.
      • -Wl,-Bshareable -Wl,-shared should be removed from link options
      • -rpath-link is needed for Deos appbin and lib directories when using face653 library for ports/HM calls
    6. deos2cygwin bundles
      • figure out packages such as rtems, 653, rtems+653, and ensure face653-examples is set appropriately
        • Marketing would like to be able to package/sell rtems without 653 and full FACE
        • Currently to get all you specify the proper deos-rtems-{arm|ppc|x86}, deos653p2, and deos-rtems-face653-examples