MFG tool linux kernel not getting fdt address from uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MFG tool linux kernel not getting fdt address from uboot

Jump to solution
652 Views
disheng
Contributor III

Hello,

I have built mfg tool firmware under Yocto for our custom board with imx-3.14.52-1.1.0_ga,  our reference board is scm imx6dl but it is no longer supported with Yocto, I had to port the configuration over.

Now it gets stuck at "starting kernel" during MFG flash, with further debugging with early_print, I can see that the in /arch/arm/kernel/setup.c, in function setup_arch, the __atags_pointer which supposed to have the fdt address passed from uboot, is actually 0. But I debugged in the uboot, it actually passed the correct fdt address to r2 when transferring control to kernel.

disheng_1-1617955856305.png

From the log, the kernel went to setup_machine_tags because setup_machine_fdt not succesful, because __atags_pointer is 0.

Any ideas?

 

Thanks,

Di

0 Kudos
1 Solution
647 Views
igorpadykov
NXP Employee
NXP Employee

Hi Di

 

for "scm" modules one can look at source.codeaurora.org/external/imx/linux-imx repository :

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=scm-imx_4.1.15_2.0.0_ga

 

Best regards
igor

View solution in original post

0 Kudos
1 Reply
648 Views
igorpadykov
NXP Employee
NXP Employee

Hi Di

 

for "scm" modules one can look at source.codeaurora.org/external/imx/linux-imx repository :

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=scm-imx_4.1.15_2.0.0_ga

 

Best regards
igor

0 Kudos