What's the current state of drivers for the MMU?

p-rimes
Posts: 89
Joined: Thu Jun 08, 2017 6:20 pm

What's the current state of drivers for the MMU?

Postby p-rimes » Tue May 15, 2018 4:02 pm

To me, the MMU is the coolest feature after the Wifi radio (especially since Wifi is an easy link to obtaining unprivileged code, which should be isolated).

Is there some reference code for using PIDs with the MMU (or MPU)?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: What's the current state of drivers for the MMU?

Postby ESP_Sprite » Wed May 16, 2018 6:46 am

No, sorry, the PID system is more-or-less untested at the moment.

rafal.majda
Posts: 3
Joined: Fri Oct 12, 2018 3:06 pm

Re: What's the current state of drivers for the MMU?

Postby rafal.majda » Fri Oct 12, 2018 3:25 pm

Hi,
What is the status of MMU/MPU/PID work for ESP32 ?

rafal.majda
Posts: 3
Joined: Fri Oct 12, 2018 3:06 pm

Re: What's the current state of drivers for the MMU?

Postby rafal.majda » Fri Oct 12, 2018 3:27 pm

Hi,
What is the actual status of PID works?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: What's the current state of drivers for the MMU?

Postby ESP_Sprite » Sat Oct 13, 2018 4:04 am

Still the same. Hardware is there (and documented in the TRM) but no ESP-IDF support (apart from memory mapping flash using the MMU, and upcoming support for bankswitching of 8MB PSRAM chips).

rafal.majda
Posts: 3
Joined: Fri Oct 12, 2018 3:06 pm

Re: What's the current state of drivers for the MMU?

Postby rafal.majda » Mon Oct 15, 2018 9:16 am

Thank you for answer.
Do you have a plan to do this job finally ?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: What's the current state of drivers for the MMU?

Postby ESP_Angus » Mon Oct 15, 2018 10:40 pm

rafal.majda wrote:Thank you for answer.
Do you have a plan to do this job finally ?
Unfortunately no, there's no plan to provide support for this hardware feature at the moment.

I think there is often some confusion about the meaning of "MMU" in ESP32. Even including these PID features, the MMU in ESP32 is a much simpler memory management unit than what is found on larger processors with virtual memory / protected memory spaces / etc.

Can you explain why you're interested in the MMU support? What are you aiming to develop?

p-rimes
Posts: 89
Joined: Thu Jun 08, 2017 6:20 pm

Re: What's the current state of drivers for the MMU?

Postby p-rimes » Fri Nov 23, 2018 7:19 am

Well, my use case is for dynamic loading of modules (obtained via the network from a trusted server). But the content of the modules is user-generated, so I would like to sandbox/prevent memory reads -- and hopefully peripheral access -- while executing those modules (via PIDs).

Who is online

Users browsing this forum: No registered users and 130 guests