Re: [PATCH 01/14] trace: Use notrace for short

2023-01-24 Thread Stefan Herbrechtsmeier
Hi Simon, Am 24.01.2023 um 23:44 schrieb Simon Glass: Hi Stefan, On Tue, 24 Jan 2023 at 05:14, Stefan Herbrechtsmeier wrote: Hi Simon, Am 24.01.2023 um 11:55 schrieb Simon Glass: Hi Stefan, On Tue, 24 Jan 2023 at 01:12, Stefan Herbrechtsmeier wrote: Hi Simon, Am 22.12.2022 um 00:08 schr

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-24 Thread Sudeep Holla
On Tue, Jan 24, 2023 at 03:56:19PM +, Abdellatif El Khlifi wrote: > > I'd like to suggest the creation of a root node called arm_smccc as shown > below. > Not sure if U-Boot already supports the existing binding of PSCI and OPTEE. > This node is the parent of all nodes using SMC calls like F

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-24 Thread Sudeep Holla
On Tue, Jan 24, 2023 at 03:44:53PM -0700, Simon Glass wrote: > Hi Sudeep, > > On Tue, 24 Jan 2023 at 04:30, Sudeep Holla wrote: > > > > Hi Simon, > > [...] > > Not really. I think I have not conveyed the setup details properly. > > Let me try to explain with 2 hopefully simple examples: > > > >

Re: [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-24 Thread Sjoerd Simons
On Tue, 2023-01-24 at 15:47 -0500, Tom Rini wrote: > On Sat, Jan 21, 2023 at 04:54:29PM +0100, Sjoerd Simons wrote: > > > Update the am62 and am625 device-trees from current ti-k3-next ... > These need to come from linux-next or similar, not a TI tree. What's > the > status on upstreaming those

[PATCH v2] net: zynq_gem: Wait for SGMII PCS link in zynq_gem_init()

2023-01-24 Thread Stefan Roese
In our system using ZynqMP with an external SGMII PHY it's necessary to wait for the PCS link and auto negotiation to finish before the xfer starts. Otherwise the first packet(s) might get dropped, resulting in a delay at the start of the ethernet transfers. This is only done when the PHY link is

Re: [PATCH v1 00/12] powerpc: mpc85xx: fixes and updates for socrates board

2023-01-24 Thread Heiko Schocher
Hello Tom, On 24.01.23 19:12, Tom Rini wrote: > On Tue, Jan 24, 2023 at 06:06:48PM +0100, Heiko Schocher wrote: > >> Patchseries is based on 53c47c59e6: ("Merge tag 'dm-pull-18jan23' of >> https://source.denx.de/u-boot/custodians/u-boot-dm";) >> >> It brings back socrates board working with cur

Re: [PATCH 1/6] drivers: core: ofnode: Add panel timing decode.

2023-01-24 Thread Nikhl M Jain
Hi Simon, On 24/01/23 00:12, Simon Glass wrote: > Hi Nikhil, > > On Mon, 23 Jan 2023 at 01:07, Nikhil M Jain wrote: >> >> ofnode_decode_display_timing supports reading timing parameters from >> subnode of display-timings node, for displays supporting multiple >> resolution, in case if a display

[PATCH] bootstd: Replicate the dtb-filename quirks of distroboot

2023-01-24 Thread Simon Glass
For EFI, the distro boot scripts search in three different directories for the .dtb file. The SOC-based filename fallback is supported only for 32-bit ARM. Adjust the code to mirror this behaviour. Signed-off-by: Simon Glass Suggested-by: Mark Kettenis --- boot/bootmeth_efi.c | 63 +++

RE: [PATCH 41/41] imx9: support i.MX93 9x9 QSB board

2023-01-24 Thread Peng Fan
> -Original Message- > From: Fabio Estevam > Sent: 2023年1月24日 3:34 > To: Peng Fan (OSS) > Cc: sba...@denx.de; dl-uboot-imx ; u- > b...@lists.denx.de; Peng Fan > Subject: Re: [PATCH 41/41] imx9: support i.MX93 9x9 QSB board > > Hi > > On Mon, Jan 23, 2023 at 5:30 AM Peng Fan (OSS) >

Pull request: u-boot-sunxi/master for 2023.04

2023-01-24 Thread Andre Przywara
Hi Tom, please pull the first part of the sunxi pull request for this cycle. This contains some fixes, and the first bunch of some clean up patches to get rid of legacy GPIO and PMIC code. Highlight is the DM AXP PMIC driver, which is required to convert some drivers over to use DM regulators, and

Re: [PATCH 3/5] usb: dwc3-generic: Add dependency on SIMPLE_BUS

2023-01-24 Thread Marek Vasut
On 1/24/23 03:53, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, On 2023/01/24 0:49, Marek Vasut wrote: On 1/23/23 06:01, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, [...] On the other hand, the PXS2 controller for example is not a bus: arch/arm/dts/uniphier-pxs2.dtsi:

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-24 Thread Simon Glass
Hi Troy, On Tue, 24 Jan 2023 at 16:31, Troy Kisky wrote: > > > > > From: Troy Kisky > Sent: Tuesday, January 24, 2023 2:52 PM > To: u-boot@lists.denx.de ; sba...@denx.de > ; tr...@konsulko.com ; feste...@gmail.com > > Cc: s...@chromium.org ; ma...@denx.de > Su

Re: [PATCH v5 3/4] eficonfig: add vertical scroll support

2023-01-24 Thread Masahisa Kojima
Hi Heinrich, On Wed, 25 Jan 2023 at 00:32, Heinrich Schuchardt wrote: > > On 1/24/23 07:56, Masahisa Kojima wrote: > > The current eficonfig menu does not support vertical scroll, > > so it can not display the menu entries greater than > > the console row size. > > > > This commit add the vertial

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-24 Thread Troy Kisky
From: Troy Kisky Sent: Tuesday, January 24, 2023 2:52 PM To: u-boot@lists.denx.de ; sba...@denx.de ; tr...@konsulko.com ; feste...@gmail.com Cc: s...@chromium.org ; ma...@denx.de Subject: CONFIG_IS_ENABLED vs IS_ENABLED Hi Guys In a recent debugging session

CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-24 Thread Troy Kisky
Hi Guys In a recent debugging session, I stumbled across this line drivers/mmc/mmc.c: if (CONFIG_IS_ENABLED(MMC_QUIRKS) && mmc->quirks & quirk) which prevents retries in SPL code, and was causing booting from an SD card to fail. So I wrote a little script to print uses of CONFIG_IS_ENABLED

Re: [PATCH v2 2/4] sunxi: binman: Move BL31 and SCP firmware addresses to Kconfig

2023-01-24 Thread Simon Glass
Hi Samuel, On Mon, 23 Jan 2023 at 22:22, Samuel Holland wrote: > > Hi Simon, > > On 1/23/23 12:42, Simon Glass wrote: > > HI Samuel, > > > > On Sun, 22 Jan 2023 at 14:16, Samuel Holland wrote: > >> > >> This is easier to read than the #ifdef staircase, provides better > >> visibility into the me

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-24 Thread Simon Glass
Hi Abdellatif, On Tue, 24 Jan 2023 at 08:56, Abdellatif El Khlifi wrote: > > On Mon, Jan 23, 2023 at 09:32:28AM -0700, Simon Glass wrote: > > Hi Rob, > > > > On Mon, 23 Jan 2023 at 08:13, Rob Herring wrote: > > > > > > On Fri, Jan 20, 2023 at 4:04 PM Simon Glass wrote: > > > > > > > > Hi Rob, >

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-24 Thread Simon Glass
Hi Sudeep, On Tue, 24 Jan 2023 at 04:30, Sudeep Holla wrote: > > Hi Simon, > > On Mon, Jan 23, 2023 at 09:32:19AM -0700, Simon Glass wrote: > > Hi Sudeep, > > > > I'd like to see DT defined across firmware and OS, not just be a Linux > > thing. > > Fair enough. > > > It is a better approach than

Re: [PATCH 01/14] trace: Use notrace for short

2023-01-24 Thread Simon Glass
Hi Stefan, On Tue, 24 Jan 2023 at 05:14, Stefan Herbrechtsmeier wrote: > > Hi Simon, > > Am 24.01.2023 um 11:55 schrieb Simon Glass: > > Hi Stefan, > > > > On Tue, 24 Jan 2023 at 01:12, Stefan Herbrechtsmeier > > wrote: > >> Hi Simon, > >> > >> Am 22.12.2022 um 00:08 schrieb Simon Glass: > >>> T

Re: Trouble pushing to u-boot-tegra

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 09:11:47PM +, Tom Warren wrote: > Tom, > > I haven't had to push an update to master on u-boot-tegra in several months, > but I've got a new PR that needs to go in. I've tried my normal 'git push > ssh://gu-te...@git.denx.de/u-boot-tegra master', but it's not working

Trouble pushing to u-boot-tegra

2023-01-24 Thread Tom Warren
Tom, I haven't had to push an update to master on u-boot-tegra in several months, but I've got a new PR that needs to go in. I've tried my normal 'git push ssh://gu-te...@git.denx.de/u-boot-tegra master', but it's not working. I get: gu-te...@git.denx.de: Permission denied (publickey). fatal:

Re: [PATCH v3 01/70] dm: core: Correct ordering of uclasses IDs

2023-01-24 Thread Tom Rini
On Tue, Jan 17, 2023 at 10:47:11AM -0700, Simon Glass wrote: > A few of these are out of order. Fix them. > > Signed-off-by: Simon Glass For the series, applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot

2023-01-24 Thread Tom Rini
On Sat, Jan 21, 2023 at 04:54:33PM +0100, Sjoerd Simons wrote: > Enable both usb0 as a peripheral for use with DFU and usb1 as a host > port for usage with e.g. usb storage. > > Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL

2023-01-24 Thread Tom Rini
On Sat, Jan 21, 2023 at 04:54:30PM +0100, Sjoerd Simons wrote: > sdhci0 on the k3-am625-sk is the emmc, enable this in SPL as well to > allow booting from that media. > > Signed-off-by: Sjoerd Simons Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next

2023-01-24 Thread Tom Rini
On Sat, Jan 21, 2023 at 04:54:29PM +0100, Sjoerd Simons wrote: > Update the am62 and am625 device-trees from current ti-k3-next (commit > 880932e657f). This needed the following tweaks to the u-boot specific$ > dtsi as well: > - Switch tick-timer to the main_timer as it's now defined in the main d

Re: [PATCH 2/8] arm: mach-k3: am62: Add timer0 id to the dev list

2023-01-24 Thread Tom Rini
On Sat, Jan 21, 2023 at 04:54:28PM +0100, Sjoerd Simons wrote: > Timer0 is used by u-boot as the tick timer; Add it to the soc devices > list so it can be enabled via the k3 power controller. > > Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signa

Re: [PATCH 1/8] omap: timer: add ti,am654-timer compatibility

2023-01-24 Thread Tom Rini
On Sat, Jan 21, 2023 at 04:54:27PM +0100, Sjoerd Simons wrote: > THe TI AM654 timer is compatible with the omap-timer implementation, so > add it to the id list > > Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH] board: edgeble: Fix neural-compute-module-2 board name

2023-01-24 Thread Jagan Teki
The board should be RV1126-NEU2 instead RV1126-ECM0. Fix the wrong name. Fixes: b8f1ca954013 ("board: rockchip: Add Edgeble Neu2 IO Board") Signed-off-by: Jagan Teki --- board/edgeble/neural-compute-module-2/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/e

Re: [PATCH 1/7] board: rockchip: Add rk3588 evb board support

2023-01-24 Thread Jagan Teki
On Wed, 25 Jan 2023 at 00:47, wrote: > > From: Joseph Chen > > Add support for rk3588 evaluation board. > > Signed-off-by: Joseph Chen > --- Does it boot with BL31 (bin/rk35/rk3588_bl31_v1.27.elf) from rkbin master branch? I have tried with some information provided to Kever the BL31 seems not

[PATCH 7/7] phy: phy-rockchip-snps-pcie3: Add pcie3_phymode setting

2023-01-24 Thread fatorangecat
From: Jon Lin rk3588 pcie3 phy has a pcie3_phymode to decide how to use the four lanes, add support in dts so that we can customize in dts. The phy has two port and each port has two lane: pcie30_phy_mode[2:0] 2: aggregation 1: bifurcation for port 1 0: bifurcation for port 0 Signed-off-by: Kev

Re: [u-boot PATCH v2 3/3] arm: dts: k3-am64: Fix CPSW3G ethernet

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 11:43:27AM +0200, Roger Quadros wrote: > As MDIO driver does not support Driver Model, the > pinctrl settings in the MDIO node will not > be applied resulting in PHY not being detected. > > To workaround this we add the MDIO pinctrl in > the CPSW3G node in the -u-boot.dtsi

[PATCH 5/7] rockchip: clk: pll: add pll_rk3588 type for RK3588 Soc

2023-01-24 Thread fatorangecat
From: Elaine Zhang Signed-off-by: Elaine Zhang --- arch/arm/include/asm/arch-rockchip/clock.h | 15 ++ drivers/clk/rockchip/clk_pll.c | 231 - 2 files changed, 243 insertions(+), 3 deletions(-) diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm

Re: [PATCH] usb: host: ehci-generic: Handle DM_RESET=n case

2023-01-24 Thread Marek Vasut
On 1/24/23 09:07, Patrice CHOTARD wrote: Hi Marek Hi, On 1/23/23 23:32, Marek Vasut wrote: In case CONFIG_DM_RESET=n, reset_get_bulk() returns -ENOTSUPP. Do not fail in that case either. This is a valid use case, e.g. in case the reset driver is a no-op and would only waste space in the buil

[PATCH 4/7] dt-bindings: clock: rk3588: Add binding header for rk3588

2023-01-24 Thread fatorangecat
From: Elaine Zhang files origin from kernel tree. Signed-off-by: Zhang Yubing Signed-off-by: Elaine Zhang --- include/dt-bindings/clock/rk3588-cru.h | 1494 ++ include/dt-bindings/power/rk3588-power.h | 69 + 2 files changed, 1563 insertions(+) create mode 100644 incl

[PATCH 3/7] clk: rockchip: rk3588: Add clock driver

2023-01-24 Thread fatorangecat
From: Elaine Zhang Add basic clock for rk3588 which including top, peri, mmc, i2c, pwm, gmac and more clocks init. Signed-off-by: Elaine Zhang --- .../include/asm/arch-rockchip/cru_rk3588.h| 408 drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk_rk3588.

[PATCH 2/7] rockchip: Add rk3588 core architecture

2023-01-24 Thread fatorangecat
From: Joseph Chen RK3588 is a high-performance and low power octa-core application processor designed for personal mobile internet device and AIoT equipments. Signed-off-by: Joseph Chen --- arch/arm/include/asm/arch-rk3588/boot0.h | 11 + arch/arm/include/asm/arch-rk3588/gpio.h |

[PATCH 1/7] board: rockchip: Add rk3588 evb board support

2023-01-24 Thread fatorangecat
From: Joseph Chen Add support for rk3588 evaluation board. Signed-off-by: Joseph Chen --- board/rockchip/evb_rk3588/Kconfig | 15 ++ board/rockchip/evb_rk3588/MAINTAINERS | 6 +++ board/rockchip/evb_rk3588/Makefile | 7 +++ board/rockchip/evb_rk3588/evb_rk3588.c | 4 ++ config

Re: [PATCH] odroid: add CROS_EC to odroid_defconfig

2023-01-24 Thread Henrik Grimler
Hi Joost, [ ... ] > > That would be OK too, but if you do that, please use IS_ENABLED() > > rather than #ifdef > > I've tested the alternative, and that works for me as well. I am > slightly in favour of the alternative, because it seems illogical to > require building a driver that is never goi

Re: [PATCH 51/88] omap: Drop unused CONFIG_OMAP_USB_PHY

2023-01-24 Thread Tom Rini
On Mon, Jan 23, 2023 at 02:59:54PM -0700, Simon Glass wrote: > This option does not exist, so the Makefile rule does nothing. Drop it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Simon Glass
Hi Tom, On Tue, 24 Jan 2023 at 12:02, Tom Rini wrote: > > On Tue, Jan 24, 2023 at 11:55:32AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 24 Jan 2023 at 11:28, Tom Rini wrote: > > > > > > On Tue, Jan 24, 2023 at 11:15:15AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 11:55:32AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 24 Jan 2023 at 11:28, Tom Rini wrote: > > > > On Tue, Jan 24, 2023 at 11:15:15AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 24 Jan 2023 at 08:49, Tom Rini wrote: > > > > > > > > On Tue, Jan 24, 20

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Simon Glass
Hi Tom, On Tue, 24 Jan 2023 at 11:28, Tom Rini wrote: > > On Tue, Jan 24, 2023 at 11:15:15AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 24 Jan 2023 at 08:49, Tom Rini wrote: > > > > > > On Tue, Jan 24, 2023 at 03:56:00AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 11:15:15AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 24 Jan 2023 at 08:49, Tom Rini wrote: > > > > On Tue, Jan 24, 2023 at 03:56:00AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 23 Jan 2023 at 18:39, Tom Rini wrote: > > > > > > > > On Tue, Jan 17, 20

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Simon Glass
Hi Tom, On Tue, 24 Jan 2023 at 08:49, Tom Rini wrote: > > On Tue, Jan 24, 2023 at 03:56:00AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 23 Jan 2023 at 18:39, Tom Rini wrote: > > > > > > On Tue, Jan 17, 2023 at 10:47:22AM -0700, Simon Glass wrote: > > > > > > > At present this test set

Re: [PATCH v1 00/12] powerpc: mpc85xx: fixes and updates for socrates board

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:48PM +0100, Heiko Schocher wrote: > Patchseries is based on 53c47c59e6: ("Merge tag 'dm-pull-18jan23' of > https://source.denx.de/u-boot/custodians/u-boot-dm";) > > It brings back socrates board working with current mainline, and > adds also some small updates: >

[PATCH v1 12/12] powerpc/mpc85xx: socrates: enable signed fitImages

2023-01-24 Thread Heiko Schocher
allow only to boot signed fitimages (and signed u-boot scripts). Signed-off-by: Heiko Schocher --- configs/socrates_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig index d4c08f1941..e03c971b5e 100644 --- a/configs/socrates_

[PATCH v1 11/12] powerpc/mpc85xx: socrates: enable protected Environment

2023-01-24 Thread Heiko Schocher
enable protected Environment on socrates board. Signed-off-by: Heiko Schocher --- board/socrates/socrates.c | 17 + configs/socrates_defconfig | 4 include/configs/socrates.h | 2 ++ 3 files changed, 23 insertions(+) diff --git a/board/socrates/socrates.c b/board/socrat

[PATCH v1 10/12] powerpc/mpc85xx: socrates: add autoboot delay string

2023-01-24 Thread Heiko Schocher
add autoboot delay string for socrates board. use sha256 for abort autoboot, use "ao" to abort. Signed-off-by: Heiko Schocher --- configs/socrates_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig index 816e59872e..8640dc9

[PATCH v1 09/12] powerpc/mpc85xx: socrates: add support for i2c eeprom at 0x51

2023-01-24 Thread Heiko Schocher
add support for i2c eeprom on address 0x51. Signed-off-by: Heiko Schocher --- arch/powerpc/dts/socrates-u-boot.dtsi | 10 ++ configs/socrates_defconfig| 4 2 files changed, 14 insertions(+) diff --git a/arch/powerpc/dts/socrates-u-boot.dtsi b/arch/powerpc/dts/socrate

[PATCH v1 08/12] powerpc/mpc85xx: socrates: Add boot retry feature

2023-01-24 Thread Heiko Schocher
add boot retry feature and reboot after 120 seconds. Signed-off-by: Heiko Schocher --- configs/socrates_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig index 770f37a0be..c4a3fd30d8 100644 --- a/configs/socrates_defconfig +

[PATCH v1 07/12] powerpc/mpc85xx: socrates: drop second flash bank

2023-01-24 Thread Heiko Schocher
drop second flash bank, as not used anymore. Signed-off-by: Heiko Schocher --- configs/socrates_defconfig | 4 include/configs/socrates.h | 5 ++--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig index 17c12aed7d..770f

[PATCH v1 06/12] powerpc/mpc85xx: socrates: add initrd_high default environment variable

2023-01-24 Thread Heiko Schocher
we need to set initrd_high to get fitimage booting. Without, U-Boot drops when booting fitimage: ERROR: Failed to allocate 0x59a0b6 bytes below 0x80. ramdisk - allocation error bootm - boot application image from memory Signed-off-by: Heiko Schocher --- include/configs/socrates.h | 1 + 1

[PATCH v1 05/12] powerpc/mpc85xx: socrates: add MTD partitioning support

2023-01-24 Thread Heiko Schocher
setup MTD partitioning through mtdparts variable and set it to: mtdparts=fe000.nor:13312k(system1),13312k(system2),5120k(data),128k(env),128k(env-red),768k(u-boot) and pass this to linux per kernel commandline. Signed-off-by: Heiko Schocher --- configs/socrates_defconfig | 5 + inclu

[PATCH v1 04/12] powerpc: dts: updates socrates board

2023-01-24 Thread Heiko Schocher
include common e500v2_power_isa.dtsi and rearrange some nodes. Signed-off-by: Heiko Schocher --- arch/powerpc/dts/socrates.dts | 59 +++ 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/arch/powerpc/dts/socrates.dts b/arch/powerpc/dts/socrates.dts

[PATCH v1 03/12] powerpc/mpc85xx: drop socrates specific image creation

2023-01-24 Thread Heiko Schocher
convert socrates board to use MPC85XX_HAVE_RESET_VECTOR and disable CONFIG_OF_BOARD and use common u-boot.dtsi for creating u-boot-dtb.bin. Signed-off-by: Heiko Schocher --- arch/powerpc/dts/socrates-u-boot.dtsi | 17 - board/socrates/socrates.c | 17

[PATCH v1 02/12] powerpc/mpc85xx: socrates: rework build process

2023-01-24 Thread Heiko Schocher
U-Boot build process for socrates board produces final U-Boot binary in file u-boot-socrates.bin (by binman) And as a bonus it produces two unusable broken binaries u-boot-dtb.bin and u-boot.bin (by Makefile). Clean this up, so final U-Boot binary is in u-boot-dtb.bin Signed-off-by: Pali Rohár S

[PATCH v1 01/12] powerpc/mpc85xx: fixes and updates for socrates board

2023-01-24 Thread Heiko Schocher
current mainline does not work on socrates board. To get it back up working, there are some updates needed in socrates_defconfig. Signed-off-by: Heiko Schocher Fixes: 94633c36f9eb ("net: Make DM_ETH be selected by NETDEVICE") Fixes: 2f8a6db5d83b ("Finish conversion of CONFIG_SYS_CLK_FREQ to Kconf

[PATCH v1 00/12] powerpc: mpc85xx: fixes and updates for socrates board

2023-01-24 Thread Heiko Schocher
Patchseries is based on 53c47c59e6: ("Merge tag 'dm-pull-18jan23' of https://source.denx.de/u-boot/custodians/u-boot-dm";) It brings back socrates board working with current mainline, and adds also some small updates: - newer U-Boot needs more space in Flash, so set new textbase. adapt defa

Re: [PATCH v4] mtd: parsers: ofpart: add workaround for #size-cells 0

2023-01-24 Thread Greg Kroah-Hartman
On Tue, Jan 24, 2023 at 11:44:44AM +0100, Francesco Dolcini wrote: > From: Francesco Dolcini > > Add a mechanism to handle the case in which partitions are present as > direct child of the nand controller node and #size-cells is set to <0>. > > This could happen if the nand-controller node in th

[PATCH v2] watchdog: Add a watchdog driver for Raspberry Pi boards

2023-01-24 Thread ETIENNE DUBLE
This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driver and was tested on two Raspberry Pi board versions (B+ and 3B+). Signed-off-by: Etienne Dublé --- Changes for v2: - fixed whitespaces in email - moved a static variable to the priv struct

Re: [PATCH] watchdog: Add a watchdog driver for Raspberry Pi boards

2023-01-24 Thread Etienne Dublé
Hi Stefan, Thanks for the feedback. I will send a v2 to fix those issues. Regards, Etienne Le 24/01/2023 à 14:38, Stefan Roese a écrit : Hi Etienne, On 1/24/23 14:20, Etienne Dublé wrote: This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driv

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-24 Thread Abdellatif El Khlifi
On Mon, Jan 23, 2023 at 09:32:28AM -0700, Simon Glass wrote: > Hi Rob, > > On Mon, 23 Jan 2023 at 08:13, Rob Herring wrote: > > > > On Fri, Jan 20, 2023 at 4:04 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Thu, 19 Jan 2023 at 11:11, Rob Herring wrote: > > > > > > > > On Thu, Jan 19,

Re: [PATCH v2] watchdog: Add a watchdog driver for Raspberry Pi boards

2023-01-24 Thread Stefan Roese
Hi Etienne, On 1/24/23 15:55, ETIENNE DUBLE wrote: This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driver and was tested on two Raspberry Pi board versions (B+ and 3B+). Signed-off-by: Etienne Dublé --- Changes for v2: - fixed whitespaces in

Re: [PATCH v2 1/1] include: configs: am62x_evm: Add .env file for Am62x

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 10:46:02AM +0530, Nikhil M Jain wrote: > Use .env file for setting board related environment variables, > in place of am62x_evm.h file. Except for BOOTENV settings, as > config_distro_boot.env file doesn't exist. > > Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini -

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Tom Rini
On Tue, Jan 24, 2023 at 03:56:00AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 23 Jan 2023 at 18:39, Tom Rini wrote: > > > > On Tue, Jan 17, 2023 at 10:47:22AM -0700, Simon Glass wrote: > > > > > At present this test sets up a partition table on mmc1. But this is used > > > by the bootstd tes

Re: [PATCH v5 3/4] eficonfig: add vertical scroll support

2023-01-24 Thread Heinrich Schuchardt
On 1/24/23 07:56, Masahisa Kojima wrote: The current eficonfig menu does not support vertical scroll, so it can not display the menu entries greater than the console row size. This commit add the vertial scroll support. The console size is retrieved by SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode() ser

[PATCH v2 3/3] xilinx: board: Update logic in xilinx_read_eeprom_legacy

2023-01-24 Thread Michal Simek
When eeprom has random content printing random chars can stuck U-Boot. That's why update legacy eeprom format decoding algorithm to copy only maximum amount of chars allocated for fields. And also print them directly from desc structure. Previous algorithm was printing strings first directly from

[PATCH v2 2/3] xilinx: board: Fix xilinx_eeprom_legacy_cleanup()

2023-01-24 Thread Michal Simek
When ethernet mac address contains 0x20 or 0xff MAC address is changed and bytes are converted to zeros. That's why fix decoding algorithm to ignore fields where MAC address is stored and all non printable chars (including space) are zeroed. Signed-off-by: Michal Simek --- (no changes since v1)

[PATCH v2 1/3] xilinx: board: Use ETH_ALEN macro for mac address size

2023-01-24 Thread Michal Simek
Use predefined macro for eth_mac legacy format. Signed-off-by: Michal Simek --- (no changes since v1) board/xilinx/common/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 823d703ea93c..6fc41e978669 10064

[PATCH v2 0/3] xilinx: board: Improve legacy format handling

2023-01-24 Thread Michal Simek
Hi, fix and improve legacy format handling to cover cases where eeprom content is corrupted and random. Very likely detection algorithm can be improved - for example check that mac address is valid, check all strings, etc. but the aim of this series is to remove all non printable chars without mac

[BUG] Re: [PATCH v3 02/25] cli: Move readline character-processing to a state machine

2023-01-24 Thread Heinrich Schuchardt
On 1/6/23 15:52, Simon Glass wrote: The current cread_line() function is very long. It handles the escape processing inline. The menu command does similar processing but at the character level, so there is some duplication. Split the character processing into a new function cli_ch_process() whic

[PATCH 1/3] xilinx: board: Use ETH_ALEN macro for mac address size

2023-01-24 Thread Michal Simek
Use predefined macro for eth_mac legacy format. Signed-off-by: Michal Simek --- board/xilinx/common/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 823d703ea93c..6fc41e978669 100644 --- a/board/xilinx/co

[PATCH 3/3] xilinx: board: Update logic in xilinx_read_eeprom_legacy

2023-01-24 Thread Michal Simek
When eeprom has random content printing random chars can stuck U-Boot. That's why update legacy eeprom format decoding algorithm to copy only maximum amount of chars allocated for fields. And also print them directly from desc structure. Previous algorithm was printing strings first directly from

[PATCH 0/3] xilinx: board: Improve legacy format handling

2023-01-24 Thread Michal Simek
Hi, fix and improve legacy format handling to cover cases where eeprom content is corrupted and random. Very likely detection algorithm can be improved - for example check that mac address is valid, check all strings, etc. but the aim of this series is to remove all non printable chars without mac

[PATCH 2/3] xilinx: board: Fix xilinx_eeprom_legacy_cleanup()

2023-01-24 Thread Michal Simek
When ethernet mac address contains 0x20 or 0xff MAC address is changed and bytes are converted to zeros. That's why fix decoding algorithm to ignore fields where MAC address is stored and all non printable chars (including space) are zeroed. Signed-off-by: Michal Simek --- board/xilinx/common/b

Re: [PATCH v2 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-01-24 Thread Andreas Schwab
On Jan 18 2023, Yanhong Wang wrote: > This series of patches base on the latest branch/master, and add support > for the StarFive JH7110 RISC-V SoC and VisionFive V2 board. In order for > this to be achieved, the respective DT nodes have been added, and the > required defconfigs have been added t

Re: [PATCH] net: zynq_gem: Add a 10ms delay in zynq_gem_init()

2023-01-24 Thread Stefan Roese
Hi Michal, On 1/24/23 14:12, Michal Simek wrote: Hi Stefan, On 1/11/23 12:38, Stefan Roese wrote: Hi Harini, On 1/11/23 12:20, Katakam, Harini wrote: + Hi Stefan, -Original Message- From: U-Boot On Behalf Of Stefan Roese Sent: Wednesday, January 11, 2023 1:01 PM To: u-boot@lists.d

Re: [PATCH] watchdog: Add a watchdog driver for Raspberry Pi boards

2023-01-24 Thread Stefan Roese
Hi Etienne, On 1/24/23 14:20, Etienne Dublé wrote: This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driver and was tested on two Raspberry Pi board versions (B+ and 3B+). Signed-off-by: Etienne Dublé ---  drivers/watchdog/Kconfig   |  

[PATCH] watchdog: Add a watchdog driver for Raspberry Pi boards

2023-01-24 Thread Etienne Dublé
This driver supports the bcm2835 watchdog found on Raspberry Pi boards. It is derived from the Linux driver and was tested on two Raspberry Pi board versions (B+ and 3B+). Signed-off-by: Etienne Dublé --- drivers/watchdog/Kconfig | 9 +++ drivers/watchdog/Makefile | 1 + drivers

Re: [PATCH 40/88] ppc: Rename MPC83xx

2023-01-24 Thread Heiko Schocher
Hello Simon, On 23.01.23 22:59, Simon Glass wrote: > CONFIG options must not use lower-case letter. Convert this to upper case. > > Signed-off-by: Simon Glass > --- > > api/api_platform-powerpc.c | 2 +- > arch/Kconfig | 2 +- > arch/powerpc/Kconfig

Re: [PATCH] odroid: add CROS_EC to odroid_defconfig

2023-01-24 Thread Joost van Zwieten
On Mon, Jan 23, 2023 at 11:42, Simon Glass wrote: Hi, On Mon, 23 Jan 2023 at 02:39, Joost van Zwieten wrote: On Mon, Jan 23, 2023 at 08:33, Peter Robinson wrote: > On Fri, Jan 20, 2023 at 11:17 PM Joost van Zwieten > wrote: >> >> As of commit e44d7e73fe ("dm: core: Switch ucla

Re: [PATCH v3 2/6] tpm: Support boot measurements

2023-01-24 Thread Ilias Apalodimas
Hi Eddie, On Mon, Jan 23, 2023 at 02:15:18PM -0600, Eddie James wrote: > > On 1/16/23 06:00, Ilias Apalodimas wrote: > > Hi Eddie > > > > > > > +static inline u16 tpm2_algorithm_to_len(enum tpm2_algorithms a) > > > +{ > > > + switch (a) { > > > + case TPM2_ALG_SHA1: > > > + return TPM2_SHA

Re: [PATCH] net: zynq_gem: Add a 10ms delay in zynq_gem_init()

2023-01-24 Thread Michal Simek
Hi Stefan, On 1/11/23 12:38, Stefan Roese wrote: Hi Harini, On 1/11/23 12:20, Katakam, Harini wrote: + Hi Stefan, -Original Message- From: U-Boot On Behalf Of Stefan Roese Sent: Wednesday, January 11, 2023 1:01 PM To: u-boot@lists.denx.de Cc: Michal Simek ; Ramon Fried ; Sean Anders

Re: [PATCH] usb: host: ehci-generic: Handle DM_RESET=n case

2023-01-24 Thread Patrice CHOTARD
Hi Xavier On 1/24/23 09:32, Xavier Drudis Ferran wrote: > El Tue, Jan 24, 2023 at 09:07:58AM +0100, Patrice CHOTARD deia: >> Hi Marek >> >> On 1/23/23 23:32, Marek Vasut wrote: >>> In case CONFIG_DM_RESET=n, reset_get_bulk() returns -ENOTSUPP. >>> Do not fail in that case either. This is a valid u

Re: [0/4] Add eMMC 5.1 support for Versal NET

2023-01-24 Thread Michal Simek
Hi Jaehoon, On 1/10/23 12:31, Ashok Reddy Soma wrote: This patch series, - Add support for eMMC5.1 on Versal NET platform by adding new compatible string and PHY support. - Add support for input and output tap delays for eMMC - Add support for enabling HS400 in host capabilities by che

Re: [PATCH] arm64: zynqmp: Add support for Kria K24 SOM

2023-01-24 Thread Michal Simek
On 1/18/23 13:11, Michal Simek wrote: SOM itself from PS point of view is using the same configuration as K26 that's why reuse that files and only change compatible strings. The reason for creating own set of files is just in case when versions start to diverge because of HW change, supply ch

Re: [PATCH] arm64: zynqmp: Fill model name for SOM CCs

2023-01-24 Thread Michal Simek
On 1/18/23 13:04, Michal Simek wrote: When U-Boot do DTB reselection origin model for SOM is used and from log it is not visible if DTB was switched or not. That's why add model directly to CC (carrier card) to show new model if reselection was successful. Signed-off-by: Michal Simek ---

Re: [PATCH] arm64: versal: Remove xilinx_versal_mini_qspi.h configs

2023-01-24 Thread Michal Simek
On 1/18/23 12:26, Michal Simek wrote: The commit eaf6ea6a1dc1 ("Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h") moved custom init stack pointer address to Kconfig which ends up in situation that xilinx_versal_mini_qspi.h is not needed anymore. That's why remove the file a

Re: [PATCH] arm64: zynqmp: Remove xilinx_zynqmp_mini_emmc/qspi.h configs

2023-01-24 Thread Michal Simek
On 1/18/23 12:12, Michal Simek wrote: The commit eaf6ea6a1dc1 ("Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h") moved custom init stack pointer address to Kconfig which ends up in situation that xilinx_zynqmp_mini_emmc/qspi.h are not needed anymore. That's why remove file

Re: [PATCH] soc: zynqmp: Fix IDcode for xck24

2023-01-24 Thread Michal Simek
On 1/18/23 09:25, Michal Simek wrote: ID code was added by commit ddf8deabc39d ("arm64: zynqmp: Add support for SVD devices") based on documentation but after receiving part new ID code came up. That's why fix IDcode to match xck24 module. Signed-off-by: Michal Simek --- drivers/soc/soc_x

Re: [PATCH 01/14] trace: Use notrace for short

2023-01-24 Thread Stefan Herbrechtsmeier
Hi Simon, Am 24.01.2023 um 11:55 schrieb Simon Glass: Hi Stefan, On Tue, 24 Jan 2023 at 01:12, Stefan Herbrechtsmeier wrote: Hi Simon, Am 22.12.2022 um 00:08 schrieb Simon Glass: The attribute syntax is quite verbose. Use the macro provided for this purpose. Signed-off-by: Simon Glass ---

Re: [PATCH 47/88] mtd: Drop unused fsmc_nand driver

2023-01-24 Thread Michael Nazzareno Trimarchi
Hi On Mon, Jan 23, 2023 at 11:03 PM Simon Glass wrote: > > This is not used since this commit: > >570c3dcfc15 arm: Remove spear600 boards and the rest of SPEAr support > > Drop the driver and Kconfig option. > > Signed-off-by: Simon Glass > --- > > drivers/mtd/nand/raw/Makefile| 1 - >

Re: [PATCH 46/88] mtd: Drop unused fsl_upm driver

2023-01-24 Thread Michael Nazzareno Trimarchi
Hi On Mon, Jan 23, 2023 at 11:03 PM Simon Glass wrote: > > This is not used since this commit: > >8d1e3cb1400 powerpc: mpc83xx: remove MPC8360ERDK, EMPC8360EMDS support > No problem to drop here. > Drop the driver and Kconfig option. > > Signed-off-by: Simon Glass > --- > > drivers/mtd/na

Re: [PATCH 04/88] nand: Drop CONFIG_NAND_SPEAR

2023-01-24 Thread Michael Nazzareno Trimarchi
Hi On Mon, Jan 23, 2023 at 11:02 PM Simon Glass wrote: > > This is not used anymore. Drop it. > > Signed-off-by: Simon Glass > --- > > drivers/mtd/nand/raw/Makefile | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mtd/nand/raw/Makefile b/drivers/mtd/nand/raw/Makefile > index 7320

Re: [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga()

2023-01-24 Thread Oleksandr Suvorov
On Tue, Jan 24, 2023 at 12:56 PM Simon Glass wrote: > > This was added by mistake and renders the function useless. Fix it. > > Signed-off-by: Simon Glass > Fixes: 33c60a38bb9 ("trace: Use notrace for short") > Reported-by: Stefan Herbrechtsmeier > Reviewed-by: Oleksandr Suvorov > --- > > c

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2023-01-24 Thread Sudeep Holla
Hi Simon, On Mon, Jan 23, 2023 at 09:32:19AM -0700, Simon Glass wrote: > Hi Sudeep, > > I'd like to see DT defined across firmware and OS, not just be a Linux > thing. Fair enough. > It is a better approach than having little fiefdoms everywhere > with their own config mechanisms. > Agreed. >

Re: [PATCH v3 12/70] dm: part: Update test to use mmc2

2023-01-24 Thread Simon Glass
Hi Tom, On Mon, 23 Jan 2023 at 18:39, Tom Rini wrote: > > On Tue, Jan 17, 2023 at 10:47:22AM -0700, Simon Glass wrote: > > > At present this test sets up a partition table on mmc1. But this is used > > by the bootstd tests, so it is not possible to run those after this test > > has run, without r

[PATCH] spl: Drop unwanted return in spl_fit_upload_fpga()

2023-01-24 Thread Simon Glass
This was added by mistake and renders the function useless. Fix it. Signed-off-by: Simon Glass Fixes: 33c60a38bb9 ("trace: Use notrace for short") Reported-by: Stefan Herbrechtsmeier --- common/spl/spl_fit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/spl/spl_fit.c b/common/spl/s

Re: [PATCH 01/14] trace: Use notrace for short

2023-01-24 Thread Simon Glass
Hi Stefan, On Tue, 24 Jan 2023 at 01:12, Stefan Herbrechtsmeier wrote: > > Hi Simon, > > Am 22.12.2022 um 00:08 schrieb Simon Glass: > > The attribute syntax is quite verbose. Use the macro provided for this > > purpose. > > > > Signed-off-by: Simon Glass > > --- > > > > arch/arm/cpu/armv7/s5p

[PATCH v4] mtd: parsers: ofpart: add workaround for #size-cells 0

2023-01-24 Thread Francesco Dolcini
From: Francesco Dolcini Add a mechanism to handle the case in which partitions are present as direct child of the nand controller node and #size-cells is set to <0>. This could happen if the nand-controller node in the DTS is supposed to have #size-cells set to 0, but for some historical reason/

  1   2   >