rt-thread-official/libcpu/arm/am335x
Adrian Huang 4222677933 [libcpu][am335x] Fix the booting failure when enabling MMU
Since the 16 domains are configured as the client domains in
mmu_setttbase(), a Permission fault is generated if the XN bit
(Execute-never) is set in the short-descriptor translation table
(for section and supersection). This leads to the booting failure
when enabling MMU for beagleboard bsp. Here is log:

----------------------------------------------------------------
SD/MMC found on device 0
reading uEnv.txt
117 bytes read in 3 ms (38.1 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading rtthread.bin
162624 bytes read in 24 ms (6.5 MiB/s)
\## Starting application at 0x80200000 ...

----------------------------------------------------------------

This commit removes the XN bit configuration in the section of the
short-descriptor translation table. The OS can be booted successfully
with applying this commit.
2015-05-11 10:36:11 +08:00
..
am33xx.h add CM_PER_UARTx_CLKCTRL 2014-01-11 15:14:36 +08:00
context_gcc.S Import beaglebone porting 2013-09-20 21:20:51 +08:00
cp15_gcc.S Import beaglebone porting 2013-09-20 21:20:51 +08:00
cpu.c Import beaglebone porting 2013-09-20 21:20:51 +08:00
interrupt.c Import beaglebone porting 2013-09-20 21:20:51 +08:00
interrupt.h Import beaglebone porting 2013-09-20 21:20:51 +08:00
mmu.c [libcpu][am335x] Fix the booting failure when enabling MMU 2015-05-11 10:36:11 +08:00
stack.c Import beaglebone porting 2013-09-20 21:20:51 +08:00
start_gcc.S [libcpu]am335x edit vector 2014-08-12 18:26:22 +08:00
trap.c [libcpu]am335x edit vector 2014-08-12 18:26:22 +08:00
vector_gcc.S Import beaglebone porting 2013-09-20 21:20:51 +08:00