qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NVDIMM for simulating program on Zephyr RTOS with flash device wit


From: Manuel Yguel
Subject: Using NVDIMM for simulating program on Zephyr RTOS with flash device with persistence
Date: Thu, 10 Nov 2022 18:43:32 +0100

We try to simulate on QEMU a program running Zephyr RTOS with a flash memory. We need to have persistence since between reboots the system must access parameters dynamically changed and stored in flash.
We use QEMU (pc) as the architecture to simulate our system, however we ran into the following problem using NVDIMM device:
the first memory address available is above 4GB (2^32) and in the QEMU/Zephyr configuration we must use, pointers are smaller than 32bitsĀ (We have segfault using BLE Zephyr drivers with QEMU 64bit).
However the simulated system being a small microcontroller we require less than 4MB of RAM and less than 8MB of flash.

Therefore, we would like to know if it is possible to configure QEMU such that the NVDIMM device has first address well below the 4GB mark ?

- all the best,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]