Re: [GIT PULL] TI changes for v2020.07-rc2

2020-05-11 Thread Vignesh Raghavendra
On 11/05/20 11:53 pm, Tom Rini wrote: > On Mon, May 11, 2020 at 06:12:59PM +0530, Lokesh Vutla wrote: > >> Hi Tom, >> Please find the pull request for v2020.07-rc2 containing TI specific >> changes. >> >> Travis-CI build: >>

RE: [PATCH] configs: ls1046a: Define ENV_ADDR value

2020-05-11 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Kuldeep Singh >Sent: Tuesday, February 11, 2020 3:09 PM >To: u-boot@lists.denx.de >Subject: [PATCH] configs: ls1046a: Define ENV_ADDR value > >CONFIG_ENV_ADDR helps in picking environment from flash before DDR init. >Define value 0x4030

Re: [PATCH 1/5 v2] efi_loader: Add headers for EDK2 StandAloneMM communication

2020-05-11 Thread Ilias Apalodimas
> > %s/SMM_VARIABLE_COMMUNICATE_GET_PAYLOAD_SIZE/SMM_VARIABLE_COMMUNICATE_GET_PAYLOAD_SIZE./ > > > + * @size: vendor GUID [...] > > + * @name_size: size of the name of the variable > > + * @name: variable name > > + * > > + * Defined in EDK2 as

Re: [PATCH 1/5 v2] efi_loader: Add headers for EDK2 StandAloneMM communication

2020-05-11 Thread Ilias Apalodimas
Hi Heinrich On Mon, May 11, 2020 at 09:39:51PM +0200, Heinrich Schuchardt wrote: > On 5/11/20 8:13 PM, Ilias Apalodimas wrote: > > + [...] > > +/* > > + * Interface to the pseudo TA, which provides a communication channel with > > U-Boot developers might not know the OP-TEE terms. So I would

Re: [PATCH 3/5 v2] cmd: efidebug: Add support for querying UEFI variable storage

2020-05-11 Thread Ilias Apalodimas
On Mon, May 11, 2020 at 08:54:04PM +0200, Heinrich Schuchardt wrote: > On 5/11/20 8:14 PM, Ilias Apalodimas wrote: > > With the previous patches that use OP-TEE and StandAloneMM for UEFI > > variable storage we've added functionality for efi_query_variable_info. > > So let's add the relevant

Re: mmc: zynq_sdhci: transfer fails with 8-bit data bus

2020-05-11 Thread Michal Simek
On 11. 05. 20 16:06, Benedikt Grassl wrote: > Hi, > > with commit 942b5fc0 the 8-bit data bus seems to work fine in U-Boot. > However, I have one situation where I get transfer errors lateron in > Linux. At the moment I suspect that this is rather a problem of the > Linux driver, but I would like

Re: [PATCH v2 00/35] dm: Add programmatic generation of ACPI tables (part B)

2020-05-11 Thread Bin Meng
Hi Wolfgang, Andy, On Mon, May 11, 2020 at 4:34 AM Simon Glass wrote: > > NOTE: I have resent this as v1 to avoid confusion > > This is split from the original series in an attempt to get things applied > in chunks. > > This part includes: > - writing basic ACPI code for integers, strings,

Re: [PATCH 1/1] tools: mkimage: use /* fallthrough */ as needed

2020-05-11 Thread Punit Agrawal
Heinrich Schuchardt writes: > GCC recognizes /* fallthrough */ if -Wimplicit-fallthrough=3 is enabled. > Let's use it consistently. > > Signed-off-by: Heinrich Schuchardt > --- > tools/mkimage.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/mkimage.c

Re: [PATCH 6/8] net: dwc_eth_qos: Split eqos_start() to get link speed

2020-05-11 Thread David Wu
Hi Patrice, 在 2020/5/11 下午8:48, Patrice CHOTARD 写道: Hi David On 5/9/20 8:42 AM, David Wu wrote: Hi Patrice, 在 2020/4/30 下午11:33, Patrice CHOTARD 写道: Can you explain why you are splitting this function in 2 parts and calling these parts sequentially ? For rockchip, need to obtain the

Re: Coreboot tests in gitlab?

2020-05-11 Thread Bin Meng
Hi Simon, On Tue, May 12, 2020 at 9:41 AM Simon Glass wrote: > > Hi Bin, > > What do you think about having a test in gitlab etc. that boots U-Boot from > coreboot using qemu? It might be handy as a sanity check. Do you think it > would be hard? Yes, I think that's possible. Regards, Bin

Re: [PATCH] usb: max3420: add the gadget driver

2020-05-11 Thread Jassi Brar
Hi Marek, Hi Lukasz, On Sat, Apr 11, 2020 at 10:42 PM Jassi Brar wrote: > > On Sat, Apr 11, 2020 at 9:31 PM Marek Vasut wrote: > > > > On 4/12/20 2:04 AM, Heinrich Schuchardt wrote: > > > Am April 11, 2020 11:47:06 PM UTC schrieb Jassi Brar > > > : > > >> On Sun, Mar 29, 2020 at 7:47 PM

Coreboot tests in gitlab?

2020-05-11 Thread Simon Glass
Hi Bin, What do you think about having a test in gitlab etc. that boots U-Boot from coreboot using qemu? It might be handy as a sanity check. Do you think it would be hard? Regards, SImon

RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-11 Thread Peng Fan
> Subject: RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue > > > Subject: Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue > > > > Hi Peng, > > > > On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote: > > > > > > The u-boot-spl.bin pad with ddr firmware conflicts with the > > > CONFIG_MALLOC_F_ADDR

[PATCH V2 1/7] driver: ddr: imx: skip ddr_ss_gpr config on imx8mn

2020-05-11 Thread Peng Fan
From: Jacky Bai There is no DDR_SS_GPR0 exits on i.MX8MN, so skip setting this register on i.MX8MN. Signed-off-by: Jacky Bai Signed-off-by: Peng Fan --- drivers/ddr/imx/imx8m/ddr_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ddr/imx/imx8m/ddr_init.c

[PATCH V2 2/7] driver: ddr: imx: correct the pwrctl setting of selfref_en on imx8m

2020-05-11 Thread Peng Fan
From: Jacky Bai The 'selfref_en' should be bit'0', so correct the setting to enable the auto self-refresh. Reviewed-by: Jian Li Reviewed-by: Ye Li Signed-off-by: Jacky Bai Signed-off-by: Peng Fan --- drivers/ddr/imx/imx8m/ddr_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V2 3/7] drivers: ddr: imx8mp: Add inline ECC feature support

2020-05-11 Thread Peng Fan
From: Sherry Sun the DRAM Controller in i.MX8MP will support a feature called "Inline ECC". This is supported for all 3 supported DRAM technologies (LPDDR4, DDR4 and DDR3L). When this feature is enabled by software, the DRAM Controller reserves 12.5% of DRAM capacity for ECC information, and

[PATCH V2 0/7] imx: drivers: ddr: ddr driver update

2020-05-11 Thread Peng Fan
V2: Drop patch to print dram rate remove board ddr ecc part from patch enabling inline ecc feature This is to upstream NXP vendor tree ddr driver related fix and update Jacky Bai (2): driver: ddr: imx: skip ddr_ss_gpr config on imx8mn driver: ddr: imx: correct the pwrctl setting of

Re: [PATCH v7 19/22] sifive: dts: fu540: Enable L2 Cache in U-Boot

2020-05-11 Thread Bin Meng
Hi Pragnesh, On Mon, May 11, 2020 at 6:35 PM Pragnesh Patel wrote: > > >-Original Message- > >From: Bin Meng > >Sent: 11 May 2020 15:41 > >To: Pragnesh Patel > >Cc: Jagan Teki ; U-Boot-Denx >b...@lists.denx.de>; Atish Patra ; Palmer Dabbelt > >; Paul Walmsley ; > >Troy Benjegerdes ;

Re: [PATCH v4 12/16] usb: dwc3: add make compatible for rockchip platform

2020-05-11 Thread Frank Wang
Hi Marek, On 2020/5/11 17:48, Marek Vasut wrote: On 5/11/20 9:57 AM, Frank Wang wrote: [...] @@ -394,6 +407,12 @@ static int dwc3_glue_probe(struct udevice *dev) if (ret) return ret; + if (glue->resets.count < 1) { This condition is only true if count == 0 ? What's

RE: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-11 Thread Peng Fan
> Subject: Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue > > Hi Peng, > > On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote: > > > > The u-boot-spl.bin pad with ddr firmware conflicts with the > > CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten by > > malloc in SPL stage and

RE: [PATCH 3/8] imx8mp: ddr: Add inline ECC feature support

2020-05-11 Thread Peng Fan
> Subject: Re: [PATCH 3/8] imx8mp: ddr: Add inline ECC feature support > > Hi Peng, > > On Mon, May 11, 2020 at 6:30 AM Peng Fan wrote: > > > > From: Sherry Sun > > > > Add inline ECC support for lpddr4 on imx8mp-evk. And add a config > > which can enable/disable inline ECC feature for lpddr4

Re: [PATCH v4 0/5] TI Ethernet PHY changes

2020-05-11 Thread Dan Murphy
Bump to the series On 5/4/20 4:14 PM, Dan Murphy wrote: Hello The addition of the DP83867 driver to uboot was done in a generic way that made it a bit difficult to bring in new PHY drivers. The difficulty came in the config flags and the phy_init function. The change is to make the flags and

RE: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate

2020-05-11 Thread Peng Fan
> Subject: Re: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate > > On 11.05.20 11:53, Peng Fan wrote: > > From: Ye Li > > > > Enable print to show the DRAM rate of current setting and training > > result. > > > > Reviewed-by: Peng Fan > > Signed-off-by: Ye Li > > Signed-off-by: Peng

Re: [PATCH 3/8] imx8mp: ddr: Add inline ECC feature support

2020-05-11 Thread Fabio Estevam
Hi Peng, On Mon, May 11, 2020 at 6:30 AM Peng Fan wrote: > > From: Sherry Sun > > Add inline ECC support for lpddr4 on imx8mp-evk. And add a config which > can enable/disable inline ECC feature for lpddr4 on imx8mp-evk board. Please elaborate more on this inline ECC feature: when and why does

[ANN] U-Boot v2020.07-rc2 released

2020-05-11 Thread Tom Rini
Hey all, It's release day and I've tagged v2020.07-rc2. At this point out we should be seeing stabilization, clean-up and localized new features. Once again, for a changelog, git log --merges v2020.07-rc1..v2020.07-rc2 and as always, I ask for more details in the PRs people send me so I can

Re: Pull request for UEFI sub-system for efi-2020-07-rc2-4

2020-05-11 Thread Tom Rini
On Mon, May 11, 2020 at 05:25:16PM +0200, Heinrich Schuchardt wrote: > The following changes since commit c5c657644bc35fd6b3d6e5517698721e90646b8d: > > Merge branch '2020-05-08-assorted-fixes' (2020-05-08 18:58:19 -0400) > > are available in the Git repository at: > >

Re: [PATCH v3 21/22] Use __ASSEMBLY__ as the assembly macros

2020-05-11 Thread Tom Rini
On Mon, May 11, 2020 at 02:28:54PM -0600, Simon Glass wrote: > Hi Masahiro, > > On Sun, 10 May 2020 at 22:57, Masahiro Yamada wrote: > > > > On Mon, May 11, 2020 at 2:43 AM Simon Glass wrote: > > > > > > Some places use __ASSEMBLER__ instead which does not work since the > > > Makefile does not

Re: [PATCH] kbuild: add -Werror=implicit-function-declaration

2020-05-11 Thread Tom Rini
On Mon, May 11, 2020 at 02:28:48PM -0600, Simon Glass wrote: > Hi, > > On Sun, 10 May 2020 at 20:14, Marek Vasut wrote: > > > > On 5/11/20 3:59 AM, Masahiro Yamada wrote: > > > Hi Simon, > > > > > > On Mon, May 11, 2020 at 5:37 AM Simon Glass wrote: > > >> > > >> Hi Masahiro, > > >> > > >> On

Re: [PATCH v3 11/22] common: Drop init.h from common header

2020-05-11 Thread Simon Glass
Hi Masahiro, On Mon, 11 May 2020 at 01:05, Masahiro Yamada wrote: > > On Mon, May 11, 2020 at 3:44 PM Masahiro Yamada wrote: > > > > Simon, > > > > On Mon, May 11, 2020 at 7:58 AM Simon Glass wrote: > > > > > > Move this uncommon header out of the common header. > > > > > > Signed-off-by:

Re: [PATCH v3 21/22] Use __ASSEMBLY__ as the assembly macros

2020-05-11 Thread Simon Glass
Hi Masahiro, On Sun, 10 May 2020 at 22:57, Masahiro Yamada wrote: > > On Mon, May 11, 2020 at 2:43 AM Simon Glass wrote: > > > > Some places use __ASSEMBLER__ instead which does not work since the > > Makefile does not define it. Fix them. > > > > Signed-off-by: Simon Glass > > > I think we

Re: Calling i2c set speed twice for i2c_mux_bus

2020-05-11 Thread Simon Glass
Hi, On Mon, 11 May 2020 at 08:37, Heiko Schocher wrote: > > Hello Michal, > > Am 11.05.2020 um 15:36 schrieb Michal Simek: > > On 07. 05. 20 12:02, Heiko Schocher wrote: > >> Hello Michal, > >> > >> Am 07.05.2020 um 10:18 schrieb Michal Simek: > >>> On 06. 05. 20 16:47, Simon Glass wrote: >

Re: [PATCH] kbuild: add -Werror=implicit-function-declaration

2020-05-11 Thread Simon Glass
Hi, On Sun, 10 May 2020 at 20:14, Marek Vasut wrote: > > On 5/11/20 3:59 AM, Masahiro Yamada wrote: > > Hi Simon, > > > > On Mon, May 11, 2020 at 5:37 AM Simon Glass wrote: > >> > >> Hi Masahiro, > >> > >> On Sat, 9 May 2020 at 05:00, Masahiro Yamada wrote: > >>> > >>> On Sat, May 9, 2020 at

Re: [PATCH v2 2/4] regmap: Allow providing read/write callbacks through struct regmap_config

2020-05-11 Thread Simon Glass
Hi Pratyush, On Mon, 11 May 2020 at 06:00, Yadav, Pratyush wrote: > > Hi Simon, > > On 07/05/20 07:36PM, Simon Glass wrote: > > > > > > If there a way to use DM w/o DT changes, we can definitely explore that... > > > > You can certainly do that. Just device_bind() a driver that implements > >

Re: [PATCH v2 06/10] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 32bit)

2020-05-11 Thread Matthias Brugger
On 11/05/2020 21:44, Tom Rini wrote: > On Fri, May 08, 2020 at 11:26:36PM +0200, Matthias Brugger wrote: >> Adding Tom as he is the arm maintainer. >> >> On 04/05/2020 14:45, Sylwester Nawrocki wrote: >>> From: Marek Szyprowski >>> >>> Create a non-cacheable mapping for the 0x6

Re: [PATCH v2 06/10] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 32bit)

2020-05-11 Thread Tom Rini
On Fri, May 08, 2020 at 11:26:36PM +0200, Matthias Brugger wrote: > Adding Tom as he is the arm maintainer. > > On 04/05/2020 14:45, Sylwester Nawrocki wrote: > > From: Marek Szyprowski > > > > Create a non-cacheable mapping for the 0x6 physical memory region, > > where MMIO registers

[RFC] am65x_evm_r5: Disable serial output

2020-05-11 Thread Tom Rini
Given limitations on the current implementation of our test framework, having both am65x_evm_r5 and am65x_evm_a53 have serial output on the same port confuses the tests. If we disable serial output in r5 and disable the SPL tests as well, we can run the rest of the testsuite on am65x_evm_a53.

Re: [PATCH 1/5 v2] efi_loader: Add headers for EDK2 StandAloneMM communication

2020-05-11 Thread Heinrich Schuchardt
On 5/11/20 8:13 PM, Ilias Apalodimas wrote: > From: Sughosh Ganu > > In Arm devices OP-TEE has the ability to run StandAloneMM (from EDK2) > in a separate partition and handle UEFI variables. > A following patch introduces this functionality. > > Add the headers needed for OP-TEE <-->

Re: [PATCH V2] mkimage: fit: Do not tail-pad fitImage with external data

2020-05-11 Thread Tom Rini
On Sun, May 10, 2020 at 09:24:19PM +0200, Marek Vasut wrote: > On 5/8/20 9:21 PM, Tom Rini wrote: > > On Fri, May 08, 2020 at 09:00:02PM +0200, Marek Vasut wrote: > >> On 5/8/20 8:47 PM, Tom Rini wrote: > >>> On Fri, May 08, 2020 at 03:37:01AM +0200, Marek Vasut wrote: > On 5/7/20 10:46 PM,

Re: Setting up test.py for a platform with 2 U-Boots?

2020-05-11 Thread Tom Rini
On Thu, May 07, 2020 at 05:17:15PM -0600, Stephen Warren wrote: > On 5/7/20 12:48 PM, Tom Rini wrote: > > Hey, > > > > So I'm trying to enable our test.py framework on am65x_evm_r5 + > > am65x_evm_a53. The short version is this platform has an R5 core that > > sets things up and fires off the

Re: [PATCH 1/1] tools: ftdgrep: use /* fallthrough */ as needed

2020-05-11 Thread Heinrich Schuchardt
On 5/11/20 8:40 PM, Tom Rini wrote: > On Sun, May 10, 2020 at 10:12:07PM +0900, Masahiro Yamada wrote: >> On Sun, May 10, 2020 at 12:12 AM Heinrich Schuchardt >> wrote: >>> >>> GCC recognizes /* fallthrough */ if -Wimplicit-fallthrough=3 is enabled. >> >> FYI. >> >> Linux decided to not use /*

Re: [PATCH v3 7/9] rockchip: dts: rk3328: Sync device tree files from Linux

2020-05-11 Thread Kurt Miller
On Mon, 2020-04-27 at 14:52 +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > This syncs rk3328 device tree files from the Linux kernel next-20200324. > The last commit to touch these files is: > > b2411befed60 ("arm64: dts: add bus to rockchip amba nodenames") > > Additional changes not

Re: [PATCH 3/5 v2] cmd: efidebug: Add support for querying UEFI variable storage

2020-05-11 Thread Heinrich Schuchardt
On 5/11/20 8:14 PM, Ilias Apalodimas wrote: > With the previous patches that use OP-TEE and StandAloneMM for UEFI > variable storage we've added functionality for efi_query_variable_info. > So let's add the relevant command to efidebug and retrieve information > about the container used to store

Re: [PATCH 1/1] tools: ftdgrep: use /* fallthrough */ as needed

2020-05-11 Thread Tom Rini
On Sun, May 10, 2020 at 10:12:07PM +0900, Masahiro Yamada wrote: > On Sun, May 10, 2020 at 12:12 AM Heinrich Schuchardt > wrote: > > > > GCC recognizes /* fallthrough */ if -Wimplicit-fallthrough=3 is enabled. > > FYI. > > Linux decided to not use /* fallthrough */ any more > because Clang

Re: [PATCH 4/5 v2] MAINTAINERS: Add maintainer for EFI variables via OP-TEE

2020-05-11 Thread Heinrich Schuchardt
On 5/11/20 8:14 PM, Ilias Apalodimas wrote: > Add myself as maintainer for the OP-TEE related UEFI variable storage > and add the headers file on the existing EFI list > > Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt > --- > MAINTAINERS | 6 ++ > 1 file changed, 6

Re: [PATCH 5/5 v2] doc: uefi.rst: Add OP-TEE variable storage config options

2020-05-11 Thread Heinrich Schuchardt
On 5/11/20 8:14 PM, Ilias Apalodimas wrote: > If OP-TEE is compiled with an EDK2 application running in secure world > it can process and store UEFI variables in an RPMB. > Add documentation for the config options enabling this > > Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt

Re: [GIT PULL] TI changes for v2020.07-rc2

2020-05-11 Thread Tom Rini
On Mon, May 11, 2020 at 06:12:59PM +0530, Lokesh Vutla wrote: > Hi Tom, > Please find the pull request for v2020.07-rc2 containing TI specific > changes. > > Travis-CI build: > https://travis-ci.org/github/lokeshvutla/u-boot/builds/685502396 > > Thanks and regards, > Lokesh > > The

[PATCH 2/5 v2] efi_loader: Implement EFI variable handling via OP-TEE

2020-05-11 Thread Ilias Apalodimas
In OP-TEE we can run EDK2's StandAloneMM on a secure partition. StandAloneMM is responsible for the UEFI variable support. In combination with OP-TEE and it's U-Boot supplicant, variables are authenticated/validated in secure world and stored on an RPMB partition. So let's add a new config option

[PATCH 3/5 v2] cmd: efidebug: Add support for querying UEFI variable storage

2020-05-11 Thread Ilias Apalodimas
With the previous patches that use OP-TEE and StandAloneMM for UEFI variable storage we've added functionality for efi_query_variable_info. So let's add the relevant command to efidebug and retrieve information about the container used to store UEFI variables Signed-off-by: Ilias Apalodimas ---

[PATCH 4/5 v2] MAINTAINERS: Add maintainer for EFI variables via OP-TEE

2020-05-11 Thread Ilias Apalodimas
Add myself as maintainer for the OP-TEE related UEFI variable storage and add the headers file on the existing EFI list Signed-off-by: Ilias Apalodimas --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ec59ce8b8802..0c38890be09c 100644 ---

[PATCH 5/5 v2] doc: uefi.rst: Add OP-TEE variable storage config options

2020-05-11 Thread Ilias Apalodimas
If OP-TEE is compiled with an EDK2 application running in secure world it can process and store UEFI variables in an RPMB. Add documentation for the config options enabling this Signed-off-by: Ilias Apalodimas --- doc/uefi/uefi.rst | 17 + 1 file changed, 17 insertions(+) diff

[PATCH 1/5 v2] efi_loader: Add headers for EDK2 StandAloneMM communication

2020-05-11 Thread Ilias Apalodimas
From: Sughosh Ganu In Arm devices OP-TEE has the ability to run StandAloneMM (from EDK2) in a separate partition and handle UEFI variables. A following patch introduces this functionality. Add the headers needed for OP-TEE <--> StandAloneMM communication Signed-off-by: Sughosh Ganu

[PATCH 0/6 v2] EFI variable support via OP-TEE

2020-05-11 Thread Ilias Apalodimas
Hi! This is the v2 of the patchset adding EFI variable support via OP-TEE originally posted here [1] Changes since v1: * patch #2: - Fix Copyright issues - Merge the include files in mm_communication.h - Rename some variables and follow EDK2 naming - Added proper documentation on

Re: [PATCH v2 2/2] env/sf.c: honour CONFIG_SPL_SAVEENV

2020-05-11 Thread Tom Rini
On Mon, May 11, 2020 at 08:49:38AM +0200, Rasmus Villemoes wrote: > On 09/05/2020 22.54, Tom Rini wrote: > > On Sat, May 09, 2020 at 08:56:46PM +0200, Rasmus Villemoes wrote: > >> On 09/05/2020 00.59, Tom Rini wrote: > >>> On Fri, Mar 27, 2020 at 12:02:00AM +0100, Rasmus Villemoes wrote: > >>> >

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200511

2020-05-11 Thread Tom Rini
-05-08 18:58:19 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20200511 > > for you to fetch changes up to d52a03b130565e6b01dcbe656ebeb611d5ee1aa1: > > imx8: cpu: check resource owned after

Pull request for UEFI sub-system for efi-2020-07-rc2-4

2020-05-11 Thread Heinrich Schuchardt
The following changes since commit c5c657644bc35fd6b3d6e5517698721e90646b8d: Merge branch '2020-05-08-assorted-fixes' (2020-05-08 18:58:19 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-07-rc2-4 for you to fetch changes

Re: [PATCH 5/5] verdin-imx8mm: Select the watchdog driver

2020-05-11 Thread Igor Opaniuk
Hi Fabio, On Mon, May 11, 2020, 17:02 Fabio Estevam wrote: > Currently watchdog driver is not selected, which causes system to reboot > after staying 60s in the U-Boot prompt. > > Fix this problem by enabling CONFIG_WATCHDOG so that watchdog can be > properly serviced. > > Signed-off-by: Fabio

Re: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate

2020-05-11 Thread Stefano Babic
On 11.05.20 11:53, Peng Fan wrote: > From: Ye Li > > Enable print to show the DRAM rate of current setting and training > result. > > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > --- This changes the boottime, too. The printf() are really useful only for

Re: Calling i2c set speed twice for i2c_mux_bus

2020-05-11 Thread Heiko Schocher
Hello Michal, Am 11.05.2020 um 15:36 schrieb Michal Simek: On 07. 05. 20 12:02, Heiko Schocher wrote: Hello Michal, Am 07.05.2020 um 10:18 schrieb Michal Simek: On 06. 05. 20 16:47, Simon Glass wrote: Hi Michal, On Tue, 5 May 2020 at 21:43, Simon Glass wrote: Hi Michal, On Tue, 5 May

Re: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate

2020-05-11 Thread Adam Ford
On Mon, May 11, 2020 at 9:13 AM Fabio Estevam wrote: > > Hi Peng, > > On Mon, May 11, 2020 at 6:30 AM Peng Fan wrote: > > > > From: Ye Li > > > > Enable print to show the DRAM rate of current setting and training > > result. I am not a fan of this. > > > > Reviewed-by: Peng Fan > >

Re: Status i.MX U-Boot patches

2020-05-11 Thread Fabio Estevam
Hi Stefano, On Mon, May 11, 2020 at 6:27 AM Stefano Babic wrote: > > Sorry, forgotten ML... > > Hi Fabio, Peng, > > I have thought about how to handle Peng's last series and I came to the > decision to merge them as soon as possible, letting some more time for > fixes if required. Most patches

Re: [PATCH 1/2] imx: imx8mp_evk: fix boot issue

2020-05-11 Thread Fabio Estevam
Hi Peng, On Mon, May 11, 2020 at 2:55 AM Peng Fan wrote: > > The u-boot-spl.bin pad with ddr firmware conflicts with the > CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten > by malloc in SPL stage and cause ddr initialization not able > to finish. So update the related addresses

Re: [PATCH 3/5] imx8mm_beacon: Select the watchdog driver

2020-05-11 Thread Adam Ford
On Mon, May 11, 2020 at 8:59 AM Fabio Estevam wrote: > > Currently watchdog driver is not selected, which causes system to reboot > after staying 60s in the U-Boot prompt. > > Fix this problem by enabling CONFIG_WATCHDOG so that watchdog can be > properly serviced. > Thanks for doing that!

Re: [PATCH 4/8] drivers: ddr: imx8m: add print for DRAM rate

2020-05-11 Thread Fabio Estevam
Hi Peng, On Mon, May 11, 2020 at 6:30 AM Peng Fan wrote: > > From: Ye Li > > Enable print to show the DRAM rate of current setting and training > result. > > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan This is basically a revert from: commit

FW: mmc: zynq_sdhci: transfer fails with 8-bit data bus

2020-05-11 Thread Benedikt Grassl
Hi, with commit 942b5fc0 the 8-bit data bus seems to work fine in U-Boot. However, I have one situation where I get transfer errors lateron in Linux. At the moment I suspect that this is rather a problem of the Linux driver, but I would like to make sure here first. My ZynqMP has an eMMC flash

Re: [Uboot-stm32] [PATCH] ARM: dts: stm32mp1: DT alignment with Linux 5.7-rc2

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/30/20 3:52 PM, Patrick Delaunay wrote: > DT alignment with Linux 5.7-rc2, including the kernel commits > > 431c89e6f323 ARM: dts: stm32: use correct vqmmc regu for eMMC on stm32mp1 > ED1/EV1 boards > 79e965053872 ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 >

Re: [PATCH] mmc: stm32_sdmmc2: change the displayed config name

2020-05-11 Thread Patrice CHOTARD
On 4/30/20 9:52 AM, Patrick Delaunay wrote: > Change the mmc displayed name in U-Boot for stm32_sdmmc2 driver to > “STM32 SD/MMC”. > > This stm32_sdmmc2 driver is for version 2 of the ST HW IP SDMMC but the > displayed name "STM32 SDMMC2" is confusing for user, between the > instance of SDMMC and

[PATCH 4/5] imx8mp_evk: Select the watchdog driver

2020-05-11 Thread Fabio Estevam
Currently watchdog driver is not selected, which causes system to reboot after staying 60s in the U-Boot prompt. Fix this problem by enabling CONFIG_WATCHDOG so that watchdog can be properly serviced. Signed-off-by: Fabio Estevam --- configs/imx8mp_evk_defconfig | 1 - 1 file changed, 1

[PATCH 5/5] verdin-imx8mm: Select the watchdog driver

2020-05-11 Thread Fabio Estevam
Currently watchdog driver is not selected, which causes system to reboot after staying 60s in the U-Boot prompt. Fix this problem by enabling CONFIG_WATCHDOG so that watchdog can be properly serviced. Signed-off-by: Fabio Estevam --- configs/verdin-imx8mm_defconfig | 1 - 1 file changed, 1

Re: [PATCH] clk: stm32mp1: fix CK_MPU calculation

2020-05-11 Thread Patrice CHOTARD
On 4/24/20 3:47 PM, Patrick Delaunay wrote: > From: Lionel Debieve > > When the CK_MPU used PLL1_MPUDIV, the current rate is > wrong. The clock must use stm32mp1_mpu_div as a shift > value. Fix the check value used to enter PLL_MPUDIV. > > Signed-off-by: Lionel Debieve > Signed-off-by: Patrick

[PATCH 1/5] imx8mm_evk: Select the watchdog driver

2020-05-11 Thread Fabio Estevam
Currently the watchdog driver is not selected, which causes the following warnings in both SPL and U-Boot proper: U-Boot SPL 2020.07-rc1-00387-g67887903af (May 07 2020 - 23:49:27 -0300) Normal Boot WDT: Started without servicing (60s timeout) Trying to boot from MMC1 U-Boot

[PATCH 2/5] imx8mn_ddr4_evk: Select the watchdog driver

2020-05-11 Thread Fabio Estevam
Currently watchdog driver is not selected, which causes system to reboot after staying 60s in the U-Boot prompt. Fix this problem by enabling CONFIG_WATCHDOG so that watchdog can be properly serviced. Signed-off-by: Fabio Estevam --- configs/imx8mn_ddr4_evk_defconfig | 1 - 1 file changed, 1

[PATCH 3/5] imx8mm_beacon: Select the watchdog driver

2020-05-11 Thread Fabio Estevam
Currently watchdog driver is not selected, which causes system to reboot after staying 60s in the U-Boot prompt. Fix this problem by enabling CONFIG_WATCHDOG so that watchdog can be properly serviced. Signed-off-by: Fabio Estevam --- configs/imx8mm_beacon_defconfig | 1 - 1 file changed, 1

Re: [PATCH v2 02/12] arm: stm32mp: spl: update error management in board_init_f

2020-05-11 Thread Patrice CHOTARD
On 4/22/20 2:29 PM, Patrick Delaunay wrote: > Call hang when an error is detected for probe of any driver > needed for console or DDR init: clk, reset and pincontrol > > NB: previous behavior with a return in board_init_f() was not correct; > DDR is not initialized and SPL execution can't

Re: [Uboot-stm32] [PATCH v2 04/12] board: stm32mp1: update management of boot-led

2020-05-11 Thread Patrice CHOTARD
On 4/22/20 2:29 PM, Patrick Delaunay wrote: > Force boot-led ON and no more rely on default-state. > This patch avoid device-tree modification for U-Boot. > > > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - use CONFIG_IS_ENABLED(LED) everywhere > >

Re: [Uboot-stm32] [PATCH v2 07/12] board: stm32mp1: remove bootdelay configuration for usb or serial boot

2020-05-11 Thread Patrice CHOTARD
On 4/22/20 2:29 PM, Patrick Delaunay wrote: > It is not allowed to change the user setting of bootdelay, so > remove the check of the boot-source to disable it dynamically > in board_late_init() > > > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - remove bootdelay configuration

Re: [Uboot-stm32] [PATCH 9/9] ARM: dts: stm32mp1: use OPP information for PLL1 settings in SPL

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > This patch allows to switch the CPU frequency to 800MHz on the > ST Microelectronics board (DK1/DK2 and EV1) when it supported by the HW > (for STM32MP15xD and STM32MP15xF). > > Signed-off-by: Patrick Delaunay > --- > >

Re: [Uboot-stm32] [PATCH 7/9] board: st: stpmic1: add function stmpic_buck1_set

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > Add a function stmpic_buck1_set to configure buck1 voltage > in SPL as regulator framework is not available. > > Signed-off-by: Patrick Delaunay > --- > > board/st/common/stpmic1.c | 24 >

Re: [Uboot-stm32] [PATCH 8/9] board: stm32mp1: update vddcore in SPL

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > For board using STPMIC1, the vddcore is provided by BUCK1 of STMPIC1 > and need to be updated for 800MHz support and only after the clock > tree initialization. > > The VDDCORE voltage value in provide by clock driver, saved in global >

Re: [PATCH 6/9] arm: stm32mp: add weak function to save vddcore

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > Add a weak functions to save the vddcore voltage value provided > in the OPP node when the clock tree is initialized. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/include/mach/sys_proto.h | 3 +++ >

Re: [PATCH 4/9] stm32mp1: clk: configure pll1 with OPP

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > The PLL1 node (st,pll1) is optional in device tree, the max supported > frequency define in OPP node is used when the node is absent. > > Signed-off-by: Patrick Delaunay > --- > > .../clock/st,stm32mp1.txt | 4 + >

Re: [PATCH 5/9] ARM: stm32: Add board_early_init_f() to SPL

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > From: Marek Vasut > > Add weak implementation of board_early_init_f() hook into the > STM32MP1 SPL. This can be used to read out e.g. configuration > straps before initializing the DRAM. > > Signed-off-by: Marek Vasut > Cc: Manivannan

Re: [Uboot-stm32] [PATCH 3/9] board: st: create common file stpmic1.c

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > Move function board_ddr_power_init() in a new file stpmic1 in > board/st/common to avoid duplicated code in each board using > stpmic1 > > Signed-off-by: Patrick Delaunay > --- > > board/dhelectronics/dh_stm32mp1/Makefile | 2 +- >

Re: [Uboot-stm32] [PATCH 2/9] ARM: dts: stm32: add cpufreq support on stm32mp15x

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > This commit adds cpufreq support on stm32mp15x SOC. STM32 cpufreq uses > operating points V2 bindings (no legacy). Nvmem cells have to be used to > know the chip version and then which OPPs are available. Note that STM32 > cpufreq driver is

Re: [PATCH 1/9] arm: stm32mp: spl: add bsec driver in SPL

2020-05-11 Thread Patrice CHOTARD
Hi Patrick On 4/21/20 5:11 PM, Patrick Delaunay wrote: > Add the bsec driver in SPL, as it is needed by SOC part number detection > to found the supported OPP. > > > Signed-off-by: Patrick Delaunay > --- > > I already sent in unrelated serie > > http://patchwork.ozlabs.org/patch/1264829/ > >

Re: Pull request v2: u-boot-spi/master

2020-05-11 Thread Tom Rini
On Mon, May 11, 2020 at 01:37:21AM +0530, Jagan Teki wrote: > Hi Tom, > > Summary: > - zap lpc32xx_ssp driver (Jagan) > - rename of phy nodev call (Jagan) > - iopoll with sleep_us (Jagan) > - MX25R6435F flash (Ye Li) > > Changes for v2: > - rebase to master > > thanks, > Jagan. > > The

Re: [PING][PATCH] Optionally: Set the serial# environment variable on the i.MX7.

2020-05-11 Thread Stefano Babic
Hi Mark, patch was hidden in the flood of other patches and I am unsure if this belongs to i.MX: On 19.02.20 22:01, Mark G wrote: > Enabling this new option allows the kernel to obtain the unique ID of > the CPU when not using ATAGS. > > Signed-off-by: Mark G > --- > diff --git

Re: Calling i2c set speed twice for i2c_mux_bus

2020-05-11 Thread Michal Simek
On 07. 05. 20 12:02, Heiko Schocher wrote: > Hello Michal, > > Am 07.05.2020 um 10:18 schrieb Michal Simek: >> On 06. 05. 20 16:47, Simon Glass wrote: >>> Hi Michal, >>> >>> On Tue, 5 May 2020 at 21:43, Simon Glass wrote: Hi Michal, On Tue, 5 May 2020 at 02:26, Michal Simek

[PATCH 2/2] spi: add support for all spi modes with soft spi

2020-05-11 Thread Johannes Holland
The spi bitbanging driver did not implement all spi modes properly. Add code to support all spi modes, honoring soft_spi_set_mode() and defaulting to spi mode 0. Previously, CPHA was implemented inversely (defaulting to CPHA=1) and CPOL=1 was hardcoded. Signed-off-by: Johannes Holland ---

[PATCH 1/2] tpm: add #ifndef to fix redeclaration build errors

2020-05-11 Thread Johannes Holland
tpm_tis_spi.c directly includes tpm_tis.h and tpm-v2.h which both define the same enums (see e.g. TPM_ACCESS_VALID). Add an #ifndef to prevent redeclaration errors. Signed-off-by: Johannes Holland --- drivers/tpm/tpm_tis.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 1/2] arm: dts: khadas-vim3: include meson-g12-common-u-boot.dtsi to enable HDMI output

2020-05-11 Thread Neil Armstrong
Include the common g12 u-boot tweaks to permit enabling video output tweaks on Khadas VIM3 boards. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-khadas-vim3-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/meson-khadas-vim3-u-boot.dtsi

[PATCH 2/2] configs: khadas-vim3: enable HDMI output

2020-05-11 Thread Neil Armstrong
Enable options to permit HDMI output on Khadas VIM3 & VIM3L boards. Signed-off-by: Neil Armstrong --- configs/khadas-vim3_defconfig | 9 + configs/khadas-vim3l_defconfig | 4 2 files changed, 13 insertions(+) diff --git a/configs/khadas-vim3_defconfig

Re: [PATCH v2 0/2] gpio: add gpio open-drain & open-source emulation

2020-05-11 Thread Neil Armstrong
On 05/05/2020 10:43, Neil Armstrong wrote: > When a line is in open-drain or open-source mode, U-Boot doesn't handle it > directly. > > Let's add gpio open-drain & open-source emulation in gpio u-class to make > it transparent to driver using a gpio line from DT. > > Changes since v1: > - fixed

Re: [PATCH v4 12/16] usb: dwc3: add make compatible for rockchip platform

2020-05-11 Thread Marek Vasut
On 5/11/20 9:57 AM, Frank Wang wrote: [...] > @@ -394,6 +407,12 @@ static int dwc3_glue_probe(struct udevice *dev) > if (ret) > return ret; > > + if (glue->resets.count < 1) { This condition is only true if count == 0 ? What's the purpose of this test ? > +

Re: [PATCH 2/2] odroid-c2: enable USB host controller

2020-05-11 Thread Neil Armstrong
Hi, On 10/05/2020 16:08, Beniamino Galvani wrote: > On Sun, Aug 18, 2019 at 03:42:55PM +0200, Beniamino Galvani wrote: >> Enable the second USB controller, which is connected to a hub with 4 >> ports. The first controller is for the OTG port and is currently not >> supported. >> >> Signed-off-by:

Re: [PATCH 6/8] net: dwc_eth_qos: Split eqos_start() to get link speed

2020-05-11 Thread Patrice CHOTARD
Hi David On 5/9/20 8:42 AM, David Wu wrote: > Hi Patrice, > > 在 2020/4/30 下午11:33, Patrice CHOTARD 写道: >> Can you explain why you are splitting this function in 2 parts and calling >> these parts sequentially ? > > For rockchip, need to obtain the current link speed to configure the tx >

Re: [PATCH 00/11] Fixes for Nokia RX-51

2020-05-11 Thread Lokesh Vutla
On 14/04/20 3:53 PM, Lokesh Vutla wrote: > > > On 13/04/20 4:11 PM, Pali Rohár wrote: >> On Wednesday 01 April 2020 00:35:07 Pali Rohár wrote: >>> This patch series contain fixes for Nokia RX-51 board (aka N900). >>> After these changes it is possible to run U-Boot in qemu emulator again. >>>

Re: [PATCH v2] video: omap: change include order

2020-05-11 Thread Lokesh Vutla
On 04/05/20 12:57 AM, Dario Binacchi wrote: > Apply u-boot coding style on include files order as described by the > wiki https://www.denx.de/wiki/U-Boot/CodingStyle. > > Signed-off-by: Dario Binacchi > > --- > > Changes in v2: > - Add reference to code style wiki Merged into u-boot-ti.

Re: [PATCH] net: ethernet: ti: am65-cpsw-nuss: enable 10Mbps link speed in rgmii mode

2020-05-11 Thread Lokesh Vutla
On 20/04/20 4:40 PM, Murali Karicheri wrote: > + Lokesh > > On 04/17/2020 11:12 AM, Murali Karicheri wrote: >> In RGMII mode the 10Mbps link speed is supported only when CPSW2G MAC SL is >> configured for External Control ("in band") mode >> CPSW_PN_MAC_CONTROL_REG.CTL_EN(18) = 1 >> >> Hence

Re: [PATCH] arm: K3: Increase default SYSFW image size allocation

2020-05-11 Thread Lokesh Vutla
On 01/05/20 12:42 AM, Andrew F. Davis wrote: > The memory allocated to store the FIT image containing SYSFW and board > configuration data is statically defined to the largest size expected. > Some additions to the board configuration data has pushed us slightly > over the current defined size

[PATCH] imx8mp_evk: Add a README file

2020-05-11 Thread Fabio Estevam
Add a README file explaining the U-Boot build and SD card flash procedures. Signed-off-by: Fabio Estevam --- board/freescale/imx8mp_evk/README | 41 +++ 1 file changed, 41 insertions(+) create mode 100644 board/freescale/imx8mp_evk/README diff --git

  1   2   3   >