This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Run Zephyr OS for qemu_x86 and access guest Filesystem

Hi,

We're developing with Zephyr OS on nrf9160 and recently added SD Card support. We build our application also for qemu_x86 for testing purposes and would like to add some kind of filesystem support to basically fake the contents of the SD Card. Ideally this files can be accessed & manipulated from the host system.

To achieve this my current idea is to enable LittleFS on the storage partition provided by qemu_x86.dts (https://docs.zephyrproject.org/latest/samples/subsys/fs/littlefs/README.html). The second step would be to somehow make this partition accessible from outside QEMU, the host system. If this cannot be done then at least I would like to preinsert some testdata in this partition..

Has anyone already tried something similar, or can give me some advice on this matter?

best regards

Parents Reply Children
Related