Re: [PATCH v4 05/10] rockchip: binman: Un-indent the FIT template

2025-04-09 Thread Quentin Schulz
Hi Jonas, Simon, On 3/29/25 4:06 PM, Jonas Karlman wrote: From: Simon Glass Fix the indentation on the template. This is done in a separate patch so that it is easier to review. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH v3 3/8] board: starfive: DeepComputing FML13V01 fdt selection

2025-04-09 Thread Matthias Brugger
On 09/04/2025 09:18, Heinrich Schuchardt wrote: We support all JH7110 boards with starfive_visionfive2_defconfig. The relevant device-tree is selected at runtime based on EEPROM data. Support setting $fdtfile to the file name of the DeepComputing Framework motherboard (FML13V01) device-tree.

Re: [PATCH v3 1/8] configs: add jh7110-deepcomputing-fml13v01 to VF2 defconfig

2025-04-09 Thread Matthias Brugger
On 09/04/2025 09:18, Heinrich Schuchardt wrote: The DeepComputing Framework motherboard is a JH7110 device support by the upstream kernel. Add its device-tree to the list of device-trees to be included into the starfive_visionfive_defconfig. Signed-off-by: Heinrich Schuchardt Reviewed-by: Su

Re: [PATCH v3 2/8] riscv: dts: jh7110: add DeepComputing FML13V01 device-tree

2025-04-09 Thread Matthias Brugger
On 09/04/2025 09:18, Heinrich Schuchardt wrote: Add the u-boot device-tree include needed to support the DeepComputing Framework motherboard (FML13V01). Signed-off-by: Heinrich Schuchardt Reviewed-by: Sumit Garg Reviewed-by: Hal Feng Reviewed-by: Matthias Brugger --- v3: no ch

Re: [PATCH v4 08/10] rockchip: binman: Use the skip-at-start prop in simple-bin image

2025-04-09 Thread Quentin Schulz
Hi Jonas, Simon, On 3/29/25 4:06 PM, Jonas Karlman wrote: From: Simon Glass The simple-bin image is normally written to MMC media at block 64, which is a 32K offset from start of storage media. Set the skip-at-start property to 0x8000 (32 KiB) so that fdtmap and other embedded binman symbols

Re: [PATCH v4 09/10] rockchip: binman: Support use of crc32 for SPL_FIT_SIGNATURE

2025-04-09 Thread Quentin Schulz
Hi Jonas, On 3/29/25 4:06 PM, Jonas Karlman wrote: Use of SHA256 checksum validation on ARMv7 SoCs can be very time consuming compared to ARMv8 SoCs with Crypto Extensions. Add support for use of the crc32 hash algo when SHA256 is not supported. Also use a HAS_HASH to simplify the ifdefs when n

[PATCH] tools/make_pip: Use virtualenv when invoking pip

2025-04-09 Thread Mattijs Korpershoek
Recent Ubuntu versions (24.04+) disallow pip by default when installing packages. The recommended approach is to use a virtualenv instead. Because of this, "make pip" is failing on such versions. To prepare CI container migration to Ubuntu 24.04, use a virtualenv in the make_pip script. Note: Thi

[PATCH RFT v2 0/3] fastboot: add support for generic block flashing

2025-04-09 Thread neil . armstrong
This serie permits using any block device as target for fastboot by moving the generic block logic into a common set of helpers and also use them as generic backend. The erase logic has been extended to support software erase since only 2 block drivers exposes the erase operation. Tests are welco

[PATCH RFT v2 1/3] fastboot: blk: introduce fastboot block flashing support

2025-04-09 Thread neil . armstrong
From: Dmitrii Merkurev Introduce fastboot block flashing functions and helpers to be shared with the MMC implementation. The write logic comes from the mmc implementation, while the partition lookup is much simpler and could be extended. For the erase logic, allmost no block drivers exposes the

[PATCH RFT v2 3/3] fastboot: integrate block flashing back-end

2025-04-09 Thread neil . armstrong
From: Dmitrii Merkurev 1. Get partition info/size 2. Erase partition 3. Flash partition 4. BCB Signed-off-by: Dmitrii Merkurev Reviewed-by: Mattijs Korpershoek Signed-off-by: Neil Armstrong --- drivers/fastboot/fb_command.c | 8 drivers/fastboot/fb_common.c | 16

回复: 回复: [EXT] [PATCH] power: regulator: scmi: Move regulator subnode hack to scmi_regulator

2025-04-09 Thread Alice Guo (OSS)
> -邮件原件- > 发件人: Marek Vasut > 发送时间: 2025年4月9日 2:31 > 收件人: Alice Guo (OSS) ; u-boot@lists.denx.de > 抄送: Alice Guo ; Ilias Apalodimas > ; Jaehoon Chung ; > Tom Rini > 主题: Re: 回复: [EXT] [PATCH] power: regulator: scmi: Move regulator > subnode hack to scmi_regulator > > On 4/3/25 12:56 PM, A

Re: [PATCH] sunxi: add "fake" FEL pin support

2025-04-09 Thread Andre Przywara
On Wed, 9 Apr 2025 02:23:03 + Yixun Lan wrote: Hi, > I can understand the motivation behind this patch, which > I think it's a good addition to BROM FEL mode.. Thanks for having a look! > On 00:59 Wed 09 Apr , Andre Przywara wrote: > > Some boards with Allwinner SoCs feature a "FEL" ke

[PATCH v3 6/8] doc: starfive: use consistent formatting

2025-04-09 Thread Heinrich Schuchardt
Always use for the H2 level. Signed-off-by: Heinrich Schuchardt --- v3: rebased upong Milk-V Mars CM removal patch v2: new patch --- doc/board/starfive/milk-v_mars.rst | 10 +- doc/board/starfive/pine64_star64.rst | 12 ++-- doc/board/starfive/visionfive2.r

Re: [PATCH v4 10/10] rockchip: Add SPL_PAD_TO Kconfig default value

2025-04-09 Thread Quentin Schulz
Hi Jonas, On 3/29/25 4:06 PM, Jonas Karlman wrote: Almost all Rockchip boards use the same Kconfig value for SPL_PAD_TO, 0x7f8000. Would be nice to say why :) https://opensource.rock-chips.com/wiki_Partitions u-boot.itb is typically expected to be in loader2 partition by Rockchip, which is

RE: [EXT] [PATCH] crypto: fsl - Fix RNG generation for lengths greater than 16 bytes

2025-04-09 Thread Paweł Kochanowski
Hi, > From: Gaurav Jain > Sent: Wednesday, April 9, 2025 8:19 AM > > Hi Pawel > > > -Original Message- > > From: Paweł Kochanowski > > Sent: Tuesday, April 8, 2025 4:30 PM > > To: Gaurav Jain ; u-boot@lists.denx.de > > Cc: Priyanka Jain ; Gabriel Nesteruk > > ; Pankaj Gupta ; Horia Gea

Re: [PATCH v4 01/10] rockchip: binman: Correct the OS prop for U-Boot

2025-04-09 Thread Jonas Karlman
Hi Quentin, On 2025-04-09 11:15, Quentin Schulz wrote: > Hi Jonas, Simon, > > On 3/29/25 4:06 PM, Jonas Karlman wrote: >> From: Simon Glass >> >> The U-Boot image is currently being identified as an invalid OS in >> spl_fit_image_get_os() due to case sensitive compare. >> >> Use the correct lowe

RE: [PATCH] tiny-printf: Handle formatting of %p with an extra Kconfig

2025-04-09 Thread Christoph Niedermaier
From: Tom Rini Sent: Tuesday, April 8, 2025 10:58 PM > To: Christoph Niedermaier > Cc: u-boot@lists.denx.de; Simon Glass ; Michael Walle > ; Quentin Schulz ; Marek Vasut > ; Benedikt Spranger ; Jerome > Forissier > ; John Ogness ; Ilias > Apalodimas > > Subject: Re: [PATCH] tiny-printf: Handle

Re: [PATCH v3 4/8] board: starfive: spl: support DeepComputing FML13V01

2025-04-09 Thread Matthias Brugger
On 09/04/2025 09:18, Heinrich Schuchardt wrote: On the DeepComputing Framework motherboard (FML13V01) choose the matching FIT configuration. Signed-off-by: Heinrich Schuchardt Reviewed-by: Matthias Brugger --- v3: no change v2: rebased --- board/starfive/visionfive2/sp

Re: [PATCH v4 02/10] rockchip: binman: Factor out arch and compression

2025-04-09 Thread Jonas Karlman
Hi Quentin, On 2025-04-09 11:28, Quentin Schulz wrote: > Hi Jonas, Simon, > > On 3/29/25 4:06 PM, Jonas Karlman wrote: >> From: Simon Glass >> >> Declare arch and compression at the top of the file to avoid needing >> ifdefs in every usage. >> >> Add a few comments to help with the remaining #if

Re: [PATCH v4 04/10] rockchip: binman: Create a template for the FIT

2025-04-09 Thread Jonas Karlman
Hi Quentin, On 2025-04-09 11:39, Quentin Schulz wrote: > Hi Jonas, Simon, > > On 3/29/25 4:06 PM, Jonas Karlman wrote: > [...] >> -#if defined(CONFIG_ARM64) || defined(CONFIG_SPL_OPTEE_IMAGE) >> +#ifdef HAS_FIT >> fit { >> type = "blob"; >> f

[PATCH v2 25/30] rng: rockchip: Add support for rkrng variant

2025-04-09 Thread Jonas Karlman
From: Lin Jinhan Add support for rkrng variant, used by e.g. RK3528 and RK3576. Imported from vendor U-Boot linux-6.1-stan-rkr5 tag with minor adjustments for mainline. Signed-off-by: Lin Jinhan Signed-off-by: Jonas Karlman --- v2: Rebase on "rockchip: Update rng compatible for RK356x and RK3

<    1   2