Font Size: a A A

Research On Cooperation Mechanism Of Heterogeneous Operating System Based On Asymmetric Multi-Core Processor

Posted on:2023-07-10Degree:MasterType:Thesis
Country:ChinaCandidate:Z L LiFull Text:PDF
GTID:2558306911482154Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the diversification and complexity of computer processing tasks,the traditional SMP(Symmetric Multiple Processor)gradually fails to meet the task requirements,and the AMP(Asymmetric Multiple Processor)has become a new research hotspot.The MPU+MCU architecture for embedded applications is one of the important research directions.Unlike SMP architecture processors or the homogeneous processors in AMP architectures that run a single operating system,MPU+MCU architecture processors typically run different operating systems(e.g.Linux and RTOS)on cores of different architectures.By working together between heterogeneous operating systems running on different cores,it can better handle the various tasks faced by complex applications.However,the existing inter-core communication mechanism can only carry out simple information,and the support for collaborative development between heterogeneous operating systems is relatively limited.In actual development,developers are still required to do a lot of work for inter-core collaboration,which requires high requirements for developers.Aiming at the above problems,this paper designs and implements a set of coordination mechanism between heterogeneous operating systems based on the Linux system and RTThread system running on the STM32MP157 chip,using the existing inter-core communication mechanism,as well as RPC,DMA and other technologies.This mechanism implements the inter-core function calling mechanism and the inter-core data transmission mechanism.The inter-core function call mechanism allows Linux-side applications to call RTOS-side functions.The inter-core data transmission mechanism provides users with a unified calling interface,and data transmission can be actively initiated on either the Linux side or the RTOS side.The main contents of this thesis are as follows:(1)The architectural features of the MPU core and the MCU core in the STM32MP157 processor are studied,and the corresponding collaborative requirements are put forward for the two key parts of operating system collaboration: execution flow and data flow.For the execution flow,the inter-core function calling mechanism needs to complete the calling of the RTOS functions on the Linux without changing the programming habits of the developer.For data flow,the inter-core data transmission mechanism needs to provide different data transmission schemes according to the data transmission requirements of different applications.(2)The RPC(Remote Procedure Call)framework is studied and analyzed,and the inter-core function call mechanism is designed and implemented according to the coordination requirements of execution flow between heterogeneous operating systems and the characteristics of MPU+MCU architecture chips.(3)The operating framework of the existing inter-core communication mechanism is studied,and different data transmission schemes are designed based on the DMA(Direct Memory Access)transmission framework for different data transmission scenarios between heterogeneous operating systems.The inter-core data transfer mechanism allows either party to initiate data transfer to meet the requirements of data flow coordination between operating systems.Finally,experiments are designed to test the inter-core function calling mechanism and the inter-core data transmission mechanism according to the collaborative mechanism designed and implemented in this thesis.The test results show that the coordination mechanism achieves the expected design goal,and can effectively complete the inter-core function call and the inter-core data transmission.By using this mechanism,developers can more easily complete the development of inter-core collaborative tasks,and the development efficiency is greatly improved.
Keywords/Search Tags:Asymmetric multicore, Heterogeneous operating system, Internuclear coordination, Inter-core function call, Inter-core data transfer
PDF Full Text Request
Related items