2145663_en-US

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

2145663_en-US

2145663_en-US

Memmory configuration for IMX93 1GB

Hi i need to modify dts to adapt to 1GB ddr i have modified and its working but when i tried to run an ai example it crashes and wont run. can anyone confirm if my dts is correct.

if possible can you give examples of 1GB 512MB and 256MB

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

		linux,cma {
			compatible = "shared-dma-pool";
			reusable;
			alloc-ranges = <0 0x80000000 0 0x20000000>;
			size = <0 0x8000000>;
			linux,cma-default;
		};

		ethosu_mem: ethosu_region@A0000000 {
			compatible = "shared-dma-pool";
			reusable;
			reg = <0x0 0xA0000000 0x0 0x800000>;
		};
  
		vdev0vring0: vdev0vring0@92000000 {
			reg = <0 0x92000000 0 0x8000>;
			no-map;
		};

		vdev0vring1: vdev0vring1@92008000 {
			reg = <0 0x92008000 0 0x8000>;
			no-map;
		};

		vdev1vring0: vdev1vring0@92010000 {
			reg = <0 0x92010000 0 0x8000>;
			no-map;
		};

		vdev1vring1: vdev1vring1@92018000 {
			reg = <0 0x92018000 0 0x8000>;
			no-map;
		};

		rsc_table: rsc-table@2021e000 {
			reg = <0 0x2021e000 0 0x1000>;
			no-map;
		};

		vdevbuffer: vdevbuffer@92020000 {
			compatible = "shared-dma-pool";
			reg = <0 0x92020000 0 0x100000>;
			no-map;
		};

		ele_reserved: ele-reserved@92120000 {
			compatible = "shared-dma-pool";
			reg = <0 0x92120000  0 0x100000>;
			no-map;
		};
	};

 @imx93

LinuxYocto ProjectRe: Memmory configuration for IMX93 1GB

Hello,

I do not see issues in your configuration.

These settings are application dependent. So you need to estimate how many buffers is required for peripherals.

If you application is crashing could be because CMA pool too small.

Also please confirm if reserved regions don’t exceed physical RAM.

Best regards.

Re: Memmory configuration for IMX93 1GB

@JorgeCas thanks for the answer. i have generated the ddr files and modified everything accordingly can you just let me know if the dts is correct if not provide an example.

Re: Memmory configuration for IMX93 1GB

Hello,

What you need to configure in your board to use 1GB of RAM is the next:

• Generate the 1GByte timing.c file in Config Tool.
• ccange the DRAM size to 1GB. uboot-imx/include/configs/imx93_evk.h

Here an example:

Screenshot 2025-08-04 110203.pngScreenshot 2025-08-04 110203.png

Best regards.

标记 (1)
无评分
版本历史
最后更新:
‎11-20-2025 03:45 PM
更新人: