qemu-xtensa icon indicating copy to clipboard operation
qemu-xtensa copied to clipboard

spi flash write operations

Open gschorcht opened this issue 7 years ago • 2 comments
trafficstars

Implements SPI erase commands (sector, block and chip) as well as SPI flash write command.

It is now possible to write to the flash image in memory. This became necessary for images built with the NON-OS SDK version 2.1.0. This SDK version uses the wifi_param_save_protect_with_check function at startup to write a WiFi configuration to the flash, if none exists. After that, it compares the written configuration with the configuration read from flash to check whether the configuration has been written successfully. If the comparision fails, it repeats this procedure endless.

With the implementation it is now also possible to use file systems like spifss in the emulation.

gschorcht avatar Apr 05 '18 09:04 gschorcht

@jcmvbkbc What kind of patch description is required?

gschorcht avatar Jun 18 '18 15:06 gschorcht

Like I said the description is not required, I can write it myself. But the Signed-off-by tags are required. Please see https://wiki.qemu.org/Contribute/SubmitAPatch for explanation (and for description guidelines). Please let me know if you're ok with it, I'll add it when I squash these commits into my esp8266 branch.

jcmvbkbc avatar Jun 27 '18 23:06 jcmvbkbc