Odroid C2 - No autoboot without serial

2022-03-12 Thread ? Yuu?
Hi, I have successfully built u-boot for my odroid-c2 on tag v2022.01 and I can see my SBC booting over serial console : yay ! When the serial console is not attached, it does not autoboot, I've just go this message : "Hit any key to stop autoboot : 0" and then immediately the U-Boot prompt.

Re: [PATCH v11 2/9] tools: mkeficapsule: add firmware image signing

2022-03-12 Thread Simon Glass
Hi Heinrich, On Mon, 21 Feb 2022 at 11:59, Heinrich Schuchardt wrote: > > On 2/21/22 01:43, AKASHI Takahiro wrote: > > Hi Simon, > > > > On Sat, Feb 19, 2022 at 04:11:08PM -0700, Simon Glass wrote: > >> Hi, > >> > >> On Sun, 13 Feb 2022 at 17:54, AKASHI Takahiro > >> wrote: > >>> > >>>

[PATCH v2 2/2] x86: Correct the coreboot header file in MAINTAINERS

2022-03-12 Thread Simon Glass
This board has its own config header file. Correct it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) board/coreboot/coreboot/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/coreboot/coreboot/MAINTAINERS

[PATCH v2 1/2] x86: Add an enum name for the GNVS firmware type

2022-03-12 Thread Simon Glass
This enum is currently anonymous. Add a name so it can be used in the code. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Add some comments for the enum arch/x86/include/asm/intel_gnvs.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH] env: Allow text-env tests to run with awk

2022-03-12 Thread Simon Glass
At present the tests assume that gawk is being used. Adjust the tests so that the names are inserted in alphabetical order, so that awk is happy. Also use PROCINFO to make gawk output in alphabetical order. This is not ideal, since it changes the env-car ordering from what the user provided, but

Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-12 Thread Marek Vasut
On 3/11/22 20:33, Angus Ainslie wrote: On 2022-03-11 11:19, Marek Vasut wrote: On 3/11/22 19:41, Angus Ainslie wrote: On 2022-03-11 10:05, Marek Vasut wrote: On 3/11/22 18:02, Angus Ainslie wrote: On 2022-03-11 08:57, Marek Vasut wrote: On 3/11/22 17:35, Angus Ainslie wrote: All of the PLLs

Re: [PATCH] usb: dwc2: handle return code of dev_read_size() in of to plat function

2022-03-12 Thread Marek Vasut
On 3/12/22 18:22, Wolfgang Grandegger wrote: dev_read_size() returns -EINVAL (-22) if the property does not exist. Which property ? Signed-off-by: Wolfgang Grandegger --- drivers/usb/gadget/dwc2_udc_otg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v10 3/9] env: Allow U-Boot scripts to be placed in a .env file

2022-03-12 Thread Simon Glass
Hi Patrick, On Thu, 10 Feb 2022 at 04:20, Patrick DELAUNAY wrote: > > Hi Simon, > > On 10/22/21 05:08, Simon Glass wrote: > > At present U-Boot environment variables, and thus scripts, are defined > > by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text > > to this file and

Re: [PATCH v3 21/26] binman: Support splitting an ELF file into multiple nodes

2022-03-12 Thread Simon Glass
Hi Alper, On Thu, 10 Mar 2022 at 12:36, Alper Nebi Yasak wrote: > > On 06/03/2022 06:19, Simon Glass wrote: > > Some boards need to load an ELF file using the 'loadables' property, but > > the file has segments at different memory addresses. This means that it > > cannot be supplied as a flat

Re: [PATCH 1/1] doc: add libgnutls28-dev to build dependencies

2022-03-12 Thread Simon Glass
On Sat, 12 Mar 2022 at 03:58, Heinrich Schuchardt wrote: > > mkeficapsule requires package libgnutls28-dev for building > > Signed-off-by: Heinrich Schuchardt > --- > doc/build/gcc.rst | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v2 26/28] serial: dm: Add support for puts

2022-03-12 Thread Simon Glass
Hi Sean, On Fri, 11 Mar 2022 at 22:53, Sean Anderson wrote: > > On 3/12/22 12:02 AM, Simon Glass wrote: > > Hi Sean, > > > > On Thu, 10 Mar 2022 at 13:51, Sean Anderson wrote: > >> > >> Some serial drivers can be vastly more efficient when printing multiple > >> characters at once. Non-DM

Re: [PATCH v3 6/8] cmd: rng: Add support for selecting RNG device

2022-03-12 Thread Simon Glass
Hi Sughosh, On Thu, 10 Mar 2022 at 05:43, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 9 Mar 2022 at 21:02, Simon Glass wrote: > > > > Hi Sugosh, > > > > On Fri, 4 Mar 2022 at 06:35, Sughosh Ganu wrote: > > > > > > The 'rng' u-boot command is used for printing a select number of > > > random

Re: [PATCH v3 3/8] tpm: rng: Add driver model interface for TPM RNG device

2022-03-12 Thread Simon Glass
Hi Sughosh. On Wed, 9 Mar 2022 at 04:18, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 9 Mar 2022 at 11:30, Sughosh Ganu wrote: > > > > hi Simon, > > > > Thanks for looking into this. I now have a fair idea of the structure > > that you are looking for this interface. > > > > On Wed, 9 Mar 2022

Re: Porting U-Boot's UEFI Payload to coreboot

2022-03-12 Thread Simon Glass
Hi Ahamed, On Sat, 12 Mar 2022 at 08:23, Ahamed Husni wrote: > > Hello, > > Sorry for the delay. Thank you for the replies. > > On Tue, Mar 8, 2022 at 9:39 PM Simon Glass wrote: > > > > Hi, > > > > On Tue, 8 Mar 2022 at 06:57, Heinrich Schuchardt wrote: > > > > > > On 3/8/22 13:59, Ahamed

Re: [PATCH v2 1/1] cmd: add serial console support for the cls command

2022-03-12 Thread Simon Glass
Hi Heinrich, On Sat, 12 Mar 2022 at 05:05, Heinrich Schuchardt wrote: > > > > On 3/12/22 06:02, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 11 Mar 2022 at 00:06, Heinrich Schuchardt > > wrote: > >> > >> On 2/11/22 21:29, Simon Glass wrote: > >>> On Fri, 11 Feb 2022 at 10:11, Heinrich

Re: [PATCH v3 24/31] bootstd: Add an implementation of EFI bootmgr

2022-03-12 Thread Simon Glass
Hi Ilias, On Sat, 12 Mar 2022 at 02:37, Ilias Apalodimas wrote: > > Hi Simon > > On Sun, 6 Mar 2022 at 05:08, Simon Glass wrote: >> >> Hi Heinrich, >> >> On Wed, 19 Jan 2022 at 04:47, Heinrich Schuchardt wrote: >> > >> > On 1/19/22 02:43, Simon Glass wrote: >> > > Add a bootmeth driver which

Re: [PATCH v4 13/33] bootstd: Add the bootstd uclass and core implementation

2022-03-12 Thread Simon Glass
Hi Ilias, On Sat, 12 Mar 2022 at 07:35, Ilias Apalodimas wrote: > > Hi Simon, > > + > > +/* For now, bind the boormethod device if none are found in the devicetree > > */ > > +int dm_scan_other(bool pre_reloc_only) > > +{ > > + struct udevice *bootstd; > > + int ret; > > + > > + /*

Re: [PATCH v2 02/13] Makefile: Allow LTO to be disabled for a build

2022-03-12 Thread Simon Glass
Hi Tom, On Mon, 7 Mar 2022 at 07:33, Tom Rini wrote: > > On Fri, Mar 04, 2022 at 08:42:57AM -0700, Simon Glass wrote: > > > LTO (Link-Time Optimisation) is an very useful feature which can > > significantly reduce the size of U-Boot binaries. So far it has been > > made available for selected

Re: [PATCH] mmc: xenon_sdhci: remove wait_dat0 SDHCI OP

2022-03-12 Thread Marek Behún
On Fri, 11 Mar 2022 19:52:40 +0100 Pali Rohár wrote: > + Marek > > Xenon eMMC is broken in U-Boot, could you check / verify it on A3720 eMMC > based board? I can confirm this. I also had to workaround this issue, I reverted the commit adding support for wait_dat0 in my internal repo. For now

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-12 Thread Kever Yang
Hi Tom, Simon, Philipp,     Thanks for your help, I think my spare time is getting back and I can handle the work of patch review and verify on different SoCs/boards for u-boot-rockchip now. I will land patches and fixes which is ready to land to master for v2022.04 and others to for-next

Re: Porting U-Boot's UEFI Payload to coreboot

2022-03-12 Thread Ahamed Husni
Hello, Sorry for the delay. Thank you for the replies. On Tue, Mar 8, 2022 at 9:39 PM Simon Glass wrote: > > Hi, > > On Tue, 8 Mar 2022 at 06:57, Heinrich Schuchardt wrote: > > > > On 3/8/22 13:59, Ahamed Husni wrote: > > > Hi everyone, > > > > > > I am trying to work on a project to port the

Re: [PATCH v1 00/11] rockchip fixes and extend rk3568 support

2022-03-12 Thread Kever Yang
+ Joseph Chen On 2022/2/22 09:31, Peter Geis wrote: to: Simon Glass to: Philipp Tomsich to: Kever Yang to: Lukasz Majewski to: Sean Anderson to: Peng Fan to: Jaehoon Chung to: Heiko Stübner cc: u-boot@lists.denx.de Good Evening, The following is a few patches for rockchip mainline

Re: [PATCH v3 1/6] rockchip: move ROCKCHIP_STIMER_BASE to Kconfig

2022-03-12 Thread Kever Yang
Hi Johan, On 2022/3/12 18:01, Johan Jonker wrote: On 3/12/22 09:51, Jagan Teki wrote: On Thu, Dec 30, 2021 at 10:18 PM Johan Jonker wrote: Move ROCKCHIP_STIMER_BASE to Kconfig. Signed-off-by: Johan Jonker --- Changed V3: add ROCKCHIP_STIMER --- arch/arm/mach-rockchip/Kconfig|

Re: [PATCH v4 13/33] bootstd: Add the bootstd uclass and core implementation

2022-03-12 Thread Ilias Apalodimas
Hi Simon, + > +/* For now, bind the boormethod device if none are found in the devicetree */ > +int dm_scan_other(bool pre_reloc_only) > +{ > + struct udevice *bootstd; > + int ret; > + > + /* These are not needed before relocation */ > + if (!(gd->flags & GD_FLG_RELOC)) > +

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-12 Thread Kever Yang
Hi Alper, On 2022/3/12 02:15, Alper Nebi Yasak wrote: On 11/03/2022 18:43, Tom Rini wrote: On Fri, Mar 11, 2022 at 12:05:42AM +0300, Alper Nebi Yasak wrote: I have a few Rockchip-related series [1] that I was expecting to land for v2022.04 (including improvements for chromebook_bob, support

Re: [PATCH v1] MAINTAINERS: add rockchip regex for more files and directories

2022-03-12 Thread Kever Yang
On 2022/3/12 04:16, Jagan Teki wrote: On Fri, Dec 24, 2021 at 10:41 PM Johan Jonker wrote: The current files and directories with wildcard patterns for Rockchip patches in MAINTAINERS is not always complete. Add the regex for DT related files and a generic regex for catching some other

Re: No u-boot-rockchip pull request sent or merged for v2022.04

2022-03-12 Thread Kever Yang
Hi Alper,     Sorry for reply late, I apologize for not  able to make a pull request for v2022.04 till now, I'm really busy for pass few weeks, the reason including some change from both my work and my family. I will check the patches on the list for u-boot-rockchip and land them once I

Pull request for efi-2022-04-rc3-2

2022-03-12 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 589c659035a44a683b087fd75fe0b7667f7be7f5: Merge branch '2022-03-08-assorted-fixes' (2022-03-08 08:42:51 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2022-04-rc3-2 for you to

[PATCH] led: led_pwm: Add a driver for LEDs connected to PWM

2022-03-12 Thread Ivan Vozvakhov
Add a driver which allows to use of LEDs connected to PWM (Linux compatible). MAINTAINERS: add i.vozvakhov as a maintainer of leds-pwm C(required during new functionality adding). Signed-off-by: Ivan Vozvakhov --- MAINTAINERS| 6 +

Re: [PATCH v2 1/1] cmd: add serial console support for the cls command

2022-03-12 Thread Heinrich Schuchardt
On 3/12/22 06:02, Simon Glass wrote: Hi Heinrich, On Fri, 11 Mar 2022 at 00:06, Heinrich Schuchardt wrote: On 2/11/22 21:29, Simon Glass wrote: On Fri, 11 Feb 2022 at 10:11, Heinrich Schuchardt wrote: Currently the cls command does not support the serial console The screen can be

[PATCH 1/1] doc: add libgnutls28-dev to build dependencies

2022-03-12 Thread Heinrich Schuchardt
mkeficapsule requires package libgnutls28-dev for building Signed-off-by: Heinrich Schuchardt --- doc/build/gcc.rst | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst index b883cf73ee..470a7aa349 100644 --- a/doc/build/gcc.rst

Re: [PATCH][RFC] image: fdt: Fix DT relocation handling with multiple DRAM banks with gap

2022-03-12 Thread Marek Vasut
On 3/12/22 06:02, Simon Glass wrote: Hi Marek, On Fri, 11 Mar 2022 at 19:41, Marek Vasut wrote: On 3/12/22 03:24, Simon Glass wrote: Hi Marek, On Wed, 21 Jul 2021 at 18:05, Marek Vasut wrote: The current implementation of boot_relocate_fdt() places DT at the highest usable DRAM address,

Re: [PATCH v3 1/6] rockchip: move ROCKCHIP_STIMER_BASE to Kconfig

2022-03-12 Thread Johan Jonker
On 3/12/22 09:51, Jagan Teki wrote: > On Thu, Dec 30, 2021 at 10:18 PM Johan Jonker wrote: >> >> Move ROCKCHIP_STIMER_BASE to Kconfig. >> >> Signed-off-by: Johan Jonker >> --- >> >> Changed V3: >> add ROCKCHIP_STIMER >> --- >> arch/arm/mach-rockchip/Kconfig| 22

Re: [PATCH v2 2/2] mmc: dw_mmc: support transfer mode auto detection

2022-03-12 Thread Johan Jonker
On 3/12/22 10:23, Jagan Teki wrote: > On Wed, Feb 23, 2022 at 6:37 PM Johan Jonker wrote: >> >> From: Paweł Jarosz >> >> dw_mmc supports two transfer modes in u-boot: IDMA and FIFO. >> This patch adds auto detection of transfer mode and >> eliminates the need to set this in host config

Re: [PATCH v3 24/31] bootstd: Add an implementation of EFI bootmgr

2022-03-12 Thread Ilias Apalodimas
Hi Simon On Sun, 6 Mar 2022 at 05:08, Simon Glass wrote: > Hi Heinrich, > > On Wed, 19 Jan 2022 at 04:47, Heinrich Schuchardt > wrote: > > > > On 1/19/22 02:43, Simon Glass wrote: > > > Add a bootmeth driver which handles EFI boot manager, using EFI_LOADER. > > > > > > In effect, this provides

Re: [PATCH v2 2/2] mmc: dw_mmc: support transfer mode auto detection

2022-03-12 Thread Jagan Teki
On Wed, Feb 23, 2022 at 6:37 PM Johan Jonker wrote: > > From: Paweł Jarosz > > dw_mmc supports two transfer modes in u-boot: IDMA and FIFO. > This patch adds auto detection of transfer mode and > eliminates the need to set this in host config struct. > Allow handling for a u-boot,spl-fifo-mode

Re: [PATCH v1 2/2] rockchip: mmc: rockchip_dw_mmc: add rk3066/rk3188 support

2022-03-12 Thread Johan Jonker
Hi Jagan, On 3/12/22 10:02, Jagan Teki wrote: > On Sat, Jan 8, 2022 at 12:04 AM Johan Jonker wrote: >> >> The Rockchip SoCs rk3066/rk3188 have mmc DT nodes >> with as compatible string "rockchip,rk2928-dw-mshc". >> Add support to the existing driver with help of >> a DM_DRIVER_ALIAS. >> >> This

Re: [PATCH] rockchip: ram: sdram_rk3x88: replace comma by semicolon

2022-03-12 Thread Jagan Teki
On Wed, Jan 12, 2022 at 10:02 PM Johan Jonker wrote: > > A comma at the end of a line gives sometimes strange > effects in combination with some code formatters, > so replace a comma by a semicolon in the sdram_rk3188.c > and sdram_rk3288.c files. > > Signed-off-by: Johan Jonker > ---

Re: [PATCH v1 2/2] rockchip: mmc: rockchip_dw_mmc: add rk3066/rk3188 support

2022-03-12 Thread Jagan Teki
On Sat, Jan 8, 2022 at 12:04 AM Johan Jonker wrote: > > The Rockchip SoCs rk3066/rk3188 have mmc DT nodes > with as compatible string "rockchip,rk2928-dw-mshc". > Add support to the existing driver with help of > a DM_DRIVER_ALIAS. > > This type needs a permanent enabled fifo. > The other

Re: [PATCH v1 3/3] rockchip: serial: Kconfig: add select SYS_NS16550 to config ROCKCHIP_SERIAL

2022-03-12 Thread Jagan Teki
On Sun, Jan 9, 2022 at 8:56 PM Johan Jonker wrote: > > The Rockchip serial driver depends on an enabled NS16550 driver, > so add select SYS_NS16550 to config ROCKCHIP_SERIAL. > > Signed-off-by: Johan Jonker > --- > drivers/serial/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH v3 1/6] rockchip: move ROCKCHIP_STIMER_BASE to Kconfig

2022-03-12 Thread Jagan Teki
On Thu, Dec 30, 2021 at 10:18 PM Johan Jonker wrote: > > Move ROCKCHIP_STIMER_BASE to Kconfig. > > Signed-off-by: Johan Jonker > --- > > Changed V3: > add ROCKCHIP_STIMER > --- > arch/arm/mach-rockchip/Kconfig| 22 ++ > arch/arm/mach-rockchip/px30/Kconfig | 3

Pull request: u-boot-spi/master

2022-03-12 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - sunXi SPI fixups (Andre) - bcm iproc qspi (Rayagonda) CI: https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/11239 thanks, Jagan. The following changes since commit 90de95f7443cb06f014824976251f126ac6f71c0: Merge