Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optee-os_git.bb is overridden by a defective version in meta-linaro/meta-optee #7

Open
selbstereg opened this issue Jul 17, 2017 · 1 comment

Comments

@selbstereg
Copy link


SHORT VERSION:

Why does meta-renesas (branch krogoth) provide a recipe optee-os_git.bb, if it depends on meta-linaro/meta-optee (branch krogoth), which overrides this recipe (with a version, that seems defective if used together with meta-renesas)?


LONG VERSION:

I'm trying to update my RCAR-H3 image build from fido to krogoth.
Now the recipe optee-os_git.bb depends on python-wand and python-pycrypto recipes. To get these I cloned meta-linaro and checked out it's krogoth-branch.
The python-* recipes are provided in meta-linaro/meta-optee which also contains another optee-os_git.bb. This version of the recipe is chosen for my build because of the higher layer priority of meta-linaro/meta-optee. It contains the lines

OPTEEMACHINE ?= "${MACHINE}"
OPTEEOUTPUTMACHINE ?= "${MACHINE}"

where MACHINE ??= "h3ulcb" is set in my local.conf. This setup results in a failure of the build. Taking a look at the meta-renesas version of optee-os_git.bb and the content of the optee-source folder, I've come to the conclusion, that the correct values for OPTEEMACHINE/OPTEEOUTPUTMACHINE should be "rcar" (as can be seen in the meta-renesas version of optee-os_git.bb). I can fix my build by setting

OPTEEMACHINE = "rcar"
OPTEEOUTPUTMACHINE = "rcar"

in local.conf but still the whole matter seems rather queer to me and I wonder, whether there may be problems arising from the usage of the meta-linaro/meta-optee version of optee-os_git.bb.

Thank you in advance for any comments and help.

@ghost
Copy link

ghost commented Apr 6, 2018

This way you are using the recipe from meta-linaro layer, you will probably miss the tee-h3ulcb.srec .bin and .elf in your DEPLOYDIR.
Refer to the doc for instance: meta-rcar-gen3/docs/sample/conf/m3ulcb/poky-gcc/bsp/local.conf renesas seems to suggest to MASK the recipes in the local.conf: BBMASK = "meta-linaro/meta-optee/recipes-security/optee"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant