qemu-devel
[Top][All Lists]
Advanced

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

Re: Testing a microcontroller emulation by loading the binary on incompl


From: Peter Maydell
Subject: Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation
Date: Sun, 22 Aug 2021 17:47:46 +0100

On Sun, 22 Aug 2021 at 15:37, Gautam Bhat <mindentropy@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



reply via email to

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