1942812_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1942812_en-US

1942812_en-US

i.MX93 Linux OCRAM as shared memory

Hello

I'm working with an imx93, non-secure.

Here's my problem: I want to use ocram as shared memory between the linux a55 and the m33.

I have a linux user space test program and an m33 test program that can both access the ocram, but only the first 96KB (20480000 - 20497fff). Can I get more of it? The full 640KB?

The linux test program uses mmap at 0x20480000. It gives a bus error if it goes at or above 0x20498000.

Note: I won't be using the ethosu or rpmsg at all.

How does linux use ocram? Can I increase the 96KB to 640KB?

Thanks
Chris

Re: i.MX93 Linux OCRAM as shared memory

Hi

You can try to modify ocram permission settings in ATF:plat/imx/imx93/trdc_config.h

Add more memory blocks in trdc_n_mbc, 0-5 means six memory blocks(6*16KB=96KB), you need add more.

Zhiming_Liu_0-1725004694351.png


Best Regards
Zhiming

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 11:54 AM
更新者: