MFG tool linux kernel not getting fdt address from uboot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MFG tool linux kernel not getting fdt address from uboot

跳至解决方案
1,211 次查看
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 项奖励
回复
1 解答
1,206 次查看
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 项奖励
回复
1 回复
1,207 次查看
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 项奖励
回复