How to assemble FIT images with linux and OPTEE?
Hi,
I'm trying to write a recipe for a secure boot flow. It would look something like this:
images {
optee@1 { "path/to/tee.bin" }
linux@2 { "path/to/zImage" }
fdt@board { ... }
}
configurations {
secure {
kernel = "optee@1";
loadables = "linux@2";
fdt = "fdt@board";
}
}I've tried to "inherit kernel-fitimage", but soon learned of a couple of limitations:
* images: No way to add an optee binary
* configurations: No way to add a "loadables"
Secondly, since this approach would use files from several packages, I think it would be better to have the recipe separate from the kernel build. Bot how would I use files from another recipe? All I could figure out was to first put them in ${DEPLOY_DIR_IMAGE}.
What would be the "correct" way to write such a recipe?
Alex