Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2024-12-18 Thread Alexander Dahl
Hello Michael, Am Tue, Oct 08, 2024 at 02:12:38PM +0200 schrieb Michael Nazzareno Trimarchi: > Hi > > On Tue, Oct 8, 2024 at 1:41 PM Eugen Hristev > wrote: > > > > On 9/30/24 11:07, Alexander Dahl wrote: > > > Hello, > > > > > > Am Tue, May 28, 2024 at 12:32:44PM +0200 schrieb Alexander Dahl: >

Re: [PATCH v3 3/3] mtd: nand: raw: atmel: Fix pulse read timing for certain NAND flashes

2024-12-18 Thread Alexander Dahl
Hello Bala, Am Wed, Oct 09, 2024 at 04:45:02AM + schrieb balamanikandan.gunasun...@microchip.com: > On 30/09/24 1:37 pm, Alexander Dahl wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > Hello, > > > > Am Tue, May 28, 2024 at 1

Re: [PATCH v2 5/5] doc: board: document support for USB DFU boot on AM62Px SoC

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 04:08:01PM +0200, Roger Quadros wrote: Hello Roger, > > > On 18/12/2024 14:45, Siddharth Vadapalli wrote: [...] > > +DFU based boot > > +-- > > + > > +To boot the board over DFU, set the switches to DFU mode and connect to the > > +USB type C DRD port on th

Re: [PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 04:05:47PM +0200, Roger Quadros wrote: Hello Roger, > Hi Siddharth, > > On 18/12/2024 14:45, Siddharth Vadapalli wrote: > > Enable USB0 instance of the USB controller for USB DFU boot functionality > > which requires the "bootph-all" property in order to have USB enabled

Re: [PATCH v2 3/5] configs: am62px_evm_a53_defconfig: enable USB DFU support

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 03:47:20PM +0200, Roger Quadros wrote: Hello Roger, > Hi Siddharth, > > On 18/12/2024 14:45, Siddharth Vadapalli wrote: > > The config fragment "am62x_a53_usbdfu.config" which adds USB DFU support > > for AM62x SoC is applicable to the AM62Px SoC as well. Hence, include i

RE: [PATCH v1 1/1] arm: socfpga:agilex5: Fix system manager watchdog mode setting

2024-12-18 Thread Zamri, Muhammad Hazim Izzat
> -Original Message- > From: Chee, Tien Fong > Sent: Thursday, 19 December, 2024 9:51 AM > To: Zamri, Muhammad Hazim Izzat > ; u-boot@lists.denx.de > Cc: Marek ; Simon ; > Tom Rini ; Meng, Tingting > ; Hea, Kok Kiang ; > Maniyam, Dinesh ; Ng, Boon Khai > ; Yuslaimi, Alif Zakuan > ; Lim,

Re: [PATCH v2 0/5] Add support for USB DFU boot on AM62Px

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 01:59:37PM +0100, Mattijs Korpershoek wrote: Hello Mattijs, > Hi Siddharth, > > Thank you for the series. > > On mer., déc. 18, 2024 at 18:15, Siddharth Vadapalli > wrote: > > > Hello, > > > > This series add support for USB DFU boot on TI's AM62Px SoC which has > > t

Re: [PATCH] arm: dts: k3-j721e-beagleboneai: Move to OF_UPSTREAM

2024-12-18 Thread Sumit Garg
On Wed, 18 Dec 2024 at 11:25, Udit Kumar wrote: > > Move to using OF_UPSTREAM config and thus using the devicetree > subtree and remove unused device tree files. > > Signed-off-by: Udit Kumar > --- > Bootlog > https://gist.github.com/uditkumarti/2f56822bab854cb9dcc06c69a8d1003a > > arch/arm/dts/

[PATCH v6 2/2] doc: man-page for optee commands

2024-12-18 Thread Venkatesh Yadav Abbarapu
Provide a man-page for the optee command. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Heinrich Schuchardt Reviewed-by: Jerome Forissier --- doc/usage/cmd/optee.rst | 70 + doc/usage/index.rst | 1 + 2 files changed, 71 insertions(+) create

[PATCH v6 1/2] cmd: Add support for optee commands

2024-12-18 Thread Venkatesh Yadav Abbarapu
Add the basic 'hello world ta' command which increment of the value passed. This provides easy test for establishing a session with OP-TEE TA and verify. It includes following "hello world ta" subcommands: optee hello; default value '0' is passed and gets incremented. optee hello ; value to increm

[PATCH v6 0/2] cmd: Add support for optee commands.

2024-12-18 Thread Venkatesh Yadav Abbarapu
Add the basic 'hello world ta' command which increments the value passed. This provides easy test for establishing a session with OP-TEE TA and verify. It includes following subcommands: optee hello optee hello ; value to increment via OP-TEE HELLO WORLD TA. Changes in v2: - Added command "optee"

RE: [PATCH v2] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-18 Thread Abbarapu, Venkatesh
> -Original Message- > From: Marek Vasut > Sent: Wednesday, December 18, 2024 7:28 PM > To: Abbarapu, Venkatesh ; u-boot@lists.denx.de; > tudor.amba...@linaro.org; j-humphr...@ti.com > Cc: Simek, Michal ; ja...@amarulasolutions.com; > vigne...@ti.com; u-kum...@ti.com; tr...@konsulko.com;

Re: [PATCH] phy: don't spam console if phys property is absent in device node

2024-12-18 Thread Tom Rini
On Tue, 03 Dec 2024 22:57:36 +0200, Roger Quadros wrote: > In generic_phy_get_bulk(), if 'phys' property is absent in > the device node then it is not an error condition. > > Change print message verbosity to debug to avoid spamming > console in such cases. > > > [...] Applied to u-boot/next,

Re: [PATCH] powerpc: Support using upstream devicetrees

2024-12-18 Thread Tom Rini
On Thu, 05 Dec 2024 18:22:00 +0100, J. Neuschäfer wrote: > For new PowerPC developments, it will be useful to borrow devicetrees > from Linux. This patch makes it possible. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH v2] verdin-am62: fix FASTBOOT_BUF_ADDR and FASTBOOT_BUF_SIZE

2024-12-18 Thread Tom Rini
On Tue, 03 Dec 2024 09:33:02 -0300, Hiago De Franco wrote: > The current value of CONFIG_FASTBOOT_BUF_ADDR is incorrect for hardware > with 512MB and 1GB of RAM. The RAM address ranges for these devices are: > > - 512MB: > - Start: 0x8000 > - End: 0xA000 > - 1GB: > - Start: 0x8000

Re: [PATCH v2 1/7] efi_loader: Refactor device and image paths into a function

2024-12-18 Thread Simon Glass
Hi Simon, On Thu, 12 Dec 2024 at 00:38, Simon Glass wrote: > > Move this code into a function so it can be called from elsewhere. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > lib/efi_loader/efi_bootbin.c | 53 +--- > 1 file changed, 37 inser

Re: [PATCH v2 2/7] efi_loader: Make efi_run_image() static

2024-12-18 Thread Simon Glass
This function is not called from outside this file and has no entry in the header file, so mark it static. Signed-off-by: Simon Glass Reviewed-by: Ilias Apalodimas --- (no changes since v1) lib/efi_loader/efi_bootbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to sjg/mast

Re: [PATCH v2 3/7] efi_loader: Update efi_run_image() to accept image and device path

2024-12-18 Thread Simon Glass
Hi Ilias, On Thu, 12 Dec 2024 at 00:44, Ilias Apalodimas wrote: > > On Thu, 12 Dec 2024 at 00:38, Simon Glass wrote: > > > > Provide these globals as parameters to this function, on the way to > > making it possible to start an image without relying on the globals. > > > > Signed-off-by: Simon G

Re: [PATCH v2 4/7] efi_loader: Add a version of efi_binary_run() with more parameters

2024-12-18 Thread Simon Glass
Hi Ilias, On Fri, 13 Dec 2024 at 05:13, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 13 Dec 2024 at 05:53, Simon Glass wrote: > > > > Hi Ilias, > > > > On Thu, 12 Dec 2024 at 08:45, Ilias Apalodimas > > wrote: > > > > > > On Thu, 12 Dec 2024 at 15:45, Simon Glass wrote: > > > > > > > > Hi

Re: [PATCH v2 5/7] efi_loader: Move the fallback code from efi_run_image()

2024-12-18 Thread Simon Glass
On Thu, 12 Dec 2024 at 15:45, Simon Glass wrote: > > Hi Ilias, > > On Thu, 12 Dec 2024 at 00:53, Ilias Apalodimas > wrote: > > > > Checkpatch has errors on this. Please have a look > > It's the brackets not matching up because of > efi_uninstall_multiple_protocol_interfaces() being so long. It al

Re: [PATCH v2 6/7] efi_loader: Pass in the required parameters from EFI bootmeth

2024-12-18 Thread Simon Glass
Rather than setting up the global variables and then making the call, pass them into function directly. This cleans up the code and makes it all a bit easier to understand. Signed-off-by: Simon Glass --- Changes in v2: - Use efi_loader tag instead of efi - Drop unnecessary path removal - Fix 're

Re: [PATCH v2 7/7] bootmeth_efi: Support PXE booting

2024-12-18 Thread Simon Glass
Finish off the implementation so it is possible to boot an EFI app over a network. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to support PXE booting boot/bootmeth_efi.c | 15 +-- lib/efi_loader/efi_bootbin.c | 5 - 2 files changed, 5 insertions(+),

[PATCH v3 7/7] bootmeth_efi: Support PXE booting

2024-12-18 Thread Simon Glass
Finish off the implementation so it is possible to boot an EFI app over a network. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to support PXE booting - Rebase on Tom's tree (i.e. without the pointers/addresses series) https://patchwork.ozlabs.org/project/uboot/list/?series=43

[PATCH v3 6/7] efi_loader: Pass in the required parameters from EFI bootmeth

2024-12-18 Thread Simon Glass
Rather than setting up the global variables and then making the call, pass them into function directly. This cleans up the code and makes it all a bit easier to understand. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Use efi_loader tag instead of efi - Drop unnecessary

[PATCH v3 5/7] efi_loader: Move the fallback code from efi_run_image()

2024-12-18 Thread Simon Glass
This code is only needed if an invalid image/device path is passed in. Move the code out to a caller where this can be dealt with. The normal flow will provide these parameters. Signed-off-by: Simon Glass --- (no changes since v1) lib/efi_loader/efi_bootbin.c | 90 +++--

[PATCH v3 4/7] efi_loader: Add a version of efi_binary_run() with more parameters

2024-12-18 Thread Simon Glass
This uses a few global variables at present. With the bootflow we have the required parameters, so add a function which accepts these. Update the existing function to call the new one with the globals. - Rename efi_binary_run_() to _efi_binary_run() Signed-off-by: Simon Glass --- (no changes si

[PATCH v3 3/7] efi_loader: Update efi_run_image() to accept image and device path

2024-12-18 Thread Simon Glass
Provide these globals as parameters to this function, on the way to making it possible to start an image without relying on the globals. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Adjust argument ordering for efi_run_image() lib/efi_loader/efi_bootbin.c | 20 +++

[PATCH v3 2/7] efi_loader: Make efi_run_image() static

2024-12-18 Thread Simon Glass
This function is not called from outside this file and has no entry in the header file, so mark it static. Signed-off-by: Simon Glass Reviewed-by: Ilias Apalodimas --- (no changes since v1) lib/efi_loader/efi_bootbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ef

[PATCH v3 1/7] efi_loader: Refactor device and image paths into a function

2024-12-18 Thread Simon Glass
Move this code into a function so it can be called from elsewhere. Signed-off-by: Simon Glass --- Changes in v3: - Make calculate_paths() static and add a comment lib/efi_loader/efi_bootbin.c | 85 1 file changed, 57 insertions(+), 28 deletions(-) diff --g

Re: [PATCH v2 3/7] efi_loader: Update efi_run_image() to accept image and device path

2024-12-18 Thread Simon Glass
Hi Ilias, On Thu, 12 Dec 2024 at 00:44, Ilias Apalodimas wrote: > > On Thu, 12 Dec 2024 at 00:38, Simon Glass wrote: > > > > Provide these globals as parameters to this function, on the way to > > making it possible to start an image without relying on the globals. > > > > Signed-off-by: Simon G

[PATCH v3 0/7] efi: Start to chip away at the EFI workaround

2024-12-18 Thread Simon Glass
At present there is a function, efi_set_bootdev(), which is used in various places to tell the EFI loader which device a file came from. With bootstd, this information is available in the bootflow. This little series provides a way for bootstd to provide the bootflow to the EFI loader, so that it

RE: [PATCH v1 1/1] arm: socfpga:agilex5: Fix system manager watchdog mode setting

2024-12-18 Thread Chee, Tien Fong
Hi Hazim, > -Original Message- > From: Zamri, Muhammad Hazim Izzat > > Sent: Thursday, December 5, 2024 11:56 AM > To: u-boot@lists.denx.de > Cc: Marek ; Simon ; > Tom Rini ; Chee, Tien Fong > ; Meng, Tingting ; > Hea, Kok Kiang ; Maniyam, Dinesh > ; Ng, Boon Khai ; > Yuslaimi, Alif Zakua

Re: [PATCH 02/10] arm: dts: mt7629: fix sgmii clock selection for ethernet

2024-12-18 Thread Tom Rini
On Thu, Dec 19, 2024 at 01:05:56AM +, Weijie Gao (高惟杰) wrote: > On Tue, 2024-12-17 at 09:55 -0600, Tom Rini wrote: > > On Tue, Dec 17, 2024 at 04:39:20PM +0800, Weijie Gao wrote: > > > > > Setup correct parent of clock CLK_TOP_SGMII_REF_1_SEL to allow > > > sgmiisys1 work correctly. > > > > >

RE: [PATCH] imx: Fix usable memory ranges for imx8m SOCs

2024-12-18 Thread Peng Fan
> Subject: [PATCH] imx: Fix usable memory ranges for imx8m SOCs > > commit e27bddff4b97 ("imx8m: Restrict usable memory to space > below 4G boundary") tried to adjust the usable memory limits on a > 4GB boundary. > > ram_top is described as 'top address of RAM used by U-Boot' and we > want to pre

Re: [PATCH 02/10] arm: dts: mt7629: fix sgmii clock selection for ethernet

2024-12-18 Thread 高惟杰
On Tue, 2024-12-17 at 09:55 -0600, Tom Rini wrote: > On Tue, Dec 17, 2024 at 04:39:20PM +0800, Weijie Gao wrote: > > > Setup correct parent of clock CLK_TOP_SGMII_REF_1_SEL to allow > > sgmiisys1 work correctly. > > > > Signed-off-by: Weijie Gao > > --- > > arch/arm/dts/mt7629.dtsi | 4 +++- > >

Re: [PATCH v4 3/3] tools: binman: Add tests for FIT with data encrypted by mkimage

2024-12-18 Thread Tom Rini
On Mon, Nov 25, 2024 at 06:47:17PM +0100, Paul HENRYS wrote: > Test the property 'fit,encrypt' to encrypt FIT data. > > Signed-off-by: Paul HENRYS > Reviewed-by: Simon Glass > --- > Changes for v4: > - Update the tests to use 'fit,encrypt' > > tools/binman/ftest.py |

RE: [PATCH v1 2/2] power: replace magic numbers with macros

2024-12-18 Thread Jaehoon Chung
> -Original Message- > From: Shree Ramamoorthy > Sent: Thursday, December 19, 2024 7:55 AM > > Hi. > > > On 12/18/24 4:44 PM, Jaehoon Chung wrote: > > Hi, > > > >> -Original Message- > >> From: Shree Ramamoorthy > >> Sent: Thursday, December 19, 2024 2:13 AM > >> > >> Replace m

Re: [PATCH v2 1/2] fdt: Correct condition for receiving bloblist

2024-12-18 Thread Tom Rini
On Sat, 02 Nov 2024 11:49:41 -0600, Simon Glass wrote: > The condition for receiving a bloblist from TPL is reversed. This was > only noticed are the other fixes landed. Fix it. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH 0/5] sandbox: repair compile and run-time for OF_EMBED case

2024-12-18 Thread Tom Rini
On Mon, 02 Dec 2024 16:45:21 +0300, Evgeny Bachinin wrote: > This patch-set repairs ability to use sandbox with CONFIG_OF_EMBED=y. > > For now, to use OF_EMBED, the following must be done > 1) sandbox64_defconfig should have: > ``` > -CONFIG_OF_LIVE=y > +CONFIG_OF_EMBED=y > ``` > > [...]

Re: [PATCH 1/1] arch: x86: lib: Add support of legacy 64-bit entry point at 0x200

2024-12-18 Thread Tom Rini
On Wed, 20 Nov 2024 11:39:43 +0100, Paul HENRYS wrote: > Support of legacy 64-bit entry point was already present when booting a > bzimage > with 'zboot' but not supported with 'bootm' when the x86_64 Linux kernel is > embedded in a FIT image. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] dfu: Prevent set_dfu_alt_info() from overwriting a previous value

2024-12-18 Thread Jon Humphreys
Mattijs Korpershoek writes: > Hi Jonathan, > > Thank you for the patch. > > On mar., déc. 17, 2024 at 14:48, Jonathan Humphreys > wrote: > >> If CONFIG_SET_DFU_ALT_INFO is enabled, the dfu_alt_info environment >> variable is dynamically set when initializing the DFU entities, which is >> done a

Re: [PATCH v1 2/2] power: replace magic numbers with macros

2024-12-18 Thread Shree Ramamoorthy
Hi. On 12/18/24 4:44 PM, Jaehoon Chung wrote: Hi, -Original Message- From: Shree Ramamoorthy Sent: Thursday, December 19, 2024 2:13 AM Replace magic numbers in buckval2votl() & buckvolt2val() with macros to help with clarity and correlate what the numbers correspond to in the TPS652

Re: [PATCH] imx: Fix usable memory ranges for imx8m SOCs

2024-12-18 Thread Mark Kettenis
> Date: Wed, 18 Dec 2024 10:17:54 +0100 > From: Frieder Schrempf Hi, > On 18.12.24 10:00 AM, Ilias Apalodimas wrote: > > In the long run we should change all of the above and have 32b and 64b > > platforms define ram_top identically. > > Some more ideas for cleaning up the situation in the long

RE: [PATCH v1 2/2] power: replace magic numbers with macros

2024-12-18 Thread Jaehoon Chung
Hi, > -Original Message- > From: Shree Ramamoorthy > Sent: Thursday, December 19, 2024 2:13 AM > > Replace magic numbers in buckval2votl() & buckvolt2val() with macros to > help with clarity and correlate what the numbers correspond to in the > TPS65219 datasheet. > > Signed-off-by: Shree

RE: [PATCH v1 1/2] power: regulator: replace printf() with pr_err()

2024-12-18 Thread Jaehoon Chung
> -Original Message- > From: Shree Ramamoorthy > Sent: Thursday, December 19, 2024 2:13 AM > > Replace printf() with pr_err() because pr_err() has a uniform print format > and takes into consideration the log levels supported. > > Signed-off-by: Shree Ramamoorthy Reviewed-by: Jaehoon

[PATCH v2] arm: dts: imx8mp-venice-gw7*xx: fix TPM reset

2024-12-18 Thread Tim Harvey
With an IMX8MP based SOM the SPI RST is gpio4_9 instead of gpio1_11. Fix this. Signed-off-by: Tim Harvey --- v2: include additional boards affected by this --- arch/arm/dts/imx8mp-venice-gw71xx-2x-u-boot.dtsi | 16 +++- arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi | 16 +++---

[PATCH] gitlab: Add rock3a and 5b to the sjg lab

2024-12-18 Thread Simon Glass
These Radxa boards use similar Rockchip SoCs and unfortunately have a lot of secret code. Add entries for these so that they can be used for testing. For some reason the 5b hangs (for me) with any significant amount of output (e.g. dm tree). The board currently uses this for DDR init: rk3588_ddr_l

Re: [PATCH] net: renesas: Enable TFTP_TSIZE on all Renesas hardware

2024-12-18 Thread Marek Vasut
On 12/18/24 8:43 PM, Tom Rini wrote: On Wed, Dec 18, 2024 at 08:41:28PM +0100, Marek Vasut wrote: TFTP transfer size can be used to re-size the TFTP progress bar on single line based on the server reported file size. Enable it by default for Renesas hardware to avoid long scrolling walls of '#'

Re: [PATCH] net: renesas: Enable TFTP_TSIZE on all Renesas hardware

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 10:02:36PM +0100, Marek Vasut wrote: > On 12/18/24 8:43 PM, Tom Rini wrote: > > On Wed, Dec 18, 2024 at 08:41:28PM +0100, Marek Vasut wrote: > > > TFTP transfer size can be used to re-size the TFTP progress bar on > > > single line based on the server reported file size. Ena

[PATCH] arm: dts: imx8mp-venice-gw72xx: fix TPM device

2024-12-18 Thread Tim Harvey
With an IMX8MP based SOM the SPI RST is gpio4_9 instead of gpio1_11. Fix this. Fixes: c0689191f120 arm: dts: imx8mp-venice-gw72xx: add TPM device Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mp-venice-gw72xx-2x-u-boot.dtsi | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-)

Help with Falcon Mode on STM32MP157C-DK2

2024-12-18 Thread alessio-randomstuff
Subject: Help with Falcon Mode on STM32MP157C-DK2 Hello U-Boot Community, My name is Alessio, and I’m a student working on implementing Falcon Mode for the STM32MP157C-DK2 as part of my bachelor thesis. I’m relatively new to embedded development and would greatly appreciate guidance or collabor

Re: [PATCH 3/4] powerpc: mpc83xx: Use defined constant for SPCR[TBEN]

2024-12-18 Thread Sinan Akman
On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: From: "J. Neuschäfer" To increase readability, use the defined constant instead of specifying SPCR[TBEN] as a number. Signed-off-by: J. Neuschäfer --- arch/powerpc/cpu/mpc83xx/interrupts.c | 3 ++- 1 file changed, 2 insertions(+), 1 d

[PATCH] imx8m*-venice: define suitable address for SPL_LOAD_FIT_ADDRESS

2024-12-18 Thread Tim Harvey
define a suitable default address for CONFIG_SPL_LOAD_FIT_ADDRESS to make it easier on folks enabling HABv4. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 1 + configs/imx8mn_venice_defconfig | 1 + configs/imx8mp_venice_defconfig | 1 + 3 files changed, 3 insertions(+) diff -

[PATCH 1/2] drivers: misc: gsc: add support for fan controller

2024-12-18 Thread Tim Harvey
Add support for Gateworks System Controller fan tach input. Signed-off-by: Tim Harvey --- drivers/misc/gsc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/misc/gsc.c b/drivers/misc/gsc.c index dee0bdd9663a..bab405bb7226 100644 --- a/drivers/misc/gsc.c +++ b/drivers/misc/gsc.c @@

[PATCH 2/2] drivers: misc: gsc: add support for prescaled

2024-12-18 Thread Tim Harvey
Add support for Gateworks System Controller pre-scaled ADC input. Signed-off-by: Tim Harvey --- drivers/misc/gsc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/gsc.c b/drivers/misc/gsc.c index bab405bb7226..72a13abaaeed 100644 --- a/drivers/misc/gsc.c +++ b/drivers/misc/gsc.c

Re: [PATCH] net: renesas: Enable TFTP_TSIZE on all Renesas hardware

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 08:41:28PM +0100, Marek Vasut wrote: > TFTP transfer size can be used to re-size the TFTP progress bar on > single line based on the server reported file size. Enable it by > default for Renesas hardware to avoid long scrolling walls of '#' > character during long TFTP trans

[PATCH] spi: mxc_spi: use proper clock for SPI bus

2024-12-18 Thread Tim Harvey
The mxc_get_clock function is around for compatibility with older drivers that are not clock aware. In this case asking for the clk for MXC_CSPI_CLK does not take into account there are multiple SPI busses on modern IMX SoC's and it will return the clock for the first bus which may not be used or c

[PATCH] net: renesas: Enable TFTP_TSIZE on all Renesas hardware

2024-12-18 Thread Marek Vasut
TFTP transfer size can be used to re-size the TFTP progress bar on single line based on the server reported file size. Enable it by default for Renesas hardware to avoid long scrolling walls of '#' character during long TFTP transfers. Signed-off-by: Marek Vasut --- Cc: Adriano Cordova Cc: Anand

Re: [PATCH 2/4] powerpc: mpc83xx: Allow including initreg.h into multiple files

2024-12-18 Thread Sinan Akman
Hi On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: From: "J. Neuschäfer" Globals defined in headers can result in multiple-definition errors while linking, if they are visible beyond the current translation unit. Is this happening anywhere ? It seems you introduced this in your other p

Re: [PATCH 1/4] powerpc: mpc83xx: Fix timer value calculation

2024-12-18 Thread Sinan Akman
On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: From: "J. Neuschäfer" TBU and TBL are specified as two 32-bit registers that form a 64-bit value, but the calculation only shifted TBU by 16 bits. Fix this by actually shifting 32 bits. Signed-off-by: J. Neuschäfer --- drivers/timer/m

Re: [PATCH 4/4] gpio: mpc8xxx: Preserve pre-init state of outputs

2024-12-18 Thread Sinan Akman
Hi On 2024-12-15 10:18, J. Neuschäfer via B4 Relay wrote: From: "J. Neuschäfer" The mpc8xxx_gpio driver contains a workaround for certain chips where the previously written state of outputs cannot be read back from the GPIO data (GPDAT) register (MPC8572/MPC8536). This workaround consists of tr

Re: [PATCH v2 2/5] board_init_f(): use static calls

2024-12-18 Thread Jerome Forissier
On 12/18/24 18:47, Quentin Schulz wrote: > Hi Jerome, > > On 12/18/24 6:38 PM, Jerome Forissier wrote: >> Hi Quentin, >> >> On 12/18/24 18:27, Quentin Schulz wrote: >>> Hi Jerome, >>> >>> On 12/18/24 4:53 PM, Jerome Forissier wrote: Make static calls instead of iterating over the init_sequ

Re: [PATCH v2 2/5] board_init_f(): use static calls

2024-12-18 Thread Quentin Schulz
Hi Jerome, On 12/18/24 6:38 PM, Jerome Forissier wrote: Hi Quentin, On 12/18/24 18:27, Quentin Schulz wrote: Hi Jerome, On 12/18/24 4:53 PM, Jerome Forissier wrote: Make static calls instead of iterating over the init_sequence_f arrays. Tested on a KV260 board (xilinx_zynqmp_kria_defconfig).

Re: [GIT PULL] u-boot-riscv/next

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 03:49:44PM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit 3b3c7280b82b1f08807a070ac066cd02919dfde1: > > smbios: address build warning (2024-12-15 11:41:32 -0600) > > are available in the Git repository at: > > https://source.denx.de/u-boot/

Re: [PULL] Pull request for u-boot master / v2025.01 = u-boot-stm32-20241218

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 01:11:56PM +0100, Patrice CHOTARD wrote: > Hi Tom > > Please pull the STM32 related patches for u-boot/master, v2025.01: > u-boot-stm32-20241218 > > CI status: > https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/23931 > >

Re: Pull request for u-boot-nand-20241212

2024-12-18 Thread Tom Rini
On Sun, Dec 15, 2024 at 03:46:22PM +0100, Michael Nazzareno Trimarchi wrote: > Hi Tom > > The following changes since commit 9452fb7484118822b878ad445237d111b7b1a28d: > > Merge branch 'master' of > https://source.denx.de/u-boot/custodians/u-boot-sh (2024-12-11 > 12:50:29 -0600) > > are availa

Re: [GIT PULL] Please pull u-boot-imx-next-20241217

2024-12-18 Thread Tom Rini
On Tue, Dec 17, 2024 at 07:54:33AM -0300, Fabio Estevam wrote: > Hi Tom, > > Please pull from u-boot-imx/next, thanks. > > The following changes since commit 8aab7730c1c26192b0e4218fbf2f6009f955cb88: > > Merge patch series "Hyperflash Boot fixes for J7200/J721E" (2024-12-14 > 09:34:27 -0600)

Re: [PATCH v2 2/5] board_init_f(): use static calls

2024-12-18 Thread Jerome Forissier
Hi Quentin, On 12/18/24 18:27, Quentin Schulz wrote: > Hi Jerome, > > On 12/18/24 4:53 PM, Jerome Forissier wrote: >> Make static calls instead of iterating over the init_sequence_f arrays. >> Tested on a KV260 board (xilinx_zynqmp_kria_defconfig). >> >> - With LTO enabled, the code size reported

Re: [PATCH] drivers: firmware: ti_sci: Add DM_FLAG_PRE_RELOC to driver

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 10:38:37AM +0530, Manorit Chawdhry wrote: > Hi Tom, > > On 08:53-20241217, Tom Rini wrote: > > On Tue, Dec 17, 2024 at 02:24:37PM +0530, Manorit Chawdhry wrote: > > > > > Currently the driver relies on bootph flag to probe it during PRE_RELOC > > > stage but with the upcom

[PATCH v1 0/2] TPS65219 U-Boot Driver Clean-Up

2024-12-18 Thread Shree Ramamoorthy
This clean-up series is sent in preparation to add 2 PMIC devices to the TPS65219 Driver. The changes involve replacing magic numbers with macros and replacing printf() instances with pr_err(). The intention is to remove unnecessary noise from the new PMIC device patches added to this driver. T

[PATCH v1 2/2] power: replace magic numbers with macros

2024-12-18 Thread Shree Ramamoorthy
Replace magic numbers in buckval2votl() & buckvolt2val() with macros to help with clarity and correlate what the numbers correspond to in the TPS65219 datasheet. Signed-off-by: Shree Ramamoorthy --- drivers/power/regulator/tps65219_regulator.c | 26 ++-- include/power/tps65219.h

[PATCH v1 1/2] power: regulator: replace printf() with pr_err()

2024-12-18 Thread Shree Ramamoorthy
Replace printf() with pr_err() because pr_err() has a uniform print format and takes into consideration the log levels supported. Signed-off-by: Shree Ramamoorthy --- drivers/power/regulator/tps65219_regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/powe

Re: [PATCH 1/4] bloblist: fix typo in code comments

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 05:23:48PM +, Harrison Mutai wrote: > Hi Tom, > > Thanks for reviewing. > > On 18/12/2024 15:48, Tom Rini wrote: > > On Wed, Dec 18, 2024 at 03:39:28PM +, Harrison Mutai wrote: > > > > > Signed-off-by: Harrison Mutai > > > --- > > > common/Kconfig | 2 +- >

Re: [PATCH v2 2/5] board_init_f(): use static calls

2024-12-18 Thread Quentin Schulz
Hi Jerome, On 12/18/24 4:53 PM, Jerome Forissier wrote: Make static calls instead of iterating over the init_sequence_f arrays. Tested on a KV260 board (xilinx_zynqmp_kria_defconfig). - With LTO enabled, the code size reported by bloat-o-meter is 1200 bytes less (-0.11%) - With LTO disabled,

Re: [PATCH 1/4] bloblist: fix typo in code comments

2024-12-18 Thread Harrison Mutai
Hi Tom, Thanks for reviewing. On 18/12/2024 15:48, Tom Rini wrote: On Wed, Dec 18, 2024 at 03:39:28PM +, Harrison Mutai wrote: Signed-off-by: Harrison Mutai --- common/Kconfig | 2 +- include/bloblist.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Please add a short

Re: [PATCH 1/3] efi: Correct logic for OF_EMBED and OF_SEPARATE co-existing

2024-12-18 Thread Tom Rini
On Tue, Dec 17, 2024 at 04:44:34PM -0700, Simon Glass wrote: > Hi Tom, > > [snip] > > I'm very happy with your leadership. The project is extremely lucky to > have you doing what you do and we all know it. > > In my own way I will be able to contribute to the project more > effectively than I ha

Re: [PATCH 4/4] board: vexpress64: enable bloblist for SPL handoff

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 03:39:31PM +, Harrison Mutai wrote: > Enable bloblist on vexpress64 platforms to facilitate information > passing from TF-A using the firmware handoff framework. > > Signed-off-by: Harrison Mutai [snip] > diff --git a/configs/vexpress_fvp_bloblist_defconfig > b/confi

Re: [PATCH v3 5/5] rpi: Use the U-Boot control FDT for fdt_addr

2024-12-18 Thread Peter Robinson
Hi Simon. On Mon, 16 Dec 2024 at 00:27, Simon Glass wrote: > Hi Peter, > > On Wed, 11 Dec 2024 at 09:36, Peter Robinson wrote: > > > > > > > > On Mon, 9 Dec 2024 at 19:55, Simon Glass wrote: > >> > >> The fdt_addr variable is used in extlinux as a fallback devicetree if > >> none is provided b

Re: [PATCH 3/4] bloblist: add support for CONFIG_BLOBLIST_PASSAGE

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 03:39:30PM +, Harrison Mutai wrote: > When the configuration option CONFIG_BLOBLIST_PASSAGE is selected, the > bloblist present in the incoming standard passage is utilised in-place. > There is no need to specify the size of the bloblist as the system > automatically d

[PATCH] spi: atmel: Really drop atmel_spi.h

2024-12-18 Thread Alexander Dahl
First try dropping this was with commit 37434db29be4 ("spi: atmel: Drop atmel_spi.h") back in 2018 which was reverted not much later with commit 5270df283676 ("Revert "spi: atmel: Drop atmel_spi.h""). Second try dropping this was in 2020 with commit beeb34ac0cc6 ("spi: atmel: Drop atmel_spi.h"), b

[PATCH v2 5/5] initcall: remove initcall_run_list()

2024-12-18 Thread Jerome Forissier
Now that all initcalls have been converted to static calls, remove initcall_run_list(). Signed-off-by: Jerome Forissier --- include/initcall.h | 24 --- lib/Makefile | 1 - lib/initcall.c | 102 - 3 files changed, 127 deletions(-)

[PATCH v2 4/5] board_init_r(): use static calls

2024-12-18 Thread Jerome Forissier
Replace the init_sequence_r function array by direct calls. bloat-o-meter stats before/after on u-boot.bin for configuration xilinx_zynqmp_kria_defconfig are the following: - With LTO: add/remove: 87/128 grow/shrink: 9/22 up/down: 19608/-20915 (-1307) Total: Before=1067719, After=1066412, chg -0.1

[PATCH v2 3/5] board_init_f_r(): use static calls

2024-12-18 Thread Jerome Forissier
Replace the init_sequence_f_r function array by direct calls. Signed-off-by: Jerome Forissier --- common/board_f.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index cebed85ed4d..f47275a2230 100644 --- a/common/board_

[PATCH v2 2/5] board_init_f(): use static calls

2024-12-18 Thread Jerome Forissier
Make static calls instead of iterating over the init_sequence_f arrays. Tested on a KV260 board (xilinx_zynqmp_kria_defconfig). - With LTO enabled, the code size reported by bloat-o-meter is 1200 bytes less (-0.11%) - With LTO disabled, the code is 594 bytes smaller (-0.05%) - Execution time doe

[PATCH v2 1/5] common: board: Simplify array with function pointers with CONFIG_IS_ENABLED

2024-12-18 Thread Jerome Forissier
From: Michal Simek Convert all simple cases where current ifdef is used with using CONFIG_IS_ENABLED. The change doesn't have impact on code size and it is only cleaning up description. Checkpatch is reporting issue: space required after that ',' (ctx:VxB) When space is there another warning is

[PATCH v2 0/5] Static initcalls

2024-12-18 Thread Jerome Forissier
This series replaces the dynamic initcalls (with function pointers) with static calls, and gets rid of initcall_run_list(), init_sequence_f, init_sequence_f_r and init_sequence_r. This makes the code simpler and the binary slighlty smaller: -2507 bytes/-0.23 % with LTO enabled and -1232 bytes/-0.11

Re: [PATCH 1/4] bloblist: fix typo in code comments

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 03:39:28PM +, Harrison Mutai wrote: > Signed-off-by: Harrison Mutai > --- > common/Kconfig | 2 +- > include/bloblist.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Please add a short commit message body "Fix the two typos in ...", thanks. With that

[PATCH 0/4] Enable bloblist support on Vexpress64

2024-12-18 Thread Harrison Mutai
This series of patches enhances the vexpress64 platform by enabling bloblist support. It also introduces support for CONFIG_BLOBLIST_PASSAGE. This is necessary to boot vexpress64 and other boards without manually specifying a fixed address and size for the bloblist. After this change, all the blob

Re: [PATCH 2/2] gitlab: Add samus_tpl to the sjg lab

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 04:38:02PM +0100, Quentin Schulz wrote: > > > On 12/18/24 4:30 PM, Tom Rini wrote: > > On Wed, Dec 18, 2024 at 08:08:02AM -0700, Simon Glass wrote: > > > This board has two variants, one of which boots with tpl. Labgrid gets > > > upset when they both try to claim the same

[PATCH 4/4] board: vexpress64: enable bloblist for SPL handoff

2024-12-18 Thread Harrison Mutai
Enable bloblist on vexpress64 platforms to facilitate information passing from TF-A using the firmware handoff framework. Signed-off-by: Harrison Mutai --- board/armltd/vexpress64/Makefile| 3 ++- board/armltd/vexpress64/vexpress64.c| 4 configs/vexpress_fvp_bloblist_defconfig

[PATCH 3/4] bloblist: add support for CONFIG_BLOBLIST_PASSAGE

2024-12-18 Thread Harrison Mutai
When the configuration option CONFIG_BLOBLIST_PASSAGE is selected, the bloblist present in the incoming standard passage is utilised in-place. There is no need to specify the size of the bloblist as the system automatically detects it using the header information. Signed-off-by: Harrison Mutai --

[PATCH 2/4] board: vexpress64: default to hardware device tree

2024-12-18 Thread Harrison Mutai
When booting into the Linux kernel with semi-hosting, use the device tree provided by hardware unless one is provided in the current directory. Signed-off-by: Harrison Mutai --- include/configs/vexpress_aemv8.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/con

[PATCH 1/4] bloblist: fix typo in code comments

2024-12-18 Thread Harrison Mutai
Signed-off-by: Harrison Mutai --- common/Kconfig | 2 +- include/bloblist.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index e8d89bf6eb..9e89ccd390 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1075,7 +1075,7 @@ config BLOBLIS

Re: [PATCH 2/2] gitlab: Add samus_tpl to the sjg lab

2024-12-18 Thread Quentin Schulz
On 12/18/24 4:30 PM, Tom Rini wrote: On Wed, Dec 18, 2024 at 08:08:02AM -0700, Simon Glass wrote: This board has two variants, one of which boots with tpl. Labgrid gets upset when they both try to claim the same hardware, so we might need to see if we can handle that cleanly, e.g. by making t

Re: [PATCH 2/2] gitlab: Add samus_tpl to the sjg lab

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 08:08:02AM -0700, Simon Glass wrote: > This board has two variants, one of which boots with tpl. Labgrid gets > upset when they both try to claim the same hardware, so we might need to > see if we can handle that cleanly, e.g. by making the job wait. > > Signed-off-by: Simo

Re: [PATCH] imx: Fix usable memory ranges for imx8m SOCs

2024-12-18 Thread Tom Rini
On Wed, Dec 18, 2024 at 04:50:09PM +0200, Ilias Apalodimas wrote: > Hi Tom, > > On Wed, 18 Dec 2024 at 16:34, Tom Rini wrote: > > > > On Wed, Dec 18, 2024 at 11:24:45AM +0200, Ilias Apalodimas wrote: > > > Thanks Frieder > > > > > > On Wed, 18 Dec 2024 at 11:17, Frieder Schrempf > > > wrote: > >

Re: [PATCH v6 0/9] add the support of sha256_hmac and sha256_hkdf

2024-12-18 Thread Raymond Mao
Hi Philippe, On Tue, 17 Dec 2024 at 16:36, Philippe Reynes < philippe.rey...@softathome.com> wrote: > This serie adds the support of sha256_hmac and sha256_hkdf. > A first version was sent several months ago just before the > integration of mbedtls. This new version is based on mbedtls. > > The f

Re: [PATCH v2] mtd: spi-nor: Fix the spi_nor_read() when config SPI_STACKED_PARALLEL is enabled

2024-12-18 Thread Marek Vasut
On 12/18/24 10:22 AM, Abbarapu, Venkatesh wrote: For parallel/stacked configuration and address width the "rem_bank_len" will vary and as we don't want to disturb the default read functionality added the ifdef separately. What would happen if both SPI_FLASH_BAR and SPI_STACKED_PARALLEL are en

Re: [PATCH v2 2/2] fdt: Swap the signature for board_fdt_blob_setup()

2024-12-18 Thread Simon Glass
Hi Tom, On Wed, 18 Dec 2024 at 07:30, Tom Rini wrote: > > On Tue, Dec 17, 2024 at 06:46:37PM -0700, Simon Glass wrote: > > On Tue, 26 Nov 2024 at 10:10, Patrice CHOTARD > > wrote: > > > > > > > > > > > > On 11/2/24 18:49, Simon Glass wrote: > > > > This returns a devicetree and updates a paramet

Re: [PATCH v2 2/2] fdt: Swap the signature for board_fdt_blob_setup()

2024-12-18 Thread Tom Rini
On Tue, Dec 17, 2024 at 06:46:37PM -0700, Simon Glass wrote: > On Tue, 26 Nov 2024 at 10:10, Patrice CHOTARD > wrote: > > > > > > > > On 11/2/24 18:49, Simon Glass wrote: > > > This returns a devicetree and updates a parameter with an error code. > > > Swap it, since this fits better with the way

  1   2   >