u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Sudeep Holla <sudeep.holla@arm.com>
Cc: Simon Glass <sjg@chromium.org>, Tom Rini <trini@konsulko.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	u-boot@lists.denx.de, Peter Hoyes <Peter.Hoyes@arm.com>,
	Liviu Dudau <liviu.dudau@foss.arm.com>,
	David Feng <fenghua@phytium.com.cn>
Subject: Re: [PATCH 2/2] doc: add Arm Juno board documentation
Date: Thu, 16 Dec 2021 17:55:27 +0000	[thread overview]
Message-ID: <20211216175527.3ad944ed@donnerap.cambridge.arm.com> (raw)
In-Reply-To: <20211215124416.nflvqibpfnr4376k@bogus>

On Wed, 15 Dec 2021 12:44:16 +0000
Sudeep Holla <sudeep.holla@arm.com> wrote:

Hi Sudeep,

> On Tue, Dec 14, 2021 at 05:55:39PM +0000, Andre Przywara wrote:
> > The Juno Arm development board is an open, vendor-neutral, Armv8-A
> > development platform.
> > Add documentation that briefly outlines the hardware, and describes
> > building and installation of U-Boot.
> > 
> > Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> > ---
> >  doc/board/armltd/index.rst |   1 +
> >  doc/board/armltd/juno.rst  | 117 +++++++++++++++++++++++++++++++++++++
> >  2 files changed, 118 insertions(+)
> >  create mode 100644 doc/board/armltd/juno.rst
> > 
> > diff --git a/doc/board/armltd/index.rst b/doc/board/armltd/index.rst
> > index caa6fd2bb0..68d938c647 100644
> > --- a/doc/board/armltd/index.rst
> > +++ b/doc/board/armltd/index.rst
> > @@ -8,3 +8,4 @@ ARM Ltd. boards and emulated systems
> >     :maxdepth: 2
> >  
> >     fvp64
> > +   juno
> > diff --git a/doc/board/armltd/juno.rst b/doc/board/armltd/juno.rst
> > new file mode 100644
> > index 0000000000..f37bc2c78e
> > --- /dev/null
> > +++ b/doc/board/armltd/juno.rst
> > @@ -0,0 +1,117 @@
> > +.. SPDX-License-Identifier: GPL-2.0
> > +.. Copyright (C) 2021 Arm Ltd.
> > +
> > +Arm Juno board
> > +==============
> > +
> > +The `Juno development board`_ is an open, vendor-neutral, Armv8-A
> > +development platform, made by Arm Ltd. It is based on the former Versatile
> > +Express series.
> > +There are three revisions of the board:
> > +
> > +* Juno r0, with two Cortex-A57 and four Cortex-A53 cores, without PCIe.
> > +* Juno r1, with two Cortex-A57 and four Cortex-A53 cores, in later silicon
> > +  revisions, and with PCIe slots, Gigabit Ethernet and two SATA ports.
> > +* Juno r2, with two Cortex-A72 and four Cortex-A53 cores, otherwise the
> > +  same as r1.
> > +
> > +Among other things, the motherboard contains a management controller (MCP),  
> 
> IIRC the MCP is new and inside the SoC. You may refer [1], [2] and use the
> terminologies from there to be consistent with the documentation. IIRC this
> one is referred as MCC. So I would prefer s/MCP/MCC or MB throughout this
> document.

True, I managed to mix that up, thanks for pointing this out!

> > +an FPGA providing I/O interfaces (IOFPGA) and 64MB of NOR flash. The provided
> > +platform devices resemble the VExpress peripherals.
> > +The actual SoC also contains a Cortex-M3 based System Control Processor (SCP).
> > +
> > +U-Boot build
> > +------------
> > +There is only one defconfig and one binary build that covers all three board
> > +revisions, so to generate the needed ``u-boot.bin``:
> > +
> > +.. code-block:: bash
> > +
> > +    $ make vexpress_aemv8a_juno_defconfig
> > +    $ make
> > +
> > +The automatic distro boot sequence looks for UEFI boot applications and
> > +``boot.scr`` scripts on various boot media, starting with USB, then on disks
> > +connected to the two SATA ports, PXE, DHCP and eventually on the NOR flash.
> > +
> > +U-Boot installation
> > +-------------------
> > +This assumes there is some firmware on the SD card or NOR flash (see below
> > +for more details). The U-Boot binary is included in the Trusted Firmware
> > +FIP image, so after building U-Boot, this needs to be repackaged or recompiled.
> > +
> > +The NOR flash will be updated by the MCP, based on the content of a micro-SD
> > +card, which will be exported as a USB mass storage device via the rear USB-B
> > +socket. So to access that SD card, connect a USB-A->USB-B cable between some
> > +host computer and the board, and mount the FAT partition on the UMS device.
> > +If there is no device, check the upper serial port for a prompt, and
> > +explicitly enable the USB interface::
> > +
> > +    Cmd> usb_on
> > +    Enabling debug USB...
> > +  
> 
> Not sure if you need these details(above one paragraph) here if we can direct
> to one of the pages I have pointed out or specifically [3]. I guess you can
> add other topics from there and links to those subsections if you need more
> details. I am fine either way.

Yeah, I will add a link to the Juno TRM, and refer to that. But at least
on the Linux side I have seen pushback against deep links to manufacturer
websites in documentation, since those URLs tend to 404 sooner or later.
So I am tempted to keep at least that usb_on command in, since I needed to
use that at times, and it's a quick solution to a common problem.

Thanks for your comments!
Andre

  reply	other threads:[~2021-12-16 17:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 17:55 [PATCH 0/2] Arm Juno board documentation Andre Przywara
2021-12-14 17:55 ` [PATCH 1/2] doc: Add documentation for the Arm VExpress64 board configs Andre Przywara
2021-12-15 12:45   ` Sudeep Holla
2021-12-17 16:37   ` Simon Glass
2021-12-20 17:46     ` Andre Przywara
2021-12-14 17:55 ` [PATCH 2/2] doc: add Arm Juno board documentation Andre Przywara
2021-12-15 12:44   ` Sudeep Holla
2021-12-16 17:55     ` Andre Przywara [this message]
2021-12-15 15:33   ` Robin Murphy
2021-12-16 17:56     ` Andre Przywara
2021-12-17 16:37   ` Simon Glass

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=20211216175527.3ad944ed@donnerap.cambridge.arm.com \
    --to=andre.przywara@arm.com \
    --cc=Peter.Hoyes@arm.com \
    --cc=fenghua@phytium.com.cn \
    --cc=linus.walleij@linaro.org \
    --cc=liviu.dudau@foss.arm.com \
    --cc=sjg@chromium.org \
    --cc=sudeep.holla@arm.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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).