Unable to access complete OCRAM in i.mx8mm

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unable to access complete OCRAM in i.mx8mm

894 次查看
Jarvis3345
Contributor II

Hi Team,

Iam currently working on i.mx8mm running linux 5.15 version and u-boot 2022.04, Iam using  OCRAM  to send and receive data from M4 to A53 core as per reference manual i could see that it has an unreserved OCRAM region from 0x00900000 to 0x0091ffff(128kb) and 0x00920000 to 0x0093ffff(128kb).

Abiram_0-1708585936610.png

Iam able to access the complete first sector of OCRAM from 0x00900000 to 0x00910000 region from user space but when i tried to access the region from 0x00920000 to 0x00930000 the kernel crashes.
From u-boot using md command i can see that the second sector is getting initialised.

Abiram_1-1708585980443.png

My questions are:
1.Can i use the complete 256 kb(128*2) of region from the userspace or is it reserved for some resource management service.
2.If i have to use the second sector from user space do i have to make any modifications(dts,driver,atf code),if so please do suggest the solution.

Thank You,
Abiram R

标签 (1)
0 项奖励
回复
2 回复数

875 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The OCRAM is reserved, but you can write on it, if you are sure you don't need the space from OCRAM you can write it

Regards

0 项奖励
回复

870 次查看
Jarvis3345
Contributor II

Hi,

Can I write to the second sector 0x00920000 to 0x0093ffff?If so currently I am not able to do so, should I have to make any modification?

0 项奖励
回复