{"id":79721,"date":"2024-12-17T05:45:02","date_gmt":"2024-12-17T05:45:02","guid":{"rendered":"https:\/\/electronicsmaker.com\/?p=79721"},"modified":"2024-12-17T05:45:03","modified_gmt":"2024-12-17T05:45:03","slug":"openstlinux-the-superpower-of-the-stm32-mpu-ecosystem-or-the-making-of-a-great-embedded-linux-distro","status":"publish","type":"post","link":"https:\/\/electronicsmaker.com\/openstlinux-the-superpower-of-the-stm32-mpu-ecosystem-or-the-making-of-a-great-embedded-linux-distro","title":{"rendered":"OpenSTLinux, the superpower of the STM32 MPU ecosystem or the making of a great Embedded Linux distro"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"629\" src=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1-1024x629.jpg\" alt=\"\" class=\"wp-image-79723\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1-1024x629.jpg 1024w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1-300x184.jpg 300w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1-768x472.jpg 768w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1-750x461.jpg 750w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1.jpg 1140w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>Why does ST care so much about OpenSTLinux? As microprocessors increasingly become the secret weapons of many integrators, an intuitive and powerful Embedded Linux distribution is like a superpower. Too often, decision-makers forget how critical the operating system is to the success of a project. However, developers know all too well how a spotty kernel, poorly written middleware, and unstable builds can slow efforts to a crawl. That\u2019s why we\u2019ve been expanding OpenSTLinux since its launch in 2019, both in scope and capability. At first glance, there are more packages, new distributions, and myriads of expansions. Let us, therefore, explore the OpenSTLinux ecosystem and why it has been such a strong supporting cast in the STM32 MPU story.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jeg_video_container jeg_video_content\"><iframe title=\"Second generation STM32 microprocessors for Industry 4.0 and edge AI solutions\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Xx1aiYdaXag?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">What makes a great BSP?<\/h4>\n\n\n\n<p><strong>A secure foundation<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"600\" height=\"472\" src=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST20577_BN_OpenSTlinux_lpr.jpg\" alt=\"\" class=\"wp-image-79724\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST20577_BN_OpenSTlinux_lpr.jpg 600w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST20577_BN_OpenSTlinux_lpr-300x236.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">OpenSTLinux at the heart of a system<\/figcaption><\/figure><\/div>\n\n\n<p>At the heart of OpenSTLinux is its Board Support Package (BSP), which has significantly matured since its initial release. To ensure the integrity and security of the system, the ST BSP uses a boot chain based on Trusted Firmware for Cortex-A and U-Boot. It ensures that OpenSTLinux takes advantage of the protection mechanisms available in Cortex-A cores to guarantee the system\u2019s integrity at its lowest level. OpenSTLinux BSP also includes an open portable trusted execution environment (OP-TEE), which isolates secure code from the rest of the system. As a result, developers immediately benefit from extensive protections that guard the system configuration, resource management, and other critical services.<\/p>\n\n\n\n<p>Avid readers of the ST Blog know that we have multiplied the security initiatives from STM32Trust, which provides documentation and code to help with various security implementations, to updating STM32CubeProgrammer to make secret provisioning more accessible on all our microprocessors. The new STM32MP2 even targets SESIP Level 3 certification to help makers provide concrete security guarantees to users. The OpenSTLinux BSP\u2019s focus on ensuring the system\u2019s integrity is thus a natural manifestation of our efforts to make security more accessible and ubiquitous. It\u2019s also why we continue to mainline all our drivers to the Linux kernel. We want the open-source community to audit our work so we can respond rapidly to their feedback.<\/p>\n\n\n\n<p><strong>A close partnership with the open-source community<\/strong><\/p>\n\n\n\n<p>Indeed, since the launch of OpenSTLinux, ST has adopted the philosophy that upstreaming is in everyone\u2019s best interest. There are security benefits and long-term support opportunities for companies looking to maintain systems over decades. It can also help developers standardize APIs to promote interoperability. Hence, OpenSTLinux is more than an OS for ST MPUs; it is a desire to lower the barrier to entry to embedded systems by facilitating secure and long-term developments. Put simply, we want to leverage the expansive capabilities of Linux while ensuring compatibility and support for our hardware so developers can release their products to market faster.<\/p>\n\n\n\n<p>It\u2019s also why ST has added support for Buildroot. Initially, we focused our efforts on Yocto, and we still do. It\u2019s often the de facto way to create a Linux-based system for industrial or niche applications. However, over the years, we heard from many in our communities who came from different backgrounds. Hence, we collaborated with Bootlin, a member of the ST Partner Program, to come up with an OpenSTLinux BSP based on OpenWRT. It\u2019s also why we developed new OpenSTLinux-based distributions, such as OpenSTDroid and others based on OpenWRT and OpenBMC. Put simply, as more communities adopt OpenSTLinux and STM32 MPUs, we try to meet developers where they are.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">What makes a great ecosystem?<\/h4>\n\n\n\n<p><strong>Specific packages for all stages of development<\/strong><\/p>\n\n\n\n<p>The best introduction to OpenSTLinux is with an evaluation board and a Starter package. It\u2019s a pre-built image with all the drivers and modules necessary to run the OS from an SD Card or the embedded flash. It ensures developers can run the OS on their development board in minutes. Users don\u2019t even need an IDE. They just boot up and start testing the operating system, run scripts, connect to the Internet, and more. Our STM32 MPU Wiki even provides a step-by-step guide to run the Starter Package on an STM32MP25 or an STM32MP15 board.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST29588_STM32-MPU-package-copy.jpg\" alt=\"\" class=\"wp-image-79725\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST29588_STM32-MPU-package-copy.jpg 600w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST29588_STM32-MPU-package-copy-300x300.jpg 300w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST29588_STM32-MPU-package-copy-150x150.jpg 150w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/ST29588_STM32-MPU-package-copy-75x75.jpg 75w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">STM32 MPU<\/figcaption><\/figure><\/div>\n\n\n<p>OpenSTLinux also comes in two other packages: Developer and Distribution. As the name suggests, the Developer Package targets ongoing projects. Programmer can use it to start writing and testing their applications. It, therefore, comes with an SDK, the source code for the MPU\u2019s firmware, and more. It sits on top of the Starter Package and will help hasten developments. Afterwards, when teams approach production, they can download the Distribution package. It\u2019s the most barebones version out of the three and is meant to be the most optimized OpenSTLinux version the system will run in the field. It is also possible to customize the Distribution package to create a unique Developer or Starter kit specific to a project or company.<\/p>\n\n\n\n<p>Moreover, the OpenSTLinux BSP comes with all the services and modules enabling developers to work with STM32Cube Packages meant to run on the Cortex-M co-processor of the STM32MP15 or STM32MP2. Indeed, being able to isolate certain applications or benefit from a real-time operating system alongside the embedded Linux distribution on the Cortex-A meant that developers could transition more easily from their MCU to their MPU, reuse code, and tailor their system to take advantage of both worlds. By integrating STM32Cube Packages into OpenSTLinux BSP, we ensure developers have the tools they need to optimize their workflow, especially if they are already familiar with our ecosystem on our STM32 MCUs.<\/p>\n\n\n\n<p><strong>Numerous expansion packages to facilitate developments<\/strong><\/p>\n\n\n\n<p>Finally, ST continues to release new OpenSTLinux expansion packages to accelerate developments further. From X-LINUX-AI, which helps with machine learning applications, to X-LINUX-RT to approximate real-time execution, X-LINUX-PRDMNT for predictive maintenance, X-LINUX-GNSS1 for cellular connections, X-LINUX-AWS to connect to Amazon Web Services, and X-LINUX-NFC6 for contactless systems, there\u2019s a package for a wide range of development needs. And the ecosystem keeps growing. While some competing ecosystems struggle to provide a reliable Linux distribution for their Arm microprocessor, OpenSTLinux is so dependable and extensive that we are now focusing on helping developers with their features outside the OS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why does ST care so much about OpenSTLinux? As microprocessors increasingly become the secret weapons of many integrators, an intuitive and powerful Embedded Linux distribution is like a superpower. Too often, decision-makers forget how critical the operating system is to the success of a project. However, developers know all too well how a spotty kernel, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":79723,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[42,603],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenSTLinux, the superpower of the STM32 MPU ecosystem or the making of a great Embedded Linux distro - Electronics Maker<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.st.com\/openstlinux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenSTLinux, the superpower of the STM32 MPU ecosystem or the making of a great Embedded Linux distro - Electronics Maker\" \/>\n<meta property=\"og:description\" content=\"Why does ST care so much about OpenSTLinux? As microprocessors increasingly become the secret weapons of many integrators, an intuitive and powerful Embedded Linux distribution is like a superpower. Too often, decision-makers forget how critical the operating system is to the success of a project. However, developers know all too well how a spotty kernel, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.st.com\/openstlinux\/\" \/>\n<meta property=\"og:site_name\" content=\"Electronics Maker\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-17T05:45:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-17T05:45:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"700\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Electronics Maker\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"4 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/electronicsmaker.com\/#website\",\"url\":\"https:\/\/electronicsmaker.com\/\",\"name\":\"Electronics Maker\",\"description\":\"Electronics Magazine\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/electronicsmaker.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.st.com\/openstlinux\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2024\/12\/openstlinux-hero-1140x700-1.jpg\",\"width\":1140,\"height\":700},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.st.com\/openstlinux\/#webpage\",\"url\":\"https:\/\/blog.st.com\/openstlinux\/\",\"name\":\"OpenSTLinux, the superpower of the STM32 MPU ecosystem or the making of a great Embedded Linux distro - Electronics Maker\",\"isPartOf\":{\"@id\":\"https:\/\/electronicsmaker.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.st.com\/openstlinux\/#primaryimage\"},\"datePublished\":\"2024-12-17T05:45:02+00:00\",\"dateModified\":\"2024-12-17T05:45:03+00:00\",\"author\":{\"@id\":\"https:\/\/electronicsmaker.com\/#\/schema\/person\/df9e9cfbf590f29e49716824dd7d81f9\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.st.com\/openstlinux\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/electronicsmaker.com\/#\/schema\/person\/df9e9cfbf590f29e49716824dd7d81f9\",\"name\":\"Electronics Maker\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/electronicsmaker.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a4af77a4fcb00c5dfc7c1ca124a492b4?s=96&d=mm&r=g\",\"caption\":\"Electronics Maker\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/79721"}],"collection":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/comments?post=79721"}],"version-history":[{"count":1,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/79721\/revisions"}],"predecessor-version":[{"id":79726,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/79721\/revisions\/79726"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/media\/79723"}],"wp:attachment":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/media?parent=79721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/categories?post=79721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/tags?post=79721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}