On Fri, 25 Oct 2024 at 06:42, yfliu2008 <yfliu2...@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