Re: [U-Boot] u-boot-sunxi/master: Buildman issues

2017-04-03 Thread Chen-Yu Tsai
On Tue, Apr 4, 2017 at 1:43 PM, Jagan Teki wrote: > Full Log: > -- > boards.cfg is up to date. Nothing to do. > Summary of 36 commits for 1275 boards (12 threads, 1 job per thread) > 01: sunxi: fix ACTLR.SMP assembly routine >aarch64: + orangepi_pc2 > blackfin: + cm-bf561 black

[U-Boot] u-boot-sunxi/master: Buildman issues

2017-04-03 Thread Jagan Teki
Full Log: -- boards.cfg is up to date. Nothing to do. Summary of 36 commits for 1275 boards (12 threads, 1 job per thread) 01: sunxi: fix ACTLR.SMP assembly routine aarch64: + orangepi_pc2 blackfin: + cm-bf561 blackstamp bf527-ezkit-v2 br4 cm-bf527 bf506f-ezkit ip04 bf527-sdp bf5

Re: [U-Boot] [PATCH v2 07/29] ARM: i.MX6QP: sabresd: Add initial devicetree support

2017-04-03 Thread Jagan Teki
On Tue, Apr 4, 2017 at 12:46 AM, Fabio Estevam wrote: > On Mon, Apr 3, 2017 at 10:53 AM, Jagan Teki wrote: >> From: Jagan Teki >> >> Add initial dts support for i.MX6 Quad Plus Sabresd board. >> >> Boot from MMC: >> - >> U-Boot SPL 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29

Re: [U-Boot] [PATCH 08/18] dm: gpio: Add driver for stm32f7 gpio controller

2017-04-03 Thread Vikas Manocha
Thanks Simon, On 03/31/2017 09:20 PM, Simon Glass wrote: > Hi, > > On 20 March 2017 at 14:48, Vikas Manocha wrote: >> >> This patch adds gpio driver supporting driver model for stm32f7 gpio. >> >> Signed-off-by: Vikas Manocha >> cc: Christophe KERELLO >> --- >> drivers/gpio/Kconfig|

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-03 Thread Stefan Agner
On 2017-04-03 16:34, Marek Vasut wrote: > On 04/04/2017 12:42 AM, Stefan Agner wrote: >> On 2017-04-03 15:07, Marek Vasut wrote: >>> On 04/03/2017 11:36 PM, Stefan Agner wrote: Hi Lukasz, On 2017-04-03 04:20, Lukasz Majewski wrote: > Hi Stefan, > > Thanks for your patch.

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-03 Thread Marek Vasut
On 04/04/2017 12:42 AM, Stefan Agner wrote: > On 2017-04-03 15:07, Marek Vasut wrote: >> On 04/03/2017 11:36 PM, Stefan Agner wrote: >>> Hi Lukasz, >>> >>> On 2017-04-03 04:20, Lukasz Majewski wrote: Hi Stefan, Thanks for your patch. Please allow me to share some ideas for impro

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-03 Thread Stefan Agner
On 2017-04-03 15:07, Marek Vasut wrote: > On 04/03/2017 11:36 PM, Stefan Agner wrote: >> Hi Lukasz, >> >> On 2017-04-03 04:20, Lukasz Majewski wrote: >>> Hi Stefan, >>> >>> Thanks for your patch. Please allow me to share some ideas for >>> improvements. >>> From: Stefan Agner This p

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-03 Thread Marek Vasut
On 04/03/2017 04:43 PM, Brüns, Stefan wrote: > On Samstag, 1. April 2017 08:51:39 CEST Eddie Cai wrote: >> We should invalidate the dcache before starting the DMA. In case there are >> any dirty lines from the DMA buffer in the cache, subsequent cache-line >> replacements may corrupt the buffer in

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-03 Thread Marek Vasut
On 04/03/2017 11:36 PM, Stefan Agner wrote: > Hi Lukasz, > > On 2017-04-03 04:20, Lukasz Majewski wrote: >> Hi Stefan, >> >> Thanks for your patch. Please allow me to share some ideas for >> improvements. >> >>> From: Stefan Agner >>> >>> This patchset enables to boot elf binaries on secondary Co

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-03 Thread Stefan Agner
Hi Lukasz, On 2017-04-03 04:20, Lukasz Majewski wrote: > Hi Stefan, > > Thanks for your patch. Please allow me to share some ideas for > improvements. > >> From: Stefan Agner >> >> This patchset enables to boot elf binaries on secondary Cortex-M >> class cores available on i.MX 6SoloX/7Solo/7Du

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-04-03 Thread Stefan Agner
On 2017-04-03 10:35, Stefano Babic wrote: > Hi Stefan, > > On 03/04/2017 18:41, Stefan Agner wrote: >> Hi Stefano, >> >> On 2017-04-03 03:30, Stefano Babic wrote: >>> Hi Stefan, >>> >>> On 29/03/2017 21:41, Stefan Agner wrote: From: Stefan Agner For some reason Python 3 seems to th

Re: [U-Boot] Remove global variable env_t *env_ptr ?

2017-04-03 Thread Wolfgang Denk
Dear Joakim, In message <1491221969.4177.81.ca...@infinera.com> you wrote: > I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR as > we need to replace out flash but we don't want to create a new u-boot binairy > just for this simple change. I doubt this will work for configurat

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-03 Thread Simon Glass
Hi Stefan, On 3 April 2017 at 12:24, Brüns, Stefan wrote: > On Montag, 3. April 2017 20:18:42 CEST Brüns, Stefan wrote: >> On Montag, 3. April 2017 17:38:40 CEST you wrote: >> > >> > What am I missing? >> >> The following is a gross oversimplification, but might explain it: >> >> 1. Assume all of

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-03 Thread Simon Glass
Hi Stefan, On 3 April 2017 at 12:18, Brüns, Stefan wrote: > On Montag, 3. April 2017 17:38:40 CEST you wrote: >> Hi Stefan, >> >> On 3 April 2017 at 08:26, Brüns, Stefan > wrote: >> > On Montag, 3. April 2017 01:23:17 CEST you wrote: >> >> Hi Stefan, >> >> >> >> On 2 April 2017 at 15:34, Stefan

Re: [U-Boot] [PATCH v2] net: eth_common: Don't use %pM when USE_TINY_PRINTF is enabled

2017-04-03 Thread Wolfgang Denk
Dear Vignesh, In message <2c453144-8aba-3e66-8f1f-fe468bcdc...@ti.com> you wrote: > > I agree, networking widely uses %pM for printing mac addresses. > Are you suggesting to port %pM support from lib/vsprintf.c to > lib/tiny-printf.c and make it available based on CONFIG_CMD_NET? I don't think w

Re: [U-Boot] [PATCH v2 07/29] ARM: i.MX6QP: sabresd: Add initial devicetree support

2017-04-03 Thread Fabio Estevam
On Mon, Apr 3, 2017 at 10:53 AM, Jagan Teki wrote: > From: Jagan Teki > > Add initial dts support for i.MX6 Quad Plus Sabresd board. > > Boot from MMC: > - > U-Boot SPL 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29) > Trying to boot from MMC1 > > U-Boot 2017.03-33690-ga80e4f6-d

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-03 Thread Brüns , Stefan
On Montag, 3. April 2017 20:18:42 CEST Brüns, Stefan wrote: > On Montag, 3. April 2017 17:38:40 CEST you wrote: > > > > What am I missing? > > The following is a gross oversimplification, but might explain it: > > 1. Assume all of the 64kB of the aligned_buffer is dirty. (Likely, if the > buffer

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-03 Thread Brüns , Stefan
On Montag, 3. April 2017 17:38:40 CEST you wrote: > Hi Stefan, > > On 3 April 2017 at 08:26, Brüns, Stefan wrote: > > On Montag, 3. April 2017 01:23:17 CEST you wrote: > >> Hi Stefan, > >> > >> On 2 April 2017 at 15:34, Stefan Bruens > > > > wrote: > >> > On Sonntag, 2. April 2017 17:43:38 CE

[U-Boot] [PATCH] usb: dwc3: gadget: make cache-maintenance on event buffers more robust

2017-04-03 Thread Philipp Tomsich
Merely using dma_alloc_coherent does not ensure that there is no stale data left in the caches for the allocated DMA buffer (i.e. that the affected cacheline may still be dirty). The original code was doing the following (on AArch64, which translates a 'flush' into a 'clean + invalidate'): # dur

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-04-03 Thread Stefano Babic
Hi Stefan, On 03/04/2017 18:41, Stefan Agner wrote: > Hi Stefano, > > On 2017-04-03 03:30, Stefano Babic wrote: >> Hi Stefan, >> >> On 29/03/2017 21:41, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> For some reason Python 3 seems to think it does not need to build >>> the library. Using the

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-04-03 Thread Stefan Agner
Hi Stefano, On 2017-04-03 03:30, Stefano Babic wrote: > Hi Stefan, > > On 29/03/2017 21:41, Stefan Agner wrote: >> From: Stefan Agner >> >> For some reason Python 3 seems to think it does not need to build >> the library. Using the --force parameter makes sure that the library >> gets built alwa

Re: [U-Boot] [PATCH 08/16] board_f: Drop CONFIG_SPL_BUILD check

2017-04-03 Thread york sun
On 03/31/2017 07:41 AM, Simon Glass wrote: > This is never defined when building this file, so drop it. > > Signed-off-by: Simon Glass > --- > Reviewed-by: York Sun ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 16/16] board_f: powerpc: Drop unused headers

2017-04-03 Thread york sun
On 03/31/2017 07:41 AM, Simon Glass wrote: > These includes don't seem to be needed now. Drop them. Reserve the > mp.h header for PowerPC for now. > > Signed-off-by: Simon Glass > --- > > common/board_f.c | 18 +++--- > 1 file changed, 3 insertions(+), 15 deletions(-) > > diff --git a

Re: [U-Boot] [PATCH 12/16] board_f: Move errno.h down to the bottom

2017-04-03 Thread york sun
On 03/31/2017 07:41 AM, Simon Glass wrote: > This is to keep the header file order consistent. > > Signed-off-by: Simon Glass > --- > Reviewed-by: York Sun ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 06/16] board_f: Move the extra #ifdef condition into reserve_mmu()

2017-04-03 Thread york sun
On 03/31/2017 07:40 AM, Simon Glass wrote: > The arch-specific details of the cache being off are best handled inside > the reserve_mmu(). This cleans up the init sequence a little. > > Signed-off-by: Simon Glass > --- > Reviewed-by: York Sun ___ U-Boo

Re: [U-Boot] [PATCH 11/16] board_f: Drop unused headers

2017-04-03 Thread york sun
On 03/31/2017 07:41 AM, Simon Glass wrote: > Drop headers which are not used or needed in this file. The compiler.h > header is included by common.h. > > Signed-off-by: Simon Glass > --- Reviewed-by: York Sun ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-03 Thread Simon Glass
Hi Stefan, On 3 April 2017 at 08:26, Brüns, Stefan wrote: > On Montag, 3. April 2017 01:23:17 CEST you wrote: >> Hi Stefan, >> >> On 2 April 2017 at 15:34, Stefan Bruens > wrote: >> > On Sonntag, 2. April 2017 17:43:38 CEST Simon Glass wrote: >> >> Hi Stefan, >> >> >> >> On 2 April 2017 at 07:10

Re: [U-Boot] [PATCH 3/3][v3] [RESEND] arm: ls1046ardb: Add SD secure boot target

2017-04-03 Thread york sun
On 04/03/2017 12:00 AM, Ruchika Gupta wrote: > > >> -Original Message- >> From: york sun >> Sent: Saturday, April 01, 2017 1:44 AM >> To: Ruchika Gupta ; u-boot@lists.denx.de >> Cc: Vini Pillai ; Sumit Garg >> Subject: Re: [PATCH 3/3][v3] [RESEND] arm: ls1046ardb: Add SD secure boot >> tar

Re: [U-Boot] usb: dwc2: invalidate the dcache before starting the DMA

2017-04-03 Thread Brüns , Stefan
On Samstag, 1. April 2017 08:51:39 CEST Eddie Cai wrote: > We should invalidate the dcache before starting the DMA. In case there are > any dirty lines from the DMA buffer in the cache, subsequent cache-line > replacements may corrupt the buffer in memory while the DMA is still going > on. Cache-li

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-03 Thread Brüns , Stefan
On Montag, 3. April 2017 01:23:17 CEST you wrote: > Hi Stefan, > > On 2 April 2017 at 15:34, Stefan Bruens wrote: > > On Sonntag, 2. April 2017 17:43:38 CEST Simon Glass wrote: > >> Hi Stefan, > >> > >> On 2 April 2017 at 07:10, Stefan Bruens > > > > wrote: > >> > On Sonntag, 2. April 2017 05

[U-Boot] [PATCH v2 20/29] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight

2017-04-03 Thread Jagan Teki
From: Jagan Teki For OF_CONTROL, gpio's need to configure through dm_gpio_* calls instead of non-dm gpio code, So add dm_gpio_* calls for dts supported code. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/mx6sabresd.c | 22

[U-Boot] [PATCH v2 18/29] ARM: i.MX6: sabresd: Move CONFIG_FEC_MXC to defconfigs

2017-04-03 Thread Jagan Teki
From: Jagan Teki Moved CONFIG_FEC_MXC from include/configs/mxsabresd.h to imx6 sabresd defconfigs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6q_sabresd_defconfig | 1 + configs/imx6qp_sabresd_defconfig | 1 + configs/mx6dlsabresd_d

[U-Boot] [PATCH v2 22/29] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_reset

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add imx6_pcie_toggle_reset on board file using dm_gpio_* calls for OF_CONTROL configs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/mx6sabresd.c | 31 +++ 1 file changed, 31 in

[U-Boot] [PATCH v2 29/29] ARM: i.MX6: sabresd: Drop checkboard

2017-04-03 Thread Jagan Teki
From: Jagan Teki Since SabreSD is supporting fdt, there is no use of printing the board name explicitly using checkboard because dtb supported u-boot will print model like this Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi

[U-Boot] [PATCH v2 19/29] ARM: i.MX6: sabresd: Enable DM_ETH

2017-04-03 Thread Jagan Teki
From: Jagan Teki Enable DM_ETH for dt supported sabresd config boards: - imx6q_sabresd_defconfig - imx6qp_sabresd_defconfig Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/mx6sabresd.c | 6 ++ configs/imx6q_sabresd_defco

[U-Boot] [PATCH v2 28/29] ARM: i.MX6: sabresd: Update README

2017-04-03 Thread Jagan Teki
From: Jagan Teki Since all SabreSD boards support SPL and devicetree update README on respective image name changes while loading the SD card. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/imx6sabresd/README | 53

[U-Boot] [PATCH v2 21/29] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_power

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add imx6_pcie_toggle_power on board file using dm_gpio_* calls for OF_CONTROL configs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/mx6sabresd.c | 30 ++ 1 file changed, 30 ins

[U-Boot] [PATCH v2 23/29] ARM: dts: imx6qdl-sabresd: Add imx6dl-sabresd.dts

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add initial dts support for i.MX6 DualLite Sabresd board. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6dl-sabresd.dts | 17 + 2 files changed, 18 insertions(+

[U-Boot] [PATCH v2 16/29] ARM: i.MX6: sabresd: Enable DM_USB

2017-04-03 Thread Jagan Teki
From: Jagan Teki Enable DM_USB for dt supported sabresd config boards: - imx6q_sabresd_defconfig - imx6qp_sabresd_defconfig Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/mx6sabresd.c | 4 ++-- configs/imx6q_sabresd_defconf

[U-Boot] [PATCH v2 25/29] ARM: i.MX6: sabresd: Drop legacy non-fdt code

2017-04-03 Thread Jagan Teki
From: Jagan Teki - Removed non-fdt code (becuase which has dt support) - Remove legacy defconfigs mx6dlsabresd_defconfig mx6qsabresd_defconfig mx6sabresd_spl_defconfig - Re-arrange the header includes and removed unneeded includes. - Move the SPL code in #ifdef CONFIG_SPL_BUILD area. - Drop

[U-Boot] [PATCH v2 07/29] ARM: i.MX6QP: sabresd: Add initial devicetree support

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add initial dts support for i.MX6 Quad Plus Sabresd board. Boot from MMC: - U-Boot SPL 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29) Trying to boot from MMC1 U-Boot 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29 +0530) CPU: Freescale i.MX6QP rev1.0

[U-Boot] [PATCH v2 26/29] ARM: i.MX6: %s/mx6sabresd/imx6sabresd

2017-04-03 Thread Jagan Teki
From: Jagan Teki Rename all mx6sabresd files and directories to imx6sabresd, this will eventually compatible with Linux i.MX file notations and also some of the boards(engicam) in the current tree are now following same convention. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Sig

[U-Boot] [PATCH v2 27/29] ARM: i.MX6: sabresd: Move DM_* and OF_CONTROL to arch Kconfig

2017-04-03 Thread Jagan Teki
From: Jagan Teki Since all defconfig have common CONFIG_DM_* for respective dm uclass configs move them on arch Kconfig and also move CONFIG_OF_CONTROL Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/cpu/armv7/mx6/Kconfig | 8 conf

[U-Boot] [PATCH v2 15/29] ARM: i.MX6: sabresd: Enable CONFIG_DM_REGULATOR

2017-04-03 Thread Jagan Teki
From: Jagan Teki Enable CONFIG_DM_REGULATOR for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6q_sabresd_defconfig | 1 + configs/imx6qp_sabresd_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/con

[U-Boot] [PATCH v2 05/29] ARM: i.MX6Q: sabresd: Add initial devicetree support

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add initial devicetree support for i.MX6 Quad Sabresd board. The configs item are copied from configs/mx6sabresd_spl_defconfig and added - CONFIG_OF_CONTROL=y - CONFIG_DM_GPIO=y - CONFIG_DM_MMC=y - CONFIG_BLK is not set - CONFIG_DM_MMC_OPS is not set - CONFIG_PINCTRL=y - CONFIG_

[U-Boot] [PATCH v2 03/29] ARM: dts: imx6qdl-sabresd: Add imx6q-sabresd.dts

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add initial dts support for i.MX6 Quad Sabresd board. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6q-sabresd.dts | 21 + 2 files changed, 22 insertions(+)

[U-Boot] [PATCH v2 12/29] ARM: i.MX6: sabresd: defconfig move - CONFIG_USB_EHCI(_MX6)

2017-04-03 Thread Jagan Teki
From: Jagan Teki Defconfig move on i.MX6 Sabresd boards: - CONFIG_USB_EHCI as CONFIG_USB_EHCI_HCD - CONFIG_USB_EHCI_MX6 Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6q_sabresd_defconfig | 2 ++ configs/imx6qp_sabresd_defconfig | 2 ++ c

[U-Boot] [PATCH v2 24/29] ARM: i.MX6DL: sabresd: Add initial devicetree support

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add initial devicetree support for i.MX6 DualLite Sabresd board. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/MAINTAINERS | 1 + configs/imx6dl_sabresd_defconfig | 68 ++

[U-Boot] [PATCH v2 10/29] ARM: dts: imx6qdl-sabresd: Add PMIC pfuze100 node

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add PMIC pfuze100 node via i2c2 for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabresd.dtsi

[U-Boot] [PATCH v2 08/29] ARM: i.MX6: sabresd: Move CONFIG_SYS_I2C_MXC to defconfigs

2017-04-03 Thread Jagan Teki
From: Jagan Teki Moved CONFIG_SYS_I2C_MXC from include/configs/mxsabresd.h to imx6 sabresd defconfigs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/imx6q_sabresd_defconfig | 1 + configs/imx6qp_sabresd_defconfig | 1 + configs/mx6dlsabresd

[U-Boot] [PATCH v2 09/29] ARM: dts: imx6qdl-sabresd: Add I2C node's

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add I2C nodes for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/dts/imx

[U-Boot] [PATCH v2 14/29] ARM: dts: imx6qdl-sabresd: Add usb otg node

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add usb otg node for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabresd.

[U-Boot] [PATCH v2 04/29] ARM: i.MX6: sabresd: Remove SPL_I2C_SUPPORT

2017-04-03 Thread Jagan Teki
From: Jagan Teki I2C support not needed for SPL build, hence removed the CONFIG_SPL_I2C_SUPPORT from mx6sabresd_spl_defconfig Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- configs/mx6sabresd_spl_defconfig | 1 - 1 file changed, 1 deletion(-) diff -

[U-Boot] [PATCH v2 06/29] ARM: dts: imx6qdl-sabresd: Add imx6qp-sabresd.dts

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add initial dts support for i.MX6 Quad Plus Sabresd board. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6qdl-sabresd.dtsi | 96 --- arch/

[U-Boot] [PATCH v2 17/29] ARM: dts: imx6qdl-sabresd: Add FEC node

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add FEC node for i.MX6QDL Sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabres

[U-Boot] [PATCH v2 11/29] ARM: i.MX6: sabresd: Enable DM_I2C and DM_PMIC

2017-04-03 Thread Jagan Teki
From: Jagan Teki Enable DM_I2C, DM_PMIC and DM_PMIC_PFUZE100 for dt supported sabresd config boards: - imx6q_sabresd_defconfig - imx6qp_sabresd_defconfig I2C Log: => i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 08: pfuze100@08, offset len 1, flags 0 Bus 2: i2c@021a8000 => i2c d

[U-Boot] [PATCH v2 13/29] ARM: dts: imx6qdl-sabresd: Add usb host node

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add usb host node for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabresd

[U-Boot] [PATCH v2 02/29] ARM: dts: i.MX6: Add imx6qdl-sabresd.dtsi

2017-04-03 Thread Jagan Teki
From: Jagan Teki Add common minimal dtsi file for i.MX6QDL Sabresd boards, - uart1 - usdhc2 - usdhc3 - usdhc4 Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- arch/arm/dts/imx6qdl-sabresd.dtsi | 111 ++ 1 file change

[U-Boot] [PATCH v2 01/29] ARM: i.MX6: sabresd: Fix README - s/of=/dev/sdbbs=1K/of=/dev/sdb bs=1K/

2017-04-03 Thread Jagan Teki
From: Jagan Teki Fix to give space on of and bs on dd command, on mx6sabresd README. Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Stefano Babic Signed-off-by: Jagan Teki --- board/freescale/mx6sabresd/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescal

[U-Boot] [PATCH v2 00/29] arm: i.MX6: SabreSD: Add dts support

2017-04-03 Thread Jagan Teki
From: Jagan Teki Compared to previous series, this series has full possible dts support for SabreSD DualLite, Quad and Quad Plus. The main intention of this series is to add the dts node step by step and remove the legacy code at the end and to make the full functional dts. Still, need to add D

Re: [U-Boot] [PATCH RESEND v6] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-03 Thread Marek Vasut
On 04/03/2017 03:09 PM, nicolas.le.ba...@st.com wrote: > From: Nicolas Le Bayon > > Instead of using a fixed-size array to store variable name, preferring a > dynamic allocation treats correctly all variable name lengths. > Variable names are growing through releases and features. By this way, na

Re: [U-Boot] [PATCH v2] sun8i_emac: configure PHY reset GPIO via DM

2017-04-03 Thread Jagan Teki
On Thu, Feb 23, 2017 at 12:16 AM, Philipp Tomsich wrote: > This ports the support for configuring a GPIO for resetting the > Ethernet PHY (incl. such details as the reset polarity and > pulse-length) from the Designware driver. > > X-AffectedPlatforms: A64-uQ7 > Signed-off-by: Philipp Tomsich Re

Re: [U-Boot] [PATCH v2] imx: i.mx6q: add the initial support for LogicPD i.MX6Q SOM

2017-04-03 Thread Adam Ford
On Mon, Apr 3, 2017 at 7:19 AM, Jagan Teki wrote: > + Stefano > > On Sun, Apr 2, 2017 at 12:05 AM, Adam Ford wrote: >> Logic PD has an i.MX6Q system on module (SOM) with a development kit. The >> SOM has a built-in microSD socket, DDR and NAND flash. The development kit >> has an SMSC Ethernet P

Re: [U-Boot] [PATCH v6 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-03 Thread Marek Vasut
On 04/03/2017 02:26 PM, Nicolas le bayon wrote: > 2017-04-03 13:34 GMT+02:00 Marek Vasut : > >> On 04/03/2017 11:50 AM, Lukasz Majewski wrote: >>> On Mon, 3 Apr 2017 11:28:44 +0200 >>> Nicolas le bayon wrote: >>> From: Nicolas Le Bayon Instead of using a fixed-size array to store

Re: [U-Boot] [PATCH v6 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-03 Thread Nicolas le bayon
2017-04-03 13:34 GMT+02:00 Marek Vasut : > On 04/03/2017 11:50 AM, Lukasz Majewski wrote: > > On Mon, 3 Apr 2017 11:28:44 +0200 > > Nicolas le bayon wrote: > > > >> From: Nicolas Le Bayon > >> > >> Instead of using a fixed-size array to store variable name, > >> preferring a dynamic allocation t

[U-Boot] Remove global variable env_t *env_ptr ?

2017-04-03 Thread Joakim Tjernlund
I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR as we need to replace out flash but we don't want to create a new u-boot binairy just for this simple change. While converting env_flash.c I noted the global variable env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; which cannot be ru

Re: [U-Boot] [PATCH v2] imx: i.mx6q: add the initial support for LogicPD i.MX6Q SOM

2017-04-03 Thread Jagan Teki
+ Stefano On Sun, Apr 2, 2017 at 12:05 AM, Adam Ford wrote: > Logic PD has an i.MX6Q system on module (SOM) with a development kit. The > SOM has a built-in microSD socket, DDR and NAND flash. The development kit > has an SMSC Ethernet PHY, serial debug port and a variety of peripherals. > This

Re: [U-Boot] [PATCH 09/10] sunxi: Enable PSCI on sun9i/A80

2017-04-03 Thread Chen-Yu Tsai
Hi, On Mon, Apr 3, 2017 at 8:13 PM, Jagan Teki wrote: > I this this series is already merged as with latest changes on tree, > but still shows 'New' in patchwork, Can someone confirm then I will > update the same? The series is on hold, as it breaks Linux. I've identified the culprit (non-secure

Re: [U-Boot] [PATCH 09/10] sunxi: Enable PSCI on sun9i/A80

2017-04-03 Thread Jagan Teki
I this this series is already merged as with latest changes on tree, but still shows 'New' in patchwork, Can someone confirm then I will update the same? On Wed, Nov 9, 2016 at 3:51 PM, Chen-Yu Tsai wrote: > Now that we have a basic version of PSCI firmware, enable non-secure > boot and PSCI on t

Re: [U-Boot] [PATCH v2 11/14] usb: dwc3: Add dwc3 support for STi

2017-04-03 Thread Patrice CHOTARD
Hi Simon On 04/01/2017 06:21 AM, Simon Glass wrote: > Hi Patrice, > > On 22 March 2017 at 03:54, wrote: >> From: Patrice Chotard >> >> This patch adds the ST glue logic to manage the DWC3 HC >> on STiH407 SoC family. It configures the internal glue >> logic and syscfg registers. >> >> Part of t

Re: [U-Boot] [PATCH v2 06/14] usb: ehci: Add STi ehci support

2017-04-03 Thread Patrice CHOTARD
Hi Simon On 04/01/2017 06:20 AM, Simon Glass wrote: > Hi Patrice, > > On 22 March 2017 at 03:54, wrote: >> From: Patrice Chotard >> >> Add support for on-chip ehci controller available >> on STMicrolectronics SoCs. >> ehci support will be then available on both type A >> USB 2.0 connectors. >>

Re: [U-Boot] [PATCH v6 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-03 Thread Marek Vasut
On 04/03/2017 11:50 AM, Lukasz Majewski wrote: > On Mon, 3 Apr 2017 11:28:44 +0200 > Nicolas le bayon wrote: > >> From: Nicolas Le Bayon >> >> Instead of using a fixed-size array to store variable name, >> preferring a dynamic allocation treats correctly all variable name >> lengths. Variable na

Re: [U-Boot] [PATCH 0/3] imx: bootaux elf firmware support

2017-04-03 Thread Lukasz Majewski
Hi Stefan, Thanks for your patch. Please allow me to share some ideas for improvements. > From: Stefan Agner > > This patchset enables to boot elf binaries on secondary Cortex-M > class cores available on i.MX 6SoloX/7Solo/7Dual. This makes > handling and loading firmwares much more convinient

[U-Boot] [PATCH 2/2][v4] armv8: ls2080aqds: Add support for SD boot

2017-04-03 Thread Santan Kumar
Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain Signed-off-by: Abhimanyu Saini --- Changes for v4: Rebased to latest codebase Incorporated York's comments to move CONFIG_SPL_MMC_SUPPORT to kconfig Depends on York MMU patches: http://patchwork.ozlabs.org/bundle/yorksun/Rewr

[U-Boot] [PATCH 1/2][v4] armv8: ls2080a: Reorganise NAND_BOOT code in config flag

2017-04-03 Thread Santan Kumar
Add CONFIG_NAND_BOOT config flag to organise NAND_BOOT specific code in config flag like -nand-boot specfic errata errata_rcw_src() -CONFIG_SYS_NAND_U_BOOT_DST,etc Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain Signed-off-by: Abhimanyu Saini --- Changes for v4: Rebased to latest code

Re: [U-Boot] [PATCH 0/6] trats2: remove the unused codes

2017-04-03 Thread Lukasz Majewski
Hi Jaehoon, > Trats2 didn't support the driver-model fully. > This patchset is a first step to support driver-model. > First, remove the unused codes and functions. > Second, enable the configuration relevant to pmic. Acked-by: Lukasz Majewski > > NOTE: In future, other legacy model will be co

Re: [U-Boot] [PATCH v3 05/19] SPL: FIT: allow loading multiple images

2017-04-03 Thread Lukasz Majewski
Hi Andre, > > > On 03/04/17 10:40, Lukasz Majewski wrote: > > Hi Andre , > > > >> So far we were not using the FIT image format to its full > >> potential: The SPL FIT loader was just loading the first image > >> from the /images node plus one of the listed DTBs. > >> Now with the refactored lo

Re: [U-Boot] [PATCH] libfdt: fix build with Python 3

2017-04-03 Thread Stefano Babic
Hi Stefan, On 29/03/2017 21:41, Stefan Agner wrote: > From: Stefan Agner > > For some reason Python 3 seems to think it does not need to build > the library. Using the --force parameter makes sure that the library > gets built always. This is especially important since we move the > library in t

Re: [U-Boot] [PATCH v3 05/19] SPL: FIT: allow loading multiple images

2017-04-03 Thread Dr. Philipp Tomsich
> On 03 Apr 2017, at 12:05, Andre Przywara wrote: > > On 03/04/17 10:40, Lukasz Majewski wrote: >> Hi Andre , >> >>> So far we were not using the FIT image format to its full potential: >>> The SPL FIT loader was just loading the first image from the /images >>> node plus one of the listed DTBs

[U-Boot] [PATCH 5/6] configs: trats2: enable the configuration relevant to PMIC

2017-04-03 Thread Jaehoon Chung
Enable CONFIG_DM_I2C, CONFIG_DM_PMIC_MAX77686 and CONFIG_SYS_I2C_S3C24X0. Signed-off-by: Jaehoon Chung --- configs/trats2_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig index 6c7b341..6f9bdb2 100644 --- a/configs/trats2_defcon

Re: [U-Boot] [PATCH v3 05/19] SPL: FIT: allow loading multiple images

2017-04-03 Thread Andre Przywara
On 03/04/17 10:40, Lukasz Majewski wrote: > Hi Andre , > >> So far we were not using the FIT image format to its full potential: >> The SPL FIT loader was just loading the first image from the /images >> node plus one of the listed DTBs. >> Now with the refactored loader code it's easy to load a

[U-Boot] [PATCH 4/6] board: samsung: trats2: remove the unused functions

2017-04-03 Thread Jaehoon Chung
Remove the unused functions. Never call the get_soft_i2c_scl/sda_pin() aynwhere. Signed-off-by: Jaehoon Chung --- board/samsung/trats2/trats2.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c index 2920619..3087

[U-Boot] [PATCH 2/6] board: samsung: trats2: remove the board_i2c_init() function

2017-04-03 Thread Jaehoon Chung
Remove the board_i2c_init() function. i2c should be initialized with device-tree file. Signed-off-by: Jaehoon Chung --- board/samsung/trats2/trats2.c | 29 - 1 file changed, 29 deletions(-) diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c in

[U-Boot] [PATCH 3/6] configs: trats2: enable CONFIG_DM_I2C_GPIO

2017-04-03 Thread Jaehoon Chung
Enable the CONFIG_DM_I2C_GPIO for using i2c-gpio. Signed-off-by: Jaehoon Chung --- configs/trats2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig index ab76aa3..6c7b341 100644 --- a/configs/trats2_defconfig +++ b/configs/trats2_de

[U-Boot] [PATCH 6/6] board: samsung: trats2: remove the board_power_init() function

2017-04-03 Thread Jaehoon Chung
Remove the board_power_init() function. It will be initialized with device-tree. In future, it will be controlled with regulator API. Signed-off-by: Jaehoon Chung --- board/samsung/trats2/trats2.c | 57 --- 1 file changed, 57 deletions(-) diff --git a/boa

[U-Boot] [PATCH 1/6] arm: dts: trats2: add the i2c-gpio nodes

2017-04-03 Thread Jaehoon Chung
Add the i2c-gpio nodes for fuelgauge and max77693. There are i2c8 and i2c9. Signed-off-by: Jaehoon Chung --- arch/arm/dts/exynos4412-trats2.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/exynos4412-trats2.dts b/arch/arm/dts/exynos4412-trats2.dts index 1

[U-Boot] [PATCH 0/6] trats2: remove the unused codes

2017-04-03 Thread Jaehoon Chung
Trats2 didn't support the driver-model fully. This patchset is a first step to support driver-model. First, remove the unused codes and functions. Second, enable the configuration relevant to pmic. NOTE: In future, other legacy model will be convert to driver-model. Jaehoon Chung (6): arm: dts:

Re: [U-Boot] [PATCH v6 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-03 Thread Lukasz Majewski
On Mon, 3 Apr 2017 11:28:44 +0200 Nicolas le bayon wrote: > From: Nicolas Le Bayon > > Instead of using a fixed-size array to store variable name, > preferring a dynamic allocation treats correctly all variable name > lengths. Variable names are growing through releases and features. By > this

Re: [U-Boot] [PATCH v3 05/19] SPL: FIT: allow loading multiple images

2017-04-03 Thread Lukasz Majewski
Hi Andre , > So far we were not using the FIT image format to its full potential: > The SPL FIT loader was just loading the first image from the /images > node plus one of the listed DTBs. > Now with the refactored loader code it's easy to load an arbitrary > number of images in addition to the tw

Re: [U-Boot] [PATCH 06/21] usb: ehci: Add STi ehci support

2017-04-03 Thread Patrice CHOTARD
Hi Simon On 04/01/2017 06:21 AM, Simon Glass wrote: > Hi Patrice, > > On 23 March 2017 at 03:59, Patrice CHOTARD wrote: >> Hi Simon >> >> On 03/22/2017 02:05 PM, Simon Glass wrote: >>> Hi, >>> >>> On 17 March 2017 at 10:25, wrote: From: Patrice Chotard Add support for on-chip eh

[U-Boot] [PATCH v6 1/1] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-03 Thread Nicolas le bayon
From: Nicolas Le Bayon Instead of using a fixed-size array to store variable name, preferring a dynamic allocation treats correctly all variable name lengths. Variable names are growing through releases and features. By this way, name clipping is prevented. Signed-off-by: Nicolas Le Bayon Revie

Re: [U-Boot] [PATCH 0/4] Switch odroid to use distro_bootcmd.

2017-04-03 Thread Lukasz Majewski
Hi Vagrant, > > Using distro_bootcmd standardizes board behavior across many > platforms. This is particularly useful for distributions supporting > multiple boards without requiring custom configuration for each board. > > There are a few changes needed to support distro_bootcmd, such as > fixi

Re: [U-Boot] [PATCH v4 0/3] arm: tegra: apalis-tk1 and ext clock loopback

2017-04-03 Thread Alexander Graf
On 04/01/2017 06:22 AM, Simon Glass wrote: Hi, On 24 March 2017 at 17:52, Marcel Ziswiler wrote: And if you really are size constrained with today's configuration, please enable thumb2, otherwise you will get bitten on random compiler updates down the road. Unfortunately the platforms I have

Re: [U-Boot] [PATCH 2/5] arm64: mvebu: a8k: Add support for NAND clock get

2017-04-03 Thread Stefan Roese
Hi Kosta, On 30.03.2017 17:46, Konstantin Porotchkin wrote: On 03/30/2017 04:15 PM, Stefan Roese wrote: On 28.03.2017 17:16, kos...@marvell.com wrote: From: Konstantin Porotchkin Implement mvebu_get_nand_clock call for A8K family. This function is used by PXA3XX NAND driver. Signed-off-by:

Re: [U-Boot] [PATCH v2] net: eth_common: Don't use %pM when USE_TINY_PRINTF is enabled

2017-04-03 Thread Vignesh R
Dear Wolfgang Denk, On Monday 03 April 2017 12:03 PM, Wolfgang Denk wrote: > Dear Vignesh, > > In message <20170403054659.32553-1-vigne...@ti.com> you wrote: >> Tiny printf doesn't support %pM, so when CONFIG_USE_TINY_PRINTF is >> enabled use %x to manually print MAC address. > ... > >> net/eth

Re: [U-Boot] [PATCH v3 16/19] sunxi: enable automatic FIT build for 64-bit SoCs

2017-04-03 Thread Maxime Ripard
On Fri, Mar 31, 2017 at 11:31:28PM +0100, Andre Przywara wrote: > The Allwinner SoCs with 64-bit cores use an ARM Trusted Firmware binary, > which needs to be loaded alongside U-Boot proper. > Set the respective Kconfig options to let them select this feature and > also automatically build the FIT

Re: [U-Boot] [PATCH] odroid: dts: change the buck8 min-microvolt value

2017-04-03 Thread Minkyu Kang
Hi 2017년 3월 30일 (목) 18:59, Jaehoon Chung 님이 작성: > Change the buck8's min-microvolt to 75. > Whent thor protocol is used, board_usb_init() should be tried to set to > 75. But it was returned -EINVAL, because '75' too lower than > 285. (thor command doesn't work fine because of this

Re: [U-Boot] [PATCH 0/6] trats: convert to driver model

2017-04-03 Thread Minkyu Kang
Hi 2017년 3월 30일 (목) 22:09, Lukasz Majewski 님이 작성: > Hi Jaehoon, > > > This patchset is for converting to driver model. > > This task is working in progress. > > Some codes should be remained to legacy mode, it will be converted in > > future. > > Acked-by: Lukasz Majewski > > > > > Jaehoon Chung

Re: [U-Boot] [PATCH v3 15/19] sunxi: defconfig: add supported DT list for Pine64 and OrangePi PC 2

2017-04-03 Thread Maxime Ripard
On Fri, Mar 31, 2017 at 11:31:27PM +0100, Andre Przywara wrote: > When a board uses a FIT image to load U-Boot proper, it requires a list > of supported device trees to be supplied, from which it chooses the > right one at runtime. > Add this list for the Pine64 and OrangePi PC2 board. > > Signed-

Re: [U-Boot] [PATCH v3 14/19] sunxi: 64-bit SoCs: introduce FIT generator script

2017-04-03 Thread Maxime Ripard
On Fri, Mar 31, 2017 at 11:31:26PM +0100, Andre Przywara wrote: > Now that the Makefile can call a generator script to build a more > advanced FIT image, let's use this feature to address the needs of > Allwinner boards with 64-bit SoCs (A64 and H5). > The (DTB stripped) U-Boot binary and the ATF a

  1   2   >