Hello,
I checked internally and there are no available documents to run DDR stress test without UI on i.MX8M families.
According to the document you need the binaries and the init/start UART commands to achieve it but, there is no documentation about the exact commands.
Best regards.