Re: [U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-15 Thread Patrice CHOTARD
Hi Vikas On 11/14/2017 11:16 PM, Vikas MANOCHA wrote: > Hi Patrice, > > Cheers, > Vikas > >> -Original Message- >> From: Patrice CHOTARD >> Sent: Tuesday, November 14, 2017 12:41 AM >> To: Vikas MANOCHA ; u-boot@lists.denx.de; >> albert.u.b...@aribaud.net; s...@chromium.org >> Cc: Patri

Re: [U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-14 Thread Vikas MANOCHA
Hi Patrice, Cheers, Vikas > -Original Message- > From: Patrice CHOTARD > Sent: Tuesday, November 14, 2017 12:41 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; s...@chromium.org > Cc: Patrick DELAUNAY ; Christophe KERELLO > > Subject: Re: [PATCH] mach-stm32:

Re: [U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-14 Thread Patrice CHOTARD
Hi Vikas On 11/14/2017 03:16 AM, Vikas MANOCHA wrote: > Hi Patrice, > >> -Original Message- >> From: Patrice CHOTARD >> Sent: Monday, November 13, 2017 8:26 AM >> To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; >> Vikas MANOCHA >> Cc: Patrice CHOTARD ; Patrick DE

Re: [U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-13 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Monday, November 13, 2017 8:26 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Subject: [PATCH] mach-stm32:

[U-Boot] [PATCH] mach-stm32: Fix mpu region's attribute for STM32H7

2017-11-13 Thread patrice.chotard
From: Patrice Chotard The SDRAM region was setup with the wrong attributes. It must be set to : _ XN_EN (Execution of an instruction fetched from this region permitted) _ O_I_WB_RD_WR_ALLOC (Outer and inner write-back, write and read allocate) This fixes hard fault when trying to load and ex