From: Denys Dmytriyenko <denis@denix.org>
To: afd@ti.com
Cc: Francesco Dolcini <francesco@dolcini.it>,
Ryan Eatmon <reatmon@ti.com>,
meta-ti@lists.yoctoproject.org,
Franz Schnyder <franz.schnyder@toradex.com>,
Franz Schnyder <fra.schnyder@gmail.com>
Subject: Re: [meta-ti][master][PATCH v1] conf: machine: j784s4: Move ti-eth-fw-j784s4 to EVM conf
Date: Wed, 15 Apr 2026 17:10:59 -0400 [thread overview]
Message-ID: <20260415211059.GD4186@denix.org> (raw)
In-Reply-To: <6a59459c-9843-4a9c-9e43-b3697b7d4203@ti.com>
On Wed, Apr 15, 2026 at 09:43:31AM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> On 4/15/26 6:58 AM, Francesco Dolcini wrote:
> >+Andrew
> >
> >Hello Ryan,
> >
> >On Wed, Apr 15, 2026 at 01:41:04PM +0200, Franz Schnyder wrote:
> >>From: Franz Schnyder <franz.schnyder@toradex.com>
> >>
> >>The `ti-eth-fw-j784s4` firmware is added in the generic J784s4 SoC
> >>include, which is therefore used for all the J784s4-based machines.
> >>That firmware seems to be developed specifically for the EVM, as it
> >>takes control of pins used for the Ethernet board setup on the EVM. On
> >>non-EVM boards, like the Aquila-AM69, those signals are used for other
> >>functions, so enabling the firmware in the SoC include is too broad
> >>and breaks functionality.
> >>
> >>Move the machine-essential recommend from the SoC include
> >>to the EVM configuration.
> >>
> >>Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
> >
> >This seems to be the 3rd time, in a relatively short time, in which
> >we are affected by your decision to put into the SoC file, configuration
> >that are not about the SOC
> >
> > 1 - the initramfs topic [https://lore.kernel.org/yocto-meta-ti/78ec394aae8a141ceb87a6b67f109665e7c96122.camel@gmail.com/]
> > 2 - the console uart [https://lore.kernel.org/yocto-meta-ti/4e08fa3658b1e54add6d5476c7234e86dbcbb60c.camel@gmail.com/]
>
> I thought we solved this one by making the console selection more easily
> updated in the board files. If we want to go one step further and remove
> the defaults from the SoC level and always select the board specific UART
> in each board config I wouldn't oppose that either.
I was going to reply to the end of the thread, but this entire section of the
discussion was completely removed, hence I will do it here.
We've discussed this quite a lot internally and we ended up going with what
Andrew is saying here.
There's this concept of "sane defaults" that covers most of the cases and it
makes sense to set them as such. We have tens of platforms using this default
UART configuration and it makes perfect sense to set it once, instead of
copying the same over and over again - it is a maintenance pitfall. But we
also make sure to allow very easy and effortless overriding of this default,
if, for some reason, a specific board implementation doesn't follow this
default.
There are lots and lots of similar examples when an upstream layer, including
OE-Core, sets a sane default that may not match your configuration, but as
long as it allows easy override downstream, it's not the end of the world.
> > 3 - this firmware
> >
>
> This firmware was a miss on our part, we were not aware that it was
> not generic for all boards using this SoC but instead does some EVM
> specific pinmuxing. I've looked into the FW source and can see where
> that happens, I'll work to see how we can fix that. In the mean time
> I agree then we should move this firmware to the board level (as the
> patch does).
Here I agree with Andrew - it was an oversight and if it does per-board
pinmuxing, then it belongs in a board config. That said, please address my
comment for the patch before merging.
> >Can I ask TI once more to rethink this considering that meta-ti is used
> >by users of your SoC, but not of your EVK/SK ?
> >
>
> We do think a lot about external users of meta-ti, we even made a whole
> split out reference layer (meta-beagle) that we treat like a normal vendor
> layer so that we can more easily identify when we are making bad assumptions
> that only apply to our EVM/SK boards. Yes we do still sometimes get it wrong,
> and so we are very happy that you are providing the feedback that you have
> and helping point out those cases.
>
> If I'm not mistaken the initramfs topic is the only outstanding case
> where what goes in the SoC file vs board files is still open and we
> should continue to try to find the best solution.
Again, there's been a lot of internal discussion and as Ryan mentioned
earlier, we do believe it is very easy to disable initramfs by several
different methods and hence still falls into a "sane default" bucket.
As an example, to extend what Andrew said, meta-beagle as a vendor layer
already had to deal with several such instances, showcasing how easy it is
to override meta-ti defaults, when you disagree with them:
https://git.yoctoproject.org/meta-ti/commit/?id=b07a909654ac542353a7108f7a82bd5e1e2d4a82
https://git.yoctoproject.org/meta-ti/commit/?id=92c2198288fb19ce6f92084687b42f7d0af2adc7
--
Denys
next prev parent reply other threads:[~2026-04-15 21:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-15 11:41 [meta-ti][master][PATCH v1] conf: machine: j784s4: Move ti-eth-fw-j784s4 to EVM conf Franz Schnyder
2026-04-15 11:58 ` Francesco Dolcini
2026-04-15 14:43 ` Andrew Davis
2026-04-15 15:16 ` Francesco Dolcini
2026-04-15 21:10 ` Denys Dmytriyenko [this message]
2026-04-16 8:42 ` Francesco Dolcini
2026-04-15 14:00 ` PRC Automation
2026-04-15 20:47 ` Denys Dmytriyenko
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=20260415211059.GD4186@denix.org \
--to=denis@denix.org \
--cc=afd@ti.com \
--cc=fra.schnyder@gmail.com \
--cc=francesco@dolcini.it \
--cc=franz.schnyder@toradex.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=reatmon@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.