[PATCH v2] doc: uefi: enhance anti-rollback documentation

2023-06-21 Thread Masahisa Kojima
To enforce anti-rollback to any older version, dtb must be always update manually. This should be described in the documentation. This commit also adds the recommendation that secure system should not enable the fdt command because lowest-supported-version property in device tree can be changed by

RE: [PATCH v3 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-21 Thread Chong, Teik Heng
> -Original Message- > From: Marek Vasut > Sent: Wednesday, 21 June, 2023 7:16 PM > To: Chong, Teik Heng ; u-boot@lists.denx.de > Cc: Jagan Teki ; Vignesh R ; > Simon ; Kris ; > Chee, Tien Fong ; Hea, Kok Kiang > ; Lokanathan, Raaj ; > Maniyam, Dinesh ; Ng, Boon Khai > ; Yuslaimi, Alif Za

RE: [PATCH v1] HSD #18028953892: usb: xhci-dwc3: Fix USB3.1 controller register access in reset state

2023-06-21 Thread Lim, Jit Loon
> -Original Message- > From: Marek Vasut > Sent: Wednesday, 21 June, 2023 10:19 PM > To: Lim, Jit Loon ; u-boot@lists.denx.de > Cc: Jagan Teki ; Simon > ; Chee, Tien Fong > ; Hea, Kok Kiang ; > Lokanathan, Raaj ; Maniyam, Dinesh > ; Ng, Boon Khai ; > Yuslaimi, Alif Zakuan ; Chong, Teik Hen

[Test] arm: mvebu: PCI_MVEBU driver on Kirkwood boards

2023-06-21 Thread Tony Dinh
Hi Pali, FYI. In reference to this patch: https://lore.kernel.org/all/20230114164125.1298-1-p...@kernel.org/ Recently, I built a new Linux kernel 6.3.x for the Kirkwood boards and discovered that the PCI_MVEBU driver was marked as BROKEN in Linux mainline. That was a surprise for me, since I've b

Re: Rockchip DWC2 issue

2023-06-21 Thread Marek Vasut
On 6/20/23 16:37, Jagan Teki wrote: Hi, Has anyone tried to use dwc2 and echi port together with USB disk? look like this is not working with this combination on any Rockchip SoC's Here are the issues that I've reproduced in RK3328 where the disk connected in EHCI port is detecting but DWC2 is

Re: [PULL] u-boot-usb/master

2023-06-21 Thread Tom Rini
On Wed, Jun 21, 2023 at 04:21:18PM +0200, Marek Vasut wrote: > The following changes since commit 50842b217fef505a0ec6662cc2acdc55d0bb23c5: > > Merge tag 'u-boot-at91-fixes-2023.07-a' of > https://source.denx.de/u-boot/custodians/u-boot-at91 (2023-06-19 09:18:40 > -0400) > > are available in

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-21 Thread Sam Edwards
On 6/21/23 04:55, Andre Przywara wrote: On Tue, 20 Jun 2023 16:11:48 -0600 Sam Edwards wrote: Hi Sam, pleasure to write with you ;-) Hi Andre, Likewise! Well, so this is actually the fallback implementation which should somewhat work on most SoCs: set a flag, reset, and catch the flag in

Re: [PATCH] test: dm: restore /firmware nodes after testing

2023-06-21 Thread Tom Rini
On Thu, Jun 08, 2023 at 09:55:59AM +0900, AKASHI Takahiro wrote: > dm_test_restore() is called after dm unit test is run. > But this function does not scan any nodes under /firmware since > it calls dm_scan_fdt(). > > This causes an issue. For instance, scmi_sandbox_agent device > will disappear

Re: [PATCH] stdio: Remove stdio_init()

2023-06-21 Thread Tom Rini
On Tue, Jun 06, 2023 at 08:37:42PM +0900, Masahiro Yamada wrote: > This function is not used by anyone. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] configs: am64x_evm_*_defconfig: Enable High Secure device support

2023-06-21 Thread Tom Rini
On Sat, Jun 03, 2023 at 06:06:14PM +0530, Vignesh Raghavendra wrote: > Enable CONFIG_TI_SECURE_DEVICE to support booting High Secure(HS) > variants of AM64x SoC. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] configs: synquacer: increase SYS_MALLOC_F_LEN

2023-06-21 Thread Tom Rini
On Thu, Jun 01, 2023 at 06:13:51PM +0900, Masahisa Kojima wrote: > DM_FLAG_PRE_RELOC flag is added into some drivers > by recent commits such as > 1bd790bc4b ("firmware: psci: enable DM_FLAG_PRE_RELOC"). > Current SYS_MALLOC_F_LEN of SynQuacer Developerbox platform > is too small, Developerbox wil

Re: [PATCH v2] test: bdinfo: Add test for command bdinfo

2023-06-21 Thread Tom Rini
On Wed, May 31, 2023 at 03:03:58AM +0200, Marek Vasut wrote: > Add test for command bdinfo . > > Signed-off-by: Marek Vasut > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] python: Update requirements.txt for security issues

2023-06-21 Thread Tom Rini
On Tue, May 30, 2023 at 03:50:30PM -0400, Tom Rini wrote: > Per GitHub Dependabot: > - Use setuptools 65.5.1 to avoid some DoS issue > - Use requests 2.31.0 to avoid leaking some proxy information > > Signed-off-by: Tom Rini > Tested-by: Heinrich Schuchardt Applied to u-boot/next, thanks! --

Re: [PATCH] drivers: spi: omap3_spi: Initialize mode for all channels

2023-06-21 Thread Tom Rini
On Mon, May 29, 2023 at 03:42:28PM +0200, Julien Panis wrote: > At first SPI transfers, multiple chip selects can be > enabled simultaneously. This is due to chip select > polarity, which is not properly initialized for all > channels. This patch fixes the issue. > > Signed-off-by: Julien Panis

Re: [PATCH] psci: fix use of clobbered registers in asm

2023-06-21 Thread Tom Rini
On Sat, May 27, 2023 at 06:09:42PM -0600, Sam Edwards wrote: > The functions `psci_get_context_id` and `psci_get_target_pc` > are written in C, so the C compiler may clobber registers r0-r3. > Do not use these registers to save data across calls. > > Signed-off-by: Sam Edwards Applied to u-boot

Re: [PATCH] mkimage: ecdsa: password for signing from environment

2023-06-21 Thread Tom Rini
On Thu, May 25, 2023 at 10:18:05AM +0200, Stefano Babic wrote: > Use a variable (MKIMAGE_SIGN_PASSWORD) like already done for RSA to > allow the signing process to run in batch. > > Signed-off-by: Stefano Babic Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Add CONFIG_GICV3 for ARCH_QEMU

2023-06-21 Thread Tom Rini
On Mon, Jun 05, 2023 at 10:40:26AM +0900, Chan Kim wrote: > I'm trying sending a patch for the first time. > I found when running u-boot qemu_arm64_defconfig on qemu-6.2.0's arm64 virt > machine, we need CONFIG_GICV3. > And for the GICV3 related to be compiled, we need to add GICD_BASE, > GICR_BAS

Re: [PATCH V5 9/9] doc: board: ti: am62x_sk: Add A53 SPL DDR layout

2023-06-21 Thread Tom Rini
On Wed, Jun 21, 2023 at 03:51:18PM +0530, Nikhil M Jain wrote: > To understand usage of DDR in A53 SPL stage, add a table showing region > and space used by major components of SPL. > > Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH] arm: mach-omap2: am33xx: musb: Fix condition for USB device definition

2023-06-21 Thread Tom Rini
On Wed, Jun 21, 2023 at 05:56:56PM +0200, Julien Panis wrote: > This patch fixes a bad condition for USB device definition. > This prevents from getting a "No USB device found" error. > > Fixes: 6815a66ad7430 ("am33xx: musb: Remove unused configuration logic") > Signed-off-by: Julien Panis > ---

[PATCH] arm: mach-omap2: am33xx: musb: Fix condition for USB device definition

2023-06-21 Thread Julien Panis
ned(CONFIG_SPL_BUILD) + !defined(CONFIG_SPL_BUILD) static struct musb_hdrc_config musb_config = { .multipoint = 1, --- base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f change-id: 20230621-fix_usb_ether_init-4bf4f1135113 Best regards, -- Julien Panis

[PATCH v1 2/2] meson-a1: dts: add ao secure node

2023-06-21 Thread Alexey Romanov
ao-secure node can be used to get information about the board, so, for example, using show_board_info() we can get following information for board with Meson A1 SoC: SoC: Amlogic Meson A1 (A113L) Revision 2c:a (1:a) Signed-off-by: Alexey Romanov --- arch/arm/dts/meson-a1.dtsi | 6 ++ 1 file

[PATCH v1 1/2] meson-a1: dts: add hw rng node

2023-06-21 Thread Alexey Romanov
Add support for hardware random number generator of Amlogic Meson SoCs. Signed-off-by: Alexey Romanov --- arch/arm/dts/meson-a1.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/meson-a1.dtsi b/arch/arm/dts/meson-a1.dtsi index f3560cbc3a4..1f57c137384 100644 --- a/arch/a

[PATCH next v3 2/2] rockchip: puma: pass platform parameter to TF-A

2023-06-21 Thread Quentin Schulz
From: Quentin Schulz Puma supports upstream TF-A and is configured to output serial on UART0 instead of the default UART2. Since U-Boot is properly configured to output on UART0, let's pass the DT to TF-A so there is no need for a custom TF-A to make the latter output to UART0 too. Cc: Quentin S

[PATCH next v3 1/2] rockchip: rk3399: pass platform parameter to TF-A by default for new RK3399 boards

2023-06-21 Thread Quentin Schulz
From: Quentin Schulz Long are gone the times TF-A couldn't handle the FDT passed by U-Boot. Specifically, since commit e7b586987c0a ("rockchip: don't crash if we get an FDT we can't parse") in TF-A, failure to parse the FDT will use the fallback mechanism. This patch was merged in TF-A v2.4-rc0 f

[PATCH next v3 0/2] rockchip: rk3399: pass platform parameter to TF-A

2023-06-21 Thread Quentin Schulz
Finally pass the FDT address to TF-A since it now gracefully fallbacks to hardcoded defaults if it cannot parse it. This allows us to avoid modifying hardcoded values in TF-A to enable the console. This was tested with TF-A v2.9.0 on Puma Haikou RK3399. We do this only for new RK3399 boards, wher

[PATCH v2 0/3] riscv: Add ACLINT mtimer and mswi devices support

2023-06-21 Thread Bin Meng
This RISC-V ACLINT specification [1] defines a set of memory mapped devices which provide inter-processor interrupts (IPI) and timer functionalities for each HART on a multi-HART RISC-V platform. This seriesl updates U-Boot existing SiFive CLINT driver to handle the ACLINT changes, and is now able

[PATCH v2 3/3] riscv: Rename SiFive CLINT to RISC-V ALINT

2023-06-21 Thread Bin Meng
As the RISC-V ACLINT specification is defined to be backward compatible with the SiFive CLINT specification, we rename SiFive CLINT to RISC-V ALINT in the source tree to be future-proof. Signed-off-by: Bin Meng Reviewed-by: Rick Chen --- (no changes since v1) MAINTAINERS

[PATCH v2 1/3] riscv: timer: Update the sifive clint timer driver to support aclint

2023-06-21 Thread Bin Meng
This RISC-V ACLINT specification [1] defines a set of memory mapped devices which provide inter-processor interrupts (IPI) and timer functionalities for each HART on a multi-HART RISC-V platform. The RISC-V ACLINT specification is defined to be backward compatible with the SiFive CLINT specificati

[PATCH v2 2/3] riscv: clint: Update the sifive clint ipi driver to support aclint

2023-06-21 Thread Bin Meng
This RISC-V ACLINT specification [1] defines a set of memory mapped devices which provide inter-processor interrupts (IPI) and timer functionalities for each HART on a multi-HART RISC-V platform. The RISC-V ACLINT specification is defined to be backward compatible with the SiFive CLINT specificati

[PATCH] riscv: Fix alignment of RELA sections in the linker scripts

2023-06-21 Thread Bin Meng
In current linker script both .efi_runtime_rel and .rela.dyn sections are of RELA type whose entry size is either 12 (RV32) or 24 (RV64). These two are arranged as an continuous region on purpose so that the prelink-riscv executable can fix up the PIE addresses in one loop. However there is an 'AL

[PULL] u-boot-usb/master

2023-06-21 Thread Marek Vasut
The following changes since commit 50842b217fef505a0ec6662cc2acdc55d0bb23c5: Merge tag 'u-boot-at91-fixes-2023.07-a' of https://source.denx.de/u-boot/custodians/u-boot-at91 (2023-06-19 09:18:40 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for yo

Re: [PATCH v1] cache_v8: agilex5: Disable Dcache in the SPL

2023-06-21 Thread Marek Vasut
On 6/21/23 16:15, Marc Zyngier wrote: On Wed, 21 Jun 2023 15:06:51 +0100, Jit Loon Lim wrote: From: Kah Jing Lee Dcache feature is not enabled in SPL and enable it will cause ISR exception. Since the Dcache is not supported in SPL, new CONFIG_SPL_SYS_DISABLE_DCACHE_OPS is added to Kconfig to

Re: [PATCH v1] cache_v8: agilex5: Disable Dcache in the SPL

2023-06-21 Thread Marek Vasut
On 6/21/23 16:06, Jit Loon Lim wrote: From: Kah Jing Lee Dcache feature is not enabled in SPL and enable it will cause ISR exception Why would it cause an exception ?

Re: [PATCH v1] HSD #18028953892: usb: xhci-dwc3: Fix USB3.1 controller register access in reset state

2023-06-21 Thread Marek Vasut
On 6/21/23 16:11, Jit Loon Lim wrote: From: Teik Heng Chong The controller registers should not be accessed while the controller's vcc_reset_n is asserted. Signed-off-by: Teik Heng Chong Is this patch ported from Linux or is this custom development ? Is there a matching patch/fix in Linux

Re: [PATCH v1] cache_v8: agilex5: Disable Dcache in the SPL

2023-06-21 Thread Marc Zyngier
On Wed, 21 Jun 2023 15:06:51 +0100, Jit Loon Lim wrote: > > From: Kah Jing Lee > > Dcache feature is not enabled in SPL and enable it will cause ISR > exception. Since the Dcache is not supported in SPL, new > CONFIG_SPL_SYS_DISABLE_DCACHE_OPS is added to Kconfig to disable Dcache > in SPL. >

[PATCH v1] HSD #18028953892: usb: xhci-dwc3: Fix USB3.1 controller register access in reset state

2023-06-21 Thread Jit Loon Lim
From: Teik Heng Chong The controller registers should not be accessed while the controller's vcc_reset_n is asserted. Signed-off-by: Teik Heng Chong --- drivers/usb/host/xhci-dwc3.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers

[PATCH v1] cache_v8: agilex5: Disable Dcache in the SPL

2023-06-21 Thread Jit Loon Lim
From: Kah Jing Lee Dcache feature is not enabled in SPL and enable it will cause ISR exception. Since the Dcache is not supported in SPL, new CONFIG_SPL_SYS_DISABLE_DCACHE_OPS is added to Kconfig to disable Dcache in SPL. Signed-off-by: Kah Jing Lee --- arch/arm/cpu/armv8/cache_v8.c | 20 +

[PATCH v1] arm: socfpga: agilex5: Define MMU mapping region for FPGA

2023-06-21 Thread Jit Loon Lim
From: Sin Hui Kho Add MMU mapping region for FPGA including 512 MB LW HPS2FPGA and 1GB HPS2FPGA. Signed-off-by: Sin Hui Kho --- arch/arm/mach-socfpga/mmu-arm64_s10.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-socfpga/mmu-arm64_s10.c b/arch/arm/mach-socfpga/mmu-a

[PATCH 1/2] dm: adc: add iMX93 ADC support

2023-06-21 Thread Luca Ellero
This commit adds driver for iMX93 ADC. The driver is implemented using driver model and provides ADC uclass's methods for ADC single channel operations: - adc_start_channel() - adc_channel_data() - adc_stop() ADC features: - channels: 4 - resolution: 12-bit Signed-off-by: Luc

[PATCH 2/2] imx93_evk: defconfig: add adc support

2023-06-21 Thread Luca Ellero
iMX93 ADC features: - 4 channels - 12 bit resolution Signed-off-by: Luca Ellero --- configs/imx93_11x11_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx93_11x11_evk_defconfig b/configs/imx93_11x11_evk_defconfig index 89edebc4c6..30ef460c80 100644 --- a/confi

[PATCH v5 0/2 RESEND] imx93: add ADC support

2023-06-21 Thread Luca Ellero
Add ADC support for NXP iMX93 Changes for v2: - add "static" to functions - enable ADC in iMX93 EVK Changes for v3: - split in 3 commits - keep dts file in sync with Linux devicetree - add comments to commits Changes for v4: - add imx93_adc_power_down() in imx93_adc_stop() Changes for v5: - sim

[PATCH v1] arch: arm: dts: Enable APB Timer for agilex5

2023-06-21 Thread Jit Loon Lim
From: Dinesh Maniyam Enable APB Timer driver model. Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_agilex5_socdk.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/socfpga_agilex5_socdk.dts b/arch/arm/dts/socfpga_agilex5_socdk.dts index 1a39426561..

[PATCH v1] drivers: rng: add check status bit feature

2023-06-21 Thread Alexey Romanov
For some Amlogic SOC's, the mechanism for obtain a random number has been changed. For example, S4 now uses a status bit wait algo. Signed-off-by: Alexey Romanov --- drivers/rng/meson-rng.c | 73 + 1 file changed, 67 insertions(+), 6 deletions(-) diff --g

[PATCH] mmc:Remove the legacy mode clock setting operation

2023-06-21 Thread xf_hqu
From: xiefei Due to the need to read the register value before switching to hs mode, the standard protocol does not explicitly specify that the setting before switching to hs mode is in legacy mode. Therefore, the code at this point may cause communication abnormalities between the host and card

Re: [PATCH 1/5] mkeficapsule: constify function parameters

2023-06-21 Thread Schmidt, Malte
Hello Heinrich, thank you for you extensive review. I will incorporate your reviews in a future version of the patch series. Best Regards Malte Am 16.06.2023 um 20:18 schrieb Heinrich Schuchardt: On 6/16/23 13:34, Stefan Herbrechtsmeier wrote: From: Malte Schmidt Thanks for considering whi

Re: [PATCH v2] cmd: usb: Prevent reset in usb tree/info command

2023-06-21 Thread Marek Vasut
On 6/21/23 09:13, Xavier Drudis Ferran wrote: Commands causing reset in some configs: When bootflow scan is run, this will cause a UCLASS_BOOTDEV device to be added as sibling of those UCLASS_BLK devices found in the search chain defined in environment variable "boot_targets", until boot su

Re: [PATCH v3 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-21 Thread Marek Vasut
On 6/21/23 05:13, teik.heng.ch...@intel.com wrote: From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields This bug was found during the testing on Simics model. Referring to specification DesignW

[PATCH V2 2/2] common: splash_source: Fix type casting errors

2023-06-21 Thread Nikhil M Jain
During compilation splash_source puts out below warning for type conversion in splash_load_fit for bmp_load_addr and fit_header. Change their type to uintptr_t to fix the warnings. common/splash_source.c: In function ‘splash_load_fit’: common/splash_source.c:366:22: warning: cast to pointer from i

[PATCH V2 1/2] board: ti: am62x: evm: Include necessary header files

2023-06-21 Thread Nikhil M Jain
At the time of compilation evm.c gives below warning for implicit declaration of enable_caches, to mitigate this include cpu_func.h. board/ti/am62x/evm.c: In function ‘spl_board_init’: board/ti/am62x/evm.c:90:9: warning: implicit declaration of function ‘enable_caches’ [-Wimplicit-function-declar

[PATCH V2 0/2] Fix warnings occurred during compilation

2023-06-21 Thread Nikhil M Jain
This patch series aims at fixing warnings which occur during compilation, by including required header files and using appropriate types for variables which are typecasted. Changes in V2: - Type cast bmp_load_addr to uintptr_t at places necessary rather than changing argument type. Nikhil M Jai

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-21 Thread Andre Przywara
On Tue, 20 Jun 2023 16:11:48 -0600 Sam Edwards wrote: Hi Sam, pleasure to write with you ;-) > On 6/20/23 06:42, Andre Przywara wrote: > > So yeah, the request of a "Enter FEL" command came up multiple times, but > > so far no one could be bothered to implement this properly. The idea would > >

[PATCH V5 8/9] configs: am62x_evm_a53: Add bloblist address

2023-06-21 Thread Nikhil M Jain
Set bloblist address to 0x80D0. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V5: - No change. V4: - Remove the link to SPL DDR memory layout and add a new patch. V3: - Add link to updated memory map. V2: - Add Reviewed-by tag. configs/am62x_evm_a53_defconfig | 1 + 1 fi

[PATCH V5 9/9] doc: board: ti: am62x_sk: Add A53 SPL DDR layout

2023-06-21 Thread Nikhil M Jain
To understand usage of DDR in A53 SPL stage, add a table showing region and space used by major components of SPL. Signed-off-by: Nikhil M Jain --- V5: - Change the layout of A53 SPL DDR into tabular format. V4(patch introduced): - Document A53 SPL DDR memory layout. doc/board/ti/am62x_sk.rst

[PATCH V5 6/9] drivers: video: Kconfig: Add config remove video

2023-06-21 Thread Nikhil M Jain
This is required since user may want to either call the remove method of video driver and reset the display or not call the remove method to continue displaying until next stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Tom Rini --- V5: - No change. V4: - Add Revi

[PATCH V5 7/9] common: spl: spl: Remove video driver

2023-06-21 Thread Nikhil M Jain
Use config SPL_VIDEO_REMOVE to remove video driver at SPL stage before jumping to next stage, in place of CONFIG_SPL_VIDEO, to allow user to remove video if required. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V5: - No change. V4: - No change. V3: - Replace #if defined(CONFI

[PATCH V5 5/9] common: board_f: Pass frame buffer info from SPL to u-boot

2023-06-21 Thread Nikhil M Jain
U-boot proper can use frame buffer address passed from SPL to reserve the memory area used by framebuffer set in SPL so that splash image set in SPL continues to get displayed while u-boot proper is running. Put the framebuffer address and size in a bloblist to make them available at u-boot proper

[PATCH V5 4/9] include: video: Reserve video using blob

2023-06-21 Thread Nikhil M Jain
Add method to reserve video framebuffer information using blob, received from previous stage. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --- V5: - No change. V4: - No change. V3: - Add Reviewed-by tag. V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in video_reserve_from_blob. drivers/

[PATCH V5 3/9] board: ti: am62x: evm: Update function calls for splash screen

2023-06-21 Thread Nikhil M Jain
Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set up pagetable, initialise DRAM and enable Dcache to avoid multiple function calls. Check for CONFIG_SPL_VIDEO in place of CONFIG_SPL_VIDEO_TIDSS to prevent any build failure in case video config is not defined and video related

[PATCH V5 2/9] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-06-21 Thread Nikhil M Jain
In spl_dcache_enable after setting up page table, set gd->relocaddr pointer to tlb_addr, to get next location to reserve memory. Align tlb_addr with 64KB address. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V5: - No change. V4: - Add Reviewed-by tag. V3: - No change. V2: - P

[PATCH V5 1/9] common: spl: spl: Update stack pointer address

2023-06-21 Thread Nikhil M Jain
At SPL stage when stack is relocated, the stack pointer needs to be updated, the stack pointer may point to stack in on chip memory even though stack is relocated. Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini --- V5: - No change. V4: - No change. V3: - Add Reviewed-by tag. V2: - No chan

[PATCH V5 0/9] Update SPL splashscreen framework for AM62x

2023-06-21 Thread Nikhil M Jain
This patch series aims at updating SPL splashscreen framework for AM62x. This patch series depends on https://lore.kernel.org/u-boot/20230504225829.2537050-1-...@chromium.org/ This series: - Fixes compilation issues in case splash related configs are not defined in SPL. - Does page table setup,

RE: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-21 Thread Jose Marinho
Hi, > -Original Message- > From: Michal Simek > Sent: Tuesday, June 20, 2023 3:20 PM > To: Jassi Brar ; Ilias Apalodimas > > Cc: Jose Marinho ; u-boot@lists.denx.de; > etienne.carri...@linaro.org; tr...@konsulko.com; s...@chromium.org; > sughosh.g...@linaro.org; xypron.g...@gmx.de; takah

[PATCH v1 3/4] net: rtl8169: Add one more device ID

2023-06-21 Thread Minda Chen
Add the NIC device ID and adjust the PCI bar regions. Signed-off-by: Minda Chen --- drivers/net/rtl8169.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 34e4cff1e9..963702777c 100644 --- a/drivers/net/rtl8169.c +++ b/

[PATCH v1 4/4] configs: starfive-jh7110: Add CONFIG_RTL8169

2023-06-21 Thread Minda Chen
Add PCIe device rtl8169 net adapter driver support. Signed-off-by: Minda Chen --- configs/starfive_visionfive2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig index ffbc4b9476..360160200f 100644 --- a/

[PATCH v1 2/4] net: rtl8169: Fix DMA min aligned compile warning in riscv

2023-06-21 Thread Minda Chen
Fix rtl8169 descriptor less the DMA min aligned compile warning for RISC-V SoC platform. Signed-off-by: Minda Chen --- drivers/net/rtl8169.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index dcba51590d..34e4cff1e9 100644 --

[PATCH v1 0/4] Fix rtl8169 compile warning and add a new device ID

2023-06-21 Thread Minda Chen
StarFive JH7110 uboot support PCIe and using rtl8169 network adapter PCIe device. But compile warning in rtl8169 driver cause CI test fail. So commit this patch set to fix it, Also a new device ID to adjust the PCI bar regions in rtl8169. The StarFive JH7110 PCIe driver link: https://patchwork.ozl

[PATCH v1 1/4] net: rtl8169: Fix compile warning in rtl8169 network adapter

2023-06-21 Thread Minda Chen
Fix make pointer from integer without a cast compile warning. Signed-off-by: Minda Chen --- drivers/net/rtl8169.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 2276a465e7..dcba51590d 100644 --- a/drivers/net/r

[PATCH v2] cmd: usb: Prevent reset in usb tree/info command

2023-06-21 Thread Xavier Drudis Ferran
Commands causing reset in some configs: When bootflow scan is run, this will cause a UCLASS_BOOTDEV device to be added as sibling of those UCLASS_BLK devices found in the search chain defined in environment variable "boot_targets", until boot succeeds from some device. This can happen automat