Re: [PATCH 5/4] mkimage: update man page and -h output

2023-11-06 Thread Rasmus Villemoes
On 07/11/2023 08.30, Rasmus Villemoes wrote: > I'll send a revert to Tom for the prematurely applied fixup. Oh, I see that's already done. Good. Rasmus

Re: [PATCH 5/4] mkimage: update man page and -h output

2023-11-06 Thread Rasmus Villemoes
On 07/11/2023 01.46, Sean Anderson wrote: > On 10/13/23 14:30, Rasmus Villemoes wrote: >> On 12/10/2023 04.17, Sean Anderson wrote: >> >>> I was hoping you would respond to my most-recent email regarding this >>> series. >>> In particular: >>> >>> | Why does mkimage have to do this? Can't you just

Re: [PATCH v2 0/3] Implement GPIO cells for PALMAS and MAX77663 PMICs

2023-11-06 Thread Svyatoslav Ryhel
пн, 6 лист. 2023 р. о 14:00 Peter Robinson пише: > > On Mon, Nov 6, 2023 at 10:18 AM Svyatoslav Ryhel wrote: > > > > This patchset adds support for gpio-uclass to work with pmic gpio childrens > > properly and implements MAX77663 and PALMAS GPIO cells/children as a > > reference and to be

Re: [PATCH V2 11/12] configs: j7200_evm_a72_defconfig: Switch to bootstd

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j7200_evm_a72_defconfig | 5 +++-- 1

Re: [PATCH V2 10/12] configs: j7200: Remove HBMC_AM654 config

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Kernel commit 1b77265626a4 ("arm64: dts: ti: k3-j7200-mcu-wakeup: Add HyperBus node") was merged to kernel without its dependent patch [1]. Similar fix is needed in U-Boot, and hbmc currently breaks boot. Till this gets fixed in U-Boot,

Re: [PATCH V2 05/12] configs: j721e_evm_a72_defconfig: Switch to bootstd

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth On 04/11/23 12:51, Nishanth Menon wrote: Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Signed-off-by: Nishanth Menon --- configs/j721e_evm_a72_defconfig | 5 +++-- 1

Re: [PATCH V2 04/12] board: ti: j721e: j721e.env: Add explicit boot_targets

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Add explicit boot_targets to indicate the specific boot sequence to follow. Signed-off-by: Nishanth Menon --- board/ti/j721e/j721e.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j721e/j721e.env

Re: [PATCH V2 03/12] board: ti: j721e: evm: Switch to using IS_ENABLED

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Switch to using IS_ENABLED() for inline function usage. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 83 ++-- 1 file changed, 42 insertions(+), 41 deletions(-) diff --git

Re: [PATCH V2 02/12] board: ti: j721e: evm: Drop board check for ESM

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: When config is enabled, the esm dt probe makes sense. Simplify by dropping board specific checks. Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git

Re: [PATCH V2 01/12] board: ti: j721e: evm: Drop unused headers

2023-11-06 Thread Neha Malcom Francis
Hi Nishanth, On 04/11/23 12:51, Nishanth Menon wrote: Drop headers that are no longer necessary for build Signed-off-by: Nishanth Menon --- board/ti/j721e/evm.c | 8 1 file changed, 8 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index

RE: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Jaehoon Chung > Sent: Tuesday, November 7, 2023 3:42 PM > To: 'Bhargav Raviprakash' ; u-boot@lists.denx.de > Subject: RE: [PATCH v2 1/2] driver: power: add support for TPS65224 > > Hi Bhargav, > > > -Original Message- > > From:

RE: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Jaehoon Chung
Hi Bhargav, > -Original Message- > From: Bhargav Raviprakash > Sent: Monday, November 6, 2023 11:07 PM > To: u-boot@lists.denx.de > Cc: jh80.ch...@samsung.com; Bhargav Raviprakash > Subject: [PATCH v2 1/2] driver: power: add support for TPS65224 > > Added support for PMIC TPS65224.

RE: [PATCH] mmc: sdhci-cadence: Add support for Cadence sdmmc v6

2023-11-06 Thread KuanLim . Lee
Hi Jaehoon, On 11/1/23 08:20, Jaehoon Chung wrote: > From: Jaehoon Chung > Hi > > On 10/3/23 16:22, Kuan Lim Lee wrote: > > From: Kuan Lim Lee > > > > Cadence SDMMC v6 controller has a lot of changes on initialize > > compared to v4 controller. PHY is needed by v6 controller. > > > >

Re: [PATCH V2 2/4] board: beagle: Add BeagleBone AI-64 support

2023-11-06 Thread Neha Malcom Francis
Hi Andrew, On 06/11/23 22:34, Andrew Davis wrote: On 11/4/23 3:11 AM, Nishanth Menon wrote: Add base support for BeagleBone AI-64 board support. Further information at  https://beagleboard.org/ai-64 Signed-off-by: Nishanth Menon ---   arch/arm/mach-k3/Kconfig  |    1 +  

Re: [PATCH V2 2/2] arm: mach-k3: Move TI dummy keys out of board folder

2023-11-06 Thread Manorit Chawdhry
On 11:11-20231106, Andrew Davis wrote: > On 11/3/23 9:45 PM, Nishanth Menon wrote: > > This file is used to emulate customer keys on TI development board > > ecosystems, move it out of board/ directory and into mach-k3. And > > change the relative paths to absolute path

Re: [PATCH v2 3/5] pinctrl: qcom: make compatible with linux DTs

2023-11-06 Thread Sumit Garg
On Mon, 6 Nov 2023 at 20:59, Caleb Connolly wrote: > > The pinctrl and GPIO drivers are currently heavily incompatible with > upstream. Most Qualcomm pinctrl blocks feature "tiles" of pins, each at > it's own address. Introduce support for these by allowing the soc driver > to specify per-pin

Re: [PATCH v3] rockchip: include: asm: fix entering download mode rk3066

2023-11-06 Thread Kever Yang
On 2023/10/28 02:35, Johan Jonker wrote: Keep track of the re-entries with help of the lr register. This binary can be re-used and called from various BROM functions. Only when it's called from the part that handles SPI, NAND or EMMC hardware it needs to early return to BROM ones. In download

Re: [PATCH] rockchip: dts: fix bootph tags for rv1126

2023-11-06 Thread Kever Yang
On 2023/10/30 21:12, Tim Lunn wrote: RV1126 fails to boot on 2024.01-rc1. Commit 9e64428 changed the behaviour of bootph-pre-ram, to limit nodes to spl phase. This caused rv1126 boards to fail to boot with the current dts. This patch updates the pmu/grf nodes to bootph-all tags as they are

Re: [PATCH 2/2] rockchip: rv1126: Read cpuid from otp and set ethaddr

2023-11-06 Thread Kever Yang
On 2023/10/31 10:07, Tim Lunn wrote: Provide configuration to read cpuid and generate a persistant MAC address in ethaddr Signed-off-by: Tim Lunn Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rv1126-u-boot.dtsi | 12 arch/arm/mach-rockchip/Kconfig | 2 ++ 2

Re: [PATCH 1/2] rockchip: otp: Add support for RV1126

2023-11-06 Thread Kever Yang
On 2023/10/31 10:07, Tim Lunn wrote: Extend the otp driver to read rv1126 otp. This driver code was adapted from the Rockchip BSP stack. Signed-off-by: Tim Lunn Reviewed-by: Kever Yang Thanks, - Kever --- drivers/misc/rockchip-otp.c | 76 + 1 file

Re: [PATCH v2 2/2] rockchip: ringneck-px30: enable SPL_BOARD_INIT

2023-11-06 Thread Kever Yang
On 2023/11/3 17:28, Quentin Schulz wrote: From: Quentin Schulz Now that Ringneck requires some board-specific code (namely resetting the MCU companion controller) to be run during SPL stage, let's enable SPL_BOARD_INIT. Cc: Quentin Schulz Reviewed-by: Heiko Stuebner Signed-off-by: Quentin

Re: [PATCH v2 1/2] rockchip: ringneck-px30: always reset STM32 companion controller on boot

2023-11-06 Thread Kever Yang
On 2023/11/3 17:28, Quentin Schulz wrote: From: Quentin Schulz It's happened that glitches on the STM32_RST and STM32_BOOT lines have put the STM32 companion microcontroller into DFU mode making it not boot its FW, rendering it useless for the user. Considering that the STM32 companion

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 13:46, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 01:38:39PM -0700, Simon Glass wrote: > > Hi Andre, > > > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > > > On Sat, 4 Nov 2023 19:45:06 + > > > Simon Glass wrote: > > > > > > Hi, > > > > > > > On

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Simon Glass
Hi Tony, On Mon, 6 Nov 2023 at 23:41, Tony Dinh wrote: > > Hi Simon, > > On Mon, Nov 6, 2023 at 12:51 PM Tony Dinh wrote: > > > > On Mon, Nov 6, 2023 at 11:51 AM Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > > > > Hi Simon, > > > > > > > > On Mon, Nov

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 13:15, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 12:58:46PM -0700, Simon Glass wrote: > > Hi Tom, > > > > > > On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Andre, On Mon, 6 Nov 2023 at 21:55, Andre Przywara wrote: > > On Mon, 6 Nov 2023 13:38:39 -0700 > Simon Glass wrote: > > Hi Simon, > > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > > > On Sat, 4 Nov 2023 19:45:06 + > > > Simon Glass wrote: > > > > > > Hi, > > > > > > >

Re: [PATCH 5/4] mkimage: update man page and -h output

2023-11-06 Thread Sean Anderson
On 10/13/23 14:30, Rasmus Villemoes wrote: On 12/10/2023 04.17, Sean Anderson wrote: I was hoping you would respond to my most-recent email regarding this series. In particular: | Why does mkimage have to do this? Can't you just use truncate or, in a | binman context, align-size? In both

[PATCH] usb: gadget: f_mass_storage: Stop ums on START-STOP UNIT SCSI command

2023-11-06 Thread Marek Vasut
Exit the UMS handler loop in case START-STOP UNIT SCSI command is received. This is sent e.g. by the util-linux eject(1) command and indicates to the device that it is supposed to spin down the media and enter low power state. This effectively adds support for exitting the 'ums' command from host

[PATCH] firmware: scmi: correct a validity check against power domain id

2023-11-06 Thread AKASHI Takahiro
A power domain id on sandbox should be in the range from zero to ARRAY_SIZE(scmi_pwdom) - 1. Correct the validity check logic. Signed-off-by: AKASHI Takahiro Fixes: CID 467401 Fixes: CID 467405 --- drivers/firmware/scmi/sandbox-scmi_agent.c | 8 1 file changed, 4 insertions(+), 4

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tony Dinh
Hi Simon, On Mon, Nov 6, 2023 at 12:51 PM Tony Dinh wrote: > > On Mon, Nov 6, 2023 at 11:51 AM Tom Rini wrote: > > > > On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > > > Hi Simon, > > > > > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > > > > > Hi Tony, > > > > > > >

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Andre Przywara
On Mon, 6 Nov 2023 13:38:39 -0700 Simon Glass wrote: Hi Simon, > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > On Sat, 4 Nov 2023 19:45:06 + > > Simon Glass wrote: > > > > Hi, > > > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara > > > wrote: > > > > > > > > On Fri, 3

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Marek Vasut
On 11/6/23 21:42, Simon Glass wrote: +Marek Vasut +Vagrant Cascadian On Mon, 6 Nov 2023 at 10:33, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: Hi Simon! On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: So, I assume, I should just be able to write u-boot.bin to

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 02:11:16PM +, Peter Robinson wrote: > On Mon, Nov 6, 2023 at 1:28 PM Svyatoslav Ryhel wrote: > > > > пн, 6 лист. 2023 р. о 15:13 Peter Robinson пише: > > > > > > On Mon, Nov 6, 2023 at 11:58 AM Svyatoslav Ryhel > > > wrote: > > > > > > > > пн, 6 лист. 2023 р. о

[PATCH 5/5] pmic: qcom: dont use dev_read_addr to get USID

2023-11-06 Thread Caleb Connolly
Linux DTs stuff a value indicating if the USID is a USID or a GSID in the reg property, the Linux SPMI driver then reads the two address cells separately. U-boot's dev_read_addr() doesn't know how to handle this, so use ofnode_read_u32_index() to get just the USID. The Qcom pmic driver doesn't

[PATCH 4/5] spmi: msm: fix register range names

2023-11-06 Thread Caleb Connolly
The core and chnl register ranges were swapped on SDM845. Fix it, and fetch the register ranges by name instead of by index. Drop the cosmetic "version" variable and clean up the debug logging. Signed-off-by: Caleb Connolly --- arch/arm/dts/sdm845.dtsi | 2 +- drivers/spmi/spmi-msm.c | 46

[PATCH 3/5] gpio: qcom_pmic: fix support for upstream DT

2023-11-06 Thread Caleb Connolly
Linux devicetrees use the "gpio-ranges" property, add support for parsing it instead of "gpio-count" so that upstream DTs can be used with U-Boot. Signed-off-by: Caleb Connolly --- drivers/gpio/qcom_pmic_gpio.c | 26 ++ 1 file changed, 26 insertions(+) diff --git

[PATCH 2/5] gpio: qcom_pmic: rework pwrkey driver into a button driver

2023-11-06 Thread Caleb Connolly
The power and resin keys were implemented as GPIOs here, but their only use would be as buttons. Avoid the additional layer of introspection and rework this driver into a button driver. While we're here, replace the "qcom,pm8998-pwrkey" compatible with "qcom,pm8941-pwrkey" to match upstream

[PATCH 1/5] gpio: qcom_pmic: fix silent dev_read_addr downcast

2023-11-06 Thread Caleb Connolly
priv->pid is uint32_t, but dev_read_addr() returns a uint64_t on arm64, with the upper bits being used for error codes. Do error checking before downcasting to u32 to prevent errors being silently ignored. Signed-off-by: Caleb Connolly --- drivers/gpio/qcom_pmic_gpio.c | 14 ++ 1

[PATCH 0/5] Qualcomm PMIC fixes

2023-11-06 Thread Caleb Connolly
(the db410c and 820c) are adjusted to use the new button driver in their board init code. This series is based on the pinctrl [1] and clock [2] cleanup series. There may be some DTS conflicts applying it standalone. [1]: https://lore.kernel.org/u-boot/20231106-b4-qcom-pinctrl-v2-0-406e8d868...@linaro.org

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tony Dinh
On Mon, Nov 6, 2023 at 11:51 AM Tom Rini wrote: > > On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > > Hi Simon, > > > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > > > Hi Tony, > > > > > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > > > > > > > Hi Simon, > > > >

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 01:38:39PM -0700, Simon Glass wrote: > Hi Andre, > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > On Sat, 4 Nov 2023 19:45:06 + > > Simon Glass wrote: > > > > Hi, > > > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara > > > wrote: > > > > > > > > On

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Simon Glass
+Marek Vasut +Vagrant Cascadian On Mon, 6 Nov 2023 at 10:33, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > Hi Simon! > > On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: > > > So, I assume, I should just be able to write u-boot.bin to > /dev/mtdblock0? > > > > Maybe,

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Andre, On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > On Sat, 4 Nov 2023 19:45:06 + > Simon Glass wrote: > > Hi, > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > > > On Fri, 3 Nov 2023 13:38:58 -0600 > > > Simon Glass wrote: > > > > > > Hi Simon, > > > > > > >

[tom.r...@gmail.com: Fwd: New Defects reported by Coverity Scan for Das U-Boot]

2023-11-06 Thread Tom Rini
Hey all, Here's the latest report. I _think_ I passed the right options to get_maintainer.pl such that it would only look far enough back in git to find the likely authors (along with listed maintainers of the files). -- Forwarded message - From: Date: Mon, Nov 6, 2023 at 2:58 

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 12:58:46PM -0700, Simon Glass wrote: > Hi Tom, > > > On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > > > > > On Sun, Nov 05,

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 05:26:01PM +, Andre Przywara wrote: > On Sat, 4 Nov 2023 19:45:06 + > Simon Glass wrote: > > Hi, > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > > > On Fri, 3 Nov 2023 13:38:58 -0600 > > > Simon Glass wrote: > > > > > > Hi Simon, > > > > > >

Re: [PATCH] mmc: renesas-sdhi: Disable clock after tuning reset when possible

2023-11-06 Thread Paul Barker
On Sun, Nov 05, 2023 at 11:42:45PM +0100, Marek Vasut wrote: > Currently the renesas_sdhi_reset_tuning() unconditionally leaves SDHI > clock enabled after the tuning reset. This is not always necessary. > > After the driver performed tuning reset at the end of probe function, > or in the unlikely

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > > > > > This image type is

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 11:42:51AM -0800, Tony Dinh wrote: > Hi Simon, > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > Hi Tony, > > > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > > > > >

[ANN] U-Boot v2024.01-rc2 released

2023-11-06 Thread Tom Rini
Hey all, It's release day and here is -rc2. Looking at my own queue I think I've got everything out that's not for -next, but there might be a few fixes I've overlooked and will give things a harder read once I've merged other things in to -next and the page is just more readable to me. Speaking

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Tony Dinh
Hi Simon, On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > Hi Tony, > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > > > Hi Simon, > > > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > > >

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Tom Rini
On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > > > This image type is supposed to ignore the load address. But at present > > > it fails if the load

[PATCH] powerpc: mpc8xx: Remove usage of common.h

2023-11-06 Thread Christophe Leroy
Remove inclusion of common.h and add relevant includes when necessary. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cache.c | 1 - arch/powerpc/cpu/mpc8xx/cpu.c| 1 - arch/powerpc/cpu/mpc8xx/cpu_init.c | 1 - arch/powerpc/cpu/mpc8xx/fdt.c| 1 -

[PATCH] board: cssi: Remove usage of common.h

2023-11-06 Thread Christophe Leroy
Remove inclusion of common.h and add relevant includes when necessary. Signed-off-by: Christophe Leroy --- board/cssi/cmpc885/cmpc885.c | 1 - board/cssi/cmpc885/nand.c| 1 - board/cssi/cmpc885/sdram.c | 3 ++- board/cssi/cmpcpro/cmpcpro.c | 1 - board/cssi/mcr3000/mcr3000.c | 1 -

Re: [PATCH] rockchip: rk3588-rock-5b: Enable CONFIG_PCI_INIT_R to support EFI networking

2023-11-06 Thread Jonas Karlman
Hi Martin, On 2023-11-04 14:04, Martin Roukala (né Peres) wrote: > When u-boot chainloads an EFI bootloader such as iPXE, we want to have > already initialized the PCI subsystem so that network driver is loaded > and ready to use by the bootloader. This change slows down boot from emmc/sd-card

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Andrew Davis
On 11/6/23 11:47 AM, Simon Glass wrote: Hi Andrew, On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: On 11/6/23 9:31 AM, Tom Rini wrote: On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: Hi Simon, On 11:22-20231005, Simon Glass wrote: Hi Nishanth, On Thu, 5 Oct 2023 at

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Simon Glass
Hi Andrew, On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: > > On 11/6/23 9:31 AM, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: > >> Hi Simon, > >> > >> On 11:22-20231005, Simon Glass wrote: > >>> Hi Nishanth, > >>> > >>> On Thu, 5 Oct 2023 at 11:16,

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Andre Przywara
On Mon, 6 Nov 2023 11:46:27 -0500 Tom Rini wrote: Hi Tom, > On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt >

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread John Paul Adrian Glaubitz
Hi Simon! On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: > > So, I assume, I should just be able to write u-boot.bin to /dev/mtdblock0? > > Maybe, but you will likely brick the device if you have no other way > to write to flash. The flash memory is actually on a daughter board that can

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Andrew Davis
On 11/6/23 9:31 AM, Tom Rini wrote: On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: Hi Simon, On 11:22-20231005, Simon Glass wrote: Hi Nishanth, On Thu, 5 Oct 2023 at 11:16, Nishanth Menon wrote: On 12:10-20231005, Nishanth Menon wrote: On 12:36-20231005, Tom Rini

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Andre Przywara
On Sat, 4 Nov 2023 19:45:06 + Simon Glass wrote: Hi, > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > > wrote:

Re: [PATCH v2] bootstd: Skip over bad device during bootflows scanning

2023-11-06 Thread Simon Glass
On Thu, 2 Nov 2023 at 12:51, Tony Dinh wrote: > > During bootstd scanning for bootdevs, if bootdev_hunt_drv() encounters > a device not found error (e.g. ENOENT), let it return a successful status > so that bootstd will continue scanning the next devices, not stopping > prematurely. > >

Re: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Simon Glass
Hi Bhargav, On Mon, 6 Nov 2023 at 10:11, Bhargav Raviprakash wrote: > > Added support for PMIC TPS65224. Includes driver for pmic, > and disabling Watchdog. > > Signed-off-by: Bhargav Raviprakash > --- > drivers/power/pmic/Kconfig| 6 ++ > drivers/power/pmic/Makefile | 1 + >

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Simon Glass
Hi Tony, On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > Hi Simon, > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > Hi Simon, > > > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > > > Hi Tony, > > > > > > On Tue, 26 Sept 2023 at 13:40, Tony Dinh wrote: > > > > > > >

Re: [PATCH 2/4] bootm: Move arm64-image processing later

2023-11-06 Thread Simon Glass
Hi Tom, On Sun, 5 Nov 2023 at 14:20, Tom Rini wrote: > > On Sun, Nov 05, 2023 at 01:03:52PM -0700, Simon Glass wrote: > > > If the image is compressed, then the existing check fails, since the > > header is wrong. > > > > Move the check later in the boot process, after the kernel is > >

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 09:46, Tom Rini wrote: > > On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > >

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-06 Thread Simon Glass
Hi Heinrich, On Sun, 5 Nov 2023 at 14:54, Heinrich Schuchardt wrote: > > On 11/5/23 18:25, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 5 Nov 2023 at 03:47, Heinrich Schuchardt > > wrote: > >> > >> On 11/4/23 21:42, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Sat, 4 Nov 2023 at

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > This image type is supposed to ignore the load address. But at present > > it fails if the load address is missing. If it is zero, the image is > > loaded at address 0,

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Simon Glass
Hi John, On Mon, 6 Nov 2023 at 15:00, John Paul Adrian Glaubitz wrote: > > Hi Simon, > > On Sun, 2023-11-05 at 16:29 +, Simon Glass wrote: > > No, sorry I don't have any idea about that. You could check the > > MAINTAINERS files in U-Boot and Linux for other people, perhaps, or > > check

Re: [PATCH V2 2/2] arm: mach-k3: Move TI dummy keys out of board folder

2023-11-06 Thread Andrew Davis
On 11/3/23 9:45 PM, Nishanth Menon wrote: This file is used to emulate customer keys on TI development board ecosystems, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. While at it, drop the reference in verdin-binman file

[PATCH] mips: implement __udivdi3

2023-11-06 Thread Sachsensolar GmbH
From: Linus Walleij Squashfs wasn't compiling because the lldiv() directives turn into __udivdi3 and we are using private libgcc. After this squashfs compiles for MIPS. Signed-off-by: Linus Walleij Signed-off-by: Daniel Schwierzeck --- Linus, this is the updated and optimized version of

[PATCH] mips: fix change_k0_cca()

2023-11-06 Thread Sachsensolar GmbH
From: Daniel Schwierzeck The intention of change_k0_cca() is to read the C0.Config register into register $t0, update $t0 with the new cache coherency mode passed in $a0 and write back $t0 to C0.Config. With MIPS32 R2 or later instruction sets, this can be achieved with a single instruction with

Re: [PATCH V2 2/4] board: beagle: Add BeagleBone AI-64 support

2023-11-06 Thread Andrew Davis
On 11/4/23 3:11 AM, Nishanth Menon wrote: Add base support for BeagleBone AI-64 board support. Further information at https://beagleboard.org/ai-64 Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/Kconfig |1 + board/beagle/beagleboneai64/Kconfig |

[PATCH v2 2/2] driver: power: regulator: add support for TPS65224 regulator

2023-11-06 Thread Bhargav Raviprakash
Added support for PMIC TPS65224 regulators. Includes driver for buck and ldo. Signed-off-by: Bhargav Raviprakash --- drivers/power/regulator/Kconfig | 10 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/tps65224_regulator.c | 495 +++

[PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Bhargav Raviprakash
Added support for PMIC TPS65224. Includes driver for pmic, and disabling Watchdog. Signed-off-by: Bhargav Raviprakash --- drivers/power/pmic/Kconfig| 6 ++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/tps65224.c | 141 ++

[PATCH v2 0/2] TPS65224 PMIC Driver

2023-11-06 Thread Bhargav Raviprakash
TPS65224 is a Power Management IC which provides regulators and others features like GPIOs, RTC, watchdog, ADC, ESMs (Error Signal Monitor), and PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC can communicate through the I2C. Add support for TPS65224 PMIC in U-boot. This

Re: [PATCH V2 1/2] arm: mach-k3: Move K3 degenerate keys out of board folder

2023-11-06 Thread Andrew Davis
On 11/3/23 9:45 PM, Nishanth Menon wrote: This file is common for all of K3, move it out of board/ directory and into mach-k3. And change the relative paths to absolute paths in the binman paths. While at it, drop the reference in verdin-binman file which is redundant. Signed-off-by: Nishanth

[PATCH] m68k: remove unused mcf54xx devicetree

2023-11-06 Thread Angelo Dureghello
Remove unused devicetree, can be re-added later, in case some board would use it. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/mcf54xx.dtsi | 72 -- 1 file changed, 72 deletions(-) delete mode 100644 arch/m68k/dts/mcf54xx.dtsi diff --git

Re: [PATCH V2 08/12] arm: mach-k3: arm64-mmu: Refactor to be independent of board

2023-11-06 Thread Andrew Davis
On 11/4/23 2:21 AM, Nishanth Menon wrote: Refactor J721E J7200 definition to make this independent of board macros. Signed-off-by: Nishanth Menon --- arch/arm/mach-k3/arm64-mmu.c | 50 ++-- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git

[PATCH] mips: fix change_k0_cca()

2023-11-06 Thread Daniel Schwierzeck
The intention of change_k0_cca() is to read the C0.Config register into register $t0, update $t0 with the new cache coherency mode passed in $a0 and write back $t0 to C0.Config. With MIPS32 R2 or later instruction sets, this can be achieved with a single instruction with INS. The source and

[PATCH] arm: mach-k3: Let the compiler size the mem_map lists

2023-11-06 Thread Andrew Davis
NR_MMU_REGIONS is a copy/paste from another platform that extends this list later. We do not do that, so let the list be the size of the initializer list. Signed-off-by: Andrew Davis --- arch/arm/mach-k3/arm64-mmu.c | 34 ++ 1 file changed, 6 insertions(+), 28

[PATCH] mips: implement __udivdi3

2023-11-06 Thread Daniel Schwierzeck
From: Linus Walleij Squashfs wasn't compiling because the lldiv() directives turn into __udivdi3 and we are using private libgcc. After this squashfs compiles for MIPS. Signed-off-by: Linus Walleij Signed-off-by: Daniel Schwierzeck --- Linus, this is the updated and optimized version of

Re: [PATCH 01/20] m68k: Remove CONFIG_FSLDMAFEC

2023-11-06 Thread Angelo Dureghello
Hi Tom, sure, i remove the unused dtsi, patch will follow. Regards, angelo On 06/11/23 5:32 PM, Tom Rini wrote: On Sat, Nov 04, 2023 at 09:58:07PM +0100, Angelo Dureghello wrote: Hi Tom, Reviewed by: Angelo Dureghello Thanks for the cleanup, m68k boards build fine. fsl_mcdmafec driver

Re: [PATCH V2 06/12] arm: mach-k3: Kconfig: Introduce a symbol to indicate J7200

2023-11-06 Thread Nishanth Menon
On 10:45-20231106, Andrew Davis wrote: > On 11/4/23 2:21 AM, Nishanth Menon wrote: > > J7200 shares quite a few characteristics with J721E. However a few sets > > are different. Introduce a Kconfig to differentiate the two to allow for > > new boards to be introduced

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Tom Rini
On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > On Fri, 3 Nov 2023 13:38:58 -0600 > Simon Glass wrote: > > Hi Simon, > > > Hi Heinrich, > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > wrote: > > > > > > On 11/1/23 19:05, Andre Przywara wrote: > > > > On Tue,

Re: [PATCH V2 06/12] arm: mach-k3: Kconfig: Introduce a symbol to indicate J7200

2023-11-06 Thread Andrew Davis
On 11/4/23 2:21 AM, Nishanth Menon wrote: J7200 shares quite a few characteristics with J721E. However a few sets are different. Introduce a Kconfig to differentiate the two to allow for new boards to be introduced in a seamless manner. Signed-off-by: Nishanth Menon ---

Re: [GIT PULL] Please pull u-boot-amlogic-20231106

2023-11-06 Thread Tom Rini
; > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20231106 > > for you to fetch changes up to c550e81171940932664a85bda315a6a073aae23c: > > ARM: configs: libretech-ac: enable USB_DFU like in meson6

Re: [PATCH] net: designware: add DMA offset awareness

2023-11-06 Thread Tom Rini
On Wed, Oct 25, 2023 at 11:08:44AM +0300, Baruch Siach wrote: > Older DesignWare Ethernet MAC versions that this driver supports can > only work with 32-bit DMA source/destination addresses. Some platforms > have no physical RAM at the lowest 4GB address space. For these > platforms the driver

Re: [PATCH] net: e1000: Drop e1000_eth_ids[]

2023-11-06 Thread Tom Rini
On Wed, Oct 11, 2023 at 06:58:25PM +0800, Bin Meng wrote: > e1000_eth_ids holds compatible strings for e1000 devices, but it > is meaningless as e1000 is a PCI device and there is no such > compatible string assigned to e1000 by the DT bindings community. > > Drop it. > > Signed-off-by: Bin

Re: [PATCH] net: Add option for tracing packets

2023-11-06 Thread Tom Rini
On Sat, Oct 07, 2023 at 09:53:12PM -0400, Sean Anderson wrote: > Add an option to trace all packets send/received. This can be helpful when > debugging protocol issues, as the packets can then be imported into > wireshark [1] and analyzed further. > > [1]

Re: [PATCH] net: phy: TI DP83869 fix invalid clock delay configuration

2023-11-06 Thread Tom Rini
On Fri, Oct 06, 2023 at 02:24:39PM +0200, Frank de Brabander wrote: > Setting the clock delay from the device tree settings > rx-internal-delay-ps and tx-internal-delay-ps was broken: > > - The expected value in the device tree is suppose to be a >delay in picoseconds, but the driver only

[PATCH 2/2] warp7: Convert to watchdog driver model

2023-11-06 Thread Fabio Estevam
From: Fabio Estevam Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused the 'reset' command in U-Boot to not cause a board reset. Fix it by switching to the watchdog driver model via sysreset, which is the preferred method for implementing the watchdog reset.

[PATCH 1/2] imx7s-warp-u-boot: Fix aliases and chosen nodes indentation

2023-11-06 Thread Fabio Estevam
From: Fabio Estevam The aliases and chosen nodes are currently indented using spaces. Fix them to use the standard tab indentation. Signed-off-by: Fabio Estevam --- arch/arm/dts/imx7s-warp-u-boot.dtsi | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [PATCH v2] net: eth-uclass: Setup ROM source only when ROM reading passes

2023-11-06 Thread Tom Rini
On Fri, Sep 15, 2023 at 04:10:06PM +0200, Michal Simek wrote: > There is no reason to setup ROM source if read_rom_hwaddr hook doesn't > exist or reading mac address fails. It is ending up with confusion about > mac address source. > > It is nicely visible if you put mac address to DT as >

Re: [PATCH RESEND v2 2/2] net: add hifemac_mdio MDIO bus driver for HiSilicon platform

2023-11-06 Thread Tom Rini
On Wed, Aug 23, 2023 at 01:03:43AM +0800, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen > > It adds the driver for the internal MDIO bus of HIFEMAC Ethernet > controller. It's based on the mainstream linux driver. > > Signed-off-by: Yang Xiwen Applied to u-boot/master, thanks! -- Tom

Re: [PATCH RESEND v2 1/2] net: add hifemac Ethernet driver for HiSilicon platform

2023-11-06 Thread Tom Rini
On Wed, Aug 23, 2023 at 01:03:42AM +0800, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen > > It adds the driver for HIFEMAC Ethernet controller found on HiSilicon > SoCs like Hi3798MV200. It's based on the mainstream linux driver, but > quite a lot of code gets rewritten and cleaned up to

Re: [PATCH 2/2] net: mv88e6xxx: add Clause 45 support

2023-11-06 Thread Tom Rini
On Tue, Aug 08, 2023 at 06:05:16PM +0200, Robert Marko wrote: > Marvell LinkStreet switches support Clause 45 MDIO on the internal bus. > > C45 read or writes require the register address to be written first to > the SMI PHY Data register, and then a special C45 Write Address Register > OP is

Re: [PATCH 1/2] net: mv88e6xxx: use generic bitfield macros for MDIO

2023-11-06 Thread Tom Rini
On Tue, Aug 08, 2023 at 06:05:15PM +0200, Robert Marko wrote: > Driver is currently defining the mask and bit shifting itself, > there is no need for that as U-Boot has generic bitfield macros that help > us achieve the same result but in a cleaner way. > > Signed-off-by: Robert Marko Applied

Re: [PATCH] net: ftgmac100: Add reset control

2023-11-06 Thread Tom Rini
On Thu, Jul 27, 2023 at 09:58:14AM +0800, Dylan Hung wrote: > Add optional reset control, especially for the Aspeed SOC. For the > hardware without a reset line, the reset assertion/deassertion will be > skipped. > > Signed-off-by: Dylan Hung > Reviewed-by: Ryan Chen > Reviewed-by: Ramon Fried

Re: [PATCH] net: dw_eth_qos: Add 64-bit addressing

2023-11-06 Thread Tom Rini
On Fri, Dec 09, 2022 at 02:33:14PM +0800, Ley Foon Tan wrote: > Set upper 32bit address for DMA descriptors and buffer address to support > 64-bit addressing. > > Signed-off-by: Ley Foon Tan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

  1   2   >