Re: [PATCH v2 1/4] riscv: dts: Update memory configuration

2022-10-26 Thread Padmarao.Begari
Hi Conor, > On Tue, 2022-10-25 at 19:50 +, Conor Dooley - M52691 wrote: > On 22/10/2022 12:21, Conor Dooley wrote: > > > > On Fri, Oct 21, 2022 at 12:29:19PM +0530, Padmarao Begari wrote: > > > In the v2022.10 Icicle reference design, the seg registers are > > > going to be > > > > Hey

Re: [PATCH v2 1/4] riscv: dts: Update memory configuration

2022-10-26 Thread Padmarao.Begari
On Sat, 2022-10-22 at 12:21 +0100, Conor Dooley wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Fri, Oct 21, 2022 at 12:29:19PM +0530, Padmarao Begari wrote: > > In the v2022.10 Icicle reference design, the seg registers are > > going

Re: [PATCH 1/1] cli: always show cursor

2022-10-26 Thread Heinrich Schuchardt
On 10/26/22 01:35, Simon Glass wrote: Hi Heinrich, On Sat, 22 Oct 2022 at 03:21, Heinrich Schuchardt wrote: We may enter the command line interface in a state where on the remote console the cursor is not shown. Send an escape sequence to enable it. Signed-off-by: Heinrich Schuchardt

[PATCH v1] imx: imx8qxp: imx8qxp_mek switch to binman

2022-10-26 Thread Oliver Graute
Switch to use binman pack images Signed-off-by: Oliver Graute --- arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 127 +++ arch/arm/mach-imx/imx8/Kconfig | 1 + board/freescale/imx8qxp_mek/imximage.cfg | 3 +- configs/imx8qxp_mek_defconfig| 2 +

[PATCH v1 2/2] i2c: microchip: fix erroneous late ack send

2022-10-26 Thread Conor Dooley
A late ack is currently being sent at the end of a transfer due to incorrect logic in mchp_corei2c_empty_rx(). Currently the Assert Ack bit is being written to the controller's control reg after the last byte has been received, causing it to sent another byte with the ack. Instead, the AA flag

Re: [PATCH v2] serial: mxc: Keep the original FIFO empty check

2022-10-26 Thread Michael Nazzareno Trimarchi
Hi Fabio On Wed, Oct 26, 2022 at 2:18 AM Fabio Estevam wrote: > > Hi Tim, > > On 25/10/2022 20:23, Tim Harvey wrote: > > > Fabio, > > > > This resolves the issue. Why would the kernel not suffer from this as > > well? We are essentially saying if the FIFO is not full but also not > > empty we

Re: [PATCH v2 3/4] spi: Add Microchip PolarFire SoC QSPI driver

2022-10-26 Thread Padmarao.Begari
On Sat, 2022-10-22 at 12:46 +0100, Conor Dooley wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Fri, Oct 21, 2022 at 12:29:21PM +0530, Padmarao Begari wrote: > > Add QSPI driver code for the Microchip PolarFire SoC. > > This driver

Re: [PATCH V2 00/13] IOT2050-related enhancements

2022-10-26 Thread Jan Kiszka
On 05.10.22 10:33, Jan Kiszka wrote: > (Almost) flushing our upstream queue for the IOT2050 device, this mostly > brings board-specific changes such as: > > - updated build process and firmware layout for PG1 vs. PG2 devices > - more watchdog preparations > - preparations for verified boot on

[PATCH v1 0/2] i2c: microchip: misc minor fixes

2022-10-26 Thread Conor Dooley
Hey all, Pair of fixes here for some of the logic in the microchip i2c driver. Both were reported against the Linux driver, which formed the basis for the U-Boot driver & the issues are present here too. Thanks, Conor. Conor Dooley (2): i2c: microchip: fix ack sending logic i2c: microchip:

[PATCH v1 1/2] i2c: microchip: fix ack sending logic

2022-10-26 Thread Conor Dooley
"Master receive mode" was not correctly sending ACKs/NACKs in the interrupt handler. Bring the handling of M_SLAR_ACK, M_RX_DATA_ACKED & M_RX_DATA_NACKED in line with the Linux driver. Fixes: 0dc0d1e094 ("i2c: Add Microchip PolarFire SoC I2C driver") Reported-by: Shravan Chippa Signed-off-by:

[GIT PULL] Please pull u-boot-pmic master

2022-10-26 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-pmic master into u-boot master branch. If there is a problem, let me know, plz Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/13944 The following changes since commit f9d16f2c0daf68dcb963c08c927f5f0a07cf75e4:

Re: [PATCH v3] cmd: mtd: check if a block has to be skipped or erased

2022-10-26 Thread Dario Binacchi
Hi Mikhail, On Mon, Oct 24, 2022 at 1:24 PM Mikhail Kshevetskiy wrote: > > > On 24.10.2022 12:44, Dario Binacchi wrote: > > [External email] > > > > > > > > > > > > From: Mikhail Kshevetskiy > > > > As reported by patch [1], the `mtd erase' command should not erase bad > > blocks. > > To force

Re: [PATCH v1] imx: imx8qxp: imx8qxp_mek switch to binman

2022-10-26 Thread Peng Fan
On Wed, Oct 26, 2022 at 09:33:16AM +0200, Oliver Graute wrote: >Switch to use binman pack images > >Signed-off-by: Oliver Graute >--- > arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 127 +++ > arch/arm/mach-imx/imx8/Kconfig | 1 + >

Re: [PATCH v1 2/2] i2c: microchip: fix erroneous late ack send

2022-10-26 Thread Conor.Dooley
On 26/10/2022 08:49, Conor Dooley wrote: > A late ack is currently being sent at the end of a transfer due to > incorrect logic in mchp_corei2c_empty_rx(). Currently the Assert Ack > bit is being written to the controller's control reg after the last > byte has been received, causing it to sent

Re: [u-boot][PATCH] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-26 Thread Michael Nazzareno Trimarchi
Hi Roger On Mon, Oct 10, 2022 at 12:38 PM Roger Quadros wrote: > > +Dario > > On 29/09/2022 13:11, Roger Quadros wrote: > > OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries > > to read the header into 'struct hdr' which is allocated on the > > stack. > > > > As the header has

Re: [PATCH] arm: dts: ti: k3-am64-main: Add RTI watchdog nodes

2022-10-26 Thread Fabio Estevam
Hi Christian, On Wed, Oct 26, 2022 at 6:42 AM Christian Gmeiner wrote: > > Add the needed bus mappings for the two main RTI memory ranges and > the required device tree nodes in the main domain. > > Same as kernel commit 6dd8457dc20693e2ba9054c171499b22664fd4e7 You missed to add your

[PATCH v6 4/5] eficonfig: add UEFI Secure Boot Key enrollment interface

2022-10-26 Thread Masahisa Kojima
This commit adds the menu-driven UEFI Secure Boot Key enrollment interface. User can enroll the PK, KEK, db and dbx by selecting EFI Signature Lists file. After the PK is enrolled, UEFI Secure Boot is enabled and EFI Signature Lists file must be signed by KEK or PK. Signed-off-by: Masahisa Kojima

[PATCH v6 5/5] eficonfig: add "Show/Delete Signature Database" menu entry

2022-10-26 Thread Masahisa Kojima
This commit adds the menu-driven interface to show and delete the signature database. EFI Signature Lists can contain the multiple signature entries, this menu can delete the indivisual entry. If the PK is enrolled and UEFI Secure Boot is in User Mode or Deployed Mode, user can not delete the

[PATCH v6 3/5] eficonfig: refactor change boot order implementation

2022-10-26 Thread Masahisa Kojima
This commit refactors change boot order implementation to use 'eficonfig_entry' structure. Signed-off-by: Masahisa Kojima --- No update since v5 Changes in v5: - remove direct access mode newly created in v4 cmd/eficonfig.c | 129 +--- 1 file

[PATCH v6 2/5] eficonfig: expose append entry function

2022-10-26 Thread Masahisa Kojima
This commit exposes the eficonfig menu entry append function. Signed-off-by: Masahisa Kojima --- No change since v2 newly created in v2 cmd/eficonfig.c | 32 +--- include/efi_config.h | 5 + 2 files changed, 22 insertions(+), 15 deletions(-) diff --git

[PATCH v1] imx: imx8qm: imx8qm_mek switch to binman

2022-10-26 Thread Oliver Graute
Signed-off-by: Oliver Graute --- arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 2 ++ arch/arm/mach-imx/imx8/Kconfig | 1 + board/freescale/imx8qm_mek/README | 2 +- board/freescale/imx8qm_mek/imximage.cfg | 2 +- configs/imx8qm_mek_defconfig| 2 ++ 5 files changed, 7

[PATCH v1] imx: imx8qxp: deneb switch to binman

2022-10-26 Thread Oliver Graute
Signed-off-by: Oliver Graute --- arch/arm/mach-imx/imx8/Kconfig | 1 + configs/deneb_defconfig| 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig index 63d99ea23e..018b87b85b 100644 --- a/arch/arm/mach-imx/imx8/Kconfig

[PATCH] arm: dts: ti: k3-am64-main: Add RTI watchdog nodes

2022-10-26 Thread Christian Gmeiner
Add the needed bus mappings for the two main RTI memory ranges and the required device tree nodes in the main domain. Same as kernel commit 6dd8457dc20693e2ba9054c171499b22664fd4e7 --- arch/arm/dts/k3-am64-main.dtsi | 18 ++ arch/arm/dts/k3-am64.dtsi | 2 ++ 2 files

Re: [u-boot][PATCH v2 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-26 Thread Roger Quadros
Tom, On 26/10/2022 02:35, Simon Glass wrote: > Hi Tom, > > On Thu, 20 Oct 2022 at 06:29, Tom Rini wrote: >> >> On Thu, Oct 20, 2022 at 03:23:42PM +0300, Roger Quadros wrote: >>> Hi Tom, >>> >>> On 19/10/2022 15:54, Tom Rini wrote: On Wed, Oct 19, 2022 at 11:17:35AM +0300, Roger Quadros

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

2022-10-26 Thread Balamanikandan.Gunasundar
On 25/10/22 4:36 pm, Michael Nazzareno Trimarchi wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hi > > On Tue, Oct 25, 2022 at 12:52 PM Balamanikandan Gunasundar > wrote: >> >> This implementation is ported from the rework done by

[PATCH] treewide: Remove the unnecessary space before semicolon

2022-10-26 Thread Bin Meng
%s/return ;/return; Signed-off-by: Bin Meng --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 2 +- arch/powerpc/cpu/mpc85xx/fdt.c| 6 +++--- arch/powerpc/cpu/mpc85xx/liodn.c | 4 ++--

[PATCH] rpi: copy the eMMC controller configuration from firmware-supplied DT

2022-10-26 Thread Jian-Hong Pan
From: Ilya Katsnelson The RPi firmware adjusts the onboard eMMC controller's DMA mapping ranges of the FDT for each BCM2711 SoC revisions on the Pi 4 and RPi 400 automatically. If the following kernel does not boot with the correct eMMC controller's DMA mapping ranges, the system on the SD card

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

2022-10-26 Thread Fabio Estevam
Hi Peng, On Wed, Oct 26, 2022 at 7:11 AM Peng Fan wrote: > This may bring the issue that Johannes met back It looks like Johannes met the problem in the FIFO full case. Johannes, Could you please test this change? Thanks

[PATCH v2] arm: dts: ti: k3-am64-main: Add RTI watchdog nodes

2022-10-26 Thread Christian Gmeiner
Add the needed bus mappings for the two main RTI memory ranges and the required device tree nodes in the main domain. Same as kernel commit 6dd8457dc20693e2ba9054c171499b22664fd4e7 Signed-off-by: Christian Gmeiner --- arch/arm/dts/k3-am64-main.dtsi | 18 ++

[PATCH v1] imx: imx8qxp: giedi switch to binman

2022-10-26 Thread Oliver Graute
Signed-off-by: Oliver Graute --- arch/arm/dts/imx8qxp-capricorn-u-boot.dtsi | 127 + arch/arm/mach-imx/imx8/Kconfig | 1 + board/siemens/capricorn/imximage.cfg | 2 +- configs/giedi_defconfig| 2 + 4 files changed, 131

Re: [PATCH v1] imx: imx8qxp: deneb switch to binman

2022-10-26 Thread Peng Fan
On 10/26/2022 4:44 PM, Oliver Graute wrote: Signed-off-by: Oliver Graute --- arch/arm/mach-imx/imx8/Kconfig | 1 + configs/deneb_defconfig| 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig index

Re: question about uboot mt7620 RAM_VERSION

2022-10-26 Thread Kang-sen Lu
Hi, Stefan: I am sorry that I was working on an old uboot version. You mentioned that you have ported uboot to my7620. I would like to download it. Is it available at this site? https://github.com/u-boot/u-boot. Thanks. Kang-sen On Tue, Oct 25, 2022 at 10:47 AM Stefan Roese wrote: > Hi

Re: [PATCH 00/39] lcd: Drop old LCD support

2022-10-26 Thread Tim Harvey
On Wed, Oct 19, 2022 at 10:52 AM Simon Glass wrote: > > Hi Tim, > > On Wed, 19 Oct 2022 at 11:07, Tim Harvey wrote: > > > > On Wed, Oct 19, 2022 at 4:58 AM Simon Glass wrote: > > > > > > The conversion to DM_VIDEO was completed some years ago. The old video > > > code has been removed but the

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

2022-10-26 Thread Peng Fan
Hi Fabio On 10/26/2022 6:19 AM, Fabio Estevam wrote: Hi Tim, On 25/10/2022 18:37, Tim Harvey wrote: Fabio and Pali, Seems reasonable but this does not resolve the problem. Whatever I print in board_init gets cutoff by the print from dm_announce. Should we check for both TXFULL and TXEMPTY

[PATCH v6 1/5] eficonfig: refactor eficonfig_select_file_handler()

2022-10-26 Thread Masahisa Kojima
eficonfig_select_file_handler() is commonly used to select the file. eficonfig_display_select_file_option() intends to add the additional menu mainly to clear the selected file information. eficonfig_display_select_file_option() is not necessary for the file selection process, so it should be

[PATCH v6 0/5] eficonfig: add UEFI Secure Boot key maintenance interface

2022-10-26 Thread Masahisa Kojima
This series adds the UEFI Secure Boot key maintenance interface to the eficonfig command. User can enroll and delete the PK, KEK, db and dbx. Source code can be cloned with: $ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b kojima/eficonfig_sbkey_v6 Masahisa Kojima (5):

Re: [PATCH] rtc: add ht1380 driver

2022-10-26 Thread Sergei Antonov
On Wed, 26 Oct 2022 at 02:35, Simon Glass wrote: > > +static void ht1380_half_period_delay(void) > > +{ > > + /* Delay for half a period. 1 us complies with the 500 KHz maximum > > + input serial clock limit given by the datasheet. */ > > /* > * Delay for half... > * second line

RE: [PATCH] drivers: mmc: Reset watchdog when accessing mmc device

2022-10-26 Thread Jaehoon Chung
Hi, > -Original Message- > From: qianfan [mailto:qianfangui...@163.com] > Sent: Tuesday, August 30, 2022 12:43 PM > To: Jaehoon Chung ; u-boot@lists.denx.de > Cc: Peng Fan > Subject: Re: [PATCH] drivers: mmc: Reset watchdog when accessing mmc device > > > > 在 2022/7/26 16:31, Jaehoon

Re: [PATCH v1] imx: imx8qm: imx8qm_mek switch to binman

2022-10-26 Thread Peng Fan
On 10/26/2022 4:09 PM, Oliver Graute wrote: Signed-off-by: Oliver Graute --- arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 2 ++ arch/arm/mach-imx/imx8/Kconfig | 1 + board/freescale/imx8qm_mek/README | 2 +- board/freescale/imx8qm_mek/imximage.cfg | 2 +-

Re: [PATCH v3] cmd: mtd: check if a block has to be skipped or erased

2022-10-26 Thread Mikhail Kshevetskiy
On 26.10.2022 09:29, Dario Binacchi wrote: > [External email] > > > > > > Hi Mikhail, > > On Mon, Oct 24, 2022 at 1:24 PM Mikhail Kshevetskiy > wrote: >> >> On 24.10.2022 12:44, Dario Binacchi wrote: >>> [External email] >>> >>> >>> >>> >>> >>> From: Mikhail Kshevetskiy >>> >>> As reported by

Re: [PATCH] imx8m: Select BINMAN via SoC level

2022-10-26 Thread Peng Fan
On 10/25/2022 10:32 PM, Fabio Estevam wrote: From: Fabio Estevam Since all imx8m boards have been converted to use binman, select binman via SoC level rather than making the selection for each board. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan ---

Re: [GIT PULL] Please pull u-boot-pmic master

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 03:22:12PM +0900, Jaehoon Chung wrote: > Dear Tom, > > > Please pull u-boot-pmic master into u-boot master branch. > If there is a problem, let me know, plz > > Best Regards, > Jaehoon Chung > > CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/13944

Re: Please pull u-boot-watchdog/master

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 06:44:03AM +0200, Stefan Roese wrote: > Hi Tom, > > On 24.10.22 13:43, Stefan Roese wrote: > > Hi Tom, > > > > please pull the following watchdog related changes: > > > > > > - nuvoton: add expire function

Re: [PATCH v2 2/4] treewide: Use NULL for script image name

2022-10-26 Thread Patrick DELAUNAY
Hi, On 10/20/22 21:24, Sean Anderson wrote: Two callers of image_source_script specify an image name. However, both use the deprecated @ syntax, indicating that they have not been updated in a while. If CONFIG_FIT_SIGNATURE is enabled, we will reject such names outright. Back in commit

[PATCH 0/4] configs: evb-ast2500: defconfig adjustments

2022-10-26 Thread Cédric Le Goater
Hello, Here are small adjustments to the evb-ast2500 defconfig to match the flash layout of openbmc/upstream Linux. With these, one can boot a system from a flash image containing an upstream U-Boot, an upstream kernel and an upstream buildroot using the default configs provided by each

Re: [u-boot][PATCH v2 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 01:41:12PM +0300, Roger Quadros wrote: > Tom, > > On 26/10/2022 02:35, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 20 Oct 2022 at 06:29, Tom Rini wrote: > >> > >> On Thu, Oct 20, 2022 at 03:23:42PM +0300, Roger Quadros wrote: > >>> Hi Tom, > >>> > >>> On 19/10/2022

Re: Wolfgang Denk

2022-10-26 Thread Tom Rini
On Fri, Oct 21, 2022 at 05:11:33PM +0200, Stefano Babic wrote: > Dear U-Boot community, > > it is my very sad duty to inform you that Wolfgang Denk, the father of > U-Boot, passed away last week. We have lost a great developer and a very > good friend. > > I met Wolfgang the first time quite 25

Re: imx8 regression: cyclic_register for watchdog@30280000 failed

2022-10-26 Thread Rasmus Villemoes
On 25/10/2022 18.32, Tim Harvey wrote: > Greetings, > > I've noticed a regression since the merge of the cyclic framework use > for watchdog on my imx8m boards: > > cyclic_register for watchdog@3028 failed > WDT: Failed to start watchdog@3028 > > A bisect lead me to the following 3

Re: [u-boot][PATCH v2 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-26 Thread Tom Rini
On Tue, Oct 25, 2022 at 05:35:29PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 20 Oct 2022 at 06:29, Tom Rini wrote: > > > > On Thu, Oct 20, 2022 at 03:23:42PM +0300, Roger Quadros wrote: > > > Hi Tom, > > > > > > On 19/10/2022 15:54, Tom Rini wrote: > > > > On Wed, Oct 19, 2022 at

[PATCH v5] imx: imx8qm: cgtqmx8: switch to binman

2022-10-26 Thread Oliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute Reviewed-by: Fabio Estevam Reviewed-by: Simon Glass Reviewed-by: Peng Fan --- Changes for v5 - added CONFIG_FIT_EXTERNAL_OFFSET Changes for v4 - rebased on master Changes for v3 -added Reviewed-by - rebased on master

[PATCH v5] imx: imx8qm-rom7720: switch to binman

2022-10-26 Thread Oliver Graute
Switch to use binman to pack images Signed-off-by: Oliver Graute --- Changes for v5: - renamed ftd to @fdt-SEQ Changes for v4 - remove hardcoded dtb filename - added CONFIG_FIT_EXTERNAL_OFFSET Changes for v3 - just rebased to master Changes for v2 - just rebased to master

Re: [PATCH v5] imx: imx8qm: cgtqmx8: switch to binman

2022-10-26 Thread Oliver Graute
On 25/10/22, Fabio Estevam wrote: > Hi Oliver, > > On Tue, Oct 25, 2022 at 12:31 PM Oliver Graute > wrote: > > > Now Running into this issue: > > > > MKIMAGE u-boot.img > > MKIMAGE u-boot-dtb.img > > LD u-boot.elf > > make[1]: Für das Ziel „SPL“ ist nichts zu tun. > > BINMAN all

Re: [PATCH] phy: usbphyc: use regulator_set_enable_if_allowed for disabling vbus supply

2022-10-26 Thread Marek Vasut
On 10/26/22 15:09, Patrick DELAUNAY wrote: Hi Marek, On 9/20/22 13:39, Patrick Delaunay wrote: Use regulator_set_enable_if_allowed() api instead of regulator_set_enable() while disabling vbus supply. This way the driver doesn't see an error when it disable an always-on regulator for VBUS.

Re: [PATCH v5 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-10-26 Thread Peng Fan
On 10/25/2022 5:54 PM, Martyn Welch wrote: The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - None

[PATCH 3/4] configs: evb-ast2500: Add support for FIT format

2022-10-26 Thread Cédric Le Goater
Signed-off-by: Cédric Le Goater --- configs/evb-ast2500_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index 8646e6944803..5364b6ac3703 100644 --- a/configs/evb-ast2500_defconfig +++ b/configs/evb-ast2500_defconfig @@

[PATCH 2/4] configs: evb-ast2500: Adjust boot command

2022-10-26 Thread Cédric Le Goater
Loading a kernel image is enough. Signed-off-by: Cédric Le Goater --- configs/evb-ast2500_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index ad0feeb71df5..8646e6944803 100644 ---

[PATCH 1/4] configs: evb-ast2500: Remove MMC support from default settings

2022-10-26 Thread Cédric Le Goater
This saves ~50K in the resulting u-boot.bin file which is important to fit in the U-Boot partition defined in the flash layout of upstream Linux. Signed-off-by: Cédric Le Goater --- configs/evb-ast2500_defconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 4/4] configs: evb-ast2500: Set environment in SPI flash

2022-10-26 Thread Cédric Le Goater
We now have a SPI flash driver. Let's use it. Signed-off-by: Cédric Le Goater --- configs/evb-ast2500_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index 5364b6ac3703..65a7056ebdbf 100644 ---

Re: [u-boot][PATCH] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 08:30:40AM +0200, Michael Nazzareno Trimarchi wrote: > Hi Roger > > On Mon, Oct 10, 2022 at 12:38 PM Roger Quadros wrote: > > > > +Dario > > > > On 29/09/2022 13:11, Roger Quadros wrote: > > > OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries > > > to

[PATCH] dm: pmic: ignore disabled node in pmic_bind_children

2022-10-26 Thread Patrick Delaunay
Ignore the disabled children node in pmic_bind_children() so the disabled regulators in device tree are not registered. This patch is based on the dm_scan_fdt_node() code - only the activated nodes are bound - and it solves possible issue when a deactivated regulator is bound, error for

Re: [PATCH V2 00/13] IOT2050-related enhancements

2022-10-26 Thread Marek Vasut
On 10/26/22 15:54, Tom Rini wrote: On Wed, Oct 26, 2022 at 09:28:09AM +0200, Jan Kiszka wrote: On 05.10.22 10:33, Jan Kiszka wrote: (Almost) flushing our upstream queue for the IOT2050 device, this mostly brings board-specific changes such as: - updated build process and firmware layout for

Re: [PATCH] phy: usbphyc: use regulator_set_enable_if_allowed for disabling vbus supply

2022-10-26 Thread Patrick DELAUNAY
Hi Marek, On 9/20/22 13:39, Patrick Delaunay wrote: Use regulator_set_enable_if_allowed() api instead of regulator_set_enable() while disabling vbus supply. This way the driver doesn't see an error when it disable an always-on regulator for VBUS. This patch is needed for STM32MP157C-DK2 board

Re: [PATCH V2 00/13] IOT2050-related enhancements

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 09:28:09AM +0200, Jan Kiszka wrote: > On 05.10.22 10:33, Jan Kiszka wrote: > > (Almost) flushing our upstream queue for the IOT2050 device, this mostly > > brings board-specific changes such as: > > > > - updated build process and firmware layout for PG1 vs. PG2 devices >

Re: [PATCH V2 00/13] IOT2050-related enhancements

2022-10-26 Thread Jan Kiszka
On 26.10.22 16:03, Marek Vasut wrote: > On 10/26/22 15:54, Tom Rini wrote: >> On Wed, Oct 26, 2022 at 09:28:09AM +0200, Jan Kiszka wrote: >>> On 05.10.22 10:33, Jan Kiszka wrote: (Almost) flushing our upstream queue for the IOT2050 device, this mostly brings board-specific changes

[PATCH v2] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-26 Thread Roger Quadros
OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries to read the header into 'struct hdr' which is allocated on the stack. As the header has already been read once before by spl_nand.c, we can avoid the extra header allocation and read here by simply passing around the pointer to

Re: [PATCH v2] spl: spl_legacy: Fix NAND boot on OMAP3 BeagleBoard

2022-10-26 Thread Tom Rini
On Wed, Oct 26, 2022 at 10:19:56PM +0300, Roger Quadros wrote: > OMAP3 BeagleBoard NAND boot hangs when spl_load_legacy_img() tries > to read the header into 'struct hdr' which is allocated on the > stack. > > As the header has already been read once before by spl_nand.c, > we can avoid the

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

2022-10-26 Thread SCHNEIDER Johannes
Hi the thing with only checking !TXEMPTY is that it limits the fifo to one byte only; and as far as i understood, drivermodel code is supposed to return immediately and not block possibly waiting indefinitely for a hardware/status register to change a colleague pointed out the use of barriers

Re: [PATCH 1/3] Licenses: Clarify exceptions for standalone apps

2022-10-26 Thread Tom Rini
On Thu, May 05, 2022 at 03:32:40PM +, Paul Barker wrote: > On 2010-01-27, an email [1] was sent to the mailing list by Wolfgang > Denk which clarified the intended licensing exceptions for standalone > applications. As the "export.h" header and the "stubs.c" source files > are required to

Re: [u-boot][PATCH v3 1/4] dm: memory: Introduce new uclass

2022-10-26 Thread Tom Rini
On Thu, Oct 20, 2022 at 04:30:46PM +0300, Roger Quadros wrote: > Introduce UCLASS_MEMORY for future Memory Controller > device drivers. > > Signed-off-by: Roger Quadros > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] examples: hello_world: Drop inclusion of common header

2022-10-26 Thread Tom Rini
On Thu, May 05, 2022 at 03:32:41PM +, Paul Barker wrote: > The "common.h" header is not covered by the licensing exception for > standalone applications. Let's drop inclusion of this header from the > hello_world example to prove that a standalone app can be built without > it. > >

Re: [u-boot][PATCH v3 2/4] scripts: Makefile.spl: Enable memory drivers to be built for SPL

2022-10-26 Thread Tom Rini
On Thu, Oct 20, 2022 at 04:30:47PM +0300, Roger Quadros wrote: > Introduce CONFIG_SPL_MEMORY to allow Memory drivers to > be built for SPL. > > Signed-off-by: Roger Quadros > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] crypto: hash: sw: fix Kconfig dependencies

2022-10-26 Thread Tom Rini
On Wed, Jun 29, 2022 at 12:27:34PM +0200, Benjamin Bara wrote: > From: Benjamin Bara > > Fix SHA512 config name and add missing SHA384 config. > > Signed-off-by: Benjamin Bara Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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

2022-10-26 Thread Pali Rohár
On Wednesday 26 October 2022 22:22:28 SCHNEIDER Johannes wrote: > a colleague pointed out the use of barriers in the quoted kernel code snippet > -> are we perhaps running into code-reordering issues; that checking the > status flags and writing into the queue gets out of sync? I was always in

Re: [PATCH v6 7/8] net: add MV88E61xx DSA driver

2022-10-26 Thread Vladimir Oltean
Sorry for the late reply. On Thu, Oct 13, 2022 at 11:09:32AM -0700, Tim Harvey wrote: > The SERDES configuration on the 88E6352/88E6240/88E6176/88E6172 (which > I have documentation for) is not in port specific registers so I think > I should move that to the probe function for the switch. It's

Re: [PATCH v7 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-10-26 Thread Vladimir Oltean
After the realization from the v6 review, can you please add to this: On Wed, Oct 26, 2022 at 09:28:59AM -0700, Tim Harvey wrote: > diff --git a/arch/arm/dts/imx6qdl-gw5904.dtsi > b/arch/arm/dts/imx6qdl-gw5904.dtsi > index 612b6e068e28..c0790183c013 100644 > ---

Re: [PATCH v7 7/8] net: add MV88E6xxx DSA driver

2022-10-26 Thread Tim Harvey
On Wed, Oct 26, 2022 at 12:55 PM Vladimir Oltean wrote: > > This patch looks much better to me. Only one comment. > > On Wed, Oct 26, 2022 at 09:28:58AM -0700, Tim Harvey wrote: > > +static int mv88e6xxx_port_enable(struct udevice *dev, int port, struct > > phy_device *phy) > > +{ > > +

Re: [PATCH V2 00/13] IOT2050-related enhancements

2022-10-26 Thread Marek Vasut
On 10/26/22 17:55, Jan Kiszka wrote: On 26.10.22 16:03, Marek Vasut wrote: On 10/26/22 15:54, Tom Rini wrote: On Wed, Oct 26, 2022 at 09:28:09AM +0200, Jan Kiszka wrote: On 05.10.22 10:33, Jan Kiszka wrote: (Almost) flushing our upstream queue for the IOT2050 device, this mostly brings

Re: [u-boot][PATCH v3 3/4] dt/bindings: memory: Add bindings for TI GPMC driver

2022-10-26 Thread Tom Rini
On Thu, Oct 20, 2022 at 04:30:48PM +0300, Roger Quadros wrote: > GPMC stands for General Purpose Memory Controller and it is > present on many Texas Instruments SoCs. > > It supports a number of Asynchronous and Synchronous interfaces > and has various settings to configure the bus interface. >

Re: [u-boot][PATCH v3 4/4] memory: Add TI GPMC driver

2022-10-26 Thread Tom Rini
On Thu, Oct 20, 2022 at 04:30:49PM +0300, Roger Quadros wrote: > The GPMC is a unified memory controller dedicated for interfacing > with external memory devices like > - Asynchronous SRAM-like memories and ASICs > - Asynchronous, synchronous, and page mode burst NOR flash > - NAND flash > -

Re: [PATCH v2] mkimage: fit: Fix signing of configs with external data

2022-10-26 Thread Tom Rini
On Thu, Oct 20, 2022 at 03:41:10PM -0400, Sean Anderson wrote: > Just like we exclude data-size, data-position, and data-offset from > fit_config_check_sig, we must exclude them while signing as well. > > While we're at it, use the FIT_DATA_* defines for fit_config_check_sig > as welll. > >

Re: [PATCH] test: Move to a working version of setuptools

2022-10-26 Thread Tom Rini
On Fri, Oct 21, 2022 at 07:30:43PM -0600, Simon Glass wrote: > The version used on Ubuntu 2022.04 produces a number of warnings: > > /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: >PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version >and will not be

Re: [PATCH v7 7/8] net: add MV88E6xxx DSA driver

2022-10-26 Thread Vladimir Oltean
This patch looks much better to me. Only one comment. On Wed, Oct 26, 2022 at 09:28:58AM -0700, Tim Harvey wrote: > +static int mv88e6xxx_port_enable(struct udevice *dev, int port, struct > phy_device *phy) > +{ > + struct mv88e6xxx_priv *priv = dev_get_priv(dev); > + int val, ret; > + >

[PATCH v7 1/8] net: mdio-uclass: scan for dm mdio children on post-bind

2022-10-26 Thread Tim Harvey
If a DM_MDIO driver is used we need to scan the subnodes as well. Signed-off-by: Tim Harvey Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Reviewed-by: Fabio Estevam --- v7: - no changes v6: - no changes v5: - added Fabio's rb tag v4: - no changes v3: - no changes v2: - added

[PATCH v7 0/8] Add MV88E6xxx DSA driver and use on gwventana

2022-10-26 Thread Tim Harvey
This series adds a DSA driver for the MV88E6xxx based on drivers/net/phy/mv88e61xx and uses it in the gwventana_gw5904_defconfig. The hope is that the other three boards that use the MV88E61xx driver can move to this as well eventually so that we can remove the non-dm driver and the 4 Kconfig

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

2022-10-26 Thread Pali Rohár
On Tuesday 25 October 2022 19:19:01 Fabio Estevam wrote: > Hi Tim, > > On 25/10/2022 18:37, Tim Harvey wrote: > > > Fabio and Pali, > > > > Seems reasonable but this does not resolve the problem. Whatever I > > print in board_init gets cutoff by the print from dm_announce. > > Should we check

[PATCH v2 2/3] clk: stm32mp13: introduce STM32MP13 RCC driver

2022-10-26 Thread Gabriel Fernandez
Introduce STM32MP13 RCC driver using Common Clock Framework. Signed-off-by: Gabriel Fernandez Reviewed-by: Patrick Delaunay Tested-by: Patrick Delaunay --- (no changes since v1) drivers/clk/stm32/Kconfig | 15 + drivers/clk/stm32/Makefile | 2 +

[PATCH v2 3/3] arm: dts: stm32mp13: add support of RCC driver

2022-10-26 Thread Gabriel Fernandez
Adds support of Clock and Reset drivers for STM32MP13 platform. Signed-off-by: Gabriel Fernandez --- Changes in v2: - deference check_security() call back - use of ccf_clk_(enable/disable/get_rate/set_rate) ops - fix gate refcounting - documented structures in clock-core API - remove useless

[PATCH v7 5/8] net: ksz9477: remove unnecessary xmit and recv functions

2022-10-26 Thread Tim Harvey
Remove the unnecessary xmit and recv functions. Signed-off-by: Tim Harvey Reviewed-by: Vladimir Oltean Reviewed-by: Fabio Estevam --- v7: - no changes v6: - no changes v5: - added Fabio's rb tag v4: - no changes v3: - added Vladimir's rb tag v2: new patch --- drivers/net/ksz9477.c | 23

[PATCH v7 3/8] net: dsa: ensure dsa driver has proper ops

2022-10-26 Thread Tim Harvey
Add a function to sanity check a dsa driver having proper ops. Suggested-by: Vladimir Oltean Signed-off-by: Tim Harvey Reviewed-by: Vladimir Oltean Reviewed-by: Fabio Estevam --- v7: - no changes v6: - no changes v5: - added Fabio's rb tag v4: - no changes v3: - added Vladimir's rb tag

[PATCH v7 6/8] net: fec: add support for DM_MDIO

2022-10-26 Thread Tim Harvey
Add support for DM_MDIO by registering a UCLASS_MDIO driver and attempting to use it. This is necessary if wanting to use a DSA driver for example hanging off of the FEC MAC. Care is taken to fallback to non DM_MDIO mii bus as several boards define DM_MDIO without having the proper device-tree

[PATCH v7 4/8] net: dsa: allow rcv() and xmit() to be optional

2022-10-26 Thread Tim Harvey
Allow rcv() and xmit() dsa driver ops to be optional in case a driver does not care to mangle a packet as in U-Boot only one network port is enabled at a time and thus no packet mangling is necessary. Suggested-by: Vladimir Oltean Signed-off-by: Tim Harvey Reviewed-by: Vladimir Oltean

[PATCH v7 2/8] net: dsa: move cpu port probe to dsa_post_probe

2022-10-26 Thread Tim Harvey
In order to ensure that a DSA driver probe gets called before dsa_ops->port_probe move the port_probe of the cpu_port to a post-probe function. Signed-off-by: Tim Harvey Reviewed-by: Ramon Fried Reviewed-by: Vladimir Oltean Reviewed-by: Fabio Estevam --- v7: - no changes v6: - removed

Re: [PATCH] serial: mxc: Wait until TX FIFO is not full

2022-10-26 Thread Michael Nazzareno Trimarchi
Hi On Tue, Oct 25, 2022 at 11:32 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Tim Harvey reported the console garbage on imx6 since > commit c7878a0483c5 ("serial: mxc: have putc use the TXFIFO"). > > Do as suggested by Pali Rohár where the the driver should > not return -EAGAIN when the

Re: [PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-10-26 Thread Sean Anderson
On 10/25/22 20:52, Bin Meng wrote: > Hi Sean, > > On Wed, Oct 26, 2022 at 7:35 AM Simon Glass wrote: >> >> Hi, >> >> On Mon, 24 Oct 2022 at 22:57, Stefan Roese wrote: >> > >> > On 24.10.22 18:49, Bin Meng wrote: >> > > On Mon, Oct 24, 2022 at 11:42 PM Sean Anderson >> > > wrote: >> > >> >> >

[PATCH v2 1/3] dt-bindings: stm32mp13: add clock & reset support for STM32MP13

2022-10-26 Thread Gabriel Fernandez
Add support of stm32mp13 DT bindings of clock and reset. Signed-off-by: Gabriel Fernandez Reviewed-by: Patrick Delaunay --- (no changes since v1) MAINTAINERS | 2 + include/dt-bindings/clock/stm32mp13-clks.h | 229 +++

[PATCH v2 0/3] Introduce STM32MP13 RCC driver

2022-10-26 Thread Gabriel Fernandez
This serie adds support of clock and reset for STM32MP13. Changes in v2: - deference check_security() call back - use of ccf_clk_(enable/disable/get_rate/set_rate) ops - fix gate refcounting - documented structures in clock-core API - remove useless spinlocks - cosmetic changes - remove useless

Re: [PATCH] serial: mxc: Wait until TX FIFO is not full

2022-10-26 Thread Sean Anderson
On 10/26/22 13:08, Michael Nazzareno Trimarchi wrote: > Hi > > On Tue, Oct 25, 2022 at 11:32 PM Fabio Estevam wrote: >> >> From: Fabio Estevam >> >> Tim Harvey reported the console garbage on imx6 since >> commit c7878a0483c5 ("serial: mxc: have putc use the TXFIFO"). >> >> Do as suggested by

Adapteva Parallella board

2022-10-26 Thread Martin Husemann
Hey folks, the other day I was asked to test some changes on my Adapteva Parallella board, which I hadn't used for ages. I noticed it has an ancient u-boot: U-Boot 2012.10-3-g792c31c (Jan 03 2014 - 12:24:08) I2C: ready DRAM: 992 MiB WARNING: Caches not enabled MMC: SDHCI: 0 SF:

Re: [PATCH v3 1/2] x86: fsp: Depend on DM_RTC

2022-10-26 Thread Sean Anderson
On 10/26/22 11:58, Sean Anderson wrote: > On 10/25/22 20:52, Bin Meng wrote: >> Hi Sean, >> >> On Wed, Oct 26, 2022 at 7:35 AM Simon Glass wrote: >>> >>> Hi, >>> >>> On Mon, 24 Oct 2022 at 22:57, Stefan Roese wrote: >>> > >>> > On 24.10.22 18:49, Bin Meng wrote: >>> > > On Mon, Oct 24, 2022 at

[PATCH v7 7/8] net: add MV88E6xxx DSA driver

2022-10-26 Thread Tim Harvey
Add a DSA driver for the MV88E6xxx compatible Ethernet switches. Cc: Marek Behún Cc: Vladimir Oltean Signed-off-by: Tim Harvey Reviewed-by: Vladimir Oltean Reviewed-by: Fabio Estevam --- v7: - rebase on master - update commit short msg (s/MV88E61xx/MV88E6xxx) - replace inline smi_cmd*

  1   2   >