So I have a custom trust-zone OS and applications that I would like to run on the TX2, but the amount of memory provided to the OS is very small (6MB).
So my understanding from the TRM, is that the TZDRAM’s aperture is programmable using the memory controllers registers. I see that this is done in the ARM-TF’s BL31 source code provided by nvidia, and I have tried increasing the size by modifying the ARM-TF’s BL31, but the accessible region of memory doesn’t seem to be affected by this change.
Does the BPMP do some additional work to setup the TZDRAM’s carevout that I don’t know about? I am thinking this might be the case since the aperture params (base and size) are passed from the BPMP, but it’s unclear why this is done. Is this memory region configurable in some way?