This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: Processors forum

Part Number: SK-AM62

Hi, 

Our customized board used DDR4 512MB.

I tried to modify uboot dts as below

memory@80000000 {
device_type = "memory";

        memory@80000000 {
                device_type = "memory";
                /* 1G RAM */
                reg = <0x00000000 0x80000000 0x00000000 0x10000000>;

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

                mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
                        compatible = "shared-dma-pool";
                        reg = <0x00 0x9cb00000 0x00 0x100000>;
                        no-map;
                };

                mcu_m4fss_memory_region: m4f-memory@9cc00000 {
                        compatible = "shared-dma-pool";
                        reg = <0x00 0x9cc00000 0x00 0xe00000>;
                        no-map;
                };

                secure_tfa_ddr: tfa@9e780000 {
                        reg = <0x00 0x9e780000 0x00 0x80000>;
                        alignment = <0x1000>;
                        no-map;
                };
                secure_ddr: optee@9e800000 {
                        reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
                        alignment = <0x1000>;
                        no-map;
                };

                wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
                        compatible = "shared-dma-pool";
                        reg = <0x00 0x9db00000 0x00 0xc00000>;
                        no-map;
                };
        };

It would show some error message during uboot

ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000)
ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000)
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)

I tried to move wkup_r5fss0_core0_dma_memory_region/secure_ddr/secure_tfa_ddr/mcu_m4fss_memory_region/mcu_m4fss_dma_memory_region to lower address,
but it still had the same error message.

It seems that system reserved memory would overlap mcu_m4fss_memory.

How could I do to fix this problem?

Thanks