From: Francesco Dolcini <francesco@dolcini.it>
To: Tom Rini <trini@konsulko.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>,
Fabio Estevam <festevam@gmail.com>,
Francesco Dolcini <francesco@dolcini.it>,
Oliver Graute <Oliver.Graute@kococonnector.com>,
u-boot@lists.denx.de, marcel.ziswiler@toradex.com,
Francesco Dolcini <francesco.dolcini@toradex.com>,
Simon Glass <sjg@chromium.org>
Subject: Re: [PATCH v2 01/22] apalis-imx8: fix booting caused by missing dm_event
Date: Mon, 16 Jan 2023 11:58:47 +0100 [thread overview]
Message-ID: <Y8Ut5/PZXKu3pbR+@francesco-nb.int.toradex.com> (raw)
In-Reply-To: <20230114182311.GG3880571@bill-the-cat>
Hello Tom,
On Sat, Jan 14, 2023 at 01:23:11PM -0500, Tom Rini wrote:
> On Sat, Jan 14, 2023 at 07:00:08PM +0100, Heinrich Schuchardt wrote:
> > On 1/14/23 18:22, Tom Rini wrote:
> > > On Sat, Jan 14, 2023 at 11:57:20AM -0500, Tom Rini wrote:
> > > > On Sat, Jan 14, 2023 at 08:27:25AM -0500, Tom Rini wrote:
> > > > > On Sat, Jan 14, 2023 at 08:25:19AM -0300, Fabio Estevam wrote:
> > > > > > Hi Francesco,
> > > > > >
> > > > > > On Fri, Jan 13, 2023 at 2:18 PM Francesco Dolcini <francesco@dolcini.it> wrote:
> > > > > > >
> > > > > > > From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> > > > > > >
> > > > > > > Without the DM_EVENT absolutely no output whatsoever and the system does
> > > > > > > not boot at all.
> > > > > >
> > > > > > Why do we need to select CONFIG_EVENT=y in the first place?
> > > > > >
> > > > > > Oliver on CC reported the same issue for his board, and we have other
> > > > > > broken boards too
> > > > > > that do not select CONFIG_EVENT=y.
> > > > > >
> > > > > > Can we have a generic fix for this?
> > > > > >
> > > > > > Tom, Heinrich?
> > > > >
> > > > > Yes, if someone can explain what the problem is, we can correct the
> > > > > dependency. I gather most platforms have whatever this problem is
> > > > > ignored due to enabling EFI_LOADER.
> > > >
> > > > The more I look at this, the more confused I get. With DEBUG_UART
> > > > enabled, where do thing fail without CONFIG_EVENT (and CONFIG_DM_EVENT,
> > > > which is then enabled due to "imply DM_EVENT" in arch/arm/Kconfig, under
> > > > ARCH_IMX8) ? How about if you turn DM_EVENT back off?
> > >
> > > The only other data point I can add right now is that it's not entirely
> > > generic, I think. I can disable EFI_LOADER and EVENT and DM_EVENT on
> > > am65x_evm (both r5 and a53 portions) and still boot up fine. I don't
> > > have something imx8 in my lab, however.
> > >
> >
> > I cannot find event_register() used outside of
> > lib/efi_driver/efi_block_device.c and test/common/event.c)
> >
> > Why should any board with CONFIG_EFI_LOADER=n depend on events?
>
> There's other events, using EVENT_SPY(...). I'm working on a patch to
> fix things up now.
Given that this is now solved by your patch Tom, we can just drop this,
together with patch 10. The question here is if I should send another
series with those 2 removed or you just do not apply those.
Francesco
next prev parent reply other threads:[~2023-01-16 10:59 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 17:17 [PATCH v2 00/22] apalis-imx8: boot issue fix and support refresh Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 01/22] apalis-imx8: fix booting caused by missing dm_event Francesco Dolcini
2023-01-14 11:25 ` Fabio Estevam
2023-01-14 13:27 ` Tom Rini
2023-01-14 16:57 ` Tom Rini
2023-01-14 17:22 ` Tom Rini
2023-01-14 17:48 ` Tom Rini
2023-01-14 18:00 ` Heinrich Schuchardt
2023-01-14 18:23 ` Tom Rini
2023-01-16 10:58 ` Francesco Dolcini [this message]
2023-01-13 17:17 ` [PATCH v2 02/22] apalis-imx8: implement pcb version and soc variant handling Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 03/22] apalis-imx8: turn off lcd backlight before os handover Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 04/22] apalis-imx8: display build info Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 05/22] apalis-imx8: provide proper config_sys_prompt Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 06/22] apalis-imx8: set bootdelay Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 07/22] apalis/colibri-imx8/8x: add overlay support for i.mx 8/8x-based soms Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 08/22] apalis/colibri-imx8/8x: remove global variable script Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 09/22] apalis-imx8: enable environment bootcount limit Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 10/22] apalis-imx8: update spdx license identifier string Francesco Dolcini
2023-01-14 17:27 ` Tom Rini
2023-01-16 10:49 ` Francesco Dolcini
2023-01-16 14:23 ` Tom Rini
2023-01-16 19:20 ` Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 11/22] apalis-imx8: remove obsolete sdhc related config defines Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 12/22] apalis-imx8: remove obsolete net usb start Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 13/22] apalis-imx8: introduce setup setting setupargs Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 14/22] apalis-imx8: drop obsolete environment variables Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 15/22] apalis-imx8: update update_uboot confirmation message Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 16/22] apalis-imx8: update env memory layout Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 17/22] board: apalis-imx8: get rid of sc_err_t type Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 18/22] board: apalis-imx8: remove board_phy_config duplicate Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 19/22] board: apalis-imx8: initialize snvs Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 20/22] apalis-imx8: set bootaux memory base and size Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 21/22] apalis-imx8: add M4 boot environment helpers Francesco Dolcini
2023-01-13 17:17 ` [PATCH v2 22/22] apalis-imx8: add emmc/mmc card pinctrl's for different speeds Francesco Dolcini
2023-01-14 11:34 ` [PATCH v2 00/22] apalis-imx8: boot issue fix and support refresh Fabio Estevam
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=Y8Ut5/PZXKu3pbR+@francesco-nb.int.toradex.com \
--to=francesco@dolcini.it \
--cc=Oliver.Graute@kococonnector.com \
--cc=festevam@gmail.com \
--cc=francesco.dolcini@toradex.com \
--cc=marcel.ziswiler@toradex.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.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