Re: [PATCH] MAINTAINERS: imx: Add an entry for the serial driver

2022-09-05 Thread Peng Fan
On 9/5/2022 6:57 PM, Fabio Estevam wrote: From: Fabio Estevam Currently, when running ./scripts/get_maintainer.pl on serial_mxc.c no i.MX maintainer is returned. Fix it by adding an entry for this driver. Reported-by: Pali Rohár Signed-off-by: Fabio Estevam Acked-by: Peng Fan ---

Re: [PATCH] ddr: fsl: Make bank_addr_bits reflect actual bits

2022-09-05 Thread Peng Fan
On 8/31/2022 5:01 AM, Sean Anderson wrote: In both the Freescale DDR controller and the SPD spec, bank address bits are stored as the number of bank address bits minus 2. For example, if a chip had 8 banks (3 total bank address bits), the value of bank_addr_bits would be 1. This is rather

Re: [PATCH] ddr: fsl: Reduce the size of interactive options

2022-09-05 Thread Peng Fan
On 8/31/2022 4:54 AM, Sean Anderson wrote: The interactive mode uses large several tables of options which can be configured. However, much of the contents of these tables are repetetive. For example, no struct is larger than half a kilobyte, so the offset only takes up 9 bits. Similarly, the

Re: [PATCH v2 1/4] board: freescale: p1_p2_rdb_pc: Add workaround for board reset reboot loop

2022-09-05 Thread Peng Fan
On 8/31/2022 8:04 PM, Pali Rohár wrote: PING In tag: https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/tags/fsl-qoriq-2022-9-6 Waiting CI results. Regards, Peng. On Sunday 21 August 2022 12:30:04 Pali Rohár wrote: PING I have not received any response for these

Re: [PATCH v2 0/6] net: fm: Verify Fman microcode

2022-09-05 Thread Peng Fan
On 4/23/2022 1:38 AM, Sean Anderson wrote: Surprisingly, Fman microcode does not seem to be verified. This series aims to rectify this by introducing an optional FIT wrapper. This wrapper is made mandatory if FIT_SIGNATURE is enabled. NXP boards do not use this config, so the microcode will

Re: [PATCH v2 1/4] board: freescale: p1_p2_rdb_pc: Add workaround for board reset reboot loop

2022-09-05 Thread Peng Fan
Hi Pali, On 8/31/2022 8:04 PM, Pali Rohár wrote: PING Please cc me for freescale ppc boards. The patches not show in my patchwork[freenix]. I will put your patches into CI now. Thanks, Peng. On Sunday 21 August 2022 12:30:04 Pali Rohár wrote: PING I have not received any

Re: [PATCH v2 2/2] serial: mxc: have putc use the TXFIFO

2022-09-05 Thread Peng Fan
On 9/6/2022 11:38 AM, SCHNEIDER Johannes wrote: Hi Peng Fan, ... well i'm actually not sure why the messages get corrupted; it's just what i observed on a connected oscilloscope :-s the code that does uses the transmit functions is making use of the returned -EAGAIN and retries - and even

[PATCH 2/2] HSD #1507453717: arm: socfpga: agilex: add QSPI boot feature

2022-09-05 Thread Jit Loon Lim
From: "Ooi, Joyce" This patch adds the QSPI boot feature for Agilex Signed-off-by: Ooi, Joyce Signed-off-by: Jit Loon Lim --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_agilex_socdk.dts | 1 + arch/arm/dts/socfpga_agilex_socdk_qspi.dts| 14

[PATCH 1/2] HSD #1507453717: arm: socfpga: stratix10: add QSPI boot feature

2022-09-05 Thread Jit Loon Lim
From: "Ooi, Joyce" This patch adds the QSPI boot feature for Stratix10 Signed-off-by: Ooi, Joyce Signed-off-by: Jit Loon Lim --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/socfpga_stratix10_socdk_qspi.dts | 14 configs/socfpga_stratix10_qspi_defconfig | 73

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Rick Chen
HI all, > On Mon, 5 Sep 2022 11:30:38 -0400 > Sean Anderson wrote: > > > On 9/5/22 3:47 AM, Nikita Shubin wrote: > > > Hi Rick! > > > > > > On Mon, 5 Sep 2022 14:22:41 +0800 > > > Rick Chen wrote: > > > > > >> Hi, > > >> > > >> When I free-run a SMP system, I once hit a failure case where some

Re: [PATCH v2 1/2] serial: mxc: enable the RX pipeline

2022-09-05 Thread Fabio Estevam
On Mon, Sep 5, 2022 at 10:43 PM Tom Rini wrote: > We allow '//' style comments, just like the linux kernel does these > days. There should be a space before the "imx8" in the first hunk here. Yes, // style comments are allowed, but for consistency with the other comments in this file, it would

Re: [PATCH 1/1] RISC-V: enable CONFIG_SYSRESET_SBI by default

2022-09-05 Thread Leo Liang
On Mon, Sep 05, 2022 at 04:40:49PM +0200, Heinrich Schuchardt wrote: > System reset via the SRST extension in the SBI should be the default. > The driver checks if the extension is available when probing. > So there is no risk in enabling it. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH v2 1/2] serial: mxc: enable the RX pipeline

2022-09-05 Thread Tom Rini
On Tue, Sep 06, 2022 at 09:04:05AM +0800, Peng Fan wrote: > > > On 9/5/2022 5:58 PM, Johannes Schneider wrote: > > on imx8(mm) the RXDMUXSEL needs to be set for data going over the wire > > (as observable on a connected 'scope) to actually make it into the > > RXFIFO > > > > the reference

Re: [PATCH v16 10/10] test: unit test for eficonfig

2022-09-05 Thread Takahiro Akashi
On Mon, Sep 05, 2022 at 05:55:05PM +0200, Heinrich Schuchardt wrote: > On 9/5/22 14:48, Masahisa Kojima wrote: > > Provide a unit test for the eficonfig command. > > > > Signed-off-by: Masahisa Kojima > > Acked-by: Ilias Apalodimas > > --- > > Changes in v16: > > - call

Re: [PATCH v2 1/2] serial: mxc: enable the RX pipeline

2022-09-05 Thread Peng Fan
On 9/5/2022 5:58 PM, Johannes Schneider wrote: on imx8(mm) the RXDMUXSEL needs to be set for data going over the wire (as observable on a connected 'scope) to actually make it into the RXFIFO the reference manual is not overly clear about this, and only mentiones that "UCR3_RXDMUXSEL should

Re: [PATCH v2 2/2] serial: mxc: have putc use the TXFIFO

2022-09-05 Thread Peng Fan
On 9/5/2022 5:58 PM, Johannes Schneider wrote: only waiting for TXEMPTY leads to corrupted messages going over the wire - which is fixed by making use of the FIFO Could you please explain a bit more, why waiting TXEMPTY could lead to corrupted message? Thanks, Peng. Signed-off-by:

[PATCH 2/2] mmc: f_sdh30: Add support for F_SDH30_E51

2022-09-05 Thread Kunihiko Hayashi
Add Socionext F_SDH30_E51 IP support. The features of this IP includes CMD/DAT line delay and force card insertion mode for non-removable cards. And the IP needs to add some quirks. Signed-off-by: Kunihiko Hayashi --- drivers/mmc/Kconfig | 4 +-- drivers/mmc/f_sdh30.c | 64

[PATCH 1/2] mmc: sdhci: Add new quirks for SUPPORT_SINGLE

2022-09-05 Thread Kunihiko Hayashi
This patch defines a quirk to disable the block count for single block transactions. This is similar to Linux kernel commit d3fc5d71ac4d ("mmc: sdhci: add a quirk for single block transactions"). Signed-off-by: Kunihiko Hayashi --- drivers/mmc/sdhci.c | 8 +--- include/sdhci.h | 1 + 2

[PATCH 0/2] mmc: Add support for F_SDH30_E51

2022-09-05 Thread Kunihiko Hayashi
This series adds a new quirk "SUPPORT_SINGLE" for single transaction to sdhci framework and Socionext F_SDH30_E51 IP support to f_sdh30 driver. Kunihiko Hayashi (2): mmc: sdhci: Add new quirks for SUPPORT_SINGLE mmc: f_sdh30: Add support for F_SDH30_E51 drivers/mmc/Kconfig | 4 +--

Re: [PATCH 2/2] rpi: Copy eth PHY address from fw DT to loaded DT

2022-09-05 Thread Antoine Mazeas
Le 05/09/2022 à 15:19, Peter Robinson a écrit : On Wed, Aug 10, 2022 at 1:58 PM Antoine Mazeas wrote: Some Raspberry Pi 400 boards, specifically rev 1.1, have a different address for the ethernet PHY device than what is provided by the kernel DTB. The correct address is provided by the

[ANN] U-Boot v2022.10-rc4 released

2022-09-05 Thread Tom Rini
Hey all, It's release day and so here's v2022.10-rc4. Things are progressing well I believe and the next branch continues to be open. In terms of a changelog, git log --merges v2022.10-rc3..v2022.10-rc4 contains what I've pulled but as always, better PR messages and tags will provide better

Re: Pull request: u-boot-rockchip-20220905

2022-09-05 Thread Tom Rini
gt; -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20220905 > > for you to fetch changes up to f103c112660217f8875398435e47d545ba934a5c: > > clk: rockchip: rk3399: Fix Unknown

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-05 Thread Tony Dinh
Thanks Damiel! On Sun, Sep 4, 2022 at 3:10 PM Pali Rohár wrote: > > On Sunday 04 September 2022 22:58:19 Daniel Golle wrote: > > On Sun, Sep 04, 2022 at 12:28:24PM -0700, Tony Dinh wrote: > > > Hi Pali, > > > > > > On Sun, Sep 4, 2022 at 2:37 AM Pali Rohár wrote: > > > > > > > > On Saturday 03

Re: [PATCH v9 05/15] stm32mp1: dk2: Add image information for capsule updates

2022-09-05 Thread Etienne Carriere
Hello Sughosh, On Fri, 26 Aug 2022 at 11:57, Sughosh Ganu wrote: > > Enabling capsule update functionality on the platform requires > populating information on the images that are to be updated using the > functionality. Do so for the DK2 board. > > Signed-off-by: Sughosh Ganu > --- > Changes

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-05 Thread Antoine Mazeas
Sorry following up on your last comment, what specific issues are you referring to on the rev 1.3+ pi 4s ? It may be worth hunting them down, although I may lack access to such boards. Le 05/09/2022 à 15:41, Peter Robinson a écrit : Tested on RPi400 and it solves the issues with the kernel DT

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-05 Thread Antoine Mazeas
Hi Peter, Thanks for looking at this patch Le 05/09/2022 à 15:41, Peter Robinson a écrit : On Wed, Aug 10, 2022 at 1:58 PM Antoine Mazeas wrote: The RPI firmware adjusts several property values in the dtb it passes to u-boot depending on the board/SoC revision. Inherit some of these when

Re: [PATCH] configs: stm32mp*: fix system reset

2022-09-05 Thread Oleksandr Suvorov
On Mon, Sep 5, 2022 at 8:34 PM Jorge Ramirez-Ortiz wrote: > > Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI > from executing. > > The side effect observed are I2C devices no longer being > accessible from U-boot after a soft reset. > > Fixes: 11517ccc8c52 ("configs: add stm32mp13

[PATCH] configs: stm32mp*: fix system reset

2022-09-05 Thread Jorge Ramirez-Ortiz
Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI from executing. The side effect observed are I2C devices no longer being accessible from U-boot after a soft reset. Fixes: 11517ccc8c52 ("configs: add stm32mp13 defconfig") Fixes: 17aeb589fa9d ("stm32mp15: remove configs dependency on

Re: [PATCH v3 3/6] serial: Implement flush callback

2022-09-05 Thread Pali Rohár
On Monday 05 September 2022 19:24:17 Michael Nazzareno Trimarchi wrote: > Hi > > Il lun 5 set 2022, 11:32 Pali Rohár ha scritto: > > > UART drivers have putc/puts functions which just put characters into HW > > transmit queue and do not wait until all data are transmitted. > > > > Implement

Re: [PATCH v3 3/6] serial: Implement flush callback

2022-09-05 Thread Michael Nazzareno Trimarchi
Hi Il lun 5 set 2022, 11:32 Pali Rohár ha scritto: > UART drivers have putc/puts functions which just put characters into HW > transmit queue and do not wait until all data are transmitted. > > Implement flush callback via serial driver's pending(false) callback which > waits until HW transmit

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Nikita Shubin
On Mon, 5 Sep 2022 11:30:38 -0400 Sean Anderson wrote: > On 9/5/22 3:47 AM, Nikita Shubin wrote: > > Hi Rick! > > > > On Mon, 5 Sep 2022 14:22:41 +0800 > > Rick Chen wrote: > > > >> Hi, > >> > >> When I free-run a SMP system, I once hit a failure case where some > >> harts didn't boot to

Re: [PATCH] configs: stm32mp*: reset via CONFIG_RESET_SCMI

2022-09-05 Thread Oleksandr Suvorov
Jorge, I think, renaming the patch to "fix" and adding a field "Fixes:" should help accept it faster. On Mon, Sep 5, 2022 at 7:32 PM Jorge Ramirez-Ortiz, Foundries wrote: > > On 30/08/22, Jorge Ramirez-Ortiz wrote: > > Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI > > from executing.

Re: [PATCH] configs: stm32mp*: reset via CONFIG_RESET_SCMI

2022-09-05 Thread Jorge Ramirez-Ortiz, Foundries
On 30/08/22, Jorge Ramirez-Ortiz wrote: > Enabling CONFIG_SYSRESET_PSCI prevents CONFIG_RESET_SCMI > from executing. > > The side effect observed are I2C devices no longer being > accessible from U-boot after a soft reset. I think this PR should get a bit more of attention. The current reset

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Heinrich Schuchardt
On 9/5/22 18:14, Sean Anderson wrote: On 9/5/22 12:00 PM, Heinrich Schuchardt wrote: On 9/5/22 17:45, Sean Anderson wrote: On 9/5/22 11:41 AM, Heinrich Schuchardt wrote: On 9/5/22 17:30, Sean Anderson wrote: On 9/5/22 3:47 AM, Nikita Shubin wrote: Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Sean Anderson
On 9/5/22 12:00 PM, Heinrich Schuchardt wrote: On 9/5/22 17:45, Sean Anderson wrote: On 9/5/22 11:41 AM, Heinrich Schuchardt wrote: On 9/5/22 17:30, Sean Anderson wrote: On 9/5/22 3:47 AM, Nikita Shubin wrote: Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800 Rick Chen wrote: Hi, When I

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Heinrich Schuchardt
On 9/5/22 17:45, Sean Anderson wrote: On 9/5/22 11:41 AM, Heinrich Schuchardt wrote: On 9/5/22 17:30, Sean Anderson wrote: On 9/5/22 3:47 AM, Nikita Shubin wrote: Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800 Rick Chen wrote: Hi, When I free-run a SMP system, I once hit a failure case where

Re: [PATCH v16 10/10] test: unit test for eficonfig

2022-09-05 Thread Heinrich Schuchardt
On 9/5/22 14:48, Masahisa Kojima wrote: Provide a unit test for the eficonfig command. Signed-off-by: Masahisa Kojima Acked-by: Ilias Apalodimas --- Changes in v16: - call u_boot_console.restart_uboot() to clean the previous test state The test is still failing:

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Sean Anderson
On 9/5/22 11:41 AM, Heinrich Schuchardt wrote: On 9/5/22 17:30, Sean Anderson wrote: On 9/5/22 3:47 AM, Nikita Shubin wrote: Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800 Rick Chen wrote: Hi, When I free-run a SMP system, I once hit a failure case where some harts didn't boot to the kernel

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Heinrich Schuchardt
On 9/5/22 17:30, Sean Anderson wrote: On 9/5/22 3:47 AM, Nikita Shubin wrote: Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800 Rick Chen wrote: Hi, When I free-run a SMP system, I once hit a failure case where some harts didn't boot to the kernel shell successfully. However it can't be

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Sean Anderson
On 9/5/22 3:47 AM, Nikita Shubin wrote: Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800 Rick Chen wrote: Hi, When I free-run a SMP system, I once hit a failure case where some harts didn't boot to the kernel shell successfully. However it can't be duplicated anymore even if I try many times.

[PATCH 1/1] RISC-V: enable CONFIG_SYSRESET_SBI by default

2022-09-05 Thread Heinrich Schuchardt
System reset via the SRST extension in the SBI should be the default. The driver checks if the extension is available when probing. So there is no risk in enabling it. Signed-off-by: Heinrich Schuchardt --- drivers/sysreset/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

RE: [PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread ZHIZHIKIN Andrey
Hello Fabio, > -Original Message- > From: U-Boot On Behalf Of Fabio Estevam > Sent: Monday, September 5, 2022 1:20 PM > To: ZHIZHIKIN Andrey > Cc: Pali Rohár ; u-boot@lists.denx.de; trini > ; Peng Fan (OSS) ; Fabio Estevam > ; Stefano Babic > Subject: Re: [PATCH v1 0/2] serial_mxc:

[PATCH] mtd: nand: denali: Add SPL image loader

2022-09-05 Thread Jit Loon Lim
From: Tien Fong Chee Add image loader used by the NAND SPL into the full Denali NAND driver. This allows usage of the full Denali NAND driver in SPL instead of the reduced SPL-only version. Signed-off-by: Tien Fong Chee Signed-off-by: Jit Loon Lim --- drivers/mtd/nand/raw/denali.c | 55

[PATCH] mtd: nand: Allow full NAND framework in SPL

2022-09-05 Thread Jit Loon Lim
From: Tien Fong Chee Add configuration option to compile the entire NAND framework into U-Boot SPL. This is required by some drivers, like the Denali NAND, which use a lot of functionality from the NAND core. Signed-off-by: Marek Vasut Signed-off-by: Tien Fong Chee Signed-off-by: Jit Loon Lim

Re: [PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-09-05 Thread Peter Robinson
On Wed, Aug 10, 2022 at 1:58 PM Antoine Mazeas wrote: > > The RPI firmware adjusts several property values in the dtb it passes > to u-boot depending on the board/SoC revision. Inherit some of these > when u-boot loads a dtb itself. Specificaly copy: > > * /model: The firmware provides a more

Re: [PATCH 2/2] rpi: Copy eth PHY address from fw DT to loaded DT

2022-09-05 Thread Peter Robinson
On Wed, Aug 10, 2022 at 1:58 PM Antoine Mazeas wrote: > > Some Raspberry Pi 400 boards, specifically rev 1.1, have a different address > for the ethernet PHY device than what is provided by the kernel DTB. The > correct address is provided by the firmware, so we should carry it over into > the

Re: [PATCH] fdt_support: add optional board_rng_seed() hook

2022-09-05 Thread Rasmus Villemoes
On 02/09/2022 21.59, Simon Glass wrote: > Hi Rasmus, > > On Fri, 2 Sept 2022 at 01:00, Rasmus Villemoes > wrote: >> >>> What shall we do with this patch? Apply it? >> >> Well, that's probably not for me to decide (I guess Tom is), but I'd >> still like it applied. It's simple, and works now, and

[PATCH] arm: Enable cache-pl310 driver build for both SPL and proper U-Boot

2022-09-05 Thread Jit Loon Lim
From: Tien Fong Chee Moved CONFIG_SYS_L2_PL310 to the location where the build on the cache-pl310 can be taken in both SPL and proper U-Boot. This driver is required for SoCFPGA when temporarily turning on the cache for better performance in initializing whole DDR to zero. Signed-off-by: Tien

[PATCH v16 10/10] test: unit test for eficonfig

2022-09-05 Thread Masahisa Kojima
Provide a unit test for the eficonfig command. Signed-off-by: Masahisa Kojima Acked-by: Ilias Apalodimas --- Changes in v16: - call u_boot_console.restart_uboot() to clean the previous test state Changes in v14: - update to support media device enumeration in eficonfig startup - move no block

[PATCH v16 09/10] doc:eficonfig: add documentation for eficonfig command

2022-09-05 Thread Masahisa Kojima
Add documentation for eficonfig command. Signed-off-by: Masahisa Kojima Reviewed-by: Ilias Apalodimas --- No update since v15 Changes in v14: - fix typos Changes in v13: - describe how to auto boot according to the UEFI Boot option Changes in v12: - CONFIG_BOOTMENU_DISABLE_UBOOT_CONSOLE

[PATCH v16 08/10] doc:bootmenu: add description for UEFI boot support

2022-09-05 Thread Masahisa Kojima
The bootmenu enumerates the UEFI boot options for boot device selection. This commit adds the description how the UEFI boot work in bootmenu. This commit also adds "Synopsis", "Description" and "Configuration" sections to follow the U-Boot command documentation format. Signed-off-by: Masahisa

[PATCH v16 07/10] eficonfig: add "Change Boot Order" menu entry

2022-09-05 Thread Masahisa Kojima
This commit adds the menu entry to update UEFI BootOrder variable. User moves the entry with UP/DOWN key, changes the order with PLUS/MINUS key, press SPACE to activate or deactivate the entry, then finalizes the order by ENTER key. If the entry is activated, the boot index is added into the

[PATCH v16 05/10] bootmenu: add removable media entries

2022-09-05 Thread Masahisa Kojima
UEFI specification requires booting from removal media using a architecture-specific default image name such as BOOTAA64.EFI. This commit adds the removable media entries into bootmenu, so that user can select the removable media and boot with default image. The bootmenu automatically enumerates

[PATCH v16 06/10] eficonfig: scan media device in eficonfig startup

2022-09-05 Thread Masahisa Kojima
In eficonfig startup, scan media devices and update the UEFI boot option. Signed-off-by: Masahisa Kojima --- No update since v14 Newly created in v14 cmd/eficonfig.c | 4 1 file changed, 4 insertions(+) diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c index edb42d2742..285d2a11ec 100644

[PATCH v16 01/10] eficonfig: menu-driven addition of UEFI boot option

2022-09-05 Thread Masahisa Kojima
This commit add the "eficonfig" command. The "eficonfig" command implements the menu-driven UEFI boot option maintenance feature. This commit implements the addition of new boot option. User can select the block device volume having efi_simple_file_system_protocol and select the file corresponding

[PATCH v16 03/10] menu: add KEY_PLUS, KEY_MINUS and KEY_SPACE handling

2022-09-05 Thread Masahisa Kojima
This is preparation to support menu-driven UEFI BootOrder variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- No update since v11 Changes in v11: - add SPACE key handling Newly created in v7

[PATCH v16 04/10] eficonfig: add "Delete Boot Option" menu entry

2022-09-05 Thread Masahisa Kojima
This commit adds the menu entry to delete the UEFI boot option. User moves the entry with UP/DOWN key, changes, then presses ENTER key to delete the selected boot option. Signed-off-by: Masahisa Kojima --- No update since v11 Changes in v11: - update function interface to show boot selection

[PATCH v16 02/10] eficonfig: add "Edit Boot Option" menu entry

2022-09-05 Thread Masahisa Kojima
This commit adds the menu entry to edit the existing BOOT variable contents. User selects the item from the boot option list, then user can edit the description, file path and optional_data. Note that automatically generated boot option entry by bootmenu to support the removable media device

[PATCH v16 00/10] enable menu-driven UEFI variable maintenance

2022-09-05 Thread Masahisa Kojima
This series adds the menu-driven UEFI boot variable maintenance through the "eficonfig" new command. This series also adds the removable media support in bootmenu. Source code can be cloned with: $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b

Re: [PATCH v15 10/10] test: unit test for eficonfig

2022-09-05 Thread Masahisa Kojima
On Sun, 4 Sept 2022 at 18:08, Heinrich Schuchardt wrote: > > On 9/2/22 16:23, Masahisa Kojima wrote: > > Provide a unit test for the eficonfig command. > > > > Signed-off-by: Masahisa Kojima > > Acked-by: Ilias Apalodimas > > --- > > No update since v15 > > > > Changes in v14: > > - update to

Re: [PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread Fabio Estevam
Hi Andrey, On Mon, Sep 5, 2022 at 6:21 AM ZHIZHIKIN Andrey wrote: > I cannot modify this part since removing you from maintainer list would > require a transfer of maintainership of this component to another name, > which I do not know. > > I've Cc:'d Tom and people from imx world here so they

[PATCH] MAINTAINERS: imx: Add an entry for the serial driver

2022-09-05 Thread Fabio Estevam
From: Fabio Estevam Currently, when running ./scripts/get_maintainer.pl on serial_mxc.c no i.MX maintainer is returned. Fix it by adding an entry for this driver. Reported-by: Pali Rohár Signed-off-by: Fabio Estevam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 2/2] serial: mxc: have putc use the TXFIFO

2022-09-05 Thread Johannes Schneider
only waiting for TXEMPTY leads to corrupted messages going over the wire - which is fixed by making use of the FIFO Signed-off-by: Johannes Schneider --- (no changes since v1) drivers/serial/serial_mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 1/2] serial: mxc: enable the RX pipeline

2022-09-05 Thread Johannes Schneider
on imx8(mm) the RXDMUXSEL needs to be set for data going over the wire (as observable on a connected 'scope) to actually make it into the RXFIFO the reference manual is not overly clear about this, and only mentiones that "UCR3_RXDMUXSEL should always be set." - and since the CR3 register reverts

[PATCH v2 0/2] serial_mxc: fixing reception

2022-09-05 Thread Johannes Schneider
while writing to a imx-serial device is probably thoroughly tested - and obviosly works for the debug-serial - using a serial driver to read data received over the serial interface does not work reliably. the patches in this series address issues found during the implementation of a custom

[PATCH v1 2/2] serial: mxc: have putc use the TXFIFO

2022-09-05 Thread Johannes Schneider
only waiting for TXEMPTY leads to corrupted messages going over the wire - which is fixed by making use of the FIFO Signed-off-by: Johannes Schneider --- drivers/serial/serial_mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_mxc.c

[PATCH v1 1/2] serial: mxc: enable the RX pipeline

2022-09-05 Thread Johannes Schneider
on imx8(mm) the RXDMUXSEL needs to be set for data going over the wire (as observable on a connected 'scope) to actually make it into the RXFIFO the reference manual is not overly clear about this, and only mentiones that "UCR3_RXDMUXSEL should always be set." - and since the CR3 register reverts

[PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread Johannes Schneider
while writing to a imx-serial device is probably thoroughly tested - and obviosly works for the debug-serial - using a serial driver to read data received over the serial interface does not work reliably. the patches in this series address issues found during the implementation of a custom

Re: [PATCH 4/4] arm: dts: chameleonv3: Add 270-2 variant

2022-09-05 Thread Paweł Anikiel
On Fri, Sep 2, 2022 at 9:59 PM Simon Glass wrote: > > Hi Paweł, > > On Fri, 2 Sept 2022 at 07:16, Paweł Anikiel wrote: > > > > On Tue, Aug 30, 2022 at 5:57 PM Simon Glass wrote: > > > > > > Hi Paweł, > > > > > > On Tue, 30 Aug 2022 at 05:51, Paweł Anikiel wrote: > > > > > > > > On Tue, Aug 30,

Re: [PATCH v3] tee: optee: rework TA bus scanning code

2022-09-05 Thread Ilias Apalodimas
Hi Etienne On Mon, 5 Sept 2022 at 12:28, Etienne Carriere wrote: > > Hi Ilias, > > I commented v2 instead of you're latest post. > Please find my few comments below. > Addressed or not, Reviewed-by: Etienne Carriere Thanks, I'll send a v4 with the changes Cheers /Ilias > > > On Sat, 3 Sept

[PATCH v3 3/6] serial: Implement flush callback

2022-09-05 Thread Pali Rohár
UART drivers have putc/puts functions which just put characters into HW transmit queue and do not wait until all data are transmitted. Implement flush callback via serial driver's pending(false) callback which waits until HW transmit all characters from the queue. Signed-off-by: Pali Rohár ---

[PATCH v3 6/6] boot: Call flush() before booting

2022-09-05 Thread Pali Rohár
In a lot of cases kernel resets UART HW. To ensure that U-Boot messages printed before booting the kernel are not lost, call new U-Boot console flush() function. Signed-off-by: Pali Rohár --- Changes in v3: * Fix commit message --- boot/bootm_os.c | 1 + cmd/boot.c | 1 + cmd/elf.c |

[PATCH v3 2/6] console: Implement flush() function

2022-09-05 Thread Pali Rohár
On certain places it is required to flush output print buffers to ensure that text strings were sent to console or serial devices. For example when printing message that U-Boot is going to boot kernel or when U-Boot is going to change baudrate of terminal device. Therefore introduce a new flush()

[PATCH v3 4/6] serial: Implement serial_flush() function for console flush() fallback

2022-09-05 Thread Pali Rohár
Like in all other console functions, implement also serial_flush() function as a fallback int console flush() function. Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is enabled. So when it is disabled then provides just empty static inline function serial_flush().

[PATCH v3 5/6] serial: Call flush() before changing baudrate

2022-09-05 Thread Pali Rohár
Changing baudrate is a sensitive operation. To ensure that U-Boot messages printed before changing baudrate are not lost, call new U-Boot console flush() function. Signed-off-by: Pali Rohár --- Changes in v3: * Remove support from serial.c * Fix commit message --- cmd/load.c

[PATCH v3 1/6] sandbox: Add function os_flush()

2022-09-05 Thread Pali Rohár
It flushes stdout. Signed-off-by: Pali Rohár --- arch/sandbox/cpu/os.c | 5 + include/os.h | 8 2 files changed, 13 insertions(+) diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index f937991139c9..01845e388d35 100644 --- a/arch/sandbox/cpu/os.c +++

[PATCH v3 0/6] console: Implement flush() function

2022-09-05 Thread Pali Rohár
On certain places it is required to flush output print buffers to ensure that text strings were sent to console or serial devices. For example when printing message that U-Boot is going to boot kernel or when U-Boot is going to change baudrate of terminal device. Some console devices, like UART,

Re: [PATCH v3] tee: optee: rework TA bus scanning code

2022-09-05 Thread Etienne Carriere
Hi Ilias, I commented v2 instead of you're latest post. Please find my few comments below. Addressed or not, Reviewed-by: Etienne Carriere On Sat, 3 Sept 2022 at 09:54, Ilias Apalodimas wrote: > > Late versions of OP-TEE support a pseudo bus. TAs that behave as > hardware blocks (e.g TPM,

Re: [PATCH v2] tee: optee: rework TA bus scanning code

2022-09-05 Thread Etienne Carriere
Hi Ilias, Reviewed-by: Etienne Carriere with minor comments. On Fri, 2 Sept 2022 at 21:11, Ilias Apalodimas wrote: > > Thanks Jens > > On Wed, 31 Aug 2022 at 08:59, Jens Wiklander > wrote: > > > > On Mon, Aug 29, 2022 at 8:34 AM Ilias Apalodimas > > wrote: > > > > > > Late versions of

RE: [PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread ZHIZHIKIN Andrey
Hello Pali, > -Original Message- > From: U-Boot On Behalf Of Pali Rohar > Sent: Monday, September 5, 2022 11:14 AM > To: ZHIZHIKIN Andrey > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v1 0/2] serial_mxc: fixing reception > > On Monday 05 September 2022 09:12:49 ZHIZHIKIN Andrey

[PATCH] ARM: dts: stm32mp15: remove hwlocks from pinctrl

2022-09-05 Thread Etienne Carriere
Removes hwlocks properties from stm32mp151 pinctrl node. These locks could be used for other purpose, depending on board and software configuration hence do not enforce their use to protect pinctrl devices. This patch is an alignment with Linux device tree with v6.0 as the hwsem support wasn’t

Re: [PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread Pali Rohár
On Monday 05 September 2022 09:12:49 ZHIZHIKIN Andrey wrote: > Hello Pali, > > > -Original Message- > > From: U-Boot On Behalf Of Pali Rohar > > Sent: Monday, September 5, 2022 10:59 AM > > To: u-boot@lists.denx.de > > Subject: Re: [PATCH v1 0/2] serial_mxc: fixing reception > > > > On

RE: [PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread ZHIZHIKIN Andrey
Hello Pali, > -Original Message- > From: U-Boot On Behalf Of Pali Rohar > Sent: Monday, September 5, 2022 10:59 AM > To: u-boot@lists.denx.de > Subject: Re: [PATCH v1 0/2] serial_mxc: fixing reception > > On Monday 05 September 2022 10:53:58 Johannes Schneider wrote: > > while writing

Re: [PATCH v1 0/2] serial_mxc: fixing reception

2022-09-05 Thread Pali Rohár
On Monday 05 September 2022 10:53:58 Johannes Schneider wrote: > while writing to a imx-serial device is probably thoroughly tested - and > obviosly works for the debug-serial - using a serial driver to read data > received over the serial interface does not work reliably. > > the patches in

Re: [PATCH v2 1/9] nand: atmel: Add DM based NAND driver

2022-09-05 Thread Eugen.Hristev
On 8/29/22 9:19 AM, Balamanikandan Gunasundar wrote: > This implementation is ported from the rework done by Boris Brezillon > in Linux. This porting is done based on linux-5.4-at91. The driver is > tested in sam9x60ek, sama5d3_xplained, sam9x75eb and sama7g54-ddr3-eb. > > Changes done includes >

Re: RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Nikita Shubin
Hi Rick! On Mon, 5 Sep 2022 14:22:41 +0800 Rick Chen wrote: > Hi, > > When I free-run a SMP system, I once hit a failure case where some > harts didn't boot to the kernel shell successfully. > However it can't be duplicated anymore even if I try many times. > > But when I set a break during

Re: [PATCH v15 01/10] eficonfig: menu-driven addition of UEFI boot option

2022-09-05 Thread Masahisa Kojima
Hi Heinrich, On Sun, 4 Sept 2022 at 18:05, Heinrich Schuchardt wrote: > > On 9/2/22 16:23, Masahisa Kojima wrote: > > This commit add the "eficonfig" command. > > The "eficonfig" command implements the menu-driven UEFI boot option > > maintenance feature. This commit implements the addition of >

RISCV: the machanism of available_harts may cause other harts boot failure

2022-09-05 Thread Rick Chen
Hi, When I free-run a SMP system, I once hit a failure case where some harts didn't boot to the kernel shell successfully. However it can't be duplicated anymore even if I try many times. But when I set a break during debugging with GDB, it can trigger the failure case each time. I think the