The document discusses Fedora and firmware development for RISC-V platforms. It provides an overview of boot processes, toolchains, and images for running Fedora natively on RISC-V hardware. Key points include: the current boot flow uses OpenSBI and U-Boot firmware with EDK2; toolchain and QEMU packages are available to build Fedora via cross-compilation or natively; and Fedora images have been tested on various RISC-V boards running on QEMU or directly on hardware like the SiFive Unleashed.
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theoryEmbeddedFest
Many Linux developers and users know that Bootloader boots Linux Kernel which starts Userspace.
But what is behind that?
Linux Boot process is very similar to the Big Bang which happened in our world: from singularity to the whole beautiful Universe of running Linux processes. What do you think is a black hole equivalent in the Linux? Come to hear about all of that from an engineer who worked on a new processors and boards bringup, Linux boot process modifications and did boot time optimization many times.
Kernel Recipes 2013 - Easy rootfs using BuildrootAnne Nicolas
The Linux kernel is an exciting world. But if you want to get a working system, it is still essential to provide our kernel a root filesystem. The kernel developers often struggle to find a simple rootfs, adapted to their architecture, together with the tools that fits properly.
We will present how Buildroot, a tool for building embedded Linux systems, can meet the needs of kernel developers in the build of minimal rootfs for their developments.
Kernel Recipes 2013 - ARM support in the Linux kernelAnne Nicolas
Over the past two years, the support of the platforms based on ARM processor in the Linux kernel has evolved considerably. Between the use of the Device Tree, moving drivers in many features like clock management or multiplexing of pines, the platform mechanism, the changes have been numerous.
Through the experience of the speaker about the addition to the core support for ARM Marvell Armada 370/XP processors, this intervention will provide an overview of these changes in order to better understand the new organization of the code for ARM architecture in the kernel.
This talk is intended to be useful both for developers who want to add support for a new ARM processor in the kernel, but also to those wishing to understand the ARM code for porting Linux to a new card, or just the curious one.
OSDC 2014: Nat Morris - Open Network Install EnvironmentNETWAYS
ONIE defines an open source “install environment” that runs on this management subsystem utilizing facilities in a Linux/BusyBox environment. This environment allows end-users and channel partners to install the target network OS as part of data center provisioning, in the fashion that servers are provisioned.
ONIE enables switch hardware suppliers, distributors and resellers to manage their operations based on a small number of hardware SKUs. This in turn creates economies of scale in manufacturing, distribution, stocking, and RMA enabling a thriving ecosystem of both network hardware and operating system alternatives.
Using open source software to build an industrial grade embedded linux platfo...SZ Lin
Building an embedded Linux platform is like a puzzle; placing the suitable software components in the right positions will constitute an optimal platform. However, selecting suitable components is difficult since it depends on different application scenarios. The essential components of an embedded Linux platform include the bootloader, Linux kernel, toolchain, root filesystem; it also needs the tools for image generation, upgrades, and testing. There are abundant resources in the Linux ecosystem with these components and tools; however, selecting the suitable modules and tools is still a key challenge for system designers.
Embedded Fest 2019. Руслан Биловол. Linux Boot: The Big Bang theoryEmbeddedFest
Many Linux developers and users know that Bootloader boots Linux Kernel which starts Userspace.
But what is behind that?
Linux Boot process is very similar to the Big Bang which happened in our world: from singularity to the whole beautiful Universe of running Linux processes. What do you think is a black hole equivalent in the Linux? Come to hear about all of that from an engineer who worked on a new processors and boards bringup, Linux boot process modifications and did boot time optimization many times.
Kernel Recipes 2013 - Easy rootfs using BuildrootAnne Nicolas
The Linux kernel is an exciting world. But if you want to get a working system, it is still essential to provide our kernel a root filesystem. The kernel developers often struggle to find a simple rootfs, adapted to their architecture, together with the tools that fits properly.
We will present how Buildroot, a tool for building embedded Linux systems, can meet the needs of kernel developers in the build of minimal rootfs for their developments.
Kernel Recipes 2013 - ARM support in the Linux kernelAnne Nicolas
Over the past two years, the support of the platforms based on ARM processor in the Linux kernel has evolved considerably. Between the use of the Device Tree, moving drivers in many features like clock management or multiplexing of pines, the platform mechanism, the changes have been numerous.
Through the experience of the speaker about the addition to the core support for ARM Marvell Armada 370/XP processors, this intervention will provide an overview of these changes in order to better understand the new organization of the code for ARM architecture in the kernel.
This talk is intended to be useful both for developers who want to add support for a new ARM processor in the kernel, but also to those wishing to understand the ARM code for porting Linux to a new card, or just the curious one.
OSDC 2014: Nat Morris - Open Network Install EnvironmentNETWAYS
ONIE defines an open source “install environment” that runs on this management subsystem utilizing facilities in a Linux/BusyBox environment. This environment allows end-users and channel partners to install the target network OS as part of data center provisioning, in the fashion that servers are provisioned.
ONIE enables switch hardware suppliers, distributors and resellers to manage their operations based on a small number of hardware SKUs. This in turn creates economies of scale in manufacturing, distribution, stocking, and RMA enabling a thriving ecosystem of both network hardware and operating system alternatives.
Using open source software to build an industrial grade embedded linux platfo...SZ Lin
Building an embedded Linux platform is like a puzzle; placing the suitable software components in the right positions will constitute an optimal platform. However, selecting suitable components is difficult since it depends on different application scenarios. The essential components of an embedded Linux platform include the bootloader, Linux kernel, toolchain, root filesystem; it also needs the tools for image generation, upgrades, and testing. There are abundant resources in the Linux ecosystem with these components and tools; however, selecting the suitable modules and tools is still a key challenge for system designers.
Long-term Maintenance Model of Embedded Industrial Linux DistributionSZ Lin
To introduce a robust, secure and reliable platform for the industrial environments is a key challenge; moreover, the platform needs to survive for a long time (more than 10+ years). There are many good solutions aiming to meet these requirements, such as LTSI (Long Term Support Initiative) and CIP (Civil Infrastructure Platform). However, it still needs a high amount of maintenance and development costs in handling SoC/ hardware board in-house patch, non-upstream driver and keep source code consistent with different SoC and platform afterwards.
In this presentation, SZ Lin will introduce how to operate long-term maintenance model of embedded industrial Linux distribution. In addition, he will also address the building, deploying and testing architecture and workflow for producing a robust, secure and reliable platform.
Kernel Recipes 2013 - Conditional bootAnne Nicolas
When booting the same Linux Kernel over various hardware setups, it could necessary to add some arguements on the command line. Usually, people solve this issue by adding a new boot entry which features the necessary arguments.
This lightning talk will be demontrating how Syslinux can add dynamically arguments to the command line or even choose a different kernel regarding some hardware properties.
Building Mini Embedded Linux System for X86 ArchSherif Mousa
Full tutorial to learn how to build your own embedded Linux system as a MiniOS for your X86 device (PC ...).
It's considered a good start for anyone to get into the field of Embedded Linux building and development.
Yocto - Embedded Linux Distribution MakerSherif Mousa
Yocto is an Embedded Linux distribution maker.
This presentation is a quick start guide for Yocto buildsystem to get familiar with the tool and how to start building your own custom Linux system for a specific hardware target.
Relax and Recover (ReaR) is an open source bare metal disaster recovery solution for Linux (http://rear.sf.net). This session will introduce you to advanced Linux disaster recovery concepts and will feature a live demonstration on how to automatically recover a failed system with ReaR. Finally, this session will cover common best practice usage scenarios of ReaR and introduce you to basic setup and configuration for ReaR.
Linux Kernel Platform Development: Challenges and InsightsGlobalLogic Ukraine
This presentation is about the main tasks which Linux kernel platform engineers take care of. The talk includes real-life cases which help understand the role of respective specialists and might be helpful to those who consider such change in their careers.
The talk was delivered by Sam Protsenko (Software Engineer, Consultant, GlobalLogic) at GlobalLogic Embedded Career Day #2 on February 10, 2018.
More about GlobalLogic Embedded Career Day #2: https://www.globallogic.com/ua/events/globallogic-kyiv-embedded-career-day-2-materials
Claudio Scordino - Handling mixed criticality on embedded multi-core systemslinuxlab_conf
This talk illustrates how to use the Jailhouse hypervisor for running Linux alongside an RTOS on modern ARM multi-core SoCs, aiming at building smarter devices for the automotive market.
Recently, the industry has shown a growing interest for executing activities with different levels of criticality on the same multi-core SoC. These could consist, for example, of non-critical activities (e.g., monitoring, logging, human-machine intefaces) together with safety-critical tasks. The rationale behind this interest is the continuous need for reducing the time-to-market as well as the design and hardware costs. This is particularly suitable for the automotive market, where new infotainment functionalities might be coupled with traditional safety-critical tasks (e.g. engine/brake control). In this talk, we will present our experience (grown through the HERCULES EU project) in using the Jailhouse hypervisor for executing the Linux general-purpose OS alongside an automotive RTOS on modern ARM multi-core platforms. Besides providing useful instructions for using Jailhouse, we will illustrate a library designed for easing the communication between the two OSs as well as some mechanism for limiting the interference on shared hardware resources. Finally, a short video of a simple demo will show the effectiveness of the proposed approach.
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generatorAnne Nicolas
A toolchain is an essential component in a software development project. It will compile, assemble and link the code that is being developed, and thus is a very sensitive piece of any build system. Toolchains are made of different, complex pieces of software, requiring specially crafted options to build and work seamlessly.
Crosstool-NG allows to easily configure and build cross-toolchains, based on the standard FLOSS components, and targetting many of the classical architectures. After an overview of the tool and a quick sample usage session, we’ll have a look at the inside, and how easy it is to add new components. Finally, we’ll see where crosstool-NG has come up to, and the short-term and longer-term goals will be presented.
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)Drew Fustini
Want to run Linux on open hardware? This talk will explore how the RISC-V, an open instruction set (ISA), and open source FPGA tools can be leveraged to achieve that goal. I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on a RISC-V soft-core in the ECP5 FPGA on the conference badge. I will introduce Migen, LiteX and Vexriscv, and explain how they enabled us to quickly implement an SoC in the FPGA capable of running Linux. I will also explore other Linux-capable open source RISC-V implementations, and how some are being used in industry. Finally, I will look at what Linux-capable "hard" RISC-V SoC's currently exist, and what is on the horizon for 2021. This talk is should be relevant to people who are interested in building open hardware systems capable of running Linux. It should also be useful to people who are curious about RISC-V. Software engineers may find it exciting to learn how Python can be used to for chip-level design with Migen and LiteX, and simplify building a System-on-Chip (SoC) for an FPGA.
Google Slides link https://tinyurl.com/y6j8lfyz
Long-term Maintenance Model of Embedded Industrial Linux DistributionSZ Lin
To introduce a robust, secure and reliable platform for the industrial environments is a key challenge; moreover, the platform needs to survive for a long time (more than 10+ years). There are many good solutions aiming to meet these requirements, such as LTSI (Long Term Support Initiative) and CIP (Civil Infrastructure Platform). However, it still needs a high amount of maintenance and development costs in handling SoC/ hardware board in-house patch, non-upstream driver and keep source code consistent with different SoC and platform afterwards.
In this presentation, SZ Lin will introduce how to operate long-term maintenance model of embedded industrial Linux distribution. In addition, he will also address the building, deploying and testing architecture and workflow for producing a robust, secure and reliable platform.
Kernel Recipes 2013 - Conditional bootAnne Nicolas
When booting the same Linux Kernel over various hardware setups, it could necessary to add some arguements on the command line. Usually, people solve this issue by adding a new boot entry which features the necessary arguments.
This lightning talk will be demontrating how Syslinux can add dynamically arguments to the command line or even choose a different kernel regarding some hardware properties.
Building Mini Embedded Linux System for X86 ArchSherif Mousa
Full tutorial to learn how to build your own embedded Linux system as a MiniOS for your X86 device (PC ...).
It's considered a good start for anyone to get into the field of Embedded Linux building and development.
Yocto - Embedded Linux Distribution MakerSherif Mousa
Yocto is an Embedded Linux distribution maker.
This presentation is a quick start guide for Yocto buildsystem to get familiar with the tool and how to start building your own custom Linux system for a specific hardware target.
Relax and Recover (ReaR) is an open source bare metal disaster recovery solution for Linux (http://rear.sf.net). This session will introduce you to advanced Linux disaster recovery concepts and will feature a live demonstration on how to automatically recover a failed system with ReaR. Finally, this session will cover common best practice usage scenarios of ReaR and introduce you to basic setup and configuration for ReaR.
Linux Kernel Platform Development: Challenges and InsightsGlobalLogic Ukraine
This presentation is about the main tasks which Linux kernel platform engineers take care of. The talk includes real-life cases which help understand the role of respective specialists and might be helpful to those who consider such change in their careers.
The talk was delivered by Sam Protsenko (Software Engineer, Consultant, GlobalLogic) at GlobalLogic Embedded Career Day #2 on February 10, 2018.
More about GlobalLogic Embedded Career Day #2: https://www.globallogic.com/ua/events/globallogic-kyiv-embedded-career-day-2-materials
Claudio Scordino - Handling mixed criticality on embedded multi-core systemslinuxlab_conf
This talk illustrates how to use the Jailhouse hypervisor for running Linux alongside an RTOS on modern ARM multi-core SoCs, aiming at building smarter devices for the automotive market.
Recently, the industry has shown a growing interest for executing activities with different levels of criticality on the same multi-core SoC. These could consist, for example, of non-critical activities (e.g., monitoring, logging, human-machine intefaces) together with safety-critical tasks. The rationale behind this interest is the continuous need for reducing the time-to-market as well as the design and hardware costs. This is particularly suitable for the automotive market, where new infotainment functionalities might be coupled with traditional safety-critical tasks (e.g. engine/brake control). In this talk, we will present our experience (grown through the HERCULES EU project) in using the Jailhouse hypervisor for executing the Linux general-purpose OS alongside an automotive RTOS on modern ARM multi-core platforms. Besides providing useful instructions for using Jailhouse, we will illustrate a library designed for easing the communication between the two OSs as well as some mechanism for limiting the interference on shared hardware resources. Finally, a short video of a simple demo will show the effectiveness of the proposed approach.
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generatorAnne Nicolas
A toolchain is an essential component in a software development project. It will compile, assemble and link the code that is being developed, and thus is a very sensitive piece of any build system. Toolchains are made of different, complex pieces of software, requiring specially crafted options to build and work seamlessly.
Crosstool-NG allows to easily configure and build cross-toolchains, based on the standard FLOSS components, and targetting many of the classical architectures. After an overview of the tool and a quick sample usage session, we’ll have a look at the inside, and how easy it is to add new components. Finally, we’ll see where crosstool-NG has come up to, and the short-term and longer-term goals will be presented.
Linux on RISC-V with Open Source Hardware (Open Source Summit Japan 2020)Drew Fustini
Want to run Linux on open hardware? This talk will explore how the RISC-V, an open instruction set (ISA), and open source FPGA tools can be leveraged to achieve that goal. I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on a RISC-V soft-core in the ECP5 FPGA on the conference badge. I will introduce Migen, LiteX and Vexriscv, and explain how they enabled us to quickly implement an SoC in the FPGA capable of running Linux. I will also explore other Linux-capable open source RISC-V implementations, and how some are being used in industry. Finally, I will look at what Linux-capable "hard" RISC-V SoC's currently exist, and what is on the horizon for 2021. This talk is should be relevant to people who are interested in building open hardware systems capable of running Linux. It should also be useful to people who are curious about RISC-V. Software engineers may find it exciting to learn how Python can be used to for chip-level design with Migen and LiteX, and simplify building a System-on-Chip (SoC) for an FPGA.
Google Slides link https://tinyurl.com/y6j8lfyz
Linux on RISC-V with Open Hardware (ELC-E 2020)Drew Fustini
Want to run Linux on open hardware? This talk will explore how the RISC-V, an open instruction set (ISA), and open source FPGA tools can be leveraged to achieve that goal. I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on a RISC-V soft-core in the ECP5 FPGA on the conference badge. I will introduce Migen, LiteX and Vexriscv, and explain how they enabled us to quickly implement an SoC in the FPGA capable of running Linux. I will also explore other Linux-capable open source RISC-V implementations, and how some are being used in industry. I will highlight that OpenHW Group has adopted the PULP Ariane from ETH Zurich for its Core-V CVA64 implementation. Finally, I will look at what Linux-capable "hard" RISC-V SoC's currently exist, and what is on the horizon for 2020 and 2021. This talk is should be relevant to people who are interested in building open hardware systems capable of running Linux. It should also be useful to people who are curious about RISC-V. Software engineers may find it exciting to learn how Python can be used to for chip-level design with Migen and LiteX, and simplify building a System-on-Chip (SoC) for an FPGA.
Berlin Embedded Linux meetup: How to Linux on RISC-VDrew Fustini
Berlin Embedded Linux meetup: How to Linux on RISC-V... with open hardware and open source FPGA tools.
I will introduce the open RISC-V instruction set architecture (ISA) and explain how it is enabling a new generation of open source chip design. I will also discuss the important of free software FPGA tools like yosys for synthesis, and nextpnr for place and route, and how SymbiFlow is leveraging bitstream documentation from Project IceStrom (iCE40), Project Trellis (ECP5), and Project X-Ray (Xilinix).
I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on RISC-V core in the ECP5 FPGA badge. I will explain what LiteX is and how it enabled us to quickly build a System-on-Chip (SoC) capable of running Linux.
In conclusion, I will explore the landscape of open source chip design projects and the Linux-capable RISC-V silicon chips on horizon for 2020.
Want to run Linux with RISC-V on Open Source Hardware? This talk will explore the current options including how open source FPGA tools can be leveraged to build open Linux-capable systems.
I will introduce the open RISC-V instruction set architecture (ISA) and explain how it is enabling a new generation of open source chip design. I will also discuss the important of free software FPGA tools like yosys for synthesis, and nextpnr for place and route, and how SymbiFlow is leveraging bitstream documentation from Project IceStrom (iCE40), Project Trellis (ECP5), and Project X-Ray (Xilinix).
I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on RISC-V core in the ECP5 FPGA badge. I will explain what LiteX is and how it enabled us to quickly build a System-on-Chip (SoC) capable of running Linux.
In conclusion, I will explore the landscape of open source chip design projects and the Linux-capable RISC-V silicon chips on horizon for 2020.
How to run Linux on RISC-V (FOSS North 2020)Drew Fustini
Title:
How to run Linux on RISC-V (with open hardware and open source FPGA tools)
Abstract:
Want to run Linux with RISC-V on Open Source Hardware?
This talk will explore the current options including how open source FPGA tools can be leveraged to build open Linux-capable systems.
I will explain how myself and others at Hackaday Supercon teamed up to get Linux running on RISC-V core in the ECP5 FPGA badge using only open source tools thanks to Project Trellis, yosys and nextpnr. I will explain what migen and LiteX are, and how it enabled us to quickly build a System-on-Chip (SoC) capable of running Linux on VexRiscv.
In conclusion, I will explore the landscape of open source chip designprojects and the Linux-capable RISC-V silicon chips on horizon for 2020, and talk about my desire to collaborate on an affordable (<$100?) OSHW Linux RISC-V board.
RISC-V growth and successes in technology and industry - embedded world 2021RISC-V International
RISC-V International has more than 1,000 members across over 50 countries who are working in hardware, software, services, and various industries for a strong and healthy RISC-V ecosystem. It is projected that by 2025 there will be over 62 billion RISC-V CPU cores and the total market for RISC-V IP and software is expected to grow to over $1b by 2025.
In 2020 alone, we saw successes with newly defined RISC-V accelerator architectures, affordable RISC-V open source small-board computers, development boards for personal computers, and an incredibly fast 64-bit RISC-V Core as the community also ratified key specifications and made advances in security.
As we see the growth of RISC-V into industries such as AI, machine learning, blockchain, 5G, medical, and industrial, we will see the ratifications of new extensions that enable this growth.
Join Kim McMahon, Director of Marketing and Stephano Cetola, Technical Program Manager as we take a look at where RISC-V is going in 2021.
This presentation by Roman Stratiienko (Software Engineer, Consultant, GlobalLogic) and Stanislav Goncharov (Senior Software Engineer, Consultant, GlobalLogic) was delivered at GlobalLogic Kharkiv Embedded TechTalk #5 on November 22, 2019.
Speakers shared their experience and results on the challenge started last year to make porting of cutting edge Android 10 to low-cost Orange Pi Plus 2E platform. They made it open source and available for every embedded s/w enthusiast based on AOSP project and Linux kernel upstream.
Event materials: https://www.globallogic.com/ua/events/kharkiv-embedded-techtalk-5/
Design, Build,and Maintain the Embedded Linux PlatformSZ Lin
Using open source software to build an embedded Linux platform from scratch.
Building an embedded Linux platform is like a puzzle; placing the suitable software components in the right positions will constitute an optimal platform. However, selecting suitable components is difficult since it depends on different application scenarios. The essential components of an embedded Linux platform include the bootloader, Linux kernel, toolchain, root filesystem; it also needs the tools for image generation, upgrades, and testing. There are abundant resources in the Linux ecosystem with these components and tools; however, selecting the suitable modules and tools is still a key challenge for system designers.
Embedded Fest 2019. Віталій Нужний. The Mobility Revolution: the Software tha...EmbeddedFest
- The Future of Automotive: Autonomous, Connected, Electric, and Shared
- Unique Challenges on the Automotive Electronics Road
- Evolving from Hardware to Software: Changing to Stay Ahead of the Curve for Tier-1 Businesses
- Auto 2.0: What this Means for Suppliers
Embedded Fest 2019. Игорь Опанюк. Das U-boot v2019: a look under the hoodEmbeddedFest
Das U-Boot - це універсальний бутлоадер з відкритим кодом, який фактично є стандартом де-факто в світі Embedded Linux. Його використовують провідні виробники SoC у своїх продуктах протягом останнього десятиліття. У цій презентації ми детально розглянемо процес завантаження Linux та роль U-boot у ньому, висвітлимо його архітектуру (включаючи всі оновлення до версії v2019.10) та коротко розглянемо процес апстрімінгу ваших патчів в open-source ком'юніті.
Embedded Fest 2019. Константин Белоусов. Исключения и прерывания на amd64: ка...EmbeddedFest
Доклад расскажет о том, как операционные системы (в частности, FreeBSD) управляют выполнением программ. О том, как исключительные ситуации, которые в действительности не слишком исключительные, дают ядру возможность контролировать исполнение пользовательского кода.
Embedded Fest 2019. Володимир Шанойло. High FIVE: Samsung integrity protectio...EmbeddedFest
Доповідь представить рішення з безпеки під назвою FIVE від компанії Samsung. Метою FIVE є моніторинг цілісності процесів Android та детектування зловмисних спроб модифікації оригінальних додатків та системних компонентів.
Ми поговоримо про можливі сценарії атак, спрямованих на цілісність додатків, зануримось у процес встановлення Java-додатків та розкажемо про проблеми, пов'язані з підрахунком та подальшою перевіркою цілісності нативних та Java програм. Наостанок ми покажемо, як саме FIVE захищає цілісність Android-додатків на телефонах Samsung.
Embedded Fest 2019. Dov Nimratz. Artificial Intelligence in Small Embedded Sy...EmbeddedFest
Majority of IoT solutions use data analysis at the Cloud level, collecting a huge amount of raw data from many thousands of peripherals. What if I told you that you can move from raw data collection to knowledge aggregation by implementing Artificial Intelligence into IoT systems?
During the talk, I will show the benefits of introducing AI at the earliest possible stages, applying the concept of moving from Cloud computing to Fog computing. The basic principle of constructing AIoT systems is the use of the node logic, where a node of the system has to process the provided information in a form of abstract concepts, but not in a form of raw information.
Further, the experience of one device learning and the history of its life cycle can be applied to new models, automatically programming their production cycles for the most efficient use. Actually, IoT solutions should apply AI components at each level of data transfer. Following this approach, the whole system becomes self-optimizing.
Also, during the talk, I will present related case studies and demonstrate a working stand.
Embedded Fest 2019. Антон Волошин. Connected Mobility: from Vehicle to CloudEmbeddedFest
Vehicle connection with the outside world is one of the modern trends of automotive industry development. The key element of connected vehicle is telematics control unit (TCU). From the one hand telematics unit interacts with electronic control units (ECUs) in vehicle, such as Head Unit, Board Control Module, etc. over CAN or Automotive Ethernet, from the other hand – with the cloud services via modem and CDMA\GSM\LTE networks. TCU provides a wide range of useful features: remote commands, remote diagnostics, Wi-Fi hotspot, car positioning, online traffic and hazard information besides the basic emergency call functionality. Telematics essentials and architecture, as well as features implementation in detail, will be presented. Integration and homologation testing specifics will also be discussed.
Embedded Fest 2019. Игорь Таненков и Игорь Успеньев. Action Recognition from ...EmbeddedFest
Action Recognition system for video surveillance. Description of integration computer vision module based on Deep learning and analytical models into production. Challenges and approaches. How we handle multiple video streams and reduce false positives. Also we will explain how to deal with lack of datasets for action recognition.
Embedded Fest 2019. Іван Пустовіт. From AOSP to Android powered deviceEmbeddedFest
На даний момент Android є найпопулярнішою ОС для мобільних пристроїв. Він працює на різних платформах з різною конфігурацією обладнання. Потрібно багато інженерних зусиль, щоб створити Android BSP, що повністю відповідає потребам кінцевого користувача.
Я розповім, як шматок скла та металу стає пристроєм, що працює на Android.
Я проведу вас основними фазами розробки компонентів Android, поясню різницю між Android та AOSP, і розповім про процес сертифікації Google.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Executive Directors Chat Leveraging AI for Diversity, Equity, and InclusionTechSoup
Let’s explore the intersection of technology and equity in the final session of our DEI series. Discover how AI tools, like ChatGPT, can be used to support and enhance your nonprofit's DEI initiatives. Participants will gain insights into practical AI applications and get tips for leveraging technology to advance their DEI goals.
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Embedded Fest 2019. Wei Fu. Linux on RISC-V--Fedora and Firmware in practice
1. Fedora and Firmware in practice
Linux on RISC-V
Wei Fu <wefu@redhat.com>
Senior Software Engineer
Platform Enablement, Red Hat Software (Beijing) Co.,Ltd.
Nov 30th 2019
Embedded Fest 2019 Kyiv
1
2. AGENDA
2
What is RISC-VISA
Run Fedora on RISC-VPractice
What is FedoraDistro
Status
Industry standard RISC-V server/PCGoal
Fedora on RISC-V
4. What is RISC-V (pronounced risk-five)
4
RISC(Reduced Instruction Set Computer)
• A type or category of the processor, or
Instruction Set Architecture (ISA).
• RISC generally refers to a streamlined version of
its predecessor, the Complex Instruction Set
Computer (CISC).
V(fifth)
• The fifth major RISC ISA design effort at UC
Berkeley
• RISC-I, RISC-II, SOAR, and SPUR were the first
four projects with the original RISC-I publications
dating back to 1981
Info Source:
https://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/EECS-2016-6.pdf
5. What is RISC-V
5
RISC-V is the hardware
Instruction Set Architecture (ISA)
• A high-quality, license-free, royalty-free RISC ISA
• Standard maintained by non-profit RISC-V
Foundation
• Suitable for all types of computing system, MCU
to supercomputers
Rich Ecosystem
• Experiencing rapid uptake in industry and
academia
• Numerous proprietary and open-source cores
• Supported by growing shared software
ecosystem
6. Birth of RISC-V
6
Seek & Explore
• In 2010, the Computer Science team at
UC Berkeley to look at what ISAs to use
for their next set of projects:
• x86 & ARM impossible – complex, IP
issues
Innovation & Revolution
• UC Berkeley started “3-month project”
during the summer of 2010 to develop
their own clean-slate ISA
• In May of 2014, UC Berkeley released
frozen base user spec
7. RISC-V Foundation
7
Originate
• In August 2015, articles of incorporation
were filed to create a non-profit RISC-V
Foundation to govern the ISA.
Mission
• non-profit entity serving members and
the industry
• accelerate RISC-V adoption with shared
benefit to the entire community of
stakeholders.
8. RISC-V Foundation
8
Drive technical priorities in 20+ focus areas
• Opcode Space Mgmt Standing Committee
• Software Standing Committee
• Security Committee
• Base ISA Ratification Task Group
• Privileged ISA Spec Task Group
• B Extension (Bit Manipulation) Task Group
• J Extension (Dynam. Translated Lang) Task Group
• P Extension (Packed-SIMD Inst) Task Group
• V Extension (Vector Ops) Task Group
• Debug Specification Task Group
• Cryptographic Extension Task Group
• Trusted Execution Env Spec Task Group
• Fast Interrupts Spec Task Group
• Memory Model Spec Task Group
• Processor Trace Spec Task Group
• Sv128 Specification Task Group
• Compliance Task Group
• UNIX-Class Platform Spec Task Group
• Formal Specification Task Group
• HPC Special interest Group
• proposed SafetyTask Group
9. Why RISC-V
9
Free & Open
• The free and open RISC-V ISA is
enabling a new innovation frontier for all
computing devices
RISC-V ushers in new era of silicon design
• Simple
• Stable
• A modular ISA
• Clean-slate design
• Designed for extensibility/specialization
10. Some RISC-V IP companies
10
Region
Commercial
Companies
Business
model
Open
Source
IP
Commercial
IP
Silicon advantage
US
SiFive
Core IP
Silicon Service
Freedom
E2/3/5/7
S5/7
U5/7/8
FE310/FU540
/FU740
Huami
Huangshan
No. 1
Pioneer,
Leading RISC-V
development
Microsemi
FPGA
(RISC-V
embedded)
Mi-V RV32 PolarFire SoC
RISC-V Soft CPU
for FPGA;
RISC-V + FPGA
SoC
BlueSpec Core IP Piccolo/Flute
Cortus
Core IP
Silicon Service
FPSx
APSx
Esperanto
11. Some RISC-V IP companies (Cont)
11
Region
Commercial
Companies
Business
model
Open Source
IP
Commercial
IP
Silicon advantage
Taiwan Andes Core IP N22/N25/A25
K*
A*
Has very rich
CPU design
experience
Mainland
China
Nuclei Core IP
Hummingbird
E203
200 Series
300 Series
600 Series
900 Series
GD32V
Famous in
China
ICT
Research
Education
Yes For Test
OpenSource;
Education;
Test Silicon;
New feature;
Russia Syntacore Core IP SCR1 SCR3/4/5/7
EU Codasip Core IP Bk1/3/5/7/10
12. Some RISC-V Chip Companies
12
Region
Commercial
Companies
Business
model
Commercial
IP
Silicon advantage
Mainland
China
Canaan AI Chip
K210
(New chip is
under
development)
AI module(KPU)
APU(Audio)
FFT accelerator
T-Head
(平头哥)
Chip
C960
E902
Ultra-low power
EU
GreenWaves Chip GAP8
Low power
8 core parallel
compute cluster
UltraSoC IP
debug
monitoring
the commercial
development
env for RISC-V
13. Some Companies using RISC-V in their product
13
Region
Commercial
Companies
Usage
US
Western
Digital
Storage Controller
NVIDIA Control Core in some GPU
Google MCU in some Soc
Micron memory controlor
Ceva CEVA Extends its IP Platforms for Bluetooth and Wi-Fi with RISC-V
Asia
samsung MCU in some Soc
JL Semi Hi-Speed Hi-performance communication chips
15. Fedora/RHEL/CentOS
15
Fedora RHEL CentOS
Focus on new features
and new technology
Community-driven, Free
Short release cycles
(approximately 6M)
Focus on stability
Supported by Red Hat,
Comes with subscription
Slower releases
(approximately 9M)
Focus on stability
Community driven, Free,
but lack of official support
Based on the same code
base with RHEL
16. Fedora focus is on new technology
16
Fedora is the pioneer on new technology.
Fedora is also corporate supported by
RedHat. It feeds the RHEL product.
Everything that is considered to be stable
and useful for demanding enterprises,
might be moved in phases towards the
RHEL distribution.
If any new arch wanna get RHEL support,
it need to get Fedora support first.
18. 18
Saving time & effort for
maintaining Compilation scripts
For cross-compiling, we not only have to
port the software itself, but also need to
create and maintain the compilation scripts.
Keep It Simple, Stupid
some system software does not only have
the main bin file, but also includes a lot of
utilities. some of them will run in the
compiling stage, but some will run at
runtime. This increases the Compilation
scripts' complexity.
Target platform is powerful
Another reason for using cross-compiling is
the Host's performance is much better then
the target. But now, we have QEMU support,
and Fedora is for 64-bit RISC-V which is
powerful too, moreover we have Koji.
Why native build
19. The issue for a new architecture
19
Chicken And Egg Situation
Generally, one Fedora release is built upon
the previous release. But this can NOT be
done for a brand new architecture, because
we don't have a "previous release" at that
point.
Breakout
We must cross-compile enough
software/packages to "bootstrap" the new
architecture.
bootstrap
21. 21
One of them connects with SSD.
3 HiFive Unleasheds
fedora-riscv-x.gcc1xx.osuosl.org
managed by libvirt
(will add more by adding more servers)
142 QEMU VMs(on x86_64)
Main sever, repository creation and VMs
with backup(separate NVMe).
An x86_64 server
for all central infrastructure
Koji Build System
Koji builds RPMs for the Fedora Project and EPEL.
These Koji servers for RISC-V have been moved to the
hardware supplied by SiFive and WD at Fremont.
22. Status
https://fedoraproject.org/wiki/Infrastructure/Mirroring
22
Active projects
Fedora 32/Rawhide,
including debuginfo,
debugsource and source
packages.
Repositories
https://dl.fedoraproject.org/pub/alt/risc-v/
https://mirror.math.princeton.edu/pub/alt/risc-v/
https://isrc.iscas.ac.cn/mirror/fedora-riscv/
Fedora Developer
Image
has extra packages installed for
developers, all common editors,
RPM tools, building tools, koji
stuff, etc.
GNOMEMinimal
23. 23
Fedora Images can run on the libvirt/QEMU
with graphics parameters (Spice).
Virtual: QEMU and libvirt/QEMU
Fedora GNOME Image can run on SiFive
Unleashed(with Expansion Board, PCI-E
graphic Card & SATA SSD.)
SiFive Unleashed
Supported Targets
25. 25
Fedora Images can run on the QEMU and
AndeShape FPGA board
QEMU for AndeStar V5 &&
AndeShape Development Platform ADP-XC7KFF676
Fedora Developer Image can run on ICT FPGA
Cloud development platform (with PCI-E SSD
and graphic Card)
ICT Development Platform
Tested Targets
26. Fedora on RISC-V
26
From www.codasip.com
We would like to support more targets based on standard RISC-V Spec.
27. Summary
27 Info Source:
Most of info comes from Richard Jones and his weblog: https://rwmj.wordpress.com/
RISC-V Koji maintainer: David Abdurachmanov
rpmbuild on RISC-V
by Richard Jones
August 10,
2016
The 2nd bootstrap
for Fedora 27
as the final preparation
Jan 29 ,
2018
Koji
For RISC-V build farm
April 15,
2018
The 1st bootstrap
for Fedora 25
as the first trial.
October 15,
2016
The 3rd bootstrap
for Fedora 28
as the final bootstrap
March ,
2018
Graphic Desktop is enabled
on a real RISC-V Hardware
Aug ,
2018
Red Hat
Join RISC-V
Foundation
Jul,2019
Since Fedora has an upstream first policy and it also applies to Fedora/RISC-V.
We need all the key patchsets for toolchain, Linux kernel and glibc to be merged, then we can do the final bootstrap on RISC-V.
IBM is a Founding member
of Foundation
30. We need some specs for RISC-V server/PC
30
<RISC-V PC/Server Base Boot Requirements>
like the SBBR
• Define minimal firmware platform
• Enables mainstream general purpose OS
<RISC-V PC/Server Base System Architecture>
like the SBSA:
• Define minimal architectural features
• Define minimal server SoC features
<RISC-V PC/Server Architectural Compliance Suite (ACS)>
like the ACS
• SBSA and SBBR verification
For Embedded system, we also need some specs, like EBBR of Arm.
31. 31
The good progress of RISC-V Firmware
HPE has posted their V3 patchset for review.
For Now, with V3 patchset, EDK2(+ OpenSBI) can run on
QEMU( >V4.1.5, -machine sifive_u -cpu sifive-u54 ) and
Real Hardware SiFive Unleashed.
Last year, HPE engineers have made Tianocore
successfully boot on SiFive Freedom U500 VC707
FPGA Dev Kit with OpenSBI integrated in edk2 RISC-V port.
Then they were busy on standardizing firmware spec:
SMBIOS 3.3.0 already released with new record type (type
44) added, CIM works were done as well with RISC-V
processor definitions.
32. 32
The Firmwares and extensions on RISC-V: next step
Also working on below specs:
ACPI tables for RISC-V processor
Evaluate the works done in RISC-V TEE WG for drafting
EFI Management Mode spec of RISC-V processor.
specs for (H)ypervisor, (V)ector and (P)acked-SIMD
keep updating below specs to reflect the latest RISC-V
specs.
UEFI spec
Platform Initialization spec
34. 34
Since Fedora 29, you can just:
“sudo dnf install gcc-riscv64-linux-gnu”
you can get the relative package list by
“dnf list *-riscv*”
Cross compiler for RV64:
"Fedora Developer" Image has extra packages
installed for developers, including RPM tools,
building tools, koji stuff, etc.
You can use them just like on X86 machine.
Native compiler for RV64:
Toolchain
For Building RPM packages and Fedora Images, we only use native compilation.
35. 35
Since Fedora 29, you can just:
“sudo dnf install qemu-system-riscv”
But please install the latest version of them by
“sudo dnf copr enable @virtmaint-sig/virt-preview”
QEMU RPM for RISC-V
The upstream QEMU has supported most of
latest RISC-V spec and can work with latest
software for RISC-V.
Build QEMU from source code
QEMU
If you use dated QEMU(<v4.1.15), it will be incompatible with the latest RISC-V Software(like edk2).
36. https://dl.fedoraproject.org/pub/alt/risc-v/repo/virt-builder-images/images/
36
VM Tools
You can quickly and easily build new virtual
machines to practice Fedora on RISC-V .
sudo dnf install libguestfs-tools-c
Fedora virt-builder:
a toolkit to manage virtualization platforms, like
creating new KVM, list the supported operating
system variants, and start/stop/remove a VM.
sudo dnf install virt-manager libvirt
The libvirt project:
40. Acknowledgments
40
Alphabetical Listing by Company Name
Al Stone
Andrea Bolognani
Charles Wei
DJ Delorie
John Feeney
Mark Salter
Richard Jones
Alistair Francis
Anup Patel
Atish Kumar Patra
Mikael Frykholm
Stefan O'Rear
David Abdurachmanov
... and countless other individuals and
companies, who have contributed to
RISC-V specifications and software
eco-system!
Abner Chang
Gilbert Chen
43. Fedora bootstrap(aarch64 vs RV64)
43
Build
System
Stage AArch64 Stage RISC-V RV64
Host
(x86)
Simulator(ARM model)
1
a QEMU
QEMU b HiFive Unleashed
FPGA c Spike
1 Bootable Rootfs
2
a GNU cross-compiler toolchain
b Berkley Bootloader
3
a Linux kernel
b
basic rootfs
Target
(Native)
2 rpmbuild
Cross-compile and install
“rpm” packages & dependencies
install pre-build RPMs
rebuild RPMs from SRPMs natively
4
a install the new RPMs
b build stage4 image3 mock
RISC-V Autobuilder on QEMU
4
koji (builders)
Distribution bootstrap
5 Rebuild in koji
6 koji-shadow
44. 44
Development Info:
• Main Entrance:
https://fedoraproject.org/wiki/Architectures/RISC-V
• Instruction of installation:
https://fedoraproject.org/wiki/Architectures/RISC-V/Installing
Fedora Wiki pages For RISC-V
• Nightly build images: http://fedora.riscv.rocks/koji/tasks?order=-
completion_time&state=closed&view=flat&method=createAppliance
• dist-repos: http://fedora.riscv.rocks/repos-dist/
• SCM: http://fedora.riscv.rocks:3000/
Koji for RISC-V:
Domain Name:fedora.riscv.rocks
IRC
#fedora-riscv (FreeNode)
Fedora Main REPO for RISC-V:
https://dl.fedoraproject.org/pub/alt/risc-v/
Current stable Images (support SiFive Unleashed and QEMU out-of-the-box):
Fedora-Developer-Rawhide-20191123.n.0
Fedora-Minimal-Rawhide-20191123.n.1
45. 45
QEMU:u-boot.bin & fw_payload.bin
Cross compiler:
ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu-
make qemu-riscv64_smode_defconfig
make
<u-boot>/u-boot.bin
U-boot:
git://git.denx.de/u-boot.git
make PLATFORM=qemu/virt
FW_PAYLOAD_PATH=<u-boot_source>/u-boot.bin
<opensbi>/build/platform/qemu/virt/firmware/fw_payload.bin
OpenSBI:
https://github.com/riscv/opensbi.git
46. 46
Test on QEMU
qemu-system-riscv64
-smp 8 -m 2G -machine virt -nographic
-bios fw_payload.bin
-device virtio-blk-device,drive=hd0
-drive file=Fedora-Developer-Rawhide-20191030.n.0-sda.raw,format=raw,id=hd0
-object rng-random,filename=/dev/urandom,id=rng0
-device virtio-rng-device,rng=rng0
-device virtio-net-device,netdev=usernet
-netdev tap,id=usernet,ifname=tap0,script=no,downscript=no
-serial telnet:localhost:7000,server
QEMU
Please set up the network on your host machine correctly for “-netdev”
47. 47
Test with Libvirt
virt-install --name fedora-riscv64 --arch riscv64 --vcpus 8 --memory 4096
--os-variant fedora30
--boot loader=/var/lib/libvirt/images/fw_payload.bin
--import --disk path=/var/lib/libvirt/images/Fedora-Developer-Rawhide-
20191030.n.0-sda.raw
--network network=default
--graphics spice
virt-manager
Libvirt
Please copy the firmware and image to the right directory and set up the correct permission of these files
48. 48
HiFive Unleashed:u-boot.bin & hifive-unleashed-a00.dtb
Cross compiler:
ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu-
make sifive_fu540_defconfig
make
/u-boot.bin
U-boot
#in Linux kernel tree (5.3-rc+)
make defconfig
make dtbs
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb
DTB
make CROSSCOMPILE=
/fsbl.bin
freedom-u540-c000-bootloader(Native build on QEMU, currently)
https://github.com/sifive/freedom-u540-c000-bootloader