Re: [PATCHv2] arm64: zynqmp: Print the secure boot status information

2022-02-03 Thread Jorge Ramirez-Ortiz, Foundries
On 13/10/21, Jorge Ramirez-Ortiz wrote: > Output the secure boot configuration to the console. Hi, Michal was there any reason for not merging this patch? thanks Jorge > > Signed-off-by: Jorge Ramirez-Ortiz > --- > > v2: >Michal review 12 Aug 2021 > print information on SPL and UBO

[PATCH] xilinx: Remove GPIO_EXTRA_HEADER selection

2022-02-03 Thread Michal Simek
Platform specific headers are empty that's why there is no need to include them. That's why remove them for Zynq/ZynqMP and Versal. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 4 arch/arm/mach-versal/include/mach/gpio.h | 6 -- arch/arm/mach-zynq/includ

[PATCH] video: Add missing dependency for DM_GPIO

2022-02-03 Thread Michal Simek
Seps driver also requires DM_GPIO to be enabled. Signed-off-by: Michal Simek --- drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index cfa08b501bad..ff8e11f6489d 100644 --- a/drivers/video/Kconfig +++ b/driv

[RFC PATCH 2/2] test/py: efi_secboot: adjust secure boot tests to code changes

2022-02-03 Thread Ilias Apalodimas
The previous patch is changing U-Boot's behavior wrt certificate based binary authentication. Specifically an image who's digest of a certificate is found in dbx is now rejected. Fix the test accordingly Signed-off-by: Ilias Apalodimas --- test/py/tests/test_efi_secboot/test_signed.py | 5 +++-

[RFC PATCH 1/2] efi_loader: fix dual signed image certification

2022-02-03 Thread Ilias Apalodimas
The EFI spec allows for images to carry multiple signatures. Currently we don't adhere to the verification process for such images. The spec says: "Multiple signatures are allowed to exist in the binary's certificate table (as per PE/COFF Section "Attribute Certificate Table"). Only one hash or si

Re: [PATCH] arm: kirkwood: iConnect : Add Ethernet support

2022-02-03 Thread Stefan Roese
On 2/2/22 06:59, Tony Dinh wrote: - Currently, CONFIG_RESET_PHY_R symbol is used in arch/arm/mach-kirkwood/include/mach/config.h for all Kirkwood boards with mv8831116 PHY, with each board defines the function reset_phy(). Undefine it for this board. - Add board_eth_init(), CONFIG_DM_ETH, and CON

Re: [RESEND PATCH] arm: kirkwood: Dockstar : Add DM Ethernet

2022-02-03 Thread Stefan Roese
On 2/3/22 23:32, Tony Dinh wrote: The Dockstar board has the network chip Marvell 88E1116R. Convert to Ethernet driver model, and use uclass mvgbe and the compatible driver M88E1118R to bring up Ethernet. - Add CONFIG_DM_ETH and associated configs. - Add board_eth_init() to use uclass mvgbe to b

Re: [PATCH] MAINTAINERS: Update list of Armada 385 and Armada 3720 drivers

2022-02-03 Thread Stefan Roese
On 2/3/22 17:57, Pali Rohár wrote: Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dcdd99e368d1..7b05f8866edc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -27

Re: [PATCH] tools: kwboot: Fix detection of quit esc sequence

2022-02-03 Thread Stefan Roese
On 2/3/22 17:45, Pali Rohár wrote: Quit esc sequence may be also in the middle of the read buffer. Fix the detection for that case. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- tools/kwboot.c | 19 +++ 1 file changed, 11 insertions(+), 8 deleti

Re: [PATCH] tools/mrvl_uart.sh: Remove script

2022-02-03 Thread Stefan Roese
Added Kosta to Cc, as he is the author of this script. On 2/3/22 17:50, Pali Rohár wrote: There are two tools for sending images over UART to Marvell SoCs: kwboot and mrvl_uart.sh. kwboot received lot of new features and improvements in last few months. There is no need to maintain two tools in

Pull request: u-boot-sunxi/master for 2022.04 (part 2)

2022-02-03 Thread Andre Przywara
Hi Tom, this is the promised second part of the sunxi PR for 2022.04, albeit technially outside of the merge window. We were working on this full steam since the beginning of the year, and it deserves to be merged, I think. The main attraction is support for the F1C100s SoC, which sports a venerab

[PATCH] drivers/adc/rockchip-saradc: remove double semi-colon

2022-02-03 Thread Giulio Benetti
Signed-off-by: Giulio Benetti --- drivers/adc/rockchip-saradc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c index e464d33f22..e0cbab6aa0 100644 --- a/drivers/adc/rockchip-saradc.c +++ b/drivers/adc/rockchip-sara

Re: [PATCH] Dockfile, CI: Update to latest focal tag and build

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 09:10:05AM -0500, Tom Rini wrote: > - Latest focal tag > - Add libgnutls to image > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Dockerfile: Add libgnutls package for building mkeficapsule command

2022-02-03 Thread Tom Rini
On Tue, Feb 01, 2022 at 10:32:36AM +0900, AKASHI Takahiro wrote: > For adding signing feature for capsule authentication to the host tool, > mkeficapsule, we will link gnutls library for crypto operation. > Since we need this command to complete the capsule authentication test > on sandbox in CI l

Re: [PATCH] spl: ymodem: Fix buffer overflow during Image copy

2022-02-03 Thread Tom Rini
On Mon, Jan 31, 2022 at 09:49:19AM +0530, Vignesh Raghavendra wrote: > ymodem_read_fit() driver will end copying up to BUF_SIZE boundary even > when requested size of copy operation is less than that. > For example, if offset = 0, size = 1440B, ymodem_read_fit() ends up > copying 2KB from offset =

Re: [PATCH] armv8: spl: Fix build with LINUX_KERNEL_IMAGE_HEADER

2022-02-03 Thread Tom Rini
On Sat, Jan 29, 2022 at 06:27:03PM +0300, Alper Nebi Yasak wrote: > Setting LINUX_KERNEL_IMAGE_HEADER=y attempts to include an ARM64 Linux > kernel image header at the start of both U-Boot proper and SPL binaries. > However, some definitions that the image header uses are not included by > the SPL

Re: [PATCH] arm: pdu001: Exend the list of maintained files

2022-02-03 Thread Tom Rini
On Fri, Jan 28, 2022 at 02:36:12PM +0100, Felix Brack wrote: > Add the PDU001 board specific DT files to MAINTAINERS. This should > help for better tracking of changes to these files. > > Signed-off-by: Felix Brack Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP sign

Re: [PATCH] net: ti: am65-cpsw: Cleanup resources before jump to kernel

2022-02-03 Thread Tom Rini
On Fri, Jan 28, 2022 at 11:21:19AM +0530, Vignesh Raghavendra wrote: > In case fastboot over Ethernet, am65_cpsw_stop() is not called unless > DM_FLAG_OS_PREPARE is set. Without call to am65_cpsw_stop(), DMA > resources are not released thus leading to failures in kernel. > Fix this by adding DM_F

Re: [PATCH] scripts: Makefile: also clean subdir dtc

2022-02-03 Thread Tom Rini
On Tue, Jan 25, 2022 at 11:32:20AM +0100, Philippe Reynes wrote: > Since commit 93b196532254 ("Makefile: Only build dtc if needed"), > the sub directory scripts/dtc is never cleaned. > Adds the directory dtc to subdir to always clean it. > > Signed-off-by: Philippe Reynes > Reviewed-by: Simon Gl

Re: [PATCH] armv8: start.S: remove CONFIG_SYS_RESET_SCTRL code

2022-02-03 Thread Tom Rini
On Mon, Jan 24, 2022 at 05:17:40PM +, Andre Przywara wrote: > There is some code that tries to "reset" the SCTLR_ELx register early in > the boot process. The idea seems to be to guarantee some sane settings > that U-Boot actually relies on, for instance running in little-endian > mode, with t

Re: [PATCH v5 4/4] treewide: Use 16-bit unicode strings

2022-02-03 Thread Tom Rini
On Sun, Jan 23, 2022 at 12:55:14PM -0700, Simon Glass wrote: > At present we use wide characters for unicode but this is not necessary. > Change the code to use the 'u' literal instead. This helps to fix build > warnings for sandbox on rpi. > > Note: This applies tree-wide > > Signed-off-by: Sim

Re: [PATCH v5 2/4] efi: Use 16-bit Unicode strings

2022-02-03 Thread Tom Rini
On Sun, Jan 23, 2022 at 12:55:12PM -0700, Simon Glass wrote: > At present we use wide characters for Unicode but this is not necessary. > Change the code to use the 'u' literal instead. This helps to fix build > warnings for sandbox on the Raspberry Pi. > > Signed-off-by: Simon Glass > Suggested

Re: [PATCH v5 1/4] scripts/checkpatch.pl: Resync with v5.16

2022-02-03 Thread Tom Rini
On Sun, Jan 23, 2022 at 12:55:11PM -0700, Simon Glass wrote: > This resyncs us with the version found in v5.16 of the Linux kernel with > the following exceptions: > - Keep our u-boot specific tests / code area. > - Change the location of checkpatch.rst > - Drop the "use strscpy" test as we don't

[RESEND PATCH] arm: kirkwood: Dockstar : Add DM Ethernet

2022-02-03 Thread Tony Dinh
The Dockstar board has the network chip Marvell 88E1116R. Convert to Ethernet driver model, and use uclass mvgbe and the compatible driver M88E1118R to bring up Ethernet. - Add CONFIG_DM_ETH and associated configs. - Add board_eth_init() to use uclass mvgbe to bring up the network. And remove ad-h

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Simon Glass
Hi Tom, On Thu, 3 Feb 2022 at 15:09, Tom Rini wrote: > > On Thu, Feb 03, 2022 at 03:03:21PM -0700, Simon Glass wrote: > > Hi, > > > > On Thu, 3 Feb 2022 at 15:02, Simon Glass wrote: > > > > > > Hi, > > > > > > On Thu, 3 Feb 2022 at 14:53, Tom Rini wrote: > > > > > > > > On Thu, Feb 03, 2022 at

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 03:03:21PM -0700, Simon Glass wrote: > Hi, > > On Thu, 3 Feb 2022 at 15:02, Simon Glass wrote: > > > > Hi, > > > > On Thu, 3 Feb 2022 at 14:53, Tom Rini wrote: > > > > > > On Thu, Feb 03, 2022 at 04:45:44PM -0500, Tom Rini wrote: > > > > On Thu, Feb 03, 2022 at 04:16:23PM

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Simon Glass
Hi, On Thu, 3 Feb 2022 at 15:02, Simon Glass wrote: > > Hi, > > On Thu, 3 Feb 2022 at 14:53, Tom Rini wrote: > > > > On Thu, Feb 03, 2022 at 04:45:44PM -0500, Tom Rini wrote: > > > On Thu, Feb 03, 2022 at 04:16:23PM -0500, Tom Rini wrote: > > > > On Thu, Feb 03, 2022 at 07:38:50PM +0100, Pali Ro

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Simon Glass
Hi, On Thu, 3 Feb 2022 at 14:53, Tom Rini wrote: > > On Thu, Feb 03, 2022 at 04:45:44PM -0500, Tom Rini wrote: > > On Thu, Feb 03, 2022 at 04:16:23PM -0500, Tom Rini wrote: > > > On Thu, Feb 03, 2022 at 07:38:50PM +0100, Pali Rohár wrote: > > > > > > > Signed-off-by: Pali Rohár > > > > --- > > >

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 04:45:44PM -0500, Tom Rini wrote: > On Thu, Feb 03, 2022 at 04:16:23PM -0500, Tom Rini wrote: > > On Thu, Feb 03, 2022 at 07:38:50PM +0100, Pali Rohár wrote: > > > > > Signed-off-by: Pali Rohár > > > --- > > > > > > I would really appreciate if U-Boot test framework start

Re: [PATCH v1 2/4] arm: dts: k3-am64: Add support for ESM device nodes

2022-02-03 Thread Nishanth Menon
On 12:22-20220202, Hari Nagalla wrote: > Enable acces to ESM0 configuration space and add Main ESM0 and MCU ESM s/acces/access/ > nodes to the AM64 device tree. > > Signed-off-by: Hari Nagalla > --- > arch/arm/dts/k3-am64.dtsi| 1 + > arch/arm/dts/k3-am642-r5-evm.dts | 19

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 04:16:23PM -0500, Tom Rini wrote: > On Thu, Feb 03, 2022 at 07:38:50PM +0100, Pali Rohár wrote: > > > Signed-off-by: Pali Rohár > > --- > > > > I would really appreciate if U-Boot test framework starts printing > > deprecation warnings, instead of sending patches which di

Re: [PATCH v1 1/4] misc: k3_esm: Add functionality to set and route error events within K3SoC

2022-02-03 Thread Nishanth Menon
On 12:22-20220202, Hari Nagalla wrote: > Add functionality to enable, set priority to the input events and to > route to MCU ESM. On AM64x/AM62x devices, it is possible to route Main > ESM0 error events to MCU ESM. When these error events are routed to MCU > ESM high output, it can trigger the rese

Re: [PATCH v1 3/4] arch: arm: mach-k3: am642_init: Probe ESM nodes

2022-02-03 Thread Nishanth Menon
On 12:22-20220202, Hari Nagalla wrote: One additional comment independent of Christian's comment.. [...] > diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c > index 543dea02bc..cb9495e525 100644 > --- a/arch/arm/mach-k3/am642_init.c > +++ b/arch/arm/mach-k3/am642_init.c >

Re: [PATCH V4] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-02-03 Thread Fabio Estevam
Hi Adam, On Thu, Feb 3, 2022 at 6:20 PM Adam Ford wrote: > > The imx8mm and imx8mn appear compatible with imx7d-usb > flags in the OTG driver. If the dr_mode is defined as > host or peripheral, the device appears to operate correctly, > however the auto host/peripheral detection results in an er

[PATCH V4] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-02-03 Thread Adam Ford
The imx8mm and imx8mn appear compatible with imx7d-usb flags in the OTG driver. If the dr_mode is defined as host or peripheral, the device appears to operate correctly, however the auto host/peripheral detection results in an error. The solution isn't just adding checks for imx8mm and imx8mn to

Re: [PATCH] malloc_simple: Remove usage of unsupported %zx format string

2022-02-03 Thread Simon Glass
Hi Pali, On Thu, 3 Feb 2022 at 11:51, Pali Rohár wrote: > > Replace %zx by %lx and cast size_t to ulong. > > U-Boot currently prints garbage debug output: > size=x, ptr=18, limit=18: 4002a000 Do you mean in SPL? > > With this change it prints correct debug data: > size=18, ptr=18, limit=2000: 4

Re: [PATCH] malloc_simple: Remove usage of unsupported %zx format string

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 02:28:23PM -0500, Sean Anderson wrote: > > > On 2/3/22 2:25 PM, Sean Anderson wrote: > > Hi Pali, > > > > On 2/3/22 1:51 PM, Pali Rohár wrote: > >> Replace %zx by %lx and cast size_t to ulong. > >> > >> U-Boot currently prints garbage debug output: > >> size=x, ptr=18, l

Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 07:38:50PM +0100, Pali Rohár wrote: > Signed-off-by: Pali Rohár > --- > > I would really appreciate if U-Boot test framework starts printing > deprecation warnings, instead of sending patches which directly drop > support for some boards. > > There is absolutely no warni

Re: [PATCH V3] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-02-03 Thread Adam Ford
On Thu, Feb 3, 2022 at 2:59 PM Tim Harvey wrote: > > On Tue, Jan 25, 2022 at 12:44 AM Marcel Ziswiler > wrote: > > > > On Mon, 2022-01-17 at 18:21 -0600, Adam Ford wrote: > > > The imx8mm and imx8mn appear compatible with imx7d-usb > > > flags in the OTG driver. If the dr_mode is defined as > >

Re: [PATCH V3] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-02-03 Thread Tim Harvey
On Tue, Jan 25, 2022 at 12:44 AM Marcel Ziswiler wrote: > > On Mon, 2022-01-17 at 18:21 -0600, Adam Ford wrote: > > The imx8mm and imx8mn appear compatible with imx7d-usb > > flags in the OTG driver. If the dr_mode is defined as > > host or peripheral, the device appears to operate correctly, > >

[PATCH] test/py: Add test case for mkimage -o argument

2022-02-03 Thread Jan Kiszka
From: Jan Kiszka Stress the '-o algo_name' argument of mkimage by expanding the vboot test. Signed-off-by: Jan Kiszka --- test/py/tests/test_vboot.py | 33 +++--- test/py/tests/vboot/sign-configs-algo-arg.its | 44 +++ test/py/tests/vboot/sign-images-a

[PATCH] mkimage: Improve documentation of algo-name parameter

2022-02-03 Thread Jan Kiszka
From: Jan Kiszka Addresses the feedback provided on 5902a397d029 which raced with the merge. Signed-off-by: Jan Kiszka --- doc/mkimage.1 | 2 +- tools/imagetool.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/mkimage.1 b/doc/mkimage.1 index 0734bd36a11..fc84cc

Re: [PATCH] malloc_simple: Remove usage of unsupported %zx format string

2022-02-03 Thread Sean Anderson
On 2/3/22 2:25 PM, Sean Anderson wrote: > Hi Pali, > > On 2/3/22 1:51 PM, Pali Rohár wrote: >> Replace %zx by %lx and cast size_t to ulong. >> >> U-Boot currently prints garbage debug output: >> size=x, ptr=18, limit=18: 4002a000 >> >> With this change it prints correct debug data: >> size=18

Re: [PATCH] malloc_simple: Remove usage of unsupported %zx format string

2022-02-03 Thread Sean Anderson
Hi Pali, On 2/3/22 1:51 PM, Pali Rohár wrote: > Replace %zx by %lx and cast size_t to ulong. > > U-Boot currently prints garbage debug output: > size=x, ptr=18, limit=18: 4002a000 > > With this change it prints correct debug data: > size=18, ptr=18, limit=2000: 4002a000 > > Signed-off-by: Pali

Re: [PATCH v5 4/4] treewide: Use 16-bit unicode strings

2022-02-03 Thread Heinrich Schuchardt
On 1/23/22 20:55, Simon Glass wrote: At present we use wide characters for unicode but this is not necessary. nits: %s/unicode/Unicode/ Change the code to use the 'u' literal instead. This helps to fix build warnings for sandbox on rpi. %s/rpi/the Raspberry Pi/ Note: This applies tree-wi

[PATCH] malloc_simple: Remove usage of unsupported %zx format string

2022-02-03 Thread Pali Rohár
Replace %zx by %lx and cast size_t to ulong. U-Boot currently prints garbage debug output: size=x, ptr=18, limit=18: 4002a000 With this change it prints correct debug data: size=18, ptr=18, limit=2000: 4002a000 Signed-off-by: Pali Rohár --- common/malloc_simple.c | 2 +- 1 file changed, 1 inse

Re: [PATCH v5 3/4] sandbox: Detect the host bit size automatically

2022-02-03 Thread Heinrich Schuchardt
On 1/23/22 20:55, Simon Glass wrote: At present if you build sandbox on a 32-bit host a lot of errors are produced. This is because CONFIG_HOST_64BIT is enabled by default. It is quite annoying to have to change that manually before building sandbox. It is also quite confusing for new users. Ad

[PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD

2022-02-03 Thread Pali Rohár
Signed-off-by: Pali Rohár --- I would really appreciate if U-Boot test framework starts printing deprecation warnings, instead of sending patches which directly drop support for some boards. There is absolutely no warning during building U-Boot for RX-51 board that this board has not been conver

Re: [RFC 0/2] A/B firmware update based in eMMC boot partition.

2022-02-03 Thread Tom Rini
On Tue, Jan 25, 2022 at 03:43:29PM +0100, Wolfgang Denk wrote: > Dear Ying-Chun Liu, > > In message <20220125135535.224061-1-grandp...@gmail.com> you wrote: > > > > I've implemented A/B firmware update based on eMMC hw partitions. > > Normally we have 2 boot partitions on eMMC. One is active and a

[PATCH] phy: phy-uclass: check the parents for phys

2022-02-03 Thread Angus Ainslie
The port/hub leaf nodes don't contain the phy definitions in some dts files so check the parents. Signed-off-by: Angus Ainslie --- drivers/phy/phy-uclass.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/phy/phy-uclass.c b/drivers/phy/phy-uclass.

[PATCH v2 0/2] Use the complete 512kb (4 blocks) nand partition reserved for u-boot

2022-02-03 Thread Marcel Ziswiler
From: Marcel Ziswiler environment instead of just the first block, this allows the module to have a working environment even if 3 blocks are bad. Changes in v2: - Re-based on top of today's master taking our recent addition of the eMMC SKU into account. - Just remove stale eMMC environment com

Re: i.MX8M Mini Hangs at ATF when booting from USB

2022-02-03 Thread Marek Vasut
On 2/3/22 18:27, Adam Ford wrote: On Thu, Feb 3, 2022 at 11:23 AM Marek Vasut wrote: On 2/3/22 17:46, Tom Rini wrote: On Wed, Feb 02, 2022 at 12:48:06PM -0600, Adam Ford wrote: On Wed, Feb 2, 2022 at 12:42 PM Tom Rini wrote: On Wed, Feb 02, 2022 at 02:45:44PM -0300, Fabio Estevam wrote:

Re: [PATCH] adc: rockchip-saradc: add support for getting reference voltage value

2022-02-03 Thread John Keeping
On Wed, Feb 02, 2022 at 01:12:54PM -0500, Peter Cai wrote: > Mirroring commit 97ab802aa36f ("adc: meson-saradc: add support for > getting reference voltage value") for meson-saradc, this adds support > for getting the "vref-supply" regulator and register it as the ADC's > reference voltage regulato

[PATCH v2 2/2] colibri-imx7: improve env badblock management

2022-02-03 Thread Marcel Ziswiler
From: Francesco Dolcini Use the complete 512kb (4 blocks) nand partition reserved for u-boot environment instead of just the first block, this allows the module to have a working environment even if 3 blocks are bad. Signed-off-by: Francesco Dolcini --- (no changes since v1) include/configs

[PATCH v2 1/2] colibri-imx6ull: improve env badblock management

2022-02-03 Thread Marcel Ziswiler
From: Francesco Dolcini Use the complete 512kb (4 blocks) nand partition reserved for u-boot environment instead of just the first block, this allows the module to have a working environment even if 3 blocks are bad. Signed-off-by: Francesco Dolcini Signed-off-by: Marcel Ziswiler --- Changes

Re: [PATCH v2 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-03 Thread Heinrich Schuchardt
On 2/2/22 05:15, AKASHI Takahiro wrote: On Wed, Feb 02, 2022 at 10:53:05AM +0900, Masami Hiramatsu wrote: Hi Takahiro, 2022年2月1日(火) 20:38 AKASHI Takahiro : On Tue, Feb 01, 2022 at 05:33:09PM +0900, Masami Hiramatsu wrote: Add a config option to reset system soon after processing capsule upd

Re: i.MX8M Mini Hangs at ATF when booting from USB

2022-02-03 Thread Adam Ford
On Thu, Feb 3, 2022 at 11:23 AM Marek Vasut wrote: > > On 2/3/22 17:46, Tom Rini wrote: > > On Wed, Feb 02, 2022 at 12:48:06PM -0600, Adam Ford wrote: > >> On Wed, Feb 2, 2022 at 12:42 PM Tom Rini wrote: > >>> > >>> On Wed, Feb 02, 2022 at 02:45:44PM -0300, Fabio Estevam wrote: > Hi Marcel,

Re: i.MX8M Mini Hangs at ATF when booting from USB

2022-02-03 Thread Marek Vasut
On 2/3/22 17:46, Tom Rini wrote: On Wed, Feb 02, 2022 at 12:48:06PM -0600, Adam Ford wrote: On Wed, Feb 2, 2022 at 12:42 PM Tom Rini wrote: On Wed, Feb 02, 2022 at 02:45:44PM -0300, Fabio Estevam wrote: Hi Marcel, [Adding Tom and Marek] On Wed, Feb 2, 2022 at 2:40 PM Marcel Ziswiler wrote

Re: [PATCH v5 3/4] sandbox: Detect the host bit size automatically

2022-02-03 Thread Tom Rini
On Sun, Jan 23, 2022 at 12:55:13PM -0700, Simon Glass wrote: > At present if you build sandbox on a 32-bit host a lot of errors are > produced. This is because CONFIG_HOST_64BIT is enabled by default. > > It is quite annoying to have to change that manually before building > sandbox. It is also q

Re: [PATCH] tools/mrvl_uart.sh: Remove script

2022-02-03 Thread Marek Behún
On Thu, 3 Feb 2022 17:50:46 +0100 Pali Rohár wrote: > There are two tools for sending images over UART to Marvell SoCs: kwboot > and mrvl_uart.sh. kwboot received lot of new features and improvements in > last few months. There is no need to maintain two tools in U-Boot, so > remove old mrvl_uar

[PATCH] MAINTAINERS: Update list of Armada 385 and Armada 3720 drivers

2022-02-03 Thread Pali Rohár
Signed-off-by: Pali Rohár --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dcdd99e368d1..7b05f8866edc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -278,11 +278,20 @@ T:git https://source.denx.de/u-boot/custodians/u-boot-marvell

Re: [PATCH] sandbox: fix build failure with musl and SDL

2022-02-03 Thread Heinrich Schuchardt
On 2/3/22 17:43, Tom Rini wrote: On Thu, Feb 03, 2022 at 02:02:47PM +0100, Milan P. Stanić wrote: Hi, On Thu, 2022-01-27 at 14:35, Simon Glass wrote: Hi, On Fri, 21 Jan 2022 at 13:11, Milan P. Stanić wrote: Hi, it works and build pass without error or warning. Tested on alpine edge aarch6

[PATCH] tools/mrvl_uart.sh: Remove script

2022-02-03 Thread Pali Rohár
There are two tools for sending images over UART to Marvell SoCs: kwboot and mrvl_uart.sh. kwboot received lot of new features and improvements in last few months. There is no need to maintain two tools in U-Boot, so remove old mrvl_uart.sh tool. Signed-off-by: Pali Rohár --- tools/mrvl_uart.sh

[PATCH] tools: kwboot: Fix detection of quit esc sequence

2022-02-03 Thread Pali Rohár
Quit esc sequence may be also in the middle of the read buffer. Fix the detection for that case. Signed-off-by: Pali Rohár --- tools/kwboot.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tools/kwboot.c b/tools/kwboot.c index 2684f0e75a56..7737188f0d0a

Re: i.MX8M Mini Hangs at ATF when booting from USB

2022-02-03 Thread Tom Rini
On Wed, Feb 02, 2022 at 12:48:06PM -0600, Adam Ford wrote: > On Wed, Feb 2, 2022 at 12:42 PM Tom Rini wrote: > > > > On Wed, Feb 02, 2022 at 02:45:44PM -0300, Fabio Estevam wrote: > > > Hi Marcel, > > > > > > [Adding Tom and Marek] > > > > > > On Wed, Feb 2, 2022 at 2:40 PM Marcel Ziswiler > > >

Re: [PATCH] sandbox: fix build failure with musl and SDL

2022-02-03 Thread Tom Rini
On Thu, Feb 03, 2022 at 02:02:47PM +0100, Milan P. Stanić wrote: > Hi, > > On Thu, 2022-01-27 at 14:35, Simon Glass wrote: > > Hi, > > > > On Fri, 21 Jan 2022 at 13:11, Milan P. Stanić wrote: > > > > > > Hi, > > > > > > it works and build pass without error or warning. > > > Tested on alpine edg

Re: [PATCH v2 2/5] sunxi: move Cortex SMPEN setting into start.S

2022-02-03 Thread Andre Przywara
On Wed, 2 Feb 2022 19:06:37 -0600 Samuel Holland wrote: Hi Samuel, > On 1/31/22 7:41 PM, Andre Przywara wrote: > > According to their TRMs, Cortex ARMv7 CPUs with SMP support require the > > ACTLR.SMPEN bit to be set as early as possible, before any cache or TLB > > maintenance operations are do

[PATCH] common: fdt_support: add support for "partitions" subnode to fdt_fixup_mtdparts()

2022-02-03 Thread Matthias Schiffer
Listing MTD partitions directly in the flash mode has been deprecated for a while for kernel Device Trees. Look for a node "partitions" in the found flash nodes and use it instead of the flash node itself for the partition list when it exists, so Device Trees following the current best practices ca

[PATCH] Dockfile, CI: Update to latest focal tag and build

2022-02-03 Thread Tom Rini
- Latest focal tag - Add libgnutls to image Signed-off-by: Tom Rini --- .azure-pipelines.yml| 2 +- .gitlab-ci.yml | 2 +- tools/docker/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index f2aa332be5cc..8

[PATCH v3] board: gateworks: venice: add imx8mn-gw7902 support

2022-02-03 Thread Tim Harvey
The GW7902 is based on the i.MX 8M Mini / Nano SoC featuring: - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller - LTE CAT M1 modem - USB 2.0 HUB - M.2 Socket with USB2.0, PCIe, and dual-SIM - IMX8M FEC - PCIe based GbE - RS232/RS485/RS422 serial transceiver - GPS - CAN bus - WiFi

Re: [PATCH] sandbox: fix build failure with musl and SDL

2022-02-03 Thread Milan P . Stanić
Hi, On Thu, 2022-01-27 at 14:35, Simon Glass wrote: > Hi, > > On Fri, 21 Jan 2022 at 13:11, Milan P. Stanić wrote: > > > > Hi, > > > > it works and build pass without error or warning. > > Tested on alpine edge aarch64 bare metal. > > > > Thank you > > > > On Fri, 2022-01-21 at 18:00, Heinrich S

Re: [PATCH] net: bootp: Make root path (option 17) length configurable

2022-02-03 Thread Ramon Fried
On Fri, Jan 28, 2022 at 10:41 AM Andre Kalb wrote: > > to adjust the root path length. > Eg to 256 from Linux Kernel > > Signed-off-by: Andre Kalb > --- > include/net.h | 2 +- > net/Kconfig | 6 ++ > net/bootp.c | 2 +- > 3 files changed, 8 insertions(+), 2 deletions(-) > > diff --git a

[PATCH v4 2/2] efi_loader: Reset system after CapsuleUpdate on disk

2022-02-03 Thread Masami Hiramatsu
Add a cold reset soon after processing capsule update on disk. This is required in UEFI specification 2.9 Section 8.5.5 "Delivery of Capsules via file on Mass Storage device" as; In all cases that a capsule is identified for processing the system is restarted after capsule processing is co

[PATCH v4 1/2] efi_loader: use efi_update_capsule_firmware() for capsule on disk

2022-02-03 Thread Masami Hiramatsu
Since the efi_update_capsule() represents the UpdateCapsule() runtime service, it has to handle the capsule flags and update ESRT. However the capsule-on-disk doesn't need to care about such things. Thus, the capsule-on-disk should use the efi_capsule_update_firmware() directly instead of calling

[PATCH v4 0/2] EFI: Reset system after capsule-on-disk

2022-02-03 Thread Masami Hiramatsu
Hi, Here is the 4th version of the reset after capsule-on-disk. This version updates the patch description and use do_reset() and halt or reset_cpu() if available, according to Takahiro and Sughosh's comment. The reset after completing the capsule-on-disk is stated in the UEFI specification 2.9,

Re: [PATCH v1 3/4] arch: arm: mach-k3: am642_init: Probe ESM nodes

2022-02-03 Thread Christian Gmeiner
Hi Some comments from my side. > /* > * This uninitialized global variable would normal end up in the .bss > section, > * but the .bss is cleared between writing and reading this variable, so move > @@ -160,6 +173,9 @@ void board_init_f(ulong dummy) > store_boot_info_from_rom(); >

Re: [PATCH] net: ti: am65-cpsw: Cleanup resources before jump to kernel

2022-02-03 Thread Ramon Fried
On Fri, Jan 28, 2022 at 7:51 AM Vignesh Raghavendra wrote: > > In case fastboot over Ethernet, am65_cpsw_stop() is not called unless > DM_FLAG_OS_PREPARE is set. Without call to am65_cpsw_stop(), DMA > resources are not released thus leading to failures in kernel. > Fix this by adding DM_FLAG_OS_P