Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, August 28, 2019 12:31 PM > To: Vikas MANOCHA > Cc: Stephen Warren ; twar...@wwwdotorg.org; > u-boot@lists.denx.de; Stephen Warren > Subject: Re: [PATCH] board_f: fix noncached reservation calculatio

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-28 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 7:50 PM > To: Vikas MANOCHA ; Tom Rini > > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > > Subject: Re: [PATCH] board_f: fix noncached reservation calculation

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-27 Thread Vikas MANOCHA
Hi Stephen, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 3:50 PM > To: Vikas MANOCHA ; Tom Rini > > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > > Subject: Re: [PATCH] board_f: fix noncached reservation calcu

Re: [U-Boot] [PATCH] board_f: fix noncached reservation calculation

2019-08-27 Thread Vikas MANOCHA
Hi Stephen, > -Original Message- > From: Stephen Warren > Sent: Tuesday, August 27, 2019 10:55 AM > To: Tom Rini > Cc: twar...@wwwdotorg.org; u-boot@lists.denx.de; Stephen Warren > ; Vikas MANOCHA > Subject: [PATCH] board_f: fix noncached reservation calculati

[U-Boot] [PATCH v2] board_f: reserve noncached space below malloc area

2019-08-16 Thread Vikas Manocha
Noncached area at present is being initialized to random space after malloc area. It works in most the cases as it goes to stack area & stack is not overwriting it being far from it. Signed-off-by: Vikas Manocha --- Changes in v2: added blank line before return common/board_f.c

Re: [U-Boot] [PATCH] board_f: reserve noncached space below malloc area

2019-08-09 Thread Vikas MANOCHA
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Friday, August 9, 2019 10:00 AM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Bin Meng > ; CITOOLS revi...@lists.codex.cro.st.com>; Mario Six ; Patrick > DELAUNAY > Subject: Re: [PATCH] board_f: re

[U-Boot] [PATCH] board_f: reserve noncached space below malloc area

2019-08-08 Thread Vikas Manocha
Noncached area at present is being initialized to random space after malloc area. It works in most the cases as it goes to stack area & stack is not overwriting it being far from it. Signed-off-by: Vikas Manocha --- common/board_f.c | 13 + 1 file changed, 13 insertions(+)

[U-Boot] [PATCH] arm: armv7m: clean up armv7m unified code compilation

2018-08-31 Thread Vikas Manocha
unified syntax should be selected by config ARM_ASM_UNIFIED Signed-off-by: Vikas Manocha --- arch/arm/include/asm/armv7m.h | 5 - arch/arm/lib/crt0.S | 4 +--- arch/arm/lib/relocate.S | 1 + arch/arm/lib/vectors_m.S | 2 +- 4 files changed, 3 insertions(+), 9 deletions

[U-Boot] [PATCH] arm: armv7m: remove un-necessary If then instruction

2018-08-31 Thread Vikas Manocha
With gas option -mimplicit-it=always, IT block is inserted by the assembler for thumb2. Signed-off-by: Vikas Manocha --- arch/arm/lib/crt0.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index 0decce2..d7ff9f0 100644 --- a/arch/arm/lib/crt0.S

[U-Boot] [PATCH] arm: stm32: Remove redundant thumb build selection

2018-08-31 Thread Vikas Manocha
All armv7m arch builds are thumb & SYS_THUMB_BUILD is already selected by CPU_ARMV7M. Signed-off-by: Vikas Manocha --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8a23c76..b711605 100644 --- a/arch/arm/Kconfig +++ b/arch

Re: [U-Boot] [PATCH] stm32f7: board: Fix memory init

2018-08-02 Thread Vikas Manocha
e fdtdec_setup_memory_banksize() to setup memory bank base and size. > > Reported-by: Mark Olsson > Signed-off-by: Patrice Chotard > Cc: Mark Olsson Reviewed-by: Vikas Manocha one minor comment below. > --- > > board/st/stm32f746-disco/stm32f746-disco.c | 31 >

Re: [U-Boot] [PATCH 1/6] stm32mp1: clk: define RCC_PLLNCFGR2_SHIFT macro

2018-07-16 Thread Vikas Manocha
Hi, On 07/16/2018 01:41 AM, Patrick Delaunay wrote: > This patch define RCC_PLLNCFGR2_SHIFT to reuse it in > the pll function for set rate. > > Signed-off-by: Patrick Delaunay Reviewed-by: Vikas Manocha Cheers, Vikas > --- > > drivers/clk/clk_stm32mp1.c | 15

Re: [U-Boot] [PATCH] serial: Remove duplicated line in Makefile

2018-04-16 Thread Vikas Manocha
Hi, On 04/16/2018 01:35 AM, Patrice Chotard wrote: > The line "-obj-$(CONFIG_STM32_SERIAL) += serial_stm32.o" > is found twice in Makefile. > > Fixes: ae74de0dfd45 ("serial: stm32: Rename serial_stm32x7.c to > serial_stm32.c" > > Signed-off-by:

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-12 Thread Vikas Manocha
Thanks Patrice, On 03/12/2018 10:09 AM, Patrice CHOTARD wrote: > Hi Vikas > > On 03/06/2018 08:44 PM, Vikas Manocha wrote: >> Hi Patrice/Yannick, >> >> On 03/05/2018 11:50 PM, Patrice CHOTARD wrote: >>>> There seems to be a dependency on patch for >

Re: [U-Boot] [PATCH v2 00/10] splash screen on the stm32f769 disco board

2018-03-06 Thread Vikas Manocha
Hi Patrice/Yannick, On 03/05/2018 11:50 PM, Patrice CHOTARD wrote: >> There seems to be a dependency on patch for >> include/dt-bindings/mfd/stm32f7-rcc.h >> adding some new macros. Is it also submitted to the list? > Right, needed patches are already on the list > http://patchwork.ozlabs.org/pa

Re: [U-Boot] [PATCH 00/16] arm: stm32mp1: add initial support for STM32MP157

2018-03-05 Thread Vikas Manocha
Hi Patrick, On 03/05/2018 06:24 AM, Patrick Delaunay wrote: > > This patch-set adds initial support of STMicroelectronics STM32MP157 > microprocessor (MPU) > - add new arm arch stm32mp1 (based on armv7) > - support for stm32mp157 SOC (based on Cortex-A7) > - add minimal support for board evaluati

Re: [U-Boot] [PATCH] mach-stm32: Use default memory map as background region

2018-03-01 Thread Vikas Manocha
Hi Patrice, On 02/28/2018 08:15 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > On linux kernel side, on STM32F7 and STM32H7 SoCs, DMA requires > uncachable regions. These regions are defined in DT. > Since kernel linux v4.15, on ARMv7-M Cortex, kernel is able > to configure MPU re

Re: [U-Boot] [PATCH] ARM: dts: Add support for stm32f746-evaluation board support

2018-02-20 Thread Vikas MANOCHA
Hi, <-Original Message- ; u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org ; Christophe KERELLO ; Christophe PRIOUZEAU < Hi, <> <> <-Original Message- <> s...@chromium.org; Vikas MANOCHA <> ; Patrick DELAUNAY <>

Re: [U-Boot] [PATCH] ARM: dts: Add support for stm32f746-evaluation board support

2018-02-16 Thread Vikas MANOCHA
Hi, <-Original Message- ; Patrick DELAUNAY ; Christophe KERELLO <; Christophe PRIOUZEAU < http://www.st.com/en/evaluation-tools/stm32746g-eval.html < Acked-by: Vikas Manocha Cheers, Vikas <--- < arch/arm/dts/Makefile | 3 +- < arch/arm/dts/stm

Re: [U-Boot] [PATCH v2 0/5] STM32: Clean unused and factorize .h files in arch-stm32

2018-02-12 Thread Vikas Manocha
Great ! On 02/09/2018 04:09 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard For the series, Reviewed-by: Vikas Manocha Cheers, Vikas > > Removes unused .h files in arch/arm/include/asm/arch-stm32xx > Factorize and clean some .h files to avoid to duplicate defines in

Re: [U-Boot] [PATCH 2/5] arch-stm32: Move gpio.h for STM32 SoCs in include/asm/

2018-02-08 Thread Vikas Manocha
Hi Patrice, On 02/08/2018 05:35 AM, Patrice CHOTARD wrote: > Hi Vikas > > On 02/07/2018 08:28 PM, Vikas Manocha wrote: >> Hi Patrice, >> >> On 02/07/2018 07:50 AM, patrice.chot...@st.com wrote: >>> From: Patrice Chotard >>> >>> Instead to h

Re: [U-Boot] [PATCH 3/5] arch-stm32: Factorize stm32.h for STM32F4 and F7

2018-02-07 Thread Vikas Manocha
Hi, On 02/07/2018 07:50 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > For STM32F4 and F7 SoCx family, a specific stm32.h file exists. > Some common defines are duplicated or even unused in each of > these stm32.h. > > Factorize all common definition in arch/arm/include/asm/stm32

Re: [U-Boot] [PATCH 2/5] arch-stm32: Move gpio.h for STM32 SoCs in include/asm/

2018-02-07 Thread Vikas Manocha
good place for soc specific header files. how about creating one level like arch/arm/include/asm/arch-stm32/ to include common gpio.h here. It would fix both of above points. The same location can be used to move other commonalities in future. Cheers, Vikas [...] > > #endif /* _STM32_GP

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-06 Thread Vikas Manocha
On 02/06/2018 12:52 AM, Patrick DELAUNAY wrote: > Hi Patrice, > >> From: Patrice CHOTARD >> >> Sure, i will send a v3 >> >> Thanks >> >> Patrice >> > > You can also activate CONFIG_ENV_VARS_UBOOT_CONFIG Great ! Thanks Patrick. Cheers, Vikas > > Then the variables are defined in ./include/en

Re: [U-Boot] [PATCH] configs: stm32: Enable CONFIG_ENV_VARS_UBOOT_CONFIG

2018-02-06 Thread Vikas Manocha
gt; Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > include/configs/stm32f429-discovery.h | 1 + > include/configs/stm32f429-evaluation.h | 1 + > include/configs/stm32f469-discovery.h | 1 + > include/configs/stm32f746-disco.h |

Re: [U-Boot] [PATCH v2 1/3] mach-stm32: Add set_env_soc_name support

2018-02-05 Thread Vikas Manocha
by: Patrice Chotard For the series, Reviewed-by: Vikas Manocha One point below, [...] > + > #endif /* _ASM_ARCH_HARDWARE_H */ > diff --git a/arch/arm/mach-stm32/soc.c b/arch/arm/mach-stm32/soc.c > index df20d547c500..06ca61b270cf 100644 > --- a/arch/arm/mach-stm32/soc.c > +++ b/a

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-02-02 Thread Vikas Manocha
Hi Patrice, On 02/02/2018 12:22 AM, Patrice CHOTARD wrote: > +Christophe Priouzeau who is the requester/developper of this feature > > > On 01/31/2018 07:22 PM, Vikas Manocha wrote: >> Hi Patrice, >> >> On 01/31/2018 08:08 AM, patrice.chot...@st.com wr

Re: [U-Boot] [PATCH 6/8] board: stm32f469-discovery: Add set_env_soc_name() in board_late_init()

2018-01-31 Thread Vikas Manocha
Hi, On 01/31/2018 08:09 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add set_env_soc_name() call in board_late_init() to set environment > variable "soc_name" with the name of current STM32 SoC. > > Signed-off-by: Christophe Priouzeau > Signed-off-by: Patrice Chotard > --- >

Re: [U-Boot] [PATCH 0/8] Add get_cpu_id for STM32 SoCs

2018-01-31 Thread Vikas Manocha
Hi Patrice, On 01/31/2018 08:08 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series allows to get the cpu id of STM32 SoCs and to set > the environment variable "soc_name" with the corresponding SoC name. > > This will be useful in some development environment to retrieve

Re: [U-Boot] [PATCH 1/8] mach-stm32: Add get_cpu_id support

2018-01-31 Thread Vikas Manocha
Hi Patrice, On 01/31/2018 08:09 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This allows to read the CPU ID into STM32 DBGMCU_IDCODE register > and create an environment variable which contains the soc name. > > Signed-off-by: Christophe Priouzeau > Signed-off-by: Patrice Chot

Re: [U-Boot] [PATCH 2/3] clk: clk_stm32f: Remove STMMAC clock setup

2018-01-17 Thread Vikas Manocha
Hi, On 01/17/2018 12:46 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Thanks to 'commit ba1f96672522 ("net: designware: add clock support")' > we don't need anymore to setup the STMMAC clock in board. > > Signed-off-by: Patrice Ch

Re: [U-Boot] [PATCH 3/3] clk: clk_stm32f: Move SYSCFG clock setup into configure_clocks()

2018-01-17 Thread Vikas Manocha
Hi Patrice, On 01/17/2018 12:46 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Move SYSCFG clock setup into configure_clocks() instead of calling > clock_setup() from drivers. It is in board configuration. > Move the RMII setup from board_early_init_f() to board_init() > to insu

Re: [U-Boot] [PATCH 1/3] ARM: dts: stm32: Add STMMAC clocks for stm32f746

2018-01-17 Thread Vikas Manocha
Hi, On 01/17/2018 12:46 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add ETHMAC, ETHMACRX and ETHMACTX clocks for STMMAC. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > arch/arm/dts/stm32f746.dtsi | 3 +++

Re: [U-Boot] [PATCH 2/2] configs: stm32: move config flag from defconfig to Kconfig

2018-01-12 Thread Vikas Manocha
Hi, On 01/12/2018 12:23 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Move system flags from defconfig to mach-stm32/Kconfig > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha One comment below > --- > arch/arm/mach-stm32/K

Re: [U-Boot] [PATCH 1/2] serial: stm32: Rename serial_stm32x7.c to serial_stm32.c

2018-01-12 Thread Vikas Manocha
Hi, On 01/12/2018 12:23 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Now this driver is used across stm32f4, stm32f7 and stm32h7 > SoCs family, give it a generic name. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- &

Re: [U-Boot] [PATCH] mach-stm32: Factorize MPU's region config for STM32 SoCs

2017-11-16 Thread Vikas Manocha
e device area > located at 0xA000 . > > For STM32F4, configure_clocks() need to be moved from arch_cpu_init() > to board_early_init_f(). > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > arch/arm/mach-stm32/Makefile

Re: [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver

2017-11-15 Thread Vikas Manocha
LGTM. Cheers, Vikas On 11/15/2017 04:14 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > It's the second step to prepare STM32F4 conversion to driver model and > device tree support. STM32F4 and STM32F7 RCC IPs are similar, differences > between these 2 SoCs can be managed with di

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: [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 > >

Re: [U-Boot] [PATCH 2/2] dm: clk: fix PWR_CR3 register's bit 2 name

2017-10-09 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Monday, October 09, 2017 2:41 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Subjec

Re: [U-Boot] [PATCH 1/2] dm: clk: remove CLK() macro for clk_stm32h7

2017-10-09 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Monday, October 09, 2017 2:41 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:

Re: [U-Boot] [PATCH] ARM: stm32f7: fix prescaler calculation of timer

2017-10-03 Thread Vikas MANOCHA
> -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: Monday, October 02, 2017 10:48 PM > To: albert.u.b...@aribaud.net; Vikas MANOCHA > Cc: u-boot@lists.denx.de; Bo Shen > Subject: [PATCH] ARM: stm32f7: fix prescaler calculation of timer > &

Re: [U-Boot] [PATCH v1 0/6] Update stm32x7 serial driver

2017-09-29 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Wednesday, September 27, 2017 6:45 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > > Sub

Re: [U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-26 Thread Vikas MANOCHA
Thanks Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Tuesday, September 26, 2017 5:27 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; s...@chromium.org > Cc: Patrick DELAUNAY ; Christophe KERELLO > > Subject: Re: [PA

Re: [U-Boot] [PATCH v2 3/9] dm: clk: add clk driver support for stm32h7 SoCs

2017-09-19 Thread Vikas Manocha
Hi Patrice, On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This driver implements basic clock setup, only clock gating > is implemented. > > This driver doesn't implement .of_match as it's binded > by MFD RCC driver. > > Files include/dt-bindings/clock/stm32h

Re: [U-Boot] [PATCH v2 2/9] serial: stm32x7: add STM32H7 support

2017-09-18 Thread Vikas Manocha
Hi Patrice, On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F7 and STM32H7 shares the same UART block, add > STM32H7 compatible string. > > Signed-off-by: Patrice Chotard > --- > drivers/serial/Kconfig | 7 --- > drivers/serial/serial_stm32x

Re: [U-Boot] [PATCH v2 1/9] pinctrl: stm32: add stm32h743-pinctrl compatible

2017-09-18 Thread Vikas Manocha
On 09/13/2017 09:00 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32H7 SoCs uses the same pinctrl block as found into > STM32F7 SoCs > > Signed-off-by: Patrice Chotard > --- > drivers/pinctrl/pinctrl_stm32.c | 1 + > 1 file changed, 1 insertio

Re: [U-Boot] [PATCH] spl: fix usage of $(SPL_TPL_) for some files

2017-08-21 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Dr. Philipp Tomsich [mailto:philipp.toms...@theobroma-systems.com] > Sent: Monday, August 21, 2017 3:17 AM > To: Vikas MANOCHA > Cc: U-Boot Mailing List ; Alexandru Gagniuc > ; Kever Yang ; > Simon Glass ; Stefan Agner > Subje

[U-Boot] [PATCH] spl: stm32: make falcon mode activation configurable

2017-08-20 Thread Vikas Manocha
With this change, it will be possible to de-select falcon mode & spl will only boot U-Boot. Signed-off-by: Vikas Manocha Suggested-by: Bo Shen --- arch/arm/mach-stm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32/Kconfig b/arch/arm/mach-s

[U-Boot] [PATCH] spl: fix usage of $(SPL_TPL_) for some files

2017-08-20 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- common/spl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/Makefile b/common/spl/Makefile index 112b3e6..fde0d09 100644 --- a/common/spl/Makefile +++ b/common/spl/Makefile @@ -12,9 +12,9 @@ ifdef CONFIG_SPL_BUILD obj

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Vikas MANOCHA
Hi, > On Aug 18, 2017, at 6:31 PM, Robert Nelson wrote: > >> On Fri, Aug 18, 2017 at 4:28 PM, Vikas MANOCHA wrote: >> Hi Bo, >> >>> -Original Message- >>> From: Bo Shen [mailto:voice.s...@gmail.com] >>> Sent: Thursday, August 17,

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-18 Thread Vikas MANOCHA
Hi Bo, > -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: Thursday, August 17, 2017 10:07 PM > To: Robert Nelson ; Vikas MANOCHA > > Cc: U-Boot-Denx ; Christophe PRIOUZEAU > ; Alexandre TORGUE > > Subject: Re: [U-Boot] [PATCH v2 3

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
One other point, On 08/10/2017 11:07 AM, Vikas Manocha wrote: > Hi Robert, > > On 08/10/2017 11:03 AM, Robert Nelson wrote: >> Hi Vikas, >> >> On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >>> This commit supports booting from stm32 internal nor f

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-10 Thread Vikas Manocha
Hi Robert, On 08/10/2017 11:03 AM, Robert Nelson wrote: > Hi Vikas, > > On Sun, May 28, 2017 at 2:55 PM, Vikas Manocha wrote: >> This commit supports booting from stm32 internal nor flash. spl U-Boot >> initializes the sdram memory, copies next image (e.g. standard U-Boo

Re: [U-Boot] [PATCH 09/15] ARM: DTS: stm32: add gpio compatible and aliases for stm32h743

2017-08-08 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, August 04, 2017 6:19 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH 08/15] ARM: DTS: stm32: update usart compatible string for stm32h743

2017-08-08 Thread Vikas MANOCHA
Hi Patrice, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, August 04, 2017 6:19 AM > To: u-boot@lists.denx.de; albert.u.b...@aribaud.net; s...@chromium.org; Vikas > MANOCHA > Cc: Patrice CHOTARD ; Patrick DELAUNAY > ; Christophe KERELLO > >

Re: [U-Boot] [PATCH 1/1] armv7m: mpu_config add missing break

2017-07-31 Thread Vikas Manocha
Hi, On 07/30/2017 11:34 AM, Heinrich Schuchardt wrote: > For DEVICE_NON_SHARED the newly assigned value of attr > is overwritten due to a missing break. > > The problem was indicated by cppcheck. > > Signed-off-by: Heinrich Schuchardt reviewed-by : Vikas Manocha Cheers, Vi

Re: [U-Boot] [PATCH v2 1/1] stmf32f4: soc: fix buildman compilation error

2017-07-28 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Patrice CHOTARD > Sent: Friday, July 28, 2017 2:54 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: [

Re: [U-Boot] STM32F746 Discovery - No serial output?

2017-07-26 Thread Vikas MANOCHA
Hi Francois, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Francois > Dugast > Sent: Friday, July 21, 2017 1:41 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] STM32F746 Discovery - No serial output? > > Hi, > > I am trying to run the master on

Re: [U-Boot] [PATCH 1/1] serial: stm32x7: Convert CONFIG_STM32X7_SERIAL to Kconfig

2017-07-26 Thread Vikas Manocha
LGTM, On 07/26/2017 06:48 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add CONFIG_STM32X7_SERIAL as a Kconfig option. > > Signed-off-by: Patrice Chotard Reviewed-by: Vikas Manocha Cheers, Vikas > --- > configs/stm32f746-disco_defconfig | 1 + >

Re: [U-Boot] [PATCH] stm32: Correct positioning of declaration

2017-07-10 Thread Vikas MANOCHA
Thanks Simon, > -Original Message- > From: Simon Glass [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Saturday, July 01, 2017 10:06 AM > To: U-Boot Mailing List > Cc: Simon Glass ; Albert Aribaud > ; Toshifumi NISHINAGA > ; Vikas MANOCHA > Subject

Re: [U-Boot] [U-Boot,v2,3/7] stm32: stm32f7: add spl build support

2017-06-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Saturday, June 10, 2017 6:46 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Christophe KERELLO ; > Alexandre TORGUE ; > Christophe PRIOUZEAU > Subject: Re: [U-Boot,v2,3/7]

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Thursday, June 08, 2017 5:12 PM > To: Vikas MANOCHA > Cc: Phil Edworthy ; Albert Aribaud > ; Kamil Lulko > ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] arm: Add Kconfig sy

Re: [U-Boot] [PATCH 1/2] arm: Add Kconfig symbols used for Linux asm compatibility

2017-06-08 Thread Vikas MANOCHA
Hi Albert/Tom, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 31, 2017 11:33 PM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PAT

Re: [U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-06-08 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Sunday, May 28, 2017 12:55 PM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA ; Patrick DELAUNAY > ; Patrice CHOTARD > ; Christophe KERELLO ; > Christophe PRIOUZEAU > ; Alexandre TORGUE > Subjec

Re: [U-Boot] [PATCH v2] armv7m: Fix larger builds

2017-05-31 Thread Vikas MANOCHA
> On May 31, 2017, at 12:27 AM, Phil Edworthy wrote: > > The branch instruction only has an 11-bit relative target address, which > is sometimes not enough. > > Signed-off-by: Phil Edworthy Reviewed-by: Vikas Manocha Cheers, Vikas > --- > v2: > - Use W(b) ins

[U-Boot] [PATCH v2 5/7] serial: stm32f7: disable overrun

2017-05-28 Thread Vikas Manocha
With overrun enabled, serial port console freezes & stops receiving data with overun error if we keep sending data. Signed-off-by: Vikas Manocha --- Changed in v2: None drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertions(+)

[U-Boot] [PATCH v2 7/7] spl: stm32f7: configure for xip booting

2017-05-28 Thread Vikas Manocha
S_BOOT option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2 +- include/configs/stm32f746-disco.h | 12 +--- 3

[U-Boot] [PATCH v2 6/7] spl: stm32f7: add kernel boot support

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 9 + include/configs/stm32f746-disco.h | 7 +++ 3 files changed, 17 insertions(+) diff --git a/arch/arm/mach-stm32/stm32f7

[U-Boot] [PATCH v2 4/7] SPL: Add XIP booting support

2017-05-28 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- Changed in v2: - removed v7m thumb mode for entry point, added separate patch. - removed extra blank line

[U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-05-28 Thread Vikas Manocha
800_ - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha --- Changed in v2: None arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconfig

[U-Boot] [PATCH v2 1/7] spl: armv7m: to keep ARM v7M in thumb mode before booting next image

2017-05-28 Thread Vikas Manocha
for any image like raw or image with header like zImage or standard U-Boot. Signed-off-by: Vikas Manocha --- Changed in v2: Added this patch in v2 common/spl/spl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index df984b8..1bdae3e

[U-Boot] [PATCH v2 2/7] stm32f7: remove duplicate configs

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changed in v2: None configs/stm32f746-disco_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 4322aad..a334d50 100644 --- a/configs/stm32f746-disco_defconfig +++ b

[U-Boot] [PATCH v2 0/7] spl: add xip booting support

2017-05-28 Thread Vikas Manocha
This patchset adds support for XIP (execute in place) of U-Boot or kernel image and enables it for stm32f7. Changed in v2: - added patch to move v7m thumb mode just before next image boot - removed extra blank line. Vikas Manocha (7): spl: armv7m: to keep ARM v7M in thumb mode before booting

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-26 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Friday, May 26, 2017 1:27 AM > To: Vikas MANOCHA > Cc: Tom Rini ; Kamil Lulko ; > u-boot@lists.denx.de; Albert Aribaud > > Subject: RE: [PATCH] armv7m: Fix lar

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-25 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Thursday, May 25, 2017 6:58 AM > To: Vikas MANOCHA ; Albert Aribaud > > Cc: Tom Rini ; Kamil Lulko ; > u-boot@lists.denx.de > Subject: RE: [PATCH] armv7m: Fix lar

Re: [U-Boot] [PATCH] armv7m: Fix larger builds

2017-05-24 Thread Vikas MANOCHA
Hi Phil, > -Original Message- > From: Phil Edworthy [mailto:phil.edwor...@renesas.com] > Sent: Wednesday, May 24, 2017 7:34 AM > To: Albert Aribaud > Cc: Tom Rini ; Vikas MANOCHA ; > Kamil Lulko ; u- > b...@lists.denx.de; Phil Edworthy > Subject: [PATCH] a

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Monday, May 22, 2017 10:37 AM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU > ; Ale

Re: [U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-22 Thread Vikas MANOCHA
Hi Alex, > -Original Message- > From: Alexandru Gagniuc [mailto:ale...@adaptrum.com] > Sent: Thursday, May 18, 2017 12:51 PM > To: Vikas MANOCHA ; u-boot@lists.denx.de > Cc: Patrick DELAUNAY ; Patrice CHOTARD > ; Christophe KERELLO > ; Christophe PRIOUZEAU

[U-Boot] [PATCH 4/6] serial: stm32f7: disable overrun

2017-05-18 Thread Vikas Manocha
With overrun enabled, serial port console freezes & stops receiving data with overun error if we keep sending data. Signed-off-by: Vikas Manocha --- drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/se

[U-Boot] [PATCH 5/6] spl: stm32f7: add kernel boot support

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 8 include/configs/stm32f746-disco.h | 7 +++ 3 files changed, 16 insertions(+) diff --git a/arch/arm/mach-stm32/stm32f7/Kconfig b/arch/arm/mach

[U-Boot] [PATCH 3/6] SPL: Add XIP booting support

2017-05-18 Thread Vikas Manocha
Enable support for XIP (execute in place) of U-Boot or kernel image. There is no need to copy image from flash to ram if flash supports execute in place. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/spl.h | 1 + board/st/stm32f746-disco/stm32f746-disco.c | 1 + common

[U-Boot] [PATCH 6/6] spl: stm32f7: configure for xip booting

2017-05-18 Thread Vikas Manocha
S_BOOT option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Kconfig| 1 + board/st/stm32f746-disco/stm32f746-disco.c | 2 +- include/configs/stm32f746-disco.h | 12 +--- 3 files changed, 7 ins

[U-Boot] [PATCH 2/6] stm32: stm32f7: add spl build support

2017-05-18 Thread Vikas Manocha
800_ - standard U-Boot : 0x0800_8000 To compile u-boot without spl: Remove SUPPORT_SPL configuration (arch/arm/mach-stm32/Kconfig) Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconfig

[U-Boot] [PATCH 1/6] stm32f7: remove duplicate configs

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- configs/stm32f746-disco_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/stm32f746-disco_defconfig b/configs/stm32f746-disco_defconfig index 4322aad..a334d50 100644 --- a/configs/stm32f746-disco_defconfig +++ b/configs/stm32f746

[U-Boot] [PATCH 0/6] spl: add xip booting support

2017-05-18 Thread Vikas Manocha
This patchset adds support for XIP (execute in place) of U-Boot or kernel image and enables it for stm32f7. Vikas Manocha (6): stm32f7: remove duplicate configs stm32: stm32f7: add spl build support SPL: Add XIP booting support serial: stm32f7: disable overrun spl: stm32f7: add kernel

Re: [U-Boot] [U-Boot, 1/2] armv7m: cache: add flush & invalidate all dcache

2017-05-12 Thread Vikas MANOCHA
Hi, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Friday, May 12, 2017 10:18 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot,1/2] armv7m: cache: add flush & invalidate all dcache > > On Wed, May 03, 201

[U-Boot] [PATCH 2/4] armv7m: add MPU configuration support

2017-05-03 Thread Vikas Manocha
like execute never, cache policies like write-back or write-through. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/Makefile | 2 +- arch/arm/cpu/armv7m/mpu.c | 82 +++ arch/arm/include/asm/armv7m.h | 20 -- arch/arm/include/asm

[U-Boot] [PATCH 4/4] stm32f7: configure mpu valid for f7 family

2017-05-03 Thread Vikas Manocha
n-executable. - Region3 : 512MB : peripherals : device memory & non-executable. - Region4 : 512MB : cortexM area: strongly ordered & non-executable. Higher region number overrides the lower region configuration. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm3

[U-Boot] [PATCH 3/4] stm32: use armv7m MPU configuration support

2017-05-03 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f4/soc.c | 16 +- arch/arm/mach-stm32/stm32f7/soc.c | 64 --- 2 files changed, 22 insertions(+), 58 deletions(-) diff --git a/arch/arm/mach-stm32/stm32f4/soc.c b/arch/arm/mach-stm32/stm32f4

[U-Boot] [PATCH 1/4] armv7m: correct mpu region size define for 8MB size

2017-05-03 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/include/asm/armv7m.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/armv7m.h b/arch/arm/include/asm/armv7m.h index ebf0f17..9a6224f 100644 --- a/arch/arm/include/asm/armv7m.h +++ b/arch/arm/include/asm/armv7m.h

[U-Boot] [PATCH 0/4] armv7m: add memory protection unit support

2017-05-03 Thread Vikas Manocha
This patchset adds memory protection unit support(MPU) support & configures it for stm32f4 & stm32f7. Vikas Manocha (4): armv7m: correct mpu region size define for 8MB size armv7m: add MPU configuration support stm32: use armv7m MPU configuration support stm32f7: configure mpu v

[U-Boot] [PATCH 0/2] armv7m: cache: cleanup before linux booting

2017-05-03 Thread Vikas Manocha
This patchset: - add all data cache flushing & invalidation functions as declared in the common header file. - adds cleanup before linux booting. Vikas Manocha (2): armv7m: cache: add flush & invalidate all dcache arvm7m: add cleanup before linux booting arch

[U-Boot] [PATCH 2/2] arvm7m: add cleanup before linux booting

2017-05-03 Thread Vikas Manocha
Data cache memory needs to be disabled before handing over control to linux kernel. This patch populates the cleanup_before_linux stub. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/cpu.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/cpu/armv7m/cpu.c b

[U-Boot] [PATCH 1/2] armv7m: cache: add flush & invalidate all dcache

2017-05-03 Thread Vikas Manocha
Add functionality to flush & invalidate all the dcache using the prototype declared in common header file. Signed-off-by: Vikas Manocha --- arch/arm/cpu/armv7m/cache.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/cpu/armv7m/cache.c b/arch/arm/cpu/armv7m/cac

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-05-02 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Wednesday, April 12, 2017 12:47 PM > To: 'Tom Rini' > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt > > Subject: RE: [U-Boot] [PATCH] spl: make image arg or fdt blob add

Re: [U-Boot] [PATCH v4 00/18] stm32f7: add sdram & gpio drivers

2017-04-24 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Vikas MANOCHA > Sent: Monday, April 10, 2017 3:03 PM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA > Subject: [PATCH v4 00/18] stm32f7: add sdram & gpio drivers > > This patchset : > - adds stm32 sdram driver b

[U-Boot] [PATCH v2] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Vikas Manocha
: Vikas Manocha --- arch/arm/dts/stm32f7-u-boot.dtsi | 24 1 file changed, 24 insertions(+) create mode 100644 arch/arm/dts/stm32f7-u-boot.dtsi diff --git a/arch/arm/dts/stm32f7-u-boot.dtsi b/arch/arm/dts/stm32f7-u-boot.dtsi new file mode 100644 index 000..5f77f57

Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, April 12, 2017 10:27 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Ian Campbell ; Hans de Goede > > Subject: Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-rel

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-04-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, April 12, 2017 6:33 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt > > Subject: Re: [U-Boot] [PATCH] spl: make image

  1   2   3   4   5   >