From: Fabian Pflug <f.pflug@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH 1/1] v8a: Add support for tq-ma93xxca
Date: Tue, 22 Apr 2025 11:26:18 +0200 [thread overview]
Message-ID: <dfc6186a00f56bca098caffa708d2a9464ee9c68.camel@pengutronix.de> (raw)
In-Reply-To: <8150c53a-dd52-4abb-a678-d406f170cf75@pengutronix.de>
Hello Ahmad,
> Nitpick: chosen, random
Fixed
>
> > +CONFIG_HAB=y
> > +CONFIG_AHAB=y
>
> I think we should leave this disabled, until we start actually doing
> verified boot in DistroKit.
CONFIG_IMX93 sets CONFIG_AHAB, which in turn sets CONFIG_HAB
Not really possible to disable.
>
> > +CONFIG_USB_EHCI=y
>
> Interesting. I thought the i.MX93 would use a USB 3.0 capable
> controller
> like the i.MX8MP, but apparently it's not so.
Nope, USB2.0 only
>
> > diff --git a/configs/platform-v8a/config/images/imx93.config
> > b/configs/platform-v8a/config/images/imx93.config
> > new file mode 100644
> > index 0000000..bbdb232
> > --- /dev/null
> > +++ b/configs/platform-v8a/config/images/imx93.config
> > @@ -0,0 +1,21 @@
> > +image @IMAGE@ {
> > + hdimage {
> > + align = 1M
> > + partition-table-type = gpt
> > + }
> > + partition barebox {
> > + image = "@BAREBOX_IMAGE@"
> > + offset = 32k
> > + in-partition-table = false
>
> Why not make it a proper GPT partition? I know we are not consistent
> with that in existing boards, but for new board support, we should
> put
> everything into a GPT partition from the get-go.
I have no opinion about it. It was just copy & paste from all the other
boards. Will do what the majority agrees upon.
>
> > + }
> > + partition barebox-state {
>
> Please add a barebox-environment partition as well with a comment
> that
> it's currently unused as the environment comes from the SPI flash.
>
> That way, we'll be able to just switch over to using environment on
> the
> boot medium in future without changing the partition layout again.
>
> > + offset = 3M
> > + size = 1M
> > + partition-type-uuid = barebox-state
> > + }
> > + partition root-A {
> > + offset = 4M
>
> If everything has a size and is described in the partition table, do
> we still need the offset (except of course for the barebox
> partition).
>
> > +Boot Media
> > +----------
> > +
> > +Booting is available via multiple sources (Compare Table 6: Boot
> > configuration i.MX 93 from .
>
> from? missing rest of line?
Good catch. Yeah missing.
>
>
> > +Write the bootloader ``platform-v8a/images/barebox-tqma93xx.img``
> > to USB:
>
> s/Write to/Upload via/
>
> Maybe even add the full command:
>
> imx-usb-loader platform-v8a/images/barebox-tqma93xx.img
See next line on the RST:
>
> > +
> > +.. code-block:: shell
> > +
> > + platform-v8a/sysroot-host/bin/imx-usb-loader platform-
> > v8a/images/barebox-tqma93xx.img
> > +
> > +In Barebox, set the default boot location to nfs:
> > +
> > + nv boot.default:
> > nfs://dude06//ptx/work/user/fpg/DistroKit/platform-v8a/root
>
> Drop the colon, so it's an executable command.
Done
>
> Thanks for including docs.
You're welcome :)
Will send a new patch later, with your and other remarks.
Fabian
>
> Cheers,
> Ahmad
>
next prev parent reply other threads:[~2025-04-22 9:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 8:54 [DistroKit] [PATCH 0/1] Add TQ-STKa93xx board Fabian Pflug
2025-04-22 8:54 ` [DistroKit] [PATCH 1/1] v8a: Add support for tq-ma93xxca Fabian Pflug
2025-04-22 9:09 ` Ahmad Fatoum
2025-04-22 9:26 ` Fabian Pflug [this message]
2025-04-22 9:31 ` Ahmad Fatoum
2025-04-29 12:13 ` Robert Schwebel
2025-04-29 12:14 ` Robert Schwebel
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=dfc6186a00f56bca098caffa708d2a9464ee9c68.camel@pengutronix.de \
--to=f.pflug@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--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