iMX6ULL DRAM-less operation

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

iMX6ULL DRAM-less operation

跳至解决方案
1,888 次查看
blueskull
Contributor I

Greetings community, 

Is there a way to use ONLY the internal 128KB OCRAM without DRAM at all with iMX6ULL?

I know there's a patch for SDK 1.1, but that's only for other iMX6 devices, and the makefile structure of SDK 1.1 is quite different from the current SDK 2.2.

Therefore, is there a way to use only OCRAM with iMX6ULL and SDK 2.2?

Also, what amount of available RAM can I expect from OCRAM-only operation (how much OCRAM must be allocated to non-user accessible functions, such as L1 map)?

Thanks in advance, 

Bo Gao

标签 (2)
标记 (1)
1 解答
1,699 次查看
art
NXP Employee
NXP Employee

Q. Is there a way to use ONLY the internal 128KB OCRAM without DRAM at all with iMX6ULL?

A. Of course, you can use a small OS-less applications running in OCRAM only not using DRAM. However, the functionality of such applications seems to be very limited due to small amount of memory available. On the other hand, it is possible to run the code directly from, for example, external parallel NOR flash using the External Memory Interface module and use OCRAM for stack/data only. The limitations here are: 1) relatively slow EIM operation and 2) relatively small address space of up to 128MBytes.

Q. Therefore, is there a way to use only OCRAM with iMX6ULL and SDK 2.2?

A. There is no ready-to-use path for SDK 2.2 to use such DRAM-less OCRAM-only environment. A custom memory map files should be created.

Q. Also, what amount of available RAM can I expect from OCRAM-only operation (how much OCRAM must be allocated to non-user accessible functions, such as L1 map)?

A. In such a small bare metal applications, everything including memory resources is under user control.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
1,700 次查看
art
NXP Employee
NXP Employee

Q. Is there a way to use ONLY the internal 128KB OCRAM without DRAM at all with iMX6ULL?

A. Of course, you can use a small OS-less applications running in OCRAM only not using DRAM. However, the functionality of such applications seems to be very limited due to small amount of memory available. On the other hand, it is possible to run the code directly from, for example, external parallel NOR flash using the External Memory Interface module and use OCRAM for stack/data only. The limitations here are: 1) relatively slow EIM operation and 2) relatively small address space of up to 128MBytes.

Q. Therefore, is there a way to use only OCRAM with iMX6ULL and SDK 2.2?

A. There is no ready-to-use path for SDK 2.2 to use such DRAM-less OCRAM-only environment. A custom memory map files should be created.

Q. Also, what amount of available RAM can I expect from OCRAM-only operation (how much OCRAM must be allocated to non-user accessible functions, such as L1 map)?

A. In such a small bare metal applications, everything including memory resources is under user control.


Have a great day,
Artur

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------