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.
Key words
MPSoC /
AMP /
Linux /
bare-metal /
CortexA53
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[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.