Re: [U-Boot] [PATCH 1/1] efi_loader: re-enable GRUB workaround on 32bit ARM

2019-08-19 Thread Heinrich Schuchardt
On 8/19/19 9:20 PM, Tom Rini wrote: On Sun, Jul 28, 2019 at 10:13:24AM +0200, Heinrich Schuchardt wrote: On 7/27/19 11:58 AM, Alexander Graf wrote: On 27.07.19 10:02, Heinrich Schuchardt wrote: GRUB on ARM 32bit prior to version 2.04 lacks proper handling of caches. In U-Boot v2019.04 a worka

Re: [U-Boot] [PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

2019-08-19 Thread Keerthy
On 19/08/19 3:54 PM, Eugeniu Rosca wrote: Hi Keerthy, On Wed, Aug 14, 2019 at 03:56:48PM +0530, Keerthy wrote: Currently the size parameter is defined as u64 type. Correct the size type of of_get_address to fdt_size_t so that both 64 bit and 32 bit architectures are taken care of. The initia

[U-Boot] [PATCH 3/3] rockchip: rk3399: defconfig: remove SPL raw image support

2019-08-19 Thread Kever Yang
RK3399 SPL only support FIT image for ATF bl31. Signed-off-by: Kever Yang --- configs/chromebook_bob_defconfig | 1 + configs/evb-rk3399_defconfig | 1 + configs/ficus-rk3399_defconfig | 1 + configs/firefly-rk3399_defconfig | 1 + configs/k

[U-Boot] [PATCH 2/3] rockchip: rk3368: defconfig: remove SPL raw image support

2019-08-19 Thread Kever Yang
RK3368 SPL only support FIT image for ATF bl31. Signed-off-by: Kever Yang --- configs/evb-px5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-px5_defconfig b/configs/evb-px5_defconfig index 46a42a7df6..5a06b2a99f 100644 --- a/configs/evb-px5_defconfig +++ b/configs/evb

[U-Boot] [PATCH 1/3] rockchip: rk3328: defconfig: remove SPL raw image support

2019-08-19 Thread Kever Yang
RK3328 SPL only support FIT image for ATF bl31. Signed-off-by: Kever Yang --- configs/evb-rk3328_defconfig| 1 + configs/rock64-rk3328_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 2868f0f133..37610774c1 100

Re: [U-Boot] [PATCH 04/10] x86: Move fsp_api.h inclusion out of fsp_support.h

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This header file is different for each version of FSP. Move it into the > fsp_arch.h header file. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/fsp1/fsp_support.h | 1 - > arch/x86/include/asm/fsp_arch.h | 1 + > 2 fi

Re: [U-Boot] [PATCH 08/10] x86: Move fsp_infoheader.h to the generic fsp directory

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This header file is the same for FSP v1 and v2. Move it into the general > fsp directory. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/fsp1/fsp_support.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by

Re: [U-Boot] [PATCH 07/10] x86: Move fsp_hob.h to the generic fsp directory

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This header file is the same for FSP v1 and v2. Move it into the general > fsp directory. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/{fsp1 => fsp}/fsp_hob.h| 0 > arch/x86/include/asm/{fsp1 => fsp}/fsp_infoheader.h

Re: [U-Boot] [PATCH 10/10] x86: Move fsp_ffs.h include to fsp_arch.h

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This include file is only used for FSP v1. Avoid including it from > fdt_support.h so we can use the latter with FSP v2. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/fsp_arch.h | 1 + > 1 file changed, 1 insertion(+) > Revi

Re: [U-Boot] [PATCH 03/10] x86: Create a new fsp_arch.h header

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > At present fsp_support.h includes fsp_vpd.h which is an FPSv1 concept > (VPD means Vital Product Data). For FSPv2 only UPD (Updatable Product > Data) is used. > > To avoid mangling header files, put these two includes in a separate > header wh

Re: [U-Boot] [PATCH 05/10] x86: Move fsp_types.h to the generic fsp directory

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This header file is the same for FSP v1 and v2. Move it into the general > fsp directory. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/{fsp1 => fsp}/fsp_types.h | 0 > arch/x86/include/asm/fsp1/fsp_support.h| 2 +- >

Re: [U-Boot] [PATCH 06/10] x86: Move fsp_fv.h to the generic fsp directory

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This header file is the same for FSP v1 and v2. Move it into the general > fsp directory. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/{fsp1 => fsp}/fsp_fv.h | 0 > arch/x86/include/asm/fsp1/fsp_support.h | 2 +- > 2 fil

Re: [U-Boot] [PATCH 09/10] x86: Move fsp_bootmode.h to the generic fsp directory

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This header file is the same for FSP v1 and v2, although there may be > some additions to come. Move it into the generic fsp directory. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/{fsp1 => fsp}/fsp_bootmode.h | 0 > arch/x8

Re: [U-Boot] [PATCH 02/10] x86: fsp: Move fsp_azalia include out of fsp_support.h

2019-08-19 Thread Bin Meng
Hi Simon, On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > This file is only used by one board and we don't need the types for most Two boards based on the changes in the commit. > FSP files so it is wasteful to include it so widely. Drop it from this > header. > But it does no harm to i

Re: [U-Boot] [PATCH 01/10] x86: Rename existing FSP code to fsp1

2019-08-19 Thread Bin Meng
Hi Simon, On Mon, Aug 19, 2019 at 6:51 AM Simon Glass wrote: > > Since there is now a new version of the FSP and it is incompatible with > the existing version, move the code into an fsp1 directory. This will > allow us to put FSP v2 code into an fsp2 directory. > > Add a Kconfig which defines wh

Re: [U-Boot] [PATCH 2/2] libavb: Fix build warnings after updating the lib

2019-08-19 Thread Bowgo Tsai
Hi, Just to re: > taking into account the amount of time needed (sometimes it can take months, or even years, Sam has good stories about that) to get something applied to AOSP This probably needs to be discussed case by case, as there are ~750 project

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-19 Thread Kever Yang
Hi Stephen, On 2019/8/20 上午1:34, Stephen Warren wrote: On 8/18/19 7:01 PM, Kever Yang wrote: Hi Simon, Stephen, Could you help to comment on my other mail, which patch cause this failure. If you run "git bisect", you should be able to track down which patch introduced the problem.

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze【请注意,邮件由lists.intric...@gmail.com代发】

2019-08-19 Thread Kever Yang
Hi Kurt, Does this patch fix your issue? https://patchwork.ozlabs.org/patch/1147457/ Thanks, - Kever On 2019/8/20 上午7:32, Kurt Miller wrote: Hi Jagan, On Mon, 2019-08-19 at 23:26 +0530, Jagan Teki wrote: Is your board running at 50MHz? (look like No). No it is running at 800Mhz or 856MH

[U-Boot] [PATCH 3/3] arm: socfpga: Convert clock manager from struct to defines

2019-08-19 Thread Ley Foon Tan
Convert clock manager for Gen5, Arria 10 and Stratix 10 from struct to defines. No functional change. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/clock_manager.c | 12 +- arch/arm/mach-socfpga/clock_manager_arria10.c | 217 + arch/arm/mach-socfpga/clock_manager

[U-Boot] [PATCH 2/3] arm: socfpga: Convert system manager from struct to defines

2019-08-19 Thread Ley Foon Tan
Convert system manager for Gen5, Arria 10 and Stratix 10 from struct to defines. No functional change. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/clock_manager_s10.c | 4 +- .../include/mach/system_manager.h | 15 ++ .../include/mach/system_manager_arria10.h |

[U-Boot] [PATCH 1/3] arm: socfpga: Convert reset manager from struct to defines

2019-08-19 Thread Ley Foon Tan
Convert reset manager for Gen5, Arria 10 and Stratix 10 from struct to defines. No functional change. Signed-off-by: Ley Foon Tan --- .../mach-socfpga/include/mach/reset_manager.h | 12 + .../include/mach/reset_manager_arria10.h | 41 +++- .../include/mach/reset_manager_gen5

[U-Boot] [PATCH 0/3] arm: socfpga: Convert drivers from struct to defines

2019-08-19 Thread Ley Foon Tan
Convert reset, system and clock manager drivers to use #define instead of struct. No functional change. Ley Foon Tan (3): arm: socfpga: Convert reset manager from struct to defines arm: socfpga: Convert system manager from struct to defines arm: socfpga: Convert clock manager from struct to

Re: [U-Boot] [PATCH] sunxi: H6: DRAM: Add support for half DQ

2019-08-19 Thread Jernej Škrabec
+CC: Thomas Dne četrtek, 18. julij 2019 ob 00:16:17 CEST je Jernej Skrabec napisal(a): > Half DQ configuration seems to be very rare for H6 based boards/STBs, > but exists nevertheless. Currently the only known product which needs > this support is Tanix TX6 mini. > > This commit adds support for

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Kurt Miller
Hi Jagan, On Mon, 2019-08-19 at 23:26 +0530, Jagan Teki wrote: > Is your board running at 50MHz? (look like No). No it is running at 800Mhz or 856MHz (see rkbin TPL output below). > As I said please > explore step-by-step > 00: First boot the board rkbin => SPL => U-Boot proper This step was co

Re: [U-Boot] [PATCH 1/1] efi_loader: re-enable GRUB workaround on 32bit ARM

2019-08-19 Thread Tom Rini
On Sun, Jul 28, 2019 at 10:13:24AM +0200, Heinrich Schuchardt wrote: > On 7/27/19 11:58 AM, Alexander Graf wrote: > > > > On 27.07.19 10:02, Heinrich Schuchardt wrote: > >> GRUB on ARM 32bit prior to version 2.04 lacks proper handling of caches. > >> In U-Boot v2019.04 a workaround for this was ina

Re: [U-Boot] Pull request: u-boot-rockchip-20190819

2019-08-19 Thread Tom Rini
84f397: > > Merge tag 'efi-2019-10-rc3' of > https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2019-08-17 10:31:25 > -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-ro

Re: [U-Boot] Please pull u-boot-x86

2019-08-19 Thread Tom Rini
On Mon, Aug 19, 2019 at 09:07:00AM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following changes in x86: > - QEMU build warning fix when CONFIG_DISTRO_DEFAULTS=n > - Small fixes on x86 reST docs > - Allow CBFS to be used in SPL > - Remove x86 specific GD flags > > The following cha

[U-Boot] [PATCH] doc: add full path to patman README

2019-08-19 Thread Ralph Siemsen
Make it a little easier to find the documentation. Signed-off-by: Ralph Siemsen --- doc/driver-model/spi-howto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/driver-model/spi-howto.rst b/doc/driver-model/spi-howto.rst index a538fdcb93..5540eb7d38 100644 --- a/doc/dr

[U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

2019-08-19 Thread Ralph Siemsen
The same compatible = "altr,socfpga-stmmac" appears in both drivers/net/designware.c and drivers/net/dwmac_socfgpa.c, creating ambiguity in which driver will be bound. For Intel/Altera SoC devices, dwmac_socfpga.c is the correct driver. So drop the compatible string from designware.c. Signed-off-

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Kurt Miller
On Mon, 2019-08-19 at 22:08 +0530, Jagan Teki wrote: > On Mon, Aug 19, 2019 at 7:33 PM Kurt Miller > wrote: > > > > > > On Mon, 2019-08-19 at 15:31 +0200, Mark Kettenis wrote: > > > > > > > > > > > > > > > From: Jagan Teki > > > > Date: Mon, 19 Aug 2019 00:21:40 +0530 > > > > > > > > + Kev

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Jagan Teki
On Mon, Aug 19, 2019 at 10:37 PM Kurt Miller wrote: > > On Mon, 2019-08-19 at 22:11 +0530, Jagan Teki wrote: > > On Mon, Aug 19, 2019 at 8:42 PM Kurt Miller > > wrote: > > > > > > > > > Hi Michael, > > > > > > On Mon, 2019-08-19 at 16:06 +0200, Michael Nazzareno Trimarchi wrote: > > > > > > > >

Re: [U-Boot] Travis test/py sandbox_spl test fail

2019-08-19 Thread Stephen Warren
On 8/18/19 7:01 PM, Kever Yang wrote: Hi Simon, Stephen,     Could you help to comment on my other mail, which patch cause this failure. If you run "git bisect", you should be able to track down which patch introduced the problem. Thanks, - Kever On 2019/8/14 下午11:49, Stephen Warren

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Kurt Miller
On Mon, 2019-08-19 at 22:11 +0530, Jagan Teki wrote: > On Mon, Aug 19, 2019 at 8:42 PM Kurt Miller > wrote: > > > > > > Hi Michael, > > > > On Mon, 2019-08-19 at 16:06 +0200, Michael Nazzareno Trimarchi wrote: > > > > > > It's possible to dump the register after training in mainline uboot? >

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Jagan Teki
On Mon, Aug 19, 2019 at 8:42 PM Kurt Miller wrote: > > Hi Michael, > > On Mon, 2019-08-19 at 16:06 +0200, Michael Nazzareno Trimarchi wrote: > > It's possible to dump the register after training in mainline uboot? > > I'm working on getting master to build now. How would I > go about dumping the r

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Jagan Teki
On Mon, Aug 19, 2019 at 7:33 PM Kurt Miller wrote: > > On Mon, 2019-08-19 at 15:31 +0200, Mark Kettenis wrote: > > > > > > From: Jagan Teki > > > Date: Mon, 19 Aug 2019 00:21:40 +0530 > > > > > > + Kever > > > > > > On Sun, Aug 18, 2019 at 1:21 AM Kurt Miller > > > wrote: > > > > > > > > > > >

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Jagan Teki
On Mon, Aug 19, 2019 at 7:01 PM Mark Kettenis wrote: > > > From: Jagan Teki > > Date: Mon, 19 Aug 2019 00:21:40 +0530 > > > > + Kever > > > > On Sun, Aug 18, 2019 at 1:21 AM Kurt Miller > > wrote: > > > > > > Hello, > > > > > > The Rockpro64_V2.1 2018-07-02 using master code base freezes > > >

Re: [U-Boot] [PATCH 2/2] libavb: Fix build warnings after updating the lib

2019-08-19 Thread Tom Rini
On Mon, Aug 19, 2019 at 10:28:41AM +0200, Eugeniu Rosca wrote: > Hi all, > > On Fri, Aug 16, 2019 at 11:46:03AM -0400, David Zeuthen wrote: > >Hi, > >As for upstreaming libavb patches, I'd be interested in landing them > >upstream... makes it easier for anyone. > >Our upstream is A

Re: [U-Boot] [PATCH 4/4] rockchip: dts: rk3328-rock64: fix usb power supply

2019-08-19 Thread Matwey V. Kornilov
чт, 15 авг. 2019 г. в 11:14, Kever Yang : > > According to rock64 schemetic, both VCC_HOST1_5V and VCC_HOST_5V are > controlled by USB20_HOST_DRV(GPIO0A2), fix it so that we can get correct > power supply for USB HOST ports. > > Signed-off-by: Kever Yang Tested-by: Matwey V. Kornilov > --- > >

Re: [U-Boot] [PATCH 3/4] rockchip: rk3328: migrate u-boot node to -u-boot.dtsi

2019-08-19 Thread Matwey V. Kornilov
чт, 15 авг. 2019 г. в 11:14, Kever Yang : > > Move all the nodes only shown in u-boot to -u-boot.dtsi to make > rk3328.dtsi clean. > > Signed-off-by: Kever Yang Tested-by: Matwey V. Kornilov > --- > > arch/arm/dts/rk3328-evb-u-boot.dtsi| 31 +++--- > arch/arm/dts/rk3328-evb.dts

[U-Boot] [PATCH] board: fsl: lx2160aqds: fix 'compatible' property

2019-08-19 Thread Florin Chiculita
The code that generates the compatible property concatenates the ethernet phy id and clause-compatible information without separating them with a comma, therefore no ethernet phy driver will be loaded by Linux kernel. Signed-off-by: Florin Chiculita --- board/freescale/lx2160a/eth_lx2160aqds.c |

Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3328-rock64: enable usb3 xhci controller

2019-08-19 Thread Matwey V. Kornilov
чт, 15 авг. 2019 г. в 11:14, Kever Yang : > > Rock64 has a USB3.0 port, enable the controller so that we can use it. > > Signed-off-by: Kever Yang Tested-by: Matwey V. Kornilov > --- > > arch/arm/dts/rk3328-rock64-u-boot.dtsi | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/ar

Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3328-rock64: enable usb3 xhci controller

2019-08-19 Thread Matwey V. Kornilov
пн, 19 авг. 2019 г. в 03:35, Kever Yang : > > Hi Matwey, > > On 2019/8/17 下午10:15, Matwey V. Kornilov wrote: > > Hi Kever, > > > > I've just tested the series on my Rock64 and I see the following > > issue. An USB pen-drive is not discovered by `usb start' when attached > > to the USB3 (blue) port.

Re: [U-Boot] [PATCH] test/py: Add cmd_memory dependency back to test_mmc_wr

2019-08-19 Thread Stephen Warren
On 8/19/19 3:06 AM, Michal Simek wrote: Based on discussion with Stephen Warren there was recommendation to list both memory and random command dependencies just in case that dependency is not properly handled by Kconfig. Acked-by: Stephen Warren ___

Re: [U-Boot] [PATCH v2 2/3] spl: mmc: Add option to set eMMC HW boot partition

2019-08-19 Thread Andreas Dannenberg
On Mon, Aug 19, 2019 at 09:42:09AM +0200, Lukasz Majewski wrote: > From: Mans Rullgard > > This change allows setting pre-defined eMMC boot partition for SPL eMMC > booting. It is necessary in the case when one wants to boot (through falcon > boot) from eMMC after loading SPL from other memory (l

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Kurt Miller
Hi Michael, On Mon, 2019-08-19 at 16:06 +0200, Michael Nazzareno Trimarchi wrote: > It's possible to dump the register after training in mainline uboot? I'm working on getting master to build now. How would I go about dumping the register after training? Regards, -Kurt __

Re: [U-Boot] [PATCH 1/1] easylogo: avoid buffer overrun

2019-08-19 Thread Tom Rini
On Fri, Aug 16, 2019 at 12:11:57AM +0200, Heinrich Schuchardt wrote: > On 8/15/19 11:54 PM, Heinrich Schuchardt wrote: > >Building easylogo with `HOST_TOOLS_ALL=y make tools` results in a build > >warning due to a possible buffer overrun: > > > >tools/easylogo/easylogo.c:453:4: note: ‘sprintf’ outp

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Michael Nazzareno Trimarchi
Hi Kurt On Mon, Aug 19, 2019 at 4:04 PM Kurt Miller wrote: > > On Mon, 2019-08-19 at 15:31 +0200, Mark Kettenis wrote: > > > > > > From: Jagan Teki > > > Date: Mon, 19 Aug 2019 00:21:40 +0530 > > > > > > + Kever > > > > > > On Sun, Aug 18, 2019 at 1:21 AM Kurt Miller > > > wrote: > > > > > > >

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Kurt Miller
On Mon, 2019-08-19 at 15:31 +0200, Mark Kettenis wrote: > > > > From: Jagan Teki > > Date: Mon, 19 Aug 2019 00:21:40 +0530 > > > > + Kever > > > > On Sun, Aug 18, 2019 at 1:21 AM Kurt Miller > > wrote: > > > > > > > > > Hello, > > > > > > The Rockpro64_V2.1 2018-07-02 using master code bas

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-19 Thread Oliver Graute
On 16/08/19, Oliver Graute wrote: > I'am currently working on the following patch to get the imx8qm-rom7720-a1 > board working with recent u-boot v2019.07. Unfortunaly I get no output on my > serial line. > > I'am not sure if something in my patch is just missing or if my composition of > "SCFW +

Re: [U-Boot] imx: add i.MX8MQ EVK support

2019-08-19 Thread Jacky Bai
> Sent: Monday, August 19, 2019 2:25 PM > To: Troy Kisky ; Fabio Estevam > ; Stefano Babic ; > u-boot@lists.denx.de; Jacky Bai > Subject: RE: imx: add i.MX8MQ EVK support > > Loop Jacky who has more knowledge in the ddr stuff. > > > Subject: re: imx: add i.MX8MQ EVK support > > > > Hi Peng > > >

[U-Boot] [PATCH v4 1/4] USB: gadget: Add the cadence USB3 gadget driver

2019-08-19 Thread Sherry Sun
This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and some changes have also been made to adapt to U-Boot. Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode). The CDNS3 gadget driver support DM mode. CONFIG_DM_USB_GADGET should be enabled when use this driver. Signed

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-19 Thread Oliver Graute
On 19/08/19, Peng Fan wrote: > > Subject: Re: [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot > > > > On 16/08/19, Marcel Ziswiler wrote: > > > Hi Oliver > > > > > > On Fri, 2019-08-16 at 12:43 +, Oliver Graute wrote: > > > > I'am currently working on the following patch to get the imx8qm- >

Re: [U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-19 Thread Mark Kettenis
> From: Jagan Teki > Date: Mon, 19 Aug 2019 00:21:40 +0530 > > + Kever > > On Sun, Aug 18, 2019 at 1:21 AM Kurt Miller > wrote: > > > > Hello, > > > > The Rockpro64_V2.1 2018-07-02 using master code base freezes > > with only the following output: > > > > U-Boot TPL 2019.10-rc2-1-gdf33f864

Re: [U-Boot] [PATCH V2] ARM: dts: imx6q-logicpd: Add missing imx6q-logicpd-u-boot for SPL

2019-08-19 Thread Adam Ford
On Wed, Aug 7, 2019 at 10:16 AM Adam Ford wrote: > > The SPL device tree is missing the entires for gpio1, uart1, usdhc1 and > usdhc2. This creates the missing imx6q-logicpd-u-boot.dtsi file > which will enable these functions so SPL can properly setup UART, detect > microSD card, and startup. >

Re: [U-Boot] Question about GPL v3 font

2019-08-19 Thread Tom Rini
On Mon, Aug 19, 2019 at 01:34:06PM +0900, Masahiro Yamada wrote: > On Fri, Aug 16, 2019 at 2:13 AM Tom Rini wrote: > > > > On Tue, Aug 13, 2019 at 03:34:20AM -0600, Simon Glass wrote: > > > Hi, > > > > > > On Fri, 26 Jul 2019 at 11:07, Tom Rini wrote: > > > > > > > > On Fri, Jul 26, 2019 at 06:42

Re: [U-Boot] [PATCH V2 0/7] ARM: imx: Update Novena to DM/DT

2019-08-19 Thread Marek Vasut
On 6/4/19 9:06 AM, Vagrant Cascadian wrote: > On 2019-05-17, Marek Vasut wrote: >> Update Kosagi Novena to DM / DT and remove the warnings. >> This depends on the following patches / series: >> >> https://patchwork.ozlabs.org/patch/1095618/ >> https://patchwork.ozlabs.org/patch/1101171/ > > Th

Re: [U-Boot] [PATCH v0] rockchip: rk3399: Add ROC-RK3399-PC support【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-08-19 Thread Kever Yang
On 2019/8/12 下午12:31, Kever Yang wrote: Hi Levin, On 2019/7/26 下午3:43, d...@t-chip.com.cn wrote: From: Levin Du Add initial support for ROC-RK3399-PC board. Specification - Rockchip RK3399 - LPDDR4 4GiB - eMMC slot - SD card slot - RTL8211E 1Gbps - HDMI Out, DP, MIPI DSI/CSI, EDP - PCIe M.2

Re: [U-Boot] [PATCH] core: ofnode: do not assert if node not valid in ofnode_get_name()【请注意,邮件由s...@google.com代发】

2019-08-19 Thread Kever Yang
On 2019/7/25 上午3:48, Simon Glass wrote: On Thu, 18 Jul 2019 at 20:24, Kever Yang wrote: In some case with LIVE DT, some node always not valid, or not have a valid name, eg. blk driver add by mmc. Return fail instead of Assert for this kind of ofnode, and this help with assert happen from time

[U-Boot] Pull request: u-boot-rockchip-20190819

2019-08-19 Thread Kever Yang
0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20190819 for you to fetch changes up to b8050511c6ee4ab60ef4248dff42aff187696249: sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass (2019-08-1

Re: [U-Boot] [PATCH 0/4] Make some changes to SDP

2019-08-19 Thread Sherry Sun
Hi Angus, I have just finished the SDP test on imx8mq_evk and the SDP can work with some board configs. I guess it may be two problems that lead your SDP can't work on imx8mq_evk. You can add the follow two changes and test it again. The first change: --- a/drivers/usb/gadget/epautoconf.c +++ b

Re: [U-Boot] [PATCH v4 2/4] USB: host: Add the USB3 host driver

2019-08-19 Thread Marek Vasut
On 8/19/19 8:10 AM, Sherry Sun wrote: > Add the USB3 host driver for NXP imx8 platform, and the > cadence IP is in it. The USB3 host driver support DM > mode, it will probe USB3 host node in dts. > > Signed-off-by: Sherry Sun [...] > +static void xhci_imx8_get_reg_addr(struct udevice *dev) > +{

Re: [U-Boot] [PATCH v4 1/4] USB: gadget: Add the cadence USB3 gadget driver

2019-08-19 Thread Marek Vasut
On 8/19/19 8:10 AM, Sherry Sun wrote: > This driver is ported from NXP i.MX U-Boot version imx_v2019.04 > and some changes have also been made to adapt to U-Boot. > > Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode). > The CDNS3 gadget driver support DM mode. CONFIG_DM_USB_GADGET

Re: [U-Boot] [PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

2019-08-19 Thread Eugeniu Rosca
Hi Keerthy, On Wed, Aug 14, 2019 at 03:56:48PM +0530, Keerthy wrote: > Currently the size parameter is defined as u64 type. > Correct the size type of of_get_address to fdt_size_t > so that both 64 bit and 32 bit architectures are taken > care of. > > The initial bug report: > https://patchwork.o

[U-Boot] [PATCH v2 23/26] imx8m: soc: probe clock device in arch_cpu_init_dm

2019-08-19 Thread Peng Fan
Because we need to get cpu freq in print_cpuinfo at very early stage, so we need to make sure the ccm be probed. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8

[U-Boot] [PATCH v2 17/26] imx8m: soc: enable SCTR clock before timer init

2019-08-19 Thread Peng Fan
To i.MX8MM SCTR clock is disabled by ROM, so before timer init need to enable it. To i.MX8MQ, it does not hurt the clock is enabled again. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/

[U-Boot] [PATCH v2 10/26] imx8m: update imx-regs for i.MX8MM

2019-08-19 Thread Peng Fan
i.MX8MM has similar architecture with i.MX8MQ, but it has totally different PLL design and register layout change. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 69 +++--- 1 file changed, 64 insertions(+), 5 deletions(-) diff --git a/arch/arm/i

Re: [U-Boot] [PATCH 2/2] libavb: Fix build warnings after updating the lib

2019-08-19 Thread Igor Opaniuk
On Mon, Aug 19, 2019 at 12:40 PM Igor Opaniuk wrote: > > Hi Eugeniu, > > On Mon, Aug 19, 2019 at 11:28 AM Eugeniu Rosca wrote: > > > > Hi all, > > > > On Fri, Aug 16, 2019 at 11:46:03AM -0400, David Zeuthen wrote: > > >Hi, > > >As for upstreaming libavb patches, I'd be interested in landi

[U-Boot] [PATCH v2 24/26] arm: dts: import i.MX8MM dtsi

2019-08-19 Thread Peng Fan
Import i.MX8MM dtsi from Linux Kernel, commit <0a8ad0ffa4d8> ("Merge tag 'for-linus-5.3-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux") Signed-off-by: Peng Fan --- arch/arm/dts/imx8mm.dtsi | 733 +++ 1 file changed, 733 insertion

[U-Boot] [PATCH v2 26/26] imx: Add i.MX8MM EVK board support.

2019-08-19 Thread Peng Fan
Add board and SoC dts Add ddr timing codes which are generated by NXP DDR tool. support SD/MMC/GPIO/PINCTRL/UART Signed-off-by: Peng Fan --- arch/arm/dts/Makefile |3 +- arch/arm/dts/imx8mm-evk-u-boot.dtsi| 92 ++ arch/arm/dts/imx8mm-evk.dts| 2

[U-Boot] [PATCH v2 21/26] imx8m: add clk support for i.MX8MM

2019-08-19 Thread Peng Fan
Introduce clk implementation for i.MX8MM, including pll configuration, ccm configuration. Mostly will be done clk dm driver, but such as DRAM part, we still use non clk dm driver, because we have limited sram. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/clock.h| 2 + ar

[U-Boot] [PATCH v2 22/26] imx: mmc_env: update runtime SD/MMC boot env device

2019-08-19 Thread Peng Fan
When DM_MMC enabled, the USDHC index in U-Boot is the USDHC port. To directly return devno, we could avoid add board specific code. Signed-off-by: Peng Fan --- arch/arm/mach-imx/mmc_env.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mmc_env.c b/arch/arm/mach-imx/mmc_e

[U-Boot] [PATCH v2 09/26] imx8m: imx-regs: drop unused register definitions

2019-08-19 Thread Peng Fan
Drop unused register definitions and structures for i.MX8MQ Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 222 + 1 file changed, 1 insertion(+), 221 deletions(-) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/as

[U-Boot] [PATCH v2 14/26] imx8m: Fix MMU table issue for OPTEE memory

2019-08-19 Thread Peng Fan
When running with OPTEE, the MMU table in u-boot does not remove the OPTEE memory from its settings. So ARM speculative prefetch in u-boot may access that OPTEE memory. Due to trust zone is enabled by OPTEE and that memory is set to secure access, then the speculative prefetch will fail and cause v

[U-Boot] [PATCH v2 13/26] imx: add i.MX8MM PE property

2019-08-19 Thread Peng Fan
i.MX8MM does not have LVTTL, it has a PE property Signed-off-by: Peng Fan --- arch/arm/include/asm/mach-imx/iomux-v3.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h b/arch/arm/include/asm/mach-imx/iomux-v3.h index b899a4ff6f..720e8f7043 100644

[U-Boot] [PATCH v2 20/26] imx8m: restructure clock.h

2019-08-19 Thread Peng Fan
i.MX8MQ and i.MX8MM use different analog pll design, but they share same ccm design. Add clock_imx8mq.h for i.MX8MQ keep common part in clock.h Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/clock.h| 489 +++-- arch/arm/include/asm/arch-imx8m/clock_imx8mq

[U-Boot] [PATCH v2 08/26] imx: spl: add spl_board_boot_device for i.MX8MM

2019-08-19 Thread Peng Fan
Differnet board has different controller used, it is hard to use one layout for them all. Signed-off-by: Peng Fan --- arch/arm/mach-imx/spl.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c index 1f230aca33..7ada60d7a2 100644 --- a/ar

[U-Boot] [PATCH v2 12/26] imx8m: add pin header for i.MX8MM

2019-08-19 Thread Peng Fan
Add pin header file for i.MX8MM To IMX8MM_PAD_NAND_WE_B_USDHC3_CLK, IOMUX_CONFIG_SION needs to be selected. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx8mm_pins.h | 691 ++ 1 file changed, 691 insertions(+) create mode 100644 arch/arm/include/asm/arch

[U-Boot] [PATCH v2 16/26] imx8m: Configure trustzone region 0 for non-secure access

2019-08-19 Thread Peng Fan
From: Ye Li Set trustzone region 0 to allow both non-secure and secure access when trust zone is enabled. We found USB controller fails to access DDR if the default region 0 is secure access only. Signed-off-by: Ye Li Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 6 ++ 1 fil

[U-Boot] [PATCH v2 18/26] imx8m: restrict reset_cpu

2019-08-19 Thread Peng Fan
Make reset_cpu only visible when CONFIG_SYSRESET not defined or CONFIG_SPL_BUILD. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c ind

[U-Boot] [PATCH v2 06/26] imx: imx8mm: add clock bindings header

2019-08-19 Thread Peng Fan
Import clock bindings header file from Linux 5.3.0-rc2 Signed-off-by: Peng Fan --- include/dt-bindings/clock/imx8mm-clock.h | 253 +++ 1 file changed, 253 insertions(+) create mode 100644 include/dt-bindings/clock/imx8mm-clock.h diff --git a/include/dt-bindings/cloc

[U-Boot] [PATCH v2 25/26] arm: dts: add i.MX8MM pin func

2019-08-19 Thread Peng Fan
Import i.MX8MM pin func from Linux Kernel, commit <0a8ad0ffa4d8> ("Merge tag 'for-linus-5.3-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux") Signed-off-by: Peng Fan --- arch/arm/dts/imx8mm-pinfunc.h | 629 ++ 1 file changed, 629 inser

[U-Boot] [PATCH v2 15/26] imx8m: set BYPASS ID SWAP to avoid AXI bus errors

2019-08-19 Thread Peng Fan
set the BYPASS ID SWAP bit (GPR10 bit 1) in order for GPU not to generated AXI bus errors with TZC380 enabled. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index dd393

[U-Boot] [PATCH v2 11/26] imx: add get_cpu_rev support for i.MX8MM

2019-08-19 Thread Peng Fan
There are several variants based on i.MX8MM, add the support in get_cpu_rev Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/soc.c | 57 +++ 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-im

[U-Boot] [PATCH v2 19/26] imx8m: rename clock to clock_imx8mq

2019-08-19 Thread Peng Fan
i.MX8MQ and i.MX8MM has totally different pll design, so rename clock to clock_imx8mq. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Makefile| 3 ++- arch/arm/mach-imx/imx8m/{clock.c => clock_imx8mq.c} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename arch/ar

[U-Boot] [PATCH v2 05/26] imx: add IMX8MM kconfig entry

2019-08-19 Thread Peng Fan
Add IMX8MM kconfig entry Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index 9c487870a6..35c978e863 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/

[U-Boot] [PATCH v2 07/26] imx: add i.MX8MM cpu type

2019-08-19 Thread Peng Fan
Add i.MX8MM cpu type and related helper functions Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx/cpu.h | 6 ++ arch/arm/include/asm/mach-imx/sys_proto.h | 8 arch/arm/mach-imx/cpu.c | 12 3 files changed, 26 insertions(+) diff --git

[U-Boot] [PATCH v2 03/26] imx8m: add image cfg for i.MX8MM lpddr4

2019-08-19 Thread Peng Fan
There is no HDMI on i.MX8MM, so we need to remove HDMI entry, then we could not reuse imximage.cfg, so create a new one. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/imximage-8mm-lpddr4.cfg | 16 1 file changed, 16 insertions(+) create mode 100644 arch/arm/mach-imx/imx8m

[U-Boot] [PATCH v2 04/26] imx: add IMX8MQ kconfig entry

2019-08-19 Thread Peng Fan
Add IMX8MQ kconfig entry, preparing support IMX8MM Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index 317dee9bc1..9c487870a6 100644 --- a/arch

[U-Boot] [PATCH v2 01/26] tools: imx8m_image: align spl bin image size

2019-08-19 Thread Peng Fan
The loader for the DDR firmware in drivers/ddr/imx/imx8m/helper.c uses a 4-byte-aligned address to load the firmware. In cases where OF is enabled in SPL the dtb will be appended to the SPL binary and can result in a binary that is not aligned correctly. If OF is not enabled in SPL, `_end` is alrea

[U-Boot] [PATCH v2 02/26] ddr: imx8m: fix ddr firmware location when enable SPL OF

2019-08-19 Thread Peng Fan
With CONFIG_SPL_OF_CONTROL, the device tree will be padded to end of the u-boot-spl-nodtb.bin, however we also put the ddr firmware file to this location, so need to adapt the code with SPL OF and align to 4bytes to ease copy firmware. Reviewed-by: Frieder Schrempf Tested-by: Frieder Schrempf Si

[U-Boot] [PATCH v2 00/26] i.MX8MM support

2019-08-19 Thread Peng Fan
V2: Fixed comments from Lukasz and Frieder V1: https://patchwork.ozlabs.org/cover/1144326/ This is a splitted and updated patch from https://patchwork.ozlabs.org/cover/1128799/ which is to support both i.MX8MM and i.MX8MN. There is a README added, following that to test if you would like to. Pen

Re: [U-Boot] [PATCH 2/2] libavb: Fix build warnings after updating the lib

2019-08-19 Thread Igor Opaniuk
Hi Eugeniu, On Mon, Aug 19, 2019 at 11:28 AM Eugeniu Rosca wrote: > > Hi all, > > On Fri, Aug 16, 2019 at 11:46:03AM -0400, David Zeuthen wrote: > >Hi, > >As for upstreaming libavb patches, I'd be interested in landing them > >upstream... makes it easier for anyone. > >Our upstrea

Re: [U-Boot] [PATCH v1] x86: acpi: Slightly reduce binary size of ACPI tables for Tangier

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 5:17 PM Andy Shevchenko wrote: > > Using ACPI predefined macros, such as Zero or One, will reduce a binary size > of resulting ACPI tables. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/include/asm/arch-tangier/acpi/platform.asl | 2 +- > arch/x86/include/asm/ar

Re: [U-Boot] [PATCH v1] tools: Add ifwitool to .gitignore

2019-08-19 Thread Bin Meng
On Mon, Aug 19, 2019 at 5:09 PM Andy Shevchenko wrote: > > Follow up fix to the commit > > 56bf4f863075 ("x86: Add ifwitool for Intel Integrated Firmware Image") > > in order to ignore created binary. > > Cc: Simon Glass > Signed-off-by: Andy Shevchenko > --- > tools/.gitignore | 1 + > 1 file

[U-Boot] [PATCH v1] x86: acpi: Slightly reduce binary size of ACPI tables for Tangier

2019-08-19 Thread Andy Shevchenko
Using ACPI predefined macros, such as Zero or One, will reduce a binary size of resulting ACPI tables. Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/arch-tangier/acpi/platform.asl | 2 +- arch/x86/include/asm/arch-tangier/acpi/southcluster.asl | 4 ++-- 2 files changed, 3 insertion

[U-Boot] [PATCH v1] tools: Add ifwitool to .gitignore

2019-08-19 Thread Andy Shevchenko
Follow up fix to the commit 56bf4f863075 ("x86: Add ifwitool for Intel Integrated Firmware Image") in order to ignore created binary. Cc: Simon Glass Signed-off-by: Andy Shevchenko --- tools/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/.gitignore b/tools/.gitignore ind

Re: [U-Boot] [PATCH] test/py: Fix MMC/SD block write test dependency

2019-08-19 Thread Michal Simek
On 15. 08. 19 17:42, Stephen Warren wrote: > On 8/15/19 12:26 AM, Michal Simek wrote: >> On 14. 08. 19 17:51, Stephen Warren wrote: >>> On 8/14/19 12:12 AM, Michal Simek wrote: On 13. 08. 19 23:21, Stephen Warren wrote: > On 8/1/19 10:48 PM, Michal Simek wrote: >> Test is using random

[U-Boot] [PATCH] test/py: Add cmd_memory dependency back to test_mmc_wr

2019-08-19 Thread Michal Simek
Based on discussion with Stephen Warren there was recommendation to list both memory and random command dependencies just in case that dependency is not properly handled by Kconfig. Fixes: a09c1f7e1c1b ("test/py: Fix MMC/SD block write test dependency") Signed-off-by: Michal Simek --- test/py/t

Re: [U-Boot] [PATCH 1/2] mmc: Fix timeout values passed to mmc_wait_dat0()

2019-08-19 Thread Igor Opaniuk
Hi Sam, So you finally found it :) On Wed, Aug 14, 2019 at 10:52 PM Sam Protsenko wrote: > > mmc_wait_dat0() expects timeout argument to be in usec units. But some > overlying functions operate on timeout in msec units. Convert timeout > from msec to usec when passing it to mmc_wait_dat0(). > > T

Re: [U-Boot] [PATCH 2/2] mmc: Rename timeout parameters for clarification

2019-08-19 Thread Igor Opaniuk
Hi Sam, On Wed, Aug 14, 2019 at 10:53 PM Sam Protsenko wrote: > > It's quite hard to figure out time units for various function that have > timeout parameters. This leads to possible errors when one forgets to > convert ms to us, for example. Let's rename those parameters > correspondingly to 'ti

  1   2   >