public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Neha Malcom Francis <n-francis@ti.com>
Cc: Nishanth Menon <nm@ti.com>, Simon Glass <sjg@google.com>,
	Bryan <bb@ti.com>, Praneeth <praneeth@ti.com>,
	Andrew <afd@ti.com>, Robert Nelson <robertcnelson@gmail.com>,
	Vignesh <vigneshr@ti.com>,
	u-boot@lists.denx.de,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation
Date: Thu, 24 Aug 2023 10:20:50 -0400	[thread overview]
Message-ID: <20230824142050.GL3953269@bill-the-cat> (raw)
In-Reply-To: <a3af68c4-490d-f3e2-a9ed-acd650ac0452@ti.com>

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

On Thu, Aug 24, 2023 at 06:46:57PM +0530, Neha Malcom Francis wrote:
> Hi Simon, Nishanth
> 
> On 24/08/23 08:57, Nishanth Menon wrote:
> > On 21:01-20230823, Simon Glass wrote:
> > > Hi Nishanth,
> > > 
> > > On Wed, 23 Aug 2023 at 18:18, Nishanth Menon <nm@ti.com> wrote:
> > > > 
> > > > On 17:57-20230823, Simon Glass wrote:
> > > > [...]
> > > > > > This is how we have a common bit of rST for how to build N boards,
> > > > > > without having to do a literal copy and paste N times.
> > > > > 
> > > > > How about using this?
> > > > > 
> > > > > https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#substitution-definitions
> > > > 
> > > > I was not able to succeed with complex includes such as:
> > > > https://github.com/u-boot/u-boot/blob/master/doc/board/ti/am62x_sk.rst?plain=1#L89
> > > > 
> > > > am62x complete build procedure defined once and reused in other am62x
> > > > platforms.. But the am62x build procedure itself is reused from common
> > > > k3 build steps.
> > > 
> > > I followed through these instructions. I find the env vars quite
> > > confusing, since I don't really know what it is doing. It feels like a
> > > script:
> > > 
> > > do $a $b $c
> > > do $f $e
> > > 
> > > it is pretty hard to follow. I think it would be better to write
> > > everything out in full for each board, like rockchip does.
> > 
> > Unfortunately, this is a few major steps that is repeated for
> > (currently):
> > 	AM62x SK
> > 	Toradex Verdin
> > 	(pending: beagleplay - )
> > 	(once all the dust clears up, hopefully phytec)
> > 	SK-LP
> > 	....
> > 
> > I have no reasonable way to offer to keep them all in sync.
> > 	https://libera.irclog.whitequark.org/u-boot/2023-07-26#34662854;
> > is kind of why I went down this path.S
> > 
> > > 
> > > Some other minor feedback:
> > > 
> > > - The 'make' lines should really have -j $(nproc) added
> > 
> > Different styles of shells..
> > 
> > > - The $ signs at the start of each command in the docs are a pain
> > > since it stops me copying the commands into the terminal - can you
> > > remove them?
> > 
> > hehe.. "dont" let people blindly copy paste without understanding what is
> > going on argument?
> > 
> > If folks are OK, I sure can send a different patch series for that.. (or
> > maybe motivate someone to do that instead of me ;))
> > 
> > 
> > > - It doesn't build for me:
> > > 
> > >    BINMAN  .binman_stamp
> > > Image 'ti-dm' is missing external blobs and is non-functional: blob-ext
> > > 
> > > /binman/ti-dm/blob-ext (ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f):
> > >     Missing blob
> > > 
> > > Some images are invalid
> > > make[1]: *** [/scratch/sglass/cosarm/src/third_party/u-boot/files/Makefile:1115:
> > > .binman_stamp] Error 103
> > > make[1]: Leaving directory '/tmp/b/play'
> > > make: *** [Makefile:177: sub-make] Error 2
> > 
> > 
> > ^^ Neha: This is what I was complaining about.
> > 
> > https://u-boot.readthedocs.io/en/latest/board/ti/am62x_sk.html?highlight=am62#sources
> > 
> > source: https://git.ti.com/git/processor-firmware/ti-linux-firmware.git
> > is missing, we never used to break build previously binman converted now does.
> > 
> > I am wondering if I need to explicitly call out git clone instructions
> > out..
> > 
> 
> Right... this does seem to be a complaint that keeps coming up.
> 
> Simon, my intention at the time of sending out the patch was that anyone
> building the board should "not NOT" have the DM binary. The way we
> structured the filename was that it looks at BINMAN_INDIRS to find
> ti-dm/ipc_echo_testb_mcu1_0_release_strip.xer5f but I guess this is a
> confusing way to put it across. Maybe we should rework that. Or not throw an
> error at all when DM isn't found.

Well, is DM required or not? If it's optional, we have flags to mark it
optional.  If it's required, we have flags for make and buildman to tell
binman "fake it".  I am wondering if we still have the ability to have a
more verbose "need it, can't find it" error message, and so that's where
it should say that you forgot to set BINMAN_INDIRS or clone the firmware
repository.

-- 
Tom

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

  reply	other threads:[~2023-08-24 14:21 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22 18:41 [PATCH V4 0/8] board: ti: Add support for BeaglePlay Nishanth Menon
2023-08-22 18:41 ` [PATCH V4 1/8] env_default: Allow CONFIG_EXTRA_ENV_TEXT to override CFG_EXTRA_ENV_SETTINGS Nishanth Menon
2023-08-22 23:16   ` Simon Glass
2023-08-22 23:33     ` Nishanth Menon
2023-08-23  2:34       ` Simon Glass
2023-08-23 11:42         ` Nishanth Menon
2023-08-23  7:47   ` Mattijs Korpershoek
2023-08-23 14:42   ` Tom Rini
2023-08-23 15:06     ` Nishanth Menon
2023-08-23 15:17       ` Tom Rini
2023-08-22 18:41 ` [PATCH V4 2/8] configs: am62x_evm*: Enable EMMC_BOOT configuration Nishanth Menon
2023-08-23  7:50   ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 3/8] arm: mach-k3: am625: Add support for UDA FS Nishanth Menon
2023-08-23  7:54   ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 4/8] drivers: mmc: am654_sdhci: Update OTAP/ITAP delay Nishanth Menon
2023-08-23  8:06   ` Mattijs Korpershoek
2023-08-23 10:15     ` Nitin Yadav
2023-08-23 10:18       ` Nitin Yadav
2023-08-23 11:38         ` Nishanth Menon
2023-08-23 14:21           ` Nishanth Menon
2023-08-22 18:41 ` [PATCH V4 5/8] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary Nishanth Menon
2023-08-23  8:09   ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 6/8] arm: dts: Add k3-am625-beagleplay Nishanth Menon
2023-08-23  8:26   ` Mattijs Korpershoek
2023-08-22 18:41 ` [PATCH V4 7/8] board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file Nishanth Menon
2023-08-23  8:29   ` Mattijs Korpershoek
2023-08-23 14:42   ` Tom Rini
2023-08-22 18:41 ` [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation Nishanth Menon
2023-08-23  8:36   ` Mattijs Korpershoek
2023-08-23 15:30   ` Simon Glass
2023-08-23 17:15     ` Tom Rini
2023-08-23 23:57       ` Simon Glass
2023-08-24  0:18         ` Nishanth Menon
2023-08-24  3:01           ` Simon Glass
2023-08-24  3:27             ` Nishanth Menon
2023-08-24  8:21               ` Mattijs Korpershoek
2023-08-24 12:07                 ` Nishanth Menon
2023-08-24 13:16               ` Neha Malcom Francis
2023-08-24 14:20                 ` Tom Rini [this message]
2023-08-24 14:41                   ` Simon Glass
2023-08-24 14:43                     ` Tom Rini
2023-08-24 14:46                       ` Simon Glass
2023-08-25 14:17                         ` Neha Malcom Francis
2023-08-24 14:16               ` Tom Rini
2023-08-25  1:04   ` Simon Glass
2023-08-25  1:22     ` Nishanth Menon
2023-08-25  1:31       ` Simon Glass
2023-08-25  1:59         ` Nishanth Menon
2023-08-25 23:45           ` Simon Glass
2023-08-26  1:06             ` Robert Nelson
2023-08-26  2:04               ` Simon Glass
2023-08-28 13:01                 ` Nishanth Menon
2023-08-23  7:44 ` [PATCH V4 0/8] board: ti: Add support for BeaglePlay Mattijs Korpershoek

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=20230824142050.GL3953269@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=praneeth@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=sjg@google.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