Re: [PATCH v2 1/6] efi_loader: add RAM disk device path

2023-07-17 Thread Masahisa Kojima
On Tue, 18 Jul 2023 at 14:57, Heinrich Schuchardt wrote: > > > > Am 18. Juli 2023 03:31:30 MESZ schrieb Masahisa Kojima > : > >Hi Heinrich, > > > >On Fri, 14 Jul 2023 at 22:44, Heinrich Schuchardt wrote: > >> > >> On 14.07.23 07:44, Masahisa Kojima wrote: > >> > This is a preparation to add the

Re: [PATCH v2 0/2] power: pmic: add TPS65913 support

2023-07-17 Thread Svyatoslav Ryhel
Problems which were faced with this patchset exceed just TPS65913 support. TPS65913 support commits will be moved into different patchset dedicated exclusively to PMICs bringup. Power uclasses commits will be sent as separate patchset with proper title. Best regards, Svyatoslav R. пн, 17 лип. 202

Re: [PATCH v2 1/6] efi_loader: add RAM disk device path

2023-07-17 Thread Heinrich Schuchardt
Am 18. Juli 2023 03:31:30 MESZ schrieb Masahisa Kojima : >Hi Heinrich, > >On Fri, 14 Jul 2023 at 22:44, Heinrich Schuchardt wrote: >> >> On 14.07.23 07:44, Masahisa Kojima wrote: >> > This is a preparation to add the EFI_RAM_DISK_PROTOCOL. >> > This commit adds the RAM disk device path structu

Re: [PATCH v2 0/6] introduce EFI_RAM_DISK_PROTOCOL

2023-07-17 Thread Masahisa Kojima
Hi Tobias, On Sat, 15 Jul 2023 at 07:01, Tobias Waldekranz wrote: > > > Hi Masahisa, > > On fre, jul 14, 2023 at 14:44, Masahisa Kojima > wrote: > > This series introduces the EFI_RAM_DISK_PROTOCOL implementation. > > The major purpose of this series is a preparation for EFI HTTP(S) boot. > > >

Re: [PATCH v2 1/6] efi_loader: add RAM disk device path

2023-07-17 Thread Masahisa Kojima
Hi Heinrich, On Fri, 14 Jul 2023 at 22:44, Heinrich Schuchardt wrote: > > On 14.07.23 07:44, Masahisa Kojima wrote: > > This is a preparation to add the EFI_RAM_DISK_PROTOCOL. > > This commit adds the RAM disk device path structure > > and text conversion to Device Path to Text Protocol. > > > >

Re: [PATCH 3/3] usb: xhci-pci: Load ASMedia XHCI controller firmware

2023-07-17 Thread Marek Vasut
On 7/15/23 14:51, Mark Kettenis wrote: Date: Fri, 14 Jul 2023 23:30:43 +0200 From: Marek Vasut Hi Marek, Hi, Your suggestions are reasonable, but would make the driver deviate further from its Linux equivalent: https://github.com/AsahiLinux/linux/blob/asahi/drivers/usb/host/xhci-pci-a

Re: [PATCH 1/3] apple: Set up file system firmware loader

2023-07-17 Thread Marek Vasut
On 7/15/23 14:47, Mark Kettenis wrote: Date: Fri, 14 Jul 2023 23:27:42 +0200 From: Marek Vasut On 7/14/23 22:43, Mark Kettenis wrote: Find the appropriate EFI system partition on the internal NVMe storage and set the U-Boot environment variables such that the file system firmware loader can lo

[PATCH] arm: mach-k3: am62a7: change some prints to debug prints

2023-07-17 Thread Bryan Brattlof
There is little need to print the devstat information or when we exit a function during a typical boot. Remove them to reduce the noise during typical operation Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/am62a7_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] ram: k3-ddrss: do not touch ctrl regs during training

2023-07-17 Thread Bryan Brattlof
During LPDDR initialization we will loop through a series of frequency changes in order to train at the various operating frequencies. During this training, accessing the DRAM_CLASS bitfield could happen during a frequency change and cause the read to hang. Store the DRAM type into the main struct

Re: [PATCH 1/2] arm64: dts: rockchip: Sync DT from linux-next

2023-07-17 Thread Eugen Hristev
On 7/17/23 18:42, Jagan Teki wrote: Sync the linux-next from below commit, commit <1642bf66e270> ("arm64: dts: rockchip: add USB2 to rk3588s-rock5a") Also rops the duplicate usb nodes from rk3588s-u-boot.dtsi Signed-off-by: Jagan Teki --- arch/arm/dts/rk3588-edgeble-neu6a.dtsi | 1 - ar

Re: [PATCH 0/2] arm: dts: k3-am6: Sync DT with Linux

2023-07-17 Thread Nishanth Menon
On 17:56-20230710, Roger Quadros wrote: > Hi, > > This series syncs AM64/AM62 DT files with Linux. > > cheeers, > -roger > > Roger Quadros (2): > arm: dts: k3-am64: Sync DT with Linux > board: ti: am64x: Recognize AM64-HSEVM Roger, We need to base on binman stuff. I already posted am62x syn

Re: [PATCH v10 3/4] Boot var automatic management for removable medias

2023-07-17 Thread Raymond Mao
Hi Heinrich, I run 'make tests' with the patches locally but no errors observed from 'test_signed.py', below are few lines from the output console: ``` test/py/tests/test_efi_secboot/test_signed.py [ 90%] ``` Regards, Raymond On Sat, 15

[PATCH] arm: sunxi: Correct warning in board_fit_config_name_match

2023-07-17 Thread Tom Rini
When building this with clang, we get a warning about having excess parenthesis here, or that we're incorrectly using "==" when we want "=". Correct these by using parenthesis around our multiplication of constants as this is what was likely intended originally, even if not strictly required. Sign

[PATCH] arm: omap2: Fix warning in force_emif_self_refresh

2023-07-17 Thread Tom Rini
The function declaration for force_emif_self_refresh takes no parameters but does not specify this, only the prototype in the headers do. As clang will warn about this, correct it. Signed-off-by: Tom Rini --- arch/arm/mach-omap2/emif-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH v2 0/2] power: pmic: add TPS65913 support

2023-07-17 Thread Svyatoslav Ryhel
17 липня 2023 р. 21:52:58 GMT+03:00, Jonas Karlman написав(-ла): >On 2023-07-16 20:57, Svyatoslav Ryhel wrote: >> 16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass >> написав(-ла): >>> Hi Svyatoslav, >>> >>> On Sun, 16 Jul 2023 at 07:04, Svyatoslav Ryhel wrote: 16 липня 2

Re: Please pull u-boot-x86

2023-07-17 Thread Tom Rini
On Mon, Jul 17, 2023 at 08:44:03PM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following x86 related changes for v2023.10 release: > > - bootstd: Add a bootmeth for ChromiumOS on x86 > - x86: Use qemu-x86_64 to boot EFI installers > > Azure results: PASS > https://dev.azure.com/bm

Re: [PATCH v2 0/2] power: pmic: add TPS65913 support

2023-07-17 Thread Jonas Karlman
On 2023-07-16 20:57, Svyatoslav Ryhel wrote: > 16 липня 2023 р. 16:07:55 GMT+03:00, Simon Glass > написав(-ла): >> Hi Svyatoslav, >> >> On Sun, 16 Jul 2023 at 07:04, Svyatoslav Ryhel wrote: >>> >>> >>> >>> 16 липня 2023 р. 11:07:15 GMT+03:00, Jonas Karlman >>> написав(-ла): On 2023-07-16

Re: [PATCH] pci: Fix device_find_first_child() return value handling

2023-07-17 Thread Marek Vasut
On 7/17/23 09:42, Michal Suchánek wrote: Hello, On Sun, Jul 16, 2023 at 05:53:24PM +0200, Marek Vasut wrote: This function only ever returns 0, but may not assign the second parameter. Same thing for device_find_next_child(). Do not assign ret to stop proliferation of this misuse. Reported-by:

Re: [PATCH 1/2] arm64: dts: rockchip: Sync DT from linux-next

2023-07-17 Thread Jonas Karlman
Hi Jagan, On 2023-07-17 17:42, Jagan Teki wrote: > Sync the linux-next from below commit, > commit <1642bf66e270> ("arm64: dts: rockchip: add USB2 to > rk3588s-rock5a") Eugen sent a sync patch earlier, guess this contains a newer sync with more features/nodes :-) See https://patchwork.ozlabs.org/

Re: [PATCH] android_ab: Add option to skip decrementing tries

2023-07-17 Thread Joshua Watt
Ping? On Fri, Jun 23, 2023 at 4:06 PM Joshua Watt wrote: > > 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/

Re: [PATCH v1 4/5] rockchip: evb_rk3229: Update/fix README

2023-07-17 Thread Alex Bee
Hi Jerome, Am 17.07.23 um 15:42 schrieb Jerome Forissier: On 7/16/23 10:10, Alex Bee wrote: This updates the evb_rk3229's README on howto create / use the FIT image created by binman. Also fix some wrong paths and update filenames which have changed in recent upstream optee-os versions. Sign

Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-17 Thread Ondřej Jirman
On Mon, Jul 17, 2023 at 06:01:47PM +0200, Anatolij Gustschin wrote: > > On Thu, 13 Jul 2023 18:03:48 +0200 > Ondřej Jirman m...@xff.cz wrote: > > > On Thu, Jul 13, 2023 at 05:47:47PM +0200, Anatolij Gustschin wrote: > > > > > > On Thu, 13 Jul 2023 16:51:36 +0200 > > > Ondřej Jirman m...@xff.cz w

Re: [PATCH 1/5] imx: imx8mm-beacon: Move environment definition to env file

2023-07-17 Thread Adam Ford
On Mon, Jun 12, 2023 at 11:27 AM Tom Rini wrote: > > On Mon, Jun 12, 2023 at 07:53:53AM -0500, Adam Ford wrote: > > On Sun, May 28, 2023 at 2:18 PM Adam Ford wrote: > > > > > > Instead of cluttering up a header file with a bunch of defines, > > > move the default environmental variables to a file

[PATCH 2/2] rockchip: edgeble-neu6: Append eMMC into spl-boot-order

2023-07-17 Thread Jagan Teki
Now, edgeble-neu6 NCM IO boards support eMMC and SDMMC. So, Update the spl-boot-order to include both. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 10 ++ arch/arm/dts/rk3588-edgeble-neu6b-io-u-boot.dtsi | 10 ++ 2 files changed, 4 insertions(

[PATCH 1/2] arm64: dts: rockchip: Sync DT from linux-next

2023-07-17 Thread Jagan Teki
Sync the linux-next from below commit, commit <1642bf66e270> ("arm64: dts: rockchip: add USB2 to rk3588s-rock5a") Also rops the duplicate usb nodes from rk3588s-u-boot.dtsi Signed-off-by: Jagan Teki --- arch/arm/dts/rk3588-edgeble-neu6a.dtsi | 1 - arch/arm/dts/rk3588-edgeble-neu6b-io.dts |

Re: [PATCH] video: rockchip: Add support for RK3399 to dw-mipi-dsi bridge

2023-07-17 Thread Anatolij Gustschin
On Thu, 25 May 2023 14:29:03 +0200 Ondřej Jirman m...@xff.cz wrote: > From: Ondrej Jirman > > This just needs some extra clocks enabled, and different registers > configured. Copied from Linux, just like the original submitter > of this driver did for rk3568. > > Tested on Pinephone Pro. > > S

Re: [PATCH] fs/erofs: Introduce new features including ztailpacking, fragments and dedupe

2023-07-17 Thread Gao Xiang
On 2023/7/17 23:12, Tom Rini wrote: On Mon, Jul 17, 2023 at 01:27:39PM +0800, Gao Xiang wrote: Hi Tom, On 2023/7/7 23:52, Yifan Zhao wrote: This patch updates erofs driver code to catch up with the latest code of erofs_utils (commit e4939f9eaa177e05d697ace85d8dc283e25dc2ed). LZMA will be s

Re: [PATCH 0/8] Some fixes for the rockchip dw_mipi_dsi driver

2023-07-17 Thread Anatolij Gustschin
On Mon, 22 May 2023 23:47:00 +0200 m...@xff.cz m...@xff.cz wrote: ... > Ondrej Jirman (8): > video: rockchip: vop: Fix whitespace > video: dw_mipi_dsi: Fix hsync/vsync settings > video: rockchip: dw_mipi_dsi: Fix external phy existnece check > video: rockchip: dw_mipi_dsi: Fix error path ch

Re: [PATCH] video: console: Fix default font selection

2023-07-17 Thread Anatolij Gustschin
On Thu, 25 May 2023 14:17:15 +0200 Ondřej Jirman m...@xff.cz wrote: > From: Ondrej Jirman > > Some callers expect to call this with NULL font name to select the > default font (eg. boot/scene.c). Without handling the NULL condition > U-Boot crashes instead of displaying a bootflow GUI menu. > >

Re: [PATCH] video: hx8394: Add panel driver for hannstar,hsd060bhw4

2023-07-17 Thread Anatolij Gustschin
On Thu, 25 May 2023 14:34:35 +0200 Ondřej Jirman m...@xff.cz wrote: > From: Ondrej Jirman > > The driver is for panels based on the Himax HX8394 controller, such as the > HannStar HSD060BHW4 720x1440 TFT LCD panel that uses a MIPI-DSI interface. > This panel is used in Pinephone Pro. > > Signed

Re: [PATCH] video: backlight: pwm: avoid integer overflow in duty cycle calculation

2023-07-17 Thread Anatolij Gustschin
On Fri, 30 Jun 2023 14:30:07 +0200 Matthias Schiffer matthias.schif...@ew.tq-group.com wrote: > The intermediate value could overflow for large periods and levels. > > Signed-off-by: Matthias Schiffer > --- applied to u-boot-video/master, thanks! -- Anatolij

Re: [PATCH] fs/erofs: Introduce new features including ztailpacking, fragments and dedupe

2023-07-17 Thread Tom Rini
On Mon, Jul 17, 2023 at 01:27:39PM +0800, Gao Xiang wrote: > Hi Tom, > > On 2023/7/7 23:52, Yifan Zhao wrote: > > This patch updates erofs driver code to catch up with the latest code of > > erofs_utils (commit e4939f9eaa177e05d697ace85d8dc283e25dc2ed). > > > > LZMA will be supported in the separ

Re: [PATCH v4 0/4] SPL NVMe support

2023-07-17 Thread Tom Rini
On Mon, Jul 17, 2023 at 01:39:52PM +0530, mchit...@ventanamicro.com wrote: > On Wed, 2023-07-12 at 13:12 -0400, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 03:27:45PM +0200, Heinrich Schuchardt wrote: > > > On 12.07.23 15:06, mchit...@ventanamicro.com wrote: > > > > Hi Tom, > > > > > > > > On Tue,

Re: [PATCH 12/18] include: armv7: Enable distroboot across all configs

2023-07-17 Thread Bryan Brattlof
On July 17, 2023 thus sayeth Nishanth Menon: > On 13:39-20230717, Manorit Chawdhry wrote: > > [...] > > > > > + > > > > +#define BOOT_TARGET_DEVICES(func) \ > > > > + BOOT_TARGET_MMC(func) \ > > > > +

Re: Please pull u-boot-video

2023-07-17 Thread Tom Rini
On Sun, Jul 16, 2023 at 10:04:36PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull new video patches for v2023.10. > > CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16923 > > Thanks, > Anatolij > > The following changes since commit 8e21064cb3452950b09301baec

Re: Pull request efi-2023-10-rc1

2023-07-17 Thread Tom Rini
On Sat, Jul 15, 2023 at 12:29:00PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit b3bbad816e97538c8c3b8acad7c7e134261cf3a3: > > Merge branch '2023-07-14-expo-initial-config-editor' (2023-07-14 > 13:26:42 -0400) > > are available in the Git repository at:

Re: [PATCH v7 00/23] Migration to using binman for bootloader

2023-07-17 Thread Maxime Ripard
On Mon, Jul 17, 2023 at 06:38:22PM +0530, Neha Malcom Francis wrote: > Hi Maxime > > On 17/07/23 18:19, Maxime Ripard wrote: > > Hi, > > > > On Fri, Jul 14, 2023 at 07:20:47PM +0530, Neha Malcom Francis wrote: > > > This series aims to eliminate the use of additional custom repositories > > > suc

Re: [PATCH v7 00/23] Migration to using binman for bootloader

2023-07-17 Thread Maxime Ripard
Hi, On Fri, Jul 14, 2023 at 07:20:47PM +0530, Neha Malcom Francis wrote: > This series aims to eliminate the use of additional custom repositories > such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 > Security Development Tools) that was plumbed into the U-Boot build flow > to

Re: [RFC PATCH 0/4] arm: dts: Sync k3-am62 with upstream

2023-07-17 Thread Maxime Ripard
Hi, On Thu, Jul 13, 2023 at 02:20:15AM -0500, Nishanth Menon wrote: > This series depends on Neha's binman series[1] and is intended for > review and I will repost once binman series is merged in. > > I have picked up part of Sjoerd's series[2] to keep it constrained just > to dts sync at this po

Re: [PATCH 12/18] include: armv7: Enable distroboot across all configs

2023-07-17 Thread Nishanth Menon
On 13:39-20230717, Manorit Chawdhry wrote: [...] > > > + > > > +#define BOOT_TARGET_DEVICES(func) \ > > > + BOOT_TARGET_MMC(func) \ > > > + BOOT_TARGET_USB(func) \ > > > + BOOT_TARGET_PXE(func) \ > > > + BOOT_TA

Re: [PATCH v1 4/5] rockchip: evb_rk3229: Update/fix README

2023-07-17 Thread Jerome Forissier
On 7/16/23 10:10, Alex Bee wrote: > This updates the evb_rk3229's README on howto create / use the FIT image > created by binman. > Also fix some wrong paths and update filenames which have changed in recent > upstream optee-os versions. > > Signed-off-by: Alex Bee > --- > board/rockchip/evb_

Re: [PATCH v7 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-17 Thread Nishanth Menon
On 13:21-20230717, Neha Malcom Francis wrote: > Hi Nishanth > > On 17/07/23 11:41, Neha Malcom Francis wrote: > > Hi Nishanth, > > > > On 15/07/23 12:00, Neha Malcom Francis wrote: > > > Hi Nishanth > > > > > > On 15/07/23 11:44, Nishan

[PATCH v3] fpga: add inline stub for fpga_load

2023-07-17 Thread Eugen Hristev
In case CC_OPTIMIZE_FOR_DEBUG is set, unused code will not be optimized out, hence the reference to fpga_load will be compiled. if DM_FPGA and SPL_FPGA are not set, the build will fail with : aarch64-none-linux-gnu-ld.bfd: common/spl/spl_fit.o: in function `spl_fit_upload_fpga': u-boot/common/spl

Re: [PATCH v7 00/23] Migration to using binman for bootloader

2023-07-17 Thread Neha Malcom Francis
Hi Maxime On 17/07/23 18:19, Maxime Ripard wrote: Hi, On Fri, Jul 14, 2023 at 07:20:47PM +0530, Neha Malcom Francis wrote: This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 Security Development Tools)

Please pull u-boot-x86

2023-07-17 Thread Bin Meng
Hi Tom, This PR includes the following x86 related changes for v2023.10 release: - bootstd: Add a bootmeth for ChromiumOS on x86 - x86: Use qemu-x86_64 to boot EFI installers Azure results: PASS https://dev.azure.com/bmeng/GitHub/_build/results?buildId=494&view=results The following changes sin

Re: [PATCH v3 4/6] sysinfo: Add documentation

2023-07-17 Thread Detlev Casanova
On Friday, July 14, 2023 1:31:00 P.M. EDT Marek Vasut wrote: > On 7/14/23 18:43, Detlev Casanova wrote: > > [...] > > > +Return value > > + > > + > > +The return value $? is set to 0 (true) if the command succededd > > succeeded -- typo > > . If an > > > +error occurs, the return v

[PATCH v2 4/4] usb: gadget: ether: Handle gadget driver registration in probe and remove

2023-07-17 Thread Marek Vasut
Move the ethernet gadget driver registration and removal from ethernet bind and unbind callbacks into driver DM probe and remove callbacks. This way, when the driver is bound, which is triggered deliberately using 'bind' command, the USB ethernet gadget driver is instantiated and bound to the match

[PATCH v2 3/4] usb: gadget: ether: Move probe function above driver structure

2023-07-17 Thread Marek Vasut
Move the driver probe function above the driver structure, so it can be placed alongside other related functions, like upcoming remove function. No functional change. Signed-off-by: Marek Vasut --- Cc: Kevin Hilman Cc: Lukasz Majewski Cc: Marek Vasut Cc: Simon Glass --- V2: No change --- dri

[PATCH v2 2/4] usb: gadget: ether: Inline functions used once

2023-07-17 Thread Marek Vasut
These functions here are only ever called once since drop of non-DM networking code. Inline them. No functional change. Signed-off-by: Marek Vasut --- Cc: Kevin Hilman Cc: Lukasz Majewski Cc: Marek Vasut Cc: Simon Glass --- V2: No change --- drivers/usb/gadget/ether.c | 48 +++---

[PATCH v2 1/4] cmd: bind: Add unbind command with driver filter

2023-07-17 Thread Marek Vasut
Extend the driver core to perform lookup by both OF node and driver bound to the node. Use this to look up specific device instances to unbind from nodes in the unbind command. One example where this is needed is USB peripheral controller, which may have multiple gadget drivers bound to it. The unb

Re: [PATCH v4 08/12] CI: capsule: Setup the files needed for capsule update testing

2023-07-17 Thread Sughosh Ganu
hi Simon, On Sun, 16 Jul 2023 at 05:12, Simon Glass wrote: > > Hi, > > On Sat, 15 Jul 2023 at 07:46, Sughosh Ganu wrote: > > > > Support has being added through earlier commits to build capsules > > and embed the public key needed for capsule authentication as part of > > u-boot build. > > > > F

Re: [PATCH v4 12/12] sandbox: capsule: Generate capsule related files through binman

2023-07-17 Thread Sughosh Ganu
hi Simon, On Sun, 16 Jul 2023 at 05:12, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 15 Jul 2023 at 07:46, Sughosh Ganu wrote: > > > > The EFI capsule files can now be generated as part of u-boot > > build. This is done through binman. Add capsule entry nodes in the > > u-boot.dtsi for the san

Re: [PATCH 08/18] environment: ti: Make get_fdt_mmc common

2023-07-17 Thread Nikhil M Jain
Hi Manorit, On 14/07/23 11:22, Manorit Chawdhry wrote: From: Andrew Davis Since get_fdt_mmc is common, factor it out into mmc.env and remove it from each platform env file along with changing the directory path to reflect the standards. Use it in mmcloados but keep loadfdt defined in case it i

Re: [PATCH 07/18] environment: ti: Prefix ARM64 DTB names with directory

2023-07-17 Thread Nikhil M Jain
On 14/07/23 11:22, Manorit Chawdhry wrote: From: Andrew Davis In Linux the ARM64 DTSs are stored in vendor directories to help organize the files and prevent naming collisions. The deployed DTBs will mirror this and so the vendor prefix should be added to the variable used to locate these fil

Re: [PATCH v4 01/12] binman: bintool: Build a tool from a list of commands

2023-07-17 Thread Sughosh Ganu
hi Simon, On Sun, 16 Jul 2023 at 05:12, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 15 Jul 2023 at 07:46, Sughosh Ganu wrote: > > > > Add support to build a tool from source with a list of commands. This > > is useful when a tool can be built with multiple commands instead of a > > single com

Re: [PATCH v4 06/12] binman: capsule: Add support for generating capsules

2023-07-17 Thread Sughosh Ganu
hi Simon, On Sun, 16 Jul 2023 at 05:12, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 15 Jul 2023 at 07:46, Sughosh Ganu wrote: > > > > Add support in binman for generating capsules. The capsule parameters > > can be specified either through a config file or through the capsule > > binman entry

Re: [PATCH v3] event: Add fpga load event

2023-07-17 Thread Michal Simek
On 7/12/23 13:39, christian.taedcke-...@weidmueller.com wrote: From: Christian Taedcke This enables implementing custom logic after a bitstream was loaded into the fpga. Signed-off-by: Christian Taedcke --- Changes in v3: - replace #if with if - remove previously added printf - return not

Re: [PATCH v4 11/12] sandbox: capsule: Add a config file for generating capsules

2023-07-17 Thread Sughosh Ganu
hi Simon, On Sun, 16 Jul 2023 at 05:12, Simon Glass wrote: > > Hi, > > On Sat, 15 Jul 2023 at 07:46, Sughosh Ganu wrote: > > > > Support has been added to the mkeficapsule tool to generate capsules > > by parsing the capsule parameters through a config file. Add a config > > file for generating

Re: [PATCH v4 03/12] capsule: authenticate: Add capsule public key in platform's dtb

2023-07-17 Thread Sughosh Ganu
hi Simon, On Sun, 16 Jul 2023 at 05:12, Simon Glass wrote: > > Hi Sughosh, > > On Sat, 15 Jul 2023 at 07:46, Sughosh Ganu wrote: > > > > 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'

Re: [PATCH 13/18] configs: k3: make consistent bootcmd across all k3 socs

2023-07-17 Thread Nikhil M Jain
Hi Manorit, On 14/07/23 11:22, Manorit Chawdhry wrote: From: Kamlesh Gurudasani Default to common bootcmd that is set across all k3 devices. Signed-off-by: Manorit Chawdhry Signed-off-by: Kamlesh Gurudasani --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62x_evm_a53_defconfig | 3

Re: [PATCH 13/18] configs: k3: make consistent bootcmd across all k3 socs

2023-07-17 Thread Nikhil M Jain
Hi Manorit, On 14/07/23 11:22, Manorit Chawdhry wrote: From: Kamlesh Gurudasani Default to common bootcmd that is set across all k3 devices. Signed-off-by: Manorit Chawdhry Signed-off-by: Kamlesh Gurudasani --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62x_evm_a53_defconfig | 3

Re: [PATCH v2] x86: Update docs link in bootparam header

2023-07-17 Thread Bin Meng
On Sun, Jul 9, 2023 at 5:48 PM Heinrich Schuchardt wrote: > > On 7/9/23 11:44, Paul Barker wrote: > > After Linux commit ff61f0791ce9, x86 documentation was moved to > > arch/x86 and the link in bootparam.h was broken. > > > > Signed-off-by: Paul Barker > > Reviewed-by: Heinrich Schuchardt > > >

Re: [PATCH 00/17] arm64: zynqmp: Sync DTs was [Hi,]

2023-07-17 Thread Michal Simek
On 7/10/23 14:37, Michal Simek wrote: sending couple of DT patches to be in sync with Linux repository. There are still some changes but we are working on it to get them fully in sync for SystemReady IR certification. Thanks, Michal Harini Katakam (3): arm64: zynqmp: Assign TSU clock fr

Re: [PATCH v5 00/46] x86: Use qemu-x86_64 to boot EFI installers

2023-07-17 Thread Bin Meng
Hi Simon, On Sun, Jul 16, 2023 at 11:39 AM Simon Glass wrote: > > This series adds various minor features so that qemu-x86_64 can boot the > Ubuntu 2022.04 installer using a virtio device: > > qemu-system-x86_64 -M pc -drive format=raw,file=root.img > -bios /tmp/b/qemu-x86_64/u-boot.r

Re: [PATCH v5 37/46] x86: Record the start and end of the tables

2023-07-17 Thread Bin Meng
On Sun, Jul 16, 2023 at 11:40 AM Simon Glass wrote: > > The ACPI tables are special in that they are passed to EFI as a separate > piece, independent of other tables. > > Also they can be spread over two areas of memory, e.g. with QEMU we end > up with tables kept in high memory as well. > > Add n

Re: [PATCH] mtd: Add missing MTD dependency for cfi_mtd

2023-07-17 Thread Michal Simek
On 7/4/23 14:04, Michal Simek wrote: cfi_mtd requires add_mtd_device() which is available only when MTD is enabled that's why record this dependency. Signed-off-by: Michal Simek --- drivers/mtd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/Kconfi

Re: [PATCH] mmc: zynq_sdhci: Dll reset only for ZynqMP platform

2023-07-17 Thread Michal Simek
On 7/10/23 14:11, Michal Simek wrote: From: Ashok Reddy Soma Dll reset is needed only for ZynqMP platforms, add condition in tuning to call arasan_zynqmp_dll_reset() just for ZynqMP platforms. On other platforms like Versal NET, If this condition is not added, we see PLM error messages when

Re: [PATCH] mtd: spi-nor: Add support for w25q256jwm

2023-07-17 Thread Michal Simek
On 6/26/23 05:32, Venkatesh Yadav Abbarapu wrote: Add support for Winbond 256M-bit flash w25q256jwm. Performed basic erase/write/readback operations on ZynqMP zc1751+dc1 board. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertion

Re: [PATCH v2] xilinx: zynqmp: Extract aes operation into new file

2023-07-17 Thread Michal Simek
On 7/10/23 16:09, christian.taedcke-...@weidmueller.com wrote: From: Christian Taedcke This moves the aes operation that is performed by the pmu into a separate file. This way it can be called not just from the shell command, but also e.g. from board initialization code. Signed-off-by: Chri

Re: [PATCH] arm64: zynqmp: Switch to amd.com emails

2023-07-17 Thread Michal Simek
On 7/10/23 14:35, Michal Simek wrote: Update my and DPs email address to match current setup. Signed-off-by: Michal Simek --- The same changes have been done in Linux. Link: https://lore.kernel.org/r/108cbbbab29e13d386d38a779fd582f10844a030.1685443337.git.michal.si...@amd.com --- arch/a

Re: [PATCH] xilinx: zynq: Enable fdt apply utility for zynq

2023-07-17 Thread Michal Simek
On 7/10/23 13:56, Michal Simek wrote: From: Raju Kumar Pothuraju Enables the FDT library (libfdt) overlay support for zynq platforms to be able to use fdt apply command. Signed-off-by: Raju Kumar Pothuraju Signed-off-by: Michal Simek --- configs/xilinx_zynq_virt_defconfig | 1 + 1 fil

Re: [PATCH 14/18] board: ti: keys: add .key and .crt for fit signature signing

2023-07-17 Thread Manorit Chawdhry
On 09:32-20230714, Andrew Davis wrote: > On 7/14/23 12:52 AM, Manorit Chawdhry wrote: > > Fit signature mechanism through the standards require the presence of > > .key and .crt in the folder with the same name, since we are using our > > custMpk only for the signing, update the format to that of s

Re: [PATCH v4 0/4] SPL NVMe support

2023-07-17 Thread mchitale
On Wed, 2023-07-12 at 13:12 -0400, Tom Rini wrote: > On Wed, Jul 12, 2023 at 03:27:45PM +0200, Heinrich Schuchardt wrote: > > On 12.07.23 15:06, mchit...@ventanamicro.com wrote: > > > Hi Tom, > > > > > > On Tue, 2023-06-20 at 09:37 -0400, Tom Rini wrote: > > > > On Sat, 03 Jun 2023 19:32:52 +0530,

Re: [PATCH 12/18] include: armv7: Enable distroboot across all configs

2023-07-17 Thread Manorit Chawdhry
Hi Simon, On 17:40-20230715, Simon Glass wrote: > Hi Manorit, > > On Thu, 13 Jul 2023 at 23:54, Manorit Chawdhry wrote: > > > > Since K3 devices are moving towards distroboot, remove duplicates and > > add it in common file to import from. > > > > Signed-off-by: Manorit Chawdhry > > --- > > in

Re: [PATCH 03/18] board: ti: am64x: am64x.env: set fdtfile env variable

2023-07-17 Thread Nikhil M Jain
On 14/07/23 11:22, Manorit Chawdhry wrote: From: Kamlesh Gurudasani Set fdtfile env variable similar to other k3 socs. Signed-off-by: Kamlesh Gurudasani Signed-off-by: Manorit Chawdhry --- board/ti/am64x/am64x.env | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Nikhil M Jain

Re: [PATCH v7 05/23] j721e: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-17 Thread Neha Malcom Francis
Hi Nishanth On 17/07/23 11:41, Neha Malcom Francis wrote: Hi Nishanth, On 15/07/23 12:00, Neha Malcom Francis wrote: Hi Nishanth On 15/07/23 11:44, Nishanth Menon wrote: On 19:20-20230714, Neha Malcom Francis wrote: Since you are going to respin anyways, I will complain about this: +#ifde

Re: [PATCH] pci: Fix device_find_first_child() return value handling

2023-07-17 Thread Michal Suchánek
Hello, On Sun, Jul 16, 2023 at 05:53:24PM +0200, Marek Vasut wrote: > This function only ever returns 0, but may not assign the second > parameter. Same thing for device_find_next_child(). Do not assign > ret to stop proliferation of this misuse. > > Reported-by: Jonas Karlman > Signed-off-by: M

[PATCH v6 3/3] binman: Add tests for etype encrypted

2023-07-17 Thread christian . taedcke-oss
From: Christian Taedcke Add tests to reach 100% code coverage for the added etype encrypted. Signed-off-by: Christian Taedcke --- (no changes since v5) Changes in v5: - add comments to test functions Changes in v4: - fix failing test testEncryptedKeyFile Changes in v3: - rebase on u-boot-dm

[PATCH v6 1/3] binman: Add support for externally encrypted blobs

2023-07-17 Thread christian . taedcke-oss
From: Christian Taedcke This adds a new etype encrypted. It creates a new cipher node in the related image similar to the cipher node used by u-boot, see boot/image-cipher.c. Signed-off-by: Christian Taedcke --- Changes in v6: - fix documentation of encrypted etype Changes in v5: - encrypted

[PATCH v6 2/3] binman: Allow cipher node as special section

2023-07-17 Thread christian . taedcke-oss
From: Christian Taedcke The new encrypted etype generates a cipher node in the device tree that should not be evaluated by binman, but still be kept in the output device tree. Signed-off-by: Christian Taedcke --- (no changes since v3) Changes in v3: - rebase on u-boot-dm/mkim-working tools/

[PATCH v6 0/3] binman: Add support for externally encrypted blobs

2023-07-17 Thread christian . taedcke-oss
From: Christian Taedcke This series adds the functionality to handle externally encrypted blobs to binman. It includes the functionality itself and the corresponding unit tests. The following block shows an example on how to use this functionality. In the device tree that is parsed by binman a n