Download from flash-rom using qemu-system-arm

Is it possible to emulate a boot from flash using qemu-system-arm? (Using Integrator / CP motherboard)

I can boot using qemu -kernel, but if I try to use a parameter like -pflashqemu generates an error telling me that I should use the parameter -kernel. Is there any way around this?

+3
source share
1 answer

-kernelmaps a binary file to memory space and loads from it. I believe that it differs from Flash loading only in that it does not support CFI or similar commands, and memory is writable. This is important for you? What exactly do you need from a flash download?

PS the description of the option indicates:

-pflash file use 'file' as a parallel flash image

Thus, it seems that even if you do, you still need some kind of bootloader code that will access this flash memory and load code from it.

+2
source

Source: https://habr.com/ru/post/1745640/


All Articles