qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Niek Linnenbank <nieklinnenbank@gmail.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Jason Wang" <jasowang@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Beniamino Galvani" <b.galvani@gmail.com>,
	qemu-arm <qemu-arm@nongnu.org>,
	"Igor Mammedov" <imammedo@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH v6 18/18] docs: add Orange Pi PC document
Date: Tue, 10 Mar 2020 20:10:55 +0100	[thread overview]
Message-ID: <CAPan3WrDCruqwFW6R010u4Cjhx7N6cEZ_9CfpZai8cp=G_m8nA@mail.gmail.com> (raw)
In-Reply-To: <87pndkiq0x.fsf@linaro.org>

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

On Tue, Mar 10, 2020 at 9:16 AM Alex Bennée <alex.bennee@linaro.org> wrote:

>
> Niek Linnenbank <nieklinnenbank@gmail.com> writes:
>
> > Hi Alex,
> >
> > On Wed, Mar 4, 2020 at 9:55 PM Niek Linnenbank <nieklinnenbank@gmail.com
> >
> > wrote:
> >
> >> Hello Alex,
> >>
> >> On Wed, Mar 4, 2020 at 11:35 AM Alex Bennée <alex.bennee@linaro.org>
> >> wrote:
> >>
> >>>
> >>> Niek Linnenbank <nieklinnenbank@gmail.com> writes:
> >>>
> >>> > The Xunlong Orange Pi PC machine is a functional ARM machine
> >>> > based on the Allwinner H3 System-on-Chip. It supports mainline
> >>> > Linux, U-Boot, NetBSD and is covered by acceptance tests.
> >>> >
> >>> > This commit adds a documentation text file with a description
> >>> > of the machine and instructions for the user.
> >>>
> >>> This is great, thanks for taking the time to include documentation.
> >>>
> >>
> >> Sure, I'm happy to contribute it. I tried to include most relevant
> >> information
> >> in there for developers and potential users of the machine. If something
> >> is missing
> >> just let me know and I'll make an update for it.
> >>
> >>
> >>>
> >>> >
> >>> > Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
> >>> > ---
> >>> >  docs/orangepi.rst | 226
> >>> > ++++++++++++++++++++++++++++++++++++++++++++++
> >>>
> >>> I suspect there is a better place to put this is than the top level. I
> >>> wonder if it should be docs/specs?
> >>>
> >>
> >> Yeah I'm fine to move it to a different subdirectory if needed. Right
> now
> >> its placed in docs,
> >> as it seems that documents for machines are also placed there, for
> example
> >> docs/microvm.rst
> >>
> >>
> >>>
> >>> >  MAINTAINERS       |   1 +
> >>> >  2 files changed, 227 insertions(+)
> >>> >  create mode 100644 docs/orangepi.rst
> >>> >
> >>> > diff --git a/docs/orangepi.rst b/docs/orangepi.rst
> >>> > new file mode 100644
> >>> > index 0000000000..a9b46f553c
> >>> > --- /dev/null
> >>> > +++ b/docs/orangepi.rst
> >>> > @@ -0,0 +1,226 @@
> >>> > +=========================
> >>> > +Orange Pi PC Machine Type
> >>> > +=========================
> >>> > +
> >>> > +The Xunlong Orange Pi PC is an Allwinner H3 System on Chip
> >>> > +based embedded computer with mainline support in both U-Boot
> >>> > +and Linux. The board comes with a Quad Core Cortex A7 @ 1.3GHz,
> >>> > +1GiB RAM, 100Mbit ethernet, USB, SD/MMC, USB, HDMI and
> >>> > +various other I/O.
> >>>
> >>> When Peter's document PR goes in later this week there will also be a:
> >>>
> >>>   docs/system/target-arm.rst
> >>>
> >>> which would benefit from a section for the Orange Pi in it.
> >>>
> >>
> >> Nice, I'll have a look at it when it gets merged and add a section for
> >> Orange Pi.
> >> I'll try to include that in the next version of this series.
> >>
> >>
> >>>
> >>> > +
> >>> > +Supported devices
> >>> > +-----------------
> >>> > +
> >>> > +The Orange Pi PC machine supports the following devices:
> >>> > +
> >>> > + * SMP (Quad Core Cortex A7)
> >>> > + * Generic Interrupt Controller configuration
> >>> > + * SRAM mappings
> >>> > + * SDRAM controller
> >>> > + * Real Time Clock
> >>> > + * Timer device (re-used from Allwinner A10)
> >>> > + * UART
> >>> > + * SD/MMC storage controller
> >>> > + * EMAC ethernet
> >>>
> >>> Do we ever exercise the ethernet in the acceptance tests? I see we have
> >>> some that boots a full OS but boot console only seems to touch the
> >>> serial console.
> >>>
> >>
> >> Good point. Currently in the acceptance tests U-Boot and Linux detect
> >> the ethernet device, but there are no explicit checks for that in the
> >> acceptance tests
> >> nor any actual packet transmission.
> >>
> >> I'll try to extend the current tests in the next version of this series
> to
> >> include some
> >> basic checks for the ethernet device, perhaps with DHCP or a ping.
> >> I'm open to suggestions for the preferred way to do this.
> >>
> >
> > FYI, I added some coverage for the ethernet device by extending the
> > test_arm_orangepi_sd test with a few lines like:
> >
> > +        exec_command_and_wait_for_pattern(self, 'ifconfig eth0 up',
> 'eth0:
> > Link is Up')
> > +        exec_command_and_wait_for_pattern(self, 'udhcpc eth0',
> > +                                                'udhcpc: lease of
> > 10.0.2.15 obtained')
> > +        exec_command_and_wait_for_pattern(self, 'ping -c 3 10.0.2.2',
> > +            '3 packets transmitted, 3 packets received, 0% packet loss')
> >
>
> That will work as a smoke test. Are you going to re-spin this week so we
> can get the final reviews done?
>

OK Alex!
Yes, as I just replied to Peter as well, I'm finalizing / testing the v7
update now and will send it to the list in a few hours.
I'll reserve some extra time the coming days so I can reply & respin
quickly.

Regards,
Niek


>
> > Regards,
> > Niek
> >
> >
> >> Regards,
> >> Niek
> >>
> >>
> >>
> >>
> >>
> >>
> >>>
> >>> <snip>
> >>>
> >>> --
> >>> Alex Bennée
> >>>
> >>
> >>
> >> --
> >> Niek Linnenbank
> >>
> >>
>
>
> --
> Alex Bennée
>


-- 
Niek Linnenbank

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

      reply	other threads:[~2020-03-10 19:12 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-01 21:50 [PATCH v6 00/18] Add Allwinner H3 SoC and Orange Pi PC Machine Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 01/18] hw/arm: add Allwinner H3 System-on-Chip Niek Linnenbank
2020-03-03 10:53   ` Alex Bennée
2020-03-01 21:50 ` [PATCH v6 02/18] hw/arm: add Xunlong Orange Pi PC machine Niek Linnenbank
2020-03-03 11:02   ` Alex Bennée
2020-03-01 21:50 ` [PATCH v6 03/18] hw/arm/allwinner-h3: add Clock Control Unit Niek Linnenbank
2020-03-03 11:10   ` Alex Bennée
2020-03-01 21:50 ` [PATCH v6 04/18] hw/arm/allwinner-h3: add USB host controller Niek Linnenbank
2020-03-03 11:11   ` Alex Bennée
2020-03-01 21:50 ` [PATCH v6 05/18] hw/arm/allwinner-h3: add System Control module Niek Linnenbank
2020-03-03 12:01   ` Alex Bennée
2020-03-01 21:50 ` [PATCH v6 06/18] hw/arm/allwinner: add CPU Configuration module Niek Linnenbank
2020-03-03 12:09   ` Alex Bennée
2020-03-03 20:15     ` Niek Linnenbank
2020-03-09 11:18       ` Peter Maydell
2020-03-10 19:30         ` Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 07/18] hw/arm/allwinner: add Security Identifier device Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 08/18] hw/arm/allwinner: add SD/MMC host controller Niek Linnenbank
2020-03-03 12:34   ` Alex Bennée
2020-03-01 21:50 ` [PATCH v6 09/18] hw/arm/allwinner-h3: add EMAC ethernet device Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 10/18] hw/arm/allwinner-h3: add Boot ROM support Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 11/18] hw/arm/allwinner-h3: add SDRAM controller device Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 12/18] hw/arm/allwinner: add RTC device support Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 13/18] tests/boot_linux_console: Add a quick test for the OrangePi PC board Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 14/18] tests/boot_linux_console: Add initrd test for the Orange Pi " Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 15/18] tests/boot_linux_console: Add a SD card test for the OrangePi " Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 16/18] tests/boot_linux_console: Add a SLOW test booting Ubuntu on OrangePi PC Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 17/18] tests/boot_linux_console: Test booting NetBSD via U-Boot " Niek Linnenbank
2020-03-01 21:50 ` [PATCH v6 18/18] docs: add Orange Pi PC document Niek Linnenbank
2020-03-04 10:35   ` Alex Bennée
2020-03-04 20:55     ` Niek Linnenbank
2020-03-09 11:21       ` Peter Maydell
2020-03-09 19:38         ` Niek Linnenbank
2020-03-09 19:42           ` Peter Maydell
2020-03-09 20:05             ` Niek Linnenbank
2020-03-09 20:12               ` Peter Maydell
2020-03-09 20:47                 ` Niek Linnenbank
2020-03-09 22:01                 ` Peter Maydell
2020-03-10 19:09                   ` Niek Linnenbank
2020-03-09 19:35       ` Niek Linnenbank
2020-03-10  8:15         ` Alex Bennée
2020-03-10 19:10           ` Niek Linnenbank [this message]

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='CAPan3WrDCruqwFW6R010u4Cjhx7N6cEZ_9CfpZai8cp=G_m8nA@mail.gmail.com' \
    --to=nieklinnenbank@gmail.com \
    --cc=alex.bennee@linaro.org \
    --cc=b.galvani@gmail.com \
    --cc=imammedo@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@redhat.com \
    --cc=qemu-arm@nongnu.org \
    --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).