Hi @hugs
This issue seems strange, as if something manually triggered the OOM.
Did you connect other devices on i.MX8MP during test? If yes, you can disconnect other interfaces, only reserve uart and power.
The another idea is about uart driver in RT kernel, you can disable RT feature to check the difference.
Best Regards,
Zhiming