-
Notifications
You must be signed in to change notification settings - Fork 8
Flash Storage Persistence
vintagepc edited this page Feb 18, 2021
·
3 revisions
The onboard flash storage devices are persisted across reboots in memory, but not across machine shutdowns.
To back these files with a real file on disk, you will need to create the file and provide additional command line arguments.
The external SPI flash chip is 64 MBit (8 MByte). To create a file of this size, use truncate -s 8M [filename]
. Then, pass the file to QEMU with qemu-system-buddy [options] -mtdblock [filename]
.
The internal st25dv64k has two 64k blocks. These can be created using the above command with -s 64K
instead. These are provided with two pflash arguments, e.g. qemu-system-buddy [options] -pflash file1.bin -pflash file2.bin