Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Tue, Jun 20, 2023 at 02:50:48AM +0200, Marek Vasut deia: > On 6/13/23 08:52, Xavier Drudis Ferran wrote: > > > > U-Boot TPL 2023.07-rc2-00144-g497967f1ee (Jun 12 2023 - 11:15:47) > > Next is already at rc4 , what's this rc2 ? It's a test I did last week (June 12th). What do you think has chan

[PATCH v2 00/19] bootstd: Add a bootmeth for ChromiumOS on x86

2023-06-20 Thread Simon Glass
This series adds a simple bootmeth for ChromiumOS on x86. It uses zimage to boot the kernel. Full verified boot is not included at this stage - that is still a separate chunk of code to be brought into standard boot at some point. For now it just obtains the kernel and command line and boots. This

[PATCH v2 01/19] test: Restore test behaviour on failure

2023-06-20 Thread Simon Glass
A recent change makes test continue to run after failure. This results in a lot of useless output and may lead to a segfault. Fix this by adding back the 'return' statement. Note that this is not a full revert of the original commit. It only removes the unwanted 'return' statements in each macro.

[PATCH v2 02/19] test: Skip flat-tree tests if devicetree is not used

2023-06-20 Thread Simon Glass
Many tests don't actually use the devicetree at all so there is no point in running the tests both with livetree and flat tree. Check for this and skip the flat tree test in that case. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) test/test-main.c | 3 ++- 1 file

[PATCH v2 05/19] bootstd: Correct baudrate typo

2023-06-20 Thread Simon Glass
This is a copy error. Fix it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/bootmeth-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth-uclass.c b/boot/bootmeth-uclass.c index 3b3e0614dafa..33662a753889 100644 --- a/boo

[PATCH v2 06/19] bootstd: Allow storing the OS command line in the bootflow

2023-06-20 Thread Simon Glass
Some operating systems have a command line which can be adjusted before booting. Store this in the bootflow so it can be controlled within U-Boot. Fix up the example output while we are here, since there are a few new items. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: -

[PATCH v2 07/19] bootstd: Use the bootargs env var for changing the cmdline

2023-06-20 Thread Simon Glass
The "bootargs" environment variable is used to set the command-line arguments to pass to the OS. Use this same mechanism with bootstd as well. When the variable is updated, it is written to the current bootflow. When the current bootflow is updated, the environment variable is updated too. Signed-

[PATCH v2 03/19] bootstd: Correct the name of the QEMU bootmeth

2023-06-20 Thread Simon Glass
This does not relate to sandbox. Correct the name. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/bootmeth_qfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth_qfw.c b/boot/bootmeth_qfw.c index ecd4b082fd20..8ebbc3ebcd58 1006

[PATCH v2 08/19] bootstd: Allow storing x86 setup information

2023-06-20 Thread Simon Glass
On x86 boards Linux uses a block of binary data to provide information about the command line, memory map, etc. Provide a way to store this in the bootflow so it can be passed on to the OS. No attempt is made to generalise the code, since other archs don't need this information. The field is prese

[PATCH v2 04/19] bootstd: Use bootdev instead of bootdevice

2023-06-20 Thread Simon Glass
It seems better to call this a 'bootdev' since this is name used in the documentation. The older 'Bootdevice' name is no-longer used and may cause confusion with the 'bootdevice' environment variable. Update throughout to use bootdev. Signed-off-by: Simon Glass --- Changes in v2: - Update host_

[PATCH v2 09/19] bdinfo: Show information about the serial port

2023-06-20 Thread Simon Glass
It is useful to see the detailed setting of the serial port, e.g. to allow setting up earlycon or console for Linux. Add this output to the 'bdinfo' command. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) cmd/bdinfo.c | 21 + 1 file changed, 21

[PATCH v2 11/19] bootstd: Add support for updating elements of the cmdline

2023-06-20 Thread Simon Glass
Add a bootflow command to update the command line more easily. This allows changing a particular parameter rather than editing a very long strings. It is also easier to handle with scripting. The new 'bootflow cmdline' command allows getting and setting single parameters. Fix up the example outpu

[PATCH v2 13/19] x86: qemu: Switch to standard boot

2023-06-20 Thread Simon Glass
Drop use of the distro boot script and use standard boot instead. Moving to a text-based environment would be desirable also, but requires additional work. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to switch x86 qemu to standard boot configs/qemu-x86_64_defconfig | 2 +- c

[PATCH v2 12/19] x86: qemu: Create a little more room for U-Boot

2023-06-20 Thread Simon Glass
We want to enable some of the more interesting bootstd features. Move SPL up to create some room for the larger U-Boot binary. Also disable microcode since this is not needed Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to create a little more room for U-Boot on qemu-x86_64 co

[PATCH v2 10/19] bootstd: Add a function to update a command line

2023-06-20 Thread Simon Glass
The Linux command line consists of a number of words with optional values. At present U-Boot allows this to be changed using the bootargs environment variable. But this is quite painful, since the command line can be very long. Add a function which can adjust a single field in the command line, s

[PATCH v2 15/19] x86: Add a function to boot a zimage

2023-06-20 Thread Simon Glass
Add a direct interface to booting a zimage, so that bootstd can call it without going through the command-line interface. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/x86/include/asm/zimage.h | 17 arch/x86/lib/zimage.c | 82

[PATCH v2 16/19] x86: zimage: Export the function to obtain the cmdline

2023-06-20 Thread Simon Glass
Allow reading the command line from a zimage, so that it can be recorded in the bootflow. Reviewed-by: Bin Meng Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/include/asm/zimage.h | 10 ++ arch/x86/lib/zimage.c | 11 --- 2 files changed, 18 insertions(+)

[PATCH v2 14/19] bootstd: Support automatically setting Linux parameters

2023-06-20 Thread Simon Glass
Some Linux parameters can be set automatically by U-Boot, if it knows the device being used. For example, since U-Boot knows the serial console being used, it can add parameters for earlycon and console. Add support for this. Note that this is an experimental feature and we will see how useful it

[PATCH v2 17/19] bootstd: Add a simple bootmeth for ChromiumOS

2023-06-20 Thread Simon Glass
It is possible to boot x86-based ChromeOS machines by parsing a table and locating the kernel and command line. Add a bootmeth for this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/Kconfig | 11 ++ boot/Makefile| 1 + boot

[PATCH v2 18/19] x86: coreboot: Adjust various config options

2023-06-20 Thread Simon Glass
Drop IDE since this is not widely used anymore. Add NVME since it is becoming more popular. Add ms so it is easier to search for tables in memory. Expand the command-line and print buffers so that we can deal with the very long ChromeOS command lines. (typically 700 characters). Enable BOOTSTD_F

[PATCH v2 19/19] x86: coral: Adjust various config options

2023-06-20 Thread Simon Glass
Add ms so it is easier to search for tables in memory. Expand the command-line and print buffers so that we can deal with the very long ChromeOS command lines. (typically 700 characters). Enable BOOTSTD_FULL to get the full set of standard-boot options. Replace the existing manual script with 'b

Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Mon, Jun 19, 2023 at 11:49:18PM +0200, Marek Vasut deia: > On 6/19/23 12:12, Xavier Drudis Ferran wrote: > > It seems the email addresses are being constantly corrupted in each email. > This time the ML address is wrong and missing an e at the end. There is some > e@ nonexistent address which I

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Marek Vasut
On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: [ Felipe: Ported from Linux kernel commit   f59dcab17629 ("usb: dwc3: core: improve r

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Marek Vasut
On 6/20/23 09:03, Xavier Drudis Ferran wrote: El Tue, Jun 20, 2023 at 02:50:48AM +0200, Marek Vasut deia: On 6/13/23 08:52, Xavier Drudis Ferran wrote: U-Boot TPL 2023.07-rc2-00144-g497967f1ee (Jun 12 2023 - 11:15:47) Next is already at rc4 , what's this rc2 ? It's a test I did last week (

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Michal Simek
On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: [ Felipe: Ported from Linux kernel commit  

Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Marek Vasut
On 6/20/23 11:17, Xavier Drudis Ferran wrote: El Mon, Jun 19, 2023 at 11:49:18PM +0200, Marek Vasut deia: On 6/19/23 12:12, Xavier Drudis Ferran wrote: It seems the email addresses are being constantly corrupted in each email. This time the ML address is wrong and missing an e at the end. There

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Marek Vasut
On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: [ Felipe:

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Simon Glass
Hi Xavier, On Wed, 14 Jun 2023 at 09:40, Xavier Drudis Ferran wrote: > > > Thanks for explaining, Simon Glass. > > Can someone please stop me if I'm splitting hairs or bikeshedding or > something ? I guess we agree both checking for null or UCLASS_BOOTDEV > would work right now but we are looking

Re: [PATCH] axi: fix a warning

2023-06-20 Thread Simon Glass
On Mon, 19 Jun 2023 at 21:36, Sergei Antonov wrote: > > Fix an enum/integer mismatch encountered in 'sandbox_defconfig' build. > > .../u-boot/drivers/axi/axi-emul-uclass.c:16:5: warning: conflicting types for > ‘axi_sandbox_get_emul’ due to enum/integer mismatch; have ‘int(struct udevice > *, ul

Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-20 Thread Simon Glass
Hi Heinrich, On Mon, 19 Jun 2023 at 18:51, Heinrich Schuchardt wrote: > > On 6/19/23 14:57, Simon Glass wrote: > > I suggest a simple device that needs no setup. The original commit[1] > > suggests using USB - does that worK? > > > > Regards, > > Simon > > > > [1] 49c752c93a78 ("cmd: Add bind/unb

Re: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-20 Thread Ilias Apalodimas
Sorry for being late to the party, +cc Jose who maintains DEN0118 On Mon, Jun 19, 2023 at 11:16:53AM -0500, Jassi Brar wrote: > Hi Michal, > > On Mon, 19 Jun 2023 at 10:02, Michal Simek wrote: > > > > Hi Jassi, > > > > On 5/31/23 07:28, jaswinder.si...@linaro.org wrote: > > > From: Jassi Brar >

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Simon Glass
Hi Jan, On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: > > On 19.06.23 16:09, Simon Glass wrote: > > Hi Jan, > > > > On Mon, 19 Jun 2023 at 14:28, Jan Kiszka wrote: > >> > >> On 19.06.23 14:36, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Fri, 16 Jun 2023 at 16:42, Jan Kiszka wrote: >

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

2023-06-20 Thread Simon Glass
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 than month ago, but nobody reacted to them. > > So revert these broken c

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

2023-06-20 Thread Simon Glass
On Mon, 19 Jun 2023 at 17:25, wrote: > > From: Mingli Yu > > Fixed when build xilinx_zynqmp in long directory ( >256): > | > /buildarea1/testtest/wr_build/wr1023test_secureboot/test1-what/test2-what/test3-what/test4-what/test5-what/test6-what/test7-what/test8-what/test9-what/test10-what/test1

Re: [PATCH v13 03/10] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > provide a test case > > Signed-off-by: Abdellatif El Khlifi > Cc: Simon Glass > > --- > > Changelog: > === > > v11: > > * use ut_asserteq_mem() > > MAINTAINERS | 5 + > test/lib/Makefile | 1 + > test/lib/uuid

Re: [PATCH v13 04/10] arm_ffa: introduce Arm FF-A support

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > Add Arm FF-A support implementing Arm Firmware Framework for Armv8-A v1.0 > > The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1] > describes interfaces (ABIs) that standardize communication > between the Secure World an

Re: [PATCH v13 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > Add MM communication support using FF-A transport > > This feature allows accessing MM partitions services through > EFI MM communication protocol. MM partitions such as StandAlonneMM > or smm-gateway secure partitions which reside in s

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > Provide armffa command showcasing the use of the U-Boot FF-A support > > armffa is a command showcasing how to invoke FF-A operations. > This provides a guidance to the client developers on how to > call the FF-A bus interfaces. The com

Re: [PATCH] board_f: Relocate fdt if SKIP_RELOC and fdt is in bss

2023-06-20 Thread Kunihiko Hayashi
Hi Simon, On 2023/06/19 21:36, Simon Glass wrote: Hi Kunihiko, On Fri, 16 Jun 2023 at 00:59, Kunihiko Hayashi wrote: Hi Simon, Thank you for your comment. On 2023/06/13 6:17, Simon Glass wrote: Hi Kunihiko, On Thu, 8 Jun 2023 at 07:53, Kunihiko Hayashi wrote: There are cases that the

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Jan Kiszka
On 20.06.23 12:11, Simon Glass wrote: > Hi Jan, > > On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: >> >> On 19.06.23 16:09, Simon Glass wrote: >>> Hi Jan, >>> >>> On Mon, 19 Jun 2023 at 14:28, Jan Kiszka wrote: On 19.06.23 14:36, Simon Glass wrote: > Hi Jan, > > On Fri, 16

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Tue, Jun 20, 2023 at 11:49:36AM +0200, Marek Vasut deia: > > Default, see: > $ git grep CONFIG_BOOTCOMMAND configs/ > I'm lost. I called default what Kconfig used as default. You seem to call default what's in board specific config files. Whatever. Fix the wording in the commit message if you

[PATCH v2] board_f: Relocate fdt even if GD_FLG_SKIP_RELOC is set

2023-06-20 Thread Kunihiko Hayashi
In case of OF_SEPARATE (!OF_EMBED), the devicetree blob is placed after _end, and fdt_find_separate() always returns _end. There is a .bss section after _end and the section is cleared before relocation. When GD_FLG_SKIP_RELOC is set, relocation is skipped, so the blob is still in .bss section, bu

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Tue, Jun 20, 2023 at 11:03:57AM +0100, Simon Glass deia: > Hi Xavier, > Hi Simon, > > > > It is also possible that one day a device that is not UCLASS_BLK, > > UCLASS_BOOTDEV or UCLASS_USB_EMUL is put as children of a usb storage > > device (just imagine a future system similar to bootstd for

[PATCH] Add Renesas patch attribution domain mapping

2023-06-20 Thread Marek Vasut
Add domain mapping for the +renesas mail, so that the patches get attributed to to Renesas Electronics correctly. Signed-off-by: Marek Vasut --- u-boot-config/domain-map | 3 +++ 1 file changed, 3 insertions(+) diff --git a/u-boot-config/domain-map b/u-boot-config/domain-map index f64147e..4786

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-20 Thread Andre Przywara
On Sun, 18 Jun 2023 13:01:33 -0600 Sam Edwards wrote: Hi Sam, thanks for the reply, that's very helpful. > On 6/14/23 18:07, Andre Przywara wrote: > > So I finally found some time to address some issues in the series, > > especially in the first patches (pinctrl rework and preparation). > > I p

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Michal Simek
On 6/20/23 11:54, Marek Vasut wrote: On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Ve

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

2023-06-20 Thread Tom Rini
On Sat, 03 Jun 2023 19:32:52 +0530, Mayuresh Chitale wrote: > This patchset adds support to load images of the SPL's next booting > stage from a NVMe device. > > Changes in v4: > - Drop patch 4 > - Modify patch 2 to use generic fs.h APIs > > [...] With one change, which is that the "disk/part.c

[PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread teik . heng . chong
From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields Signed-off-by: Teik Heng Chong --- V1->V2 - update subject tags to usb:dwc2 --- drivers/usb/host/dwc2.c | 34 -

Re: [PATCH v13 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-06-20 Thread Ilias Apalodimas
Hi Abdellatif, On Fri, 16 Jun 2023 at 18:28, Abdellatif El Khlifi wrote: > > add support for x0-x17 registers used by the SMC calls > > In SMCCC v1.2 [1] arguments are passed in registers x1-x17. > Results are returned in x0-x17. > > This work is inspired from the following kernel commit: > > arm

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Marek Vasut
On 6/20/23 15:36, Michal Simek wrote: On 6/20/23 11:54, Marek Vasut wrote: On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eug

Re: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-20 Thread Jassi Brar
On Tue, 20 Jun 2023 at 05:05, Ilias Apalodimas wrote: > > Sorry for being late to the party, > > +cc Jose who maintains DEN0118 > > On Mon, Jun 19, 2023 at 11:16:53AM -0500, Jassi Brar wrote: > > Hi Michal, > > > > On Mon, 19 Jun 2023 at 10:02, Michal Simek wrote: > > > > > > Hi Jassi, > > > > >

Re: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-20 Thread Michal Simek
On 6/20/23 16:14, Jassi Brar wrote: On Tue, 20 Jun 2023 at 05:05, Ilias Apalodimas wrote: Sorry for being late to the party, +cc Jose who maintains DEN0118 On Mon, Jun 19, 2023 at 11:16:53AM -0500, Jassi Brar wrote: Hi Michal, On Mon, 19 Jun 2023 at 10:02, Michal Simek wrote: Hi Jass

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Michal Simek
On 6/20/23 16:13, Marek Vasut wrote: On 6/20/23 15:36, Michal Simek wrote: On 6/20/23 11:54, Marek Vasut wrote: On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07,

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-06-20 Thread Ilias Apalodimas
[...] > > diff --git a/MAINTAINERS b/MAINTAINERS > index 43603522fd..0d960731cf 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -269,7 +269,9 @@ F: configs/cortina_presidio-asic-pnand_defconfig > ARM FF-A > M: Abdellatif El Khlifi > S: Maintained > +F: cmd/armffa.c > F: d

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Simon Glass
On Tue, 20 Jun 2023 at 12:20, Xavier Drudis Ferran wrote: > > El Tue, Jun 20, 2023 at 11:03:57AM +0100, Simon Glass deia: > > Hi Xavier, > > > > Hi Simon, > > > > > > > It is also possible that one day a device that is not UCLASS_BLK, > > > UCLASS_BOOTDEV or UCLASS_USB_EMUL is put as children of a

Re: [PATCH v2] board_f: Relocate fdt even if GD_FLG_SKIP_RELOC is set

2023-06-20 Thread Simon Glass
On Tue, 20 Jun 2023 at 11:50, Kunihiko Hayashi wrote: > > In case of OF_SEPARATE (!OF_EMBED), the devicetree blob is placed > after _end, and fdt_find_separate() always returns _end. There is > a .bss section after _end and the section is cleared before relocation. > > When GD_FLG_SKIP_RELOC is se

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Simon Glass
Hi Jan, On Tue, 20 Jun 2023 at 11:37, Jan Kiszka wrote: > > On 20.06.23 12:11, Simon Glass wrote: > > Hi Jan, > > > > On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: > >> > >> On 19.06.23 16:09, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Mon, 19 Jun 2023 at 14:28, Jan Kiszka wrote: >

Rockchip DWC2 issue

2023-06-20 Thread Jagan Teki
Hi, Has anyone tried to use dwc2 and echi port together with USB disk? look like this is not working with this combination on any Rockchip SoC's Here are the issues that I've reproduced in RK3328 where the disk connected in EHCI port is detecting but DWC2 is not. Any clue? => usb start starting

Re: [PATCH] Add Renesas patch attribution domain mapping

2023-06-20 Thread Tom Rini
On Tue, Jun 20, 2023 at 01:49:43PM +0200, Marek Vasut wrote: > Add domain mapping for the +renesas mail, so that the patches get > attributed to to Renesas Electronics correctly. > > Signed-off-by: Marek Vasut Applied to gitdm/u-boot, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] spl: spl_nor: use panic instead of hang if booting fails

2023-06-20 Thread Tom Rini
On Mon, Jan 30, 2023 at 11:03:03AM +0100, Mario Kicherer wrote: > On systems without a watchdog, using hang() prevents a system to > recover from an error. For example, a board could implement a boot > counter to switch to an alternative load address after some failed > tries. > > Signed-off-by:

[PATCH 1/3] arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi

2023-06-20 Thread Tim Harvey
Move the firmware/optee node to the common imx8mm-u-boot.dtsi and protect it with an ifdef CONFIG_OPTEE as it is a meaningless node without the optee driver enabled. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi | 7 --- arch/arm/dts/imx8mm-cl-iot-gate-u-boo

[PATCH 2/3] arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi

2023-06-20 Thread Tim Harvey
Move the firmware/optee node to the common imx8mp-u-boot.dtsi and protect it with an ifdef CONFIG_OPTEE as it is a meaningless node without the optee driver enabled. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi | 7 --- arch/arm/dts/imx8mp-evk-u-boot.dts

[PATCH 3/3] arm: dts: imx8mn: protect the firmware/optee node with ifdef

2023-06-20 Thread Tim Harvey
There is no need to include the firmware/optee node if the optee driver is not enabled. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mn-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts/imx8mn-u-boot.dtsi index cef20dab4688..8191b9

Re: [PATCH 1/3] arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi

2023-06-20 Thread Fabio Estevam
On Tue, Jun 20, 2023 at 12:19 PM Tim Harvey wrote: > > Move the firmware/optee node to the common imx8mm-u-boot.dtsi and > protect it with an ifdef CONFIG_OPTEE as it is a meaningless node > without the optee driver enabled. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH 2/3] arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi

2023-06-20 Thread Fabio Estevam
On Tue, Jun 20, 2023 at 12:19 PM Tim Harvey wrote: > > Move the firmware/optee node to the common imx8mp-u-boot.dtsi and > protect it with an ifdef CONFIG_OPTEE as it is a meaningless node > without the optee driver enabled. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH 3/3] arm: dts: imx8mn: protect the firmware/optee node with ifdef

2023-06-20 Thread Fabio Estevam
On Tue, Jun 20, 2023 at 12:19 PM Tim Harvey wrote: > > There is no need to include the firmware/optee node if the optee > driver is not enabled. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Jan Kiszka
On 20.06.23 16:36, Simon Glass wrote: > Hi Jan, > > On Tue, 20 Jun 2023 at 11:37, Jan Kiszka wrote: >> >> On 20.06.23 12:11, Simon Glass wrote: >>> Hi Jan, >>> >>> On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: On 19.06.23 16:09, Simon Glass wrote: > Hi Jan, > > On Mon, 19

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Simon Glass
Hi Jan, On Tue, 20 Jun 2023 at 18:05, Jan Kiszka wrote: > > On 20.06.23 16:36, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 20 Jun 2023 at 11:37, Jan Kiszka wrote: > >> > >> On 20.06.23 12:11, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: >

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Detlev Casanova
On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: > On 6/19/23 20:27, Detlev Casanova wrote: > > On Monday, June 19, 2023 12:11:18 P.M. EDT Marek Vasut wrote: > >> On 6/19/23 16:42, Detlev Casanova wrote: > >>> On Friday, June 16, 2023 8:43:33 P.M. EDT Marek Vasut wrote: > On 6/16/2

Re: [PATCH] spl: spl-nor: return error if no valid image was loaded

2023-06-20 Thread Tom Rini
On Mon, 30 Jan 2023 10:21:43 +0100, Mario Kicherer wrote: > If only FIT images are enabled and loading the FIT image fails, > spl_nor_load_image() should return an error instead of zero. > > Without this patch: > > >>SPL: board_init_r() > spl_init > Trying to boot from NOR > Unsupported OS image

Re: [PATCH] usb: eth: lan78xx: Fix logic in lan78xx_read_otp() to avoid a warning

2023-06-20 Thread Tom Rini
On Thu, 04 Jun 2020 16:35:15 -0400, Tom Rini wrote: > In lan78xx_read_otp() we want to know if sig is LAN78XX_OTP_INDICATOR_1 > or LAN78XX_OTP_INDICATOR_2. In the case of matching the first one we > set offset to itself, and clang warns about this. Rework the logic so > that if sig is the second

[PATCH] mailbox: k3-sec-proxy: Fill non-message tx data fields with 0x0

2023-06-20 Thread Nishanth Menon
Sec proxy data buffer is 60 bytes with the last of the registers indicating transmission completion. This however poses a bit of a challenge. The backing memory for sec_proxy is regular memory, and all sec proxy does is to trigger a burst of all 60 bytes of data over to the target thread backing r

Re: [PATCH] rockchip: Pinebook Pro: Fix emmc default configuration

2023-06-20 Thread Vagrant Cascadian
On 2023-05-01, Wolfgang Zarre wrote: > If u-boot is installed on the internal emmc, then this will > allow to boot without failure. > > Signed-off-by: Wolfgang Zarre > Reviewed-by: Kever Yang This is marked as accepted in patchwork, but I do not see it in git yet... Is this planned to land in 2

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

2023-06-20 Thread Tom Rini
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 still being reviewable. Signed-off-by: Tom Rini --- .../statistics/

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Marek Vasut
On 6/20/23 19:49, Detlev Casanova wrote: On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: On 6/19/23 20:27, Detlev Casanova wrote: On Monday, June 19, 2023 12:11:18 P.M. EDT Marek Vasut wrote: On 6/19/23 16:42, Detlev Casanova wrote: On Friday, June 16, 2023 8:43:33 P.M. EDT Marek

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Detlev Casanova
On Tuesday, June 20, 2023 4:03:18 P.M. EDT Marek Vasut wrote: > On 6/20/23 19:49, Detlev Casanova wrote: > > On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: > >> On 6/19/23 20:27, Detlev Casanova wrote: > >>> On Monday, June 19, 2023 12:11:18 P.M. EDT Marek Vasut wrote: > On 6/19/

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Tom Rini
On Tue, Jun 20, 2023 at 08:36:11AM +0200, Michal Simek wrote: > > > On 6/19/23 19:04, Eugen Hristev wrote: > > On 6/19/23 19:07, Marek Vasut wrote: > > > On 6/19/23 15:26, Eugen Hristev wrote: > > > > On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: > > > > > [ Felipe: Ported from Linux kernel co

Re: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Marek Vasut
On 6/20/23 15:52, teik.heng.ch...@intel.com wrote: From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields Signed-off-by: Teik Heng Chong --- V1->V2 - update subject tags to usb:dwc2 --- driv

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-20 Thread Sam Edwards
Hi Andre, On 6/20/23 06:42, Andre Przywara wrote: So yeah, the request of a "Enter FEL" command came up multiple times, but so far no one could be bothered to implement this properly. The idea would be to have a generic command (more like "fel-reset" than efex), and allow each SoC (family) to im

Re: imx8m optee load address?

2023-06-20 Thread Tim Harvey
On Mon, Jun 19, 2023 at 1:40 PM Tim Harvey wrote: > > On Fri, Jun 16, 2023 at 4:52 PM Tim Harvey wrote: > > > > On Thu, Jun 15, 2023 at 8:31 PM Peng Fan wrote: > > > > > > > > > > > > On 6/16/2023 9:56 AM, Tim Harvey wrote: > > > > Greetings, > > > > > > > > I've seen several IMX8M boards includ

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Marek Vasut
On 6/20/23 12:43, Xavier Drudis Ferran wrote: El Tue, Jun 20, 2023 at 11:49:36AM +0200, Marek Vasut deia: Default, see: $ git grep CONFIG_BOOTCOMMAND configs/ I'm lost. I called default what Kconfig used as default. You seem to call default what's in board specific config files. Whatever. F

[PATCH] arm: mvebu: Enable gpio-fan for Thecus N2350 board

2023-06-20 Thread Tony Dinh
Add gpio-fan in the DTS and enable the GPIO in board file to start the fan during boot. Note that this patch depends on https://patchwork.ozlabs.org/project/uboot/patch/20230606214539.4229-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh --- arch/arm/dts/armada-385-thecus-n2350.dts | 15 +

RE: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Chong, Teik Heng
-Original Message- From: Marek Vasut Sent: Wednesday, 21 June, 2023 5:38 AM To: Chong, Teik Heng ; u-boot@lists.denx.de Cc: Jagan Teki ; Vignesh R ; Simon ; Kris ; Chee, Tien Fong ; Hea, Kok Kiang ; Lokanathan, Raaj ; Maniyam, Dinesh ; Ng, Boon Khai ; Yuslaimi, Alif Zakuan ; Zamri, M

Re: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Marek Vasut
On 6/21/23 02:57, Chong, Teik Heng wrote: -Original Message- From: Marek Vasut Sent: Wednesday, 21 June, 2023 5:38 AM To: Chong, Teik Heng ; u-boot@lists.denx.de Cc: Jagan Teki ; Vignesh R ; Simon ; Kris ; Chee, Tien Fong ; Hea, Kok Kiang ; Lokanathan, Raaj ; Maniyam, Dinesh ; Ng, Boon

Re: [PATCH v2 2/3] riscv: dts: sync mpfs-icicle devicetree with linux

2023-06-20 Thread Rick Chen
> From: Conor Dooley > Sent: Thursday, June 15, 2023 6:13 PM > To: u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > ; Padmarao Begari ; > Conor Dooley > Subject: [PATCH v2 2/3] riscv: dts: sync mpfs-icicle devicetree with linux > > The "notable" disappearances are: >

Re: [PATCH v5 11/11] board: starfive: Dynamic configuration of DT for 1.2A and 1.3B

2023-06-20 Thread Rick Chen
> From: Yanhong Wang > Sent: Thursday, June 15, 2023 5:37 PM > To: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) ; Leo > Yu-Chi Liang(梁育齊) ; Joe Hershberger > ; Ramon Fried > Cc: Yanhong Wang ; Torsten Duwe ; > Leyfoon Tan ; samin . guo > ; Walker Chen ; Hal > Feng > Subject: [PATCH v5 11/1

Re: [PATCH v5 10/11] ram: starfive: Read memory size information from EEPROM

2023-06-20 Thread Rick Chen
> From: Yanhong Wang > Sent: Thursday, June 15, 2023 5:37 PM > To: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) ; Leo > Yu-Chi Liang(梁育齊) ; Joe Hershberger > ; Ramon Fried > Cc: Yanhong Wang ; Torsten Duwe ; > Leyfoon Tan ; samin . guo > ; Walker Chen ; Hal > Feng > Subject: [PATCH v5 10/1

RE: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Chong, Teik Heng
> -Original Message- > From: Marek Vasut > Sent: Wednesday, 21 June, 2023 9:20 AM > To: Chong, Teik Heng ; u-boot@lists.denx.de > Cc: Jagan Teki ; Vignesh R > ; Simon ; Kris > ; Chee, Tien Fong ; Hea, > Kok Kiang ; Lokanathan, Raaj > ; Maniyam, Dinesh > ; Ng, Boon Khai ; > Yuslaimi, Alif Z

[PATCH v3 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread teik . heng . chong
From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields This bug was found during the testing on Simics model. Referring to specification DesignWare Cores USB 2.0 Hi-Speed On-The-Go (OTG) Databook (

[PATCH v1 00/17] Agilex5 Platform Enablement

2023-06-20 Thread Jit Loon Lim
Intel Agilex5 is a midrange FPGAs optimized for applications requiring high performance, lower power, and smaller form factors and lower logic densities. U-Boot is one of the bootloader to boot along with ARM trusted Firmware to boot the board up. *** BLURB HERE *** Jit Loon Lim (16): arch:

[PATCH v1 01/17] arch: arm: update kconfig for new platform agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5 Signed-off-by: Jit Loon Lim --- arch/arm/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 99264a6478..8e36456fa8 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1093,

[PATCH v1 02/17] arch: arm: dts: add dts and dtsi for new platform agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add agilex5 dtsi and dts. Update checkpatch error for stratix10. Signed-off-by: Jit Loon Lim --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_agilex5-u-boot.dtsi | 459 + arch/arm/dts/socfpga_agilex5

[PATCH v1 03/17] arch: arm: mach-socfpga: add new platform agilex5 mach-socfpga enablement

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add platform related files to enable new product. Signed-off-by: Jit Loon Lim --- arch/arm/mach-socfpga/Kconfig | 37 +++ arch/arm/mach-socfpga/Makefile| 69 - arch/arm/mach-socfpga/board.c |

[PATCH v1 04/17] arch: arm: mach-socfpga: include: mach: add new platform agilex5 mach-socfpga enablement

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add platform related header files to enable new product. Signed-off-by: Jit Loon Lim --- .../include/mach/base_addr_soc64.h| 43 +- .../mach-socfpga/include/mach/clock_manager.h | 5 +- .../include/mach/clock_manager_agilex5.h

[PATCH v1 05/17] board: intel: add new platform agilex5 socdk

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new platform socdk and update maintainer list. Signed-off-by: Jit Loon Lim --- board/intel/agilex5-socdk/MAINTAINERS | 8 board/intel/agilex5-socdk/Makefile| 7 +++ board/intel/agilex5-socdk/socfpga.c | 7 +++ 3 files ch

[PATCH v1 07/17] doc: device-tree-bindings: misc: add secreg text file for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new secure register text file for new platform. Signed-off-by: Jit Loon Lim --- .../misc/socfpga_secreg.txt | 397 ++ 1 file changed, 397 insertions(+) create mode 100644 doc/device-tree-bindings/misc/socfpga

[PATCH v1 06/17] configs: add new platform agilex5 defconfig

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new platform defconfig for new platform. Signed-off-by: Jit Loon Lim --- configs/socfpga_agilex5_defconfig| 123 +++ configs/socfpga_agilex5_legacy_defconfig | 85 2 files changed, 208 insertions(+

[PATCH v1 10/17] drivers: misc: update driver misc for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Update secure registers, Kconfig and makefile for new platform. Signed-off-by: Jit Loon Lim --- drivers/misc/Kconfig | 9 +++ drivers/misc/Makefile | 1 + drivers/misc/socfpga_secreg.c | 116 ++

[PATCH v1 08/17] drivers: ddr: altera: add ddr support for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new ddr and iossm mailbox files for new platform.Add Signed-off-by: Jit Loon Lim --- drivers/ddr/altera/Makefile| 5 +- drivers/ddr/altera/iossm_mailbox.c | 786 + drivers/ddr/altera/iossm_mailbox.h | 141

[PATCH v1 09/17] drivers: clk: altera: add clock support for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new clock files for new platform.Add Signed-off-by: Jit Loon Lim --- drivers/clk/altera/Makefile | 1 + drivers/clk/altera/clk-agilex5.c | 736 +++ drivers/clk/altera/clk-agilex5.h | 263 +++ 3 files

  1   2   >