S32G Multicore (A53/M7) & Shared Resources

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G Multicore (A53/M7) & Shared Resources

2,068 Views
alex_n
Contributor II

Hi all,

I want to use the S32G3 with Linux (A53) and RTOS (M7) in a safety-critical environment. I managed to build my own Linux SD-Card Image using Yocto and a M7 RTOS binary with the blinking LED example. I can boot Linux and run the M7 binary with U-Boot (I don't want to use EB Tresos), but as soon as Linux starts the LED stops blinking (but RTOS is still running).

I tried to find a way to manage the shared resources (GPIO in this case) and there are a lot of concepts (scmi, pcsa, scp, mcp, srm) but no manuals or examples. The Linux BSP43.0 manual describes the Shared Resource Manager (SRM) in chapter 27 which is exactly what I want, but again there are no examples, demos, further help. If I activate the SRM in Yocto (DISTRO_FEATURES:append = " scprt") the Image just doesn't boot anymore but I have no clue how to fix that.

Can anyone help me with that by referencing some documentation, examples or anything that helps?

I'm also wondering why information about this topics are so difficult to find since I thought that this is what basically everyone wants to do: Booting all cores with different OS and managing the resources.

Thanks for any help,

Alex

4 Replies

1,733 Views
alex_n
Contributor II

Hi all,


in the last couple of weeks I found out that for now the SRM can only be configured using EB Tresos (which is not what I want). Also the mentioned document (@chenyin_h) AN13750 does not help, because it also uses the EB Tresos tool.


That means I'm back to my original question on how to configure the boot and shared ressources in a Linux/RTOS scenario.
I noticed that the "Extended Resource Domain Controller" (xRDC) seems to be another concept of managing shared resources and there are several documents describing the technical details of it. But again I can not find any examples / tutorials / code describing how to actually configure and use the xRDC with U-Boot/Linux/RTOS.


Can anyone help me with that or give me some hints on where to find help or futher information?


Thanks a lot & best regards
Alex

Tags (2)
0 Kudos
Reply

1,975 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @alex_n 
Thanks for your reply.

1. As you may noticed from the BSP UM,  the Shared Resource Manager (SRM) is a safety-critical software component that runs on the Cortex-M7 core, it is not part of BSP.

The settings on BSP part(modifications on conf/local.conf during the build) is targeted only enabling corresponding modifications from A53 side, not means that it could be directly used.

Actually, the SRM is a premium software, the corresponding information/documents could not be shared if not purchased, if you feel interested in it, I suggest contacting your NXP sales/FAE for further information.

2. Except for EB(if you do not need to use AUTOSAR), the S32DS which provided by NXP could also be used to configure/build the code for M cores.(like RTD, llce, etc.). For multicore booting and example settings, the AN13750 seems the only formal document which focused on this topic(some other documents mentioned this topic, but without enough details).

I do apologize for your inconvenience.

 

BR

Chenyin

0 Kudos
Reply

2,034 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @alex_n 

Thanks for your post

For booting the M core and A cores simultaneously, there is a formal document called AN13750(https://www.nxp.com/webapp/Download?colCode=AN13750), which introduced basic concepts/ recommended methods for booting both A&M cores. besides, the GoldVIP(https://www.nxp.com/design/design-center/software/automotive-software-and-tools/s32g-vehicle-integra... is also based on both M&A cores applications and could be used for reference.

I suggest posting actual issues/bugs during the trial to this S32G board or directly raising support ticket via support channel, we will try our best to support. 

I apologize for your inconvenience during working with A&M cores simultaneously.

 

BR

Chenyin

0 Kudos
Reply

2,001 Views
alex_n
Contributor II

Hi @chenyin_h ,

Thanks for your reply!

Of course I know the document AN13750 but I don't want to use EB Tresos, so the document doen't help me at all.

I can (and probably will) raise a support ticket but since this is (in my opinion) quite a standard usage scenario I am surprised that there doesn't seem to be a manual / example from NXP and your recommendation to this very basic scenario is to ask the support.

Maybe I should make my questions more concrete:

1. The Linux BSP manual describes how to activate the "Shared Resource Manager", but implementing/using it is "not part of this document". Is there a document/example describing how the "Shared Resource Manager" is used/implemented?

2. There are a lot of documents (e.g. AN13750) describing how to boot and use multicore applications using EB Tresos. Are there any other helpful documents describing how to configure the SoC in a multicore scenario (e.g. with U-Boot and SRM) without EB tresos or any other quite expensive third party software?

Thanks a lot for your support & best regards,

Alex

Tags (2)
0 Kudos
Reply