Re: [PATCH] efi_loader : Suppress error print message

2024-01-29 Thread Michal Simek
On 1/28/24 10:20, Heinrich Schuchardt wrote: On 1/28/24 06:20, Bhumkar, Tejas Arvind wrote: [AMD Official Use Only - General] Hi Heinrich, -Original Message- From: Heinrich Schuchardt Sent: Wednesday, January 24, 2024 2:09 AM To: Bhumkar, Tejas Arvind Cc: u-boot@lists.denx.de;

[PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node

2024-01-29 Thread Nam Cao
JH7110 has a power management unit controller node. Add this node. This device is used by OpenSBI during board reset/shutdown. Signed-off-by: Nam Cao --- arch/riscv/dts/jh7110.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi

[PATCH v2 2/2] riscv: dts: starfive: add regulator device

2024-01-29 Thread Nam Cao
Add the axp15060 regulator device. OpenSBI uses this device to perform board reset and shutdown. Signed-off-by: Nam Cao --- v2: "stf,axp15060-regulator" -> "x-powers,axp15060" to match Linux. arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v2 0/2] Add device tree nodes needed by OpenSBI on Visionfive 2

2024-01-29 Thread Nam Cao
This series adds 2 device tree nodes. These are needed by OpenSBI to perform reset/shutdown of the board. v2: - rename "compatible" property to match the one in Linux. - extra clarification in commit messages. Nam Cao (2): riscv: dts: jh7110: add power management unit controller node

[PATCH 2/2] doc: board: phytec: Add phyCORE-AM64x

2024-01-29 Thread Wadim Egorov
Add documentation for PHYTEC phyCORE-AM64x SoM. Signed-off-by: Wadim Egorov --- doc/board/phytec/index.rst | 1 + doc/board/phytec/phycore-am64x.rst | 159 + 2 files changed, 160 insertions(+) create mode 100644 doc/board/phytec/phycore-am64x.rst diff

[PATCH 0/2] *** Add support for phyCORE-AM64x ***

2024-01-29 Thread Wadim Egorov
Add basic support for the phyCORE-AM64x.. Wadim Egorov (2): board: phytec: am64x: Add PHYTEC phyCORE-AM64x SoM doc: board: phytec: Add phyCORE-AM64x arch/arm/dts/Makefile |4 +- .../arm/dts/k3-am64-phycore-som-ddr4-2gb.dtsi | 2189 +

Re: [PATCH v2 1/9] mtd: spi-nor-core: Clean up macros for Infineon(Cypress) S25 and S28

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > Some macro definitions used in Infineon(Cypress) S25 and S28 series are > redundant and some have inconsistent prefix. This patch removes > redundant ones and renames some to have same prefix as others. > > Signed-off-by:

Re: [PATCH v2 00/30] Fix issues with QSPI and OSPI compare failures

2024-01-29 Thread Jagan Teki
On Wed, Dec 6, 2023 at 3:02 PM Tejas Bhumkar wrote: > > A set of patches has been developed to resolve concerns regarding data > integrity failures in QSPI and OSPI for the Versal, Versal NET, Zynq, > and ZynqMP platforms. > > The series has undergone testing with flashes on the default setup, >

Re: [PATCH v2 5/7] net: dwc_eth_qos_rockchip: Add support for RK3588

2024-01-29 Thread Stefan Agner
Hi Jonas, On 2023-10-01 21:17, Jonas Karlman wrote: > Add rk_gmac_ops and other special handling that is needed for GMAC to > work on RK3588. > > rk_gmac_ops was ported from linux commits: > 2f2b60a0ec28 ("net: ethernet: stmmac: dwmac-rk: Add gmac support for rk3588") > 88619e77b33d ("net:

Re: [PATCH] mtd: spinand: Add support for XTX XT26xxxDxxxxx

2024-01-29 Thread Jagan Teki
On Tue, Dec 26, 2023 at 1:28 PM Bruce Suen wrote: > > Add Support XTX Technology XT26G01DX, XT26G11DX, XT26Q01DX, > XT26G02DX, XT26G12DX, XT26Q02DX, XT26G04DX, and > XT26Q04DX SPI NAND. > > These are 3V/1.8V 1G/2G/4Gbit serial SLC NAND flash device with on-die >

Re: [PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support

2024-01-29 Thread Marek Vasut
On 1/29/24 12:52, Jagan Teki wrote: On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut wrote: From: Hai Pham Support RPC SPI on R8A779H0 V4M SoC. Reviewed-by: Paul Barker Signed-off-by: Hai Pham --- Cc: Jagan Teki Cc: Paul Barker --- Applied to u-boot-spi/master I don't think this will

Re: [PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support

2024-01-29 Thread Jagan Teki
On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut wrote: > > From: Hai Pham > > Support RPC SPI on R8A779H0 V4M SoC. > > Reviewed-by: Paul Barker > Signed-off-by: Hai Pham > --- > Cc: Jagan Teki > Cc: Paul Barker > --- Reviewed-by: Jagan Teki

[bug report] cmd: mbr: Allow 4 MBR partitions without need for extended

2024-01-29 Thread Dan Carpenter
Hello Alexander Gendin, The patch 04291ee0aba6: "cmd: mbr: Allow 4 MBR partitions without need for extended" from Oct 9, 2023, leads to the following Smatch static checker warning: test/cmd/mbr.c:243 mbr_test_run() warn: sizeof(NUMBER)? test/cmd/mbr.c 233 ulong

Re: [PATCH] sunxi: add defconfig for nanopi_duo2

2024-01-29 Thread Andre Przywara
On Sun, 21 Jan 2024 01:15:28 + Andre Przywara wrote: Hi, > On Thu, 28 Dec 2023 13:29:15 +0800 > Chuanhong Guo wrote: > > Hi, > > thanks for taking care and sending a patch! > > > FriendlyElec NanoPi Duo2 is a tiny SBC with Allwinner H3 and > > Ampak AP6212 WiFi module. The device-tree

Re: [PATCH v2 4/9] mtd: spi-nor-core: Use CLPEF(0x82) as alternative to CLSR(0x30) for S25 and S28

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > Infineon(Cypress) S28Hx-T family does not support legacy CLSR(0x30) opcode. > Instead, it supports CLPEF(0x82) which has the same functionality as CLSR. > spansion_sr_ready() is for multi-die package parts including S28HS02GT,

Re: [PATCH v2 01/30] mtd: spi-nor: Add config to enable flash DTR

2024-01-29 Thread Jagan Teki
On Sun, Dec 31, 2023 at 11:27 PM Bhumkar, Tejas Arvind wrote: > > [AMD Official Use Only - General] > > Hi Jagan, > > > -Original Message- > > From: Jagan Teki > > Sent: Wednesday, December 20, 2023 1:00 PM > > To: Bhumkar, Tejas Arvind > > Cc: u-boot@lists.denx.de;

Re: [PATCH v5 0/8] Move framebuffer reservation for SPL to RAM end

2024-01-29 Thread Devarsh Thakkar
Hi Anatolij, Tom, On 08/01/24 13:32, Devarsh Thakkar wrote: Hi Anatolij, Tom, On 26/12/23 15:17, Simon Glass wrote: On Wed, Dec 13, 2023 at 2:56 PM Devarsh Thakkar wrote: Hi Antoine, On 05/12/23 21:25, Devarsh Thakkar wrote: Move video memory reservation for SPL at end of RAM so that it

Re: [PATCH v3 3/4] sunxi: binman: Support FIT generation for 32-bit SoCs

2024-01-29 Thread Andre Przywara
On Tue, 31 Oct 2023 00:17:40 -0500 Samuel Holland wrote: Hi, > Some 32-bit SoCs can use SCP firmware to implement additional PSCI > functionality, such as system suspend. In order to load this firmware > from SPL, we need to generate and use a FIT instead of a legacy image. > > Adjust the

Re: [PATCH v2 9/9] mtd: spi-nor-ids: Add Infineon(Cypress) s28hs02gt ID

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:17 AM wrote: > > From: Takahiro Kuwano > > Infineon(Cypress) S28HS02GT is 1.8V, 2Gb (256MB) NOR Flash memory with > Octal interface. It is a dual-die package parts and has same features > with existing S28 series. > > Signed-off-by: Takahiro Kuwano > --- Reviewed-by:

Re: [PATCH v2 8/9] mtd: spi-nor-core: Rework spi_nor_cypress_octal_dtr_enable()

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > Enabling Octal DTR mode in multi-die package parts requires reister setup > for each die. That can be done by simple for-loop. write_enable() takes > effect to all die at once so we can call it before the loop. Besides we >

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-29 Thread Nishanth Menon
On 17:02-20240129, Apurva Nandan wrote: > Hi, > > On 24/01/24 02:17, Nishanth Menon wrote: > > On 20:21-20240123, Apurva Nandan wrote: > > [...] > > > > > +void k3_mem_init(void) > > > > > +{ > > > >

Re: [PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-29 Thread Fabio Estevam
On Sun, Jan 28, 2024 at 6:43 PM Jesse Taube wrote: > +++ b/configs/imxrt1050-evk_fspi_defconfig > @@ -0,0 +1,100 @@ > +CONFIG_ARM=y > +CONFIG_SYS_DCACHE_OFF=y Out of curiosity: what are the problems if the D-Cache is turned on?

Re: [PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support

2024-01-29 Thread Marek Vasut
On 1/29/24 14:30, Jagan Teki wrote: On Mon, Jan 29, 2024 at 6:57 PM Marek Vasut wrote: On 1/29/24 12:52, Jagan Teki wrote: On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut wrote: From: Hai Pham Support RPC SPI on R8A779H0 V4M SoC. Reviewed-by: Paul Barker Signed-off-by: Hai Pham --- Cc:

Re: [PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support

2024-01-29 Thread Jagan Teki
On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut wrote: > > From: Hai Pham > > Support RPC SPI on R8A779H0 V4M SoC. > > Reviewed-by: Paul Barker > Signed-off-by: Hai Pham > --- > Cc: Jagan Teki > Cc: Paul Barker > --- Applied to u-boot-spi/master

Re: [PATCH] Add XMC XM25QH128C/XM25QH256C/XM25QU256C/XM25QH512C/XM25QU512C site: https://www.xmcwh.com/site/product

2024-01-29 Thread Jagan Teki
On Tue, Jan 16, 2024 at 11:09 AM Ssunk wrote: > > Signed-off-by: Kankan Sun > --- Applied to u-boot-spi/master

Re: [PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

2024-01-29 Thread Linus Walleij
On Mon, Jan 29, 2024 at 12:54 PM Kristian Amlie wrote: > On 29/01/2024 12:41, Ole Orhagen wrote: > > On Fri, Jan 26, 2024 at 8:57 PM Linus Walleij > > wrote: > > Are you using the actual hardware, or QEMU? > > > > > > I only have QEMU available,

Re: [PATCH v2 07/11] mtd: spi: renesas: Add R8A779H0 V4M support

2024-01-29 Thread Jagan Teki
On Mon, Jan 29, 2024 at 6:57 PM Marek Vasut wrote: > > On 1/29/24 12:52, Jagan Teki wrote: > > On Sun, Jan 28, 2024 at 9:25 PM Marek Vasut > > wrote: > >> > >> From: Hai Pham > >> > >> Support RPC SPI on R8A779H0 V4M SoC. > >> > >> Reviewed-by: Paul Barker > >> Signed-off-by: Hai Pham > >>

Re: [PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

2024-01-29 Thread Kristian Amlie
On 29/01/2024 12:41, Ole Orhagen wrote: On Fri, Jan 26, 2024 at 8:57 PM Linus Walleij > wrote: On Fri, Jan 26, 2024 at 1:48 PM Ole P. Orhagen wrote: > This commit enables support for DM_SERIAL in the vexpress_ca9x4 boards. > >

Re: [PATCH] mtd: spi-nor: ids: Add is25lx512 chip

2024-01-29 Thread Jagan Teki
On Wed, Dec 27, 2023 at 9:58 PM Tejas Bhumkar wrote: > > Added support for the ISSI OSPI flash part IS25LX512M. > Initial testing was performed on the Tenzing-se1 board using > SDR mode, covering basic erase, write, and readback operations. > > Signed-off-by: Tejas Bhumkar > --- Applied to

Re: [PATCH v2 7/9] mtd: spi-nor-core: Consolidate post_bfpt_fixup() for Infineon(Cypress) S25 and S28

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > s28hx_t_post_bfpt_fixup() fixes erase opcode, erase size, and page size. > s25_post_bfpt_fixup() is doing same thing including multi-die support. > We can consolidate s28hx_t_post_bfpt_fixup() and s25_post_bfpt_fixup() > into

Re: [PATCH v2 6/9] mtd: spi-nor-core: Consolidate setup() hook for Infineon(Cypress) S25 and S28

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > s28hx_t_setup() only checks sector layout setting. To support multi-die > package parts like S28HS02GT, it needs to check device size and assign > ready() hook for multi-die package parts. These are covered in s25_setup() > so

Re: Pull request: u-boot-sunxi/master for v2024.04

2024-01-29 Thread Andre Przywara
On Mon, 29 Jan 2024 15:55:43 + Andre Przywara wrote: Hi Tom, > please pull the sunxi/master branch, containing the first part of the I just saw that the CI pipeline failed on missing maintainer entries for the two new boards. Is that a showstopper for you? Shall I update the branch, or

Re: [PATCH V3] firmware: ti_sci: fix the secure_hdr in do_xfer

2024-01-29 Thread Nishanth Menon
On 11:44-20240129, Dhruva Gole wrote: > On Jan 24, 2024 at 12:09:06 -0600, Nishanth Menon wrote: > > On 18:37-20240124, Dhruva Gole wrote: > > > The secure_hdr needs to be 0 init-ed however this was never being put > > > into the secure_buf, leading to possi

[PATCH 3/3] phycore-imx8mp: add support for booting and flashing emmc via UUU

2024-01-29 Thread Benjamin Hahn
add support for Serial Downloader Boot via UUU as well as flashing emmc via UUU on USB0 Port of phyBOARD Pollux. Signed-off-by: Benjamin Hahn --- board/phytec/phycore_imx8mp/phycore-imx8mp.c | 4 configs/phycore-imx8mp_defconfig | 18 --

[PATCH 2/3] phycore-imx8mp: add USB mass storage support

2024-01-29 Thread Benjamin Hahn
add support for USB mass storage to USB0 port of phyBOARD Pollux. tested with "ums 0 mmc 2" Signed-off-by: Benjamin Hahn --- arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 13 + configs/phycore-imx8mp_defconfig| 7 +++ 2 files changed, 20

Re: [PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

2024-01-29 Thread Ole Orhagen
On Fri, Jan 26, 2024 at 8:57 PM Linus Walleij wrote: > On Fri, Jan 26, 2024 at 1:48 PM Ole P. Orhagen > wrote: > > > This commit enables support for DM_SERIAL in the vexpress_ca9x4 boards. > > > > When running the board with the DM_SERIAL driver, the board ran out of > > memory in SPL when

[PATCH 1/3] phycore-imx8mp: add USB host support

2024-01-29 Thread Benjamin Hahn
The phyBOARD Pollux has two USB ports. Add support for USB host and USB storage for the USB1 port. Signed-off-by: Benjamin Hahn --- arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 13 + configs/phycore-imx8mp_defconfig| 10 ++ 2 files changed, 23

[PATCH 0/3] phycore-imx8mp: Add USB support

2024-01-29 Thread Benjamin Hahn
add support for various USB features like USB storage, USB mass storage as well as booting and flashing emmc via UUU. Signed-off-by: Benjamin Hahn --- Benjamin Hahn (3): phycore-imx8mp: add USB host support phycore-imx8mp: add USB mass storage support phycore-imx8mp: add

[PATCH 1/1] smbios: get_str_from_dt() - add sysinfo_id description

2024-01-29 Thread Heinrich Schuchardt
Add description for parameter sysinfo_id of function get_str_from_dt(). Fixes: 07c9e683a484 ("smbios: Allow a few values to come from sysinfo") Signed-off-by: Heinrich Schuchardt --- lib/smbios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/smbios.c b/lib/smbios.c index

Re: [PATCH 1/1] smbios: get_str_from_dt() - add sysinfo_id description

2024-01-29 Thread Ilias Apalodimas
On Mon, 29 Jan 2024 at 14:58, Heinrich Schuchardt wrote: > > Add description for parameter sysinfo_id of function get_str_from_dt(). > > Fixes: 07c9e683a484 ("smbios: Allow a few values to come from sysinfo") > Signed-off-by: Heinrich Schuchardt > --- > lib/smbios.c | 1 + > 1 file changed, 1

Re: [PATCH v5 0/7] rpi5: initial support

2024-01-29 Thread Darko Alavanja
Tested by: Darko Alavanja

Pull request: u-boot-sunxi/master for v2024.04

2024-01-29 Thread Andre Przywara
Hi Tom, please pull the sunxi/master branch, containing the first part of the 2024.04 changes. I had some more (USB regulator) changes queued, but found regressions during the final testing, so had to drop some. If I can find reasons and simple fixes for those, I would send them later. So for

Re: [PATCH v2] spi: cadence_qspi: Address the comparison failure for 0-8 bytes of data

2024-01-29 Thread Jagan Teki
On Sun, Jan 28, 2024 at 12:08 PM Tejas Bhumkar wrote: > > The current implementation encounters issues when testing data ranging > from 0 to 8 bytes. This was confirmed through testing with both ISSI > (IS25WX256) and Micron (MT35XU02G) Flash exclusively in SDR mode. > > Upon investigation, it

Re: [PATCH v2 5/9] mtd: spi-nor-core: Rework s25_mdp_ready() to support Octal DTR mode

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > s25_mdp_ready() handles status polling for multi-die package parts that > requires to read and check status register for each die. To support > S28HS02GT(dual-die package with Octal DTR support), rename function and > use

Re: [PATCH v2] common: splash_source: Don't compile ubifs splash cmd for SPL build

2024-01-29 Thread Devarsh Thakkar
Hi Simon, Tom, On 24/01/24 17:26, Nikhil Jain wrote: Hi Devarsh, On 24/01/24 14:35, Devarsh Thakkar wrote: Don't compile ubifs splash mount command for SPL build as this command is not supported (and also not enabled) during SPL stage. This fixes below compilation error, when

Re: [PATCH v2 3/9] mtd: spi-nor-core: Rework spansion_read_any_reg() to support Octal DTR mode

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > In Infineon multi-die package parts, we need to use Read Any Register op > to read status register in 2nd or further die. Infineon S28HS02GT is > dual-die package and supports Octal DTR interface. To support this, >

Re: [PATCH v2 2/9] mtd: spi-nor-core: Consolidate non-uniform erase helpers for S25 and S28

2024-01-29 Thread Jagan Teki
On Fri, Dec 22, 2023 at 11:16 AM wrote: > > From: Takahiro Kuwano > > s25_erase_non_uniform() and s28hx_t_erase_uniform() support hybrid sector > layout (32 x 4KB sectors overlaid at bottom address) and doing same thing. > Consolidate them into single helper named s25_s28_erase_non_uniform(). >

Re: [PATCH] video: tidss: Use DT property names for parsing nodes

2024-01-29 Thread Devarsh Thakkar
Hi Anatolij,Tom On 24/01/24 17:28, Nikhil Jain wrote: Hi Devarsh, On 24/01/24 14:37, Devarsh Thakkar wrote: Use device-tree node property names for parsing nodes instead of indexing as indexing could be different between different SoCs based on number of DSS entities available on that

Re: [PATCH v3 4/4] sunxi: Enable SPL FIT loading for 32-bit SoCs

2024-01-29 Thread Andre Przywara
On Wed, 17 Jan 2024 00:19:05 + Andre Przywara wrote: Hi, > On Fri, 8 Dec 2023 01:39:45 + > Andre Przywara wrote: > > Hi Samuel, > > > On Tue, 31 Oct 2023 00:17:41 -0500 > > Samuel Holland wrote: > > > > Hi, > > > > > Now that 32-bit SoCs can load U-Boot proper (and possibly

Re: [PATCH v2] configs: Transpeed 8K618-T: Add Transpeed 8K618-T board support

2024-01-29 Thread Andre Przywara
On Thu, 18 Jan 2024 17:56:55 + Andre Przywara wrote: > On Thu, 18 Jan 2024 11:45:08 -0500 > Nick Alilovic wrote: > > Hi Nick, > > > This is a Chinese TV box based on Allwinner H618 SoC. > > > > The DRAM parameters were derived from the values found in a firmware update. > > > >

Re: Pull request: u-boot-sunxi/master for v2024.04

2024-01-29 Thread Tom Rini
On Mon, Jan 29, 2024 at 05:24:49PM +, Andre Przywara wrote: > On Mon, 29 Jan 2024 15:55:43 + > Andre Przywara wrote: > > Hi Tom, > > > please pull the sunxi/master branch, containing the first part of the > > I just saw that the CI pipeline failed on missing maintainer entries for >

Re: [PATCH] pytest: update requirements.txt

2024-01-29 Thread Tom Rini
On Tue, Jan 02, 2024 at 11:55:30AM +, Caleb Connolly wrote: > Update pygit2 and py to their latest versions. Even in the venv pygit2 > still links against the system libgit2 library which is failing on > latest Arch Linux. > > The py library also needs updating to fix a KeyNotFound exception

Re: [PATCH] test/py: zynqmp_rpu: Add test for loading RPU apps

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 11:06:41AM +0530, Love Kumar wrote: > Add testcases for loading RPU applications in split and lockstep mode > including the negative one for AMD's ZynqMP SoC. > > Signed-off-by: Love Kumar Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: Pull request: u-boot-sunxi/master for v2024.04

2024-01-29 Thread Tom Rini
On Mon, Jan 29, 2024 at 03:55:43PM +, Andre Przywara wrote: > Hi Tom, > > please pull the sunxi/master branch, containing the first part of the > 2024.04 changes. I had some more (USB regulator) changes queued, but > found regressions during the final testing, so had to drop some. If I > can

Re: [PATCH] test/py: spi: Add tests for SPI flash device

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 08:06:54PM +0530, Love Kumar wrote: > Add test cases for sf commands to verify various SPI flash operations > such as erase, write and read. It also adds qspi lock unlock cases. > This test relies on boardenv_* configurations to run it for different > SPI flash family such

Re: [PATCH] test/py: nand: Add tests for NAND flash device

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 07:56:19PM +0530, Love Kumar wrote: > Add tests for nand commands to test various NAND flash operations such > as erase, write and read. > > Signed-off-by: Love Kumar Please fix: test/py/tests/test_nand.py:62 /u/test/py/tests/test_nand.py:62: DeprecationWarning:

Re: [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC

2024-01-29 Thread Milan Zamazal
Milan Zamazal writes: > Gilles Talis writes: > >> Hi Milan, >> >> Le jeu. 7 déc. 2023 à 11:09, Milan Zamazal a écrit : >> >>> Peng Fan writes: >>> >>> > On 5/24/2023 3:21 AM, Gilles Talis wrote: >>> >> Add support for the Polyhex Debix Model A SBC board. >>> >> It is an industrial grade

Re: Pull request: u-boot-spi/master

2024-01-29 Thread Tom Rini
On Mon, Jan 29, 2024 at 11:23:25PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - Support Infineon S28HS02GT (Takahiro) > > CI: > - https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/19467 > > thanks, > Jagan. > > The following changes since commit

Pull request: u-boot-spi/master

2024-01-29 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - Support Infineon S28HS02GT (Takahiro) CI: - https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/19467 thanks, Jagan. The following changes since commit 526a865fe4fea59fb2638726c26e39557eb97fdd: Merge branch 'master-cleanup' of

Re: [PATCH] test/py: mmc: Add tests for MMC device

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 07:55:50PM +0530, Love Kumar wrote: > Add the test cases for mmc commands to test its various functionality > such as mmc list, dev, info, rescan, part, ls, load, and save. It also > adds different file systems cases such as fat32, ext2 and ext4. > > Signed-off-by: Love

Re: [PATCH] test/py: gpio: Add gpio pins generic test

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 11:08:34AM +0530, Love Kumar wrote: > Add gpio pins generic test for the set of gpio pin list to test various > gpio related functionality, such as the input, set, clear, and toggle, > it also tests the input and output functionality for shorted gpio pins. > This test

Re: [PATCH] test/py: scsi: Add test for scsi commands

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 08:07:13PM +0530, Love Kumar wrote: > Add a following test cases for scsi commands: > scsi_reset - To reset SCSI controller > scsi_info - To show available SCSI devices > scsi_scan - To (re-)scan SCSI bus > scsi_device - To show or set surrent device > scsi_part - To print

Re: [PATCH] test/py: usb: Add tests for USB device

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 07:56:02PM +0530, Love Kumar wrote: > Add the test cases for usb commands to test its various functionality > such as start, stop, reset, info, tree, storage, dev, part, ls, load, > and save. It also adds different file systems cases such as fat32, ext2 > and ext4. > >

Re: [PATCH] test/py: secure: Add secure tests for Zynq & ZynqMP

2024-01-29 Thread Tom Rini
On Fri, Jan 19, 2024 at 03:31:29PM +0530, Love Kumar wrote: > Add test cases to verify the different type of secure boot images loaded > at DDR location for AMD's ZynqMP SoC. It also adds tests authentication > and decryption functionality using AES and RSA features for Zynq. > > Signed-off-by:

[PATCH 0/7] smbios: missing strings, RISC-V processor ID

2024-01-29 Thread Heinrich Schuchardt
When a string value cannot be provided we should not create a string 'Unknown' but just set the string index to 0 as suggested by the SMBIOS specification. Program dmidecode will render this as 'Not Specified'. Set the chassis handle in the type 2 structure. In the type 4 structure fill the

[PATCH 2/7] cmd: smbios: add missing colon after UUID

2024-01-29 Thread Heinrich Schuchardt
For consistent formatting add a colon ':' after the UUID label. Signed-off-by: Heinrich Schuchardt --- cmd/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/smbios.c b/cmd/smbios.c index 67f3a9f5f19..62935ecd1a2 100644 --- a/cmd/smbios.c +++ b/cmd/smbios.c @@

[PATCH 5/7] smbios: if a string value is unknown, use string number 0

2024-01-29 Thread Heinrich Schuchardt
The SMBIOS specification describes: "If a string field references no string, a null (0) is placed in that string field." Accordingly we should avoid writing a string "Unknown" to the SMBIOS table. dmidecode displays 'Not Specified' if the string number is 0. Commit 00a871d34e2f ("smbios: empty

[PATCH 3/7] cmd: smbios: replace missing string by 'Not Specified'

2024-01-29 Thread Heinrich Schuchardt
A missing string value is indicated by a string index of 0. In this case print 'Not Specified' like the Linux dmidecode command does. Signed-off-by: Heinrich Schuchardt --- cmd/smbios.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/smbios.c b/cmd/smbios.c index

[PATCH 4/7] smbios: string table always needs two terminating NUL bytes

2024-01-29 Thread Heinrich Schuchardt
The string section of the different SMBIOS structures is always terminated by two NUL bytes even if there is no string at all. This is described in section 6.1.3 "Text string" of the SMBIOS 3.7.0 specification. Signed-off-by: Heinrich Schuchardt --- lib/smbios.c | 3 +++ 1 file changed, 3

[PATCH 6/7] smbios: provide type 4 RISC-V SMBIOS Processor ID

2024-01-29 Thread Heinrich Schuchardt
For RISC-V CPUs the SMBIOS Processor ID field contains the Machine Vendor ID from CSR mvendorid. Signed-off-by: Heinrich Schuchardt --- drivers/cpu/riscv_cpu.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/cpu/riscv_cpu.c b/drivers/cpu/riscv_cpu.c index

[PATCH 7/7] smbios: correctly fill chassis handle

2024-01-29 Thread Heinrich Schuchardt
The chassis handle field in the type 2 structure must point to the handle of the type 3 structure. Signed-off-by: Heinrich Schuchardt --- lib/smbios.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/smbios.c b/lib/smbios.c index 50072adb4e8..5a6a980ff6f 100644 --- a/lib/smbios.c +++

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-29 Thread Apurva Nandan
On 29/01/24 17:49, Nishanth Menon wrote: On 17:02-20240129, Apurva Nandan wrote: Hi, On 24/01/24 02:17, Nishanth Menon wrote: On 20:21-20240123, Apurva Nandan wrote: [...] +void k3_mem_init(void) +{ + struct udevice *dev; + int ret, ctr = 1; + + if (IS_ENABLED

Re: [PATCH v8 15/16] configs: Add am69_sk_* defconfig fragments

2024-01-29 Thread Apurva Nandan
On 23/01/24 20:31, Andrew Davis wrote: On 1/23/24 8:39 AM, Apurva Nandan wrote: Hi Andrew, On 20/01/24 00:43, Andrew Davis wrote: On 1/19/24 11:50 AM, Apurva Nandan wrote: From: Dasnavis Sabiya Add config fragments for am69_sk A72 and R5 configuration. This applies on to:

[PATCH 1/7] cmd: smbios: always use '0x%04x' for printing handles

2024-01-29 Thread Heinrich Schuchardt
Handles are u16 numbers. Consistently use '0x%04x' to print them. Signed-off-by: Heinrich Schuchardt --- cmd/smbios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/smbios.c b/cmd/smbios.c index feebf930b79..67f3a9f5f19 100644 --- a/cmd/smbios.c +++ b/cmd/smbios.c

Pull request efi-2024-04-rc1-4

2024-01-29 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 526a865fe4fea59fb2638726c26e39557eb97fdd: Merge branch 'master-cleanup' of https://source.denx.de/u-boot/custodians/u-boot-sh (2024-01-27 20:43:20 -0500) are available in the Git repository at:

Re: Pull request: u-boot-sunxi/master for v2024.04

2024-01-29 Thread Andre Przywara
On Mon, 29 Jan 2024 12:34:18 -0500 Tom Rini wrote: Hi Tom, > On Mon, Jan 29, 2024 at 05:24:49PM +, Andre Przywara wrote: > > On Mon, 29 Jan 2024 15:55:43 + > > Andre Przywara wrote: > > > > Hi Tom, > > > > > please pull the sunxi/master branch, containing the first part of the >

[PATCH v4] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-01-29 Thread MD Danish Anwar
Add APIs to set a firmware_name to a rproc and boot the rproc with the same firmware. Clients can call rproc_set_firmware() API to set firmware_name for a rproc whereas rproc_boot() will load the firmware set by rproc_set_firmware() to a buffer by calling request_firmware_into_buf(). rproc_boot()

Re: [PATCH v2] common: splash_source: Don't compile ubifs splash cmd for SPL build

2024-01-29 Thread Tom Rini
On Wed, 24 Jan 2024 14:35:09 +0530, Devarsh Thakkar wrote: > Don't compile ubifs splash mount command for SPL build as this command > is not supported (and also not enabled) during SPL stage. > > This fixes below compilation error, when CONFIG_CMD_UBIFS is enabled in > defconfig along with

Re: [PATCH v5 0/8] Move framebuffer reservation for SPL to RAM end

2024-01-29 Thread Tom Rini
On Tue, 05 Dec 2023 21:25:15 +0530, Devarsh Thakkar wrote: > Move video memory reservation for SPL at end of RAM so that it does > not interefere with reservations for next stage so that the next stage > need not have holes in between for passed regions and instead it can > maintain continuity in

[PATCH v10 5/8] spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver

2024-01-29 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynqmp_gqspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those

[PATCH v10 4/8] spi: spi-uclass: Read chipselect and restrict capabilities

2024-01-29 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Read chipselect properties from DT which are populated using 'reg' property and save it in plat->cs[] array for later use. Also read multi chipselect capability which is used for parallel-memories and return errors if they are passed on using DT but driver is not capable

[PATCH v10 2/8] mtd: spi-nor: Add parallel memories support for read_sr and read_fsr

2024-01-29 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories flash configuration in read status register and read flag status register functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 50 -- 1

[PATCH v10 3/8] mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar

2024-01-29 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories and stacked memories configuration in read_bar and write_bar functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 55 +- 1 file changed,

[PATCH v10 7/8] spi: Add the spi advance options for non SPL

2024-01-29 Thread Venkatesh Yadav Abbarapu
Adding the config option SPI_ADVANCE for non SPL code. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/spi/Kconfig | 7 +++ drivers/spi/spi-uclass.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index

[PATCH v4] dma: ti: k3-udma: Use ring_idx to pair k3 nav rings

2024-01-29 Thread MD Danish Anwar
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id added with bchan_cnt. Signed-off-by: MD Danish Anwar --- Changes from v3 to v4: *) No functional change. Splitted the patch out of the series as

[PATCH v4] misc: fs-loader: Use fw_storage_interface instead of storage_interface

2024-01-29 Thread MD Danish Anwar
The fs-loader driver reads env storage_interface and uses it to load firmware file into memory using the medium set by env. Update the driver to use env fw_storage_interface as this variable is only used to load firmwares. The env storage_interface will act as fallback so that the existing

[PATCH] arm: mach-k3: j721s2_init: Support less than max DDR controllers

2024-01-29 Thread Neha Malcom Francis
The number of DDR controllers to be initialised and used should depend on the device tree with the constraint of the maximum number of controllers the device supports. Since J721S2 has multiple (2) controllers, instead of hardcoding the number of probes, move to depending on the device tree

Re: [PATCH v10 1/8] mtd: spi-nor: Add parallel and stacked memories support

2024-01-29 Thread Dan Carpenter
On Tue, Jan 30, 2024 at 10:14:16AM +0530, Venkatesh Yadav Abbarapu wrote: > @@ -1444,28 +1465,66 @@ static int spi_nor_read(struct mtd_info *mtd, loff_t > from, size_t len, > { > struct spi_nor *nor = mtd_to_spi_nor(mtd); > int ret; > + u32 offset = from; Declare offset as

[ANN] U-Boot v2024.04-rc1 released

2024-01-29 Thread Tom Rini
Hey all, It's release day and here is -rc1. Looking at my own queue, I think things are largely set. There's some cleanups, but they can likely wait until -next to open after -rc3. There's also some PRs I would still like to see come in. In terms of a changelog, git log --merges

Re: [PATCH 0/3] clk: Remove clk_free and better document clk_ops

2024-01-29 Thread Sean Anderson
On Sat, 16 Dec 2023 14:38:40 -0500, Sean Anderson wrote: > This series contains two unrelated changes. They are included together because > they touch the same files and would otherwise conflict. The first change is to > completely remove clk_free. This is because the op it calls (rfree) is >

Re: [PATCH v3 0/1] Fix clk-gpio driver

2024-01-29 Thread Sean Anderson
On Wed, 10 Jan 2024 18:09:55 +0200, Svyatoslav Ryhel wrote: > Existing gpio-gate-clock driver acts like a simple GPIO switch without any > effect on gated clock. Add actual clock actions into enable/disable ops and > implement get_rate op by passing gated clock if it is enabled. > > Testing

Re: [PATCH v3] clk: meson: add Hardware Clock measure driver

2024-01-29 Thread Sean Anderson
On Mon, 18 Dec 2023 10:47:55 +0100, Neil Armstrong wrote: > Amlogic SoCs embeds an hardware clock measure block, port it > from Linux and implement it as a UCLK_CLK with only the dump > op and fail-only xlate. > > Based on the Linux driver introduced in [1]. > > [1] commit 2b45ebef39a2 ("soc:

Re: [PATCH v2] clk: fix clk_get_rate() always return ulong

2024-01-29 Thread Sean Anderson
On Fri, 15 Dec 2023 15:09:43 +0100, Julien Masson wrote: > When we call clk_get_rate(), we expect to get clock rate value as > ulong. > In that case we should not use log_ret() macro since it use internally > an int. > Otherwise we may return an invalid/truncated clock rate value. > > > [...]

Re: Pull request efi-2024-04-rc1-4

2024-01-29 Thread Tom Rini
On Mon, Jan 29, 2024 at 10:18:34PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 526a865fe4fea59fb2638726c26e39557eb97fdd: > > Merge branch 'master-cleanup' of > https://source.denx.de/u-boot/custodians/u-boot-sh (2024-01-27 20:43:20 > -0500) > > are

Re: [PATCH] tools: buildman: fix non-existing SafeConfigParser in Python 3.12+

2024-01-29 Thread Tom Rini
On Tue, 23 Jan 2024 18:57:01 +0100, Quentin Schulz wrote: > SafeConfigParser was renamed back in Python 3.2 (yes, no typo) to > ConfigParser[1], but it was still working as an alias until it got > removed in 3.12[2]. > > [1] https://docs.python.org/3.8/whatsnew/3.2.html#configparser > [2]

Re: [PATCH] env: sf: report malloc error to caller

2024-01-29 Thread Tom Rini
On Fri, 19 Jan 2024 16:32:17 -0500, Ralph Siemsen wrote: > In the non-redundant code for env_sf_save(), a failure to malloc() the > temporary buffer produces the following output: > > Saving Environment to SPIFlash... OK > > This is misleading as the flash has neither been erased nor

Re: [PATCH] video: tidss: Use DT property names for parsing nodes

2024-01-29 Thread Tom Rini
On Wed, 24 Jan 2024 14:37:11 +0530, Devarsh Thakkar wrote: > Use device-tree node property names for parsing nodes instead of > indexing as indexing could be different between different SoCs based on > number of DSS entities available on that particular SoC. > > Also correct the video layer

Re: [PATCH] video: console: Fix buffer overflow in cmd 'font list'

2024-01-29 Thread Tom Rini
On Wed, 17 Jan 2024 23:29:29 +0100, Janne Grunau wrote: > vidconsole_ops.get_font is documented to return -ENOENT after the last > video_fontdata entry. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] video: Support VIDEO_X2R10G10B10 in truetype console

2024-01-29 Thread Tom Rini
On Wed, 17 Jan 2024 23:27:34 +0100, Janne Grunau wrote: > Without explicit support for VIDEO_X2R10G10B10 VIDEO_X8R8G8B8 white > will be rendered as cyan-ish. The conversion leaves to lowest 2 bits > unset for more compact code. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] sunxi: add defconfig for nanopi_duo2

2024-01-29 Thread Chuanhong Guo
Hi! On Tue, Jan 30, 2024 at 12:56 AM Andre Przywara wrote: > > > Judging by the DT, this board has USB-OTG wired up correctly, so we > > should enable it, by adding: > > CONFIG_USB_MUSB_GADGET=y > > This would allow access to USB Ethernet, fastboot or UMS devices, which > > prove to be quite

  1   2   >