Re: [PATCH v2] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Rob Herring
On Fri, 22 Sep 2023 13:34:15 -0600, Simon Glass wrote: > Binman[1] is a tool for creating firmware images. It allows you to > combine various binaries and place them in an output file. > > Binman uses a DT schema to describe an image, in enough detail that > it can be automatically built from co

Re: Reading from ISO9660 in U-Boot

2023-09-22 Thread Heinrich Schuchardt
On 9/23/23 00:13, Simon Glass wrote: Hi Heinrich & Bin, I'd like to be able to figure out in U-Boot what OS is on a USB stick. For example, with the Ubuntu installer, I can boot it (through grub), but I cannot see how to read anything useful from the USB stick that would indicate that it is Ubun

Re: Reading from ISO9660 in U-Boot

2023-09-22 Thread Heinrich Schuchardt
On 9/23/23 00:13, Simon Glass wrote: Hi Heinrick & Bin, I'd like to be able to figure out in U-Boot what OS is on a USB stick. For example, with the Ubuntu installer, I can boot it (through grub), but I cannot see how to read anything useful from the USB stick that would indicate that it is Ubun

[PATCH 1/1] riscv: enable CONFIG_DEBUG_UART by default

2023-09-22 Thread Heinrich Schuchardt
Most boards don't enable the pre-console buffer. So we will not see any early messages. OpenSBI 1.3 provides us with the debug console extension that can fill this gap. For S-Mode U-Boot enable CONFIG_DEBUG_UART by default. Signed-off-by: Heinrich Schuchardt --- arch/riscv/Kconfig | 1 + 1 file

Re: [PATCH 09/32] spl: Avoid an #ifdef when printing gd->malloc_ptr

2023-09-22 Thread Simon Glass
Hi Tom, On Fri, 22 Sept 2023 at 13:28, Tom Rini wrote: > > On Fri, Sep 22, 2023 at 12:27:36PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 21 Sept 2023 at 09:36, Tom Rini wrote: > > > > > > On Wed, Sep 20, 2023 at 07:03:34PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On W

Re: [PATCH] MAINTAINERS: Step up as maintainers of UniPhier SoC platform

2023-09-22 Thread Tom Rini
On Fri, Sep 22, 2023 at 05:54:09PM +0900, Kunihiko Hayashi wrote: > Update maintainers for UniPhier SoC platform. > > Signed-off-by: Kunihiko Hayashi Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] pico-imx7d: Remove Vanessa from MAINTAINERS

2023-09-22 Thread Tom Rini
On Tue, Sep 19, 2023 at 10:39:11AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Vanessa's NXP e-mail is no longer active. > > Contacted her offline and she told me that she does not have > access to the board anymore and it is OK to remove her > from MAINTAINERS. > > Signed-off-by: Fa

Re: [PATCH] drivers: mediatek: Fix error handling in mtk_i2c_do_transfer

2023-09-22 Thread Tom Rini
On Fri, Sep 08, 2023 at 06:47:46PM +0200, Francois Berder wrote: > Errors were handled only if an I2C transfer timed out > and received a NACK which is very unlikely. This commit > changes the condition such that errors are handled if > an I2C transfer times out or received a NACK. > > Signed-off

Re: [PATCH] configs: am65x_evm_r5_usbmsc_defconfig: Enable DWC3 wrapper for SPL

2023-09-22 Thread Tom Rini
On Fri, Sep 08, 2023 at 04:33:51PM +0530, Ravi Gunasekaran wrote: > commit 280f45d23977 ("configs: get rid of build warnings due to > SPL_USB_DWC3_GENERIC") missed enabling DWC3 glue layer for > usbmsc_defconfig and this broke boot from USB mass storage. > Fix this by enabling DWC3 glue layer. >

Re: [PATCH 1/1] net: sni_netsec: Add workaround for timeout error

2023-09-22 Thread Tom Rini
On Thu, Aug 03, 2023 at 11:56:48PM +0900, Ryosuke Saito wrote: > The NETSEC GMAC occasionally falls into a weird state where > MAC_REG_DESC_SOFT_RST has never been cleared and shows errors like the > below when networking commands are issued: > > => ping 192.168.1.1 > ethernet@522d Wa

Re: [PATCH] net: wget: Avoid packet queue overflow

2023-09-22 Thread Tom Rini
On Thu, Jul 20, 2023 at 02:51:56PM +0200, Richard Weinberger wrote: > Make sure to stay within bounds, as a misbehaving HTTP server > can trigger a buffer overflow if not properly handled. > > Cc: Joe Hershberger > Cc: Ramon Fried > Signed-off-by: Richard Weinberger Applied to u-boot/master,

Reading from ISO9660 in U-Boot

2023-09-22 Thread Simon Glass
Hi Heinrick & Bin, I'd like to be able to figure out in U-Boot what OS is on a USB stick. For example, with the Ubuntu installer, I can boot it (through grub), but I cannot see how to read anything useful from the USB stick that would indicate that it is Ubuntu, what version it is, etc. Does U-Bo

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-09-22 Thread Devarsh Thakkar
Hi Simon, On 22/09/23 23:57, Simon Glass wrote: Hi Devarsh, On Tue, 12 Sept 2023 at 08:35, Devarsh Thakkar wrote: Hi Simon, On 11/09/23 04:44, Simon Glass wrote: Hi Devarsh, On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: On Wed, Aug 16, 2023 at 09:16:05PM +0530, Devarsh Thakkar wrote:

[PATCH v2 4/4] usb: Avoid unbinding devices in use by bootflows

2023-09-22 Thread Simon Glass
When a USB device is unbound, it causes any bootflows attached to it to be removed, via a call to bootdev_clear_bootflows() from bootdev_pre_unbind(). This obviously makes it impossible to boot the bootflow. However, when booting a bootflow that relies on USB, usb_stop() is called, which unbinds t

[PATCH v2 1/4] efi: Correct handling of frame buffer

2023-09-22 Thread Simon Glass
The efi_gop driver uses private fields from the video uclass to obtain a pointer to the frame buffer. Use the platform data instead. Check the VIDEO_COPY setting to determine which frame buffer to use. Once the next stage is running (and making use of U-Boot's EFI boot services) U-Boot does not ha

[PATCH v2 3/4] x86: coreboot: Add a boot script

2023-09-22 Thread Simon Glass
Provide the user with a list of available boot options. Selecting one causes it to be booted. Pressing causes U-Boot to return to the command-line prompt. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to add a coreboot boot script configs/coreboot64_defconfig | 1 + configs/co

[PATCH v2 2/4] bootstd: Add a return code to bootflow menu

2023-09-22 Thread Simon Glass
Return an error when the user does not select an OS, so we know whether to boot or not. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to add a return code to bootflow menu cmd/bootflow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/bootflow.c b/

[PATCH v2 0/4] Resolve issues with booting distros on x86

2023-09-22 Thread Simon Glass
This little series reprises the EFI-video fix, fixes a USB problem and enables a boot script for coreboot. With these changes it is possible to boot a Linux distro automatically with U-Boot on x86, including when U-Boot is the second-stage bootloader. Changes in v2: - Rebase to -next - Add some m

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Simon Glass
Hi Rob, On Fri, 22 Sept 2023 at 13:43, Rob Herring wrote: > > On Fri, Sep 22, 2023 at 1:12 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Fri, 22 Sept 2023 at 11:46, Rob Herring wrote: > > > > > > On Fri, Sep 22, 2023 at 11:01:18AM -0600, Simon Glass wrote: > > > > Hi Rob, > > > > > > > > On

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Rob Herring
On Fri, Sep 22, 2023 at 1:12 PM Simon Glass wrote: > > Hi Rob, > > On Fri, 22 Sept 2023 at 11:46, Rob Herring wrote: > > > > On Fri, Sep 22, 2023 at 11:01:18AM -0600, Simon Glass wrote: > > > Hi Rob, > > > > > > On Fri, 22 Sept 2023 at 10:00, Rob Herring wrote: > > > > > > > > On Thu, Sep 21, 20

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Simon Glass
Hi Andrew, On Fri, 22 Sept 2023 at 12:44, Andrew Davis wrote: > > On 9/22/23 1:29 PM, Simon Glass wrote: > > Hi Andrew, > > > > On Fri, 22 Sept 2023 at 12:14, Andrew Davis wrote: > >> > >> On 9/22/23 11:40 AM, Simon Glass wrote: > >>> Hi Andrew, > >>> > >>> On Fri, 22 Sept 2023 at 10:35, Andrew

[PATCH v2] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Simon Glass
Binman[1] is a tool for creating firmware images. It allows you to combine various binaries and place them in an output file. Binman uses a DT schema to describe an image, in enough detail that it can be automatically built from component parts, disassembled, replaced, listed, etc. Images are typ

Re: [PATCH 09/32] spl: Avoid an #ifdef when printing gd->malloc_ptr

2023-09-22 Thread Tom Rini
On Fri, Sep 22, 2023 at 12:27:36PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 21 Sept 2023 at 09:36, Tom Rini wrote: > > > > On Wed, Sep 20, 2023 at 07:03:34PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 30 Aug 2023 at 15:39, Tom Rini wrote: > > > > > > > > On Wed, Aug 30, 2

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Andrew Davis
On 9/22/23 1:29 PM, Simon Glass wrote: Hi Andrew, On Fri, 22 Sept 2023 at 12:14, Andrew Davis wrote: On 9/22/23 11:40 AM, Simon Glass wrote: Hi Andrew, On Fri, 22 Sept 2023 at 10:35, Andrew Davis wrote: On 9/22/23 10:01 AM, Simon Glass wrote: Hi Masahiro, On Thu, 21 Sept 2023 at 09:36,

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Simon Glass
Hi Andrew, On Fri, 22 Sept 2023 at 12:14, Andrew Davis wrote: > > On 9/22/23 11:40 AM, Simon Glass wrote: > > Hi Andrew, > > > > On Fri, 22 Sept 2023 at 10:35, Andrew Davis wrote: > >> > >> On 9/22/23 10:01 AM, Simon Glass wrote: > >>> Hi Masahiro, > >>> > >>> On Thu, 21 Sept 2023 at 09:36, Masa

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-09-22 Thread Simon Glass
Hi Devarsh, On Tue, 12 Sept 2023 at 08:35, Devarsh Thakkar wrote: > > Hi Simon, > > On 11/09/23 04:44, Simon Glass wrote: > > Hi Devarsh, > > > > On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: > >> > >> On Wed, Aug 16, 2023 at 09:16:05PM +0530, Devarsh Thakkar wrote: > >>> Hi Simon, > >>> > >>> O

Re: [PATCH 09/32] spl: Avoid an #ifdef when printing gd->malloc_ptr

2023-09-22 Thread Simon Glass
Hi Tom, On Thu, 21 Sept 2023 at 09:36, Tom Rini wrote: > > On Wed, Sep 20, 2023 at 07:03:34PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 30 Aug 2023 at 15:39, Tom Rini wrote: > > > > > > On Wed, Aug 30, 2023 at 12:04:40PM -0600, Simon Glass wrote: > > > > Use an accessor in the header

Re: [PATCH 4/9] configs: sandbox: Enable GETOPT for sandbox and sandbox64 target

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > Enable GETOPT so that 'bdinfo' command with getopt() support can be > tested in CI. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --- > configs/sandbox64_defconfig | 1 + > con

Re: [PATCH 7/9] test: bdinfo: Test bdinfo -h

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > The bdinfo -h should print error message that -h is an unknown > parameter and then command help text. Test the expected output. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --

Re: [PATCH 6/9] test: bdinfo: Test both bdinfo and bdinfo -a

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > Factor out the core of test for all bdinfo output into bdinfo_test_all() > and then reuse it to verify that both 'bdinfo' and 'bdinfo -a' print all > the bdinfo output. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc

Re: [RFC 6/6] test: dm: add SCMI pinctrl test

2023-09-22 Thread Simon Glass
Hi, On Sun, 10 Sept 2023 at 23:47, AKASHI Takahiro wrote: > > On Sun, Sep 10, 2023 at 01:13:30PM -0600, Simon Glass wrote: > > Hi AKASHI, > > > > On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro > > wrote: > > > > > > In this test, SCMI-based pinmux feature is exercised. > > > > > > Signed-off-by:

Re: [PATCH 5/9] test: bdinfo: Rename bdinfo_test_move() to bdinfo_test_full()

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > Rename bdinfo_test_move() to bdinfo_test_full(). The former is a > remnant of deriving this test from another test. No functional > change. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon

Re: [PATCH 1/9] cmd: bdinfo: Optionally use getopt and implement bdinfo -a

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > Add optional support for getopt() and in case this is enabled via > GETOPT configuration option, implement support for 'bdinfo -a'. > The 'bdinfo -a' behaves exactly like bdinfo and prints 'all' the > bdinfo information. This is implemented in

Re: [PATCH 8/9] test: bdinfo: Test bdinfo -m

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > The bdinfo -m should print only the board memory layout. > Test the expected output. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --- > test/cmd/bdinfo.c | 26

Re: [PATCH v4] bootstd: sata: Add bootstd support for ahci sata

2023-09-22 Thread Simon Glass
On Sun, 17 Sept 2023 at 17:07, Tony Dinh wrote: > > Add ahci sata bootdev and corresponding hunting function. > > Signed-off-by: Tony Dinh > --- > > Changes in v4: > - Revise logic in bootmeth_script() to set devtype to sata for non-scsi > SATA device > - Rewrite sata_rescan() logic to properly r

Re: [PATCH 2/9] cmd: bdinfo: Implement support for printing memory layout via bdinfo -m

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > Add support for printing memory layout only via 'bdinfo -m' . > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --- > cmd/bdinfo.c | 5 - > 1 file changed, 4 insertions(+), 1 d

Re: [PATCH 9/9] test: bdinfo: Test bdinfo -e

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > The bdinfo -e should print only the board ethernet settings. > Test the expected output. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --- > test/cmd/bdinfo.c | 14

Re: [PATCH 3/9] cmd: bdinfo: Implement support for printing ethernet settings via bdinfo -e

2023-09-22 Thread Simon Glass
On Wed, 20 Sept 2023 at 16:58, Marek Vasut wrote: > > Add support for printing ethernet settings only via 'bdinfo -e' . > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --- > cmd/bdinfo.c | 7 ++- > 1 file changed, 6 insertions(+

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-22 Thread Simon Glass
On Tue, 12 Sept 2023 at 14:06, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Sun, 10 Sep 2023 13:13:16 -0600 > > > > Hi Mark, > > > > On Sun, 10 Sept 2023 at 08:57, Mark Kettenis > > wrote: > > > > > > > From: Simon Glass > > > > Date: Thu, 7 Sep 2023 09:57:34 -0600 > > > > > > > > Hi

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Andrew Davis
On 9/22/23 11:40 AM, Simon Glass wrote: Hi Andrew, On Fri, 22 Sept 2023 at 10:35, Andrew Davis wrote: On 9/22/23 10:01 AM, Simon Glass wrote: Hi Masahiro, On Thu, 21 Sept 2023 at 09:36, Masahiro Yamada wrote: Hi. Since the TI platform migrated to binman, u-boot.img is built twice. It i

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Simon Glass
Hi Rob, On Fri, 22 Sept 2023 at 11:46, Rob Herring wrote: > > On Fri, Sep 22, 2023 at 11:01:18AM -0600, Simon Glass wrote: > > Hi Rob, > > > > On Fri, 22 Sept 2023 at 10:00, Rob Herring wrote: > > > > > > On Thu, Sep 21, 2023 at 1:45 PM Simon Glass wrote: > > > > > > > > Binman[1] is a tool for

Re: Please pull u-boot-x86 into -next

2023-09-22 Thread Tom Rini
next > (2023-09-21 10:51:58 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-x86.git > tags/x86-pull-20230922 > > for you to fetch changes up to 5728246dfa11400d4f7aa8262ea630d8c09a85b9: > > x86: doc: coreboo

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Rob Herring
On Fri, Sep 22, 2023 at 11:01:18AM -0600, Simon Glass wrote: > Hi Rob, > > On Fri, 22 Sept 2023 at 10:00, Rob Herring wrote: > > > > On Thu, Sep 21, 2023 at 1:45 PM Simon Glass wrote: > > > > > > Binman[1] is a tool for creating firmware images. It allows you to > > > combine various binaries an

Re: [PATCH] net: wget: Avoid packet queue overflow

2023-09-22 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Tom Rini" > An: "richard" > CC: "u-boot" , "Joe Hershberger" > , "Ramon Fried" > Gesendet: Donnerstag, 31. August 2023 18:27:03 > Betreff: Re: [PATCH] net: wget: Avoid packet queue overflow > On Thu, Aug 31, 2023 at 12:27:59PM +0200, Richard Weinberger wr

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Simon Glass
Hi Rob, On Fri, 22 Sept 2023 at 10:00, Rob Herring wrote: > > On Thu, Sep 21, 2023 at 1:45 PM Simon Glass wrote: > > > > Binman[1] is a tool for creating firmware images. It allows you to > > combine various binaries and place them in an output file. > > > > Binman uses a DT schema to describe a

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Simon Glass
Hi Andrew, On Fri, 22 Sept 2023 at 10:35, Andrew Davis wrote: > > On 9/22/23 10:01 AM, Simon Glass wrote: > > Hi Masahiro, > > > > On Thu, 21 Sept 2023 at 09:36, Masahiro Yamada wrote: > >> > >> Hi. > >> > >> Since the TI platform migrated to binman, > >> u-boot.img is built twice. > >> > >> It

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Andrew Davis
On 9/22/23 10:01 AM, Simon Glass wrote: Hi Masahiro, On Thu, 21 Sept 2023 at 09:36, Masahiro Yamada wrote: Hi. Since the TI platform migrated to binman, u-boot.img is built twice. It is created by "mkimage -E", then overwritten by binman. So, the data are embedded in the FIT structure ins

Re: [PATCHv8 00/15] net/lwip: add lwip library for the network stack

2023-09-22 Thread Tom Rini
On Fri, Sep 22, 2023 at 12:56:58PM +0200, Simon Goldschmidt wrote: > > > On 21.09.2023 18:29, Simon Glass wrote: > > Hi, > > > > On Wed, 13 Sept 2023 at 07:35, Maxim Uvarov wrote: > > > > > > > > > > > > On Wed, 13 Sept 2023 at 19:14, Tom Rini wrote: > > > > > > > > On Wed, Sep 13, 2023 at

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Rob Herring
On Thu, Sep 21, 2023 at 1:45 PM Simon Glass wrote: > > Binman[1] is a tool for creating firmware images. It allows you to > combine various binaries and place them in an output file. > > Binman uses a DT schema to describe an image, in enough detail that > it can be automatically built from compon

Re: [PATCH 0/4] Add support for sam9x60 curiosity

2023-09-22 Thread Tom Rini
On Fri, Sep 22, 2023 at 09:00:38AM +0200, Alexander Dahl wrote: > Hello Durai, > > Am Thu, Sep 21, 2023 at 10:36:27PM +0530 schrieb Durai Manickam KR: > > This patch series adds boot from NAND support, configs update and > > fixes. The changes has been done on top of u-boot version 2023.07. > >

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-09-22 Thread Simon Glass
Hi Rasmus, On Thu, 21 Sept 2023 at 01:57, Rasmus Villemoes wrote: > > On 21/09/2023 03.02, Simon Glass wrote: > > Hi Rasmus, > > > > On Tue, 19 Sept 2023 at 05:37, Rasmus Villemoes > > wrote: > >> > >> In some cases, using the "external data" feature is impossible or > >> undesirable, but one ma

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Simon Glass
Hi Krzysztof, On Fri, 22 Sept 2023 at 01:02, Krzysztof Kozlowski wrote: > > On 21/09/2023 20:45, Simon Glass wrote: > > Binman[1] is a tool for creating firmware images. It allows you to > > combine various binaries and place them in an output file. > > > > Binman uses a DT schema to describe an

Re: [NEW FEATURE] RFC: Add Intel GMBUS support

2023-09-22 Thread Eric Schikschneit
Hello, That is correct. The new later revision Baytrail chips do not reliably initialize video upon boot. I have taken a significant amount of time to analyze the issue. The SOCs produced after 2019 show this issue, although I dont have the specific SKU or stepping details as our production tea

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Simon Glass
Hi Alper, On Fri, 22 Sept 2023 at 07:57, Alper Nebi Yasak wrote: > > On 2023-09-21 21:45 +03:00, Simon Glass wrote: > > Binman[1] is a tool for creating firmware images. It allows you to > > combine various binaries and place them in an output file. > > > > Binman uses a DT schema to describe an

Please pull u-boot-x86 into -next

2023-09-22 Thread Bin Meng
.denx.de/u-boot/custodians/u-boot-x86.git tags/x86-pull-20230922 for you to fetch changes up to 5728246dfa11400d4f7aa8262ea630d8c09a85b9: x86: doc: coreboot: Mention 64-bit Linux distros (2023-09-22 06:05:40 +0800) - Add bootstd sup

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Simon Glass
Hi Masahiro, On Fri, 22 Sept 2023 at 01:19, Masahiro Yamada wrote: > > On Fri, Sep 22, 2023 at 2:27 PM Neha Malcom Francis wrote: > > > > Hi Masahiro > > > > On 21/09/23 21:06, Masahiro Yamada wrote: > > > Hi. > > > > > > Since the TI platform migrated to binman, > > > u-boot.img is built twice.

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Simon Glass
Hi Masahiro, On Thu, 21 Sept 2023 at 09:36, Masahiro Yamada wrote: > > Hi. > > Since the TI platform migrated to binman, > u-boot.img is built twice. > > It is created by "mkimage -E", > then overwritten by binman. > > > So, the data are embedded in the FIT structure > instead of being appended.

Re: [PATCH] dt-bindings: mtd: Add a schema for binman

2023-09-22 Thread Alper Nebi Yasak
On 2023-09-21 21:45 +03:00, Simon Glass wrote: > Binman[1] is a tool for creating firmware images. It allows you to > combine various binaries and place them in an output file. > > Binman uses a DT schema to describe an image, in enough detail that > it can be automatically built from component pa

Re: [PATCH 1/1] riscv: set fdtfile on VisionFive 2

2023-09-22 Thread Shengyu Qu
Hello Leo, This patch seems only landed in next branch, not master. It is seriously needed to make visionfive 2 working properly. Could you merge it to master branch? Best regards, Shengyu Multiple revisions of the StarFive VisionFive 2 board exist. They can be identified by reading their E

[PATCH v2] arm64: versal: Add SelectMAP boot mode identification

2023-09-22 Thread Polak, Leszek
The SelectMAP configuration interface provides an 8-bit, 16-bit or 32-bit bidirectional data bus interface to the Versal FPGA configuration logic that can be used for both configuration and readback. A connected microcontoller to the SelectMAP interface can load boot image with bitstream, TF-A (AR

Re: [PATCHv9 01/15] submodule: add lwIP as git submodule

2023-09-22 Thread Alper Nebi Yasak
On 2023-09-21 18:39 +03:00, Tom Rini wrote: > On Wed, Sep 20, 2023 at 07:03:07PM -0600, Simon Glass wrote: >> Hi Maxim, >> >> On Thu, 14 Sept 2023 at 10:20, Maxim Uvarov wrote: >>> >>> add external lwIP library as a git submodule. If we add submodules, they should point to mirrors on source.denx.

bootefi with initramfs

2023-09-22 Thread Song Sam
Hi all, I am currently in the process of booting the Linux kernel using the U-boot 'bootefi' command. However, I am facing an issue with the root file system (rootfs) disk, which is not functioning properly. As a solution, I am considering providing an initramfs to the kernel. The problem I encou

[NEW FEATURE] RFC: Add Intel GMBUS support

2023-09-22 Thread Eric Schikschneit
I have begun working on adding support for the Intel Graphics Management bus to U-Boot. Currently the x86 bring up process (as explored on the Baytrail series of Atom SOCs) relys on the Intel Video BIOS to do all setup and configuration of the GPU. This method of adding video support works on ea

Re: [PATCHv9 01/15] submodule: add lwIP as git submodule

2023-09-22 Thread Simon Goldschmidt
On 21.09.2023 09:09, Maxim Uvarov wrote: On Thu, 21 Sept 2023 at 07:06, Simon Glass wrote: Hi Maxim, On Thu, 14 Sept 2023 at 10:20, Maxim Uvarov wrote: add external lwIP library as a git submodule. Oh dear...what is the motivation for using a submodule? Our current stack is nicely in

Re: [PATCHv8 00/15] net/lwip: add lwip library for the network stack

2023-09-22 Thread Simon Goldschmidt
On 21.09.2023 18:29, Simon Glass wrote: Hi, On Wed, 13 Sept 2023 at 07:35, Maxim Uvarov wrote: On Wed, 13 Sept 2023 at 19:14, Tom Rini wrote: On Wed, Sep 13, 2023 at 11:06:13AM +0100, Peter Robinson wrote: Then if for development you need to pull he history of lwip, you can do it w

[PATCH v3 5/6] arm: dts: k3-j721e-r5: Clean up inclusion hierarchy

2023-09-22 Thread Neha Malcom Francis
Get rid of k3-j721e-r5-*-u-boot.dtsi as it is not necessary. Change the inclusion hierarchy to be as follows: k3-j721e-.dts--- - -->k3-j721e-r5-.dts - k3-j721e--u-boot.dtsi--- Reason for explicit

[PATCH v3 4/6] configs: j721e: Remove HBMC_AM654 config

2023-09-22 Thread Neha Malcom Francis
Kernel commit d93036b47f35 ("arm64: dts: ti: k3-j721e-mcu_wakeup: Add HyperBus node") was merged to kernel without its dependent patch [1]. Similar fix is needed in U-Boot, and hbmc currently breaks boot. Till this gets fixed in U-Boot, disable the config by default so that the hbmc probe that happ

[PATCH v3 3/6] drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up

2023-09-22 Thread Neha Malcom Francis
When setting up boot media to load the TIFS binary in legacy boot flow (followed by J721E), get_timer() is called which calls dm_timer_init() which then gets the tick-timer: mcu_timer0. mcu_timer0 uses k3_clks (clock controller) and k3_pds (power controller) from the dmsc node that forces probe of

[PATCH v3 2/6] arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS

2023-09-22 Thread Neha Malcom Francis
When setting boot media to load the TIFS binary in legacy boot flow (followed by J721E), get_timer() is called which eventually calls dm_timer_init() to grab the tick-timer, which is mcu_timer0. Since we need to set up the clocks before using the timer, move clk_k3 driver probe before k3_sysfw_load

[PATCH v3 1/6] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-09-22 Thread Neha Malcom Francis
U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. Signed-off-by: Neha Malcom Francis Reviewed-by: Manorit Chawdhry --- arch/arm/mach-k3/j721e/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/j721e/dev-data.c b/arch/arm/mach-k3/j721e/dev-data.c i

[PATCH v3 0/6] [PATCH v3 0/6] J721E DTS Sync with Kernel v6.6-rc1

2023-09-22 Thread Neha Malcom Francis
This series aims to sync kernel.org v6.6-rc1 DTS with that of U-Boot. It also includes cleanups where necessary along with certain changes to ensure boot is unaffected. Same as with other board series that have taken up this effort, cleanup of mcu_ringacc and mcu_udmap are dependent on MCU DMA [1]

[PATCH 14/14] arm64: zynqmp: Aligned QSPI configuration with latest spec

2023-09-22 Thread Michal Simek
Official DT binding description for dual stacked/paralllel configurations have been merged that's why switch to it. Link: https://lore.kernel.org/r/20220126112608.955728-3-miquel.ray...@bootlin.com Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 4 +++- arch/arm/dts/

[PATCH 13/14] ARM: zynq: Describe nand device in DT

2023-09-22 Thread Michal Simek
Linux requires to describe nand structure under nand controller. If it is not described nand device is not detected by Linux. Error shown by Linux kernel: pl35x-nand-controller e100.nand-controller: Incorrect number of NAND chips (0) pl35x-nand-controller: probe of e100.nand-controller fa

[PATCH 11/14] arm64: zynqmp: Convert kv260-revA overlay to ASCII text

2023-09-22 Thread Michal Simek
File was in UTF-8 format but there is no reason for it. Convert it to ASCII/plain text. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso b/arch/arm/dts/zynqmp-

[PATCH 12/14] arm64: zynqmp: Sync licenses with Linux kernel

2023-09-22 Thread Michal Simek
There is difference between licenses in the Linux kernel and there shouldn't be any diff because all changes are coming from the same source at the same time. The difference is really in a time when they were upstreamed. That's why sync it up. Signed-off-by: Michal Simek --- arch/arm/dts/avnet-

[PATCH 10/14] arm64: dts: zynqmp: Add ports for the DisplayPort subsystem

2023-09-22 Thread Michal Simek
From: Laurent Pinchart The DPSUB DT bindings now specify ports to model the connections with the programmable logic and the DisplayPort output. Add them to the device tree. Signed-off-by: Laurent Pinchart Acked-by: Michal Simek Link: https://lore.kernel.org/r/1f367ee9554af5d67c86f206e1d6889cc

[PATCH 09/14] arm64: dts: zynqmp: zcu106a: Describe DisplayPort connector

2023-09-22 Thread Michal Simek
From: Laurent Pinchart Add a device tree node to describe the DisplayPort connector, and connect it to the DPSUB output. Signed-off-by: Laurent Pinchart Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu106-revA.dts | 20 1 file changed, 20 insertions(+) diff --git

[PATCH 08/14] arm64: xilinx: Remove address/size-cells from gem nodes

2023-09-22 Thread Michal Simek
Some boards are using one mdio bus which holds multiple phys and also boards are using mdio node for bus description. That's why there are cases where address/size-cells are unnecessary which is also reported by make W=1 dtbs. That's why remove them from zynqmp.dtsi and let board DTSes to handle it

[PATCH 07/14] arm64: xilinx: Put ethernet phys to mdio node

2023-09-22 Thread Michal Simek
All zynqmp boards have been already described via mdio node that's why also convert the rest of the boards. With using mdio node there is an option to add reset property for the whole mdio bus which is reflected by 's/phy-reset-gpios/reset-gpios/g' for some boards. Signed-off-by: Michal Simek ---

[PATCH 06/14] arm64: zynqmp: Fix Siva's email address format

2023-09-22 Thread Michal Simek
Some patches didn't have his full name and also there was one more ">" at the end of email address. That's why correct both of these issues. Fixes: 174d728471d5 ("arm64: zynqmp: Switch to amd.com emails") Signed-off-by: Michal Simek --- arch/arm/dts/versal-mini-emmc0.dts | 2 +- arch/arm/

[PATCH 05/14] arm64: zynqmp: Describe bus-width for SD card on KV260

2023-09-22 Thread Michal Simek
SD card is connected with 4 data lines which should be described properly. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 2 +- arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp-sck-kv-g-re

[PATCH 03/14] arm64: xilinx: Remove address/size-cells from flash node

2023-09-22 Thread Michal Simek
Partitions are described via fixed-partitions that's why there is no need to have address/size-cells in flash node. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp

[PATCH 04/14] arm64: xilinx: Use lower case for partition address

2023-09-22 Thread Michal Simek
Lower case should be used for register address. Issue is reported as: flash@0: partitions: Unevaluated properties are not allowed ('partition@22A' was unexpected) Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-sm-k26-revA.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH 02/14] arm64: dts: xilinx: zynqmp: Add RPU subsystem device node

2023-09-22 Thread Michal Simek
From: Tanmay Shah RPU subsystem can be configured in cluster-mode or split mode. Also each r5 core has separate power domains. Signed-off-by: Tanmay Shah Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 33 + 1 file changed, 33 insertions(+) diff --

[PATCH 01/14] arm64: zynqmp: Describe interrupts by using macros

2023-09-22 Thread Michal Simek
Use arm-gic.h and irq.h for interrupt description. It helps to improve readability of device tree file. Suggested-by: Laurent Pinchart Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 184 +++ 1 file changed, 110 insertions(+), 74 deletions(-) dif

[PATCH 00/14] arm64: xilinx: Sync with Linux kernel

2023-09-22 Thread Michal Simek
Hi, this series is syncing DTs with Linux kernel. A lot of patches are simply taken from the Linux kernel and taken to U-Boot. But there are also some new one which are trying to fix violations. There is still some work to happen to be 100% in sync but we are getting closer and closer. Thanks, Mi

Re: [PATCH v2 01/17] dm: usb: udc: Factor out plain udevice handler functions

2023-09-22 Thread Miquel Raynal
Hi Marek, I'm answering here as there is no cover letter. Just to let you know I'm still concerned by the series and want to test it but did not had the time to do so recently. Hopefully next week. Sorry for the delay. Miquèl ma...@denx.de wrote on Fri, 1 Sep 2023 11:49:47 +0200: > Pull the f

Re: [PATCH v2 00/10] rockchip: rk3588: add support for DFU in SPL

2023-09-22 Thread Eugen Hristev
On 9/22/23 03:48, Kever Yang wrote: On 2023/9/21 22:47, Eugen Hristev wrote: On 8/1/23 10:28, Eugen Hristev wrote: This series adds support for DFU in SPL for rockchip rk3588 on rock5b board. Namely, when SPL is loaded via rockusb (thus via USB), having the `same-as-spl` boot order item, afte

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Masahiro Yamada
On Fri, Sep 22, 2023 at 5:04 PM Neha Malcom Francis wrote: > > Hi Masahiro > > On 22/09/23 12:48, Masahiro Yamada wrote: > > On Fri, Sep 22, 2023 at 2:27 PM Neha Malcom Francis > > wrote: > >> > >> Hi Masahiro > >> > >> On 21/09/23 21:06, Masahiro Yamada wrote: > >>> Hi. > >>> > >>> Since the TI

Re: [PATCH v2 1/1] mtd: nand: raw: atmel: Add error handling when rb-gpios missing

2023-09-22 Thread Eugen Hristev
On 9/22/23 12:08, Alexander Dahl wrote: Adapt behaviour to Linux kernel driver. The return value of gpio_request_by_name_nodev() was not checked before, and thus in case 'rb-gpios' was missing in DT, rb.type was set to ATMEL_NAND_GPIO_RB nevertheless, leading to output like this for example (on

[PATCH] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-09-22 Thread Neha Malcom Francis
According to the TRMs of K3 platform of devices, the ROM boot image format specifies a "Core Options Field" that provides the capability to set the Dual MCU present to lockstep when set to 0 or to split mode when set to 2. Add support for providing the same from the binman DTS. Also modify existing

[PATCH v2 0/1] mtd: nand: raw: atmel: R/B gpio on sam9x60

2023-09-22 Thread Alexander Dahl
Hei hei, after sending v1 of this patch Eugen and Michael discussed what would be the right approach in U-Boot here. Actually now I saw I did not correctly port what Linux does here in v1, but this v2 should be what I understood would be the preferred solution and should be similar to what Linux

[PATCH v2 1/1] mtd: nand: raw: atmel: Add error handling when rb-gpios missing

2023-09-22 Thread Alexander Dahl
Adapt behaviour to Linux kernel driver. The return value of gpio_request_by_name_nodev() was not checked before, and thus in case 'rb-gpios' was missing in DT, rb.type was set to ATMEL_NAND_GPIO_RB nevertheless, leading to output like this for example (on sam9x60-curiosity with the line removed fr

[PATCH] MAINTAINERS: Step up as maintainers of UniPhier SoC platform

2023-09-22 Thread Kunihiko Hayashi
Update maintainers for UniPhier SoC platform. Signed-off-by: Kunihiko Hayashi --- MAINTAINERS | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0a10a436bcec..281a3f81f73a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -723,7 +723,10 @@ F: driv

Re: [PATCH v2] env: ti: ti_common.env: Fix get_overlaystring for FIT Image

2023-09-22 Thread Manorit Chawdhry
Hi Andrew, On 12:03-20230921, Andrew Davis wrote: > On 9/21/23 5:49 AM, Manorit Chawdhry wrote: > > After the refactor with conf- nodes in fitImage, overlaystring wasn't > > didn't handle the new conf- nodes in FIT Booting. Fix get_overlaystring > > to handle conf- nodes. > > > > Fixes: 837833a72

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Neha Malcom Francis
Hi Masahiro On 22/09/23 12:48, Masahiro Yamada wrote: On Fri, Sep 22, 2023 at 2:27 PM Neha Malcom Francis wrote: Hi Masahiro On 21/09/23 21:06, Masahiro Yamada wrote: Hi. Since the TI platform migrated to binman, u-boot.img is built twice. It is created by "mkimage -E", then overwritten b

Re: [Question] TI's u-boot.img is built twice

2023-09-22 Thread Masahiro Yamada
On Fri, Sep 22, 2023 at 2:27 PM Neha Malcom Francis wrote: > > Hi Masahiro > > On 21/09/23 21:06, Masahiro Yamada wrote: > > Hi. > > > > Since the TI platform migrated to binman, > > u-boot.img is built twice. > > > > It is created by "mkimage -E", > > then overwritten by binman. > > > > > > So, t

[PATCH v4 8/8] efi_loader: create BlockIo device boot option

2023-09-22 Thread Masahisa Kojima
Current efibootmgr automatically creates the boot options of all the disks and partitions installing SIMPLE_FILE_SYSTEM_PROTOCOL. These boot options are created to load and start the default file(e.g. EFI/BOOT/BOOTAA64.EFI). Now efibootmgr can scan the BlockIo device and try to boot with the defau

[PATCH v4 7/8] doc: uefi: add HTTP Boot support

2023-09-22 Thread Masahisa Kojima
This adds the description about HTTP Boot. Signed-off-by: Masahisa Kojima --- doc/develop/uefi/uefi.rst | 30 ++ 1 file changed, 30 insertions(+) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index a7a41f2fac..65eea89265 100644 --- a/doc/develop/

[PATCH v4 6/8] cmd: efidebug: add uri device path

2023-09-22 Thread Masahisa Kojima
This adds the URI device path option for 'boot add' subcommand. User can add the URI load option for downloading ISO image file or EFI application through network. Currently HTTP is only supported. Signed-off-by: Masahisa Kojima --- cmd/efidebug.c | 50 +++ includ

  1   2   >