iMX8mm reserve_memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8mm reserve_memory

457 Views
okuda
Contributor III

Hi

I'm using a vendor's BSP.(yocto base Linux version 5.4.3-2.0.0)


There are the following definitions in the dts file.
reserved-memory {
 #address-cells = <2>;
 #size-cells = <2>;
 ranges;

 m4_reserved: m4@0x80000000 {
  no-map;
  reg = <0 0x80000000 0 0x1000000>;
 };

 rpmsg_reserved: rpmsg@0xbdb00000 {
  no-map;
  reg = <0 0xbdb00000 0 0x400000>;
 };

 rpmsg_dma_reserved:rpmsg_dma@0xbdf00000 {
  compatible = "shared-dma-pool";
  no-map;
  reg = <0 0xbdf00000 0 0x100000>;
 };
};

Also, uboot's printenv is as follows.
kboot=booti
loadaddr=0x40480000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
m4_image=imx8mm-m4.bin
m4_ldaddr=0x48000000
m4_ldimgs=fatload mmc ${mmcdev}:${mmcpart} ${m4_ldaddr} ${m4_image}
m4_staddr=0x7e0000
m4_start=run m4_ldimgs && cp.b ${m4_ldaddr} ${m4_staddr} 0x20000 && dcache flush && bootaux ${m4_staddr}

1.Why is it necessary to define each reserve memory area?
2.Is it possible to change the definition of each reserve memory area?
3.Since there is only 2GB of memory on the board, I would like to increase the free memory area.
       Is it possible to delete the above memory area?
4.What is imx8mm-m4.bin a file for processing?
  (I want to keep the CPU on the M4 side stopped.)

Best regards,
Koji Okuda

 

0 Kudos
Reply
1 Reply

437 Views
okuda
Contributor III

Hi

Is there any information?

Best regards,
Koji Okuda

0 Kudos
Reply