Hello Yuri!
Do I understand correctly, that I can't use adresses 0x00900000-0x0090ffff for storing my Cortex-M4 firmware because this range is reserved by Linux kernel and is used by it during boot process?
As I see from FreeRTOS linker scripts - they all use 0x00910000 as a start address. I tried to edit default linker script to use first 0x00900000 and then 0x00901000 adresses as a start address along with disabling corresponding ocram entries in the devicetree, but I see that my M4 firmware stops working right after kernel starts booting.
I use imx-5.4.47 kernel
My modifications:
imx7d.dtsi:
ocram: sram@901000 {
compatible = "mmio-sram";
reg = <0x901000 0x1f000>;
clocks = <&clks IMX7D_OCRAM_CLK>;
+ status = "disabled";
};
my devicetree:
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
m4_reserved: m4@0x00901000 {
no-map;
reg = <0x00901000 0x1f000>;
};
};
Did I miss something?
Thanks in advance.