Yocto Project Discussions
 help / color / mirror / Atom feed
* How to assemble FIT images with linux and OPTEE?
@ 2020-10-15 14:46 Alex G.
  0 siblings, 0 replies; only message in thread
From: Alex G. @ 2020-10-15 14:46 UTC (permalink / raw)
  To: yocto

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-15 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15 14:46 How to assemble FIT images with linux and OPTEE? Alex G.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox