Re: [PATCH] arm/xilinx_zynq: Disable the MMU and the data and instruction cache on boot.

2016-08-14 Thread Chris Johns
Hi Pavel, Thank you for taking the time to provide a really great explanation. On 14/08/2016 20:44, Pavel Pisa wrote: So I have kept the code in bsp_start_hook_0 for RaspberryPi https://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/raspberrypi/startup/bspstarthooks.c#n39 I added the code f

Re: [PATCH] arm/xilinx_zynq: Disable the MMU and the data and instruction cache on boot.

2016-08-14 Thread Pavel Pisa
Hello Chris, On Tuesday 09 of August 2016 09:19:51 Chris Johns wrote: > The u-boot loader can enable the MMU plus the data and instruction caches. > Disable them and if the data cache is enabled clear it before turn the > caches off. > > Closes #2774. > --- > c/src/lib/libbsp/arm/shared/include/a

[PATCH] arm/xilinx_zynq: Disable the MMU and the data and instruction cache on boot.

2016-08-09 Thread Chris Johns
The u-boot loader can enable the MMU plus the data and instruction caches. Disable them and if the data cache is enabled clear it before turn the caches off. Closes #2774. --- c/src/lib/libbsp/arm/shared/include/arm-cp15-start.h | 4 c/src/lib/libbsp/arm/xilinx-zynq/startup/bspstartmmu.c