24 Sep
2014
24 Sep
'14
9:01 p.m.
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. Example:
export STORE_PATH=/home/appData/ ./startApp
(The app then gets the path like this: char *path = getenv("STORE_PATH"); Anyway...) 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.