The invention provides a multi-core heterogeneous
system-oriented startup deployment and cooperative
processing method, which comprises the following steps of: when the
system runs, obtaining startup codes after a master core and a slave core are electrified, respectively obtaining
mirror image files of Linux and RTOS (
Real Time Operating System) on the basis of synchronous running and storage partition, and running the
mirror image files on the master core and the slave core after moving the
mirror image files; and after the heterogeneous
operating system is loaded, generating an interrupt
signal based on inter-core interrupt and a corresponding register through a CLINT module in the main core, and realizing data communication between the main core and each slave core based on the interrupt
signal and the
shared memory. By means of the method, after the
system is powered on, the multiple cores can synchronously run the starting codes, and time
delay and uncertainty possibly caused by one-by-one starting of the single cores are avoided; communication and
data transmission among multiple cores are realized through interruption and
memory sharing, the
synchronism and consistency of data are ensured, and misjudgment and decision errors caused by
data delay and inconsistency are avoided, so that the real-time performance of the system is remarkably improved.