Re: [PATCH 3/3] arm: dts: k3-am62: Bump dtsi from linux v6.5-rc1

2023-07-25 Thread Ravi Gunasekaran
On 7/25/23 11:47 PM, Tom Rini wrote: > On Tue, Jul 25, 2023 at 09:09:34AM -0500, Nishanth Menon wrote: >> On 15:56-20230725, Maxime Ripard wrote: >>> Hi, >>> >>> On Tue, Jul 25, 2023 at 07:58:56AM -0500, Nishanth Menon wrote: >>>> Update the

Re: [PATCH] doc: ti: Clarify required file names for K3 platforms

2023-07-25 Thread Neha Malcom Francis
Hi Tom, Thanks for the patch! On 25/07/23 22:14, Tom Rini wrote: Now that we are using binman in all cases on these platforms, reword things to be clearer that for filesystem booting we need to use a specific name for each component. Signed-off-by: Tom Rini --- Cc: Neha Malcom Francis Cc:

RE: [PATCH v1] HSD #18028953892: usb: xhci-dwc3: Fix USB3.1 controller register access in reset state

2023-07-25 Thread Chong, Teik Heng
Hi > -Original Message- > From: Marek Vasut > Sent: Saturday, 22 July, 2023 4:31 AM > To: Lim, Jit Loon ; u-boot@lists.denx.de > Cc: Jagan Teki ; Simon > ; Chee, Tien Fong > ; Hea, Kok Kiang ; > Maniyam, Dinesh ; Ng, Boon Khai > ; Yuslaimi, Alif Zakuan > ; Chong, Teik Heng > ; Zamri,

Re: [PATCH 1/1] acpi: Add missing RISC-V acpi_table header

2023-07-25 Thread Leo Liang
Hi Heinrich, On Tue, Jul 25, 2023 at 09:44:00AM +0200, Heinrich Schuchardt wrote: > On 7/25/23 04:26, Bin Meng wrote: > > +Simon, > > > > On Tue, Jul 25, 2023 at 9:30 AM Heinrich Schuchardt > > wrote: > > > > > > The pci_mmc.c driver can generate ACPI info and therefore includes > > >

Re: [PATCH v8 1/4] i2c: designware: Add Kconfig for designware_i2c_pci.c

2023-07-25 Thread Leo Liang
On Tue, Jul 25, 2023 at 05:46:47PM +0800, Minda Chen wrote: > As the Designware_i2c_pci.c uses ACPI APIs, If some SoCs (StarFive > JH7110) contain Designware i2c and PCI but do not use ACPI, > This file will be can't be compiled. So add a new Kconfig for > designware_i2c_pci.c, which depends on

[PATCH 2/2] rpi: set the correct parameter for simple framebuffer node

2023-07-25 Thread Meng Li
When raspberrpi-4b platform boots up, there are 2 sets of same bootup log displayed on HDMI monitor screen, it looks like the screen is split into 2 parts. The root cause is that video format of u-boot is different from kernel. The fixing "a8r8g8b8" video format is used in u-boot, but "r5g6b5"

[PATCH 0/2] patches used to enable u-boot video driver on raspberry pi 4B platform

2023-07-25 Thread Meng Li
From: Meng Li There are 2 patches as bleow: 0001-bcm2835-Add-simiple-framebuffer-for-use-with-fkms.patch 0002-rpi-set-the-correct-parameter-for-simple-framebuffer.patch The first one is used to enable u-boot video driver. The second one is used to fix the wired display status on monitor. Jason

[PATCH 1/2] bcm2835: Add simiple-framebuffer for use with fkms

2023-07-25 Thread Meng Li
From: Jason Wessel When the fkms dtb overlay is used only the simple-framebuffer is presented as a usable video display. So, add "simple-framebuffer" compatible to enable video driver bcm2835. Signed-off-by: Jason Wessel Signed-off-by: Meng Li --- drivers/video/bcm2835.c | 3 +++ 1 file

Re: [PATCH] configs: rockchip: drop useless DEBUG_UART_SKIP_INIT

2023-07-25 Thread Kever Yang
On 2023/7/17 00:53, Pegorer Massimo wrote: DEBUG_UART_SKIP_INIT feature is implemented only by s5p (DEBUG_UART_S5P) and pl01x (DEBUG_UART_PL010 or DEBUG_UART_PL011) serial drivers, but all ARCH_ROCKCHIP configs rely on default DEBUG_UART_NS16550. The ns16550 serial driver does not depends on

Re: [PATCH v1 2/2] arm: rockchip: Add Radxa ROCK 4SE

2023-07-25 Thread Kever Yang
On 2023/7/20 00:33, Christopher Obbard wrote: Add board-specific devicetree/config for the RK3399T-based Radxa ROCK 4SE board. This board offers similar peripherals in a similar form-factor to the existing ROCK Pi 4B but uses the cost-optimised RK3399T processor (which has different OPP table

Re: [PATCH v1 1/2] arm: rockchip: sync ROCK Pi 4 SoCs from Linux

2023-07-25 Thread Kever Yang
On 2023/7/20 00:33, Christopher Obbard wrote: To prepare for ROCK 4 SE support, changes are needed to the common ROCK Pi 4 devicetree to move the OPP from the common devicetree to individual board devicetrees. Sync the Rockchip RK3399 ROCK Pi 4-related DTs from Linux to gain from these

Re: [PATCH v1 0/2] Add support for Radxa ROCK 4SE

2023-07-25 Thread Kever Yang
Hi Tom, On 2023/7/20 02:43, Tom Rini wrote: On Wed, Jul 19, 2023 at 05:33:55PM +0100, Christopher Obbard wrote: Add support for the RK3399T-based Radxa ROCK 4SE board. This board offers similar peripherals and form-factor to the ROCK Pi 4B but uses the cost-optimised RK3399T processor (which

Re: [PATCH] rockchip: px30: Define variables for compressed image support

2023-07-25 Thread Kever Yang
On 2023/7/25 20:58, Paul Kocialkowski wrote: The standard boot path expects the kernel_comp_addr_r and kernel_comp_size variables for booting compressed kernel images. Define them using the previous kernel_addr_c value (likely initially meant for this purpose) and usual size. This was tested

Re: [PATCH v2] board: rockchip: Add Radxa E25 Carrier Board

2023-07-25 Thread Kever Yang
On 2023/7/25 20:05, Jonas Karlman wrote: Radxa E25 is a network application carrier board for the Radxa CM3I SoM with a RK3568 SoC. It features dual 2.5G ethernet, mini PCIe, M.2 B Key, USB3, eMMC, SD, nano SIM card slot and a 26-pin GPIO header. Features tested on a Radxa E25 v1.4: - SD-card

Re: [PATCH] board: rockchip: Add Radxa E25 Carrier Board

2023-07-25 Thread Kever Yang
On 2023/7/24 06:25, Jonas Karlman wrote: Radxa E25 is a network application carrier board for the Radxa CM3I SoM with a RK3568 SoC. It features dual 2.5G ethernet, mini PCIe, M.2 B Key, USB3, eMMC, SD and nano sim card slot. Features tested on a Radxa E25 v1.4: - SD-card boot - eMMC boot -

Re: [PATCH 5/5] board: rockchip: Add Pine64 SOQuartz on CM4-IO

2023-07-25 Thread Kever Yang
On 2023/7/23 22:55, Jonas Karlman wrote: The Pine64 SOQuartz compute module is mostly pin-compatible with the RPi CM4 form factor. Therefore, it can slot into the official Raspberry Pi CM4 IO carrier board. Add this configuration to U-Boot. Features tested with a SOQuartz 4GB v1.1 2022-07-11:

Re: [PATCH 4/5] board: rockchip: Add Pine64 SOQuartz on Blade

2023-07-25 Thread Kever Yang
On 2023/7/23 22:55, Jonas Karlman wrote: The Pine64 SOQuartz Blade board is a carrier board for the SOQuartz CM4-compatible compute module. It features PoE, an M.2 slot, an SD card slot, HDMI, USB, serial and ethernet. Features tested with a SOQuartz 4GB v1.1 2022-07-11: - SD-card boot - eMMC

Re: [PATCH 3/5] board: rockchip: Add Pine64 SOQuartz on Model A

2023-07-25 Thread Kever Yang
On 2023/7/23 22:55, Jonas Karlman wrote: The Pine64 SOQuartz Model A board is a carrier board for the SOQuartz CM4-compatible compute module. It exposes PCIe, ethernet, USB, HDMI, CSI, DSI, eDP and a 40 pin GPIO header, and is powered by 12V DC. Features tested with a SOQuartz 4GB v1.1

Re: [PATCH 2/5] board: rockchip: Add Pine64 Quartz64-B Board

2023-07-25 Thread Kever Yang
On 2023/7/23 22:55, Jonas Karlman wrote: The Pine64 Quartz64 Model B is a credit-card sized single-board computer based on the Rockchip RK3566 SoC. The board features an M.2 PCIe slot, USB3, USB2, eMMC, SD, ethernet, HDMI, analog audio out, a 40 pin GPIO header and a DSI and CSI port, as well

Re: [PATCH 1/5] board: rockchip: Add Pine64 Quartz64-A Board

2023-07-25 Thread Kever Yang
On 2023/7/23 22:55, Jonas Karlman wrote: The Pine64 Quartz64 Model A is a single-board computer based on the Rockchip RK3566 SoC. The board features USB3, SATA, PCIe, HDMI, USB2.0, CSI, DSI, eDP, eMMC, SD, and an e-paper parallel port, as well as a 20 pin GPIO header. Features tested on a

Re: [PATCH] rockchip: veyron: Enable Winbond SPI flash

2023-07-25 Thread Kever Yang
On 2023/7/21 16:46, Alper Nebi Yasak wrote: Some veyron boards seem to have Winbond SPI flash chips instead of GigaDevice ones. At the very least, coreboot builds for veyron boards have them enabled [1]. Enable support for them here as well. [1] https://review.coreboot.org/c/coreboot/+/9719

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

2023-07-25 Thread Kever Yang
Hi Jonas,     Could you split this patchset into two patch set?     I can take the patch 3, but the patch 1~2 is suppose to go to other maintainer's tree, unless those patches got ACK from maintainer. Thanks,  - Kever On 2023/7/22 22:02, Jonas Karlman wrote: This series add support for

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

2023-07-25 Thread Kever Yang
On 2023/7/22 22:02, Jonas Karlman wrote: 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

Re: [PATCH v4 8/9] rockchip: rk3568-rock-3a: Enable PCIe and NVMe support

2023-07-25 Thread Kever Yang
On 2023/7/22 21:30, Jonas Karlman wrote: Add missing pinctrl and defconfig options to enable PCIe and NVMe support on Radxa ROCK 3 Model A. Use of pcie20m1_pins and pcie30x2m1_pins ensure IO mux selection M1. The following pcie_reset_h and pcie3x2_reset_h ensure GPIO func is restored to the

Re: [PATCH v4 5/9] pci: pcie_dw_rockchip: Disable unused BARs of the root complex

2023-07-25 Thread Kever Yang
On 2023/7/22 21:30, Jonas Karlman wrote: From: Jon Lin The Root Complex BARs default to claim the full 1 GiB memory region on RK3568, leaving no space for any attached device. Fix this by disable the unused BAR 0 and BAR 1 of the RC. Signed-off-by: Jon Lin [jo...@kwiboo.se: Move to

Re: rk3588 status

2023-07-25 Thread Kever Yang
Hi Simon,     These pending patches are on my todo list and  suppose to be handled in this week.     Will check the u-boot-rockchip.bin for rk3588. Thanks, - Kever On 2023/7/26 02:02, Simon Glass wrote: Hi, What is the mainline status of this board? I see a lot of pending patches, for

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

2023-07-25 Thread Gao Xiang
Hi Sam, On 2023/7/26 05:40, Sam Edwards wrote: Hi folks, On 7/7/23 09:52, Yifan Zhao wrote: diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index 4af7c91560..433a3c6c1e 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h +/* make sure that any user of the erofs headers has at

Re: [PATCH 1/1] riscv: sifive: initialize PCI on Unmatched

2023-07-25 Thread Rick Chen
> From: Heinrich Schuchardt > Sent: Tuesday, July 25, 2023 6:42 PM > To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > > Cc: Paul Walmsley ; Green Wan > ; u-boot@lists.denx.de; Heinrich Schuchardt > > Subject: [PATCH 1/1] riscv: sifive: initialize PCI on Unmatched > > The Unmatched board

Re: [PATCH 4/4] board/renesas: Add missing MAINTAINERS files

2023-07-25 Thread Marek Vasut
On 7/26/23 00:31, Tom Rini wrote: A few platforms have been added without a MAINTAINERS file. Create these based on the initial commits. Signed-off-by: Tom Rini --- I wasn't 100% sure on how to best handle these boards, especially the v3hsk so I've made my best guess. Cc: Hai Pham Cc: Marek

[PATCH] net: Get pxe config file from dhcp option 209

2023-07-25 Thread seanedmond
From: Sean Edmond Allow dhcp server pass pxe config file full path by using option 209 Signed-off-by: Sean Edmond --- cmd/Kconfig | 4 cmd/pxe.c | 8 net/bootp.c | 21 + 3 files changed, 33 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index

[PATCH v2 2/2] arm: mvebu: x240: Use i2c-gpio instead of built in controller

2023-07-25 Thread Chris Packham
There is an Errata with the built-in I2C controller where various I2C hardware errors cause a complete lockup of the CPU (which eventually results in an watchdog reset). Put the I2C MPP pins into GPIO mode and use the i2c-gpio driver instead. This uses a bit-banged implementation of an I2C

[PATCH v2 1/2] i2c: i2c-gpio: Correctly handle new {sda, scl}-gpios bindings

2023-07-25 Thread Chris Packham
gpio_request_list_by_name() returns the number of gpios requested. Notably it swallows the underlying -ENOENT when the "gpios" property does not exist. Update the i2c-gpio driver to check for ret == 0 before trying the new sda-gpios/scl-gpios properties. Signed-off-by: Chris Packham --- This

Re: [PULL] Please pull u-boot-coldfire/master

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 11:26:40PM +0200, Angelo Dureghello wrote: > The following changes since commit ff296acc3549c18aaf95dcb1052c9fe4f1a98552: > > Prepare v2023.10-rc1 (2023-07-25 17:19:54 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-coldfire.git

[PATCH] net: dhcp6: Fix OPT_BOOTFILE_PARAM parsing

2023-07-25 Thread seanedmond
From: Sean Edmond RFC 5970 states that OPT_BOOTFILE_PARAM (option 60) can be multiple parameters that start with a 16-bit length field followed by the parameter. For example: [ param-len 1 (16-bits) ] [ parameter 1 (variable length) ] This fix ensure we're considering "param-len 1" in the

Re: [PATCH v5 06/12] Dockerfile: capsule: Setup the files needed for capsule update testing

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 04:52:38PM -0600, Simon Glass wrote: > On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > > > Support has being added through earlier commits to build capsules > > and embed the public key needed for capsule authentication as part of > > u-boot build. > > > > From the

Re: [u-boot-test-hooks 1/4] bin/flash.sdwire_common_mount: Switch to sourcing the next writer script

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 15:09, Tom Rini wrote: > > Rather than invoking the script that will write to the mounted directory > as a binary, source it as a script so that it has access to more than > just two parameters. This will allow us to have the same flexibility in > our writers that other

Re: [u-boot-test-hooks 4/4] bin/writer.ti-k3_mount: Add support for TI K3 platforms via mount

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 15:09, Tom Rini wrote: > > The TI K3 platforms require a number of things in order to boot. We must > have built both the Cortex-R and Cortex-A configurations (following > their board documents and requirements as these need additional tooling > and binaries). Further,

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

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > Add support to build a tool from source with a list of commands. This > is useful when a tool can be built with multiple commands instead of a > single command. > > Signed-off-by: Sughosh Ganu > --- > Changes since V4: > * Pass the single

Re: [PATCH v5 08/12] doc: Add documentation to highlight capsule generation related updates

2023-07-25 Thread Simon Glass
Hi, On Tue, 25 Jul 2023 at 10:18, Heinrich Schuchardt wrote: > > On 25.07.23 10:57, Sughosh Ganu wrote: > > The UEFI capsule can now be generate by specifying the capsule > > parameters through a config file. Additionally, the capsules can be > > generated as part of u-boot build, through

Re: [PATCH v5 10/12] test: capsule: Remove public key embed logic from capsule update test

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > The embedding of the public key EFI Signature List(ESL) file into the > platform's DTB is now done at the time of u-boot build. Remove this > logic from the capsule update test' configuration. > > Include the public key for the sandbox and

Re: [PATCH v2 1/1] spl: initialize PCI before booting

2023-07-25 Thread Simon Glass
Hi Tom, On Tue, 25 Jul 2023 at 15:39, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 03:28:37PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 25 Jul 2023 at 10:37, Tom Rini wrote: > > > > > > On Tue, Jul 25, 2023 at 08:51:55AM -0600, Simon Glass wrote: > > > > On Mon, 24 Jul 2023 at 14:19,

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

2023-07-25 Thread Simon Glass
Hi Sughosh, On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > The EFI capsule files can now be generated as part of u-boot > build. This is done through binman. Add capsule entry nodes in the > u-boot.dtsi for the sandbox architecture for generating the > capsules. Remove the corresponding

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

2023-07-25 Thread Simon Glass
Hi Sughosh, On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > Support has been added to the mkeficapsule tool to generate capsules > by parsing the capsule parameters through a config file. Add a config > file for generating capsules. These capsules will be used for testing > the capsule

Re: [u-boot-test-hooks 3/4] bin/writer.ti-omap_mount: Add support for TI OMAP-style platforms via mount

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 15:09, Tom Rini wrote: > > In the case of TI OMAP (and similar) platforms, the SD card needs MLO > and u-boot.img to boot, always. Copy these files over. > > Signed-off-by: Tom Rini > --- > bin/writer.ti-omap_mount | 29 + > 1 file changed, 29

Re: [u-boot-test-hooks 2/4] bin/writer.rpi*mount: Rework to support all current Pi platforms

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 15:08, Tom Rini wrote: > > Now that we have access to more variables in our "mount" writer scripts, > we can have a single one that covers all Pi variants. > > Signed-off-by: Tom Rini > --- > I use this locally to test a Pi 3 in both 32, 64 and "arm64" mode. > > Cc: Simon

Re: [PATCH 2/4] board/freescale: Drop two orphaned entries

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 16:32, Tom Rini wrote: > > As the defconfig files here have been removed we can also remove the > entries. > > Signed-off-by: Tom Rini > --- > board/freescale/t104xrdb/MAINTAINERS | 5 - > board/freescale/t208xrdb/MAINTAINERS | 5 - > 2 files changed, 10

Re: [PATCH v5 09/12] test: py: Setup capsule files for testing

2023-07-25 Thread Simon Glass
Hi Sughosh, On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > Support has being added through earlier commits to build capsules and > embed the public key needed for capsule authentication as part of > u-boot build. > > From the testing point-of-view, this means the input files needed for >

Re: [PATCH v5 07/12] binman: capsule: Add support for generating capsules

2023-07-25 Thread Simon Glass
Hi Sughosh, On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > Add support in binman for generating capsules. The capsule parameters > can be specified either through a config file or through the capsule > binman entry. Also add test cases in binman for capsule generation, > and enable this

Re: [PATCH v5 06/12] Dockerfile: capsule: Setup the files needed for capsule update testing

2023-07-25 Thread Simon Glass
On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > Support has being added through earlier commits to build capsules > and embed the public key needed for capsule authentication as part of > u-boot build. > > From the testing point-of-view, this means the input files needed for > generating

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

2023-07-25 Thread Simon Glass
Hi Sughosh, On Tue, 25 Jul 2023 at 02:58, Sughosh Ganu wrote: > > The EFI capsule authentication logic in u-boot expects the public key > in the form of an EFI Signature List(ESL) to be provided as part of > the platform's dtb. Currently, the embedding of the ESL file into the > dtb needs to be

Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 05:00:15PM -0500, Nishanth Menon wrote: > On 17:35-20230725, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 01:52:53PM -0500, Nishanth Menon wrote: > > > [...] > > > > + > > > +Build procedure: > > > + >

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

2023-07-25 Thread Simon Glass
Hi Sughosh, On Thu, 20 Jul 2023 at 03:20, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 20 Jul 2023 at 00:41, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Wed, 19 Jul 2023 at 02:42, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Wed, 19 Jul 2023 at 06:41, Simon Glass wrote: > >

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Francesco Dolcini
On Wed, Jul 26, 2023 at 12:16:21AM +0200, Francesco Dolcini wrote: > On Tue, Jul 25, 2023 at 05:03:28PM -0500, Nishanth Menon wrote: > > On 17:42-20230725, Tom Rini wrote: > > > On Tue, Jul 25, 2023 at 04:37:55PM -0500, Nishanth Menon wrote: > > > > On

[PATCH 3/4] rzn1-snarc: Add missing MAINTAINERS file

2023-07-25 Thread Tom Rini
This should have been included when the platform was added, make one now. Signed-off-by: Tom Rini --- Cc: Ralph Siemsen --- board/schneider/rzn1-snarc/MAINTAINERS | 9 + 1 file changed, 9 insertions(+) create mode 100644 board/schneider/rzn1-snarc/MAINTAINERS diff --git

[PATCH 4/4] board/renesas: Add missing MAINTAINERS files

2023-07-25 Thread Tom Rini
A few platforms have been added without a MAINTAINERS file. Create these based on the initial commits. Signed-off-by: Tom Rini --- I wasn't 100% sure on how to best handle these boards, especially the v3hsk so I've made my best guess. Cc: Hai Pham Cc: Marek Vasut ---

[PATCH 1/4] vexpress64: Rework MAINTAINERS file slightly

2023-07-25 Thread Tom Rini
Given that we no longer have a configs/vexpress_aemv8a_defconfig file, drop that and then include at least the aarch64-specific config.h file here. Also move Linus and Peter up to the main entry as well so that they'll get tagged for the board code too and not literally only the defconfig.

[PATCH 2/4] board/freescale: Drop two orphaned entries

2023-07-25 Thread Tom Rini
As the defconfig files here have been removed we can also remove the entries. Signed-off-by: Tom Rini --- board/freescale/t104xrdb/MAINTAINERS | 5 - board/freescale/t208xrdb/MAINTAINERS | 5 - 2 files changed, 10 deletions(-) diff --git a/board/freescale/t104xrdb/MAINTAINERS

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Francesco Dolcini
On Tue, Jul 25, 2023 at 05:03:28PM -0500, Nishanth Menon wrote: > On 17:42-20230725, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 04:37:55PM -0500, Nishanth Menon wrote: > > > On 17:25-20230725, Tom Rini wrote: > > > > On Tue, Jul 25, 2023 at 01:52:50

[PATCH] i2c: mvtwsi: reset controller if stuck in "bus error" state

2023-07-25 Thread Sam Edwards
The MVTWSI controller can act either as a master or slave device. When acting as a master, the FSM is driven by the CPU. As a slave, the FSM is driven by the bus directly. In what is (apparently) a safety mechanism, if the bus transitions our FSM in any improper way, the FSM goes to a "bus error"

Re: [PATCH v2 5/6] net: add fastboot TCP documentation and IP6-only mode

2023-07-25 Thread Dmitrii Merkurev
> > Can you please add a doc/usage/cmd/fastboot.rst as well? Can be a > separate patch. Added in the v3 version of this patch. Since we already have detailed `doc/android/fastboot.rst`, I created a short version here `doc/usage/cmd/fastboot.rst` which refers to android documentation. On Sun,

Re: [PATCH v2 4/6] net: add fastboot TCP6 support

2023-07-25 Thread Dmitrii Merkurev
> > Can you use if() here? Yes, fixed On Sun, Jul 23, 2023 at 4:48 AM Simon Glass wrote: > Hi Dmitrii, > > On Wed, 10 May 2023 at 11:00, Dmitrii Merkurev > wrote: > > > > fastboot tcp command remains the same, but started > > listening IP6 in case it's enabled. > > > > Signed-off-by: Dmitrii

Re: [PATCH v2 3/6] net: introduce TCP/IP6 support

2023-07-25 Thread Dmitrii Merkurev
> > Is there anything that can be done to get rid of these, at least in > the source code? Got rid of all macro conditions across the whole patch stack. Tested it on different configurations. Should be ok. Please add a full comment Added On Sun, Jul 23, 2023 at 4:49 AM Simon Glass wrote: >

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Nishanth Menon
On 17:42-20230725, Tom Rini wrote: > On Tue, Jul 25, 2023 at 04:37:55PM -0500, Nishanth Menon wrote: > > On 17:25-20230725, Tom Rini wrote: > > > On Tue, Jul 25, 2023 at 01:52:50PM -0500, Nishanth Menon wrote: > > [..] > > > > > > +

Re: [PATCH v2 2/6] net: prepare existing TCP stack to be reused by IP6

2023-07-25 Thread Dmitrii Merkurev
> > While you are here, or in a follow-up patch, can you please add full > comments to net_set_ip_header(), e,g. what is the pkt param exactly? > The whole packet, before any headers? It's an IP header. Added comment and renamed the argument on this one and net_set_udp_header. On Sun, Jul 23,

Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation

2023-07-25 Thread Nishanth Menon
On 17:35-20230725, Tom Rini wrote: > On Tue, Jul 25, 2023 at 01:52:53PM -0500, Nishanth Menon wrote: > [...] > > + > > +Build procedure: > > + > > +1. Trusted Firmware-A: > > + > > +.. code-block:: bash > > + > > + $ make CROS

[PATCH v3 6/6] net: update net_ip6 from link_local address when eth device is changed

2023-07-25 Thread Dmitrii Merkurev
Current active eth device may be changed (due to ethprime), so make sure current net_ip6 is updated as a reaction. Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried Reviewed-by: Ying-Chun Liu (PaulLiu) Reviewed-by: Simon Glass

[PATCH v3 5/6] net: add fastboot TCP documentation and IP6-only mode

2023-07-25 Thread Dmitrii Merkurev
Command to start IPv6 only TCP fastboot: fastboot tcp -ipv6 Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried Reviewed-by: Ying-Chun Liu (PaulLiu) Reviewed-by: Simon Glass --- cmd/fastboot.c | 29

[PATCH v3 4/6] net: add fastboot TCP6 support

2023-07-25 Thread Dmitrii Merkurev
fastboot tcp command remains the same, but started listening IP6 in case it's enabled Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried Reviewed-by: Ying-Chun Liu (PaulLiu) Reviewed-by: Simon Glass ---

[PATCH v3 3/6] net: introduce TCP/IP6 support

2023-07-25 Thread Dmitrii Merkurev
Add TCP/IP6 related headers and reuse refactored TCP/IP implementation Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried Reviewed-by: Ying-Chun Liu (PaulLiu) Reviewed-by: Simon Glass --- include/net/tcp6.h | 103

[PATCH v3 2/6] net: prepare existing TCP stack to be reused by IP6

2023-07-25 Thread Dmitrii Merkurev
Changes: 1. Separate reusable part from net_set_tcp_header to net_set_tcp_header_common 2. Make TCP signatures reusable by receiving particular IP agnostic TCP headers 3. Extract net_send_ip_packet6 from net_send_udp_packet6 to reuse the code 4. Expose TCP state machine related functions This

[PATCH v3 1/6] net: split IP_TCP header into separate IP/IP6 and TCP headers

2023-07-25 Thread Dmitrii Merkurev
This allows us to reuse TCP logic between IP and IP6 stack. Signed-off-by: Dmitrii Merkurev Cc: Ying-Chun Liu (PaulLiu) Cc: Simon Glass Сс: Joe Hershberger Сс: Ramon Fried Reviewed-by: Ying-Chun Liu (PaulLiu) Reviewed-by: Simon Glass --- include/net/tcp.h | 54

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 04:37:55PM -0500, Nishanth Menon wrote: > On 17:25-20230725, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 01:52:50PM -0500, Nishanth Menon wrote: > [..] > > > > + /* Set USB0 PHY core voltage to 0.85V */ > > > + val = readl(CT

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

2023-07-25 Thread Sam Edwards
Hi folks, On 7/7/23 09:52, Yifan Zhao wrote: diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index 4af7c91560..433a3c6c1e 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h +/* make sure that any user of the erofs headers has at least 64bit off_t type */ +extern int

Re: [PATCH v2 1/1] spl: initialize PCI before booting

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 03:28:37PM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 25 Jul 2023 at 10:37, Tom Rini wrote: > > > > On Tue, Jul 25, 2023 at 08:51:55AM -0600, Simon Glass wrote: > > > On Mon, 24 Jul 2023 at 14:19, Heinrich Schuchardt > > > wrote: > > > > > > > > MMC, SATA, and USB

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Nishanth Menon
On 17:25-20230725, Tom Rini wrote: > On Tue, Jul 25, 2023 at 01:52:50PM -0500, Nishanth Menon wrote: [..] > > + /* Set USB0 PHY core voltage to 0.85V */ > > + val = readl(CTRLMMR_USB0_PHY_CTRL); > > + val &= ~(CORE_VOLTAGE); > > + writel(val, CTRLMMR_USB0_

[PATCH] x86: Add a little more info to cbsysinfo

2023-07-25 Thread Simon Glass
Show the number of records in the table and the total table size in bytes. Signed-off-by: Simon Glass --- arch/x86/include/asm/cb_sysinfo.h | 4 arch/x86/lib/coreboot/cb_sysinfo.c | 4 cmd/x86/cbsysinfo.c| 5 +++-- 3 files changed, 11 insertions(+), 2 deletions(-)

[PATCH 14/14] bloblist: Update documentation and header comment

2023-07-25 Thread Simon Glass
Align the documentation with the v0.9 spec. Signed-off-by: Simon Glass --- doc/develop/bloblist.rst | 4 +++- include/bloblist.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/develop/bloblist.rst b/doc/develop/bloblist.rst index 81643c7674b..28431039adc 100644

[PATCH 13/14] bloblist: Add alignment to bloblist_new()

2023-07-25 Thread Simon Glass
Allow the alignment to be specified when creating a bloblist. Signed-off-by: Simon Glass --- common/bloblist.c | 5 +++-- include/bloblist.h | 3 ++- test/bloblist.c| 40 ++-- 3 files changed, 27 insertions(+), 21 deletions(-) diff --git

[PATCH 08/14] bloblist: Change the checksum algorithm

2023-07-25 Thread Simon Glass
Use a sinple 8-bit checksum for bloblist, as specified by the spec version 0.9 Signed-off-by: Simon Glass --- common/bloblist.c | 14 -- include/bloblist.h | 5 ++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/common/bloblist.c b/common/bloblist.c index

[PATCH 12/14] bloblist: Reduce bloblist header size

2023-07-25 Thread Simon Glass
The v0.9 spec provides for a 16-byte header with fewer fields. Update the implementation to match this. This also adds an alignment field. Signed-off-by: Simon Glass --- include/bloblist.h | 26 +- test/bloblist.c| 6 +++--- 2 files changed, 16 insertions(+), 16

[PATCH 07/14] bloblist: Drop the spare values

2023-07-25 Thread Simon Glass
There are no spare values in spec v0.9 so drop them. For now they are still present in the headers, with an underscore, so that tests continue to pass. Signed-off-by: Simon Glass --- common/bloblist.c | 1 - include/bloblist.h | 6 ++ test/bloblist.c| 4 3 files changed, 2

[PATCH 11/14] bloblist: Reduce blob-header size

2023-07-25 Thread Simon Glass
The v0.9 spec provides for an 8-byte header for each blob, with fewer fields. Update the implementation to match this. Signed-off-by: Simon Glass --- common/bloblist.c | 17 + include/bloblist.h | 33 ++--- test/bloblist.c| 16

[PATCH 06/14] bloblist: Drop the flags value

2023-07-25 Thread Simon Glass
There is no flags value in spec v0.9 so drop it. For now it is still present in the header, with an underscore, so that tests continue to pass. Signed-off-by: Simon Glass --- common/bloblist.c | 5 ++--- include/bloblist.h | 6 ++ test/bloblist.c| 45

[PATCH 10/14] bloblist: Handle alignment with a void entry

2023-07-25 Thread Simon Glass
Rather than setting the alignment using the header size, add an entirely new entry to cover the gap left by the alignment. Signed-off-by: Simon Glass --- common/bloblist.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/common/bloblist.c

[PATCH 09/14] bloblist: Checksum the entire bloblist

2023-07-25 Thread Simon Glass
Spec v0.9 specifies that the entire bloblist area is checksummed, including unused portions. Update the code to follow this. Signed-off-by: Simon Glass --- common/bloblist.c | 9 + test/bloblist.c | 10 -- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git

[PATCH 04/14] bloblist: Set version to 1

2023-07-25 Thread Simon Glass
The new bloblist for v0.9 has version 1 so update this value. Signed-off-by: Simon Glass --- include/bloblist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bloblist.h b/include/bloblist.h index 6ef3e9466e8..74932dcae6f 100644 --- a/include/bloblist.h +++

[PATCH 05/14] bloblist: Access record hdr_size and tag via a function

2023-07-25 Thread Simon Glass
These values currently use a simple field. With spec v0.9 they have moved to a packed format. Convert most accesses to use functions, so this change can be accomodated. Signed-off-by: Simon Glass --- common/bloblist.c | 38 +- 1 file changed, 25

[PATCH 03/14] bloblist: Change the magic value

2023-07-25 Thread Simon Glass
This uses a new value with spec v0.9 so change it. Signed-off-by: Simon Glass --- include/bloblist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bloblist.h b/include/bloblist.h index e6ce98334d3..6ef3e9466e8 100644 --- a/include/bloblist.h +++

[PATCH 02/14] bloblist: Adjust API to align in powers of 2

2023-07-25 Thread Simon Glass
The updated bloblist structure stores the alignment as a power-of-two value in its structures. Adjust the API to use this, to avoid needing to calling ilog2(). Drop a stale comment while we are here. Signed-off-by: Simon Glass --- arch/x86/lib/tables.c | 3 ++- common/bloblist.c | 24

[PATCH 01/14] bloblist: Update the tag numbering

2023-07-25 Thread Simon Glass
Align this with the new v0.9 spec. It only has a single area for all non-standard tags. Signed-off-by: Simon Glass --- common/bloblist.c | 2 +- include/bloblist.h | 37 + test/bloblist.c| 2 +- 3 files changed, 15 insertions(+), 26 deletions(-) diff

[PATCH 00/14] bloblist: Align to firmware handoff

2023-07-25 Thread Simon Glass
In moving from v0.8 to v0.9 the Firmware Handoff specification made some changes, including: - Use a packed format for headers to reduce space - Add an explicit alignment field in the header - Renumber all the tags and reduce their size to 24 bits - Drop use of the blob header to

Re: [PATCH 6/6] doc: board: ti: Add beagleplay documentation

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 01:52:53PM -0500, Nishanth Menon wrote: > Add base documentation for beagleplay > > Signed-off-by: Nishanth Menon > --- > doc/board/ti/am62x_beagleplay.rst | 169 ++ > doc/board/ti/k3.rst | 1 + > 2 files changed, 170

Re: getting u-boot to work on raspi 3b (32bit)

2023-07-25 Thread Simon Glass
Hi Robert, On Tue, 25 Jul 2023 at 09:42, Robert Wenisch wrote: > > Hello, > > in order to study the boot process of embedded ARM systems, I decided to > start with something well documented: booting as raspi 3b using u-boot. > I downloaded kernel sources and u-boot sources. I built the kernel

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

2023-07-25 Thread Simon Glass
Hi Devarsh, On Tue, 25 Jul 2023 at 03:21, Devarsh Thakkar wrote: > > Hi Simon, > > On 24/07/23 20:22, Simon Glass wrote: > > When the video framebuffer comes from the bloblist, we should not change > > relocaddr to this address, since it interfers with the normal memory > > allocation. > > > >

Re: [PATCH v2 1/1] spl: initialize PCI before booting

2023-07-25 Thread Simon Glass
Hi Tom, On Tue, 25 Jul 2023 at 10:37, Tom Rini wrote: > > On Tue, Jul 25, 2023 at 08:51:55AM -0600, Simon Glass wrote: > > On Mon, 24 Jul 2023 at 14:19, Heinrich Schuchardt > > wrote: > > > > > > MMC, SATA, and USB may be using PCI based controllers. > > > Initialize the PCI sub-system before

Re: [PATCH v3 00/11] Sign Xilinx ZynqMP SPL/FSBL boot images using binman

2023-07-25 Thread Simon Glass
Hi again, On Sat, 22 Jul 2023 at 21:48, Simon Glass wrote: > > Hi Michal, > > On Fri, 21 Jul 2023 at 08:41, Michal Simek wrote: > > > > > > > > On 7/18/23 13:53, lukas.funke-...@weidmueller.com wrote: > > > From: Lukas Funke > > > > > > > > > This series adds two etypes to create a verified

[PULL] Please pull u-boot-coldfire/master

2023-07-25 Thread Angelo Dureghello
The following changes since commit ff296acc3549c18aaf95dcb1052c9fe4f1a98552: Prepare v2023.10-rc1 (2023-07-25 17:19:54 -0400) are available in the Git repository at: git://git.denx.de/u-boot-coldfire.git master for you to fetch changes up to 59dee11b17fecb516872ea7951f9a528003602eb:

Re: [PATCH 4/6] arm: dts: Add k3-am625-beagleplay

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 01:52:51PM -0500, Nishanth Menon wrote: > From: Robert Nelson > > BeagleBoard.org BeaglePlay is an easy to use, affordable open source > hardware single board computer based on the Texas Instruments AM625 > SoC that allows you to create connected devices that work even

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 01:52:50PM -0500, Nishanth Menon wrote: > Do the basic configuration required for setting up the USB core voltage > configuration, setup to configure the 32k clock coming from 32k crystal > and the debounce configurations for the various pins. > > Signed-off-by: Nishanth

Re: [PATCH 2/6] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary

2023-07-25 Thread Tom Rini
On Tue, Jul 25, 2023 at 01:52:49PM -0500, Nishanth Menon wrote: > Add labels for unsigned binary to permit over-ride. > > Signed-off-by: Nishanth Menon > --- > arch/arm/dts/k3-am625-sk-binman.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

  1   2   3   >