qemu-discuss
[Top][All Lists]
Advanced

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

Re: System Tick in QEMU


From: asif siddiqui
Subject: Re: System Tick in QEMU
Date: Wed, 30 Mar 2022 10:17:35 +0530

Hi Edgar,

This is regarding TTC support in qemu. Is TTC support added for qemu 5.2.0 or any other version ? 

Also is there any possible alternative for TTC if it is not available in ZCU102 qemu ? 


Regards 
Asif Siddiqui 

On Tue, 24 Aug 2021 at 7:18 PM, asif siddiqui <asifsiddiqui120@gmail.com> wrote:
Hi Edgar,

Thanks for the inputs.
Is it possible to replicate ZynqMP TTC support for Xilinx QEMU distributed with PetaLinux in ZCU102 machine by applying some patch ?
If yes can you share the Patch for the same ? 


Regards

Asif

On Tue, Aug 24, 2021 at 2:22 PM Edgar E. Iglesias <edgar.iglesias@gmail.com> wrote:
Hi Asif,

The ZynqMP TTC is supported in the Xilinx QEMU distributed with PetaLinux but not
yet supported in upstream nor the QEMU distributed with distros such as
Ubuntu.

Best regards,
Edgar


On Tue, Aug 24, 2021 at 02:11:06PM +0530, asif siddiqui wrote:
> Hi Edgar,
>
> We could see Triple Timer Counter QEMU status as Yes under section Timers
> and Clock Generators in the given link (
> https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2/ug1169-xilinx-qemu.pdf).
>
>
> Is it meant for xilinx ZCU102 machine or some other machine type ?
>
>
>
> Regards
> Asif
>
>
>
> On Fri, Aug 20, 2021 at 1:37 PM asif siddiqui <asifsiddiqui120@gmail.com>
> wrote:
>
> > Hi Edgar,
> >
> > Thanks for the input.
> >
> > Is there any alternative solution for reading the TTC ?
> > Is there any latest version of QEMU in which TTC is implemented for
> > ZCU102 machine ?
> >
> >
> > Regards
> > Asif
> >
> > On Thu, Aug 19, 2021 at 8:39 PM Edgar E. Iglesias <
> > edgar.iglesias@gmail.com> wrote:
> >
> >> On Thu, Aug 19, 2021 at 10:07:24AM +0100, Peter Maydell wrote:
> >> > On Thu, 19 Aug 2021 at 06:54, asif siddiqui <asifsiddiqui120@gmail.com>
> >> wrote:
> >> > >
> >> > > Hello All,
> >> > >
> >> > > We are using xlnx-zcu102 machine and following command to boot the
> >> QNX OS as guest on top of QEMU with WIndows as HOST OS.
> >> > >
> >> > > QEMU Command to boot QNX Image-
> >> > > qemu-system-aarch64 -M xlnx-zcu102 -m 8G -serial mon:stdio -display
> >> none -device loader,file=E:\QNX-IFS.bin,cpu-num=0
> >> > >
> >> > > We are working on the gptp timing. To implement the gptp time we need
> >> to enable the system tick (Xilinx-zcu102 + QNX + QEMU).
> >> > >
> >> > > For getting the Timer Counter's value we are trying to read
> >> Counter_Value_1 (TTC) Register as mentioned in the given link
> >> > >
> >> https://www.xilinx.com/html_docs/registers/ug1087/ug1087-zynq-ultrascale-registers.html#ttc___counter_value_1.html
> >> > >
> >> > > Query -
> >> > > How to enable the system tick in QEMU enviroment(Xilinx-zcu102 + QNX
> >> + QEMU). Do we need to configure any command line option in the QEMU
> >> command.
> >> >
> >> > I have cc'd the maintainers of the xlnx-zcu102 machine model,
> >> > who will probably know.
> >> >
> >>
> >> Hi,
> >>
> >> The TTC is unfortunately missing from the ZCU102 model.
> >>
> >> Best regards,
> >> Edgar
> >>
> >

reply via email to

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