Chat freely about anything...

User avatar
By Bert
#277 Please re-open and read that exact file. The line is not there. Regarding XCHAL_HAVE_PTP_MMU, there's only one line (line 446) clearly defining it 0.

You seem to refer to the core.h in the XtDevTools, which does include the following:
Code: Select all#if 0
#if XCHAL_HAVE_TLBS && !XCHAL_HAVE_SPANNING_WAY && XCHAL_ITLB_ARF_WAYS > 0 && XCHAL_DTLB_ARF_WAYS > 0 && XCHAL_MMU_RINGS >= 2
# define XCHAL_HAVE_PTP_MMU      1   /* have full MMU (with page table [autorefill] and protection) */
#else
# define XCHAL_HAVE_PTP_MMU      0   /* don't have full MMU */
#endif
#endif

Take careful note of the first line here: it effectively comments out the rest of the block, rendering XCHAL_HAVE_PTP_MMU undefined.

Once again, there is absolutely no evidence that this core has an MMU that does anything else than plain region protection. The overlay file and the core configuration summary support the assumption that there is no sophisticated MMU, while the existence of region protection is once again supported by the EXCCAUSE.