qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: ido berenbaum <ido.ber3@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: Gpio in vexpress
Date: Thu, 18 May 2023 17:35:11 +0300	[thread overview]
Message-ID: <CANamGFFb_zwkAe0+VRfj7daL0CSs4-hS5SX-GRSmG2kJJCLV0Q@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA83RoCWzZD3pOdJndtRYynf7j0GwTEZCfOz6uOv5fybnQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]

Oh, I was under the impression the vexpress board is not based on a real
physical hardware like virt.
In any case, In my workplace we use the qemu for our CI testing, to prevent
the need to use our hardware for logical tests.
The thing is our SoC is not implemented in qemu, and so we are using the
vexpress as it is similar enough when considering the core structure.
But, as it is not identical we need to make changes to make it fit our use
cases. For example, add a gpio.

Do you think we should use a different SoC as a base for our development?

On Tue, May 16, 2023, 12:17 Peter Maydell <peter.maydell@linaro.org> wrote:

> On Tue, 16 May 2023 at 07:36, ido berenbaum <ido.ber3@gmail.com> wrote:
> >
> > Hi, I was trying to understand the architecture of the vexpress virtual
> machine in regards to adding new gpios that are going to be external.
> > First, is it right to act as if I am developing on a physical board and
> add the gpios to the VexpressMachineState struct?
> > Secondly, which gpio type fits here? I see that for fsl_imx7 it is the
> imx_gpio, but what is for vexpress? Should I create one?
> > Or, can I use pl061?
>
> The vexpress is a model of a real piece of hardware, so the
> answer is "you model what the real hardware is doing". You
> should be able to find that out in the technical reference
> manual for the board / daughterboard.
>
> Why are you interested in the vexpress in particular?
> It is a pretty elderly development board...
>
> thanks
> -- PMM
>

[-- Attachment #2: Type: text/html, Size: 2089 bytes --]

  reply	other threads:[~2023-05-18 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15 15:17 Gpio in vexpress ido berenbaum
2023-05-16  9:17 ` Peter Maydell
2023-05-18 14:35   ` ido berenbaum [this message]
2023-05-18 15:01     ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANamGFFb_zwkAe0+VRfj7daL0CSs4-hS5SX-GRSmG2kJJCLV0Q@mail.gmail.com \
    --to=ido.ber3@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).