Hello,
I am inquiring about the DRAM reserved area for the S32G2.
I plan to use ramoops to store DRAM data on the eMMC.
However, the DRAM data gets reset when the device reboots due to a reset, causing the data to be lost. To address this issue, I added reserved-memory to the FDT to preserve the DRAM data across resets. Despite this, the DRAM values still get reset upon rebooting.
I would appreciate any suggestions or solutions you might have for this problem.
I am wondering if adding `mmap_region_t` in `plat/nxp/s32/s32_bl2_el3.c` would allow for the preservation of the DRAM area.
I have added a new area, but setting only the MT_RW attribute did not enable writing.
Furthermore, the values written by the kernel are still being erased due to DRAM initialization after a soft-reset.
Could you advise on how to correctly configure the DRAM area to prevent data loss after a soft-reset? Specifically, are there additional attributes or configurations required beyond MT_RW to ensure the DRAM area is both writable and persistent across warm-resets(soft reset)?