[PATCH] pci: Enable dm_pci_map_bar() for 64-bit BARs

2023-11-24 Thread Moritz Fischer
Allow dm_pci_map_bar() usage on systems with CONFIG_PCI_SYS_64BIT. Signed-off-by: Moritz Fischer --- drivers/pci/pci-uclass.c | 11 +++ include/pci.h| 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c

[GIT PULL] Please pull u-boot-dfu-20231124

2023-11-24 Thread Mattijs Korpershoek
24ca49b33af98d54d6cd2e845f071f6565345ffd: Prepare v2024.01-rc3 (2023-11-20 08:43:46 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-dfu.git tags/u-boot-dfu-20231124 for you to fetch changes up to 6f68dcd0259f9f1c03f097669e9490b13b5325c7: usb: fastboot: Add

[GIT PULL] Please pull u-boot-dfu-next-20231124

2023-11-24 Thread Mattijs Korpershoek
ans/u-boot-dfu.git tags/u-boot-dfu-next-20231124 for you to fetch changes up to 8a0d07807abb5370fe879321c7f1d22fdda3255f: usb: udc: Try to clarify an error message (2023-11-21 15:48:38 +0100) u-boot-dfu-next-20231124 - Make dfu e

[PATCH v2 0/3] efi: vars: Implement SPI Flash storage

2023-11-24 Thread Shantur Rathore
With this patch series we implement SPI Flash storage for EFI variables. Changes in v2: - Refactored efi_var_file to move common parts out as requested - Changed ifdefs to use CONFIG_IS_DEFINED - Fixed typos Shantur Rathore (3): efi_var_file: refactor to move buffer functions efi_vars: Implem

[PATCH v2 1/3] efi_var_file: refactor to move buffer functions

2023-11-24 Thread Shantur Rathore
Currently efi_var_file.c has functions to store/read EFI variables to/from memory buffer. These functions can be used with other EFI variable stores so move them out to efi_var_common.c Signed-off-by: Shantur Rathore --- (no changes since v1) include/efi_variable.h | 5 ++ lib/efi_l

[PATCH v2 2/3] efi_vars: Implement SPI Flash store

2023-11-24 Thread Shantur Rathore
Currently U-boot uses ESP as storage for EFI variables. Devices with SPI Flash are used for storing environment with this commit we allow EFI variables to be stored on SPI Flash. Signed-off-by: Shantur Rathore --- (no changes since v1) include/efi_variable.h| 21 lib/efi_loade

[PATCH v2 3/3] defconfig: rockpro64: Enable SF EFI var store

2023-11-24 Thread Shantur Rathore
RockPro64 uses SPI Flash for storing env, also use it store EFI variables. Signed-off-by: Shantur Rathore --- Changes in v2: - Refactored efi_var_file to move common parts out as requested - Changed ifdefs to use CONFIG_IS_DEFINED - Fixed typos configs/rockpro64-rk3399_defconfig | 2 ++ 1 file

Re: [PATCH v1 2/3] efi_vars: Implement SPI Flash store

2023-11-24 Thread Shantur Rathore
Hi Ilias and Akashi, On Wed, Nov 22, 2023 at 6:58 AM Ilias Apalodimas wrote: > > Hi Shahtur > > On Wed, 22 Nov 2023 at 01:58, Shantur Rathore wrote: > > > > Currently U-boot uses ESP as storage for EFI variables. > > Devices with SPI Flash are used for storing environment with this > > commit we

[PATCH] maintainers: rk3399: remove maintainer

2023-11-24 Thread Shantur Rathore
Remove Akash Gajjar from MAINTAINERS as email is bouncing. Signed-off-by: Shantur Rathore --- board/pine64/rockpro64_rk3399/MAINTAINERS | 1 - board/rockchip/evb_rk3399/MAINTAINERS | 1 - 2 files changed, 2 deletions(-) diff --git a/board/pine64/rockpro64_rk3399/MAINTAINERS b/board/pine6

Re: [PATCH] pci: Enable dm_pci_map_bar() for 64-bit BARs

2023-11-24 Thread Philip Oberfichtner
Hi, On Fri, Nov 24, 2023 at 10:15:20AM +, Moritz Fischer wrote: > Allow dm_pci_map_bar() usage on systems with CONFIG_PCI_SYS_64BIT. > > + /* > + * This assumes that dm_pciauto_setup_device() will allocate > + * a 64-bit address if CONFIG_SYS_PCI_64BIT is enabled and > +

[PATCH] ARM: zynq: Remove deprecated device_type property

2023-11-24 Thread Michal Simek
Based on DT specification device_type property is deprecated and should be used only for cpu and memory nodes. That's why remove other usage. In this case ethernet-phy. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cc108.dts | 1 - arch/arm/dts/zynq-syzygy-hub.dts | 1 - arch/arm/dts

Re: [PATCH] net: mv88e6xxx: add missing SMI address init

2023-11-24 Thread Marek Mojík
On Wed, Nov 22, 2023 at 04:38:41PM +0100, Lukasz Majewski wrote: > Hi Marek, > > > Driver does not currently initialize the smi_addr field, but instead > > keeps the default value. This leads to issues on systems with > > different hardware configuration. We can fix this problem by reading > > the

[PATCH 1/1] i2c: Bugfix in i2c_get_chip_by_phandle()

2023-11-24 Thread Philip Oberfichtner
The "i2cbcdev" sneaked in when implementing this function for the bootcounter use case. Obviously the intention was to use prop_name instead. Fixes: b483552773 (i2c: Implement i2c_get_chip_by_phandle()) Signed-off-by: Philip Oberfichtner --- drivers/i2c/i2c-uclass.c | 2 +- 1 file changed, 1 in

efi: Set Variable Runtime implementation

2023-11-24 Thread Shantur Rathore
Hi Heinrich, I am trying to work out how to enable the SetVariableRT service in U-Boot and came across your patch [1] which initially had the SetVariable RT service enabled in EFI but in the final patch this was removed. I am hoping to implement it on top of the SPI Flash EFI store [2] to be able

Re: U-Booters at LPC

2023-11-24 Thread Sean Anderson
On 11/21/23 17:11, Simon Glass wrote: Hi Sean, On Tue, 14 Nov 2023 at 06:30, Sean Anderson wrote: Hi Simon, On 11/13/23 15:26, Simon Glass wrote: Hi Sean, On Mon, 13 Nov 2023 at 11:15, Sean Anderson wrote: Hi All, I'm at LPC this week, and I'd love to chat with anyone else who's there

Re: orangepi zero3

2023-11-24 Thread Stephen Graf
I tested a u-boot build with the emac timing changes you pointed out and with CONFIG_DRAM_CLK=792. It looks like this configuration and dts changes works with both 100Mb and 1Gb switches. I am struggling to get something to actually load. Is there an easy way to get a debian image onto the sd

Re: [PATCH] net: mv88e6xxx: add missing SMI address init

2023-11-24 Thread YOUR NAME
On Wed, Nov 22, 2023 at 04:38:41PM +0100, Lukasz Majewski wrote: > Hi Marek, > > > Driver does not currently initialize the smi_addr field, but instead > > keeps the default value. This leads to issues on systems with > > different hardware configuration. We can fix this problem by reading > > the

[PATCH v2 0/1] bootm: Fix flags used for bootargs string substitution

2023-11-24 Thread Piotr Kubik
Changes from v1: - fix commit message - improve code readability - add bootargs substitution test to test_fit.py Piotr Kubik (1): bootm: Fix flags used for bootargs string substitution boot/bootm.c | 6 +- test/py/tests/test_fit.py | 8 2 files changed, 13 inserti

[PATCH v2 1/1] bootm: Fix flags used for bootargs string substitution

2023-11-24 Thread Piotr Kubik
Commit 51bb33846ad2 ("bootm: Support string substitution in bootargs") introduced a feature of bootargs string substitution and changed a flag used in bootm_process_cmdline_env() call to be either true or false. With this flag value, condition in bootm_process_cmdline() `if (flags & BOOTM_CL_SUBST)

Re: efi: Set Variable Runtime implementation

2023-11-24 Thread Ilias Apalodimas
Hi Shantur On Fri, 24 Nov 2023 at 18:51, Shantur Rathore wrote: > > Hi Heinrich, > > I am trying to work out how to enable the SetVariableRT service in > U-Boot and came across your patch [1] which initially had the > SetVariable RT service enabled in EFI but in the final patch this was > removed

Re: efi: Set Variable Runtime implementation

2023-11-24 Thread Shantur Rathore
Hi Ilias, On Fri, Nov 24, 2023 at 10:50 PM Ilias Apalodimas wrote: > > Hi Shantur > > On Fri, 24 Nov 2023 at 18:51, Shantur Rathore wrote: > > > > Hi Heinrich, > > > > I am trying to work out how to enable the SetVariableRT service in > > U-Boot and came across your patch [1] which initially had

Re: orangepi zero3

2023-11-24 Thread Andre Przywara
On Fri, 24 Nov 2023 11:04:31 -0800 Stephen Graf wrote: Hi, > I tested a u-boot build with the emac timing changes you pointed out and > with CONFIG_DRAM_CLK=792. It looks like this configuration and dts > changes works with both 100Mb and 1Gb switches. Ah, great, thanks! I will see if I can p

Re: efi: Set Variable Runtime implementation

2023-11-24 Thread Peter Robinson
Hi Shantur, On Fri, Nov 24, 2023 at 11:55 PM Shantur Rathore wrote: > > Hi Ilias, > > On Fri, Nov 24, 2023 at 10:50 PM Ilias Apalodimas > wrote: > > > > Hi Shantur > > > > On Fri, 24 Nov 2023 at 18:51, Shantur Rathore wrote: > > > > > > Hi Heinrich, > > > > > > I am trying to work out how to en