AnsweredAssumed Answered

Yocto Boot Problem - Custom Device Tree

Question asked by Paul DeMetrotion on Dec 1, 2015
Latest reply on Dec 9, 2015 by Paul DeMetrotion

I am developing a Yocto Linux kernel for a custom SBC based on the I.MX6Q. I have generated a device tree for the SBC and am executing 'bitbake core-image-base'. Everything appears to be good, but when I boot the image, it stops at the 'Starting kernel ...' message.


I have traced the issue to the early_init_dt_scan function call. The parameter being passed when the function is called does not point to my device tree but appears to be pointing at u-boot parameters instead. The device tree does build and looks correct.


Here are the contents being passed to the function:




When the code checks for the proper DTS signature, it fails because the value is 5 instead of OF_DT_HEADER. Any idea why the data being passed is not the DTB file?


Is there a customization step I am missing when adding a custom device tree?