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
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.
@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.
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.png
Best regards.