On Sun, 22 Aug 2021 at 15:37, Gautam Bhat <mindentr...@gmail.com> wrote: > > Hi, > > I am to implement a very simple microcontroller for my understanding > of Qemu development. This microcontroller runs its code from > programmable flash which is bit-, byte- and word addressable. To do > some initial tests of my nascent microcontroller implementation I > would like to load a very simple program binary. Is there a way to > load this binary and start execution without emulating Flash > controller and memory?
Just create a plain old RAM memory region, and then load the guest binary into it with the 'generic loader' (which can take an ELF file or a raw binary). -- PMM