Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Sebastian Huber
On 16/08/16 07:40, Chris Johns wrote: On 16/08/2016 15:36, Sebastian Huber wrote: On 16/08/16 07:35, Chris Johns wrote: On 16/08/2016 15:32, Sebastian Huber wrote:

Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Chris Johns
On 16/08/2016 15:36, Sebastian Huber wrote: On 16/08/16 07:35, Chris Johns wrote: On 16/08/2016 15:32, Sebastian Huber wrote:

Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Sebastian Huber
On 16/08/16 07:35, Chris Johns wrote: On 16/08/2016 15:32, Sebastian Huber wrote:

Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Sebastian Huber
On 16/08/16 03:49, Chris Johns wrote: On 15/08/2016 16:54, Pavel Pisa wrote: If you test that chage is OK for Zynq with SMP then I reintroduce change to RPi code (it would worth to have RPi2 SMP working for that testing but that is near to bottom of my own TODO list). My debug server app

Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Chris Johns
On 15/08/2016 16:54, Pavel Pisa wrote: If you test that chage is OK for Zynq with SMP then I reintroduce change to RPi code (it would worth to have RPi2 SMP working for that testing but that is near to bottom of my own TODO list). My debug server app does not link when SMP is enabled. I am

Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Chris Johns
On 15/08/2016 16:54, Pavel Pisa wrote: if (cpu_id == 0) { +rtems_cache_invalidate_entire_data(); +rtems_cache_invalidate_entire_instruction(); } else { arm_cache_l1_invalidate_entire_data(); arm_cache_l1_invalidate_entire_instruction(); } The header

Re: [PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-15 Thread Pavel Pisa
Hello Chris, On Monday 15 of August 2016 07:30:56 Chris Johns wrote: > This is a copy of the patch from Pavel to fix some strange behaviour with > data cache, instruction cache and MMU being enabled by u-boot on the > RaspberryPi. > > Closes #2774. My code can have issues with SMP. If the

[PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

2016-08-14 Thread Chris Johns
This is a copy of the patch from Pavel to fix some strange behaviour with data cache, instruction cache and MMU being enabled by u-boot on the RaspberryPi. Closes #2774. --- .../libbsp/arm/shared/include/arm-a9mpcore-start.h | 29 ++ 1 file changed, 29 insertions(+) diff