{"id":15067274,"url":"https://github.com/l-krstic/optee-examples-yocto","last_synced_at":"2026-01-03T04:58:44.861Z","repository":{"id":224809824,"uuid":"752703631","full_name":"l-krstic/optee-examples-yocto","owner":"l-krstic","description":"This repo contains files for OP-TEE user application integration, in Embedded Linux development for Yocto distribution.","archived":false,"fork":false,"pushed_at":"2024-03-01T20:31:50.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T16:23:37.043Z","etag":null,"topics":["arm","arm64","cybersecurity","embedded","embedded-linux","imx8","imx8mm","linux-kernel","optee","sec","security","trustzone","trustzone-kernel","yocto"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l-krstic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-04T15:22:49.000Z","updated_at":"2025-01-08T04:13:15.000Z","dependencies_parsed_at":"2024-02-27T21:30:16.714Z","dependency_job_id":"d501cd9f-129f-4606-ab4e-2cfa360c60b1","html_url":"https://github.com/l-krstic/optee-examples-yocto","commit_stats":null,"previous_names":["l-krstic/optee-examples-yocto"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-krstic%2Foptee-examples-yocto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-krstic%2Foptee-examples-yocto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-krstic%2Foptee-examples-yocto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-krstic%2Foptee-examples-yocto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l-krstic","download_url":"https://codeload.github.com/l-krstic/optee-examples-yocto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822309,"owners_count":20353499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm","arm64","cybersecurity","embedded","embedded-linux","imx8","imx8mm","linux-kernel","optee","sec","security","trustzone","trustzone-kernel","yocto"],"created_at":"2024-09-25T01:18:59.383Z","updated_at":"2026-01-03T04:58:44.818Z","avatar_url":"https://github.com/l-krstic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# optee-examples-yocto\n\n\u0026middot; Project is being done on i.MX8M Mini. Yocto version is\nHardknott 5.10.72. Host system is running Ubuntu 20.04, together\nwith Linux kernel 5.15.\n\n\u0026middot; Required changes in conf/local.conf are:\n\n```text\nTEE_CFG_DDR_SIZE = \"0x80000000\"\nDISTRO_FEATURES_append += \" systemd\"\nDISTRO_FEATURES_BACKFILL_CONSIDERED += \"sysvinit\"\nVIRTUAL-RUNTIME_init_manager = \"systemd\"\nVIRTUAL-RUNTIME_initscripts = \"systemd-compat-units\"\nMACHINE_FEATURES:append = \" optee\"\nDISTRO_FEATURES:append = \" optee\"\nIMAGE_INSTALL:append = \" \\\n        optee-os \\\n        optee-client \\\n        optee-test \\\n        optee-examples \\\n\"\n```\n\n\u0026middot; After creating your own layer, add it in conf/bblayers.conf,\nand copy all files from meta-master/\n\n\u0026middot; This layer contains .bbappend file for optee-os, together with patch\nthat bypass python module errors in script sign_encrypt.py.\n\n\u0026middot; Also, this layer contains optee-examples recipe, and files required to\nbuild it. This recipe also requires a patch, that passes ldflags during\nlinking phase.\n\n1. **optee-examples_3.11.0.bb** with **optee-examples.inc** is recipe that builds\nexamples from git.\n\n2. **optee.inc** is used for setting up build system of optee-examples.\n\n3. **optee-examples_%.bbappend** is used when someone wants to build application,\nbeside those on git.\n\n\u0026middot; Update path to external sources, according to your system, in file\n**optee-examples_%.bbappend** !\n\n# IMPORTANT \nWhen building examples, ther are signed using [default key](https://github.com/OP-TEE/optee_os/tree/master):\n```text\noptee-os/keys/default_ta.pem\n```\n**NEVER deploy an optee_os binary with this key in production. Instead, REPLACE \nthis key as soon as possible with a public key and keep the private part of \nthe key offline, preferably on an HSM.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-krstic%2Foptee-examples-yocto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl-krstic%2Foptee-examples-yocto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-krstic%2Foptee-examples-yocto/lists"}