From: Julien Olivain <ju.o@free.fr>
To: Kilian Zinnecker <kilian.zinnecker@mail.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [Help] How to bump a package, e.g., OpenSBI?
Date: Thu, 26 Dec 2024 23:16:03 +0100 [thread overview]
Message-ID: <3f1890a6dce4859431fb9b8d0e4747e9@free.fr> (raw)
In-Reply-To: <4632342.LvFx2qVVIh@kilian-laptop>
Hi Kilian,
On 26/12/2024 22:19, Kilian Zinnecker via buildroot wrote:
> Hello all,
>
> I saw that RISC-V's OpenSBI recently got an update to v1.6.[1] In
> buildroot
> the package's latest version is v1.5.[2] I would like to bump it. Ofc.
> I'd
> have to adjust the version in the Config.in, and also the hashes in the
> hash
> file.
This is correct. You can have a look how the previous versions
were updated, for details. For example, see [3].
This will update only the default "latest" OpenSBI version. Usually,
defconfigs in Buildroot are using a specific, fixed custom version.
> I am wondering what is required with regards to testing? Currently I
> cannot test whether RISC-V boards would work with OpenSBI v1.6.
> However, I
> could do a build-test, i.e., pick a RISC-V defconfig, adjust its
> OpenSBI
> version to 1.6 (just locally, not sending any patch with that regard to
> any
> board's defconfig) and see, whether OpenSBI v1.6 gets build
> successfully. Is
> this sufficient as testing before sending a patch bumping OpenSBI? Or
> is
> additional testing expected before sending a bump-patch?
There is no strict rules for testing. The general guideline would be
"the more, the better" ;) Doing a compilation test only for such a
component is a bit limited. Doing a runtime test would be better.
So, if you have a specific board in mind, you can ask in the patch
cover letter (on in the patch note) for somebody with access to the
board to test and reply with the "Tested-by:" tag.
Fortunately, in Buildroot, there is several defconfigs for
RISC-V emulators [4] [5] [6] [7]. If you don't have a specific board
in mind, you could use those to runtime test this new v1.6. Those
emulators are usually good references.
For example, after locally modifying those defconfigs to use this new
OpenSBI version, you can use commands such as:
make qemu_riscv64_virt_defconfig
make
output/images/start-qemu.sh
Or:
make spike_riscv64_defconfig
make
board/spike/riscv64/start.sh
and check you can reach the user-space and the system login. You can
describe your test methodology in the cover letter (or patch note) to
make
reviews faster for the maintainers. See for example [8].
> Best regards,
> Kilian
>
> [1] https://github.com/riscv-software-src/opensbi/commit/
> bd613dd92113f683052acfb23d9dc8ba60029e0a
> [2]
> https://gitlab.com/buildroot.org/buildroot/-/blob/master/boot/opensbi/
> Config.in?ref_type=heads#L21-22
Best regards,
Julien.
[3]
https://gitlab.com/buildroot.org/buildroot/-/commit/c583befc8e92d0ae70d4fcb967bf8257ea94d577
[4]
https://gitlab.com/buildroot.org/buildroot/-/blob/master/configs/qemu_riscv32_virt_defconfig
[5]
https://gitlab.com/buildroot.org/buildroot/-/blob/master/configs/qemu_riscv64_virt_defconfig
[6]
https://gitlab.com/buildroot.org/buildroot/-/blob/master/configs/spike_riscv32_defconfig
[7]
https://gitlab.com/buildroot.org/buildroot/-/blob/master/configs/spike_riscv64_defconfig
[8]
https://patchwork.ozlabs.org/project/buildroot/patch/20240622114621.447904-1-ju.o@free.fr/
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-12-26 22:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-26 21:19 [Buildroot] [Help] How to bump a package, e.g., OpenSBI? Kilian Zinnecker via buildroot
2024-12-26 22:16 ` Julien Olivain [this message]
2024-12-27 18:31 ` Kilian Zinnecker via buildroot
2024-12-28 18:33 ` Julien Olivain
2024-12-28 19:28 ` Kilian Zinnecker via buildroot
2024-12-29 11:40 ` Kilian Zinnecker via buildroot
2024-12-29 12:44 ` Julien Olivain
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=3f1890a6dce4859431fb9b8d0e4747e9@free.fr \
--to=ju.o@free.fr \
--cc=buildroot@buildroot.org \
--cc=kilian.zinnecker@mail.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