Page 1 of 1

MMU support

Posted: Tue Mar 05, 2019 12:51 am
by reis220
My question is very simple: has Erika v3 MMU support? Or, if i want to access an address, do i have to take into account the memory translation?

In this file (http://ertl.jp/~shinpei/conf/ospert14/s ... oloGai.pdf), page 12, it says that it has for AUTOSAR, but i do not know what does that mean in my usage with Erika. I want to use Erika v3 as a jailhouse inmate (http://www.erika-enterprise.com/wiki/in ... inx_ZCU102) along with Linux. In this context, is it using virtual addresses or physical addresses?

Re: MMU support

Posted: Tue Mar 05, 2019 7:55 am
by paolo.gai
Simple question, a bit more complex the answer:

- AUTOSAR OS is meant to work with an MPU (an MMU is also fine, but you typically have virtual addresses = physical ones)

- ERIKA3 as of today implements SC1 (that is, no MPU support). SC2-SC4 will be developed during this year.

- The presentation you are referring to was my keynote at OSPERT 2014. Indeed the MPU support is available in the AUTOSAR OS 4.0.3 implemented in ERIKA2 for Tricore AURIX.

- ERIKA3 on Jailhouse is, if I'm not wrong, using a mapping where virtual=physical. In any case there is no MMU support on Cortex A53 for now...

Ciao,

PJ

Re: MMU support

Posted: Tue Mar 05, 2019 7:23 pm
by reis220
Ok, so i can presume that in that context, the addresses that i access are the physical ones.