Skip to contentSkip to conversation

Starting bare metal application on second core of P2020

DISCUSSION Felix Radensky 2 participants 2 messages Feb 17, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

We'd like to run Linux on core0 of P2020 and some bare metal application running without OS on core1. Is it possible to start this application from Linux ? I've seen example of running 2 copies of Linux in AMP mode, in which case both are started from u-boot. I'd like to leave core1 in reset, start Linux on core0 from u-boot and load bare metal application from Linux. If this possible, where can I learn about the procedure ?

Thanks.

Felix.

#1 lore raw
Quoted 3 lines · Felix Radensky

Hi,
=20
We'd like to run Linux on core0 of P2020 and some bare metal =

application running without OS

Quoted 1 line

on core1. Is it possible to start this application from Linux ? I've =

seen example of running 2 copies

Quoted 1 line

of Linux in AMP mode, in which case both are started from u-boot. I'd =

like to leave core1 in

Quoted 1 line

reset, start Linux on core0 from u-boot and load bare metal =

application from Linux. If this

Quoted 1 line

possible, where can I learn about the procedure ?

There is no of the shelf support for this. It would be reasonable easy = to create a driver to load up your application for Linux and kick the = second cpu to start it.

- k=