Asymmetric/Heterogeneous MultiProcessing (AMP/HMP): Mainline Linux and Zephyr in... Marcel Ziswiler
Channel: The Linux Foundation
Date: 2022-12-14

Asymmetric/Heterogeneous MultiProcessing (AMP/HMP): Mainline Linux and Zephyr in Unison - Marcel Ziswiler, Toradex AG

This talk is a deep dive into the AMP/HMP topic showing both the Cortex-A as well as the Cortex-M4/M7 side of things. The first part looks at the various options how to actually launch code at various stages throughout the lifetime of a system, be it directly from a boot container by the boot ROM, later by the boot loader using U-Boot's bootaux command or once Linux is booted on the Cortex-A core using the remote processor framework (remoteproc). How mainline Linux and Zephyr work in unison is covered in the second part by further discussing concepts like the remote processor messaging (rpmsg) framework using the virtio-based messaging bus which allows kernel drivers to communicate with remote processors available in the system. The third part looks at the communication library landscape where the likes of OpenAMP and RPMsg-Lite are covered. My talk is mostly SoC agnostic but concludes with a real-life demo using NXP i.MX 7/8M Mini and 8M Plus-based systems running the fully open-source software stacks previously introduced. A similar presentation was held at the Embedded Linux Conference in Austin in June.