Alejandro Hernandez Samaniego, Microsoft
Multiarchitecture SoCs are more widely used, usually containing a large architecture where it can run a full operating system such as Linux, and one or more small architectures designed to run an RTOS or a baremetal application,requiring less hardware resources,leveraging suitable tasks from one to another creating a more efficient product.
While the Yocto Project is well known for its capabilities on creating customized Embedded Linux Distributions,bitbake is also capable of building a toolchain to create Baremetal applications or an RTOS.
In this presentation Alejandro will show how to create baremetal applications using the same flow currently used in OpenEmbedded to develop Linux applications, using recipes, classes and user configuration files, he will show how users from the community can benefit from a single flow, showcasing how to run these applications on QEMU and create tests for them to be automatically tested using the OpenEmbedded infrastructure along with their corresponding Linux distributions.
Anyone from the community interested in learning about baremetal programming or about the Yocto Project might find the contents of this presentation interesting.
Multiarchitecture Embedded Devices
Testing a linux OS (poky)
TEST_TARGET
TEST_SUITES
MACHINE = "qemuarm64"
TCLIBC = "baremetal"
Then build and run in qemu
bitbake baremetal-helloworld
runqemu
Other tagets
bitbake meta-toolchain
bitbake baremetal-helloworld -c populate_sdk
TCLIBC="newlib" - little more than baremetalWhat files do you need?
Example for aarch64
local.confThis is a simple example of using OEQA test framework with a baremetal application.