m4sterchain commented on issue #189: URL: https://github.com/apache/incubator-teaclave-trustzone-sdk/issues/189#issuecomment-2892892521
@ivila To clarify, the $platform variable originates from the manifest used to set up the OP-TEE environment. For example: ``` repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml ``` We currently use qemu_v8 as the default, but TA developers can switch to other platforms by simply replacing the manifest. The $arch variable refers to the target architecture for the TA binary. From what I’ve seen in CI, we’re supporting builds for both ARM (32-bit) and AArch64 (64-bit). I am not sure where we should parameter these configurations ideally. Feel free to come up with a simple version and we can polish overtime. ========== @DemesneGH The build image is also configurable for developers using physical boards. Our long-term goal is to consolidate all platform and architecture parameters into a global configuration, instead of scattering them across separate build scripts. This will allow us to support advanced use cases, such as building for i.MX boards, by supplying the appropriate parameters, without introducing unnecessary QEMU dependencies into the development environment. Currently, the setup scripts have several limitations, such as implicit dependencies, setup order sensitivity, and hardcoded parameters. These are areas we aim to improve over time. In the short term, we can start with a practical and achievable version, but it'll be preferred to structure it in a way that leaves room for long-term improvements—especially toward a cleaner and more flexible build configuration design, rather than hardcoding everything up front. ========== @DemesneGH @ivila I believe using the prebuilt build/dev docker image, we might also potentially simplify the existing CI workflow and boost CI validation time. But we can leave this as a separate topic for future discussion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For additional commands, e-mail: dev-h...@teaclave.apache.org