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 <[email protected]>
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 <[email protected]
> >
> > 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 <
> > > [email protected]> wrote:
> > >
> > >> On Thu, Aug 19, 2021 at 10:07:24AM +0100, Peter Maydell wrote:
> > >> > On Thu, 19 Aug 2021 at 06:54, asif siddiqui <
> [email protected]>
> > >> 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