Re: [PATCH] doc: statistics: Re-generate the last 3 releases

2023-06-24 Thread Tom Rini
On Tue, Jun 20, 2023 at 04:00:20PM -0400, Tom Rini wrote: > With some changes to our mapping files in gitdm, re-generate the last > few releases worth of statistics to correctly reflect contributions. We > only go back this far to try and find a balance between highlighting > contributions and

Re: [PATCH] mkimage: Use PATH_MAX for path length

2023-06-24 Thread Tom Rini
On Mon, Jun 19, 2023 at 02:22:50PM +0800, mingli...@eng.windriver.com wrote: > From: Mingli Yu > > Fixed when build xilinx_zynqmp in long directory ( >256): > | >

Re: [PATCH 1/6] menu: Re-enable the ANSI codes

2023-06-24 Thread Tom Rini
On Sat, Jun 17, 2023 at 11:49:48AM +0100, Simon Glass wrote: > The intent here was to allow ANSI codes to be disabled, since it was > proving impoosible to test operation of the menu code when it kept moving > the cursor. Unfortunately this ended up in the patch. > > Correct this by enabling

Re: [PATCH 6/6] imx: hab: Simplify the mechanism

2023-06-24 Thread Tom Rini
On Sun, May 28, 2023 at 11:00:30PM +0200, Marek Vasut wrote: > The current mechanism is unnecessarily complex. Simplify the whole mechanism > such that the entire fitImage is signed, IVT is placed at the end, followed > by CSF, and this entire bundle is also authenticated. This makes the signing

Re: [PATCH 5/6] imx: hab: Fix a couple of build warnings with DEBUG enabled

2023-06-24 Thread Tom Rini
On Mon, May 29, 2023 at 01:29:20AM +0200, Marek Vasut wrote: > In case the DEBUG is enabled, these three lines warn about cast of > pointer to integer of different size, add the missing casts to fix > the warnings. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 4/6] spl: spl_legacy: Add extra address checks

2023-06-24 Thread Tom Rini
On Mon, May 29, 2023 at 02:04:06PM +0200, Marek Vasut wrote: > Check whether the loaded image or entry point does not overlap SPL. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/6] ARM: imx: Add weak default reset_cpu()

2023-06-24 Thread Tom Rini
On Fri, Jun 23, 2023 at 09:56:27PM +0200, Marek Vasut wrote: > Add weak default reset_cpu() implementation needed by e.g. panic(). > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/6] ARM: at91: Switch sama5d2_icp_mmc to simple malloc in SPL

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 12:34:54AM +0200, Marek Vasut wrote: > To avoid SRAM overflow in the SPL build, use simple malloc implementation. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/6] mips: cpu: Use plain puts() in restart handler

2023-06-24 Thread Tom Rini
On Fri, Jun 23, 2023 at 08:49:21PM +0200, Marek Vasut wrote: > This removes dependency on fprintf() , which is not available > in SPL unless full printf support is enabled. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 0/2] Fix 'mbr' command with hybrid MBR/GPT

2023-06-24 Thread Joshua Watt
When dealing with a hybrid MBR/GPT partition table, the 'mbr' command would misbehave because it was reading the GPT partitions instead of reading from the MBR when verifying. Fix this by forcing 'mbr verify' to read MBR partitions. Joshua Watt (2): disk: part: Add API to get partitions with

[PATCH 1/2] disk: part: Add API to get partitions with specific driver

2023-06-24 Thread Joshua Watt
Adds part_driver_get_type() API which can be used to force a specific driver to be used when getting partition information instead of relying on auto detection. Signed-off-by: Joshua Watt --- disk/part.c| 38 +++--- include/part.h | 2 ++ 2 files changed, 33

Re: Pull request doc-2023-07-rc6

2023-06-24 Thread Tom Rini
On Fri, Jun 23, 2023 at 08:14:44PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 68c07fc5fdf34f0926cf06fc0c4ebd6f2f3afe19: > > Merge https://source.denx.de/u-boot/custodians/u-boot-usb (2023-06-21 > 14:42:50 -0400) > > are available in the Git

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-06-24 Thread Fabio Estevam
On Fri, Jun 23, 2023 at 11:41 AM Fabio Estevam wrote: > > [0.00] Booting Linux on physical CPU 0x0 > > [0.00] Linux version 6.4.0-rc6-00242-g1639fae5132b (rogan@vermin) > > (arm-linux-gnueabi-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU > > Binutils for Also, please give

[PATCH 2/2] cmd: mbr: Force DOS driver to be used for verify

2023-06-24 Thread Joshua Watt
Forces the DOS partition type driver to be used when verifying the MBR. This is particularly useful when using a hybrid MBR & GPT layout as otherwise MBR verification would mostly likely fail since the GPT partitions will be returned, even if the MBR is actually valid. Signed-off-by: Joshua Watt

[PATCH] android_ab: Add option to skip decrementing tries

2023-06-24 Thread Joshua Watt
It is is sometimes desired to be able to skip decrementing the number of tries remaining in an Android A/B boot, and instead just check which slot will be tried later. This can commonly be be the case for platforms that want to A/B u-boot itself, but are required to boot from a FAT MBR partition.

Re: mmc: Read eMMC partition access bits before card reset

2023-06-24 Thread Pali Rohár
On Monday 12 June 2023 14:11:41 Tom Rini wrote: > > > > https://patchwork.ozlabs.org/project/uboot/patch/20220828151929.32588-1-ka...@kernel.org/ > > > > > > AFAICT, this patch has some open issues still. > > > > There were suggestion to make (that new kconfig option) enabled for > > everything.

Pull request doc-2023-07-rc6

2023-06-24 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit 68c07fc5fdf34f0926cf06fc0c4ebd6f2f3afe19: Merge https://source.denx.de/u-boot/custodians/u-boot-usb (2023-06-21 14:42:50 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 10:50:41AM +0200, Pali Rohár wrote: > On Tuesday 20 June 2023 11:20:35 Simon Glass wrote: > > Hi Tom, Pali, > > > > On Wed, 14 Jun 2023 at 20:51, Tom Rini wrote: > > > > > > On Sun, Jun 11, 2023 at 02:53:21PM +0200, Pali Rohár wrote: > > > > > > > These 3 commits broke

Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 11:19:51AM +0200, Pali Rohár wrote: > On Monday 12 June 2023 14:07:24 Tom Rini wrote: > > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote: > > > > > CZ.NIC Turris 1.0 and 1.1 are open source routers, they have dual-core > > > PowerPC Freescale P2020 CPU and are

Re: mmc: Read eMMC partition access bits before card reset

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 11:26:42AM +0200, Pali Rohár wrote: > On Monday 12 June 2023 14:11:41 Tom Rini wrote: > > > > > https://patchwork.ozlabs.org/project/uboot/patch/20220828151929.32588-1-ka...@kernel.org/ > > > > > > > > AFAICT, this patch has some open issues still. > > > > > > There were

Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

2023-06-24 Thread Pali Rohár
On Monday 12 June 2023 14:07:24 Tom Rini wrote: > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote: > > > CZ.NIC Turris 1.0 and 1.1 are open source routers, they have dual-core > > PowerPC Freescale P2020 CPU and are based on Freescale P2020RDB-PC-A board. > > > > Hardware design is

Re: [PATCH] arch: arm: dts: k3-am625-sk: Update timings node name for panel-lvds

2023-06-24 Thread Tom Rini
On Fri, Jun 23, 2023 at 06:11:52PM +0530, Nikhil M Jain wrote: > Update the name of timing parameter node to panel-timing from > panel-timngs. > > Signed-off-by: Nikhil M Jain > --- > arch/arm/dts/k3-am625-sk.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v2 3/3] riscv: Rename SiFive CLINT to RISC-V ALINT

2023-06-24 Thread Pali Rohár
I wrote it more times, I'm not risvc maintainer and neither reviewer, so do not send me these emails because it just spams my inbox and increase probability that I loose or skip some more important u-boot email. On Wednesday 21 June 2023 23:11:46 Bin Meng wrote: > As the RISC-V ACLINT

Re: [PATCH v2 4/4] net: add NFSv1 support

2023-06-24 Thread Pali Rohár
On Sunday 11 June 2023 17:24:50 Christian Gmeiner wrote: > Am So., 11. Juni 2023 um 17:10 Uhr schrieb Pali Rohár : > > > > On Sunday 11 June 2023 16:57:07 Christian Gmeiner wrote: > > > Hello > > > > > > > > > > > Hello! I must admit that this patch is broken and does not add any NFSv1 > > > >

Re: [PATCH v2 4/4] net: add NFSv1 support

2023-06-24 Thread Pali Rohár
On Tuesday 13 June 2023 09:55:26 Peter Robinson wrote: > > I can help with reviews in this area. In this case, please CC me. > > I suggest adding yourself to the MAINTAINERS file as a reviewer, > people won't know you've offered and in a year Tom may not remember. Once people stop sending me

Re: [PATCH v2 0/2] Fix 'no USB device found' error.

2023-06-24 Thread Tom Rini
On Fri, Jun 23, 2023 at 09:42:01AM +0200, Julien Panis wrote: > > > On 6/22/23 17:49, Tom Rini wrote: > > On Thu, Jun 22, 2023 at 04:34:34PM +0200, Julien Panis wrote: > > > This series fixes usb0 dr_mode for am335x-icev2 > > > and am335x-evmsk. It must be set to 'peripheral' > > > in order to

Re: [PATCH] menu: Re-enable the ANSI codes

2023-06-24 Thread Pali Rohár
On Saturday 17 June 2023 22:28:24 Heinrich Schuchardt wrote: > On 6/17/23 12:48, Simon Glass wrote: > > Hi Pali, > > > > On Thu, 15 Jun 2023 at 17:56, Pali Rohár wrote: > > > > > > On Thursday 15 June 2023 13:34:09 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Mon, 12 Jun 2023 at

Re: [PATCH v2 4/4] net: add NFSv1 support

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 11:05:11AM +0200, Pali Rohár wrote: > On Sunday 11 June 2023 17:24:50 Christian Gmeiner wrote: > > Am So., 11. Juni 2023 um 17:10 Uhr schrieb Pali Rohár : > > > > > > On Sunday 11 June 2023 16:57:07 Christian Gmeiner wrote: > > > > Hello > > > > > > > > > > > > > > Hello! I

[PATCH v2 1/8] fdt_add_pubkey: Add support for adding ESL public key under signature node

2023-06-24 Thread Sughosh Ganu
The fdt_add_pubkey tool is used for adding a public key to the devicetree, which is then used for verifying the FIT signatures. Add a function for embedding the public key in the form of an EFI Signature List(ESL) file as a property under the signature node of the device tree. Unlike the public

[PATCH v2 3/8] test: py: Change capsule authenticate test flow

2023-06-24 Thread Sughosh Ganu
Currently, the keys and the EFI Signature List(ESL) file used for testing capsule authentication functionality are being generated after the u-boot image has been built. The ESL file is then embedded into the platform's DTB for capsule authentication. This flow has been changed through an earlier

[PATCH v2 6/8] Makefile: Add a target for building capsules

2023-06-24 Thread Sughosh Ganu
Add a target for building EFI capsules. The capsule parameters are specified through a config file, and the path to the config file is specified through CONFIG_EFI_CAPSULE_CFG_FILE. When the config file is not specified, the command only builds tools. Signed-off-by: Sughosh Ganu --- Changes

[PATCH v2 2/8] capsule: authenticate: Embed capsule public key in platform's dtb

2023-06-24 Thread Sughosh Ganu
The EFI capsule authentication logic in u-boot expects the public key in the form of an EFI Signature List(ESL) to be provided as part of the platform's dtb. Currently, the embedding of the ESL file into the dtb needs to be done manually. Use the fdt_add_pubkey tool from binman for embedding the

[PATCH v2 5/8] tools: mkeficapsule: Add support for parsing capsule params from config file

2023-06-24 Thread Sughosh Ganu
Add support for specifying the parameters needed for capsule generation through a config file, instead of passing them through command-line. Parameters for more than a single capsule file can be specified, resulting in generation of multiple capsules through a single invocation of the command.

[PATCH v2 7/8] test: efi_capsule: Test capsule generation from config file

2023-06-24 Thread Sughosh Ganu
Support has been added to generate capsules through parameters specified in the config file. To bring this under the testing ambit, make changes in the EFI capsule test logic to generate the capsule files by parsing the config file, when the path to the config file is specified. Signed-off-by:

[PATCH v2 4/8] doc: capsule: Document the new mechanism to embed ESL file into dtb

2023-06-24 Thread Sughosh Ganu
Update the document to specify how the EFI Signature List(ESL) file can be embedded into the platform's dtb as part of the u-boot build. Signed-off-by: Sughosh Ganu --- Changes since V1: None doc/develop/uefi/uefi.rst | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-)

[PATCH v2 0/8] Integrate EFI capsule tasks into u-boot's build flow

2023-06-24 Thread Sughosh Ganu
This patchset aims to bring two capsule related tasks under the u-boot build flow. One is the embedding of the public key into the platform's dtb. The public key is in the form of an EFI Signature List(ESL) file and is used for capsule authentication. This is being achieved through binman, with

[PATCH v2 8/8] doc: Add documentation to describe capsule config file format

2023-06-24 Thread Sughosh Ganu
The UEFI capsule can be generated either through command-line parameters, or, by specifying those in a config file. Add documentation to describe the format of the config file. Signed-off-by: Sughosh Ganu --- Changes since V1: None doc/develop/uefi/uefi.rst | 64

Re: [PATCH v2 4/4] net: add NFSv1 support

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 11:08:59AM +0200, Pali Rohár wrote: > On Tuesday 13 June 2023 09:55:26 Peter Robinson wrote: > > > I can help with reviews in this area. In this case, please CC me. > > > > I suggest adding yourself to the MAINTAINERS file as a reviewer, > > people won't know you've

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-06-24 Thread Rogan Dawes
Kernel output up until the crash: Starting kernel ... [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 6.4.0-rc6-00242-g1639fae5132b (rogan@vermin) (arm-linux-gnueabi-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #5 Fri Jun 23

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-24 Thread Pali Rohár
On Tuesday 20 June 2023 11:20:35 Simon Glass wrote: > Hi Tom, Pali, > > On Wed, 14 Jun 2023 at 20:51, Tom Rini wrote: > > > > On Sun, Jun 11, 2023 at 02:53:21PM +0200, Pali Rohár wrote: > > > > > These 3 commits broke support for U-Boot Bootmenu on Nokia N900. > > > Issues were reported more

Re: [PATCH 0/6] nokia_nx51: Attempts to debug keyboard

2023-06-24 Thread Pali Rohár
On Saturday 17 June 2023 11:49:47 Simon Glass wrote: > This series is an attempt to get the keyboard working properly with > bootmenu. > > It fixes the board's tstc() function, which should be in drivers/input > > It also adjusts stopping of the menu autodelay - it should only stop when > a

Re: Trying to boot custom kernel on Wink Hub (i.MX28)

2023-06-24 Thread Rogan Dawes
I understand the importance now. No, I got to the same result with your dts as with the evk one, crash after the usbcore modules were registered, and then binary garbage on the console. I do understand that you are not familiar with the Wink Hub, and am especially appreciative of the time you are

Re: [PATCH] menu: Re-enable the ANSI codes

2023-06-24 Thread Tom Rini
On Sat, Jun 24, 2023 at 11:01:13AM +0200, Pali Rohár wrote: > On Saturday 17 June 2023 22:28:24 Heinrich Schuchardt wrote: > > On 6/17/23 12:48, Simon Glass wrote: > > > Hi Pali, > > > > > > On Thu, 15 Jun 2023 at 17:56, Pali Rohár wrote: > > > > > > > > On Thursday 15 June 2023 13:34:09 Simon

[PATCH] configs: imx8m: Prepare imx8m-venice boards for HAB support

2023-06-24 Thread Tim Harvey
In order to enable HAB, FSL_CAAM, ARCH_MISC_INIT and SPL_CRYPTO should be enabled in Kconfig like other i.MX8M boards. This also needs to occur in the SPL so enable CONFIG_SPL_BOARD_INIT and add a void spl_board_init function which calls arch_misc_init to probe the CAAM driver. Signed-off-by: