From: Alexander Dahl <ada@thorsis.com>
To: distrokit@pengutronix.de
Subject: [DistroKit] [PATCH 0/3] v7a: barebox: Support FIT images
Date: Thu, 15 Feb 2024 16:05:29 +0100 [thread overview]
Message-ID: <20240215150532.2702910-1-ada@thorsis.com> (raw)
Hei hei,
while working on a BSP using DistroKit as a base layer I try to support
boards supported by DistroKit already plus some more boards where the
necessary things are in my upper layer. One task is to use a FIT image
for kernel and dts usable with both U-Boot and barebox. This is
possible with this series and some tweaks which hit ptxdist master
lately.
One nasty problem is bootstate.dtsi referenced in barebox config option
CONFIG_EXTERNAL_DTS_FRAGMENTS as
'${PTXDIST_PLATFORMCONFIGDIR}/dts/bootstate.dtsi' currently. When using
DistroKit as a base layer that file can not be found. I experimented
with '$(call ptx/in-platformconfigdir, …' as adviced in docs, but that's
probably not meant for Kconfig? Build runs successfully, but no
bootstate.dtsi is included at all then, leading to barebox not booting
anything because it can not find its state.
The only solution I could come up with is to use a symbolic link with a
relative path in the upper layer to bootstate.dtsi in the base layer,
but I don't consider that elegant. And it would have to be done in each
layer stacked on top for everyone using DistroKit as a base layer.
If anyone can propose a better solution for that, please advice!
Otherwise I think all three patches are useful for themselves. I could
not test on other platforms however so the two patches touching barebox
might be somewhat incomplete?
Greets
Alex
Alexander Dahl (3):
platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0
blspec-entry: Backport fix from ptxdist master
platform: v7a: barebox: Enable FIT image support
.../platform-v7a/barebox-am335x-mlo.config | 10 ++++++++-
configs/platform-v7a/barebox-am335x.config | 19 ++++++++++++++---
.../platform-v7a/barebox-am335x.config.diff | 3 +--
configs/platform-v7a/barebox-at91.config | 19 ++++++++++++++---
configs/platform-v7a/barebox-at91.config.diff | 3 +--
configs/platform-v7a/barebox-mx6.config | 20 +++++++++++++++---
configs/platform-v7a/barebox-mx6.config.diff | 4 ++--
configs/platform-v7a/barebox-rpi2.config | 20 ++++++++++++++----
configs/platform-v7a/barebox-rpi2.config.diff | 2 +-
configs/platform-v7a/barebox-stm32mp.config | 21 +++++++++++++++----
.../platform-v7a/barebox-stm32mp.config.diff | 3 ++-
configs/platform-v7a/barebox-vexpress.config | 19 ++++++++++++++---
.../platform-v7a/barebox-vexpress.config.diff | 3 +--
configs/platform-v7a/barebox.config | 20 ++++++++++++++----
configs/platform-v7a/platformconfig | 4 ++--
rules/blspec-entry.make | 2 +-
16 files changed, 134 insertions(+), 38 deletions(-)
base-commit: bc056fb67ed54f8f3fde6798ebbd07101309535f
--
2.39.2
next reply other threads:[~2024-02-15 15:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 15:05 Alexander Dahl [this message]
2024-02-15 15:05 ` [DistroKit] [PATCH 1/3] platform: v7a: barebox: Upgrade from 2023.12.0 to 2024.01.0 Alexander Dahl
2024-02-19 12:30 ` Roland Hieber
2024-02-19 19:20 ` Roland Hieber
2024-02-15 15:05 ` [DistroKit] [PATCH 2/3] blspec-entry: Backport fix from ptxdist master Alexander Dahl
2024-02-19 12:28 ` [DistroKit] [PATCH 2/3] squash! " Roland Hieber
2024-02-15 15:05 ` [DistroKit] [PATCH 3/3] platform: v7a: barebox: Enable FIT image support Alexander Dahl
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=20240215150532.2702910-1-ada@thorsis.com \
--to=ada@thorsis.com \
--cc=distrokit@pengutronix.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