mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] Documentation: riscv: bring BeagleV Starlight docs up-to-date
Date: Fri, 22 Mar 2024 15:24:41 +0100	[thread overview]
Message-ID: <20240322142441.982089-1-a.fatoum@pengutronix.de> (raw)

The BeagleV Starlight hasn't exited the Beta phase and the BeagleV name
is now associated with the BeagleV-Ahead, which used a different SoC.

Note this in the section title and also adjust the build instruction to
make them reproducible in 2024:

  - Given that the board is discontinued, it's not worthwhile to move
    away from the vendor's OpenSBI fork, so pin the revision that was
    used for initial bring-up

  - fence.i is no longer part of the default -march=rv64imafdc in
    recent toolchains, therefore add it explicitly into the ISA string.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 Documentation/boards/riscv.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst
index 92f663cfb9e6..ade1443c9704 100644
--- a/Documentation/boards/riscv.rst
+++ b/Documentation/boards/riscv.rst
@@ -60,8 +60,8 @@ into the config file.
 
 See https://barebox.org/jsbarebox/?graphic=1 for a live example.
 
-BeagleV
--------
+BeagleV Starlight
+-----------------
 
 barebox has second-stage support for the BeagleV Starlight::
 
@@ -73,11 +73,12 @@ to opensbi::
 
   git clone https://github.com/starfive-tech/opensbi
   cd opensbi
+  git checkout 2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5
   export ARCH=riscv
   export PLATFORM=starfive/vic7100
   export FW_PAYLOAD_PATH=$BAREBOX/build/images/barebox-beaglev-starlight.img
 
-  make ARCH=riscv
+  make PLATFORM_RISCV_ISA=rv64imafdc_zifencei
   ./fsz.sh ./build/platform/starfive/vic7100/firmware/fw_payload.bin fw_payload.bin.out
   ls -l $OPENSBI/build/platform/starfive/vic7100/firmware/fw_payload.bin.out
 
-- 
2.39.2




             reply	other threads:[~2024-03-22 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-22 14:24 Ahmad Fatoum [this message]
2024-03-24 20:29 ` Antony Pavlov

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=20240322142441.982089-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.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