Running user application in OCRAM on iMX8MP

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

Running user application in OCRAM on iMX8MP

678 Views
nitzant
Contributor I

I'm working on i.MX8MP evaluation board and I want to isolate one of the four CPUs and run an user application on it from OCRAM memory. For some reason, I don't see an entry for the OCRAM memory region in /proc/iomem (Is it legit?). Can you please advise how should be the approach in this case?

 

Some dry details:

  •  I'm using a Linux kernel from 'nxp-real-time-edge-sw/real-time-edge-linux' repository - Tag lf-6.1.22-rt-2.0.0
  • I build my ROOTFS via buildroot (a minimized root file system for arm64).
  • This is how the OCRAM is defined in "imx8mp.dtsi":

resmem: reserved-memory {
    #address-cells = <2
    #size-cells = <2>
    ranges;

    ocram: ocram@900000 {
        no-map;
        reg = <0 0x900000 0 0x70000>;
    };

};

0 Kudos
Reply
1 Reply

659 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

first please look at

System Controller Firmware 101 - Resource management service 

memory from OCRAM address start to 0x118000 is allocated to ATF partition,

refer to #define OCRAM_ALIAS_SIZE 0x18000, OCRAM_BASE + OCRAM_ALIAS

It is not recommended to use it as it is reserved for internal usage in nxp software.

 

May be suggested to proceed with help of extended support of

NXP Professional Services | NXP 

Regards

0 Kudos
Reply