public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: imx8qxp mek: Booting mainline kernel with mainline U-Boot
Date: Mon, 13 Jan 2020 16:53:16 +0100	[thread overview]
Message-ID: <20200113165316.5368475d@crub> (raw)
In-Reply-To: <CAOMZO5BfSKHdWx+X-rCNAjzCS-uSERd=DOJcJ-=HK8U8U+N=Xg@mail.gmail.com>

Hi Fabio,

On Mon, 13 Jan 2020 12:36:20 -0300
Fabio Estevam festevam at gmail.com wrote:
...
> Starting kernel ...
> [It hangs here]
> 
> Booting a NXP kernel also did not work.
> 
> Any ideas?

Does the kernel boot if you apply following U-Boot changes ?

diff --git a/arch/arm/mach-imx/imx8/fdt.c b/arch/arm/mach-imx/imx8/fdt.c
index 65c8ac1a7e..e51fe4b897 100644
--- a/arch/arm/mach-imx/imx8/fdt.c
+++ b/arch/arm/mach-imx/imx8/fdt.c
@@ -279,8 +279,9 @@ static int ft_add_optee_node(void *fdt, bd_t *bd)
 int ft_system_setup(void *blob, bd_t *bd)
 {
 	int ret;
-
+#if 0
 	update_fdt_with_owned_resources(blob);
+#endif
 
 	if (is_imx8qm()) {
 		ret = config_smmu_fdt(blob);
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c
index 5c8dc4ad70..be041b0b4c 100644
--- a/drivers/core/device-remove.c
+++ b/drivers/core/device-remove.c
@@ -192,10 +192,11 @@ int device_remove(struct udevice *dev, uint flags)
 				__func__, dev->name);
 		}
 	}
-
+#if 0
 	if (!(drv->flags & DM_FLAG_DEFAULT_PD_CTRL_OFF) &&
 	    (dev != gd->cur_serial_dev))
 		dev_power_domain_off(dev);
+#endif
 
 	if (flags_remove(flags, drv->flags)) {
 		device_free(dev);

--
Anatolij

  reply	other threads:[~2020-01-13 15:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 15:36 imx8qxp mek: Booting mainline kernel with mainline U-Boot Fabio Estevam
2020-01-13 15:53 ` Anatolij Gustschin [this message]
2020-01-13 16:03   ` Fabio Estevam
2020-01-14 23:04     ` Anatolij Gustschin
2020-01-16 16:38       ` Fabio Estevam
2020-01-16 16:57         ` Anatolij Gustschin
2020-01-16 18:03         ` Igor Opaniuk
2020-01-16 18:16           ` Tom Rini
2020-01-17  6:07             ` Lokesh Vutla
2020-01-23 13:53               ` Oliver Graute
2020-01-23 14:07                 ` Lokesh Vutla
2020-01-27 13:13                   ` Peng Fan
2020-01-14  0:46 ` Peng Fan
2020-01-14  1:08   ` Fabio Estevam
2020-01-14 19:01     ` Fabio Estevam
2020-01-21 17:39       ` Fabio Estevam
2020-01-27 13:11         ` Peng Fan
2021-06-12 12:51 ` vmuthusu

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=20200113165316.5368475d@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.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