Hi Fabio,

On Mon, 13 Jan 2020 12:36:20 -0300
Fabio Estevam [email protected] 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 via email to