Re: [PATCH 2/2] rockchip: Add option to prevent booting on power plug-in

2022-05-25 Thread Jaehoon Chung
On 5/24/22 04:30, Chris Morgan wrote: > From: Chris Morgan > > For Rockchip boards with the all rk8xx series PMICs (excluding the > rk808), it is sometimes desirable to not boot whenever the device is > plugged in. An example would be for the Odroid Go Advance. > > This provides a configurable

Re: [PATCH 1/2] power: pmic: rk8xx: Support sysreset shutdown method

2022-05-25 Thread Jaehoon Chung
On 5/24/22 04:30, Chris Morgan wrote: > From: Chris Morgan > > Add support for sysreset shutdown for this PMIC. The values were pulled > from the various datasheets, but for now it has only been tested on > the rk817 (for an Odroid Go Advance). > > Signed-off-by: Chris Morgan Reviewed-by:

[PATCH v2] ARM: dts: sun4i: Sync from Linux v5.18-rc1

2022-05-25 Thread Samuel Holland
Copy the devicetree source for the A10 SoC and all existing boards verbatim from the Linux v5.18-rc1 tag. The previous version of this change was only partially applied. Fixes: 4746694cba74 ("ARM: dts: sun4i: Sync from Linux v5.18-rc1") Signed-off-by: Samuel Holland --- Changes in v2: -

Re: Vulnerability Disclosure in net/

2022-05-25 Thread Ramon Fried
On Wed, May 18, 2022 at 7:14 PM Nicolas Bidron wrote: > > Hello, > > We found a couple of bugs in net/net.s in the IP defragmentation > function __net_defragment(). Below the writeup for the 2 bugs: > > ---BUG 1--- > > # Hole Descriptor Overwrite in U-Boot IP Packet

Re: [PATCH 0/2] fix issues in bootmenu after adding efi entries

2022-05-25 Thread Masahisa Kojima
Hi Pali, On Thu, 26 May 2022 at 05:11, Pali Rohar wrote: > > On Wednesday 25 May 2022 17:18:11 Masahisa Kojima wrote: > > This series fixes the issue in bootmenu after adding efi entries. > > > > Masahisa Kojima (2): > > bootmenu: use utf-8 for menu title > > bootmenu: U-Boot console is

Re: [PATCH 0/2] fix issues in bootmenu after adding efi entries

2022-05-25 Thread Pali Rohar
On Wednesday 25 May 2022 17:18:11 Masahisa Kojima wrote: > This series fixes the issue in bootmenu after adding efi entries. > > Masahisa Kojima (2): > bootmenu: use utf-8 for menu title > bootmenu: U-Boot console is enabled as default > > boot/Kconfig | 9 + > cmd/Kconfig|

Re: [PATCH v2] arm: socfpga: Add the terasic de10-standard board

2022-05-25 Thread Humberto Naves
Thank you! On Wed, May 25, 2022 at 7:02 AM Marek Vasut wrote: > > On 5/23/22 03:54, Humberto Naves wrote: > > Use the de10-nano files as templates for the de10-standard board. > > The files in qts directory are generated by quartus from the GHRD > > design. > > Applied, thanks.

Re: [u-boot PATCH 3/3] k3-am642-evm-u-boot: Use binman to generate u-boot.img and tispl.bin

2022-05-25 Thread Andrew Davis
On 5/25/22 3:30 AM, Roger Quadros wrote: Hi Andrew, On 25/05/2022 01:03, Andrew Davis wrote: On 5/9/22 2:29 AM, Roger Quadros wrote: Introduce k3-am642-evm-binman.dtsi to provide binman configuration. R5 build is still not converted to use binman so restrict binman.dtsi to A53 builds only.

[PATCH v3 2/3] usb: add isp1760 family driver

2022-05-25 Thread Rui Miguel Silva
ISP1760/61/63 are a family of usb controllers, here the main goal is to support the ISP1763 hcd part found in the MPS3 FPGA board form Arm. This is based on the kernel driver and ported to u-boot. Signed-off-by: Rui Miguel Silva --- Makefile|1 +

Re: [PATCH v1] fdt: Add U-Boot version to chosen node

2022-05-25 Thread Tom Rini
On Wed, May 25, 2022 at 08:16:20AM +, Marcel Ziswiler wrote: > Hi Tom > > On Thu, 2022-05-19 at 13:24 -0400, Tom Rini wrote: > > On Thu, May 19, 2022 at 04:25:48PM +0200, Francesco Dolcini wrote: > > > On Thu, May 19, 2022 at 04:22:26PM +0200, Francesco Dolcini wrote: > > > > Add a new device

[PATCH] qfw: Don't fail if setup data size is 0

2022-05-25 Thread Pierre-Clément Tosi
Skip missing setup data (which is valid) rather than failing with an error. Cc: Bin Meng Cc: Simon Glass Reported-by: Andrew Walbran Signed-off-by: Pierre-Clément Tosi --- cmd/qfw.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cmd/qfw.c b/cmd/qfw.c index

[Rock Pi 4+] Mainline LPDDR4 RAM initialisation is not sufficient to boot successfully

2022-05-25 Thread Lee Jones
Good afternoon, There appear to be a number of issues with the Rockchip rk3399 DDR RAM initialisation

Re: Pull request: u-boot-sunxi/master fixes for v2022.07

2022-05-25 Thread Tom Rini
On Wed, May 25, 2022 at 01:30:21AM +0100, Andre Przywara wrote: > Hi Tom, > > please pull the master branch from u-boot-sunxi, containing fixes and > updates for 2022.07. > The bulk of it is (finally!) some DT sync from the kernel. We refrained > from syncing one incompatible change, as this

[PATCH v3 1/3] usb: common: move urb code to common

2022-05-25 Thread Rui Miguel Silva
Move urb code from musb only use to a more common scope, so other drivers in the future can use the handling of urb in usb. Signed-off-by: Rui Miguel Silva --- drivers/usb/common/Makefile | 2 + drivers/usb/common/usb_urb.c | 160 ++

[PATCH v3 3/3] corstone1000: enable isp1763 usb controller and mmc

2022-05-25 Thread Rui Miguel Silva
MPS3 board have a ISP1763 usb controller, enable it to be used for mass storage access for example. Enable the usb command also and for the FVP support for mass storage enable the mmc command. Signed-off-by: Rui Miguel Silva --- configs/corstone1000_defconfig | 3 +++

[PATCH v3 0/3] usb: add isp1760 hcd support

2022-05-25 Thread Rui Miguel Silva
Add support for the usb isp1760 host controller family, which for example is present in MPS3 FPGA board from Arm (isp1763). First we move some helper functions and defines to a more common place to be shared by several urb users. (patch 1/3) Then add the driver itself, is a ported version of the

Re: [PATCH] net: Add missing PCI dependency for CONFIG_E1000

2022-05-25 Thread Tom Rini
On Tue, May 24, 2022 at 01:32:08PM -0400, Sean Anderson wrote: > > > On 5/24/22 1:16 PM, Pali Rohár wrote: > > On Tuesday 24 May 2022 13:12:02 Sean Anderson wrote: > >> Hi Pali, > >> > >> On 5/23/22 4:41 AM, Pali Rohár wrote: > >> > Signed-off-by: Pali Rohár > >> > --- > >> >

Re: [PATCH] imx8m: fixup thermal trips

2022-05-25 Thread Adam Ford
On Wed, May 25, 2022 at 7:24 AM Andrejs Cainikovs wrote: > > Adam, > > So you want me to rebase this patch to upstream, update according to > your review, and send this one instead of yours? Go ahead. Yours has all the requested improvements already applied. I'm still playing catch up from

Re: [PATCH] imx8m: fixup thermal trips

2022-05-25 Thread Adam Ford
On Wed, May 25, 2022 at 7:19 AM Andrejs Cainikovs wrote: > > Hi Adam, > > On Wed, 2022-05-25 at 06:41 -0500, Adam Ford wrote: > > On Thu, May 12, 2022 at 5:13 AM Andrejs Cainikovs > > wrote: > > > > > > Fixup thermal trips in Linux device tree according to SoC thermal > > > grade. > > > > > >

[GIT PULL] xilinx patches for v2022.07-rc4

2022-05-25 Thread Michal Simek
Hi Tom, please pull these patches to your tree. All of them are fixes I have collected for v2022.07 version. Gitlab CI doesn't show any issue too. Thanks, Michal The following changes since commit c387e62614713d0cc9e3ed022b86c9f320b02853: Merge branch '2022-05-11-Kconfig-cleanups-etc'

Re: [PATCH] imx8m: fixup thermal trips

2022-05-25 Thread Adam Ford
On Thu, May 12, 2022 at 5:13 AM Andrejs Cainikovs wrote: > > Fixup thermal trips in Linux device tree according to SoC thermal > grade. > > Signed-off-by: Andrejs Cainikovs > --- > arch/arm/mach-imx/imx8m/soc.c | 50 +++ > 1 file changed, 50 insertions(+) > >

Re: [PATCH v2] arm: socfpga: Add the terasic de10-standard board

2022-05-25 Thread Marek Vasut
On 5/23/22 03:54, Humberto Naves wrote: Use the de10-nano files as templates for the de10-standard board. The files in qts directory are generated by quartus from the GHRD design. Applied, thanks.

Re: [PATCH 1/2] doc/efi: add firmware management protocol to the documentation

2022-05-25 Thread Heinrich Schuchardt
On 5/25/22 11:20, Vincent Stehlé wrote: The firmware management protocol can be used to manage device firmware. U-Boot can be configured to provide an implementation. Document the related functions in the API section. Signed-off-by: Vincent Stehlé Cc: Heinrich Schuchardt When merging this

Re: [PATCH 2/2] efi: fix documentation warnings

2022-05-25 Thread Heinrich Schuchardt
On 5/25/22 11:20, Vincent Stehlé wrote: This fixes the following warnings: ./lib/efi_loader/efi_firmware.c:283: warning: Function parameter or member 'package_version' not described in 'efi_firmware_fit_get_image_info' ./lib/efi_loader/efi_firmware.c:283: warning: Function parameter or

[PATCH 1/1] configs: imx8mm-cl-iot-gate: enable extension command

2022-05-25 Thread Ying-Chun Liu (PaulLiu)
For imx8mm-cl-iot-gate we can use extension command to scan extension boards attached on the mainboard. We enable the extension command by default for users to detect the extension boards. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Stefano Babic Cc: Fabio Estevam Cc: NXP i.MX U-Boot Team ---

[PATCH 0/1] configs: imx8mm-cl-iot-gate: enable extension command

2022-05-25 Thread Ying-Chun Liu (PaulLiu)
For imx8mm-cl-iot-gate we can use extension command to scan extension boards attached on the mainboard. We enable the extension command by default for users to detect the extension boards. Ying-Chun Liu (PaulLiu) (1): configs: imx8mm-cl-iot-gate: enable extension command

[PATCH 2/2] efi: fix documentation warnings

2022-05-25 Thread Vincent Stehlé
This fixes the following warnings: ./lib/efi_loader/efi_firmware.c:283: warning: Function parameter or member 'package_version' not described in 'efi_firmware_fit_get_image_info' ./lib/efi_loader/efi_firmware.c:283: warning: Function parameter or member 'package_version_name' not described

[PATCH 1/2] doc/efi: add firmware management protocol to the documentation

2022-05-25 Thread Vincent Stehlé
The firmware management protocol can be used to manage device firmware. U-Boot can be configured to provide an implementation. Document the related functions in the API section. Signed-off-by: Vincent Stehlé Cc: Heinrich Schuchardt --- doc/api/efi.rst | 6 ++ 1 file changed, 6

Re: Raspberry Pi won’t boot from compressed subvolume (BTRFS)

2022-05-25 Thread Matthias Brugger
On 22/05/2022 17:36, Nathan Henrie wrote: Hello u-boot team, I’ve been experimenting for about a year with a NixOS-based Raspberry Pi image, with the end goal of a zstd-compressed image that uses BTRFS subvolumes, having the root filesystem at @ and boot at @boot (with several other

Re: [PATCH 1/2] toradex: tdx-cfg-block: add new 8gb apalis-imx8

2022-05-25 Thread Stefano Babic
Hi Marcel, Philippe, On 25.05.22 10:12, Marcel Ziswiler wrote: Hi Stefano On Mon, 2022-05-09 at 18:58 +0200, Philippe Schenker wrote: From: Philippe Schenker 0067: Apalis iMX8 QuadMax 8GB Wi-Fi / BT IT This module is identical to its 4GB counterpart 0037: Apalis iMX8 QuadMax 4GB Wi-Fi / BT

Re: [u-boot PATCH 3/3] k3-am642-evm-u-boot: Use binman to generate u-boot.img and tispl.bin

2022-05-25 Thread Roger Quadros
Hi Andrew, On 25/05/2022 01:03, Andrew Davis wrote: > On 5/9/22 2:29 AM, Roger Quadros wrote: >> Introduce k3-am642-evm-binman.dtsi to provide binman configuration. >> >> R5 build is still not converted to use binman so restrict binman.dtsi >> to A53 builds only. >> >> This patch also take care

[PATCH v2 09/12] board: ti: Introduce the basic files to support AM62 SK board

2022-05-25 Thread Vignesh Raghavendra
From: Suman Anna Add basic support for AM62 SK. This has 2GB DDR. Note that stack for R5 SPL is in OCRAM @ 0x7000 so that is away from BSS and does not step on BSS section Add only the bare minimum required to support UART and SD. Signed-off-by: Suman Anna Signed-off-by: Aswath Govindraju

[PATCH 2/2] bootmenu: U-Boot console is enabled as default

2022-05-25 Thread Masahisa Kojima
The commit 2158b0da220c ("bootmenu: add Kconfig option not to enter U-Boot console") disables to enter U-Boot console from bootmenu as default, this change affects the existing bootmenu users. This commit reverts the default behavior, the bootmenu can enter U-Boot console same as before.

[PATCH 1/2] bootmenu: use utf-8 for menu title

2022-05-25 Thread Masahisa Kojima
The commit a3d0aa87acbe ("bootmenu: update bootmenu_entry structure") changes the bootmenu title type from char to u16(UTF16 string) to support EFI based system. If EFI_LOADER is not enabled, printf("%ls") is not supported, so bootmenu does not appear correctly. This commit changes the type of

[PATCH 0/2] fix issues in bootmenu after adding efi entries

2022-05-25 Thread Masahisa Kojima
This series fixes the issue in bootmenu after adding efi entries. Masahisa Kojima (2): bootmenu: use utf-8 for menu title bootmenu: U-Boot console is enabled as default boot/Kconfig | 9 + cmd/Kconfig| 10 -- cmd/bootmenu.c | 40

Re: [PATCH v2 01/12] drivers: mmc: am654_sdhci: Add new compatible for AM62 SoC

2022-05-25 Thread Jaehoon Chung
On 5/25/22 17:08, Vignesh Raghavendra wrote: > From: Aswath Govindraju > > The phy used in the 8 bit instance has been changed to the phy used in 4 > bit instance on AM62 SoC. This implies the phy configuration required for > both the instances of mmc are similar. Therefore, add a new compatible

Re: [PATCH v2] mmc: nuvoton: Add NPCM7xx mmc driver

2022-05-25 Thread Jaehoon Chung
On 5/24/22 17:55, Jim Liu wrote: > Add Nuvoton BMC NPCM750 mmc control driver. > > Signed-off-by: Jim Liu Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > Changes for v2: >- modify kconfig description >- use mmc_of_parse >- modify U_BOOT_DRIVER and Copyright time >

[PATCH v2 10/12] arm: dts: Add support for AM62-SK

2022-05-25 Thread Vignesh Raghavendra
From: Nishanth Menon AM62 StarterKit (SK) board is a low cost, small form factor board designed for TI’s AM625 SoC. It supports the following interfaces: * 2 GB DDR4 RAM * x2 Gigabit Ethernet interfaces capable of working in Switch and MAC mode * x1 HDMI Port with audio + x1 OLDI/LVDS Display

[PATCH v2 08/12] arm: dts: Introduce base AM62 SoC dtsi files

2022-05-25 Thread Vignesh Raghavendra
From: Suman Anna Introduce the basic AM62 SoC description dtsi files describing most peripherals as per kernel dts. Signed-off-by: Gowtham Tammana Signed-off-by: Suman Anna Signed-off-by: Vignesh Raghavendra --- arch/arm/dts/k3-am62-ddr.dtsi| 11 + arch/arm/dts/k3-am62-main.dtsi |

[PATCH v2 12/12] doc: ti: Add readme for AM62x SK

2022-05-25 Thread Vignesh Raghavendra
Add info of boot flow and build steps for AM62x SK. Signed-off-by: Vignesh Raghavendra --- doc/board/ti/am62x_sk.rst | 231 ++ doc/board/ti/index.rst| 1 + 2 files changed, 232 insertions(+) create mode 100644 doc/board/ti/am62x_sk.rst diff --git

[PATCH v2 11/12] configs: Add configs for AM62x SK

2022-05-25 Thread Vignesh Raghavendra
Add am62x_evm_r5_defconfig for R5 SPL and am62x_evm_a53_defconfig for A53 SPL and U-Boot support. To keep the changes to minimum. Only UART And SD boot related configs are included. This should serve as good starting point for new board bringup with AM62x. Signed-off-by: Aswath Govindraju

[PATCH v2 07/12] firmware: ti_sci_static_data: add static DMA chan data

2022-05-25 Thread Vignesh Raghavendra
Add range of DMA channels available for R5 SPL usage before DM firmware is loaded. Signed-off-by: Vignesh Raghavendra --- drivers/firmware/ti_sci_static_data.h | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/firmware/ti_sci_static_data.h

[PATCH v2 04/12] arm: mach-k3: Introduce the basic files to support AM62

2022-05-25 Thread Vignesh Raghavendra
From: Suman Anna The AM62 SoC family is the follow on AM335x built on K3 Multicore SoC architecture platform, providing ultra-low-power modes, dual display, multi-sensor edge compute, security and other BOM-saving integration. The AM62 SoC targets broad market to enable applications such as

[PATCH v2 05/12] arm: mach-k3: am62: Introduce autogenerated SoC data

2022-05-25 Thread Vignesh Raghavendra
From: Suman Anna Introduce autogenerated SoC data support clk and device data for the AM62. Hook it upto to power-domain and clk frameworks of U-Boot. Signed-off-by: Dave Gerlach Signed-off-by: Suman Anna Signed-off-by: Vignesh Raghavendra --- arch/arm/mach-k3/am62x/Makefile| 6 +

[PATCH v2 06/12] dma: ti: Add PSIL data for AM62x DMASS

2022-05-25 Thread Vignesh Raghavendra
Add PSIL data for AM62x SoC. Signed-off-by: Vignesh Raghavendra --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-am62.c | 50 +++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 2 ++ 4 files changed, 54 insertions(+)

[PATCH v2 03/12] soc: ti: k3-socinfo: Add entry for AM62X SoC family

2022-05-25 Thread Vignesh Raghavendra
From: Suman Anna Add support for AM62x SoC identification. Signed-off-by: Suman Anna Signed-off-by: Vignesh Raghavendra --- drivers/soc/soc_ti_k3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 965728e818..42344145f9 100644

[PATCH v2 02/12] dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM62

2022-05-25 Thread Vignesh Raghavendra
From: Suman Anna Add pinctrl macros for AM62x SoCs. These macro definitions are similar to that of previous platforms, but adding new definitions to avoid any naming confusions in the SoC dts files. checkpatch insists the following error exists: ERROR: Macros with complex values should be

[PATCH v2 00/12] TI: Add support for AM62 SoC

2022-05-25 Thread Vignesh Raghavendra
This adds basic support for TI's new AM62 family of SoCs and AM625 Starter Kit EVM with SD boot and UART boot. Board support, dts and configs are intentionally kept small to serve as example for future board bringups based on this SoC. Additional peripheral support will be posted separately

[PATCH v2 01/12] drivers: mmc: am654_sdhci: Add new compatible for AM62 SoC

2022-05-25 Thread Vignesh Raghavendra
From: Aswath Govindraju The phy used in the 8 bit instance has been changed to the phy used in 4 bit instance on AM62 SoC. This implies the phy configuration required for both the instances of mmc are similar. Therefore, add a new compatible for AM62 SoC using the driver data of am64 4 bit

[PATCH v2] verdin-imx8mm, verdin-imx8mp: Fix default systemd console output

2022-05-25 Thread Marcel Ziswiler
From: Philippe Schenker systemd prints its messages on the last console= statement that it finds in the kernel arguments. The current ordering sends the systemd messages to tty1, by default this is the display. Ensure that systemd sends its messages to the default UART, reorder the console=

[PATCH 7/7] mips: octeon_nic23: Add PCIe FLR fixup via cyclic infrastructure

2022-05-25 Thread Stefan Roese
From: Aaron Williams This patch adds a fixup function related to a PCIe FLR (Function Level Reset) problem on the NIC23 PCIe board. This function is imported from the Marvell Octeon 2013 U-Boot version as a (nearly) verbatim copy. It uses the newly introduced cyclic infrastructure, so that this

[PATCH 6/7] sandbox: Add cyclic demo function

2022-05-25 Thread Stefan Roese
This patch enables the cyclic infrastructure on sandbox and also adds one simple example/demo functions using this cyclic functionality. Signed-off-by: Stefan Roese --- board/sandbox/sandbox.c | 15 +++ configs/sandbox_defconfig | 2 ++ 2 files changed, 17 insertions(+) diff

[PATCH 5/7] cyclic: Add 'cyclic list' command

2022-05-25 Thread Stefan Roese
This patch adds the cyclic command, which currently only supports the 'list' subcommand, to list all currently registered cyclic functions. Here an example: => cyclic list function: cyclic_demo, cpu-time: 7010 us, frequency: 99.80 times/s function: cyclic_demo2, cpu-time: 1 us, frequency: 1.13

[PATCH 3/7] cyclic: Integrate cyclic infrastructure into WATCHDOG_RESET

2022-05-25 Thread Stefan Roese
This patch integrates the main function responsible for calling all registered cyclic functions cyclic_run() into the common WATCHDOG_RESET macro. This guarantees that cyclic_run() is executed very often, which is necessary for the cyclic functions to get scheduled and executed at their configured

[PATCH 2/7] cyclic: Add basic support for cyclic function execution infrastruture

2022-05-25 Thread Stefan Roese
Add the basic infrastructure to periodically execute code, e.g. all 100ms. Examples for such functions might be LED blinking etc. The functions that are hooked into this cyclic list should be small timewise as otherwise the execution of the other code that relies on a high frequent polling (e.g.

[PATCH 4/7] cyclic: Integrate cyclic functionality at bootup in board_r/f

2022-05-25 Thread Stefan Roese
This patch adds a call to cyclic_init() to board_f/r.c, enabling the common cyclic infrastructure. After this it's possible to add cyclic functions via cyclic_register(). Signed-off-by: Stefan Roese --- common/board_f.c | 2 ++ common/board_r.c | 2 ++ 2 files changed, 4 insertions(+) diff

[PATCH 1/7] time: Import time_after64() and friends from Linux

2022-05-25 Thread Stefan Roese
When using us times it makes sense to use 64bit variables for storage. The currently implemented time_after() and friends functions only handle 32bit variables. This patch now includes the 64bit variants as well from Linux. This will be used by the upcoming generic cyclic function infrastructure.

[PATCH 0/7] Add support for cyclic function execution infrastruture

2022-05-25 Thread Stefan Roese
This patchset adds the basic infrastructure to periodically execute code, e.g. all 100ms. Examples for such functions might be LED blinking etc. The functions that are hooked into this cyclic list should be small timewise as otherwise the execution of the other code that relies on a high frequent

Re: [PATCH] bootmenu: fix bootmenu title handling

2022-05-25 Thread Masahisa Kojima
Hi Pali, On Wed, 25 May 2022 at 04:36, Pali Rohar wrote: > > On Tuesday 24 May 2022 09:43:56 Pali Rohár wrote: > > On Tuesday 24 May 2022 12:45:30 Masahisa Kojima wrote: > > > The commit a3d0aa87acbe ("bootmenu: update bootmenu_entry structure") > > > changes the bootmenu title type from char to