This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AM5728: CCS memory browser issue with Jailhouse

Part Number: AM5728

Tool/software: Code Composer Studio

Hi there,

I'm working with Linux processor-sdk 05.02.00.10 and RTOS processor-sdk 4.03.00.05.
I successfully worked with jailhouse hypervisor on the AM5728 evaluation board.

Now I'm trying to startup jailhouse on a AM5728 based custom board.

The RTOS inmate app is unable to access McSPI4 memory space.

Using CCS memory browser I can view the address space properly only when the memory browser is set to "Physical".

When it is set to "CPU" the address space is zeroed out.

Why is that?

Address spaces of McSPI1,2,3 are available when the memory browser is set both in "Physical" and "CPU", and the RTOS inmate can access them with no problem.

Thanks a lot,

Nir.

  • Nir,

    I am looping in out Jailhouse experts to comment on this issue as this doesn`t appear to be an issue with CCS but rather with MMU setup done in the Root cell. Also, indicate if the MCSPI4 has been enabled in the device tree. 

    Can you please provide the .mem_regions setup for the jailhouse inmate so we can understand the MMU Setup used in your virtualization setup. You may also want to take a look at this discussion on our code composer studio forum regarding Physical memory view vs CPU memory view 

    Regards,

    Rahul

  • Hi Rahul,

    I found a bug in the inmate cell config.

    After fixing it McSPI4 address space is available.

    Thanks,

    Nir.