Re: [PATCH 1/2] xen: Add dependency on armv8

2023-04-11 Thread Marek Vasut
On 4/11/23 13:23, Michal Simek wrote: Xen core calls HYPERVISOR_memory_op() in map_shared_info() which is just in xen_init() called from init_sequence_r[]. Xen can run only on armv8 where HVC calls are implemented that's why enable it only for arm64. Doesn't ARMv7a also support HYP mode ?

Re: [PATCH v2 04/10] sunxi: Convert H616 DRAM options to single setting

2023-04-11 Thread Jernej Škrabec
Dne torek, 11. april 2023 ob 12:13:04 CEST je Andre Przywara napisal(a): > On Mon, 10 Apr 2023 10:21:13 +0200 > > Jernej Skrabec wrote: > > Vendor DRAM settings use TPR10 parameter to enable various features. > > There are many mores features that just those that are currently > > mentioned.

Re: [PATCH] arm: dts: k3-j721e-sk-u-boot: Resync dts file and binding with Linux Kernel

2023-04-11 Thread Sinthu Raja M
+Kumar, Udit On Thu, Apr 6, 2023 at 10:37 AM Sinthu Raja M < sinthu.r...@mistralsolutions.com> wrote: > Hi, > > > On Fri, Mar 31, 2023 at 12:09 PM Sinthu Raja > wrote: > > > > From: Sinthu Raja > > > > This resyncs the dts file of j721e-sk with the currently in-tree K3 > > platforms. Of note

[PATCH] board: freescale: imx93_evk: Fix MMC environment offset boot conflict.

2023-04-11 Thread Ken Sloat
>From 734bfa4e4556976fe85c741f13ae94161cae97e6 Mon Sep 17 00:00:00 2001 From: Ken Sloat Date: Tue, 11 Apr 2023 16:05:31 -0400 Currently, the imx93_evk is configured with CONFIG_ENV_IS_IN_MMC and the chosen environment offset in the config is 0x40. Unless the user programs the associated

[PATCH 10/17] arm: dts: am3x: Update IOPAD to PADCONF to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Several DTS files have been updated in the Linux kernel with a new PADCONF macro replacing the IOPAD version. Sync for the same here. Signed-off-by: Andrew Davis --- arch/arm/dts/am335x-base0033.dts| 48 ++-- arch/arm/dts/am335x-chiliboard.dts | 66 +++---

Re: [PATCH] ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot

2023-04-11 Thread Tony Dinh
Hi Stefan, On Tue, Apr 11, 2023 at 1:36 AM Stefan Roese wrote: > > Hi Tony, > > On 4/3/23 06:42, Tony Dinh wrote: > > - DDR Training sequence happens very fast. The speedup in boot time is > > negligible by skipping the training sequence during 2nd boot or after. > > So remove the check and

Re: [PATCH 2/2] sunxi: remove support for boot0 header reservation

2023-04-11 Thread Andre Przywara
On Sat, 08 Apr 2023 08:19:16 +0200 Jernej Škrabec wrote: Hi, > Dne sreda, 05. april 2023 ob 16:27:31 CEST je Andre Przywara napisal(a): > > In the early days of the Allwinner A64 U-Boot support, we relied on a > > vendor provided "boot0" binary to perform the DRAM initialisation. This > >

Re: [PATCH v4 1/3] starfive: pci: Add StarFive JH7110 pcie driver

2023-04-11 Thread Pali Rohár
Hello! On Tuesday 11 April 2023 09:02:07 Minda Chen wrote: > +int starfive_pcie_config_write(struct udevice *udev, pci_dev_t bdf, > +uint offset, ulong value, > +enum pci_size_t size) > +{ > + struct starfive_pcie *priv =

Re: [PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2023-04-11 Thread Filip Žaludek
On 2/8/23 20:01, Mark Kettenis wrote: Date: Wed, 8 Feb 2023 19:45:36 +0100 From: Michal Suchánek Hello, On Wed, Jan 18, 2023 at 05:01:12PM +0100, Filip Žaludek wrote: Hi Michal, thanks for testing! Do you consider keyboard as working once it is detected without 'usb_kbd usb_kbd:

Re: [PATCH v3 08/25] menu: Make use of CLI character processing

2023-04-11 Thread Daniel Golle
On Fri, Jan 06, 2023 at 08:52:26AM -0600, Simon Glass wrote: > Avoid duplicating some of the escape-sequence processing here and use the > CLI function instead. > > Signed-off-by: Simon Glass > --- > > [...] > diff --git a/common/menu.c b/common/menu.c > index 7db98942a61..45f36ae3ede 100644 >

[PATCH v2 u-boot-mvebu] cmd: mvebu/bubt: a38x: Do not hardcode SATA block size to 512

2023-04-11 Thread Pali Rohár
Find SATA block device by blk_get_devnum_by_uclass_id() function and read from it the real block size of the SATA disk. In case of error, fallback back to 512 bytes. Signed-off-by: Pali Rohár --- cmd/mvebu/bubt.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [PATCH u-boot-mvebu 2/7] cmd: mvebu/bubt: a38x: Do not hardcode SATA block size to 512

2023-04-11 Thread Pali Rohár
On Tuesday 11 April 2023 14:33:31 Stefan Roese wrote: > Hi Pali, > > On 3/29/23 21:25, Pali Rohár wrote: > > Find SATA block device by blk_get_devnum_by_uclass_id() function and read > > from it the real block size of the SATA disk. > > > > Signed-off-by: Pali Rohár > > --- > >

[PATCH 16/17] arm: dts: keystone: Non-functional changes sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis --- arch/arm/dts/keystone-clocks.dtsi | 52 +- arch/arm/dts/keystone-k2e-clocks.dtsi | 8 +--

[PATCH 13/17] arm: dts: dra7x: Non-functional changes sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis --- arch/arm/dts/am571x-idk.dts| 6 +- arch/arm/dts/am572x-idk-common.dtsi| 8 +-

[PATCH 11/17] arm: dts: am437x: Update to IOPAD to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Several DTS files have been updated in the Linux kernel with a new IOPAD macro. Sync for the same here. Signed-off-by: Andrew Davis --- arch/arm/dts/am437x-gp-evm.dts | 315 - arch/arm/dts/am437x-sk-evm.dts | 290 +++--- 2 files changed,

[PATCH 12/17] arm: dts: am3x: Non-functional changes sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis --- arch/arm/dts/am335x-bone-common.dtsi | 1 - arch/arm/dts/am335x-boneblack-hdmi.dtsi | 7 +-

[PATCH 15/17] arm: dts: omap: Non-functional changes sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis --- arch/arm/dts/omap-gpmc-smsc911x.dtsi | 6 ++-- arch/arm/dts/omap-gpmc-smsc9221.dtsi | 6 ++--

[PATCH 14/17] arm: dts: dm8x: Non-functional changes sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
This is a collection of all the whitespace, renames, comment, and other changes that should not change the DT functionality from Linux v6.3-rc6. Signed-off-by: Andrew Davis --- arch/arm/dts/da850-evm.dts | 20 ++-- arch/arm/dts/da850-lego-ev3.dts | 2 +-

[PATCH 08/17] arm: dts: omap5x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/omap5-board-common.dtsi | 2 +- arch/arm/dts/omap5-core-thermal.dtsi | 7 ++- arch/arm/dts/omap5-gpu-thermal.dtsi | 7 ++- arch/arm/dts/omap5-uevm.dts | 2 +- arch/arm/dts/omap5.dtsi | 2 +- 5 files changed, 7

[PATCH 17/17] Revert "arm: dts: dra7*/am57xx-idk-evm-u-boot: Add ipu early boot DT changes"

2023-04-11 Thread Andrew Davis
This reverts commit 5717294230bc3578959960003be898433642. This does not exist in upstream kernel.org and breaks boot on DRA7-EVMs. Drop the same. Signed-off-by: Andrew Davis --- arch/arm/dts/am57xx-idk-common-u-boot.dtsi | 1 - arch/arm/dts/dra7-evm-u-boot.dtsi | 1 -

[PATCH 09/17] arm: dts: keystone: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/keystone-clocks.dtsi | 7 ++- arch/arm/dts/keystone-k2e-clocks.dtsi | 7 ++- arch/arm/dts/keystone-k2e-evm.dts | 7 ++- arch/arm/dts/keystone-k2e-netcp.dtsi | 7 ++- arch/arm/dts/keystone-k2e.dtsi | 7 ++-

[PATCH 01/17] arm: dts: am3x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/am335x-base0033.dts| 5 + arch/arm/dts/am335x-chiliboard.dts | 7 ++- arch/arm/dts/am335x-chilisom.dtsi | 7 ++- arch/arm/dts/am335x-evm.dts | 7 ++- arch/arm/dts/am335x-evmsk.dts | 7 ++-

[PATCH 07/17] arm: dts: omap4x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/omap4-cpu-thermal.dtsi | 7 ++- arch/arm/dts/omap4-panda-common.dtsi | 2 +- arch/arm/dts/omap4-panda-es.dts | 2 +- arch/arm/dts/omap4-panda.dts | 2 +- arch/arm/dts/omap4-sdp-es23plus.dts | 2 +- arch/arm/dts/omap4-sdp.dts

[PATCH 00/17] Sync TI Device Trees with Linux v6.3-rc6

2023-04-11 Thread Andrew Davis
Hello all, Some of the Device Tree files in U-Boot have become out of sync with the ones in the Linux kernel tree. To start fixing this, make some of the more trivial changes for the non-K3 TI SoC based devices. The first 9 patches just update the comment headers which should be completely safe

[PATCH 02/17] arm: dts: am43x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/am4372.dtsi| 7 ++- arch/arm/dts/am437x-gp-evm.dts | 7 ++- arch/arm/dts/am437x-idk-evm.dts | 7 ++- arch/arm/dts/am437x-sk-evm.dts | 7 ++- arch/arm/dts/am43x-epos-evm.dts | 7 ++- arch/arm/dts/am43xx-clocks.dtsi | 5

[PATCH 05/17] arm: dts: dra7x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/dra7-dspeve-thermal.dtsi | 7 ++- arch/arm/dts/dra7-evm-common.dtsi | 7 ++- arch/arm/dts/dra7-evm.dts | 7 ++- arch/arm/dts/dra7-iva-thermal.dtsi| 7 ++- arch/arm/dts/dra7-mmc-iodelay.dtsi| 2 +-

[PATCH 06/17] arm: dts: omap3x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/omap-gpmc-smsc9221.dtsi | 1 + arch/arm/dts/omap3-beagle-xm-ab.dts | 7 ++- arch/arm/dts/omap3-beagle-xm.dts | 7 ++- arch/arm/dts/omap3-beagle.dts| 7

[PATCH 04/17] arm: dts: dm8x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/da850-evm.dts | 7 ++- arch/arm/dts/da850-lcdk.dts | 3 +-- arch/arm/dts/da850-lego-ev3.dts | 6 +- arch/arm/dts/da850.dtsi | 6 +- arch/arm/dts/dm8168-evm.dts | 6 +- arch/arm/dts/dm816x-clocks.dtsi | 6 +-

[PATCH 03/17] arm: dts: am57x: Update devicetree header comments to sync with v6.3-rc6

2023-04-11 Thread Andrew Davis
Signed-off-by: Andrew Davis --- arch/arm/dts/am571x-idk.dts| 7 ++- arch/arm/dts/am5729-beagleboneai.dts | 1 + arch/arm/dts/am572x-idk-common.dtsi| 2 +- arch/arm/dts/am572x-idk.dts| 7 ++- arch/arm/dts/am574x-idk.dts| 2 +-

Re: [PATCH v2 0/2] Add DTS for BPI-R3

2023-04-11 Thread Pali Rohár
How many times I have to repeat to not send me mediatek changes for which I'm not maintainer??? On Tuesday 11 April 2023 17:19:45 Frank Wunderlich wrote: > From: Frank Wunderlich > > Add board specific devicetree for BananaPi R3. > > It is taken from openwrt >

Re: [PATCH v2] rockchip: rk3328: Add support for FriendlyARM NanoPi R2C

2023-04-11 Thread Pali Rohár
Hello! I'm not rockchip maintainer, how many times I need to repeat it to not send me rockchip patches? Or is there something important for me? On Tuesday 11 April 2023 18:14:49 Tianling Shen wrote: > The NanoPi R2C is a minor variant of NanoPi R2S with the on-board NIC > chip changed from

[PATCH v3 1/3] net: dhcp6: Add DHCPv6 (DHCP for IPv6)

2023-04-11 Thread seanedmond
From: Sean Edmond Adds DHCPv6 protocol to u-boot. Allows for address assignement with DHCPv6 4-message exchange (SOLICIT->ADVERTISE->REQUEST->REPLY). Includes DHCPv6 options required by RFC 8415. Also adds DHCPv6 options required for PXE boot. Possible enhancements: - Duplicate address

[PATCH v3 2/3] net: dhcp6: pxe: Add DHCP/PXE commands for IPv6

2023-04-11 Thread seanedmond
From: Sean Edmond Adds commands to support DHCP and PXE with IPv6. New configs added: - CMD_DHCP6 - DHCP6_PXE_CLIENTARCH - DHCP6_PXE_DHCP_OPTION - DHCP6_ENTERPRISE_ID New commands added (when IPv6 is enabled): - dhcp6 - pxe get -ipv6 - pxe boot -ipv6 Signed-off-by: Sean Edmond ---

[PATCH v3 0/3] net: DHCPv6 protocol and commands

2023-04-11 Thread seanedmond
From: Sean Edmond The recently integrated IPv6 patch series relies on the link-local address, or a statically assigned IPv6 address for network operations. This patch series adds IPv6 address assignment through DHCPv6. The implementation meets the requirements in RFC 8415 for "Client/Server

[PATCH v3 3/3] net: dhcp6: Add a sandbox test for dhcp6

2023-04-11 Thread seanedmond
From: Sean Edmond Requires proper environment with DHCP6 server provisioned. Signed-off-by: Sean Edmond --- configs/sandbox_defconfig | 1 + test/py/tests/test_net.py | 25 + 2 files changed, 26 insertions(+) diff --git a/configs/sandbox_defconfig

Re: [PATCH v5 1/6] FWU: Add FWU metadata access driver for MTD storage regions

2023-04-11 Thread Etienne Carriere
Hello Jassi, Few comments below. On Tue, 11 Apr 2023 at 01:03, wrote: > > From: Masami Hiramatsu > > In the FWU Multi Bank Update feature, the information about the > updatable images is stored as part of the metadata, on a separate > region. Add a driver for reading from and writing to the

Re: [PATCH v5 2/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-11 Thread Etienne Carriere
On Tue, 11 Apr 2023 at 01:03, wrote: > > From: Masami Hiramatsu > > Add 'mkfwumdata' tool to generate FWU metadata image for the meta-data > partition to be used in A/B Update imeplementation. > > Signed-off-by: Sughosh Ganu > Signed-off-by: Jassi Brar > Signed-off-by: Masami Hiramatsu > ---

[PATCH] ARM: imx9: support env in fat and ext4

2023-04-11 Thread Oleksandr Suvorov
Change boot device logic to also allow environment stored in fat and in ext4 when booting from SD or eMMC. As the boot device check for SD and for eMMC was depending on ENV_IS_IN_MMC being defined, change the ifdef blocks at env_get_location to use IS_ENABLED instead for all modes, returning

Re: [PATCH v5 4/6] configs: move to new flash layout and boot flow

2023-04-11 Thread Etienne Carriere
Hello Jassi, On Tue, 11 Apr 2023 at 01:04, wrote: > > From: Jassi Brar > > Towards enabling FWU and supporting new firmware layout in NOR flash, > make u-boot PIC and adjust uboot env offset in flash. > > Signed-off-by: Jassi Brar > --- > configs/synquacer_developerbox_defconfig | 4 ++-- > 1

Re: [PATCH v5 5/6] fwu: DeveloperBox: add support for FWU

2023-04-11 Thread Etienne Carriere
Hello Jassi, On Tue, 11 Apr 2023 at 01:04, wrote: > > From: Jassi Brar > > Add code to support FWU_MULTI_BANK_UPDATE. > The platform does not have gpt-partition storage for > Banks and MetaData, rather it used SPI-NOR backed > mtd regions for the purpose. > I think you should mention this

Re: [PATCH 0/8] Add ESM support for J721E and J7200

2023-04-11 Thread Andrew Davis
On 4/11/23 4:21 AM, Neha Malcom Francis wrote: Hi Bryan On 10/04/23 20:09, Bryan Brattlof wrote: Hi Neha! On April 10, 2023 thus sayeth Neha Malcom Francis: Add support for ESM (Error Signalling Module) in J721E and J7200. The ESM error pin output is routed to the PMIC (Power Management IC)

[PATCH v2 1/2] board: mediatek: add Bananapi-R3 devicetree

2023-04-11 Thread Frank Wunderlich
From: Daniel Golle Add board specific devicetree for Bananapi R3 SBC. Signed-off-by: Daniel Golle Signed-off-by: Frank Wunderlich --- taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled the

[PATCH v2 2/2] configs: change bpi-r3 to board specific dts and change prompt

2023-04-11 Thread Frank Wunderlich
From: Frank Wunderlich Use own devicetree for the board and change the prompt. Signed-off-by: Frank Wunderlich --- configs/mt7986a_bpir3_emmc_defconfig | 6 +++--- configs/mt7986a_bpir3_sd_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 0/2] Add DTS for BPI-R3

2023-04-11 Thread Frank Wunderlich
From: Frank Wunderlich Add board specific devicetree for BananaPi R3. It is taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled the factory button which was disabled because a HW-bug in rev 1.0

[PATCH v3] ata: pci: enable bus mastering

2023-04-11 Thread Christian Gmeiner
The non DM code path already would enable pci bus mastering. Do the same for the DM code path. Fixes AHCI problems I am seeing on an Intel Apollolake device. Signed-off-by: Christian Gmeiner Reviewed-by: Bin Meng --- v2: Add Bin's R-b and remove the ending '.' from comment. v3: Add the patch

Re: [PATCH v2] ata: pci: enable bus mastering

2023-04-11 Thread Christian Gmeiner
Am Di., 11. Apr. 2023 um 16:29 Uhr schrieb Bin Meng : > > On Tue, Apr 11, 2023 at 10:25 PM Christian Gmeiner > wrote: > > > > The non DM code path already would enable pci bus mastering. Do the > > same for the DM code path. > > > > Fixes AHCI problems I am seeing on an Intel Apollolake device. >

Re: [PATCH v2 1/4] Revert "net: ipv6: Add support for default gateway discovery."

2023-04-11 Thread Ehsan Mohandesi
You are right, Viacheslav. I should not have included the revert commit in my patch. I think I need to remove it and send a v3 of my patch series. On 4/11/2023 2:01 AM, Vyacheslav V. Mitrofanov wrote: On Mon, 2023-04-10 at 12:34 -0700, emohand...@linux.microsoft.com wrote: From: Ehsan

Re: Please pull u-boot-i2c

2023-04-11 Thread Tom Rini
On Tue, Apr 11, 2023 at 01:04:13PM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c: > > The following changes since commit 11c25c6df0b56ee7eee2c4ddc7f075880daeb8c7: > > Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2023-04-10 > 08:32:11 -0400) > > are

Re: [PATCH v2] ata: pci: enable bus mastering

2023-04-11 Thread Bin Meng
On Tue, Apr 11, 2023 at 10:25 PM Christian Gmeiner wrote: > > The non DM code path already would enable pci bus mastering. Do the > same for the DM code path. > > Fixes AHCI problems I am seeing on an Intel Apollolake device. > > v2: Add Bin's R-b and remove the ending '.' from comment. The

[PATCH v2] ata: pci: enable bus mastering

2023-04-11 Thread Christian Gmeiner
The non DM code path already would enable pci bus mastering. Do the same for the DM code path. Fixes AHCI problems I am seeing on an Intel Apollolake device. v2: Add Bin's R-b and remove the ending '.' from comment. Signed-off-by: Christian Gmeiner Reviewed-by: Bin Meng ---

Re: [PATCH v2 3/8] arm: dts: k3-am62: Bump dtsi from linux

2023-04-11 Thread Nishanth Menon
On 20:55-20230406, Sjoerd Simons wrote: > Update the am62 and am625 device-trees from linux v6.3-rc5 This needed the > following > tweaks to the u-boot specific dtsi as well: > - Switch tick-timer to the main_timer as it's now defined in the main dtsi > - Add mdio pins to the cpsw3g pinctrl. It

[PATCH v2] mmc: fsl_esdhc: Do not set UHS_CAPS based on CONFIG_MMC_UHS_SUPPORT

2023-04-11 Thread Fabio Estevam
From: Fabio Estevam Since commit 1a7904fdfa7d ("mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps") the following SD card error is observed on an imx7d-sdb board: U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) CPU: Freescale i.MX7D rev1.0 1000 MHz (running at

Re: [PATCH] ARM: dts: sun6i: mixtile-loftq: Add USB1 VBUS regulator

2023-04-11 Thread Andre Przywara
On Sun, 22 Jan 2023 17:50:19 -0600 Samuel Holland wrote: Hi, > This board is configured with CONFIG_USB1_VBUS_PIN="PH24", but no > regulator exists in its device tree. Add the regulator, so USB will > continue to work when the PHY driver switches to using the regulator > uclass instead of a

Re: [PATCH] ata: pci: enable bus mastering

2023-04-11 Thread Bin Meng
On Tue, Apr 11, 2023 at 7:23 PM Christian Gmeiner wrote: > > The non DM code path already would enable pci bus mastering. Do the > same for the DM code path. > > Fixes AHCI problems I am seeing on an Intel Apollolake device. > > Signed-off-by: Christian Gmeiner > --- > drivers/ata/ahci.c | 7

Re: [PATCH u-boot-mvebu 2/7] cmd: mvebu/bubt: a38x: Do not hardcode SATA block size to 512

2023-04-11 Thread Stefan Roese
Hi Pali, On 3/29/23 21:25, Pali Rohár wrote: Find SATA block device by blk_get_devnum_by_uclass_id() function and read from it the real block size of the SATA disk. Signed-off-by: Pali Rohár --- cmd/mvebu/bubt.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [BUG] issues with new bootflow, uefi and virtio

2023-04-11 Thread Vincent Stehlé
On Fri, Apr 07, 2023 at 05:31:06PM +1200, Simon Glass wrote: .. > > When combined with the patch from Mathew[1], it does indeed repair the case > > of > > efi boot with two virtio disks, specifically when the first virtio disk is > > the > > one we want to boot from. > > FWIW, the system will

Re: [PATCH] configs: am62: Add configs for enabling ETHBOOT in R5SPL

2023-04-11 Thread Siddharth Vadapalli
Hello, Kindly ignore this patch. On 11-04-2023 15:03, Siddharth Vadapalli wrote: > From: Kishon Vijay Abraham I > > Add configs for enabling ETHBOOT in R5SPL. Adding a separate config > minimizes the risk of going past the R5-SPL size limit for any future > config additions. > >

[PATCH] ata: pci: enable bus mastering

2023-04-11 Thread Christian Gmeiner
The non DM code path already would enable pci bus mastering. Do the same for the DM code path. Fixes AHCI problems I am seeing on an Intel Apollolake device. Signed-off-by: Christian Gmeiner --- drivers/ata/ahci.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH 2/2] xen: Limit execution to EL1 only

2023-04-11 Thread Michal Simek
Xen core_init() is calling HVC which should be called from EL1 level that's why do Xen initialization only when U-Boot runs in EL1. Signed-off-by: Michal Simek --- drivers/xen/hypervisor.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/xen/hypervisor.c

[PATCH 1/2] xen: Add dependency on armv8

2023-04-11 Thread Michal Simek
Xen core calls HYPERVISOR_memory_op() in map_shared_info() which is just in xen_init() called from init_sequence_r[]. Xen can run only on armv8 where HVC calls are implemented that's why enable it only for arm64. Signed-off-by: Michal Simek --- Depends on

Re: [PATCH v3] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-04-11 Thread Frieder Schrempf
On 31.03.23 16:18, Sebastian Andrzej Siewior wrote: > From: Manuel Traut > > The board is similar to "Kontron SL i.MX8M Mini" SoM. There are two variants. > Snowflake_v2 has an external SDCard Interface. LEIG is the same, but without > display and without external SDCard Interface. Both variants

Please pull u-boot-i2c

2023-04-11 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c: The following changes since commit 11c25c6df0b56ee7eee2c4ddc7f075880daeb8c7: Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2023-04-10 08:32:11 -0400) are available in the Git repository at:

Re: [PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: > Upgrading all board configs where i2c is involved to DM i2c. > > Signed-off-by: Angelo Dureghello > --- > configs/M5208EVBE_defconfig | 5 + > configs/M5235EVB_Flash32_defconfig| 1 + > configs/M5235EVB_defconfig

Re: [PATCH 5/6] m68k: dts: add i2c nodes

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: > Add all the i2c nodes for each family, and add specific i2c > overwrites in the related board-specific dts. > > Signed-off-by: Angelo Dureghello > --- > arch/m68k/dts/M5208EVBE.dts | 6 +++ > arch/m68k/dts/M5253DEMO.dts

Re: [PATCH 4/6] i2c: fsl_i2c: fix m68k transferts

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: > This driver is actually used for powerpc and m68k/ColdFire. > > On ColdFire SoC's, interrupt flag get not set if IIEN flag (mbcr bit6, > interrupt enabled) is not set appropriately before each transfert. > As a result, the transfert

Re: [PATCH 3/6] m68k: mcf5441x: fix CONFIG_SYS_FSL_I2C definition

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: > Fix CONFIG_SYS_FSL_I2C to correct name CONFIG_SYS_I2C_FSL. > > Signed-off-by: Angelo Dureghello > --- > arch/m68k/cpu/mcf5445x/speed.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Applied to u-boot-i2c.git master

Re: [PATCH 2/6] board: stmark2: add i2c0 pinmux pad configuration

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: > Add CFG option to enable proper pinmux pad setting for i2c0. > > Signed-off-by: Angelo Dureghello > --- > include/configs/stmark2.h | 2 ++ > 1 file changed, 2 insertions(+) Applied to u-boot-i2c.git master Thanks! bye, Heiko --

Re: [PATCH 1/6] m68k: move CONFIG_SYS_I2C to CFG_ namespace

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: > Move CONFIG_SYS_I2C_X to CFG_ namespace. > This is a preliminary step to move to dm i2c. > > Signed-off-by: Angelo Dureghello > --- > arch/m68k/cpu/mcf5445x/cpu_init.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH] i2c: imx_lpi2c: Fix misuse the IS_ENABLED for DM clock

2023-04-11 Thread Heiko Schocher
Hello Peng, On 06.04.23 12:26, Peng Fan (OSS) wrote: > From: Ye Li > > The IS_ENABLED, which does not consider SPL build, should be replaced > by CONFIG_IS_ENABLED. > For the case that we only enable DM CLK for u-boot but not in SPL, the > IS_ENABLED(CONFIG_CLK) still returns true, then cause

Re: [PATCH v3] i2c: correct I2C deblock logic

2023-04-11 Thread Heiko Schocher
Hello haibo, On 27.03.23 13:21, haibo.c...@nxp.com wrote: > From: Haibo Chen > > Current code use dm_gpio_get_value() to get SDA and SCL value, and the > value depends on whether DTS file config the GPIO_ACTIVE_LOW. In ususal > case for i2c GPIO, DTS need to set GPIO_ACTIVE_LOW for SCL/SDA

Re: [PATCH] i2c: designware_i2c: remove apparently redundant read of 'i2c,speeds' DT property

2023-04-11 Thread Heiko Schocher
Hello Rasmus, On 24.03.23 09:09, Rasmus Villemoes wrote: > This code first figures out if there is an i2c,speeds property, if so > its size in u32s, and then reads the value into the local speeds[] > array. Both 'size' and 'speeds' are completely unused thereafter. > > It's not at all clear what

Re: [PATCH v2] spl: fit: Report fdt error for loading u-boot

2023-04-11 Thread Su, Bao Cheng
Dear all, Any updates or new comments on this? How should I proceed? BRs/Baocheng Su On Thu, 2022-10-20 at 15:44 +0200, Mark Kettenis wrote: > > From: Simon Glass > > Date: Wed, 19 Oct 2022 08:15:35 -0600 > > > > Hi Mark, > > > > On Wed, 19 Oct 2022 at 08:08, Mark Kettenis > > wrote: > > >

Re: [PATCH v2] watchdog: arm_smc_wdt: add watchdog support

2023-04-11 Thread Lionel DEBIEVE
Hi Stephan, On 4/11/23 11:29, Stefan Roese wrote: Hi Lionel, On 4/5/23 11:53, Lionel Debieve wrote: Implement a ARM SMCCC based driver that allow to use a secure watchdog on the platform. Signed-off-by: Lionel Debieve Reviewed-by: Patrick Delaunay Tested-by: Patrick Delaunay --- (no

Re: [PATCH v9 3/6] tpm: Support boot measurements

2023-04-11 Thread Ilias Apalodimas
Ok thanks. I am on PTO this week. I'll have a look once I get back Cheers Ilias On Mon, Apr 10, 2023, 19:18 Eddie James wrote: > > On 4/6/23 04:18, Ilias Apalodimas wrote: > > Hi Eddie, > > > > Do you plan on resending this? > > If yes, I can spend some time trying to figure out the CI

Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x

2023-04-11 Thread Ravi Gunasekaran
On 07/04/23 12:25 am, Sjoerd Simons wrote: > This series adds more boot sources for the TI am62x. For that the dts' > are synced from the upstream ti-next git tree (to add usb nodes), some > dwc3 glue is and finally the default configuration is tuned to add > support for DFU and USB (host and

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-04-11 Thread Krzysztof Kozlowski
On 11/04/2023 01:21, jaswinder.si...@linaro.org wrote: > From: Jassi Brar > > Any requirement of FWU should not require changes to bindings > of other subsystems. For example, for mtd-backed storage we > can do without requiring 'fixed-partitions' children to also > carry 'uuid', a property

Re: [PATCH v2 00/10] sunxi: Update H616 DRAM driver

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:09 +0200 Jernej Skrabec wrote: Hi Jernej, > Current H616 DRAM driver is completely customized to Orange Pi Zero2 > board, which is only one of two H616 boards supported by U-Boot. > Needless to say, this is not ideal for adding new boards. With changes > in this

Re: [PATCH v2 10/10] sunxi: Add TPR2 parameter for H616 DRAM driver

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:19 +0200 Jernej Skrabec wrote: Hi, > It turns out that some H616 and related SoCs (like H313) need TPR2 > parameter for proper working. Add it. > > Signed-off-by: Jernej Skrabec I don't have any boards that don't use a TPR2 value of 0, so cannot test the new case,

Re: [PATCH v2 09/10] sunxi: Parameterize some of H616 DDR3 timings

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:18 +0200 Jernej Skrabec wrote: > Currently twr2rd, trd2wr and twtp are constants, but according to > vendor driver they are calculated from other values. Do that here too, > in preparation for later introduction of new parameter. > > While at it, introduce constant for

[PATCH v2] rockchip: rk3328: Add support for FriendlyARM NanoPi R2C

2023-04-11 Thread Tianling Shen
The NanoPi R2C is a minor variant of NanoPi R2S with the on-board NIC chip changed from rtl8211e to yt8521s, and otherwise identical to R2S. The device tree is taken from the kernel linux-next branch:

Re: [PATCH v2 08/10] sunxi: Parameterize "unknown feature" in H616 DRAM driver

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:17 +0200 Jernej Skrabec wrote: Hi Jernej, > Part of the code, previously known as "unknown feature", also doesn't > have constant values. They are derived from TPR0 parameter in vendor > DRAM code. > > Let's move that code to separate function and introduce TPR0

Re: [PATCH v2 07/10] sunxi: Parameterize bit delay code in H616 DRAM driver

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:16 +0200 Jernej Skrabec wrote: > These values are highly board specific and thus make sense to add > parameter for them. To ease adding support for new boards, let's make > them same as in vendor DRAM settings. > > Signed-off-by: Jernej Skrabec Some bits still look

Re: [PATCH v2 05/10] sunxi: Always configure ODT on H616 DRAM

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:14 +0200 Jernej Skrabec wrote: Hi, > Vendor H616 DRAM code always configure part which we call ODT > configuration. Let's reflect that here too. > > Signed-off-by: Jernej Skrabec Still not a big fan of "depends on !MACH_SUN50I_H616", but the logic seems fine

Re: [PATCH v2 04/10] sunxi: Convert H616 DRAM options to single setting

2023-04-11 Thread Andre Przywara
On Mon, 10 Apr 2023 10:21:13 +0200 Jernej Skrabec wrote: > Vendor DRAM settings use TPR10 parameter to enable various features. > There are many mores features that just those that are currently > mentioned. Since new will be added later and most are not known, let's > reuse value from vendor

[PATCH] configs: j7200_evm_a72: Enhance bootcmd to configure ethernet PHY

2023-04-11 Thread Siddharth Vadapalli
From: Kishon Vijay Abraham I Update the default BOOTCOMMAND to provide an automatic and easier way to configure ethernet PHY before loading the firmware. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Siddharth Vadapalli --- configs/j7200_evm_a72_defconfig | 2 +- 1 file changed, 1

Re: [PATCH] watchdog: ulp_wdog: guard reset_cpu with condition check

2023-04-11 Thread Stefan Roese
On 4/6/23 12:24, Peng Fan (OSS) wrote: From: Peng Fan There will be build error if CONFIG_SYSRESET is enabled, so guard the reset_cpu with condition check here Signed-off-by: Peng Fan --- drivers/watchdog/ulp_wdog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH] configs: am62: Add configs for enabling ETHBOOT in R5SPL

2023-04-11 Thread Siddharth Vadapalli
From: Kishon Vijay Abraham I Add configs for enabling ETHBOOT in R5SPL. Adding a separate config minimizes the risk of going past the R5-SPL size limit for any future config additions. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Andreas Dannenberg Signed-off-by: Siddharth Vadapalli

Re: [PATCH v2] watchdog: arm_smc_wdt: add watchdog support

2023-04-11 Thread Stefan Roese
Hi Lionel, On 4/5/23 11:53, Lionel Debieve wrote: Implement a ARM SMCCC based driver that allow to use a secure watchdog on the platform. Signed-off-by: Lionel Debieve Reviewed-by: Patrick Delaunay Tested-by: Patrick Delaunay --- (no changes since v1) Hmm, this does not seem to be

Re: [PATCH 0/8] Add ESM support for J721E and J7200

2023-04-11 Thread Neha Malcom Francis
Hi Bryan On 10/04/23 20:09, Bryan Brattlof wrote: Hi Neha! On April 10, 2023 thus sayeth Neha Malcom Francis: Add support for ESM (Error Signalling Module) in J721E and J7200. The ESM error pin output is routed to the PMIC (Power Management IC) which can reset the board. The dts nodes for SoC

Re: [PATCH] watchdog: ftwdt010: return a previously deleted driver now ported to DM

2023-04-11 Thread Stefan Roese
On 2/13/23 14:52, Sergei Antonov wrote: The ftwdt010 watchdog driver was deleted by commit 11232139e399 ("nds32: Remove the architecture") Return it to the codebase in a DM compatible form. Enable it in sandbox_defconfig to test compilability. Another platform using ftwdt010 will be submitted

Re: [PATCH] ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot

2023-04-11 Thread Stefan Roese
Hi Tony, On 4/3/23 06:42, Tony Dinh wrote: - DDR Training sequence happens very fast. The speedup in boot time is negligible by skipping the training sequence during 2nd boot or after. So remove the check and skip. - This change improves the robustness of DDR training. If u-boot crashed during

Re: [PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-11 Thread Heiko Schocher
Hello Angelo, On 11.04.23 09:40, Angelo Dureghello wrote: > Hi Helko, > > On 11/04/23 6:41 AM, Heiko Schocher wrote: >> Hello Angelo, >> >> On 05.04.23 00:59, Angelo Dureghello wrote: >>> Upgrading all board configs where i2c is involved to DM i2c. >>> >>> Signed-off-by: Angelo Dureghello >>>

Re: [PATCH 6/6] m68k: upgrading all boards to dm i2c

2023-04-11 Thread Angelo Dureghello
Hi Helko, On 11/04/23 6:41 AM, Heiko Schocher wrote: Hello Angelo, On 05.04.23 00:59, Angelo Dureghello wrote: Upgrading all board configs where i2c is involved to DM i2c. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 5 +

Re: [PATCH] board: ti: j721s2: Add support to detect daughtercards

2023-04-11 Thread Siddharth Vadapalli
Hello Tom, On 10/04/23 19:00, Tom Rini wrote: > On Mon, Apr 10, 2023 at 11:40:15AM +0530, Siddharth Vadapalli wrote: > >> From: Kishon Vijay Abraham I >> >> Add support to detect daughtercards (GESI Ethernet card) in-order >> to set the MAC address of the main CPSW2G interface. >> >>

[PATCH] reset: reset-rockchip: fix trivial line spacing alignment

2023-04-11 Thread Eugen Hristev
Fix line spacing aligment in bind function Fixes: 760188c1aa5b ("rockchip: reset: support a (common) rockchip reset drivers") Signed-off-by: Eugen Hristev --- drivers/reset/reset-rockchip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/reset/reset-rockchip.c

[PATCH] clk: rockchip: correct trivial typo in debug message

2023-04-11 Thread Eugen Hristev
s/faile/failed in debug message Signed-off-by: Eugen Hristev --- drivers/clk/rockchip/clk_px30.c | 2 +- drivers/clk/rockchip/clk_rk3036.c | 2 +- drivers/clk/rockchip/clk_rk3188.c | 2 +- drivers/clk/rockchip/clk_rk322x.c | 2 +- drivers/clk/rockchip/clk_rk3288.c | 2 +-

Re: [PATCH v2 1/4] Revert "net: ipv6: Add support for default gateway discovery."

2023-04-11 Thread Vyacheslav V. Mitrofanov
On Mon, 2023-04-10 at 12:34 -0700, emohand...@linux.microsoft.com wrote: > > From: Ehsan Mohandesi > > This reverts commit 0af1035a55d9c1486b2db43ee70ff0a63affd4f4. > > Signed-off-by: Ehsan Mohandesi > > Conflicts: > cmd/Kconfig > include/net.h > include/net6.h >

Re: [PATCH] ARM: dts: stm32: add FMC support on STM32MP13x SoC family

2023-04-11 Thread Patrice CHOTARD
Hi Christophe On 3/30/23 11:26, Christophe Kerello wrote: > Add FMC support on STM32MP13x SoC family. > > Signed-off-by: Christophe Kerello > --- > > arch/arm/dts/stm32mp131.dtsi | 33 + > 1 file changed, 33 insertions(+) > > diff --git

Re: [PATCH] mtd: rawnand: stm32_fmc2: remove unsupported EDO mode

2023-04-11 Thread Patrice CHOTARD
Hi Christophe On 3/30/23 11:16, Christophe Kerello wrote: > Remove the EDO mode support from as the FMC2 controller does not > support the feature. > > Signed-off-by: Christophe Kerello > --- > > drivers/mtd/nand/raw/stm32_fmc2_nand.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH] configs: stm32mp15: increase malloc size for pre-reloc

2023-04-11 Thread Patrice CHOTARD
Hi Patrick On 4/7/23 11:37, Patrick Delaunay wrote: > The early malloc usage increased so the associated defined > CONFIG_SYS_MALLOC_F_LEN need to be increased. > > For example, for stm32mp15_defconfig and > stm32mp157c-dk2-scmi.dtsi, we have: > > Early malloc usage: 280b8 / 8 > >

  1   2   >