Re: [PATCH v6 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-07-12 Thread Jan Kiszka
On 12.07.23 20:34, Neha Malcom Francis wrote: > Move to using binman to generate tispl.bin which is used to generate the > final flash.bin bootloader for iot2050 boards. > > Signed-off-by: Neha Malcom Francis > Cc: Jan Kiszka > Reviewed-by: Simon Glass > --- >

Re: [PATCH v4 30/45] x86: Allow logging to be used in SPL reliably

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:02 PM Simon Glass wrote: > > When global_data is relocated, log_head moves in memory, meaning that > the items in that list point to the wrong place. > > Disable logging when making the change, then reenable it afterwards, so > that logging works normally. > >

Re: [PATCH v4 29/45] x86: Enable display for QEMU 64-bit

2023-07-12 Thread Bin Meng
Hi Simon, On Mon, Jun 19, 2023 at 8:02 PM Simon Glass wrote: > > Enable the various options needed for display to work on the qemu-x86_64 > board. This includes expanding the available malloc() memory in SPL, > since the PCI bus must be enumerated in order to find the video device. > > It also

Re: [PATCH v4 28/45] pci: Mask the ROM address in case it is already enabled

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > In some cases the video ROM may have been enabled previously, such as by > a previous firmware stage. Use the correct address in that case. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > drivers/pci/pci_rom.c | 1 + > 1

Re: [PATCH v4 27/45] pci: Adjust video BIOS debugging to be SPL-friendly

2023-07-12 Thread Bin Meng
Hi Simon, On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > A hex value is expected for the VGA mode. Drop the 0x prefix, which is > not supported in SPL. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > drivers/pci/pci_rom.c | 4 ++-- > 1 file changed, 2 insertions(+),

Re: [PATCH v4 26/45] x86: Init video in SPL if enabled

2023-07-12 Thread Bin Meng
Hi Simon, On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > When video is required in SPL, set this up ready for use. Ignore any > problems since it may be that video is not actually available and we > still want to continue on to U-Boot proper in that case. > > Make sure that the SPL

Re: [PATCH v4 21/45] pci: Support autoconfig in SPL

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > Allow PCI autoconfig to be handled in SPL, so that we can set it up > correctly for boards which need to do this before U-Boot proper. This > includes qemu-x64_64 which needs to set up the video device while in > 32-bit mode. > >

Re: [PATCH v4 25/45] x86: Pass video settings from SPL to U-Boot proper

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > When video is set up in SPL, U-Boot proper needs to use the correct > parameters so it can write to the display. > > Put these in a bloblist so they are available to U-Boot proper. > > Signed-off-by: Simon Glass > Reviewed-by: Nikhil M Jain

Re: [PATCH v4 24/45] x86: Allow video-BIOS code to be built for SPL

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > With qemu-x86_64 we need to run the video BIOS while in 32-bit mode, i.e. > SPL. Add a Kconfig option for this, adjust the Makefile rules and use > CONFIG_IS_ENABLED() where needed. > > Signed-off-by: Simon Glass > --- > > (no changes since

Re: [PATCH v4 23/45] pci: Tidy up logging and reporting for video BIOS

2023-07-12 Thread Bin Meng
On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > When running the ROM the code is not very helpful when something goes > wrong. Add a little more debugging and some logging of return values to > improve this. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > >

Re: [PATCH v4 22/45] pci: Allow the video BIOS to work in SPL with QEMU

2023-07-12 Thread Bin Meng
Hi Simon, On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > QEMU emulates two common machines (Q35 and i440fx) which use mapping to > determine whether RAM is present below 1MB. In order to copy the video > BIOS to c we need to flip this mapping over to RAM. This does not > happen

Re: [PATCH 1/2] CI: Update to QEMU 8.0.3

2023-07-12 Thread Bin Meng
On Thu, Jul 13, 2023 at 11:04 AM Tom Rini wrote: > > On Thu, Jul 13, 2023 at 10:51:15AM +0800, Bin Meng wrote: > > On Thu, Jul 13, 2023 at 10:04 AM Tom Rini wrote: > > > > > > Move up to the latest tagged release of QEMU > > > > I have the same patch in my local tree :) > > > > > > > >

Re: [PATCH 1/2] CI: Update to QEMU 8.0.3

2023-07-12 Thread Tom Rini
On Thu, Jul 13, 2023 at 10:51:15AM +0800, Bin Meng wrote: > On Thu, Jul 13, 2023 at 10:04 AM Tom Rini wrote: > > > > Move up to the latest tagged release of QEMU > > I have the same patch in my local tree :) > > > > > Signed-off-by: Tom Rini > > --- > > tools/docker/Dockerfile | 7 +++ > >

Re: [PATCH 1/2] CI: Update to QEMU 8.0.3

2023-07-12 Thread Bin Meng
On Thu, Jul 13, 2023 at 10:04 AM Tom Rini wrote: > > Move up to the latest tagged release of QEMU I have the same patch in my local tree :) > > Signed-off-by: Tom Rini > --- > tools/docker/Dockerfile | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git

[PATCH 1/2] CI: Update to QEMU 8.0.3

2023-07-12 Thread Tom Rini
Move up to the latest tagged release of QEMU Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index aa54e2689fb5..733099684be6 100644 --- a/tools/docker/Dockerfile +++

[PATCH 2/2] CI: Update to the latest "Jammy" tag

2023-07-12 Thread Tom Rini
Move to the latest "Jammy" tag from Ubuntu. Signed-off-by: Tom Rini --- .azure-pipelines.yml| 2 +- .gitlab-ci.yml | 2 +- tools/docker/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index

Re: [PATCH v5] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Marek Vasut
On 7/13/23 02:40, Tim Harvey wrote: Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. While we are at it replace '#if CONFIG_IS_ENABLED(CLK)' with 'if (CONFIG_IS_ENABLED(CLK))' as a cleanup. Signed-off-by: Tim

[PATCH v5] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Tim Harvey
Add support for enabling and disabling vbus-supply regulator found on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. While we are at it replace '#if CONFIG_IS_ENABLED(CLK)' with 'if (CONFIG_IS_ENABLED(CLK))' as a cleanup. Signed-off-by: Tim Harvey Reviewed-by: Adam Ford

Re: [PATCH v2 0/4] riscv: Initial support for Lichee PI 4A board

2023-07-12 Thread Guo Ren
For this series: Reviewed-by: Guo Ren On Sat, Jul 8, 2023 at 7:25 AM Yixun Lan wrote: > > Sipeed's Lichee PI 4A board is based on T-HEAD's TH1520 SoC which consists of > quad core XuanTie C910 CPU, plus one C906 CPU and one E902 CPU. > > In this series, we add a basic device tree, including

Re: [PATCH 2/2] dt-bindings: add device tree bindings for mxl-8611x PHY

2023-07-12 Thread Marek Vasut
On 7/13/23 02:12, Nate Drude wrote: Hi Marek, On 7/12/23 5:16 PM, Marek Vasut wrote: [You don't often get email from marek.va...@mailbox.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On 7/12/23 22:50, Nate Drude wrote: The MXL8611X driver has custom

Re: [PATCH 1/2] phy: mxl-8611x: add driver for MaxLinear mxl-8611x PHYs

2023-07-12 Thread Nate Drude
Hi Marek, On 7/12/23 5:15 PM, Marek Vasut wrote: [You don't often get email from marek.va...@mailbox.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On 7/12/23 22:48, Nate Drude wrote: The MxL86110 is a low power Ethernet PHY transceiver integrated circuit

Re: [PATCH 2/2] dt-bindings: add device tree bindings for mxl-8611x PHY

2023-07-12 Thread Nate Drude
Hi Marek, On 7/12/23 5:16 PM, Marek Vasut wrote: [You don't often get email from marek.va...@mailbox.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] On 7/12/23 22:50, Nate Drude wrote: The MXL8611X driver has custom bindings for configuring the LEDs and

Re: [PATCH 2/2] dt-bindings: add device tree bindings for mxl-8611x PHY

2023-07-12 Thread Nate Drude
On 7/12/23 3:50 PM, Nate Drude wrote: The MXL8611X driver has custom bindings for configuring the LEDs and RGMII internal delays. This patch adds the documentation and defines necessary to configure it from the device tree. Signed-off-by: Nate Drude ---  .../net/phy/mxl-8611x.txt   

RE: [PATCH] mmc:Remove thr legacy mode clock setting operation

2023-07-12 Thread Jaehoon Chung
Hi, > -Original Message- > From: 869470...@qq.com <869470...@qq.com> > Sent: Wednesday, July 12, 2023 4:19 PM > To: u-boot@lists.denx.de > Cc: peng@nxp.com; jh80.ch...@samsung.com; xiefei > Subject: [PATCH] mmc:Remove thr legacy mode clock setting operation > > From: xiefei > >

Re: [PATCH 2/2] dt-bindings: add device tree bindings for mxl-8611x PHY

2023-07-12 Thread Marek Vasut
On 7/12/23 22:50, Nate Drude wrote: The MXL8611X driver has custom bindings for configuring the LEDs and RGMII internal delays. This patch adds the documentation and defines necessary to configure it from the device tree. Signed-off-by: Nate Drude Is this binding document picked from Linux ?

Re: [PATCH 1/2] phy: mxl-8611x: add driver for MaxLinear mxl-8611x PHYs

2023-07-12 Thread Marek Vasut
On 7/12/23 22:48, Nate Drude wrote: The MxL86110 is a low power Ethernet PHY transceiver integrated circuit following the IEEE 802.3 [1] standard. It offers a cost-optimized solution that is well-suited for routers, switches, and home gateways. It performs data transmission on an Ethernet

Re: [PATCH] buildman: Switch ARC toolchain to the upstream version

2023-07-12 Thread Tom Rini
On Fri, Jul 07, 2023 at 10:04:53PM +0100, Alexey Brodkin wrote: > Back in the day we relied a lot on Synopsys own build of the GNU tools > for ARC processors, but since then we worked hard on getting all our changes > upstream and for a couple of years now we have ARCompact (AKA ARCv1) > and

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 11:40:37PM +0200, Marek Vasut wrote: > On 7/12/23 20:30, Tim Harvey wrote: > > On Wed, Jul 12, 2023 at 10:25 AM Marek Vasut wrote: > > > > > > On 7/12/23 18:29, Tim Harvey wrote: > > > > On Wed, Jul 12, 2023 at 8:10 AM Tim Harvey > > > > wrote: > > > > > > > > > > On

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Marek Vasut
On 7/12/23 20:30, Tim Harvey wrote: On Wed, Jul 12, 2023 at 10:25 AM Marek Vasut wrote: On 7/12/23 18:29, Tim Harvey wrote: On Wed, Jul 12, 2023 at 8:10 AM Tim Harvey wrote: On Wed, Jul 12, 2023 at 2:15 AM Marek Vasut wrote: On 7/11/23 22:13, Tim Harvey wrote: On Mon, Jul 10, 2023 at

Re: [PATCH] arm: dts: imx8m: add OPTEE_LOAD_ADDRESS config and tee.bin

2023-07-12 Thread Tim Harvey
On Wed, Jul 12, 2023 at 3:37 AM Stefano Babic wrote: > > Hi Tim, > > On 22.06.23 19:30, Tim Harvey wrote: > > Add a Kconfig for OPTEE_LOAD_ADDRESS which adds tee.bin to the > > imx8m{m,n,p} FIT image. > > > > Prior to using binman for image creation the presense of tee.bin in the > > directory

[PATCH 2/2] dt-bindings: add device tree bindings for mxl-8611x PHY

2023-07-12 Thread Nate Drude
The MXL8611X driver has custom bindings for configuring the LEDs and RGMII internal delays. This patch adds the documentation and defines necessary to configure it from the device tree. Signed-off-by: Nate Drude --- .../net/phy/mxl-8611x.txt | 37 +++

[PATCH 1/2] phy: mxl-8611x: add driver for MaxLinear mxl-8611x PHYs

2023-07-12 Thread Nate Drude
The MxL86110 is a low power Ethernet PHY transceiver integrated circuit following the IEEE 802.3 [1] standard. It offers a cost-optimized solution that is well-suited for routers, switches, and home gateways. It performs data transmission on an Ethernet twisted pair copper cable of category CAT5e

Re: [PATCH] CI: Add automatic retry for test.py jobs

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 02:32:18PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 12 Jul 2023 at 11:09, Tom Rini wrote: > > > > On Wed, Jul 12, 2023 at 08:00:23AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 11 Jul 2023 at 20:33, Tom Rini wrote: > > > > > > > > It is not

Re: [PATCH v6 21/23] binman: Overwrite symlink if it already exists

2023-07-12 Thread Simon Glass
On Wed, 12 Jul 2023 at 12:37, Neha Malcom Francis wrote: > > From: Andrew Davis > > Without this re-building will fail with an error when trying to create > the symlink for the second time with an already exists error. > > Signed-off-by: Andrew Davis > [n-fran...@ti.com: Added support for test

Re: [PATCH] Azure: Add excludes to the imx8_imx9 job

2023-07-12 Thread Simon Glass
On Wed, 12 Jul 2023 at 14:22, Tom Rini wrote: > > The job to build all imx8 and imx9 platforms is currently close to, or > sometimes exceeding the allowed build time. Exclude some platforms that > are already being built under their vendor-specific job as well to > reduce the time. > >

Re: [PATCH] CI: Add automatic retry for test.py jobs

2023-07-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jul 2023 at 11:09, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 08:00:23AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 11 Jul 2023 at 20:33, Tom Rini wrote: > > > > > > It is not uncommon for some of the QEMU-based jobs to fail not because > > > of a code issue but

Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 02:17:45PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 12 Jul 2023 at 14:14, Tom Rini wrote: > > > > On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 12 Jul 2023 at 13:36, Tom Rini wrote: > > > > > > > > On Wed, Jul 12,

[PATCH] Azure: Add excludes to the imx8_imx9 job

2023-07-12 Thread Tom Rini
The job to build all imx8 and imx9 platforms is currently close to, or sometimes exceeding the allowed build time. Exclude some platforms that are already being built under their vendor-specific job as well to reduce the time. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- 1 file

Re: Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jul 2023 at 14:14, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 12 Jul 2023 at 13:36, Tom Rini wrote: > > > > > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote: > > > > On Wed, Jul 12, 2023 at

Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 02:09:19PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 12 Jul 2023 at 13:36, Tom Rini wrote: > > > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote: > > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote: > > > > > > > Hi Tom. > > > > > > > >

Re: [RFC PATCH] riscv: sifive: fu70: downclock CPU clock for stability

2023-07-12 Thread Maciej W. Rozycki
On Thu, 13 Jul 2023, Icenowy Zheng wrote: > >  FWIW, given the price and amount of DRAM used I think it makes no > > sense > > to build computers equipped with a DRAM subsystem without ECC > > nowadays. > > Well the HiFive Unmatched board looks like it has a DRAM chip for ECC, > but whether

Re: Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jul 2023 at 13:36, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote: > > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote: > > > > > Hi Tom. > > > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872 > > > > > > > >

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 11:30:58AM -0700, Tim Harvey wrote: > On Wed, Jul 12, 2023 at 10:25 AM Marek Vasut wrote: > > > > On 7/12/23 18:29, Tim Harvey wrote: > > > On Wed, Jul 12, 2023 at 8:10 AM Tim Harvey wrote: > > >> > > >> On Wed, Jul 12, 2023 at 2:15 AM Marek Vasut wrote: > > >>> > > >>>

Re: [PULL] u-boot-riscv/master

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 06:58:21AM +, Leo Liang wrote: > Hi Tom, > > The following changes since commit 8e21064cb3452950b09301baec06d86e37342471: > > Merge tag 'efi-2023-07-rc7' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11 13:27:32 > -0400) > > are available in

Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 03:29:39PM -0400, Tom Rini wrote: > On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote: > > > Hi Tom. > > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872 > > > > > > The following changes since commit

Re: Please pull u-boot-dm

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 09:51:13AM -0600, Simon Glass wrote: > Hi Tom. > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872 > > > The following changes since commit 8e21064cb3452950b09301baec06d86e37342471: > > Merge tag 'efi-2023-07-rc7' of >

[PATCH v6 04/23] j721e: schema: yaml: Add general schema and J721E board config files

2023-07-12 Thread Neha Malcom Francis
Schema file in YAML must be provided in board/ti/common for validating input config files and packaging system firmware. The schema includes entries for rm-cfg, board-cfg, pm-cfg and sec-cfg. Board config files must be provided in board/ti/ in YAML. These can then be consumed for generation of

[PATCH] cmd: ubi: Fix 'ubi list' command arguments parsing

2023-07-12 Thread Dmitry Dunaev
This fixes allowed argc variable value for arguments parsing Fixes: 6de1daf64b1 ("cmd: ubi: Add 'ubi list' command") Signed-off-by: Dmitry Dunaev --- cmd/ubi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ubi.c b/cmd/ubi.c index b61ae1efea..0a6a80bdd1 100644 ---

Re: [PATCH v1 0/5] Make the clock dt-bindings and DT nodes consistent with Linux

2023-07-12 Thread Hal Feng
On Tue, 11 Jul 2023 11:09:23 +0200, Torsten Duwe wrote: > On Fri, 7 Jul 2023 18:50:06 +0800 > Hal Feng wrote: > >> The clock dt-bindings and DT nodes are not consistent with Linux now. >> Let's sync them with Linux, so the same dtb can work for Linux & U-Boot. >> >> To achieve this goal, the

Re: [RFC PATCH] riscv: sifive: fu70: downclock CPU clock for stability

2023-07-12 Thread Icenowy Zheng
在 2023-07-12星期三的 14:13 +0100,Maciej W. Rozycki写道: > On Wed, 28 Jun 2023, Icenowy Zheng wrote: > > > When building the package `rustc` for AOSC OS on HiFive Unmatched, > > random SIGSEGV prevents the package from getting correctly built. > > Downclocking the CPU PLL clock seems to allow rustc to

[PATCH] dm: core: Deal with __symbols__ in devicetree

2023-07-12 Thread Simon Glass
This node is 'special' and doesn't have a compatible string. Deal with it is as a special case. Reported-by: Sahaj Sarup Signed-off-by: Simon Glass --- drivers/core/root.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/core/root.c b/drivers/core/root.c index

[PATCH v6 23/23] CI: Make use of buildman requirements.txt

2023-07-12 Thread Neha Malcom Francis
From: Tom Rini Now that buildman has a requirements.txt file we need to make use of it. Signed-off-by: Tom Rini Reviewed-by: Simon Glass [n-fran...@ti.com: Adding missing command from .azure-pipelines.yml] Signed-off-by: Neha Malcom Francis --- .azure-pipelines.yml | 4 .gitlab-ci.yml

[PATCH v6 22/23] buildman: Create a requirements.txt file

2023-07-12 Thread Neha Malcom Francis
From: Tom Rini At this point, buildman requires a few different modules and so we need a requirements.txt to track what modules are needed. Cc: Simon Glass Cc: Neha Malcom Francis Signed-off-by: Tom Rini Reviewed-by: Simon Glass Signed-off-by: Neha Malcom Francis ---

[PATCH v6 21/23] binman: Overwrite symlink if it already exists

2023-07-12 Thread Neha Malcom Francis
From: Andrew Davis Without this re-building will fail with an error when trying to create the symlink for the second time with an already exists error. Signed-off-by: Andrew Davis [n-fran...@ti.com: Added support for test output dir and testcase] Signed-off-by: Neha Malcom Francis ---

[PATCH v6 20/23] doc: board: ti: Update documentation for binman flow

2023-07-12 Thread Neha Malcom Francis
Earlier documentation specified builds for generating bootloader images using an external TI repository k3-image-gen and core-secdev-k3. Modify this to using the binman flow so that user understands how to build the final boot images. Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass

[PATCH v6 19/23] k3: tools: config.mk: Update makefile and remove scripts

2023-07-12 Thread Neha Malcom Francis
Since binman is used to package bootloader images for all K3 devices, we do not have to rely on the earlier methods to package them. Scripts that were used to generate x509 certificate for tiboot3.bin and generate tispl.bin, u-boot.img have been removed. Signed-off-by: Neha Malcom Francis

[PATCH v6 18/23] arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050

2023-07-12 Thread Neha Malcom Francis
Move to using binman to generate tispl.bin which is used to generate the final flash.bin bootloader for iot2050 boards. Signed-off-by: Neha Malcom Francis Cc: Jan Kiszka Reviewed-by: Simon Glass --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 76 +++- 1 file changed, 74

[PATCH v6 17/23] am62a: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-07-12 Thread Neha Malcom Francis
Support added for HS-SE, HS-FS and GP boot binaries for AM62ax. HS-SE: * tiboot3-am62ax-hs-evm.bin * tispl.bin * u-boot.img HS-FS: * tiboot3-am62ax-hs-fs-evm.bin * tispl.bin * u-boot.img GP: * tiboot3.bin --> tiboot3-am62ax-gp-evm.bin * tispl.bin_unsigned *

[PATCH v6 16/23] am62a: yaml: Add board configs for AM62ax

2023-07-12 Thread Neha Malcom Francis
Added YAML configs for AM62ax Signed-off-by: Neha Malcom Francis --- board/ti/am62ax/board-cfg.yaml | 36 + board/ti/am62ax/pm-cfg.yaml | 12 + board/ti/am62ax/rm-cfg.yaml | 1151 ++ board/ti/am62ax/sec-cfg.yaml | 379 ++

[PATCH v6 15/23] am625: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-07-12 Thread Neha Malcom Francis
Support added for HS-SE, HS-FS and GP boot binaries for AM62. HS-SE: * tiboot3-am62x-hs-evm.bin * tispl.bin * u-boot.img HS-FS: * tiboot3-am62x-hs-fs-evm.bin * tispl.bin * u-boot.img GP: * tiboot3.bin --> tiboot3-am62x-gp-evm.bin * tispl.bin_unsigned *

[PATCH v6 14/23] am62: yaml: Add board configs for AM62

2023-07-12 Thread Neha Malcom Francis
Added YAML configs for AM62 Signed-off-by: Neha Malcom Francis --- board/ti/am62x/board-cfg.yaml | 36 ++ board/ti/am62x/pm-cfg.yaml| 12 + board/ti/am62x/rm-cfg.yaml| 1088 + board/ti/am62x/sec-cfg.yaml | 379 4 files changed, 1515

[PATCH v6 13/23] j721s2: dts: binman: Package tiboot3.bin, tispl.bin and u-boot.img

2023-07-12 Thread Neha Malcom Francis
Support has been added for both HS-SE, HS-FS and GP images. HS-SE: * tiboot3-j721s2-hs-evm.bin * tispl.bin * u-boot.img HS-FS: * tiboot3-j721s2-hs-fs-evm.bin * tispl.bin * u-boot.img GP: * tiboot3.bin --> tiboot3-j721s2-gp-evm.bin * tispl.bin_unsigned *

[PATCH v6 12/23] j721s2: yaml: Add board configs for J721S2

2023-07-12 Thread Neha Malcom Francis
Added YAML configs for J721S2 Signed-off-by: Neha Malcom Francis --- board/ti/j721s2/board-cfg.yaml | 36 + board/ti/j721s2/pm-cfg.yaml| 12 + board/ti/j721s2/rm-cfg.yaml| 2901 board/ti/j721s2/sec-cfg.yaml | 379 + 4 files changed, 3328

[PATCH v6 11/23] am64x: dts: binman: Package tiboot3.bin, tispl.bin u-boot.img

2023-07-12 Thread Neha Malcom Francis
Support added for HS and GP boot binaries for AM64x. HS-SE: * tiboot3-am64x_sr2-hs-evm.bin * tispl.bin * u-boot.img HS-FS: * tiboot3-am64x_sr2-hs-fs-evm.bin * tispl.bin * u-boot.img GP: * tiboot3.bin --> tiboot3-am64x-gp-evm.bin * tispl.bin_unsigned *

[PATCH v6 10/23] am64x: yaml: Add board configs for AM64x

2023-07-12 Thread Neha Malcom Francis
Added YAML configs for AM64xx Signed-off-by: Neha Malcom Francis --- board/ti/am64x/board-cfg.yaml | 36 + board/ti/am64x/pm-cfg.yaml| 12 + board/ti/am64x/rm-cfg.yaml| 1400 + board/ti/am64x/sec-cfg.yaml | 380 + 4 files changed, 1828

[PATCH v6 09/23] am65: dts: binman: Package tiboot3.bin, sysfw.itb, tispl.bin, u-boot.img

2023-07-12 Thread Neha Malcom Francis
Support has been added for both HS-SE(SR 2.0) and GP(SR 2.0) images. HS-SE: * tiboot3-am65x_sr2-hs-evm.bin * sysfw-am65x_sr2-hs-evm.itb * tispl.bin * u-boot.img GP: * tiboot3.bin --> tiboot3-am65x_sr2-gp-evm.bin * sysfw.itb -->

[PATCH v6 08/23] am65x: yaml: Add AM65x board config files

2023-07-12 Thread Neha Malcom Francis
Added YAML configs for AM65x Signed-off-by: Neha Malcom Francis --- board/ti/am65x/board-cfg.yaml | 36 + board/ti/am65x/pm-cfg.yaml| 12 + board/ti/am65x/rm-cfg.yaml| 2068 + board/ti/am65x/sec-cfg.yaml | 379 ++ 4 files changed, 2495

[PATCH v6 07/23] j7200: dts: binman: Package tiboot3.bin, tispl.bin, u-boot.img

2023-07-12 Thread Neha Malcom Francis
Support has been added for both HS-SE(SR 2.0), HS-FS(SR 2.0) and GP images. HS-SE: * tiboot3-j7200_sr2-hs-evm.bin * tispl.bin * u-boot.img HS-FS: * tiboot3-j7200_sr2-hs-fs-evm.bin * tispl.bin * u-boot.img GP: * tiboot3.bin -->

[PATCH v6 06/23] j7200: yaml: Add J7200 board config files

2023-07-12 Thread Neha Malcom Francis
Added YAML configs for J7200 Signed-off-by: Neha Malcom Francis --- board/ti/j721e/board-cfg_j7200.yaml | 36 + board/ti/j721e/pm-cfg_j7200.yaml| 12 + board/ti/j721e/rm-cfg_j7200.yaml| 2065 +++ board/ti/j721e/sec-cfg_j7200.yaml | 380 + 4 files

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

2023-07-12 Thread Neha Malcom Francis
By providing entries in the binman node of the device tree, binman will be able to find and package board config artifacts generated by TIBoardConfig with sysfw.bin and generate the final image sysfw.itb. It will also pick out the R5 SPL and sign it with the help of TI signing entry and generate

[PATCH v6 03/23] arm: dts: k3: Add support for packaging sysfw.itb and tiboot3.bin

2023-07-12 Thread Neha Malcom Francis
Board config binary artifacts must be generated to be used by binman to package sysfw.itb and tiboot3.bin for all K3 devices. For devices that follow combined flow, these board configuration binaries must again be packaged into a combined board configuration blobs to be used by binman to package

[PATCH v6 02/23] binman: ti-secure: Add support for TI signing

2023-07-12 Thread Neha Malcom Francis
The ti-secure entry contains certificate for binaries that will be loaded or booted by system firmware whereas the ti-secure-rom entry contains certificate for binaries that will be booted by ROM. Support for both these types of certificates is necessary for booting of K3 devices. Signed-off-by:

[PATCH v6 01/23] binman: ti-board-config: Add support for TI board config binaries

2023-07-12 Thread Neha Malcom Francis
The ti-board-config entry loads and validates a given YAML config file against a given schema, and generates the board config binary. K3 devices require these binaries to be packed into the final system firmware images. Signed-off-by: Neha Malcom Francis Reviewed-by: Simon Glass ---

[PATCH v6 00/23] Migration to using binman for bootloader

2023-07-12 Thread Neha Malcom Francis
This series aims to eliminate the use of additional custom repositories such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 Security Development Tools) that was plumbed into the U-Boot build flow to generate boot images for TI K3 platform devices. And instead, we move towards

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Tim Harvey
On Wed, Jul 12, 2023 at 10:25 AM Marek Vasut wrote: > > On 7/12/23 18:29, Tim Harvey wrote: > > On Wed, Jul 12, 2023 at 8:10 AM Tim Harvey wrote: > >> > >> On Wed, Jul 12, 2023 at 2:15 AM Marek Vasut wrote: > >>> > >>> On 7/11/23 22:13, Tim Harvey wrote: > On Mon, Jul 10, 2023 at 4:18 PM

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Marek Vasut
On 7/12/23 18:29, Tim Harvey wrote: On Wed, Jul 12, 2023 at 8:10 AM Tim Harvey wrote: On Wed, Jul 12, 2023 at 2:15 AM Marek Vasut wrote: On 7/11/23 22:13, Tim Harvey wrote: On Mon, Jul 10, 2023 at 4:18 PM Marek Vasut wrote: On 7/11/23 00:49, Tim Harvey wrote: Add support for enabling

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

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

Re: [PATCH] CI: Add automatic retry for test.py jobs

2023-07-12 Thread Tom Rini
On Wed, Jul 12, 2023 at 08:00:23AM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 11 Jul 2023 at 20:33, Tom Rini wrote: > > > > It is not uncommon for some of the QEMU-based jobs to fail not because > > of a code issue but rather because of a timing issue or similar problem > > that is out of

[PATCH v2 3/3] board: rockchip: Add Hardkernel ODROID-M1

2023-07-12 Thread Jonas Karlman
Hardkernel ODROID-M1 is a single board computer with a RK3568B2 SoC, a slightly modified version of the RK3568 SoC. Features tested on a ODROID-M1 8GB v1.0 2022-06-13: - SD-card boot - eMMC boot - SPI Flash boot - PCIe/NVMe/AHCI - SATA port - USB host Device tree is imported from linux v6.4.

[PATCH v2 2/3] cmd: ini: Fix build warning

2023-07-12 Thread Jonas Karlman
Building U-Boot with CMD_INI=y result in following build warning: cmd/ini.c: In function 'memgets': include/linux/kernel.h:184:24: warning: comparison of distinct pointer types lacks a cast 184 | (void) (&_min1 == &_min2); \ |^~

[PATCH v2 1/3] ata: dwc_ahci: Fix support for other platforms

2023-07-12 Thread Jonas Karlman
The dwc_ahci driver use platform specific defines, place the platform specific code behind a ifdef CONFIG_ARCH_OMAP2PLUS to allow build and use of the driver on Rockchip platform. Fixes: 02a4b4297901 ("drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device") Signed-off-by:

[PATCH v2 0/3] board: rockchip: Add Hardkernel ODROID-M1

2023-07-12 Thread Jonas Karlman
This series add support for Hardkernel ODROID-M1, a single board computer with a RK3568B2 SoC. First patch fixes a build issue in the dwc_ahci driver. Second patch fixes a build warning in the ini command. Third patch import the device tree from linux v6.4 and add a defconfig for Hardkernel

Re: [PATCH 2/2] board: rockchip: Add Hardkernel ODROID-M1

2023-07-12 Thread Jonas Karlman
On 2023-07-06 14:23, Stefan Agner wrote: > On 2023-07-06 07:08, Jonas Karlman wrote: >> On 2023-07-06 01:27, Stefan Agner wrote: >>> On 2023-07-02 22:47, Jonas Karlman wrote: Hardkernel ODROID-M1 is a single board computer with a RK3568B2 SoC, a slightly modified version of the RK3568

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Tim Harvey
On Wed, Jul 12, 2023 at 8:10 AM Tim Harvey wrote: > > On Wed, Jul 12, 2023 at 2:15 AM Marek Vasut wrote: > > > > On 7/11/23 22:13, Tim Harvey wrote: > > > On Mon, Jul 10, 2023 at 4:18 PM Marek Vasut wrote: > > >> > > >> On 7/11/23 00:49, Tim Harvey wrote: > > >>> Add support for enabling and

Please pull u-boot-dm

2023-07-12 Thread Simon Glass
Hi Tom. https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16872 The following changes since commit 8e21064cb3452950b09301baec06d86e37342471: Merge tag 'efi-2023-07-rc7' of https://source.denx.de/u-boot/custodians/u-boot-efi (2023-07-11 13:27:32 -0400) are available in the Git

Re: [PATCH v4] phy: phy-imx8mq-usb: add vbus regulator support

2023-07-12 Thread Tim Harvey
On Wed, Jul 12, 2023 at 2:15 AM Marek Vasut wrote: > > On 7/11/23 22:13, Tim Harvey wrote: > > On Mon, Jul 10, 2023 at 4:18 PM Marek Vasut wrote: > >> > >> On 7/11/23 00:49, Tim Harvey wrote: > >>> Add support for enabling and disabling vbus-supply regulator found > >>> on several imx8mp boards

Re: [PATCH v4 01/45] x86: Return mtrr_add_request() to its old purpose

2023-07-12 Thread Simon Glass
Hi Bin, On Wed, 12 Jul 2023 at 08:02, Bin Meng wrote: > > Hi Simon, > > On Mon, Jun 19, 2023 at 8:01 PM Simon Glass wrote: > > > > This function used to be for adding a list of requests to be actioned on > > relocation. Revert it back to this purpose, to avoid problems with boards > > which

[PATCH v3 18/18] x86: coral: Adjust various config options

2023-07-12 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

[PATCH v3 17/18] x86: coreboot: Adjust various config options

2023-07-12 Thread Simon Glass
Drop IDE and add NVME since this is more common now. 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 up

[PATCH v3 16/18] bootstd: Add a simple bootmeth for ChromiumOS

2023-07-12 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 +

[PATCH v3 15/18] x86: zimage: Export the function to obtain the cmdline

2023-07-12 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

[PATCH v3 14/18] x86: Add a function to boot a zimage

2023-07-12 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 v3 13/18] bootstd: Support automatically setting Linux parameters

2023-07-12 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

[PATCH v3 12/18] x86: qemu: Switch to standard boot

2023-07-12 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 Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Add new patch to switch x86 qemu to standard

[PATCH v3 11/18] x86: qemu: Create a little more room for U-Boot

2023-07-12 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 Reviewed-by: Bin Meng --- (no changes since v2) Changes in v2: - Add new patch to create a

[PATCH v3 10/18] bootstd: Add support for updating elements of the cmdline

2023-07-12 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

[PATCH v3 09/18] bootstd: Add a function to update a command line

2023-07-12 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,

[PATCH v3 08/18] bdinfo: Show information about the serial port

2023-07-12 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 v3 07/18] bootstd: Allow storing x86 setup information

2023-07-12 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

[PATCH v3 06/18] bootstd: Use the bootargs env var for changing the cmdline

2023-07-12 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.

  1   2   >