Yocto build + Stand Alone Kernel Build

Hi everyone,

I’m new to Yocto builds (more experienced with buildroot), but I wanted to add some libraries to the build and do some tests with the kernel and device tree, so I gave it a try. The problem I’m having is the following:

I installed the flat image downloaded from the website (Version 1.2) and replaced the Kernel with one builded using the instructions here. This worked perflectly fine. I saw the eSDK used to build the flat image was the same as the one published on the tools tab.

I then built the Yocto project using every single manifest available and I had the same problem every time: when I then tried to build the kernel independently from yocto and boot the board:

Couldn't find specified OSTree root '/sysroot//ostree/boot.1/poky/f1d0cc38f3dd6b588d06de3599e522bfda25f4ab84a88b4a52f5f8834c0454na4b/0

Do you know why could this be happening? Is it the SDK? I tried to generate a new eSDK with bitbake
bitbake -c do_populate_sdk_ext qcom-multimedia-image

But no luck. I get a ton of error of files not found.


In the meanwhile, I'm building the kernel and packing with Yocto, but it is very very slow. If any of you have any advice or guidance it would be greatly appreciated. It's my first time working with a Qualcomm SOC.

Thanks a lot!

For anyone who might stumble upon this problem, I finally figured it out!

  1. I didn’t need to generate the eSDK. The regular SDK was more than enough (I didn’t know he difference)
  2. The efi.bin used by the external linux build is not the same as the one used by the flat image generated by the Yocto project.

I still don’t quite know the difference, but by coping the efi.bin generated by yocto into {workspace}/rubikpi/tools/pack I was able to pack the kernel into the efi.bin and boot correctly the board.