[U-Boot] [PATCH v2 0/8] Convert i.MX7 WaRP7 ports to DM

2019-01-09 Thread Bryan O'Donoghue
V2: - Add review-by as indicated - Peng Fan - Squash commit 4 and 5 from v1 - Peng Fan - Leave usdhc1 intact because of alias of mmc0 to usdhc3 - Bryan - Add correction for spelling mistake in imx7d-pinfunc.h - Lukas Auer - Imports imx7s-warp7.dts from kernel unmodified as a result of #1 - Bryan V

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190101

2019-01-09 Thread Stefano Babic
On 09/01/19 17:21, Tom Rini wrote: > On Wed, Jan 09, 2019 at 04:48:06PM +0100, Stefano Babic wrote: >> Hi Tom, >> >> On 02/01/19 02:02, Tom Rini wrote: >>> On Tue, Jan 01, 2019 at 02:51:53PM +0100, Stefano Babic wrote: >>> Hi Tom, I dropped for the moment the following patches from D

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190101

2019-01-09 Thread Tom Rini
On Wed, Jan 09, 2019 at 04:48:06PM +0100, Stefano Babic wrote: > Hi Tom, > > On 02/01/19 02:02, Tom Rini wrote: > > On Tue, Jan 01, 2019 at 02:51:53PM +0100, Stefano Babic wrote: > > > >> Hi Tom, > >> > >> I dropped for the moment the following patches from Denis: > >> > >> bootcount: i2c:

Re: [U-Boot] [PATCH v2] misc: fs_loader: Add support for initializing MMC

2019-01-09 Thread Simon Glass
Hi Tien Fong, On Sat, 29 Dec 2018 at 18:36, wrote: > > From: Tien Fong Chee > > Firmware loader would encounter problem if the MMC is accessed before > initializing it. This patch would adding the support of probing block > device and initializing MMC before the MMC is accessed by firmware loade

Re: [U-Boot] [PATCH 2/2] board: tbs2910: Remove FIT support in defconfig to reduce u-boot size

2019-01-09 Thread Stefano Babic
Hi Soeren, On 08/01/19 12:03, Soeren Moch wrote: > Hi Stefano, > > On 08.01.19 11:24, Stefano Babic wrote: >> Hi Soeren, >> >> On 08/01/19 11:14, Soeren Moch wrote: >>> Stefano, >>> >>> can you apply this for v2019.01? This is really a important fix to avoid >>> environment and u-boot binary ove

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Stefano Babic
On 09/01/19 16:42, Chris Spencer wrote: > Stefano, > > On Wed, 9 Jan 2019 at 15:14, Stefano Babic wrote: >>> https://patchwork.ozlabs.org/patch/1019908/ >> >> I have seen this patch to solve "bashism", I confess I had to think >> about what is it. "=" instead of "==" is quite unnatural for me, bu

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190101

2019-01-09 Thread Stefano Babic
Hi Tom, On 02/01/19 02:02, Tom Rini wrote: > On Tue, Jan 01, 2019 at 02:51:53PM +0100, Stefano Babic wrote: > >> Hi Tom, >> >> I dropped for the moment the following patches from Denis: >> >> bootcount: i2c: Add bus switching to the I2C bootcount driver >> bootcount: Configure length

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Chris Spencer
Stefano, On Wed, 9 Jan 2019 at 15:14, Stefano Babic wrote: > > https://patchwork.ozlabs.org/patch/1019908/ > > I have seen this patch to solve "bashism", I confess I had to think > about what is it. "=" instead of "==" is quite unnatural for me, but > yes, first thing I do on a new installed syst

Re: [U-Boot] [PATCH v1] tools: logos: crop Toradex logo slightly

2019-01-09 Thread Stefano Babic
Hi Stefan, Lukasz, On 04/01/19 16:05, Stefan Agner wrote: > Hi Stefano, > > On 14.12.2018 14:40, Stefano Babic wrote: >> On 14/12/18 14:30, Tom Rini wrote: >>> On Fri, Dec 14, 2018 at 02:26:22PM +0100, Stefan Agner wrote: On 14.12.2018 14:20, Tom Rini wrote: > On Fri, Dec 14, 2018 at 02:

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Stefano Babic
On 09/01/19 15:56, Chris Spencer wrote: > [CC'd the list this time..] > > On Wed, 9 Jan 2019 at 13:56, Stefano Babic wrote: >> Sorry, I was on holidays and afterwards I have to resume some work in >> office ;-) >> >> I am now looking for which patches should be merged in release and I >> will pic

Re: [U-Boot] [PATCH v2] usb: xhci-mem: Fix scratchpad array issue

2019-01-09 Thread Marek Vasut
On 1/9/19 8:05 AM, Bin Meng wrote: > On Tue, Jan 8, 2019 at 7:19 PM Marek Vasut wrote: >> >> On 1/8/19 7:34 AM, Bin Meng wrote: >>> On Tue, Jan 8, 2019 at 12:00 PM Ye Li wrote: On 1/7/2019 5:54 PM, Bin Meng wrote: > On Mon, Jan 7, 2019 at 10:45 AM Ye Li wrote: >> >> After u

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Chris Spencer
[CC'd the list this time..] On Wed, 9 Jan 2019 at 13:56, Stefano Babic wrote: > Sorry, I was on holidays and afterwards I have to resume some work in > office ;-) > > I am now looking for which patches should be merged in release and I > will pick them up. Hi Stefano, If I may make my own (self

[U-Boot] u-boot-fw-utils issue

2019-01-09 Thread Hardik Padhariya
Hello, We are trying to access uboot variables from our application running over Linux. We are using Yocto krogoth 2.1.1 for imx6ul evaluation kit "mx6ul_14x14_evk". We have built u-boot-fw-utils by adding "CORE_IMAGE_EXTRA_INSTALL += "u-boot-fw-utils" in the local.conf file. Issues:

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: 2019年1月9日 21:56 > To: Peng Fan ; sba...@denx.de > Cc: Fabio Estevam ; u-boot@lists.denx.de; > dl-uboot-imx > Subject: Re: [PATCH 0/5] imx8: several fixes > > Hi Peng, > > On 02/01/19 13:10, Peng Fan w

[U-Boot] [PATCH] mmc: sunxi: Fix mmc clocks for DM_MMC

2019-01-09 Thread Jagan Teki
Existing clock configure code has been followed based on the legacy MMC dt node definitions and it cannot work with recent dts(i) sync from Linux. So, add clock configure code for Allwinner platforms which support DM_MMC and eventually this will drop once CLK support is in Mainline. Fixes: 3c92cc

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Stefano Babic
Hi Peng, On 02/01/19 13:10, Peng Fan wrote: > Ping. > > Thanks, > Peng. > Sorry, I was on holidays and afterwards I have to resume some work in office ;-) I am now looking for which patches should be merged in release and I will pick them up. Regards, Stefano >> -Original Message- >>

Re: [U-Boot] [U-Boot, 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-09 Thread Tom Rini
On Wed, Jan 09, 2019 at 09:03:19AM +, André Przywara wrote: > On 09/01/2019 03:44, Tom Rini wrote: > > On Mon, Dec 17, 2018 at 10:05:45AM +, Andre Przywara wrote: > > > >> Commit d0851c893706 ("blk: Call part_init() in the post_probe() method") > >> removed the call to part_init() in mmc.c

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-09 Thread Simon Goldschmidt
Hi Alexey, On Wed, Jan 9, 2019 at 9:36 AM Alexey Brodkin wrote: > > Hi Simon, > > > -Original Message- > > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > > Sent: Tuesday, January 8, 2019 12:14 AM > > To: Marek Vasut > > Cc: Simon Goldschmidt ; Patrice Chotard > > ; >

Re: [U-Boot] [PATCH 5/8] warp7: defconfig: Switch on IMX7 pinctrl for both ports

2019-01-09 Thread Bryan O'Donoghue
On 08/01/2019 13:26, Peng Fan wrote: -Original Message- From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] Sent: 2019年1月3日 9:45 To: u-boot@lists.denx.de Cc: Fabio Estevam ; Peng Fan ; Bryan O'Donoghue ; Stefano Babic Subject: [PATCH 5/8] warp7: defconfig: Switch on IMX7 pi

Re: [U-Boot] [PATCH 3/8] arm: imx7s-warp: Convert to DM MMC initialization

2019-01-09 Thread Bryan O'Donoghue
On 08/01/2019 13:22, Peng Fan wrote: Hi Bryan, -Original Message- From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] Sent: 2019年1月3日 9:45 To: u-boot@lists.denx.de Cc: Fabio Estevam ; Peng Fan ; Bryan O'Donoghue ; Albert Aribaud ; Stefano Babic Subject: [PATCH 3/8] arm: imx7s-

[U-Boot] [PATCH] i2c: Reflect correct dependency for !DM cadence driver

2019-01-09 Thread Michal Simek
Setup proper DM_I2C dependency. Signed-off-by: Michal Simek --- drivers/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 1ef22e6bcde2..09079e02d2ca 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -453,6 +453,7 @@ confi

[U-Boot] [PATCH] i2c: mux: Covert to livetree functions

2019-01-09 Thread Michal Simek
Updates i2c muxes drivers to support livetree. Similar changes were done by: "net: zynq_gem: convert to use livetree" (sha1: 26026e695afa794ac018a09e79a48120d322b60d) Signed-off-by: Michal Simek --- drivers/i2c/muxes/i2c-mux-uclass.c | 4 +--- drivers/i2c/muxes/pca954x.c| 2 +- 2 files

Re: [U-Boot] Please pull from u-boot-i2c

2019-01-09 Thread Heiko Schocher
Hello Tom, Am 08.01.2019 um 15:33 schrieb Tom Rini: On Tue, Jan 08, 2019 at 12:33:06PM +0100, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c.git master The following changes since commit 53240275666acf32cb9811e44eaf2fd571a6cb75: Merge tag 'for-v2019.01' of git://git.denx.de/

Re: [U-Boot] [PATCH v3 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-09 Thread Gregory CLEMENT
Hi Horatiu, On mer., janv. 09 2019, Horatiu Vultur wrote: > Add device tree based on evaluation board pcb110. > > Signed-off-by: Horatiu Vultur > --- > MAINTAINERS | 1 + > arch/mips/dts/jr2_pcb110.dts | 74 + > arch/mips/dts/mscc,jr2.dtsi | 187 > ++

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-09 Thread Vignesh R
On 22/12/18 1:13 PM, Simon Goldschmidt wrote: > Am 21.12.2018 um 14:29 schrieb Simon Goldschmidt: >> Am 21.12.2018 um 12:11 schrieb Vignesh R: >>> Hi Simon, >>> [...] Hi Vignesh, I just did a quick test on this but it fails to boot. I guess this could be a size problem. >

Re: [U-Boot] [RFC PATCH] bitops: Fix GENMASK definition for Sandbox

2019-01-09 Thread Vignesh R
On 17/12/18 7:02 PM, Vignesh R wrote: > In arch/sandbox/include/asm/types.h we have > Therefore for 32 bit Sandbox build BITS_PER_LONG turns out to be 32 as > CONFIG_PHYS64 is not set > > This messes up the current logic of GENMASK macro due to mismatch b/w > size of unsigned long (64 bit) and t

Re: [U-Boot] [PATCH v2 3/3] efi_loader: remove block device details from efi file

2019-01-09 Thread Alexander Graf
On 15.11.18 05:58, AKASHI Takahiro wrote: > Logically, details on u-boot block device used to implement efi file > protocol are mostly unnecessary, as well as being duplicated, in > efi_file structure. > Moreover, a newly introduced flag, _EFI_DISK_FLAG_INVALID, should be > honored in any file op

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-09 Thread Alexander Graf
On 13.12.18 08:58, AKASHI Takahiro wrote: > Heinrich, > > On Tue, Dec 11, 2018 at 08:55:41PM +0100, Heinrich Schuchardt wrote: >> On 11/15/18 5:58 AM, AKASHI Takahiro wrote: >>> Currently, efi_init_obj_list() scan disk devices only once, and never >>> change a list of efi disk devices. This will

Re: [U-Boot] [U-Boot, 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-09 Thread André Przywara
On 09/01/2019 03:44, Tom Rini wrote: > On Mon, Dec 17, 2018 at 10:05:45AM +, Andre Przywara wrote: > >> Commit d0851c893706 ("blk: Call part_init() in the post_probe() method") >> removed the call to part_init() in mmc.c, as this is done by the DM_MMC >> framework. >> However Allwinner is (sti

[U-Boot] [PATCH v3 7/7] MSCC: Add sysreset driver for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Create sysreset driver for Jaguar2 SOC family and update defconfig to use it. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + board/mscc/jr2/jr2.c| 8 +++ configs/mscc_jr2_defconfig | 2 ++ drivers/sysreset/Kconfig| 6 ++ drivers/sysr

[U-Boot] [PATCH v3 5/7] MSCC: add device tree for Serval2 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts dif

[U-Boot] [PATCH v3 6/7] MSCC: Add board support for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++ board/mscc/com

[U-Boot] [PATCH v3 4/7] MSCC: Add device tree for Jaguar2-48 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts b/arch/

[U-Boot] [PATCH v3 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions(+) crea

[U-Boot] [PATCH v3 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v3 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 + drivers/pinct

[U-Boot] [PATCH v3 0/7] MSCC: Add Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
This patch series add support for MSCC Jaguar2 SOC family. In this family there are the following boards: Jagaur2(pcb110), Jaguar2-48(pcb111) and Serval2(pcb112). This is based off the u-boot-mips/next repository This version address comments from Daniel Schwierzeck v3-changes: - remove any ta

Re: [U-Boot] [PATCH 1/5] efi_loader: LoadImage: always allocate new pages

2019-01-09 Thread Alexander Graf
On 09.01.19 09:35, Heinrich Schuchardt wrote: > > > On 1/8/19 2:05 PM, Alexander Graf wrote: >> >> >> On 28.12.18 12:41, Heinrich Schuchardt wrote: >>> If we want to properly unload images in Exit() the memory should always be >>> allocated in the same way. As we allocate memory when reading fr

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-09 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Tuesday, January 8, 2019 12:14 AM > To: Marek Vasut > Cc: Simon Goldschmidt ; Patrice Chotard > ; > Simon Glass ; Anup Patel ; Lokesh > Vutla ; > Alexey Brodkin ; Patrick Delaunay

Re: [U-Boot] [PATCH 1/5] efi_loader: LoadImage: always allocate new pages

2019-01-09 Thread Heinrich Schuchardt
On 1/8/19 2:05 PM, Alexander Graf wrote: > > > On 28.12.18 12:41, Heinrich Schuchardt wrote: >> If we want to properly unload images in Exit() the memory should always be >> allocated in the same way. As we allocate memory when reading from file we >> should do the same when the original image

[U-Boot] [PATCH] serial: Get rid of CONFIG_DW_SERIAL

2019-01-09 Thread Alexey Brodkin
CONFIG_DW_SERIAL is no longer used anywhere so let's forget about it. Signed-off-by: Alexey Brodkin Cc: Tom Rini Cc: Adam Ford Cc: Mario Six Cc: Tuomas Tynkkynen Cc: Alex Kiernan Cc: Simon Glass Cc: "Jörg Krause" Cc: Stephen Warren --- include/configs/axs10x.h | 1 - include/configs/

Re: [U-Boot] [PATCH v2 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Hi Daniel, First, thank you for all the feedback. I have created a new patch series that will fix the issue that you addressed bellow but the fix it would not use compatible string, because that presume that I need to change the other pinctrl-drivers(ocelot, luton). I was thinking if it is OK the

<    1   2