Message ID | CAOMZO5COEo8+O1dEkWNaqg=dmeWAxwWHuaWfz2LP=jbEA+P36A@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [v2] power-domain: fix hang in endless loop on i.MX8 | expand |
On Mon, Feb 17, 2020 at 2:27 PM Fabio Estevam <festevam at gmail.com> wrote: > I also had to apply the following change in order to boot a i.MX8QXP MEK board: > > --- a/arch/arm/mach-imx/imx8/fdt.c > +++ b/arch/arm/mach-imx/imx8/fdt.c > @@ -280,6 +280,8 @@ int ft_system_setup(void *blob, bd_t *bd) > { > int ret; > > + return 0; > + > update_fdt_with_owned_resources(blob); > > if (is_imx8qm()) { > > With your patch and this change a 4.14.98 NXP kernel can boot, but not > a 4.19.35 NXP nor a mainline kernel. > > Tested-by: Fabio Estevam <festevam at gmail.com> Correction: the above change is not needed now. I saw an issue with the command line and I sent a fix. This patch plus the one that fixes the command line are enough to get i.MX8QXP MEK board booting a mainline kernel. Thanks
--- a/arch/arm/mach-imx/imx8/fdt.c +++ b/arch/arm/mach-imx/imx8/fdt.c @@ -280,6 +280,8 @@ int ft_system_setup(void *blob, bd_t *bd) { int ret; + return 0; + update_fdt_with_owned_resources(blob); if (is_imx8qm()) {