1. What is more suitable for running RTOS: Cortex-A or Cortex-R or Cortex-M?
2. I want to make my own RTOS on Cortex-M: How to use MPU for protecting tasks?
1. Depends on your needs.
2. Same as you would do w/o RTOS, only that you change the mpu setup on task switch.