摘要
本文针对Zynq UltraScale+ MPSoC硬件平台, 通过分析对比现有的非对称多处理架构方案, 提出一种简洁的AMP运行方案, 实现1个CortexA53核运行Linux系统, 其他3个CortexA53核运行裸核系统功能。本文从分析多核启动机制入手, 实现一种Linux用户态动态加载启动多核方案, 设计多核监督模块解决多核异常问题, 提高系统应用稳定性。测试结果表明, 本方案实现的多核动态加载启动功能运行可靠, 能够满足电力二次设备性能、实时控制的应用需求, 有效提升系统设计的灵活性, 具有较好的工程应用价值。
Abstract
Aiming at the Zynq UltraScale+ MPSoC hardware platform, a simple AMP scheme is proposed by analyzing and comparing the existing asymmetric multi-processing (AMP) architecture schemes to realize one CortexA53 core running Linux operating system, and the other three CortexA53 cores running bare-metal system.This article starts with the analysis of the multi-core startup mechanism, realizes a Linux user mode dynamic loading multi-core program, designs a multi-core supervision module to solve the multi-core abnormal problem, and improves the stability of the system application.The test results show that the multi-core dynamic loading and startup function implemented by this solution is reliable, can meet high-performance, real-time control application requirements of power system industrial control equipment, which effectively improves the flexibility of system design, and has good engineering application value.
关键词
MPSoC /
AMP /
Linux /
裸核系统 /
CortexA53
Key words
MPSoC /
AMP /
Linux /
bare-metal /
CortexA53
龚行梁, 孙浩, 周强, 王浩, 刘伟.
面向MPSoC多核AMP架构的运行方案研究[J]. 集成电路与嵌入式系统. 2022, 22(2): 32-35
Gong Xingliang, Sun Hao, Zhou Qiang, Wang Hao, Liu Wei.
Research on Multi-core AMP Architecture for MPSoC[J]. Integrated Circuits and Embedded Systems. 2022, 22(2): 32-35
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 吴相楠, 龚行梁, 周强, 等.双核处理器AMP 模式在电力设备控制中的应用[J].单片机与嵌入式系统应用, 2018, 18(6):3841.
[2] 孙晨.基于AMP架构的多核通信系统研究[D].北京:华北电力大学, 2019.
[3] Xilinx Inc.Libmetal and OpenAMP for Zynq Devices User Guide.UG1186(v2019.1), 2019.
[4] Xilinx Inc.XEN+Hypervisor[EB/OL].[202108].https://xilinxwiki.atlassian.net/wiki/spaces/A/pages/18842530/XEN+Hypervisor.
[5] Xilinx Inc.Zynq UltraScale+MPSoC Technical Reference Manual.UG1085(v2.2), 2020.
[6] 李鑫志, 戈志华, 刘向明.基于ARM平台AMP架构下从核重复加载设计与实现[J].计算机应用与软件, 2017(1).
[7] 江绪庆.Zynq UltraScale+MPSoC的嵌入式最小系统开发[J].单片机与嵌入式系统应用, 2019(1):2629.