public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Manorit Chawdhry <m-chawdhry@ti.com>
Cc: Simon Glass <sjg@chromium.org>, Nishanth Menon <nm@ti.com>,
	Andrew Davis <afd@ti.com>, Roger Quadros <rogerq@kernel.org>,
	vigneshr@ti.com, jonas@kwiboo.se, srk@ti.com, bb@ti.com,
	praneeth@ti.com, u-boot@lists.denx.de
Subject: Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets
Date: Mon, 6 Nov 2023 10:31:59 -0500	[thread overview]
Message-ID: <20231106153159.GH496310@bill-the-cat> (raw)
In-Reply-To: <20231106055351.f2fny5ys6avi5qnk@ula0497581>

[-- Attachment #1: Type: text/plain, Size: 2980 bytes --]

On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote:
> Hi Simon,
> 
> On 11:22-20231005, Simon Glass wrote:
> > Hi Nishanth,
> > 
> > On Thu, 5 Oct 2023 at 11:16, Nishanth Menon <nm@ti.com> wrote:
> > >
> > > On 12:10-20231005, Nishanth Menon wrote:
> > > > On 12:36-20231005, Tom Rini wrote:
> > > > > On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote:
> > > > > > On 10/4/23 8:54 AM, Nishanth Menon wrote:
> > > > > > > On 08:48-20231004, Andrew Davis wrote:
> > > > > > > > On 10/4/23 8:23 AM, Roger Quadros wrote:
> > > > > > > > > ti_mmc is not a valid boot_target for standard boot flow so
> > > > > > > >
> > > > > > > > Is there some way to make it into a valid boot_target? Otherwise
> > > > > > > > how do we use uEnv.txt files, or boot from FIT images with overlays?
> > > > > > >
> > > > > > > envboot takes care of uEnv.txt file (see
> > > > > > > https://lore.kernel.org/all/20231004132324.44198-3-rogerq@kernel.org/)
> > > > > > >
> > > > > > > Early remote proc loading and FIT image is a question for stdboot itself.
> > > > > > >
> > > > > >
> > > > > > If stdboot is missing these features then we shouldn't switch until it
> > > > > > has them. I'm all for switching to this, but only if it is complete.
> > > > >
> > > > > Depends on what you mean?  Did you mean an option to run scripts
> > > > > (exists) or an option to do what TI needs done, via
> > > > > boot/bootmeth_something.c ?  If the latter, someone from TI needs to
> > > > > figure out what that should be and do (but plumbing-wise everything it
> > > > > needs should exist).
> > > >
> > > > Andrew is generalizing here (on the wrong patch though).
> > > >
> > > > On am62x platforms, there is nothing regressing with this series. The
> > > > challenge is early remote_proc loading which is done for J7* platforms.
> > > >
> > > > How that is initiated as part of bootmethods is something of a gap.
> > > >
> > > > The other gap has been support for uEnv.txt -> which we can workaround
> > > > at the moment by using CONFIG_BOOTCOMMAND="run envboot; bootflow scan
> > > > -lb" in defconfig (This series from Roger already does that - hence I am
> > > > saying that Andrew is complaining on the wrong series).
> > > >
> > > > Ideally, we should just have CONFIG_BOOTCOMMAND="bootflow scan -lb" and
> > > > uEnv.txt remoteproc loads and the various standard bootmethods should
> > > > "just work".
> > >
> > >
> > > I forgot to add: FIT image authenticated boot flow. That is really what
> > > ti_mmc distroboot method was trying to solve.
> > >
> > > Maybe Simon or someone know how the stdboot flow handles authenticated
> > > kernel image and dtb boot flow with FIT image?
> > 
> > Yes you can use FIT configuration verification and things should work as normal.
> > 
> 
> Could you give any reference documentation for this?

I suspect you should start with doc/usage/fit/beaglebone_vboot.rst

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2023-11-06 15:32 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-04 13:23 [PATCH 0/2] board: ti: am6x: Switch to standard boot Roger Quadros
2023-10-04 13:23 ` [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets Roger Quadros
2023-10-04 13:48   ` Andrew Davis
2023-10-04 13:54     ` Nishanth Menon
2023-10-05 14:19       ` Andrew Davis
2023-10-05 16:36         ` Tom Rini
2023-10-05 17:10           ` Nishanth Menon
2023-10-05 17:16             ` Nishanth Menon
2023-10-05 17:22               ` Andrew Davis
2023-10-05 17:28                 ` Nishanth Menon
2023-10-05 17:22               ` Simon Glass
2023-10-06  9:54                 ` Roger Quadros
2023-11-06  5:53                 ` Manorit Chawdhry
2023-11-06 15:31                   ` Tom Rini [this message]
2023-11-06 17:27                     ` Andrew Davis
2023-11-06 17:47                       ` Simon Glass
2023-11-06 18:05                         ` Andrew Davis
2023-11-28  9:31                           ` Manorit Chawdhry
2023-11-30  2:16                             ` Simon Glass
2023-11-30  2:45                           ` Simon Glass
2023-12-31 12:48                             ` Simon Glass
2024-01-02 14:58                               ` Andrew Davis
2024-01-04  7:52                                 ` Manorit Chawdhry
2024-01-04 15:55                                   ` Andrew Davis
2024-01-04 22:23                                     ` Jon Humphreys
2024-01-05  7:46                                     ` Manorit Chawdhry
2023-10-04 13:59   ` Nishanth Menon
2023-10-04 13:23 ` [PATCH 2/2] board: ti: am64x: Switch to standard boot flow Roger Quadros
2023-10-04 13:59   ` Nishanth Menon

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=20231106153159.GH496310@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=jonas@kwiboo.se \
    --cc=m-chawdhry@ti.com \
    --cc=nm@ti.com \
    --cc=praneeth@ti.com \
    --cc=rogerq@kernel.org \
    --cc=sjg@chromium.org \
    --cc=srk@ti.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /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