raw L4Task: Flash Access & Variable

ba_f ba_f at rbg.informatik.tu-darmstadt.de
Wed Sep 24 21:01:06 CEST 2014

Hello hackers,

i'm quite new to embedded, so i need some fundamental help.

I have an App, that naturally runs on Linux.
Now, i want to run it as a raw L4-Task (BareMetal), and no L4Linux.

The problem is, the App requires non-volatile storage.
Naturally, it would be started in a terminal; before starting, one has 
to set the Variable where to store data.

> export STORE_PATH=/home/appData/
> ./startApp

(The app then gets the path like this:
   char *path = getenv("STORE_PATH");

So, there are two questions for me:

1.) How do i allocate a filesystem to the flash?
2.) How do i set the variable STORE_PATH ?

Is such an App possible without L4Linux?

Thank you.

More information about the l4-hackers mailing list