From patchwork Mon Jan 13 15:53:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 239579 List-Id: U-Boot discussion From: agust at denx.de (Anatolij Gustschin) Date: Mon, 13 Jan 2020 16:53:16 +0100 Subject: imx8qxp mek: Booting mainline kernel with mainline U-Boot In-Reply-To: References: Message-ID: <20200113165316.5368475d@crub> 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 ? --- Anatolij 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);