[PATCH] image: Ensure image header name is null terminated

2022-08-22 Thread Joel Stanley
When building with GCC 12: ../include/image.h:779:9: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 779 | strncpy(image_get_name(hdr), name, IH_NMLEN); | ^~~~ Ensure the copied string is null

Re: [BISECTED] BeagleBone Black doesn't boot after a58147c2dbbf

2022-08-22 Thread Matwey V. Kornilov
вт, 23 авг. 2022 г., 06:54 Nishanth Menon : > On 08:56-20220819, Robert Nelson wrote: > > On Fri, Aug 19, 2022 at 4:30 AM Nishanth Menon wrote: > > > > > > On 11:28-20220818, Matwey V. Kornilov wrote: > [..] > > > > > > Tom, Robert, folks: what do you folks think? > > > > > > I'm okay with the

[PATCH] lib/rsa: Sanity check db_len

2022-08-22 Thread Joel Stanley
When building with GCC 12: ../tools/../lib/rsa/rsa-verify.c:275:11: warning: ‘*db’ may be used uninitialized [-Wmaybe-uninitialized] 275 | db[0] &= 0xff >> leftmost_bits; | ~~^~~ If msg_len or hash_len were nonsense values, db_len would end up invalid and the rest of the

Re: [PATCH v2 2/2] cmd: mvebu/bubt: Check for A38x/A37xx OTP secure bits and secure boot

2022-08-22 Thread Stefan Roese
Hi Pali, On 09.08.22 21:42, Pali Rohár wrote: For obvious reasons BootROMS rejects unsigned images when secure boot is enabled in OTP secure bits. So check for OPT secure bits and do not allow flashing unsigned images when secure boot is enabled. Access to OTP via U-Boot fuse API is currently

Re: [PATCH 02/22] arm: kirkwood: 88f6281: Detect CONFIG_SYS_TCLK from SAR register

2022-08-22 Thread Stefan Roese
Hi Michael, On 17.08.22 21:37, Michael Walle wrote: From: Pali Rohár Bit 21 in SAR register specifies if TCLK is running at 166 MHz or 200 MHz. This information is undocumented in public Marvell Kirkwood Functional Specifications [2], but is available in Linux v3.15 kirkwood code [1]. Commit

Re: [PATCH v4 0/4] net: Enable NC-SI support

2022-08-22 Thread Joel Stanley
On Mon, 8 Aug 2022 at 12:16, Joel Stanley wrote: > > Back in 2019 Sam submitted NC-SI support. The NC-SI PHY driver was > merged (patches 1 and 2), but we never got around to merging patches 3 > and 4: > > https://lore.kernel.org/u-boot/20190618013720.2823-1-...@mendozajonas.com/ > > Sam as long

Re: [RFC PATCH 1/1] spl: introduce SPL_XIP to config

2022-08-22 Thread Sean Anderson
On 8/15/22 3:27 AM, Nikita Shubin wrote: Hello Sean! On Sat, 13 Aug 2022 00:35:59 -0400 Sean Anderson wrote: Hi Nikita, On 8/11/22 5:37 AM, Nikita Shubin wrote: From: Nikita Shubin U-Boot and SPL don't necessary share the same location, so we might end with XIP SPL and U-Boot in "normal"

Re: [RFC PATCH v1 3/9] clk: renesas: add R906G032 driver

2022-08-22 Thread Sean Anderson
On 8/14/22 10:48 PM, Ralph Siemsen wrote: On Sat, Aug 13, 2022 at 01:30:19AM -0400, Sean Anderson wrote: + +    u16 gate, reset, ready, midle, +    scon, mirack, mistat; What are the scon/mirack/mistat fields for? You define them for a lot of clocks, but I don't see them used in the

Re: [BISECTED] BeagleBone Black doesn't boot after a58147c2dbbf

2022-08-22 Thread Nishanth Menon
On 08:56-20220819, Robert Nelson wrote: > On Fri, Aug 19, 2022 at 4:30 AM Nishanth Menon wrote: > > > > On 11:28-20220818, Matwey V. Kornilov wrote: [..] > > > > Tom, Robert, folks: what do you folks think? > > > I'm okay with the delay. if we only had 'one' production run it would > be a

Re: [RFC PATCH v2 9/9] tools: spkgimage: add Renesas SPKG format

2022-08-22 Thread Sean Anderson
On 8/16/22 10:33 AM, Ralph Siemsen wrote: Hi Sean, I've implemented most of the suggestions. I will post an updated series, since it seems that sending v2 of just one patch has confused patchwork. However so as not to entirely remove confusion, the updated series will be v3, since I already

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-22 Thread Tony Dinh
Hi Pali, On Mon, Aug 22, 2022 at 4:00 PM Pali Rohár wrote: > > On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: > > On 10.08.22 14:46, Pali Rohár wrote: > > > mbus driver is initialized from arch_cpu_init() callback which is called > > > before relocation. This driver stores lot of

Re: [PATCH v2 0/5] board: sl28: various updates

2022-08-22 Thread Peng Fan
On 7/14/2022 9:05 PM, Michael Walle wrote: This is a resend of the original v1 series. It was just rebased. Apparently not all patches made it into u-boot. Unfortunately, there was no feedback at all. This is an update for the sl28 board which adds support for - 8 GiB memory variant -

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-22 Thread Pali Rohár
On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: > On 10.08.22 14:46, Pali Rohár wrote: > > mbus driver is initialized from arch_cpu_init() callback which is called > > before relocation. This driver stores lot of functions and structure > > pointers into global variables, so it is data

[ANN] U-Boot v2022.10-rc3 released

2022-08-22 Thread Tom Rini
Hey all, It's release day and so here's v2022.10-rc3. Overall I think things are going well, and I'm opening up the next branch now. In terms of a changelog, git log --merges v2022.10-rc2..v2022.10-rc3 contains what I've pulled but as always, better PR messages and tags will provide better

Re: Please pull u-boot-dm

2022-08-22 Thread Tom Rini
On Sat, Aug 20, 2022 at 07:02:43PM -0600, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/13186 > > > The following changes since commit 3212be5e24c5861c4209785fd5f654f43fe9d409: > > Merge branch '2022-08-20-assorted-updates' (2022-08-20

[PATCH v2 3/3] arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855

2022-08-22 Thread William Zhang
As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the driver Kconfig to use the new config symbol. Signed-off-by: William Zhang --- Changes in v2: - Update subject line to be more clear for patch 3 drivers/gpio/Kconfig | 2 +- drivers/led/Kconfig | 2 +-

[PATCH v2 2/3] arm: bcmbca: remove bcm6753 support under CONFIG_ARCH_BCM6753

2022-08-22 Thread William Zhang
BCM6753 is essentially same as the main chip BCM6855 but with different SKU number. Now that BCM6855 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6855, remove the original ARCH_BCM6753 support and migrate its configuration and dts settings. This includes: - Remove the bcm96753ref board

[PATCH v2 1/3] arm: bcmbca: add bcm6855 SoC support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
BCM6855 is a Broadcom ARM A7 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other broadband SoC, this patch adds it under CONFIG_BCM6855 chip config and CONFIG_ARCH_BCMBCA platform config. This initial support includes a bare-bone

[PATCH v2 0/3] arm: bcmbca: move bcm6753 support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
Sorry for another version of patch series with some minor updates. Please see the change log and specific patch for details. BCM6753 is essentially same as the main chip BCM6855 with different SKU number. It is part of the Broadcom BCA (Broadband Carrier Access origin) chipset family. BCM6753 was

[PATCH v2 3/3] arm: bcmbca: replace ARCH_BCM6858 symbols in Kconfig with BCM6858

2022-08-22 Thread William Zhang
As CONFIG_ARCH_BCM6858 is replaced with CONFIG_BCM6858, update the driver Kconfig to use the new config symbol. Signed-off-by: William Zhang --- Changes in v2: -Update subject line to be more clear for patch 3 drivers/gpio/Kconfig | 3 +-- drivers/led/Kconfig | 2 +-

[PATCH v2 2/3] arm: bcmbca: remove bcm6858 support under CONFIG_ARCH_BCM6858

2022-08-22 Thread William Zhang
Now that BCM6858 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6858, remove the original ARCH_BCM6858 support and migrate its configuration and dts settings. This includes: - Remove the bcm968580xref board folder. It is replaced by the generic bcmbca board folder. - Update bcm968580xref

[PATCH v2 1/3] arm: bcmbca: add bcm6858 SoC support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
BCM6858 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other broadband SoC, this patch adds it under CONFIG_BCM6858 chip config and CONFIG_ARCH_BCMBCA platform config. This initial support includes a bare-bone implementation

[PATCH v2 0/3] arm: bcmbca: move bcm6858 support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
Sorry for another version of patch series with some minor updates. Please see the change log and specific patch for details. BCM6858 is part of the Broadcom BCA (Broadband Carrier Access origin) chipset family. BCM6858 was originally added by Philippe before Broadcom started to upstream the

[PATCH v4 3/3] arm: bcmbca: replace ARCH_BCM68360 symbols in Kconfig with BCM6856

2022-08-22 Thread William Zhang
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the driver Kconfig to use the new config symbol. Signed-off-by: William Zhang --- Changes in v4: -Update subject line to be more clear for patch 3 drivers/gpio/Kconfig | 2 +- drivers/led/Kconfig | 2 +-

[PATCH v4 2/3] arm: bcmbca: remove bcm68360 support under CONFIG_ARCH_BCM68360

2022-08-22 Thread William Zhang
BCM68360 is a variant within the BCM6856 chip family. Now that BCM6856 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM6856, remove the original ARCH_BCM68360 support and migrate its configuration and dts settings. This includes: - Remove the bcm968360bg board folder. It is replaced by the

[PATCH v4 1/3] arm: bcmbca: add bcm6856 SoC support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
BCM6856 is a Broadcom B53 based PON Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other Broadband SoC, this patch adds it under CONFIG_BCM6856 chip config and CONFIG_ARCH_BCMBCA platform config. This initial support includes a bare-bone implementation

[PATCH v4 0/3] arm: bcmbca: move bcm68360 support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
Sorry for another version of patch series with some minor updates. Please see the change log and specific patch for details. BCM68360 is a variant for the main PON chip BCM6856 which is part of the Broadcom BCA (Broadband Carrier Access origin) chipset family. BCM68360 was originally added by

[PATCH v3 5/5] arm: bcmbca: make reset_cpu function weak

2022-08-22 Thread William Zhang
BCM63158 carries the CONFIG_SYSRESET from the original configuration. It provide reset_cpu function already so need to define weak version of the dummy reset_cpu for other BCMBCA SoCs to avoid linking error. Signed-off-by: William Zhang --- Changes in v3: -Fix reset_cpu function prototype.

[PATCH v3 4/5] MAINTAINERS: Add BCM63158 maintainer to BCMBCA entry

2022-08-22 Thread William Zhang
Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158 maintainer Philippe to bcmbca maintainer list. Signed-off-by: William Zhang --- (no changes since v1) MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v3 3/5] arm: bcmbca: replace ARCH_BCM63158 symbols in Kconfig with BCM63158

2022-08-22 Thread William Zhang
As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the Kconfig to use the new config symbol. Signed-off-by: William Zhang --- Changes in v3: -Update subject line to be more clear drivers/gpio/Kconfig | 2 +- drivers/led/Kconfig | 2 +-

[PATCH v3 2/5] arm: bcmbca: remove bcm63158 support under CONFIG_ARCH_BCM63158

2022-08-22 Thread William Zhang
Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate configuration settings. Signed-off-by: William Zhang --- (no changes since v2) Changes in v2: - Remove bcm963158_ram_defconfig per discussion with Philippe as a

[PATCH v3 1/5] arm: bcmbca: add bcm63158 SoC support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
BCM63158 is a Broadcom B53 based DSL Gateway SoC. It is part of the BCA (Broadband Carrier Access origin) chipset family. Like other Broadband SoC, this patch adds it under CONFIG_BCM63158 chip config and CONFIG_ARCH_BCMBCA platform config. This initial support includes a bare-bone implementation

[PATCH v3 0/5] arm: bcmbca: move bcm63158 support under CONFIG_ARCH_BCMBCA

2022-08-22 Thread William Zhang
Sorry for another version of patch series with some minor updates. Please see the change log and specific patch for details. BCM63158 is one of the Broadcom Broadband origin DSL Gateway router SoC. It was originally added by Philippe before Broadcom started to upstream the support for broadband

Re: [PATCH v2 6/7] tpm: Implement state command for Cr50

2022-08-22 Thread Simon Glass
Hi Ilias, On Mon, 22 Aug 2022 at 00:00, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 19 Aug 2022 at 16:47, Simon Glass wrote: > > > > Hi Ilias, > > > > On Thu, 18 Aug 2022 at 01:29, Ilias Apalodimas > > wrote: > > > > > > Hi Simon, > > > > > > On Wed, 17 Aug 2022 at 21:54, Simon Glass

Re: [PATCH v3 7/7] tpm: Allow committing non-volatile data

2022-08-22 Thread Simon Glass
Hi Ilias, On Mon, 22 Aug 2022 at 00:05, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 19 Aug 2022 at 16:47, Simon Glass wrote: > > > > Add an option to tell the TPM to commit non-volatile data immediately it > > is changed, rather than waiting until later. This is needed in some > >

Re: [PATCH v8 10/13] FWU: cmd: Add a command to read FWU metadata

2022-08-22 Thread Simon Glass
Hi Sughosh, On Sun, 21 Aug 2022 at 22:59, Sughosh Ganu wrote: > > hi Simon, > > On Fri, 19 Aug 2022 at 20:55, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Fri, 19 Aug 2022 at 01:41, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Thu, 18 Aug 2022 at 23:19, Simon Glass wrote: > >

Re: [PATCH v3 6/7] tpm: Implement state command for Cr50

2022-08-22 Thread Simon Glass
Hi Ilias, On Mon, 22 Aug 2022 at 00:04, Ilias Apalodimas wrote: > > Hi Simon, > > This produces some build warnings e.g > drivers/tpm/cr50_i2c.c: In function ‘cr50_i2c_report_state’: > drivers/tpm/cr50_i2c.c:680:48: warning: passing argument 3 of > ‘tpm2_cr50_report_state’ from incompatible

Re: [RESEND PATCH 1/2] rpi: Copy properties from firmware dtb to the loaded dtb

2022-08-22 Thread Simon Glass
Hi Antoine, On Fri, 19 Aug 2022 at 08:08, Antoine Mazeas wrote: > > The RPI firmware adjusts several property values in the dtb it passes > to u-boot depending on the board/SoC revision. Inherit some of these > when u-boot loads a dtb itself. Specificaly copy: > > * /model: The firmware provides

Re: [PATCH] fs: fix comment typo

2022-08-22 Thread Simon Glass
On Sun, 21 Aug 2022 at 16:31, Roger Knecht wrote: > > Fix typo in include/fs.h > > Signed-off-by: Roger Knecht > --- > include/fs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v6 18/21] binman: Add gzip bintool

2022-08-22 Thread Simon Glass
Hi Stefan, On Mon, 22 Aug 2022 at 01:07, Stefan Herbrechtsmeier wrote: > > Hi Simon, > > Am 21.08.2022 um 02:10 schrieb Simon Glass: > > Hi Stefan, > > > > On Sat, 20 Aug 2022 at 15:33, Simon Glass wrote: > >> > >> On Fri, 19 Aug 2022 at 08:26, Stefan Herbrechtsmeier > >> wrote: > >>> > >>>

Re: Please pull u-boot-dm

2022-08-22 Thread Simon Glass
Hi Stefan, On Mon, 22 Aug 2022 at 00:23, Stefan Herbrechtsmeier wrote: > > Hi Simon, > > Am 21.08.2022 um 03:02 schrieb Simon Glass: > > [snip] > > > create mode 100644 tools/binman/test/235_compress_dtb_prepend_invalid.dts > > create mode 100644 tools/binman/test/235_mkimage_name.dts > >

Re: [PATCH] powerpc: remove support for kmtergr1 and MPC8309

2022-08-22 Thread Tom Rini
On Fri, Aug 19, 2022 at 04:55:06PM +0200, Holger Brunck wrote: > The kmtegr1 board is out of maintenance and can be removed. As it is the > only board in the tree using MPC8309 the support for this CPU is dropped > completely. > > Signed-off-by: Holger Brunck Applied to u-boot/master, thanks!

Re: [PATCH 3/3] CI: Move to Ubuntu 2022.04 "Jammy" for CI base

2022-08-22 Thread Tom Rini
On Tue, Aug 09, 2022 at 09:08:54PM -0400, Tom Rini wrote: > - We now have a new enough sbsigntools in the distro, stop building. > - Use the 20220801 tag for Jammy. > - Move to pygit2 1.9.2 (current version) as the old one doesn't build on > "Jammy". > - Add the working directory to the list of

Re: [PATCH 1/3] CI: Azure: Merge PowerPC jobs in to one

2022-08-22 Thread Tom Rini
On Tue, Aug 09, 2022 at 09:08:52PM -0400, Tom Rini wrote: > At this point given the number of PowerPC platforms we have, a single > job to build them all fits within the time limit we have in Azure. > > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [PATCH] arm: Remove warp board

2022-08-22 Thread Tom Rini
On Wed, Aug 03, 2022 at 12:11:00PM -0400, Tom Rini wrote: > This board is missing migration to CONFIG_DM, which had a deadline of > v2020.01, which is now more than 2 years passed due. Remove it. > > Cc: Otavio Salvador > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 2/3] CI: Azure: Further condense jobs

2022-08-22 Thread Tom Rini
On Tue, Aug 09, 2022 at 09:08:53PM -0400, Tom Rini wrote: > We have a maximum of 10 parallel build jobs, and each job must complete > in less than 60 minutes. The overall run time must also be less than 6 > hours. Condense a number of jobs so that we have less potential > bottlenecks in terms of

[PATCH v2 4/5] verdin-imx8mm: various config additions and improvements

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable link-time optimisation - explicitly set a boot delay of one second - enable CRC32 and MD5 - enable command for low-level access to data in a partition - enable time commands - enable PMIC commands

[PATCH v2 1/5] verdin-imx8mm: verdin-imx8mp: update env memory layout

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus: - loadaddr=0x4828 allows for 128.5MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 127.5MB : allows for 127.5MB kernel

[PATCH v2 5/5] verdin-imx8mp: various config additions and improvements

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable CRC32 and MD5 - enable time commands - enable GPIO LED support - enable further eMMC HS400 functionality - enable fixed PHY and MDIO driver model - enable USB host functionality - enable thermal

[PATCH v2 3/5] verdin-imx8mm: improve and extend boot devices

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler - Annotate boot devices available in spl_board_boot_device(). - Drop SD3_BOOT/MMC3_BOOT not available for boot on Verdin iMX8M Mini. Signed-off-by: Marcel Ziswiler --- (no changes since v1) board/toradex/verdin-imx8mm/spl.c | 8 ++-- 1 file changed, 2

[PATCH v2 2/5] verdin-imx8mm: prepare for optional job ring driver model

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for optional job ring driver model. Sec may be initialized based on the job ring information processed from the device tree. Signed-off-by: Marcel Ziswiler --- (no changes since v1) board/toradex/verdin-imx8mm/spl.c | 9 + 1 file changed, 9

[PATCH v2 0/5] verdin-imx8mm: verdin-imx8mp: various additions and improvements

2022-08-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Various additions and improvements for the Verdin iMX8M Mini and Verdin iMX8M Plus: - updated env memory layout - verdin-imx8mm: prepare for optional job ring driver model - verdin-imx8mm: improve and extend boot devices - various config additions and improvements

[PATCH v1 3/3] board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit

2022-08-22 Thread Manoj Sai
i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. i.Core MX8M Plus needs to mount on top of this Evaluation board for creating complete i.Core MX8M Plus EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Jagan Teki Signed-off-by: Manoj Sai Signed-off-by: Matteo

[PATCH v1 2/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit

2022-08-22 Thread Manoj Sai
Genaral features: - LCD 7" C.Touch - microSD slot - Ethernet 1Gb - Wifi/BT - 2x LVDS Full HD interfaces - 3x USB 2.0 - 1x USB 3.0 - HDMI Out - Plus PCIe - MIPI CSI - 2x CAN - Audio Out i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. i.Core MX8M Plus needs to mount on top

[PATCH v1 1/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM

2022-08-22 Thread Manoj Sai
i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus from Engicam. General features: - NXP i.MX8M Plus - Up to 4GB LDDR4 - 8 eMMC - Gigabit Ethernet - USB 3.0, 2.0 Host/OTG - PCIe 3.0 interface - I2S - LVDS - rest of i.MX8M Plus features i.Core MX8M Plus needs to mount on top of Engicam

[PATCH v1 0/3] This series adds U-boot bootloader support for

2022-08-22 Thread Manoj Sai
Patch 1/3 adds dts support for Engicam i.Core MX8M Plus SoM Patch 2/3 adds dts support for Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Patch 3/3 adds board and configs related support for Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit Manoj Sai (3): arm64: dts: imx8mp: Add Engicam i.Core MX8M

Re: [PATCH 3/5] net: tftp: add IPv6 support for tftpboot

2022-08-22 Thread Vyacheslav Mitrofanov V
On Fri, 2022-08-19 at 21:01 +0300, Ramon Fried wrote: > > On Fri, Aug 19, 2022 at 2:30 PM Vyacheslav Mitrofanov V > wrote: > > On Fri, 2022-08-19 at 14:00 +0300, Ramon Fried wrote: > > > On Fri, Aug 19, 2022 at 11:10 AM Viacheslav Mitrofanov > > > wrote: > > > > The command tftpboot uses IPv4

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-08-22 Thread Michael Nazzareno Trimarchi
Hi Heiko Did you solve it after your patch on regulator? Michael On Sun, Jun 19, 2022 at 4:54 PM Heiko Thiery wrote: > > Hi, > > Am So., 19. Juni 2022 um 16:51 Uhr schrieb Michael Nazzareno Trimarchi > : > > > > Hi > > > > Il dom 19 giu 2022, 16:47 Heiko Thiery ha scritto: > >> > >> Hi, > >>

Re: [PATCH] pmic: pca9450: permit config on all bucks and LDOs

2022-08-22 Thread Michael Nazzareno Trimarchi
Hi Heiko On Tue, Jul 26, 2022 at 10:20 AM Jaehoon Chung wrote: > > On 6/20/22 12:49, Heiko Thiery wrote: > > In order to have the possibility to configure the regulators at system > > startup through DM support, all LDOs and bucks must be able to be > > changeable. Currently there is a

[PATCH] board: bsh: Update imx8mn ddr3l timing according to BSH hw team

2022-08-22 Thread Michael Trimarchi
Signed-off-by: Michael Trimarchi --- board/bsh/imx8mn_smm_s2/ddr3l_timing_256m.c | 23 - board/bsh/imx8mn_smm_s2/ddr3l_timing_512m.c | 23 - 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/board/bsh/imx8mn_smm_s2/ddr3l_timing_256m.c

Re: [PATCH] drivers: usb: fastboot: Fix full-speed usb descriptor

2022-08-22 Thread John Keeping
On Mon, Aug 22, 2022 at 09:18:31AM +0800, qianfangui...@163.com wrote: > From: qianfan Zhao > > The host will report such error message if the fastboot device work in > full-speed mode: "Duplicate descriptor for config 1 interface 0 > altsetting 0, skipping" > > Fastboot device ack both full

Re: [PATCH 0/5] Another smaller update to the nand stack

2022-08-22 Thread Michael Nazzareno Trimarchi
On Thu, Jul 28, 2022 at 7:17 PM Michael Trimarchi wrote: > > Update the stack to move it slowly to linux with some improvements. > We want to support more samsung variant and clean up a bit the code. > This will be the last upstream changes for now until a quick review > of spl code will be done

Re: [PATCH] mtd: rawnand: fsl_elbc: Remove NAND_NO_SUBPAGE_WRITE flag

2022-08-22 Thread Michael Nazzareno Trimarchi
On Tue, Aug 16, 2022 at 10:33 AM Michael Nazzareno Trimarchi wrote: > > Hi > > Il lun 15 ago 2022, 23:55 Pali Rohár ha scritto: >> >> On Monday 15 August 2022 23:49:17 Michael Nazzareno Trimarchi wrote: >> > Hi >> > >> > Il lun 15 ago 2022, 10:01 Pali Rohár ha scritto: >> > >> > > Subpage write

Re: [PATCH] mtd: rawnand: fsl_elbc: Fix reading address pointer from DT

2022-08-22 Thread Michael Nazzareno Trimarchi
On Mon, Aug 22, 2022 at 11:06 AM Dario Binacchi wrote: > > Hi Pali > > On Fri, Aug 19, 2022 at 11:20 AM Pali Rohár wrote: > > > > During compilation gcc throws warning: > > > > drivers/mtd/nand/raw/fsl_elbc_nand.c: In function ‘fsl_elbc_nand_probe’: > >

Re: [PATCH v1 1/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM

2022-08-22 Thread Jagan Teki
On Mon, Aug 22, 2022 at 2:40 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Mon, Aug 22, 2022 at 11:07 AM Manoj Sai > wrote: > > > > i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus > > from Engicam. > > > > General features: > > - NXP i.MX8M Plus > > - Up to 4GB LDDR4 > > - 8 eMMC

Re: [PATCH v1 1/3] arm64: dts: imx8mp: Add Engicam i.Core MX8M Plus SoM

2022-08-22 Thread Michael Nazzareno Trimarchi
Hi On Mon, Aug 22, 2022 at 11:07 AM Manoj Sai wrote: > > i.Core MX8M Plus is an EDIMM SoM based on NXP i.MX8M Plus > from Engicam. > > General features: > - NXP i.MX8M Plus > - Up to 4GB LDDR4 > - 8 eMMC > - Gigabit Ethernet > - USB 3.0, 2.0 Host/OTG > - PCIe 3.0 interface > - I2S > - LVDS > -

Re: [PATCH] mtd: rawnand: fsl_elbc: Fix reading address pointer from DT

2022-08-22 Thread Dario Binacchi
Hi Pali On Fri, Aug 19, 2022 at 11:20 AM Pali Rohár wrote: > > During compilation gcc throws warning: > > drivers/mtd/nand/raw/fsl_elbc_nand.c: In function ‘fsl_elbc_nand_probe’: > drivers/mtd/nand/raw/fsl_elbc_nand.c:841:31: warning: cast to pointer > from integer of different size

Re: [PATCH v2 0/5] board: sl28: various updates

2022-08-22 Thread Peng Fan
On 7/14/2022 9:05 PM, Michael Walle wrote: This is a resend of the original v1 series. It was just rebased. Apparently not all patches made it into u-boot. Unfortunately, there was no feedback at all. This is an update for the sl28 board which adds support for - 8 GiB memory variant -

Re: [PATCH 1/2] dm: core: Add functions to read 8/16-bit integers

2022-08-22 Thread Stefan Herbrechtsmeier
Hi Heinrich, Am 14.07.2022 um 14:58 schrieb Heinrich Schuchardt: On 7/14/22 12:37, Stefan Herbrechtsmeier wrote: Hi Simon, Am 14.07.2022 um 12:22 schrieb Simon Glass: Hi Stefan, On Wed, 13 Jul 2022 at 10:08, Stefan Herbrechtsmeier wrote: Hi Simon, Am 13.07.2022 um 17:28 schrieb Simon

[PATCH] fdt_support: add optional board_rng_seed() hook

2022-08-22 Thread Rasmus Villemoes
A recurring theme on LKML is the boot process deadlocking due to some process blocking waiting for random numbers, while the kernel's Cryptographic Random Number Generator (crng) is not initalized yet, but that very blocking means no activity happens that would generate the entropy necessary to

Re: [PATCH] arm: kirkwood: Add CONFIG_SUPPORT_PASSING_ATAGS

2022-08-22 Thread Stefan Roese
On 17.08.22 23:59, Tony Dinh wrote: Add CONFIG_SUPPORT_PASSING_ATAGS and friends to support legacy image method of booting. Debian and OpenWrt installer use uImage with appended DTB for these Kirkwood boards. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan ---

Re: [PATCH 00/22] board: lsxl: major update and DM conversion

2022-08-22 Thread Stefan Roese
On 17.08.22 21:37, Michael Walle wrote: Convert the Buffalo Linkstation LS-CHLv2 and XHL boards to DM_GPIO, DM_ETH, DM_SERIAL and CONFIG_TIMER. Patches 01-02 fix TCLK handling on the kirkwood SoC if the clock is 166MHz. Patches 03-04 add CONFIG_TIMER support for kirkwood/mvebu. Patches 05-21

Re: [RESEND PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-22 Thread Stefan Roese
On 12.08.22 01:40, Tony Dinh wrote: - Add distro boot to board include file and deconfig file - Miscellaneous changes: - Remove Gerald from maintainer list (email bounced) - Add CONFIG_SUPPORT_PASSING_ATAGS and friends to support legacy kernel method of booting (e.g.

Re: [PATCH 1/2] dm: core: Add functions to read 8/16-bit integers

2022-08-22 Thread Stefan Herbrechtsmeier
Hi, Am 14.07.2022 um 16:51 schrieb Simon Glass: Hi Stefan, On Thu, 14 Jul 2022 at 04:37, Stefan Herbrechtsmeier wrote: Hi Simon, Am 14.07.2022 um 12:22 schrieb Simon Glass: Hi Stefan, On Wed, 13 Jul 2022 at 10:08, Stefan Herbrechtsmeier wrote: Hi Simon, Am 13.07.2022 um 17:28 schrieb

Re: [PATCH] arm: kirkwood: pogo_v4: Add Distro boot capability

2022-08-22 Thread Stefan Roese
On 09.08.22 05:01, Tony Dinh wrote: - Add distro boot to board include file and deconfig file - Miscellaneous changes: - Add CONFIG_SUPPORT_PASSING_ATAGS and friends to support legacy kernel method of booting (e.g. OpenWrt) with appended DTB. - Add CONFIG_LTO and

Re: [PATCH v6 18/21] binman: Add gzip bintool

2022-08-22 Thread Stefan Herbrechtsmeier
Hi Simon, Am 21.08.2022 um 02:10 schrieb Simon Glass: Hi Stefan, On Sat, 20 Aug 2022 at 15:33, Simon Glass wrote: On Fri, 19 Aug 2022 at 08:26, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Add gzip bintool to binman to support on-the-fly compression of Linux kernel images

Re: Please pull u-boot-dm

2022-08-22 Thread Stefan Herbrechtsmeier
Hi Simon, Am 21.08.2022 um 03:02 schrieb Simon Glass: [snip] create mode 100644 tools/binman/test/235_compress_dtb_prepend_invalid.dts create mode 100644 tools/binman/test/235_mkimage_name.dts create mode 100644 tools/binman/test/236_compress_dtb_prepend_length.dts create mode 100644

Re: [PATCH v3 7/7] tpm: Allow committing non-volatile data

2022-08-22 Thread Ilias Apalodimas
Hi Simon, On Fri, 19 Aug 2022 at 16:47, Simon Glass wrote: > > Add an option to tell the TPM to commit non-volatile data immediately it > is changed, rather than waiting until later. This is needed in some > situations, since if the device reboots it may not write the data. > > Add definitions

Re: [PATCH v3 6/7] tpm: Implement state command for Cr50

2022-08-22 Thread Ilias Apalodimas
Hi Simon, This produces some build warnings e.g drivers/tpm/cr50_i2c.c: In function ‘cr50_i2c_report_state’: drivers/tpm/cr50_i2c.c:680:48: warning: passing argument 3 of ‘tpm2_cr50_report_state’ from incompatible pointer type [-Wincompatible-pointer-types] 680 | ret =

Re: [PATCH v2 6/7] tpm: Implement state command for Cr50

2022-08-22 Thread Ilias Apalodimas
Hi Simon, On Fri, 19 Aug 2022 at 16:47, Simon Glass wrote: > > Hi Ilias, > > On Thu, 18 Aug 2022 at 01:29, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Wed, 17 Aug 2022 at 21:54, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Tue, 16 Aug 2022 at 06:43, Ilias Apalodimas > > >