Hi Frank,

The cFS uses files for:

  • Loading individual applications. The current build system can link all applications with the cFE core and the OS image avoiding the need for dynamic loading.
  • The cFE Executive Services startup script
  • Table service files
  • And as you mention, any cFS application that uses files

There are some commands and APIs that will not work without a file system such as loading a new application from a file system or dumping a log to a file.

The cFE Executive Services also creates a RAM disk upon startup.

 

So, I think modifications will be necessary to use cFS without a file system, but all file system calls go through the OS Abstraction Layer so the cFS does not depend on the host OS file system API. Because of this, a file abstraction could be created that is simple enough for qualification but still allows the cFS to operate as designed. An example is the “EEPROM File System” or EEFS which has been used to boot cFS systems:

https://github.com/nasa/eefs

The EEFS has an older RTEMS file system interface, but in your use case, the OSAL would call the EEFS standalone API directly. Note that this public release has not been updated in quite a while.

 

Regards,

Alan

 

From: Frank Kühndel
Sent: Thursday, November 24, 2022 5:08 AM
To: devel@rtems.org
Subject: Is it possible to use cFS without a file system?

 

Hello,

 

the core Flight System (cFS) is a software platform created by NASA

(https://cfs.gsfc.nasa.gov/). It provides essential onboard services for

space missions.

 

I would like to use cFS on top of an RTEMS qualified for space by ESA

(https://rtems-qual.io.esa.int/). Yet, this qualified RTEMS has no file

system. cFS can be configured to be used without IP-networking and with

static loader only but I have not found any configuration to disable the

file system.

 

Does anyone know whether it is possible to use cFS without a file system

or can give advice on using cFS without file system?

 

Of course without file system all applications accessing files will not

work. Yet, would at least the core services (such as Executive Service

(ES), Software Bus Service (SB), Event Service (EVS), Table Service

(TBL), and Time Service (TIME)) be functioning?

 

Greetings and Thanks

Frank

 

--

embedded brains GmbH

Herr Frank KÜHNDEL

Dornierstr. 4

82178 Puchheim

Germany

email: frank.kuehn...@embedded-brains.de

phone:  +49-89-18 94 741 - 23

mobile: +49-176-15 22 06 - 11

fax:    +49-89-18 94 741 - 08

 

Registergericht: Amtsgericht München

Registernummer: HRB 157899

Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler

Unsere Datenschutzerklärung finden Sie hier:

https://embedded-brains.de/datenschutzerklaerung/

 

 

_______________________________________________

devel mailing list

devel@rtems.org

http://lists.rtems.org/mailman/listinfo/devel

 

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to