Re: [PATCH 4/7] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-06-14 Thread Takahiro Akashi
On Thu, Jun 15, 2023 at 10:09:06AM +0530, Sughosh Ganu wrote: > On Wed, 14 Jun 2023 at 11:23, Takahiro Akashi > wrote: > > > > On Wed, Jun 14, 2023 at 10:56:23AM +0530, Sughosh Ganu wrote: > > > hi Takahiro, > > > > > > On Wed, 14 Jun 2023 at 09:09, Takahiro Akashi > > > wrote: > > > > > > > >

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

2023-06-14 Thread Rick Chen
> From: Bin Meng > Sent: Monday, June 12, 2023 3:36 PM > To: u-boot@lists.denx.de > Cc: Andre Przywara ; Anup Patel > ; Jonas Schwöbel ; Kautuk > Consul ; Leo Yu-Chi Liang(梁育齊) > ; Michael Walle ; Michal Simek > ; Nikita Shubin ; Rick Jian-Zhi > Chen(陳建志) ; Sean Anderson ; Sergei > Antonov

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

2023-06-14 Thread Rick Chen
> > From: Bin Meng > > Sent: Monday, June 12, 2023 3:36 PM > > To: u-boot@lists.denx.de > > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > > > > Subject: [PATCH 2/3] riscv: clint: Update the sifive clint ipi driver to > > support aclint > > > > This RISC-V ACLINT specification [1]

Re: [PATCH 4/7] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-06-14 Thread Sughosh Ganu
On Wed, 14 Jun 2023 at 11:23, Takahiro Akashi wrote: > > On Wed, Jun 14, 2023 at 10:56:23AM +0530, Sughosh Ganu wrote: > > hi Takahiro, > > > > On Wed, 14 Jun 2023 at 09:09, Takahiro Akashi > > wrote: > > > > > > Hi Sughosh, > > > > > > I think this is a good extension to mkeficapsule, but > > >

Re: [PATCH v2 1/3] mmc: Fix MMC_CMD_STOP_TRANSMISSION response type and add comment

2023-06-14 Thread Peng Fan
On 6/14/2023 9:42 PM, Marek Vasut wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button The MMC_CMD_STOP_TRANSMISSION response is R1 for read transfers per JEDEC

[PATCH] net: ti: am65-cpsw-nuss: Use dedicated port mode control registers

2023-06-14 Thread Andreas Dannenberg
The different CPSW sub-system Ethernet ports have different PHY mode control registers. In order to allow the modes to get configured independently only the register for the port in question must be accessed, otherwise we would just be re-configuring the mode for port 1, while leaving all others

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

2023-06-14 Thread Andre Przywara
On Mon, 12 Jun 2023 15:18:17 -0600 Sam Edwards wrote: Hi Sam, > On 6/11/23 18:20, Andre Przywara wrote: > > Thanks for the update and the list! Can you confirm where you > > still needed code changes compared to say my github branch plus the > > changes we already discussed? Trying some guesses

[PATCH v1] net: sun8i-emac: Add support for fixed-link phy

2023-06-14 Thread Maxim Kiselev
From: Maksim Kiselev Based on dt-specs fixed-link doesn't require phy-handle to be used. Fix driver to only read phy related setting when phy-handle is found. Signed-off-by: Maksim Kiselev --- drivers/net/sun8i_emac.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v3 06/10] dt-bindings: spi: Add bcm63xx-hsspi controller support

2023-06-14 Thread William Zhang
Hi Jagan, On 06/11/2023 03:43 AM, Jagan Teki wrote: On Thu, Jun 8, 2023 at 5:08 AM William Zhang wrote: Bring the device tree binding document from Linux to u-boot Port from linux patches: Link: https://lore.kernel.org/r/20230207065826.285013-2-william.zh...@broadcom.com Link:

Re: [PATCH] rockchip: Pinephone Pro: Add DDR RAM type config

2023-06-14 Thread Tom Rini
On Sun, Jun 11, 2023 at 06:18:34PM +0100, Peter Robinson wrote: > Add the RAM_ROCKCHIP_LPDDR4 to fix the Pinephone Pro booting. > When the configs were updated in 26f92be07e2 it somehow broke > the PPP boot process so let's fix it. > > Signed-off-by: Peter Robinson > CC: Jagan Teki > CC: Kever

Re: [PATCH] bootstd: Fix relative path use in extlinux bootmeth

2023-06-14 Thread Tom Rini
On Fri, Jun 09, 2023 at 02:59:01PM +, Jonas Karlman wrote: > Using relative path in a /boot/extlinux/extlinux.conf file fails to load > linux kernel. > > Using a /boot/extlinux/extlinux.conf file: > > LABEL test > LINUX ../linux/Image > > Result in following error: > > Retrieving

Re: [PATCH 2/2] net: dhcp6: Fix VCI string

2023-06-14 Thread Tom Rini
On Thu, May 18, 2023 at 12:35:41PM -0700, seanedm...@linux.microsoft.com wrote: > From: Sean Edmond > > Change VCI string from "U-boot" to "U-Boot". > > Signed-off-by: Sean Edmond > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 1/2] net: ipv6: Fix CID 453851 and CID 436278

2023-06-14 Thread Tom Rini
On Thu, May 18, 2023 at 12:35:40PM -0700, seanedm...@linux.microsoft.com wrote: > From: Sean Edmond > > CID 453851 : sprintf() shouldn't copy from/to tmp > CID 436278 : DHCP6 option_len should be checked before use > > Signed-off-by: Sean Edmond > Reviewed-by: Ramon Fried Applied to

Re: [PATCH] net: rtl8169: add depends on PCI

2023-06-14 Thread Tom Rini
On Wed, May 17, 2023 at 01:41:24PM +0300, Eugen Hristev wrote: > The rtl8169 driver uses calls to dm_pci_bus_to_phys, > which are compiled under CONFIG_PCI. > > Without CONFIG_PCI, this happens: > > drivers/net/rtl8169.o: in function `rtl_recv_common': > drivers/net/rtl8169.c:555: undefined

Re: [PATCH] spl: ext: Use partition size for mount

2023-06-14 Thread Tom Rini
On Tue, May 02, 2023 at 09:40:20PM +0530, Mayuresh Chitale wrote: > Since commit 9905cae65e03 ("fs: ext4: check the minimal partition size > to mount"), a valid size needs to be provided when mounting > an ext filesystem. Fix the spl ext driver to use the parition size > instead of 0 when

Re: [PATCH] bootstd: Make BOOTSTD_FULL depend on BOOTSTD

2023-06-14 Thread Tom Rini
On Wed, Feb 22, 2023 at 02:06:23PM -0700, Simon Glass wrote: > Move BOOTSTD_FULL down in the file so that it can be enabled only when > BOOTSTD is enabled. This prevents a build error if BOOTSTD is disabled > but BOOTSTD_FULL is enabled. > > Signed-off-by: Simon Glass > Reviewed-by: Ilias

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-14 Thread Tom Rini
On Sun, Jun 11, 2023 at 02:53:21PM +0200, Pali Rohár wrote: > These 3 commits broke support for U-Boot Bootmenu on Nokia N900. > Issues were reported more than month ago, but nobody reacted to them. > So revert these broken commits for now, to fix U-Boot Bootmenu support. > > With these revered

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-14 Thread Jonas Karlman
On 2023-06-14 09:46, Peter Robinson wrote: > On Tue, Jun 13, 2023 at 7:48 PM Jonas Karlman wrote: >> >> Hi Peter, >> >> On 2023-06-13 09:58, Peter Robinson wrote: >>> On Mon, Jun 12, 2023 at 11:20 PM Jonas Karlman wrote: Hi Peter, On 2023-06-11 22:22, Peter Robinson wrote:

Re: [PATCH] riscv: add backtrace support

2023-06-14 Thread Ben Dooks
On 14/06/2023 07:25, Bo Gan wrote: On 5/25/23 4:05 AM, Ben Dooks wrote: On 15/05/2023 14:03, Ben Dooks wrote: When debugging, it is useful to have a backtrace to find out what is in the call stack as the previous function (RA) may not have been the culprit. Since this adds size to the build,

Re: [v1] disable NFS support by default

2023-06-14 Thread Tom Rini
On Wed, Jun 14, 2023 at 03:41:10PM +0100, Peter Robinson wrote: > While NFS is widely used in data centres, and private > networks it's quite a nuanced usecase for device firmware. > A lot of devices already disable it. > > Various network protocols should really be opt in, not opt > out,

Re: [PATCH V3 6/8] drivers: video: Kconfig: Add config remove video

2023-06-14 Thread Tom Rini
On Wed, Jun 14, 2023 at 03:04:38PM +0530, Nikhil M Jain wrote: > 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:

Re: [PATCH V3 8/8] configs: am62x_evm_a53: Add bloblist address

2023-06-14 Thread Tom Rini
On Wed, Jun 14, 2023 at 03:04:40PM +0530, Nikhil M Jain wrote: > Set bloblist address to 0x80D0. > > Below is the link to updated memory map: > > Link: > https://gist.github.com/NikMJain/5686f7f976c18a359762b52d474dc07b#file-am62x-a53_spl_memory_map-rst > > Signed-off-by: Nikhil M Jain >

Re: [PATCH v2 3/3] renesas: rcar3: Load the correct device tree

2023-06-14 Thread Marek Vasut
On 6/14/23 17:40, Detlev Casanova wrote: On Wednesday, June 14, 2023 11:32:31 A.M. EDT Marek Vasut wrote: On 6/14/23 17:10, Detlev Casanova wrote: On Wednesday, June 14, 2023 9:53:14 A.M. EDT Marek Vasut wrote: On 6/12/23 21:51, Detlev Casanova wrote: The Renesas R-Car Gen3 boards use

Re: [PATCH v2 3/3] renesas: rcar3: Load the correct device tree

2023-06-14 Thread Detlev Casanova
On Wednesday, June 14, 2023 11:32:31 A.M. EDT Marek Vasut wrote: > On 6/14/23 17:10, Detlev Casanova wrote: > > On Wednesday, June 14, 2023 9:53:14 A.M. EDT Marek Vasut wrote: > >> On 6/12/23 21:51, Detlev Casanova wrote: > >>> The Renesas R-Car Gen3 boards use different device trees than > >>>

Re: [PATCH v2 3/3] renesas: rcar3: Load the correct device tree

2023-06-14 Thread Marek Vasut
On 6/14/23 17:10, Detlev Casanova wrote: On Wednesday, June 14, 2023 9:53:14 A.M. EDT Marek Vasut wrote: On 6/12/23 21:51, Detlev Casanova wrote: The Renesas R-Car Gen3 boards use different device trees than the default one. This commit uses the sysinfo's board id and revision to determine

Re: [PATCH v2 3/3] renesas: rcar3: Load the correct device tree

2023-06-14 Thread Detlev Casanova
On Wednesday, June 14, 2023 9:53:14 A.M. EDT Marek Vasut wrote: > On 6/12/23 21:51, Detlev Casanova wrote: > > The Renesas R-Car Gen3 boards use different device trees than > > the default one. > > > > This commit uses the sysinfo's board id and revision > > > > to determine which linux device

Re: [PATCH 1/4] config: rock64: start USB to make storage usable

2023-06-14 Thread Jonas Karlman
Hi Peter, On 2023-06-14 14:43, Peter Robinson wrote: > Start the USB stack so usb storage can be used. Adding the command > as usb keyboard isn't enabled as there's not currently display output. This is not needed for autoboot from usb to work and slows down boot from sd/emmc by forcing usb to

[v1] disable NFS support by default

2023-06-14 Thread Peter Robinson
While NFS is widely used in data centres, and private networks it's quite a nuanced usecase for device firmware. A lot of devices already disable it. Various network protocols should really be opt in, not opt out, because they add extra size and are potential attack vectors from a security PoV.

Re: [PATCH v2 3/3] renesas: rcar3: Load the correct device tree

2023-06-14 Thread Marek Vasut
On 6/12/23 21:51, Detlev Casanova wrote: The Renesas R-Car Gen3 boards use different device trees than the default one. This commit uses the sysinfo's board id and revision to determine which linux device tree to load: * H3 (Starter Kit Premier v2.0): renesas/r8a77951-ulcb.dtb * H3e

Re: [PATCH v2 1/3] renesas: rcar3: Expose the board id in sysinfo

2023-06-14 Thread Marek Vasut
On 6/12/23 21:51, Detlev Casanova wrote: This is a preparation commit for selecting the correct device tree name to be loaded depending on the board id. Signed-off-by: Detlev Casanova --- .../arm/mach-rmobile/include/mach/sys_proto.h | 15 ++ drivers/sysinfo/rcar3.c

Re: [PATCH v2 2/3] renesas: rcar3: Expose the board revision in sysinfo

2023-06-14 Thread Marek Vasut
On 6/12/23 21:51, Detlev Casanova wrote: The board revision is needed to determine which linux device tree to load. Signed-off-by: Detlev Casanova --- .../arm/mach-rmobile/include/mach/sys_proto.h | 6 ++ drivers/sysinfo/rcar3.c | 60 +++ 2 files

[PATCH v2 3/3] mmc: renesas-sdhi: Send stop when MMC tuning command fails

2023-06-14 Thread Marek Vasut
From: Hai Pham When tuning command (CMD21) fails with command error, call mmc_send_stop_transmission() to send stop command (CMD12). Reviewed-by: Takeshi Kihara Reviewed-by: Marek Vasut Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [Marek: Add dev_dbg() message in case tuning abort

[PATCH v2 2/3] mmc: Introduce mmc_send_stop_transmission()

2023-06-14 Thread Marek Vasut
From: Hai Pham If a tuning command times out, the card could still be processing it, which will cause problems for recovery. The eMMC specification section 6.6 Data transfer mode (cont’d) claims that CMD12 can be used to stop CMD21: " The relationship between the various data transfer modes is

[PATCH v2 1/3] mmc: Fix MMC_CMD_STOP_TRANSMISSION response type and add comment

2023-06-14 Thread Marek Vasut
The MMC_CMD_STOP_TRANSMISSION response is R1 for read transfers per JEDEC Standard No. 84-B51 Page 126 . Correct the response type and add a comment about it. Signed-off-by: Marek Vasut --- V2: New patch --- Cc: "Ying-Chun Liu (PaulLiu)" Cc: Hai Pham Cc: Jaehoon Chung Cc: Loic Poulain Cc:

Re: [PATCH v2] efi_selftests: fix controllers repeated selftesting

2023-06-14 Thread Heinrich Schuchardt
On 6/14/23 08:55, Ilias Apalodimas wrote: Running the controller selftest more than one times fails with => setenv efi_selftest 'controllers' && bootefi selftest Testing EFI API implementation Selected test: 'controllers' Setting up 'controllers' Setting up 'controllers' succeeded Executing

[PATCH 1/1] Kbuild: Fix cleanup of generated sources in tools

2023-06-14 Thread Tobias Deiminger
On 'make clean', generated C files in tools/env/ and tools/boot/ are currently not removed, but they should. Auto-generation for shared sources was first introduced with ad80c4a3220b ("kbuild, tools: generate wrapper C sources automatically by Makefile"). Cleanup later regressed (see Fixes:),

[PATCH 0/1] Kbuild: Fix cleanup of generated sources in tools

2023-06-14 Thread Tobias Deiminger
Generated C files in tools/env/ and tools/boot/ are currently not cleaned on 'make clean'. The patch fixes it by establishing a dedicated tools/generated/ directory that can be cleaned as a whole. Steps to reproduce: $ make CROSS_COMPILE=aarch64-linux-gnu- O=./build qemu_arm64_defconfig $ make

[PATCH 2/2] doc: board: phytec: add phycore_imx8mp

2023-06-14 Thread Yannic Moog
Add documentation on how to build a bootable U-Boot image for the PHYTEC phyCORE-i.MX 8M Plus. Signed-off-by: Yannic Moog --- doc/board/phytec/index.rst | 1 + doc/board/phytec/phycore-imx8mp.rst | 60 + 2 files changed, 61 insertions(+) create mode 100644

[PATCH 1/2] doc: board: phytec: add phycore_imx8mm

2023-06-14 Thread Yannic Moog
Add documentation on how to build a bootable U-Boot image for the PHYTEC phyCORE-i.MX 8M Mini. Signed-off-by: Yannic Moog --- doc/board/index.rst | 1 + doc/board/phytec/index.rst | 9 + doc/board/phytec/phycore-imx8mm.rst | 60 + 3

[PATCH 4/4] rockchip: dts: rk3328: rock64: Align spi flash entry

2023-06-14 Thread Peter Robinson
Align the SPI flash entry with upstream. There's no need to diverge here. Signed-off-by: Peter Robinson --- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 2 +- arch/arm/dts/rk3328-rock64.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/4] rockchip: dts: rk3328: Add rng details to u-boot.dtsi

2023-06-14 Thread Peter Robinson
Add the rk3328 rng details to the u-boot.dtsi and enable the RNG on the Rock64 to be able to provide a rnadom seed via UEFI. Signed-off-by: Peter Robinson --- The DT snippet will allow this to be enabled on other rk3328 devices but I only have the Rock54 to test on.

[PATCH 2/4] config: rock64: enable efuse for stable mac addr

2023-06-14 Thread Peter Robinson
Enable the rockchip efuse driver on the Rock64 to provide a stable ethernet address on the device. Signed-off-by: Peter Robinson --- While the rockchip efuse driver currently has issues on rk3328 due to, I believe, it not being properly initialised in ATF, enabling it at least provides a

[PATCH 1/4] config: rock64: start USB to make storage usable

2023-06-14 Thread Peter Robinson
Start the USB stack so usb storage can be used. Adding the command as usb keyboard isn't enabled as there's not currently display output. Signed-off-by: Peter Robinson --- configs/rock64-rk3328_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/rock64-rk3328_defconfig

[PATCH 2/2] configs: phycore-imx8mm_defconfig: Enable LTO

2023-06-14 Thread Teresa Remmet
Enable LTO for binary size reduction. Signed-off-by: Teresa Remmet --- configs/phycore-imx8mm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig index ffdb5cce8eb5..4a27d15cb113 100644 ---

[PATCH 1/2] configs: phycore-imx8mp_defconfig: Enable LTO

2023-06-14 Thread Teresa Remmet
Enable LTO for binary size reduction. Signed-off-by: Teresa Remmet --- configs/phycore-imx8mp_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig index 3d076204ad03..7bf404be860b 100644 ---

[PATCH 3/3] xilinx: versal-net: Add mini eMMC 5.1 configuration

2023-06-14 Thread Ashok Reddy Soma
Add support for Versal NET mini eMMC 5.1 configuration. Add device tree and defconfig. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/Makefile | 1 + arch/arm/dts/versal-net-mini-emmc.dts | 64 +++ configs/xilinx_versal_net_mini_emmc_defconfig

[PATCH 2/3] xilinx: versal-net: Add mini ospi configuration

2023-06-14 Thread Ashok Reddy Soma
Add support for Versal NET mini Octal SPI flash configuration. This runs from onchip memory, so it has to be compact. Hence only Octal SPI related settings are enabled. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/Makefile | 1 +

[PATCH 1/3] xilinx: versal-net: Add mini qspi configuration

2023-06-14 Thread Ashok Reddy Soma
Add support for Versal NET mini Quad SPI flash configuration. This runs from onchip memory, so it has to be compact. Hence only Quad SPI related settings are enabled. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/Makefile | 1 +

[PATCH 0/3] Add Versal NET mini U-Boot configurations

2023-06-14 Thread Ashok Reddy Soma
In this patch series add support for Versal NET mini U-Boot configurations for qspi, ospi and emmc flashes. Ashok Reddy Soma (3): xilinx: versal-net: Add mini qspi configuration xilinx: versal-net: Add mini ospi configuration xilinx: versal-net: Add mini eMMC 5.1 configuration

[PATCH] cadence_qspi: Enable flash reset for Versal NET platform

2023-06-14 Thread Ashok Reddy Soma
Enable flash reset functionality for Versal NET platform. In cadence_qspi.c there is weak function defined for reset, hence remove the check for config, so that it will work for Versal and Versal NET platforms. Add register defines in Versal NET hardware.h for mini U-Boot flash reset. Add

Re: [PATCH 2/4] mmc: hi6220_dw_mmc: add compatible for HC2910 support

2023-06-14 Thread Peng Fan
On 4/1/2023 7:17 PM, Yang Xiwen wrote: It adds compatible "hisilicon,hi3798mv200-dw-mshc" for HC2910 SoC Hi3798MV200 to probe this mmc driver. It would be better if you could write more information, about why it reuse the data structure of hi6220_mmc_data. Regards, Peng. Signed-off-by:

Re: [PATCH] mmc: rpmb: realign frames before passing to MMC driver

2023-06-14 Thread Peng Fan
On 5/11/2023 11:07 PM, Pavel Löbl wrote: MMC driver requires request and response frame buffers to be properly aligned for DMA transfers. Fix already implemented reallocation for request frame and also add realigment for response frame if needed. Have you met any issues without your patch?

Re: [PATCH] mmc: rpmb: poll mmc status after sending rpmb request

2023-06-14 Thread Peng Fan
On 5/25/2023 1:45 PM, Ji Luo wrote: polling the mmc status to make sure the rpmb request has been sent and the mmc is not in BUSY state. This avoids potential rpmb request failure during rpmb data write. Signed-off-by: Ji Luo Reviewed-by: Peng Fan --- drivers/mmc/rpmb.c | 10

[PATCH v2] env: mmc: statically set the environment partition name

2023-06-14 Thread Emmanuel Di Fede
The new opt-out setting, CONFIG_ENV_MMC_PARTITION, statically sets the MMC environment partition name. Prior to this patch, the only way to declare this partition name was by creating a 'u-boot,mmc-env-partition' parameter in the device-tree's /config node. This setting provides additional

Re: [PATCH] mmc: Set clock when reverting to safe bus mode

2023-06-14 Thread Peng Fan
On 6/10/2023 7:22 PM, Marek Vasut wrote: From: Valentine Barshak Set MMC clock when reverting to safe bus mode and speed in case current MMC mode fails. Otherwise, trying out the other modes may fail as well. Reviewed-by: Marek Vasut Signed-off-by: Valentine Barshak [hp: fallback to

Re: [PATCH 1/2] mmc: Introduce mmc_send_stop_transmission()

2023-06-14 Thread Peng Fan
On 6/10/2023 7:23 PM, Marek Vasut wrote: From: Hai Pham If a tuning command times out, the card could still be processing it, which will cause problems for recovery. The eMMC specification section 6.6 Data transfer mode (cont’d) claims that CMD12 can be used to stop CMD21: " The

Re: [PATCH V3 5/8] common: board_f: Pass frame buffer info from SPL to u-boot

2023-06-14 Thread Devarsh Thakkar
On 14/06/23 15:04, Nikhil M Jain wrote: > 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

Re: [PATCH V3 3/8] board: ti: am62x: evm: Update function calls for splash screen

2023-06-14 Thread Devarsh Thakkar
Hi Nikhil, On 14/06/23 15:04, Nikhil M Jain wrote: > Use spl_dcache_enable, in place of setup_dram, arch_reserve_mmu to set > up pagetable, initialise DRAM and enable Dcache. > I think the patch does more than just above, please mention about those changes too in commit message for future

Re: [PATCH V3 2/8] arch: arm: mach-k3: common: Return a pointer after setting page table

2023-06-14 Thread Devarsh Thakkar
On 14/06/23 15:04, Nikhil M Jain wrote: > 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 > --- > V3: > - No

Re: [PATCH] mmc: Do not read eMMC partition access bits by default on OMAP2PLUS and BCM283X

2023-06-14 Thread Peng Fan
On 5/17/2023 2:49 AM, Pali Rohár wrote: OMAP2PLUS and BCM283X mmc controllers do not work correctly with new emmc code which reads partition access bits prior mmc controller reset. So introduce a new config option MMC_ENABLE_PART_ACCESS, which is by default disabled for ARCH_OMAP2PLUS and

[PATCH V3 7/8] common: spl: spl: Remove video driver

2023-06-14 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 --- V3: - Replace #if defined(CONFIG_SPL_VIDEO_REMOVE) with if

[PATCH V3 8/8] configs: am62x_evm_a53: Add bloblist address

2023-06-14 Thread Nikhil M Jain
Set bloblist address to 0x80D0. Below is the link to updated memory map: Link: https://gist.github.com/NikMJain/5686f7f976c18a359762b52d474dc07b#file-am62x-a53_spl_memory_map-rst Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar --- V3: - Add link to updated memory map. V2: -

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

2023-06-14 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

[PATCH V3 4/8] include: video: Reserve video using blob

2023-06-14 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 --- V3: - Add Reviewed-by tag. V2: - Remove #if CONFIG_IS_ENABLED(VIDEO) in video_reserve_from_blob. drivers/video/video-uclass.c | 11

[PATCH V3 6/8] drivers: video: Kconfig: Add config remove video

2023-06-14 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 --- V3: - No change. V2: - Add Reviewed-by tag.

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

2023-06-14 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. Signed-off-by: Nikhil M Jain --- V3: - No change. V2: - Use CONFIG_SPL_VIDEO in place of CONFIG_SPL_VIDEO_TIDSS to reserve video and call splash at SPL. - Check

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

2023-06-14 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 --- V3: - No change. V2: - Perform 64KB alignment on tlb_addr. arch/arm/mach-k3/common.c | 2 ++ 1

[PATCH V3 1/8] common: spl: spl: Update stack pointer address

2023-06-14 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 --- V3: - Add Reviewed-by tag. V2: - No change. common/spl/spl.c | 1 + 1

[PATCH V3 0/8] Update SPL splashscreen framework for AM62x

2023-06-14 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

[PATCH] arm64: versal-net: spi: Update boot sequence dynamically

2023-06-14 Thread Ashok Reddy Soma
Currently xspi0 is used for all spi boot modes, it means it will use "sf probe 0 0 0" for all spi's irrespective of which node it is wired. Get boot sequence from dev_seq() and update boot command for xspi dynamically. As a result bootcmd for spi is updated as below when two instances of spi are

[PATCH v2 4/6] mtd: nand: zynq_nand: Change datatype of status and ecc_status to int

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar status and ecc_status are of unsigned type where they are compared for negative value. This is pointed by below sparse warning. Change datatype to int to fix this. warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] Signed-off-by:

[PATCH v2 6/6] xilinx: zynq: Add the missing function prototypes

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add the missing prototypes for the functions pointed by the below sparse warnings warning: no previous prototype for 'set_dfu_alt_info' [-Wmissing-prototypes] warning: no previous prototype for 'board_debug_uart_init' [-Wmissing-prototypes] Signed-off-by: Algapally

[PATCH v2 5/6] arm: zynq: Pass the missing argument type in function definition

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Pass missing argument type in the function definition to fix the sparse warning, warning: old-style function definition [-Wold-style-definition] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Added argument void in

[PATCH v2 3/6] spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynq_qspi_mem_exec_op' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) drivers/spi/zynq_qspi.c | 4

[PATCH v2 1/6] spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the below sparse warning warning: no previous prototype for 'xilinx_qspi_mem_exec_op' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) drivers/spi/xilinx_spi.c

[PATCH v2 2/6] xilinx: zynq: Add missing prototype for zynqmp_mmio_write

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Move prototype declaration from

[PATCH v2 0/6] Fix sparse warnings in zynq platform

2023-06-14 Thread Ashok Reddy Soma
Fix below sparse warnings - Add missing prototype for zynqmp_mmio_write - Add missing prototype for zynq_qspi_mem_exec_op - Change datatype of status and ecc_status from u32 to int - Pass the missing argument type in function definition - Add the missing function prototypes - Add missing

[PATCH v1] colibri_imx6: fix RALAT and WALAT values

2023-06-14 Thread Francesco Dolcini
From: Stefan Eichenberger Running a memtest in U-Boot and Linux shows that some Colibri iMX6 produce bitflips at temperatures above 60°C. This happens because the RALAT and WALAT values on the Colibri iMX6 are too low. The problems were introduced by commit 09dbac8174c4 ("mx6: ddr: Restore

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

2023-06-14 Thread Xavier Drudis Ferran
Thanks for explaining, Simon Glass. Can someone please stop me if I'm splitting hairs or bikeshedding or something ? I guess we agree both checking for null or UCLASS_BOOTDEV would work right now but we are looking for what's more future-proof. El Tue, Jun 13, 2023 at 09:12:30PM +0100, Simon

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-14 Thread Peter Robinson
On Tue, Jun 13, 2023 at 7:48 PM Jonas Karlman wrote: > > Hi Peter, > > On 2023-06-13 09:58, Peter Robinson wrote: > > On Mon, Jun 12, 2023 at 11:20 PM Jonas Karlman wrote: > >> > >> Hi Peter, > >> > >> On 2023-06-11 22:22, Peter Robinson wrote: > >>> Hi Jonas, > >>> > >>> This regresses the

Re: [RFC] disable NFS support by default

2023-06-14 Thread Peter Robinson
On Wed, Jun 14, 2023 at 12:34 AM Bin Meng wrote: > > On Wed, Jun 14, 2023 at 2:41 AM Tom Rini wrote: > > > > On Tue, Jun 13, 2023 at 11:52:16AM +0100, Peter Robinson wrote: > > > > > While NFS is widely used in data centres, and private > > > networks it's quite a nuanced usecase for device

Re: [PATCH v1 3/3] board: microchip: set mac address for ethernet1 on icicle

2023-06-14 Thread Conor Dooley
On Tue, Jun 13, 2023 at 05:35:58AM +, padmarao.beg...@microchip.com wrote: > On Wed, 2023-06-07 at 11:06 +0100, Conor Dooley wrote: > > @@ -123,6 +123,15 @@ int board_late_init(void) > > > > mac_addr[5] = device_serial_number[0] + 1; > > > > + node = fdt_path_offset(blob,

[PATCH v2] efi_selftests: fix controllers repeated selftesting

2023-06-14 Thread Ilias Apalodimas
Running the controller selftest more than one times fails with => setenv efi_selftest 'controllers' && bootefi selftest Testing EFI API implementation Selected test: 'controllers' Setting up 'controllers' Setting up 'controllers' succeeded Executing 'controllers' Executing 'controllers' succeeded

Re: [PATCH] riscv: add backtrace support

2023-06-14 Thread Bo Gan
On 5/25/23 4:05 AM, Ben Dooks wrote: On 15/05/2023 14:03, Ben Dooks wrote: When debugging, it is useful to have a backtrace to find out what is in the call stack as the previous function (RA) may not have been the culprit. Since this adds size to the build, do not add it by default and avoid

Re: [PATCH] watchdog: versal: Use new compatible xlnx,versal-wwdt

2023-06-14 Thread Stefan Roese
On 6/13/23 13:22, Michal Simek wrote: DT binding has been approved that's why use new compatible string. The old one is mark as deprecated and should be removed after some releases. Link: https://lore.kernel.org/r/20230420104231.2243079-3-srinivas.ne...@amd.com/ Signed-off-by: Michal Simek