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
dec_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
e Chotard <patrice.chot...@st.com> Acked-by: Vikas Manocha <vikas.mano...@st.com> Cheers, Vikas > --- > > drivers/serial/Makefile | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile > index 6937ef962868..

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 >

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

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

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.kere...@st.com>; Christophe PRIOUZEAU <<christophe.priouz...@st.com> Hi, <> <> <-Original Message----- <>s...@

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

2018-02-16 Thread Vikas MANOCHA
Hi, <-Original Message- ; Patrick DELAUNAY <patrick.delau...@st.com>; Christophe KERELLO <<christophe.kere...@st.com>; Christophe PRIOUZEAU <christophe.priouz...@st.com> < http://www.st.com/en/evaluation-tools/stm32746g-eval.html < Acked-by: Vikas

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 <patrice.chot...@st.com> For the series, Reviewed-by: Vikas Manocha <vikas.mano...@st.com> Cheers, Vikas > > Removes unused .h files in arch/arm/include/asm/arch-stm32xx > Factorize

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 <patrice.chot...@st.com> >>

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

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

2018-02-07 Thread Vikas Manocha
eader here. Also arch/arm/include/asm/ does not seems like 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

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

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

2018-02-06 Thread Vikas Manocha
; Signed-off-by: Christophe Priouzeau <christophe.priouz...@st.com> > Signed-off-by: Patrice Chotard <patrice.chot...@st.com> Reviewed-by: Vikas Manocha <vikas.mano...@st.com> Cheers, Vikas > --- > include/configs/stm32f429-discovery.h | 1 + > include/configs/stm32f4

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

2018-02-05 Thread Vikas Manocha
uzeau <christophe.priouz...@st.com> > Signed-off-by: Patrice Chotard <patrice.chot...@st.com> For the series, Reviewed-by: Vikas Manocha <vikas.mano...@st.com> One point below, [...] > + > #endif /* _ASM_ARCH_HARDWARE_H */ > diff --git a/arch/arm/mach-stm32/soc.c b/arc

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

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

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

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

2018-01-17 Thread Vikas Manocha
-by: Patrice Chotard <patrice.chot...@st.com> Reviewed-by: Vikas Manocha <vikas.mano...@st.com> Cheers, Vikas > --- > arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 1 - > board/st/stm32f746-disco/stm32f746-disco.c | 1 - > drivers/clk/clk_stm32f.c

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()

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 <patrice.chot...@st.com> > > Add ETHMAC, ETHMACRX and ETHMACTX clocks for STMMAC. > > Signed-off-by: Patrice Chotard <patrice.chot...@st.com> Reviewed-by: Vikas Manocha <vikas.

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 <patrice.chot...@st.com> > > Move system flags from defconfig to mach-stm32/Kconfig > > Signed-off-by: Patrice Chotard <patrice.chot...@st.com> Reviewed-by: Vikas Manocha <vikas.man

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 <patrice.chot...@st.com> > > Now this driver is used across stm32f4, stm32f7 and stm32h7 > SoCs family, give it a generic name. > > Signed-off-by: Patrice Chotard <patrice.chot...@

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

2017-11-16 Thread Vikas Manocha
hich doesn't have 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 <patrice.chot...@st.com> Reviewed-by: Vikas Manocha <vikas.mano...@st.com>

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

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 <vikas.mano...@st.com>; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; s...@chromium.org > Cc: Patrick DELAUNAY

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot..

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot...@st.com>; Patr

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot...@st.com>; Patr

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 <vikas.mano...@st.com> > Cc: u-boot@lists.denx.de; Bo Shen <voice.s...@gmail.com> > Subject: [PATC

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot..

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 <vikas.mano...@st.com>; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; s...@chromium.org > Cc: Patrick DELAUNAY <patrick.delau...@

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

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

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

2017-09-18 Thread Vikas Manocha
ctrl/pinctrl_stm32.c | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Vikas Manocha <vikas.mano...@st.com> > diff --git a/drivers/pinctrl/pinctrl_stm32.c b/drivers/pinctrl/pinctrl_stm32.c > index fb2593c..bf2a86c 100644 > --- a/drivers/pinctrl/pinctrl_stm32.c > +++ b/

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 <vikas.mano...@st.com> > Cc: U-Boot Mailing List <u-boot@lists.denx.de>; Alexandru Gagniuc > <

[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 <vikas.mano...@st.com> Suggested-by: Bo Shen <voice.s...@gmail.com> --- arch/arm/mach-stm32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

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

2017-08-20 Thread Vikas Manocha
Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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 @@

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 <robertcnel...@gmail.com> wrote: > >> On Fri, Aug 18, 2017 at 4:28 PM, Vikas MANOCHA <vikas.mano...@st.com> wrote: >> Hi Bo, >> >>> -Original Message- >>> From: Bo Shen [mailto:voice.

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 <robertcnel...@gmail.com>; Vikas MANOCHA > <vikas.mano...@st.com> > Cc: U-Boot-Denx <u-boot@lists.denx.de>; Christ

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 <vikas.mano...@st.com> wrote: >>> This commit supports booting

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 <vikas.mano...@st.com> wrote: >> This commit supports booting from stm32 internal nor flash. spl U-Boot >> initializes the sdram memory, copies next

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot..

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot..

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 <xypron.g...@gmx.de> rev

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 <vikas.mano...@st.com> > Cc: Patrice CHOTARD <patrice.chot...@st.com>; Patr

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

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 <patrice.chot...@st.com> > > Add CONFIG_STM32X7_SERIAL as a Kconfig option. > > Signed-off-by: Patrice Chotard <patrice.chot...@st.com> Reviewed-by: Vikas Manocha <vikas.

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

2017-07-10 Thread Vikas MANOCHA
gt; <albert.u.b...@aribaud.net>; Toshifumi NISHINAGA > <tnishinaga@gmail.com>; Vikas MANOCHA <vikas.mano...@st.com> > Subject: [PATCH] stm32: Correct positioning of declaration > > The current code gives a warning: > > arch/arm/mach-stm32/stm32f7/soc.c: In functio

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 <vikas.mano...@st.com> > Cc: u-boot@lists.denx.de; Christophe KERELLO <christophe.kere...@st.com>; > Alexandre T

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 <vikas.mano...@st.com> > Cc: Phil Edworthy <phil.edwor...@renesas.com>; Albert Aribaud > <albert.u.b...@aribaud.net>;

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 <albert.u.b...@aribaud.net> > Cc: Tom Rini <tr...@konsulko.com>; Vikas MANOCHA <vikas.mano...@st.

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 <vikas.mano...@st.com>; Patrick DELAUNAY > <patrick.delau...@st.com>; Patrice CHOTARD > <patrice.chot...@st.com&g

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 <phil.edwor...@renesas.com> wrote: > > The branch instruction only has an 11-bit relative target address, which > is sometimes not enough. > > Signed-off-by: Phil Edworthy <phil.edwor...@renesas.com> Reviewed

[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 <vikas.mano...@st.com> --- Changed in v2: None drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files

[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 <vikas.mano...@st.com> --- Changed in v2: - removed v7m thumb mode for entry point, added separate

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

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

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

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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

[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 <vikas.mano...@st.com> --- Changed in v2: None arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach

[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 <vikas.mano...@st.com> --- 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

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

2017-05-28 Thread Vikas Manocha
Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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/stm

[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-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 <vikas.mano...@st.com>; Albert Aribaud > <albert.u.b...@aribaud.net> > Cc: Tom Rini <tr...@konsulko.com>

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 <albert.u.b...@aribaud.net> > Cc: Tom Rini <tr...@konsulko.com>; Vikas MANOCHA <vikas.mano...@st.com>; >

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 <vikas.mano...@st.com>; u-boot@lists.denx.de > Cc: Patrick DELAUNAY <patrick.delau...@st.com>; Patrice CHOTARD

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 <vikas.mano...@st.com>; u-boot@lists.denx.de > Cc: Patrick DELAUNAY <patrick.delau...@st.com>; Patrice CHOTARD

[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 <vikas.mano...@st.com> --- drivers/serial/serial_stm32x7.c | 3 +++ drivers/serial/serial_stm32x7.h | 2 ++ 2 files changed, 5 insertion

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

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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/s

[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 <vikas.mano...@st.com> --- arch/arm/include/asm/spl.h | 1 + board/st/stm32f746-disco/stm

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

2017-05-18 Thread Vikas Manocha
T option disabled. By default, spl is configured to boot linux xipImage. Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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 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 <vikas.mano...@st.com> --- arch/arm/mach-stm32/Kconfig| 1 + arch/arm/mach-stm32/stm32f7/Kconf

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

2017-05-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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

[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 <vikas.mano...@st.com> > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot,1/2] armv7m: cache: add flush & invalidate all dcache >

[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 <vikas.mano...@st.com> --- arch/arm/cpu/armv7m/Makefile | 2 +- arch/arm/cpu/armv7m/mpu.c | 82 +++ arch/arm/include/asm/armv7m.h

[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 <vikas.mano...@st.com> --- a

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

2017-05-03 Thread Vikas Manocha
Signed-off-by: Vikas Manocha <vikas.mano...@st.com> --- 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/ar

[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 <vikas.mano...@st.com> --- 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 +++

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

[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 <vikas.mano...@st.com> --- arch/arm/cpu/armv7m/cpu.c | 19 +++ 1 file changed, 19 insertions(+) diff --git

[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 <vikas.mano...@st.com> --- arch/arm/cpu/armv7m/cache.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/cpu/armv7m/cach

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' <tr...@konsulko.com> > Cc: u-boot@lists.denx.de; Marek Vasut <ma...@denx.de>; Stefan Agner > <stefan.ag...@toradex.com>; Jeremy Hunt > <

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 <vikas.mano...@st.com> > Subject: [PATCH v4 00/18] stm32f7: add sdram & gpio drivers > > This patchset : >

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

2017-04-12 Thread Vikas Manocha
-by: Vikas Manocha <vikas.mano...@st.com> --- 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

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 <vikas.mano...@st.com> > Cc: u-boot@lists.denx.de; Ian Campbell <i...@hellion.org.uk>; Hans de Goede > <hdego...@r

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 <vikas.mano...@st.com> > Cc: u-boot@lists.denx.de; Marek Vasut <ma...@denx.de>; Stefan Agner > <stefan.ag...@tora

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

2017-04-11 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, April 10, 2017 5:29 AM > To: Vikas MANOCHA <vikas.mano...@st.com> > Cc: u-boot@lists.denx.de; Marek Vasut <ma...@denx.de>; Stefan Agner > <stefan.ag...@tora

  1   2   3   4   5   >