qemu-discuss
[Top][All Lists]
Advanced

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

Re: add sp804 timer to virt 6.2 target


From: Peter Maydell
Subject: Re: add sp804 timer to virt 6.2 target
Date: Fri, 25 Oct 2024 10:20:46 +0100

On Fri, 25 Oct 2024 at 06:42, yfliu2008 <yfliu2008@qq.com> wrote:
> I am wondering if the qemu-system-arm v6.2 "virt" target allows one to add 
> memory mapped sp804 timer device? if so, what command line options shall be 
> used?

No; you can't add memory-mapped devices to a board
using command line options. Only C code in QEMU itself
can create and wire up memory-mapped devices like that.

(The intention with the "virt" board is that you should
use the CPU's own 'generic timer' functionality, which
is accessed via CPU system registers.)

thanks
-- PMM



reply via email to

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