[PATCH] xilinx: versal-net: Add support for timer and start it

2023-01-09 Thread Michal Simek
From: Ashok Reddy Soma Add support for starting timer by setting up time stamp generator registers. This is done only for EL3 i.e. mini U-Boot case. For other cases, it will be done TF-A. Add COUNTER_FREQUENCY and IOU_SWITCH_DIVISOR0 to Kconfig so that they can be tuned as required.

[PATCH] arm64: zynqmp: remove Avnet UltraZed-EV Starter Kit

2023-01-09 Thread Luca Ceresoli
Nobody seems interested and able to keep this board supported, and xilinx_zynqmp_virt_defconfig is supposed to be enough for any zynqmp board. See the discussion at:

[PATCH] clk: versal: Return error in case if clock setup failed

2023-01-09 Thread Michal Simek
From: Jay Buddhabhatti Currently probe is getting success even if clock setup is failed because of that u-boot is trying to access invalid clocks. So return error if clock setup failed. Signed-off-by: Jay Buddhabhatti Signed-off-by: Michal Simek --- drivers/clk/clk_versal.c | 4 +++- 1 file

Re: [PATCH] serial: mxc: Speed-up character transmission

2023-01-09 Thread Lothar Waßmann
Hi, On Mon, 9 Jan 2023 15:59:25 +0100 Loic Poulain wrote: > Instead of waiting for empty FIFO condition before writing a > character, wait for non-full FIFO condition. > > This helps in saving several tens of milliseconds during boot > (depending verbosity). > > Signed-off-by: Loic Poulain >

Re: [U-Boot][bug report] clearfog: EMMC boot broken on clearfog pro

2023-01-09 Thread Martin Rowe
On Mon, 9 Jan 2023 at 21:34, Petr Štetiar wrote: > > Martin Rowe [2023-01-03 03:20:49]: > > [Adding Florian, Tomasz and Oli to the Cc: loop] > > Hi, > > > I'm following up on this bug report from September ( > > https://lists.denx.de/pipermail/u-boot/2022-September/494811.html ) > > I also hit

Re: [PATCH v2] ARM: omap3: evm: Name this directory omap3evm

2023-01-09 Thread Derald Woods
On Fri, Jan 06, 2023 at 01:05:14PM -0600, Andrew Davis wrote: > Before this was named just evm, which doesn't match the naming > of the other TI board file directory and makes it look like a > common directory for evms. Name this omap3evm. > > Signed-off-by: Andrew Davis > --- > > Changes from

Re: [PATCH v2] ARM: configs: npcm7xx: add full function for nuvoton npcm750

2023-01-09 Thread Jim Liu
Hi Tom thanks for your reply for v1 patch. i use the top of master to build and test it. It can build pass and boot. the log is as below: -- U-Boot 2023.01-00441-g7b84c973b9-dirty (Jan 10 2023 - 10:51:50 +0800) CPU:

[PATCH v2] ARM: configs: npcm7xx: add full function for nuvoton npcm750

2023-01-09 Thread Jim Liu
Add add full function config for nuvoton npcm750 Signed-off-by: Jim Liu --- Changes for v2: - use top of the master to re-post the patch --- configs/poleg_evb_defconfig | 57 + 1 file changed, 57 insertions(+) diff --git a/configs/poleg_evb_defconfig

RE: [PATCH 1/1] i2c:aspeed:support ast2600 i2c new register mode driver

2023-01-09 Thread Ryan Chen
Hello Simon, Thank your feedback. > -Original Message- > From: Simon Glass > Sent: Tuesday, January 10, 2023 3:47 AM > To: Ryan Chen > Cc: Heiko Schocher ; BMC-SW ; > u-boot@lists.denx.de > Subject: Re: [PATCH 1/1] i2c:aspeed:support ast2600 i2c new register mode > driver > >

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Tony Dinh
On Mon, Jan 9, 2023 at 5:38 PM Pali Rohár wrote: > > On Monday 09 January 2023 17:35:24 Tony Dinh wrote: > > Hi Pali, > > > > On Mon, Jan 9, 2023 at 5:02 PM Pali Rohár wrote: > > > > > > On Monday 09 January 2023 16:55:56 Tony Dinh wrote: > > > > Hi Pali, > > > > > > > > On Wed, Jan 4, 2023 at

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Pali Rohár
On Monday 09 January 2023 17:35:24 Tony Dinh wrote: > Hi Pali, > > On Mon, Jan 9, 2023 at 5:02 PM Pali Rohár wrote: > > > > On Monday 09 January 2023 16:55:56 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Wed, Jan 4, 2023 at 1:04 PM Tony Dinh wrote: > > > > > > > > Hello, > > > > > > > > On

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Tony Dinh
Hi Pali, On Mon, Jan 9, 2023 at 5:02 PM Pali Rohár wrote: > > On Monday 09 January 2023 16:55:56 Tony Dinh wrote: > > Hi Pali, > > > > On Wed, Jan 4, 2023 at 1:04 PM Tony Dinh wrote: > > > > > > Hello, > > > > > > On Wed, Jan 4, 2023 at 9:44 AM Pali Rohár wrote: > > > > > > > > On Wednesday 04

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Pali Rohár
On Monday 09 January 2023 16:55:56 Tony Dinh wrote: > Hi Pali, > > On Wed, Jan 4, 2023 at 1:04 PM Tony Dinh wrote: > > > > Hello, > > > > On Wed, Jan 4, 2023 at 9:44 AM Pali Rohár wrote: > > > > > > On Wednesday 04 January 2023 23:41:05 Chris Packham wrote: > > > > On Wed, 4 Jan 2023, 8:52 PM

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Tony Dinh
Hi Pali, On Wed, Jan 4, 2023 at 1:04 PM Tony Dinh wrote: > > Hello, > > On Wed, Jan 4, 2023 at 9:44 AM Pali Rohár wrote: > > > > On Wednesday 04 January 2023 23:41:05 Chris Packham wrote: > > > On Wed, 4 Jan 2023, 8:52 PM Pali Rohár, wrote: > > > > > > > On Wednesday 04 January 2023 08:50:28

[PATCH V3 4/4] xilinx: versal: enable gigadevice

2023-01-09 Thread Victor Lim
enabling gigadevice in the related files Signed-off-by: Victor Lim --- configs/xilinx_versal_mini_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_mini_qspi_defconfig b/configs/xilinx_versal_mini_qspi_defconfig index 9ca9b7e68a..11aff80f14 100644 ---

[PATCH V3 3/4] arm64: zynqmp: enable gigadevice

2023-01-09 Thread Victor Lim
enabling gigadevice in the related files Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/xilinx_zynqmp_virt_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig

[PATCH V3 2/4] configs: zynq: enable gigadevice

2023-01-09 Thread Victor Lim
enabling gigadevice in the related files Signed-off-by: Victor Lim --- configs/xilinx_zynq_virt_defconfig | 1 + configs/zynq_cse_qspi_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig index

[PATCH V3 1/4] mtd: spi-nor-ids: add gigadevice part #

2023-01-09 Thread Victor Lim
adding gigadevice part numbers Signed-off-by: Victor Lim --- drivers/mtd/spi/spi-nor-ids.c | 68 +++ 1 file changed, 68 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 5f8f3ec955..f97e10da87 100644 ---

[PATCH V3 0/4] Enable gigadevice and add new part #s

2023-01-09 Thread Victor Lim
Changes in V2: Adding the following parts to the list gd25b256: 3V QSPI, QE=1, 256Mbit gd25b512: 3V QSPI, QE=1, 512Mbit gd55b01g: 3V QSPI, QE=1, 1Gbit gd55b02g: 3V QSPI, QE=1, 2Gbit gd25f64: 3V QSPI, QE=1, 64Mbit, high performance gd25f128: 3V QSPI, QE=1, 128Mbit, high performance gd25f256: 3V

Re: [PATCH v2 0/5] tpm: Support boot measurements

2023-01-09 Thread Heinrich Schuchardt
On 1/9/23 22:55, Eddie James wrote: This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes optional measurement from the bootm command. A new test case has been added for

Re: [PATCH v2 5/5] test: Add sandbox TPM boot measurement

2023-01-09 Thread Heinrich Schuchardt
On 1/10/23 00:13, Heinrich Schuchardt wrote: On 1/9/23 22:55, Eddie James wrote: Use the sandbox TPM driver to measure some boot images in a unit test case. $ ./u-boot -T -c "ut measurement" Running 1 measurement tests Test: measure: measurement.c Failures: 0 Signed-off-by: Eddie James ---  

Re: [PATCH v2 5/5] test: Add sandbox TPM boot measurement

2023-01-09 Thread Heinrich Schuchardt
On 1/9/23 22:55, Eddie James wrote: Use the sandbox TPM driver to measure some boot images in a unit test case. $ ./u-boot -T -c "ut measurement" Running 1 measurement tests Test: measure: measurement.c Failures: 0 Signed-off-by: Eddie James --- arch/sandbox/dts/test.dts | 12 +++

Re: [PATCH 2/5] arm64: dts: rockchip: Sync rk356x from Linux main

2023-01-09 Thread Johan Jonker
On 1/5/23 16:34, Chris Morgan wrote: > From: Chris Morgan > > Sync rk3566 and rk3568 from the mainline Linux kernel (6.2-rc2 as of > this writing). > > Note that this will rename the rk3568-evb to rk3568-evb1-v10. > > Signed-off-by: Chris Morgan > --- > arch/arm/dts/Makefile|

[PATCH v2 0/5] tpm: Support boot measurements

2023-01-09 Thread Eddie James
This series adds support for measuring the boot images more generically than the existing EFI support. Several EFI functions have been moved to the TPM layer. The series includes optional measurement from the bootm command. A new test case has been added for the bootm measurement to test the new

[PATCH v2 2/5] tpm: Support boot measurements

2023-01-09 Thread Eddie James
Add TPM2 functions to support boot measurement. This includes starting up the TPM, initializing/appending the event log, and measuring the U-Boot version. Much of the code was used in the EFI subsystem, so remove it there and use the common functions. Signed-off-by: Eddie James ---

[PATCH v2 5/5] test: Add sandbox TPM boot measurement

2023-01-09 Thread Eddie James
Use the sandbox TPM driver to measure some boot images in a unit test case. $ ./u-boot -T -c "ut measurement" Running 1 measurement tests Test: measure: measurement.c Failures: 0 Signed-off-by: Eddie James --- arch/sandbox/dts/test.dts | 12 +++ configs/sandbox_defconfig | 1 +

[PATCH v2 4/5] tpm: sandbox: Update for needed TPM2 capabilities

2023-01-09 Thread Eddie James
The driver needs to support getting the PCRs in the capabilities command. Fix various other things and support the max number of PCRs for TPM2. Signed-off-by: Eddie James --- drivers/tpm/tpm2_tis_sandbox.c | 100 - 1 file changed, 72 insertions(+), 28

[PATCH v2 3/5] bootm: Support boot measurement

2023-01-09 Thread Eddie James
Add a configuration option to measure the boot through the bootm function. Signed-off-by: Eddie James --- boot/Kconfig| 23 ++ boot/bootm.c| 64 + cmd/bootm.c | 2 ++ include/bootm.h | 2 ++ include/image.h | 1 + 5

[PATCH v2 1/5] tpm: Fix spelling for tpmu_ha union

2023-01-09 Thread Eddie James
tmpu -> tpmu Signed-off-by: Eddie James Reviewed-by: Ilias Apalodimas --- include/tpm-v2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tpm-v2.h b/include/tpm-v2.h index 737e57551d..85feda3e06 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -167,7

Re: [U-Boot][bug report] clearfog: EMMC boot broken on clearfog pro

2023-01-09 Thread Petr Štetiar
Martin Rowe [2023-01-03 03:20:49]: [Adding Florian, Tomasz and Oli to the Cc: loop] Hi, > I'm following up on this bug report from September ( > https://lists.denx.de/pipermail/u-boot/2022-September/494811.html ) > I also hit this issue on my Clearfog Pro when booting with eMMC. FYI we've

Re: [PATCH v2 3/3] lmb: consider EFI memory map

2023-01-09 Thread Heinrich Schuchardt
On 1/9/23 21:31, Simon Glass wrote: Hi Mark, On Mon, 9 Jan 2023 at 13:20, Mark Kettenis wrote: From: Simon Glass Date: Mon, 9 Jan 2023 13:11:01 -0700 Hi Heinrich, We need to fix how EFI does addresses. It seems to use them as pointers but store them as u64 ? That is similar to what

Re: [PATCH] imx8mm-phg: Add board support

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 04:35:07PM -0300, Fabio Estevam wrote: > Hi Tom, > > On 09/01/2023 16:00, Tom Rini wrote: > > > This is going to need to be rebased on top of current master due to > > CONFIG -> CFG or Kconfig migration. On top of that: > > Ok, I will rebase on top of the current

Re: [PATCH v2 3/3] lmb: consider EFI memory map

2023-01-09 Thread Simon Glass
Hi Mark, On Mon, 9 Jan 2023 at 13:20, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Mon, 9 Jan 2023 13:11:01 -0700 > > > > Hi Heinrich, > > > > On Thu, 5 Jan 2023 at 13:25, Heinrich Schuchardt > > wrote: > > > > > > Add reservations for all EFI memory areas that are not > > >

Re: [PATCH v2 3/3] lmb: consider EFI memory map

2023-01-09 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 9 Jan 2023 13:11:01 -0700 > > Hi Heinrich, > > On Thu, 5 Jan 2023 at 13:25, Heinrich Schuchardt > wrote: > > > > Add reservations for all EFI memory areas that are not > > EFI_CONVENTIONAL_MEMORY. > > > > Signed-off-by: Heinrich Schuchardt > > --- > > v2: > >

Re: Re: Is it possiable to run dm test in local u-boot console?

2023-01-09 Thread Simon Glass
Hi Treeman, On Sun, 8 Jan 2023 at 20:06, sc...@jlogic-ic.com wrote: > > Hi Simon, > Thanks for your kindly reply. > I can understand the design perpose now. > I just think the test module is a clean environment to do unit test. > Since we're handling a SoC project, >

Re: [PATCH v2 3/3] lmb: consider EFI memory map

2023-01-09 Thread Simon Glass
Hi Heinrich, On Thu, 5 Jan 2023 at 13:25, Heinrich Schuchardt wrote: > > Add reservations for all EFI memory areas that are not > EFI_CONVENTIONAL_MEMORY. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > use efi_get_memory_map_alloc() > --- > lib/lmb.c | 36

Re: dt-schema u-boot,config node

2023-01-09 Thread Simon Glass
Hi Michal, On Mon, 9 Jan 2023 at 01:02, Michal Simek wrote: > > Hi Simon, > > We just got a request to setup bootscript address via DT that's why I am > trying > to refresh my mind how to do it. > I know that u-boot,config have been merged to via this pull request >

Re: [PATCH 1/1] i2c:aspeed:support ast2600 i2c new register mode driver

2023-01-09 Thread Simon Glass
Hi Ryan_chen, On Mon, 9 Jan 2023 at 01:30, ryan_chen wrote: > > Add i2c new register mode driver to support AST2600 i2c > new register mode. AST2600 i2c controller have legacy and > new register mode. The new register mode have global register > support 4 base clock for scl clock selection,

Re: pwm-backlight driver not being probed in u-boot

2023-01-09 Thread Simon Glass
+Anatolij Gustschin Hi Cheo, On Mon, 9 Jan 2023 at 07:47, Cheo Fusi wrote: > > Hi everyone, > > I've been trying to turn on my lcd backlight at the u-boot stage to no > avail. The device tree has a top level node whose compatible is What board is this? > 'pwm-backlight'. That driver never

Re: [PATCH] imx8mm-phg: Add board support

2023-01-09 Thread Fabio Estevam
Hi Tom, On 09/01/2023 16:00, Tom Rini wrote: This is going to need to be rebased on top of current master due to CONFIG -> CFG or Kconfig migration. On top of that: Ok, I will rebase on top of the current master. +#define CONFIG_SYS_SDRAM_BASE 0x4000 +#define PHYS_SDRAM

Re: [PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 03:40:06PM +0100, Michael Nazzareno Trimarchi wrote: > Hi Tom > > Did you have time to pick the regression on this board? We have two patches Sorry I missed this. > > Michael > > On Thu, Jan 5, 2023 at 9:20 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi > > > >

Re: [ANN] U-Boot v2023.01 released

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 11:08:19AM -0500, Tom Rini wrote: > Hey all, > > It's release day and so here's v2023.01. I want to note now that once I > merge in the next branch, there'll have been some pretty big changes > merged in, mainly that CONFIG -> Kconfig migration will finally be > largely

Re: [PATCH] imx8mm-phg: Add board support

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 02:59:55PM -0300, Fabio Estevam wrote: > Add the board support for the i.MX8MM Cloos PHG board. > > This board uses a imx8mm-tqma8mqml SoM from TQ-Group. > > imx8mm-phg.dts and imx8mm-tqma8mqml.dtsi are taken > directly from Linux 6.2-rc3. This is going to need to

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Tom Rini
On Sun, Jan 08, 2023 at 12:36:15PM -0700, Simon Glass wrote: > Hi Tom, > > On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: > > > > On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 8 Jan 2023 at 09:06, Tom Rini wrote: > > > > > > > > On Sun, Jan 08,

[PATCH v3 2/2] test: compression: add zstd uncompression test

2023-01-09 Thread Brandon Maier
Signed-off-by: Brandon Maier --- v2: - added zstd uncompression test v3: - use sizeof() instead of magic number for length --- test/Kconfig | 2 +- test/compression.c | 71 ++ 2 files changed, 72 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] ns16650: Correct CONFIG_SYS_NS16550_MEM32 platforms

2023-01-09 Thread Tom Rini
On Thu, Jan 05, 2023 at 10:47:44PM -0500, Tom Rini wrote: > There are currently no platform that are both CONFIG_SYS_NS16550_MEM32 > and not (per how the logic was prior to being broken in 0478dac62a9a > ("kbuild: Remove uncmd_spl logic")) enabled in CONFIG_DM_SERIAL. We drop > this line out now

[PATCH] test: compression: use sizeof() instead of magic numbers

2023-01-09 Thread Brandon Maier
Signed-off-by: Brandon Maier --- test/compression.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/compression.c b/test/compression.c index 82e29c9b86b..31d27a93a67 100644 --- a/test/compression.c +++ b/test/compression.c @@ -53,7 +53,7 @@ static const char

[PATCH] imx8mm-phg: Add board support

2023-01-09 Thread Fabio Estevam
Add the board support for the i.MX8MM Cloos PHG board. This board uses a imx8mm-tqma8mqml SoM from TQ-Group. imx8mm-phg.dts and imx8mm-tqma8mqml.dtsi are taken directly from Linux 6.2-rc3. Signed-off-by: Fabio Estevam --- arch/arm/dts/Makefile |1 +

RE: Applying DTB Overlays from ATF on RZ/G2

2023-01-09 Thread Biju Das
Hi Adam, > Subject: Re: Applying DTB Overlays from ATF on RZ/G2 > > On Mon, Jan 9, 2023 at 2:46 AM Biju Das wrote: > > > > Hi Adam, > > > > > Subject: Re: Applying DTB Overlays from ATF on RZ/G2 > > > > > > On Sat, Jan 7, 2023 at 6:01 AM Adam Ford wrote: > > > > > > > > On Wed, Jan 4, 2023 at

Re: [PATCH v3 2/2] gpio: Get rid of gpio_hog_probe_all()

2023-01-09 Thread Tom Rini
On Tue, Jan 03, 2023 at 04:28:13PM +0100, Marek Vasut wrote: > On 1/3/23 14:50, Quentin Schulz wrote: > > Hi Patrice, > > > > On 1/3/23 14:35, Patrice CHOTARD wrote: > > > > > > Hi Tom > > > > > > This patch is landing in the mailing list since a while. > > > Do you expect to merge it in master

Re: [PATCH V4 12/12] include: configs: Update env for selecting right dtb

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:13:50PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Now that single defconfig shall be used for booting J721S2 EVM and > AM68 SK, the default device tree will not work for selecting dtb for > kernel. Update the findfdt env to select right dtb based on >

Re: [PATCH V4 08/12] board: ti: j721s2: Add board_init and support for selecting DT based on EEPROM

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:13:46PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Add the board_init_f API for SPL and run the platform-required SoC > initialization. > > Add the functionality for board name-based DTB selection from FIT > within SPL. This will make it easier to utilise one

Re: [PATCH V4 07/12] arch: mach-k3: Update board specific API name to K3 generic API name

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:13:45PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Although the board_init_f API initialises the SoC, the API name is > incorrectly specified and misleads the functionality. This file should > only include k3-specific functionality. Change the API's name to

Re: [PATCH V4 06/12] board: ti: j721s2: Add support for detecting multiple device trees

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:13:44PM +0530, Sinthu Raja wrote: [snip] > +#ifdef CONFIG_SPL_LOAD_FIT > +int board_fit_config_name_match(const char *name) > +{ > + bool eeprom_read = board_ti_was_eeprom_read(); > + > + if (!eeprom_read || board_is_j721s2_som()) { > + if

Re: [PATCH V4 05/12] board: ti: j721s2: Enable support for reading EEPROM at next alternate address

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:13:43PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > J721S2 EVM has EEPROM populated at 0x50. AM68 SK has EEPROM populated at > next address 0x51 in order to be compatible with RPi. So start looking > for TI specific EEPROM at 0x50, if not found look for EEPROM

Re: [PATCH V4 04/12] board: ti: j721s2: Add support to update board_name for am68-sk

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 03:13:42PM +0530, Sinthu Raja wrote: > From: Sinthu Raja > > Update setup_board_eeprom_env() to choose the right board name > for am68-sk. > > Signed-off-by: Sinthu Raja Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [u-boot PATCH] arm: dts: k3-am64-main: Add GPMC and ELM nodes

2023-01-09 Thread Tom Rini
On Wed, Jan 04, 2023 at 11:53:06AM +0200, Roger Quadros wrote: > The GPMC is a unified memory controller dedicated for interfacing > with external memory devices like > - Asynchronous SRAM-like memories and ASICs > - Asynchronous, synchronous, and page mode burst NOR flash > - NAND flash > -

Re: Applying DTB Overlays from ATF on RZ/G2

2023-01-09 Thread Adam Ford
On Mon, Jan 9, 2023 at 2:46 AM Biju Das wrote: > > Hi Adam, > > > Subject: Re: Applying DTB Overlays from ATF on RZ/G2 > > > > On Sat, Jan 7, 2023 at 6:01 AM Adam Ford wrote: > > > > > > On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > > > > > > > > On 1/5/23 00:48, Heinrich Schuchardt

Re: [u-boot][master][PATCH 1/3] pico-imx7d: add support for 2GB memory SoMs

2023-01-09 Thread Tom Rini
On Sat, Jan 07, 2023 at 04:53:16PM +, Szőke Kálmán Benjamin wrote: [snip] > @Tom Rini Is there any plan to improve the patches, pull-requests, > technical review/threads processes to use a better web-technnolgies > instead of to use infinity long-long ping-pong mailing in a legacy > mailing

[ANN] U-Boot v2023.01 released

2023-01-09 Thread Tom Rini
Hey all, It's release day and so here's v2023.01. I want to note now that once I merge in the next branch, there'll have been some pretty big changes merged in, mainly that CONFIG -> Kconfig migration will finally be largely done (there's some corner case symbols I'm tracking down next, but they

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Simon Glass
Hi Michal, On Mon, 9 Jan 2023 at 04:07, Michal Simek wrote: > > Hi, > > On 1/8/23 20:36, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: > >> > >> On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Sun, 8 Jan 2023 at

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 03:37:20PM +0100, Michal Simek wrote: > > > On 1/9/23 15:12, Tom Rini wrote: > > On Mon, Jan 09, 2023 at 12:07:05PM +0100, Michal Simek wrote: > > > Hi, > > > > > > On 1/8/23 20:36, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sun, 8 Jan 2023 at 09:24, Tom Rini

[PATCH] serial: mxc: Speed-up character transmission

2023-01-09 Thread Loic Poulain
Instead of waiting for empty FIFO condition before writing a character, wait for non-full FIFO condition. This helps in saving several tens of milliseconds during boot (depending verbosity). Signed-off-by: Loic Poulain --- drivers/serial/serial_mxc.c | 8 1 file changed, 4

pwm-backlight driver not being probed in u-boot

2023-01-09 Thread Cheo Fusi
Hi everyone, I've been trying to turn on my lcd backlight at the u-boot stage to no avail. The device tree has a top level node whose compatible is 'pwm-backlight'. That driver never seems to get probed. The same problem is described here

Re: [PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-09 Thread Michael Nazzareno Trimarchi
Hi Tom Did you have time to pick the regression on this board? We have two patches Michael On Thu, Jan 5, 2023 at 9:20 AM Michael Nazzareno Trimarchi wrote: > > Hi > > On Wed, Jan 4, 2023 at 5:18 PM Dario Binacchi > wrote: > > > > The Linux kernel device tree already specifies the device to

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Michal Simek
On 1/9/23 15:12, Tom Rini wrote: On Mon, Jan 09, 2023 at 12:07:05PM +0100, Michal Simek wrote: Hi, On 1/8/23 20:36, Simon Glass wrote: Hi Tom, On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: Hi Tom, On Sun, 8 Jan 2023 at

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Michal Simek
On 1/9/23 15:13, Tom Rini wrote: On Mon, Jan 09, 2023 at 09:56:30AM +0100, Luca Ceresoli wrote: Hello Tom, Simon, Michal, On Sun, 8 Jan 2023 12:36:15 -0700 Simon Glass wrote: Hi Tom, On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass

Re: [PATCH v1 1/2] ARM: configs: npcm7xx: add full function for nuvoton npcm750

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 11:00:41AM +0800, Jim Liu wrote: > Hi Tom > > I push some patches to fix some errors about this config patch and > wait for all reviewers to merge. > Could you check this patch again or should I use new master uboot > update patch and resend it ? Please re-post, built and

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 09:56:30AM +0100, Luca Ceresoli wrote: > Hello Tom, Simon, Michal, > > On Sun, 8 Jan 2023 12:36:15 -0700 > Simon Glass wrote: > > > Hi Tom, > > > > On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: > > > > > > On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: >

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Tom Rini
On Mon, Jan 09, 2023 at 12:07:05PM +0100, Michal Simek wrote: > Hi, > > On 1/8/23 20:36, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: > > > > > > On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sun, 8 Jan

Re: [PATCH v2] doc: fix references to distro documentation

2023-01-09 Thread Soeren Moch
On 09.01.23 12:52, Dario Binacchi wrote: Commit 37c5195dfcd157 ("doc: Move distro boot doc to rST") renamed doc/README.distro to doc/develop/distro.rst. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard Reviewed-by: Soeren Moch --- Changes in v2: - Change 'distro.rst' to

Re: [PATCH] arm64: dts: imx8mm-kontron: Add RTC aliases

2023-01-09 Thread Fabio Estevam
On 09/01/2023 08:42, Frieder Schrempf wrote: From: Frieder Schrempf Add aliases for the RTCs on the board and on the SoC. This ensures that the primary RTC is always the one on the board that has a buffered supply and maximum accuracy. This is a direct port of the pending commit from

regression on Odroid U2: can't read from SD card

2023-01-09 Thread Joost van Zwieten
Dear maintainers, As of commit 4a3ea75de4c5b3053eac326bf1c753ed65df8cb9 (somewhere between v2021.07 and v2021.10) U-Boot on my Odroid U2 can't read files from an SD card (despite being loaded from the SD card itself). During initialization loading the environment from the SD card fails (NOTE:

reset-loop on Odroid U2: cros-ec communications failure

2023-01-09 Thread Joost van Zwieten
Dear maintainers, U-Boot on my Odroid U2 fails to initialize as of commit e44d7e73fe0d649693d8d0a110cd7632bc919273 (introduced after v2022.10). I get the following output: U-Boot 2022.10-00565-ge44d7e73fe-dirty (Jan 09 2023 - 01:04:19 +0100) CPU: Exynos4412 @ 1 GHz Model: Odroid

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Luca Ceresoli
Hello Tom, Simon, Michal, On Sun, 8 Jan 2023 12:36:15 -0700 Simon Glass wrote: > Hi Tom, > > On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: > > > > On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 8 Jan 2023 at 09:06, Tom Rini wrote: > > > > >

Re: [RESEND,0/2] rpi: Copy eth PHY address from fw DT to loaded DT

2023-01-09 Thread Jian-Hong Pan
> Sjoerd Simons submitted the original patch (0001) to carry over some > firmware-provided properties into the loaded device tree. This did not fix > an issue with Raspberry Pi 400 rev 1.1 boards which would not be able to > find the ethernet PHY device at the address specified by the kernel

Re: Status of dma-range issues with BCM2711

2023-01-09 Thread Jian-Hong Pan
Stefan Wahren 於 2023年1月8日 週日 下午8:01寫道: > > Hi, > > there has been some attempts to fix the booting issues of newer > Raspberry Pi 4 (BCM2711 C0) [1] [2]. Since none of them has been applied > yet, i wanted to know the status of this? > > Best regards > > [1] -

Re: Re: Is it possiable to run dm test in local u-boot console?

2023-01-09 Thread sc...@jlogic-ic.com
Hi Simon, Thanks for your kindly reply. I can understand the design perpose now. I just think the test module is a clean environment to do unit test. Since we're handling a SoC project, we'd like to do IP verification in bare metal environment, the test framework of

Re: [PATCH v2] board: rockchip: Fix binman_init failure on EVB-RK3568

2023-01-09 Thread Tom Rini
On Sun, Jan 08, 2023 at 09:47:34PM +0530, Jagan Teki wrote: > For some newer SoCs like RK3568, the Rockchip has not released > any DDR drivers yet so idbloader needs to create manually using > DDR binaries offered by rkbin. This indeed no requirement to > enable TPL in the U-Boot source code. >

Re: [PATCH v2 2/3] efi_loader: carve out efi_get_memory_map_alloc()

2023-01-09 Thread Ilias Apalodimas
Hi Heinrich [...] > >> > >> +/** > >> + * efi_get_memory_map_alloc() - allocate map describing memory usage > >> + * > >> + * The caller is responsible for calling FreePool() if the call succeeds. > >> + * > >> + * @memory_map buffer to which the memory map is written > >> + *

Re: [PATCHv3 2/5] fwu: move meta-data management in core

2023-01-09 Thread Ilias Apalodimas
Hi Jassi, On Mon, Jan 02, 2023 at 12:26:40PM -0600, Jassi Brar wrote: > Instead of each i/f having to implement their own meta-data verification > and storage, move the logic in common code. This simplifies the i/f code > much simpler and compact. > > Signed-off-by: Jassi Brar > --- >

Re: Status of dma-range issues with BCM2711

2023-01-09 Thread Antoine Mazeas
Dear all, Last time Peter tested this patch, he raised the issue of also copying the CMA range of set by the firmware, this task being still outstanding today. I’m happy to resume refining this patch accordingly, unless it could be shipped without the outstanding task. For reference

[PATCH v2] doc: fix references to distro documentation

2023-01-09 Thread Dario Binacchi
Commit 37c5195dfcd157 ("doc: Move distro boot doc to rST") renamed doc/README.distro to doc/develop/distro.rst. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- Changes in v2: - Change 'distro.rst' to 'doc/develop/distro.rst' also for doc/board/emulation/qemu-x86.rst and

[PATCH] arm64: dts: imx8mm-kontron: Add RTC aliases

2023-01-09 Thread Frieder Schrempf
From: Frieder Schrempf Add aliases for the RTCs on the board and on the SoC. This ensures that the primary RTC is always the one on the board that has a buffered supply and maximum accuracy. This is a direct port of the pending commit from linux-next. Signed-off-by: Frieder Schrempf

Re: [PATCH] doc: fix references to distro documentation

2023-01-09 Thread Soeren Moch
Hi Dario, On 08.01.23 11:07, Dario Binacchi wrote: Commit 37c5195dfcd157 ("doc: Move distro boot doc to rST") renamed doc/README.distro to doc/develop/distro.rst. Signed-off-by: Dario Binacchi --- doc/README.gpt | 2 +- doc/README.uniphier | 2 +-

Re: Status of dma-range issues with BCM2711

2023-01-09 Thread Stefan Wahren
Hi, Am 09.01.23 um 08:55 schrieb Jian-Hong Pan: Stefan Wahren 於 2023年1月8日 週日 下午8:01寫道: Hi, there has been some attempts to fix the booting issues of newer Raspberry Pi 4 (BCM2711 C0) [1] [2]. Since none of them has been applied yet, i wanted to know the status of this? Best regards [1] -

Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default

2023-01-09 Thread Michal Simek
Hi, On 1/8/23 20:36, Simon Glass wrote: Hi Tom, On Sun, 8 Jan 2023 at 09:24, Tom Rini wrote: On Sun, Jan 08, 2023 at 09:20:09AM -0700, Simon Glass wrote: Hi Tom, On Sun, 8 Jan 2023 at 09:06, Tom Rini wrote: On Sun, Jan 08, 2023 at 08:48:37AM -0700, Simon Glass wrote: Hi Tom, On Sun,

[PATCH v6 6/6] rockchip: add support for PX30 Ringneck SoM on Haikou Devkit

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz The PX30-µQ7 (Ringneck) is a system-on-module featuring the Rockchip PX30 in a micro Qseven-compatible form-factor. PX30-µQ7 features: * CPU: quad-core Cortex-A35 * DRAM: 2GB dual-channel * eMMC: onboard eMMC * SD/MMC * TI DP83825I

[PATCH v6 5/6] arm64: dts: rockchip: sync px30 DTSI with Linux kernel v6.1

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz Sync the px30 dtsi from Linux kernel v6.1. Cc: Quentin Schulz Reviewed-by: Kever Yang Signed-off-by: Quentin Schulz --- arch/arm/dts/px30.dtsi | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/px30.dtsi

[PATCH v6 4/6] rockchip: px30: insert u-boot, spl-boot-device into U-Boot device tree

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz It is possible to boot U-Boot proper from a different storage medium than the one used by the BOOTROM to load the SPL. This information is stored in the u-boot,spl-boot-device Device Tree property and is accessible from U-Boot proper so that it has knowledge at runtime where

[PATCH v6 3/6] rockchip: px30: list possible SPL boot devices

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz BOOTROM sets a bit in a CPU register so that the software can know from where the first stage bootloader was booted. One use case for this is to specify the default loading medium for U-Boot proper to match the one used by the BOOTROM to load the SPL (same-as-spl in

[PATCH v6 2/6] rockchip: px30: fix CFG_IRAM_BASE

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz The IRAM on PX30 (or Int_MEM in datasheet) starts at 0xff0e and not 0xff02 as rightfully stated in the FIXME comment. Let's fix it so that BROM_BOOTSOURCE_ID_ADDR points to the correct address for PX30. Fixes: 46281a76bee3 ("rockchip: add core px30 headers") Cc:

[PATCH v6 1/6] rockchip: px30: fix possibly unused grf and cru variables

2023-01-09 Thread Quentin Schulz
From: Quentin Schulz The grf and cru are only used when no UART base is provided by the user (defaults to UART2) or for UART1, UART3 and UART5 to be used for the debug UART. Therefore, let's surround those variable definitions with the proper checks. This wasn't an issue before support for

[PATCH v6 0/6] add support for Theobroma Systems PX30-µQ7 (Ringneck) with Haikou devkit

2023-01-09 Thread Quentin Schulz
The PX30-uQ7 (Ringneck) SoM is a µQseven-compatible (40mmx70mm, MXM-230 connector) system-on-module from Theobroma Systems[1], featuring the Rockchip PX30. It provides the following feature set: * up to 4GB DDR4 * up to 128GB on-module eMMC (with 8-bit 1.8V interface) * SD card (on a baseboard)

Re: [PATCH] ns16650: Correct CONFIG_SYS_NS16550_MEM32 platforms

2023-01-09 Thread quentin . schulz
Hi Tom, On 1/6/23 4:47 AM, Tom Rini wrote: There are currently no platform that are both CONFIG_SYS_NS16550_MEM32 and not (per how the logic was prior to being broken in 0478dac62a9a ("kbuild: Remove uncmd_spl logic")) enabled in CONFIG_DM_SERIAL. We drop this line out now so that platforms

Re: [PATCH v1 06/17] clk: starfive: Add StarFive JH7110 clock driver

2023-01-09 Thread yanhong wang
On 2023/1/5 3:13, Sean Anderson wrote: > On 12/11/22 21:50, Yanhong Wang wrote: >> Add a DM clock driver for StarFive JH7110 SoC. > > > >> Signed-off-by: Yanhong Wang >> --- >>   drivers/clk/Kconfig   |   1 + >>   drivers/clk/Makefile  |   1 + >>  

RE: Applying DTB Overlays from ATF on RZ/G2

2023-01-09 Thread Biju Das
Hi Adam, > Subject: Re: Applying DTB Overlays from ATF on RZ/G2 > > On Sat, Jan 7, 2023 at 6:01 AM Adam Ford wrote: > > > > On Wed, Jan 4, 2023 at 5:55 PM Marek Vasut wrote: > > > > > > On 1/5/23 00:48, Heinrich Schuchardt wrote: > > > > Am 5. Januar 2023 00:19:36 MEZ schrieb Adam Ford : > > >

[PATCH 1/1] i2c:aspeed:support ast2600 i2c new register mode driver

2023-01-09 Thread ryan_chen
Add i2c new register mode driver to support AST2600 i2c new register mode. AST2600 i2c controller have legacy and new register mode. The new register mode have global register support 4 base clock for scl clock selection, and new clock divider mode. Signed-off-by: ryan_chen --- MAINTAINERS

[PATCH 0/1] Add ASPEED AST2600 I2C new controller driver

2023-01-09 Thread ryan_chen
This series add AST2600 i2c new register set driver. The i2c new register set have new clock divider option for more flexiable generation. ryan_chen (1): i2c:aspeed:support ast2600 i2c new register mode driver MAINTAINERS | 6 + drivers/i2c/Kconfig | 7 +

Re: [PATCH v2 2/3] efi_loader: carve out efi_get_memory_map_alloc()

2023-01-09 Thread Heinrich Schuchardt
On 1/9/23 08:18, Ilias Apalodimas wrote: On Thu, Jan 05, 2023 at 09:25:35PM +0100, Heinrich Schuchardt wrote: Carve out code from efidebug command used to read the memory map. Signed-off-by: Heinrich Schuchardt --- v2: new patch --- cmd/efidebug.c | 18

  1   2   >