Re: [RFC PATCH v3 8/8] tools: gen_pre_load_header.sh: initial import

2021-12-09 Thread Rasmus Villemoes
On 10/12/2021 01.14, Simon Glass wrote: > Hi, > > On Wed, 8 Dec 2021 at 11:10, Philippe REYNES > wrote: >> >> >> Everybody agrees with this proposal ? > > So long as this is not a shell script and is done with a binman entry, yes. No, no and please no. Binman really isn't as wonderful and magi

Re: [PATCH 1/2] fsl-layerscape: add dtb overlay feature

2021-12-09 Thread François Ozog
Hi Michael Le lun. 29 nov. 2021 à 18:47, Michael Walle a écrit : > Hi Sahil, > > Am 2021-11-29 12:55, schrieb Sahil Malhotra (OSS): > > Am 2021-11-17 19:11, schrieb Sahil Malhotra (OSS): > >>> Could you please add some description what this is doing and for what > >>> this is intended? To have a

[RFC v2 20/20] efi_driver: align with efi_disk-dm integration

2021-12-09 Thread AKASHI Takahiro
With DM-efi_disk integration, we don't need to explicitly call efi_disk_create_partitions(). The only thing to do is to associate an efi_disk object to the corresponding udevice as we skip most of processing in efi_disk_probe() by the previous commit ("efi_loader: disk: not create BLK device for B

[RFC v2 19/20] efi_loader: disk: not create BLK device for BLK(IF_TYPE_EFI) devices

2021-12-09 Thread AKASHI Takahiro
When we create an efi_disk device with an UEFI application using driver binding protocol, the 'efi_driver' framework tries to create a corresponding block device(UCLASS_BLK/IF_TYPE_EFI). This will lead to calling a PROBE callback, efi_disk_probe(). In this case, however, we don't need to create ano

[RFC v2 17/20] dm: disk: add read/write interfaces with udevice

2021-12-09 Thread AKASHI Takahiro
In include/blk.h, Simon suggested: ===> /* * These functions should take struct udevice instead of struct blk_desc, * but this is convenient for migration to driver model. Add a 'd' prefix * to the function operations, so that blk_read(), etc. can be reserved for * functions with the correct ar

[RFC v2 18/20] efi_loader: disk: use udevice instead of blk_desc

2021-12-09 Thread AKASHI Takahiro
In most of all cases, we can avoid using blk_desc which is expected to be private to udevice(UCLASS_BLK), that is, the data should not be manupulated outside the device driver unless really needed. Now efi_disk's internally use dev_read/write() interfaces. Signed-off-by: AKASHI Takahiro --- lib

[RFC v2 16/20] efi_loader: disk: a helper function to delete efi_disk objects

2021-12-09 Thread AKASHI Takahiro
This function is expected to be called, in particular from dm's pre_remove hook, when associated block devices no longer exist. Add efi_disk_remove() function. This function removes an efi_disk object for a raw disk device (UCLASS_BLK) and related objects for its partitions (UCLASS_PARTITION). So

[RFC v2 13/20] dm: disk: add UCLASS_PARTITION

2021-12-09 Thread AKASHI Takahiro
With this new function, UCLASS_PARTITION devices will be created as child nodes of UCLASS_BLK device. Signed-off-by: AKASHI Takahiro --- disk/Makefile | 3 + disk/disk-uclass.c | 153 + include/dm/uclass-id.h | 1 + include/part.h

[RFC v2 15/20] efi_loader: disk: a helper function to create efi_disk objects from udevice

2021-12-09 Thread AKASHI Takahiro
Add efi_disk_probe() function. This function creates an efi_disk object for a raw disk device (UCLASS_BLK) and additional objects for related partitions (UCLASS_PARTITION). So this function is expected to be called through driver model's "probe" interface every time one raw disk device is detected

[RFC v2 14/20] dm: blk: add a device-probe hook for scanning disk partitions

2021-12-09 Thread AKASHI Takahiro
Now that all the block device drivers have enable a probe hook, we will call part_create_block_devices() to enumerate all the partitions and create associated udevices when a block device is detected. Signed-off-by: AKASHI Takahiro --- drivers/block/blk-uclass.c | 4 1 file changed, 4 inser

[RFC v2 12/20] dm: add tag support

2021-12-09 Thread AKASHI Takahiro
With dm-tag feature, any U-Boot subsystem is allowed to associate arbitrary number of data with a particular udevice. This can been see as expanding "struct udevice" without modifying the definition. As a first user, UEFI subsystem makes use of tags to associate an efi_disk object with a block dev

[RFC v2 11/20] dm: add event notification

2021-12-09 Thread AKASHI Takahiro
From: Simon Glass This is a draft implementation of event notification mechanism from Simon. Under this scheme, any U-Boot subsystem can register some kind of callback function to a particular event (more event types will be added later) and that function will be invoked once the event is fired.

[RFC v2 10/20] virtio: call device_probe() in scanning

2021-12-09 Thread AKASHI Takahiro
virtio_init() enumerates all the peripherals that are to be materialised with udevices(UCLASS_VIRIO) and creates particular device instances (UCLASS_BlK or whatever else) as children. On the other hand, device_probe() won't be invoked against those resultant udevices unlike other ordinary device dr

[RFC v2 09/20] dm: fix an 'undefined' error in some macros

2021-12-09 Thread AKASHI Takahiro
Due to a non-existing parameter name in macro's, use of those macro's will cause a compiler error of "undefined reference". Unfortunately, dm test doesn't fail because a wrong name ("&dev", hence it is accidentally a valid name in the context of a caller site) is passed on. Signed-off-by: AKASHI T

[RFC v2 08/20] block: ide: call device_probe() after scanning

2021-12-09 Thread AKASHI Takahiro
Every time an ide bus/port is scanned and a new device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro Reviewed-b

[RFC v2 07/20] sata: call device_probe() after scanning

2021-12-09 Thread AKASHI Takahiro
Every time a sata bus/port is scanned and a new device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro --- drive

[RFC v2 06/20] nvme: call device_probe() after scanning

2021-12-09 Thread AKASHI Takahiro
Every time a nvme bus/port is scanned and a new device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro Reviewed-b

[RFC v2 05/20] mmc: call device_probe() after scanning

2021-12-09 Thread AKASHI Takahiro
Every time a mmc bus/port is scanned and a new device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro --- driver

[RFC v2 04/20] usb: storage: call device_probe() after scanning

2021-12-09 Thread AKASHI Takahiro
Every time a usb bus/port is scanned and a new device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro Reviewed-by

[RFC v2 03/20] scsi: call device_probe() after scanning

2021-12-09 Thread AKASHI Takahiro
Every time a scsi bus/port is scanned and a new block device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro Revi

[RFC v2 02/20] blk: add a helper function, blk_probe_or_unbind()

2021-12-09 Thread AKASHI Takahiro
This function will be commonly used in block device drivers in the succeeding patches. Signed-off-by: AKASHI Takahiro --- drivers/block/blk-uclass.c | 13 + include/blk.h | 12 2 files changed, 25 insertions(+) diff --git a/drivers/block/blk-uclass.c b/driv

[RFC v2 01/20] part: call part_init() in blk_get_device_by_str() only for MMC

2021-12-09 Thread AKASHI Takahiro
In blk_get_device_by_str(), the comment says: "Updates the partition table for the specified hw partition." Since hw partition is supported only on MMC, it makes no sense to do so for other devices. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- disk/part.c | 3 ++- 1 file changed,

[RFC v2 00/20] efi_loader: more tightly integrate UEFI disks to driver model

2021-12-09 Thread AKASHI Takahiro
# This is a kind of snapshot of my current work. # I submit this to show my progress on this effort, and then # I haven't addressed all the issues in this version. # See the change history below. The purpose of this RPC is to reignite the discussion about how UEFI subystem would best be integrated

RE: [PATCH 1/2] fsl-layerscape: add dtb overlay feature

2021-12-09 Thread Sahil Malhotra (OSS)
Hi Andrey, > -Original Message- > From: ZHIZHIKIN Andrey > Sent: Wednesday, December 8, 2021 3:43 PM > To: Sahil Malhotra (OSS) ; Michael Walle > > Cc: Clément Faure ; Gaurav Jain > ; Pankaj Gupta ; Priyanka > Jain ; u-boot@lists.denx.de; Varun Sethi > ; Ye Li > Subject: RE: [PATCH 1/2]

Re: [PATCH v2] rsa: adds rsa3072 algorithm

2021-12-09 Thread Jamin Lin
The 12/10/2021 00:15, Simon Glass wrote: > Hi Jamin, > > On Wed, 8 Dec 2021 at 20:57, Jamin Lin wrote: > > > > Add to support rsa 30272 bits algorithm in tools > > 3072 > Will fix > > for image sign at host side and adds rsa 3027 bits > > 3072 ? > Will fix > > verification in the image binary

[PATCH v3 1/1] rsa: adds rsa3072 algorithm

2021-12-09 Thread Jamin Lin
Add to support rsa 3072 bits algorithm in tools for image sign at host side and adds rsa 3072 bits verification in the image binary. Add test case in vboot for sha384 with rsa3072 algorithm testing. Signed-off-by: Jamin Lin --- include/u-boot/rsa.h| 1 + lib/rsa/rsa-ver

[PATCH v3 0/1] rsa: adds rsa3072 algorithm

2021-12-09 Thread Jamin Lin
Add to support rsa 3072 bits algorithm in tools for make-image signing at host side and add rsa 3072 bits verification in the image binary. v3: - Fix typo - Add test case in vboot for rsa3072 testing v2: - update to send a single patch Jamin Lin (1): rsa: adds rsa3072 algorithm include/u-

Re: [PATCH v1] Cubieboard2:Fix Cubieboard2 freeze, when LED boot enabled

2021-12-09 Thread Javad Rahimi
On Thu, Dec 9, 2021 at 7:18 PM Andre Przywara wrote: Hi Andre, > > On Thu, 9 Dec 2021 18:50:06 +0330 > Javad Rahimi wrote: > > Hi Javad, > > thanks for the patch! > > > When enabling the LED support for Cubieboard2 (SUN7I) > > the uboot freezes in status_led_init() function. > > It uses a stati

Re: [PATCH] iot2050: binman: add missing-msg for blobs

2021-12-09 Thread Simon Glass
Hi Ivan, On Thu, 9 Dec 2021 at 06:11, Ivan Mikhaylov wrote: > > From: Ivan Mikhaylov > > Add the 'missing-msg' for blobs for more detailed output on missing system > firmware and SEBoot blobs. > > Signed-off-by: Ivan Mikhaylov > --- > arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 + >

Re: [PATCH v2] rsa: adds rsa3072 algorithm

2021-12-09 Thread Simon Glass
Hi Jamin, On Wed, 8 Dec 2021 at 20:57, Jamin Lin wrote: > > Add to support rsa 30272 bits algorithm in tools 3072 > for image sign at host side and adds rsa 3027 bits 3072 ? > verification in the image binary. > > Signed-off-by: Jamin Lin > wq > --- > include/u-boot/rsa.h | 1 + > lib/rsa

Re: [RFC PATCH v3 8/8] tools: gen_pre_load_header.sh: initial import

2021-12-09 Thread Simon Glass
Hi, On Wed, 8 Dec 2021 at 11:10, Philippe REYNES wrote: > > Hi Rasmus, > > First, thanks for the feedback. > > > Le 06/12/2021 à 09:23, Rasmus Villemoes a écrit : > > On 17/11/2021 18.52, Philippe Reynes wrote: > >> This commit adds a script gen_pre_load_header.sh > >> that generate the header us

Re: [PATCH] dt-bindings: u-boot: Add a few more options bindings

2021-12-09 Thread Rob Herring
On Fri, Nov 19, 2021 at 6:04 PM Simon Glass wrote: > > This adds three new options with varying degree of interest / precedent. Send these to devicetree-spec list so it's not in the flood of devicetree-discuss. > > This being sent to the mailing list since it might attract more review. > A PR wi

Re: [PATCH 1/4] rockchip: gru: Set up SoC IO domain registers

2021-12-09 Thread Alper Nebi Yasak
On 09/12/2021 05:32, Simon Glass wrote: > On Tue, 7 Dec 2021 at 13:31, Alper Nebi Yasak > wrote: >> On 03/12/2021 06:31, Simon Glass wrote: >>> On Thu, 25 Nov 2021 at 10:40, Alper Nebi Yasak >>> wrote: The RK3399 SoC needs to know the voltage value provided by some regulators, which i

Re: [PATCH v5 22/28] x86: efi: Show the system-table revision

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: Show the revision of this table as it can be important. Alo update the 'efi table' entry to show the actual address of the EFI %s/Alo/Also/ table rather than our table that points to it. This saves a step and the intermediate table has nothing else in it.

Re: [PATCH v5 21/28] efi: Support the efi command in the app

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: At present the 'efi' command only works in the EFI payload. Update it to work in the app too, so the memory map can be examined. cmd/efi.c seems to be duplicating function do_efi_show_memmap(). In a future patch we should try to move to using common code for

Re: [PATCH v5 17/28] efi: Mention that efi_info_get() is only used in the stub

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: This provides access to EFI tables after U-Boot has exited boot services. It is not needed in the app since boot services remain alive and we can just call them whenever needed. Add a comment to explain this. Signed-off-by: Simon Glass --- (no changes sinc

Re: [PATCH v5 16/28] efi: Check for failure when initing the app

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: The stub checks for failure with efi_init(). Add this for the app as well. It is unlikely that anything can be done, but we may as well stop. Signed-off-by: Simon Glass --- (no changes since v1) lib/efi/efi_app.c | 7 +-- 1 file changed, 5 insertion

Re: [PATCH v5 18/28] efi: Show when allocated pages are used

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: Add a message here so that both paths of memory allocation are reported. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Use log_info() instead of printf() lib/efi/efi_app.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH v5 05/28] efi: serial: Support arrow keys

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: At present only the backspace key is supported in U-Boot, when running as an EFI app. Add support for arrows, home and end as well, to make the CLI more friendly. Signed-off-by: Simon Glass --- (no changes since v1) drivers/serial/serial_efi.c | 11 +

Re: [PATCH v5 04/28] efi: Locate all block devices in the app

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 10:43, Heinrich Schuchardt wrote: On 12/4/21 16:56, Simon Glass wrote: When starting the app, locate all block devices and make them available to U-Boot. This allows listing partitions and accessing files in filesystems. EFI also has the concept of 'disks', meaning boot media. For no

Re: [PATCH v5 03/28] efi: Add a media/block driver for EFI block devices

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: Add a block driver which handles read/write for EFI block devices. This driver actually already exists ('efi_block') but is not really suitable for use as a real U-Boot driver: - The operations do not provide a udevice - The code is designed for running as pa

Re: [PATCH v5 02/28] efi: Add EFI uclass for media

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: At present UCLASS_EFI is used to represent an EFI filesystem among other %s/UCLASS_EFI/UCLASS_EFI_LOADER/ things. The description of this uclass is "EFI managed devices" which is pretty vague. The only driver that uses this uclass is in fact not a real U-B

Re: [PATCH v5 01/28] efi: Rename UCLASS_EFI and IF_TYPE_EFI

2021-12-09 Thread Heinrich Schuchardt
On 12/4/21 07:56, Simon Glass wrote: These names are better used for access to devices provided by an EFI layer. Use EFI_LOADER instead here, since these are only available in U-Boot's EFI_LOADER layer. Signed-off-by: Simon Glass --- Changes in v5: - Add new patch to resolve EFI/EFI_LOADER con

[PATCH 1/1] arm: dts: Aspeed: add Bletchley dts

2021-12-09 Thread Potin Lai
Signed-off-by: Potin Lai --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/ast2600-bletchley.dts | 324 + 2 files changed, 326 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/ast2600-bletchley.dts diff --git a/arch/arm/dts/Makefile b/arch/arm

[PATCH] iot2050: binman: add missing-msg for blobs

2021-12-09 Thread Ivan Mikhaylov
From: Ivan Mikhaylov Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs. Signed-off-by: Ivan Mikhaylov --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 + tools/binman/missing-blob-help | 11 +++ 2 files changed,

Re: ARM: mach-at91: how to stop U-Boot/SPL from disabling the watchdog timer on SAMAD3 Xplained

2021-12-09 Thread Quentin Schulz
Hi Michael, On Thu, Dec 09, 2021 at 05:32:51PM +0100, Michael Opdenacker wrote: > Greetings, > > Documenting the issue and a workaround here in case other people > encounter it, but if you have tips for fixing the issue in U-Boot, I'm > interested of course! > > I noticed that the SAMA5D3 Xplain

ARM: mach-at91: how to stop U-Boot/SPL from disabling the watchdog timer on SAMAD3 Xplained

2021-12-09 Thread Michael Opdenacker
Greetings, Documenting the issue and a workaround here in case other people encounter it, but if you have tips for fixing the issue in U-Boot, I'm interested of course! I noticed that the SAMA5D3 Xplained board didn't have the watchdog timer enabled in the Linux DTS. I submitted a patch to fix th

Re: [PATCH v2 1/3] efi_loader: efi_tcg2_register returns appropriate error

2021-12-09 Thread Ilias Apalodimas
On Tue, 7 Dec 2021 at 07:11, Masahisa Kojima wrote: > > This commit modify efi_tcg2_register() to return the > appropriate error. > With this fix, sandbox will not boot because efi_tcg2_register() > fails due to some missing feature in GetCapabilities. > So disable sandbox if EFI_TCG2_PROTOCOL is

Re: [PATCH v2 2/3] efi_loader: check tcg2 protocol installation outside the TCG protocol

2021-12-09 Thread Ilias Apalodimas
On Tue, 7 Dec 2021 at 07:11, Masahisa Kojima wrote: > > There are functions that calls tcg2_agile_log_append() outside > of the TCG protocol invocation (e.g tcg2_measure_pe_image). > These functions must to check that TCG2 protocol is installed. > If not, measurement shall be skipped. > > Signed-o

Re: [PATCH v1] Cubieboard2:Fix Cubieboard2 freeze, when LED boot enabled

2021-12-09 Thread Andre Przywara
On Thu, 9 Dec 2021 18:50:06 +0330 Javad Rahimi wrote: Hi Javad, thanks for the patch! > When enabling the LED support for Cubieboard2 (SUN7I) > the uboot freezes in status_led_init() function. > It uses a static global variable, while the .BSS is defined in DRAM area > while that function is c

Re: [PATCH v2 3/3] efi_loader: correctly handle no tpm device error

2021-12-09 Thread Ilias Apalodimas
Heinrich does this approach work for you till we fix the DM-EFI integration? At least it tries to cover some cases were the efi protocol is installed (which means the tpm was there in the beginning), but later on is removed On Tue, 7 Dec 2021 at 07:11, Masahisa Kojima wrote: > > When the TCG2 pr

[PATCH v1] Cubieboard2:Fix Cubieboard2 freeze, when LED boot enabled

2021-12-09 Thread Javad Rahimi
When enabling the LED support for Cubieboard2 (SUN7I) the uboot freezes in status_led_init() function. It uses a static global variable, while the .BSS is defined in DRAM area while that function is called before DRAM Signed-off-by: Javad Rahimi --- drivers/misc/status_led.c | 28 ++

Re: [PATCH v2] Cubieboard2:SUN7I:Add LED BOOT support

2021-12-09 Thread Andre Przywara
On Thu, 9 Dec 2021 15:51:50 +0330 Javad Rahimi wrote: Hi, > On Thu, Dec 9, 2021 at 2:54 PM Andre Przywara wrote: > Hi Andre, > > > > On Thu, 9 Dec 2021 14:38:08 +0330 > > Javad Rahimi wrote: > > > > Hi Javad, > > > > > On Thu, Dec 9, 2021 at 6:24 AM Javad Rahimi > > > wrote: > > > > > >

Re: Pull request: u-boot-sunxi/master fixes for 2022.01

2021-12-09 Thread Tom Rini
On Thu, Dec 09, 2021 at 12:06:50AM +, Andre Przywara wrote: > Hi Tom, > > please pull those two fixes from the sunxi tree. > This fixes two regressions: eMMC operation on boards with WiFi (so using > three MMC devices), and a repeated wrong error message in USB gadget > mode (fastboot, ums).

[PATCH 2/2] arm: mvebu: a38x: serdes: improve USB3 electrical configuration

2021-12-09 Thread Stefan Eichenberger
This is a backport from Marvell U-Boot: https://github.com/MarvellEmbeddedProcessors/u-boot-marvell commit 381d029e7a ("fix: serdes: a38x, a39x: Improve USB3 electrical configuration") Improves electrical USB3 receiver jitter tolerance test: - De-Emphasize force, in functional mode the transmitte

[PATCH 1/2] arm: mvebu: a38x: serdes: fix serdes config for USB3

2021-12-09 Thread Stefan Eichenberger
The electrical serdes configuration for USB3 expects an array as data argument. For USB3 the second value is used (see data_arr_idx = USB3 = 1). However, because only one value is inside the array mv_seq_exec is accessing an invalid element and the serdes is configured wrongly. This wrong initiali

[PATCH 0/2] arm: mvebu: a38x: improve USB3 serdes configuration

2021-12-09 Thread Stefan Eichenberger
This patchset improves the USB3 serdes configuration for the Armada 38x SoC from Marvell. The changes are based on the version from Marvell found here: https://github.com/MarvellEmbeddedProcessors/u-boot-marvell Stefan Eichenberger (2): arm: mvebu: a38x: serdes: fix serdes config for USB3 arm:

RE: [RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-09 Thread Jason Liu
> -Original Message- > From: Sughosh Ganu > Sent: 2021年11月25日 15:02 > To: u-boot@lists.denx.de > Cc: Patrick Delaunay ; Patrice Chotard > ; Heinrich Schuchardt ; > Alexander Graf ; Simon Glass ; Bin > Meng ; Peng Fan ; AKASHI > Takahiro ; Ilias Apalodimas > ; Jose Marinho ; Grant > Likel

Re: [PATCH v2] Cubieboard2:SUN7I:Add LED BOOT support

2021-12-09 Thread Javad Rahimi
On Thu, Dec 9, 2021 at 2:54 PM Andre Przywara wrote: Hi Andre, > > On Thu, 9 Dec 2021 14:38:08 +0330 > Javad Rahimi wrote: > > Hi Javad, > > > On Thu, Dec 9, 2021 at 6:24 AM Javad Rahimi wrote: > > > > > > On Wed, Dec 8, 2021 at 9:13 PM Andre Przywara > > > wrote: > > > > > > > > On Wed, 8 Dec

Re: [PATCH v2] Cubieboard2:SUN7I:Add LED BOOT support

2021-12-09 Thread Andre Przywara
On Thu, 9 Dec 2021 14:38:08 +0330 Javad Rahimi wrote: Hi Javad, > On Thu, Dec 9, 2021 at 6:24 AM Javad Rahimi wrote: > > > > On Wed, Dec 8, 2021 at 9:13 PM Andre Przywara > > wrote: > > > > > > On Wed, 8 Dec 2021 20:48:54 +0330 > > > Javad Rahimi wrote: > > > > > > > On Wed, Dec 8, 2021

Re: [PATCH v2] Cubieboard2:SUN7I:Add LED BOOT support

2021-12-09 Thread Javad Rahimi
` On Thu, Dec 9, 2021 at 6:24 AM Javad Rahimi wrote: > > On Wed, Dec 8, 2021 at 9:13 PM Andre Przywara wrote: > > > > On Wed, 8 Dec 2021 20:48:54 +0330 > > Javad Rahimi wrote: > > > > > On Wed, Dec 8, 2021 at 8:33 PM Andre Przywara > > > wrote: > > > > > > > > On Wed, 8 Dec 2021 19:14:22 +033

[PATCH] nvme: Do not allocate 8kB buffer on stack

2021-12-09 Thread Pali Rohár
Calling 'nvme scan' followed by 'nvme detail' crashes U-Boot on Turris Omnia with the following error: undefined instruction pc : [<0a00>] lr : [<7ff80bfc>] reloc pc : [<8a8c>]lr : [<00840bfc>] sp : 7fb2b908 ip : 002a fp : 0200 r10: 0400 r9 : 7fb2fe

Re: [RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-09 Thread Sughosh Ganu
On Thu, 9 Dec 2021 at 15:06, Jason Liu wrote: > > > > -Original Message- > > From: Sughosh Ganu > > Sent: 2021年11月25日 15:02 > > To: u-boot@lists.denx.de > > Cc: Patrick Delaunay ; Patrice Chotard > > ; Heinrich Schuchardt ; > > Alexander Graf ; Simon Glass ; Bin > > Meng ; Peng Fan ; AKA

Re: [RFC PATCH 03/10] FWU: Add metadata structure and functions for accessing metadata

2021-12-09 Thread Sughosh Ganu
On Wed, 8 Dec 2021 at 19:23, Etienne Carriere wrote: > Hi Sughosh, > > > On Thu, 25 Nov 2021 at 08:03, Sughosh Ganu > wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, which is stored on > > a dedicated partitio

Re: [RFC PATCH 02/10] stm32mp: dfu: Move the ram partitions to the end of the dfu_alt_info variable

2021-12-09 Thread Sughosh Ganu
hi Etienne, On Wed, 8 Dec 2021 at 18:44, Etienne Carriere wrote: > On Thu, 25 Nov 2021 at 08:03, Sughosh Ganu > wrote: > > > > With the FWU multi bank update feature enabled, the dfu alt no that is > > used to identify the partition to be updated is derived at runtime and > > should match the p

Re: [RFC PATCH 04/10] FWU: Add metadata access functions for GPT partitioned block devices

2021-12-09 Thread Sughosh Ganu
hi Simon, On Thu, 9 Dec 2021 at 08:02, Simon Glass wrote: > Hi Sughosh, > > On Thu, 25 Nov 2021 at 00:03, Sughosh Ganu > wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, on a separate > > partition. Add functi

Re: [RFC PATCH 01/10] GPT: Add function to get gpt header and partition entries

2021-12-09 Thread Sughosh Ganu
On Thu, 9 Dec 2021 at 07:02, AKASHI Takahiro wrote: > On Wed, Dec 08, 2021 at 01:10:51PM +0530, Sughosh Ganu wrote: > > hi Patrick, > > > > On Tue, 7 Dec 2021 at 21:05, Patrick DELAUNAY < > patrick.delau...@foss.st.com> > > wrote: > > > > > Hi Sugosh > > > > > > On 11/25/21 8:01 AM, Sughosh Ganu