Re: [PATCH] phy: atheros: Fix the "qca,clk-out-frequency" example

2020-06-25 Thread Tom Rini
On Wed, Jun 17, 2020 at 03:07:04PM -0300, Fabio Estevam wrote: > The correct name for the property is "qca,clk-out-frequency", so fix > it accordingly. > > Signed-off-by: Fabio Estevam > Reviewed-by: Michael Walle Applied (back on June 23rd) to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH V2] nvme: Invalidate dcache before submitting admin cmd

2020-06-25 Thread Tom Rini
On Wed, Jun 10, 2020 at 09:18:23PM +0200, Michael Trimarchi wrote: > From: Jagan Teki > > This patch try to avoids eviction of dirty lines during DMA > transfer. The code right now execute the following step: > > - allocate the buffer > - start a dma operation using the non-coherent dma buffer

Re: [PATCH 2/2] doc: sifive: Fix spelling of "environment".

2020-06-25 Thread Tom Rini
On Thu, Jun 04, 2020 at 10:42:02AM -0700, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian Applied (back on June 23rd) to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] zfs: fix missing include for disk_partition definition

2020-06-25 Thread Tom Rini
On Fri, Jun 19, 2020 at 10:45:47PM -0600, Joel Johnson wrote: > Commit 0528979fa7ab ("part: Drop disk_partition_t typedef") changed to > a struct. As a result it uncovered an apparent missing include in > zfs_common.h for part.h which actually contains the definition. The ZFS > handles the struct

Re: [GIT PULL] Xilinx patches for v2020.10

2020-06-25 Thread Tom Rini
On Thu, Jun 25, 2020 at 02:53:21PM +0200, Michal Simek wrote: > Hi Tom, > > here are my patches to your next branch for 2020.10 release. > > Both gitlab and travis CI loops looks good. > https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze/pipelines/3774 >

[PATCH] arm64: ls1043a: Remove the workaround of erratum A-009929

2020-06-25 Thread Zhiqiang Hou
From: Hou Zhiqiang The workaround has been implemented in PBI phase, so remove the duplicated implementation from U-Boot. Signed-off-by: Hou Zhiqiang --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 15 --- 2 files changed, 19

AW: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-06-25 Thread Ludwig Zenz
On 22/06/20 9:38 AM, Tom Rini wrote: > On Mon, Jun 22, 2020 at 09:38:36AM +, Ludwig Zenz wrote: > >> On 6/13/20 3:55 PM, Jagan Teki wrote: >> > Enable DM_SPI/DM_SPI_FLASH with a related config option. >> > >> > Build fine, but not tested. >> >> Hello, >> >> due to memory limitations in the

Pull request for UEFI sub-system for efi-2020-07-rc6

2020-06-25 Thread Heinrich Schuchardt
The following changes since commit 4ff63383e3497389e66cf70943a83bdb1810462a: Merge tag 'u-boot-imx-20200623' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-23 08:20:55 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git

Re: [PATCH 6/6] env: Add support for explicit write access list

2020-06-25 Thread Harald Seiler
Hi Marek, On Wed, 2020-06-03 at 02:01 +0200, Marek Vasut wrote: > This option marks any U-Boot variable which does not have explicit 'w' > writeable flag set as read-only. This way the environment can be locked > down and only variables explicitly configured to be writeable can ever > be changed

Re: [PATCH v2] ARM: dts: imx6q-tbs2910: Fix Ethernet regression

2020-06-25 Thread Stefano Babic
On 25.06.20 15:55, Fabio Estevam wrote: > Hi Tom, > > On Thu, Jun 25, 2020 at 10:52 AM Soeren Moch wrote: >> >> On 25.06.20 13:14, Fabio Estevam wrote: >>> Since commit: >>> >>> commit 6333cbb3817ed551cd7d4e92f7359c73ccc567fc >>> Author: Michael Walle >>> Date: Thu May 7 00:11:58 2020 +0200

RE: [PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on

2020-06-25 Thread Sagar Kadam
Hello Bin, > -Original Message- > From: Bin Meng > Sent: Tuesday, June 23, 2020 11:00 AM > To: Rick Chen ; Simon Glass ; > Pragnesh Patel ; Sagar Kadam > ; U-Boot Mailing List > Cc: Bin Meng > Subject: [PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on > > [External Email] Do

Re: [PATCH v3 0/6] crypto/fsl: add RNG support

2020-06-25 Thread Heinrich Schuchardt
On 25.06.20 14:18, Michael Walle wrote: > First, improve the compatibility on newer Era CAAMs. These introduced new > version registers. Secondly, add RNG support for the CAAM. This way we get > random number generator support for EFI for free and KASLR will work with > ARM64 kernels booted with

[RFC PATCH 2/3] usb_kbd: Do not fail the keyboard if it does not have an interrupt pending

2020-06-25 Thread Jason Wessel
After the initial configuration some USB keyboard+mouse devices never return any kind of event on the interrupt line. In particular, the device identified by "Cypress Cypress USB Keyboard / PS2 Mouse as /devices/platform/soc/3f98.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:04B4:0101.0001/input/input0"

Re: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-06-25 Thread Tom Rini
On Thu, Jun 25, 2020 at 02:52:58PM +, Ludwig Zenz wrote: > On 22/06/20 9:38 AM, Tom Rini wrote: > > On Mon, Jun 22, 2020 at 09:38:36AM +, Ludwig Zenz wrote: > > > >> On 6/13/20 3:55 PM, Jagan Teki wrote: > >> > Enable DM_SPI/DM_SPI_FLASH with a related config option. > >> > > >> > Build

Re: [RESEND PATCH] usb: max3420: add the gadget driver

2020-06-25 Thread Jassi Brar
On Wed, Jun 24, 2020 at 4:24 AM Marek Vasut wrote: > > On 6/24/20 6:53 AM, Jassi Brar wrote: > > Hi Marek, > > Hi, > > > On Mon, Jun 15, 2020 at 6:49 PM Marek Vasut wrote: > > > +#define MAX3420_REG_MODE 27 > +#define MAX3420_REG_PERADDR28 > +#define MAX3420_REG_HCTL

Re: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-06-25 Thread Simon Glass
Hi Ludwig, On Thu, 25 Jun 2020 at 08:53, Ludwig Zenz wrote: > > On 22/06/20 9:38 AM, Tom Rini wrote: > > On Mon, Jun 22, 2020 at 09:38:36AM +, Ludwig Zenz wrote: > > > >> On 6/13/20 3:55 PM, Jagan Teki wrote: > >> > Enable DM_SPI/DM_SPI_FLASH with a related config option. > >> > > >> > Build

Re: [PATCH] psci: add 'static inline' to invoke_psci_fn() stub

2020-06-25 Thread Tom Rini
On Wed, May 20, 2020 at 09:32:39AM +0900, Masahiro Yamada wrote: > Avoid potential multiple definitions when CONFIG_ARM_PSCI_FW > is disabled. > > Signed-off-by: Masahiro Yamada Applied (back on June 23rd) to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3] fs/fat/fat.c: Do not perform zero block reads if there are no blocks left

2020-06-25 Thread Tom Rini
On Tue, Jun 23, 2020 at 02:36:54PM -0700, Jason Wessel wrote: > While using u-boot with qemu's virtio driver I stumbled across a > problem reading files less than sector size. On the real hardware the > block reader seems ok with reading zero blocks, and while we could fix > the virtio host side

Re: [PATCH 1/2] cmd: booti: Fix spelling of "environment".

2020-06-25 Thread Tom Rini
On Thu, Jun 04, 2020 at 10:42:01AM -0700, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > Reviewed-by: Simon Glass Applied (back on June 23rd) to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[RFC PATCH 1/3] xhci: Add polling support for USB keyboards

2020-06-25 Thread Jason Wessel
The xhci driver was causing intermittent 5 second delays from the USB keyboard polling hook. Executing something like a "sleep 1" for example would sleep for 5 seconds, unless an event occurred on the USB bus to shorten the delay. Modeled after the code in the DWC2 driver, a nonblock state was

[RFC PATCH 3/3] common/usb.c: Work around keyboard reporting "USB device not accepting new address"

2020-06-25 Thread Jason Wessel
When resetting the rpi3 board sometimes it will display: USB device not accepting new address (error=0) After the message appears, the usb keyboard will not work. It seems that the configuration actually did succeed however. Checking the device status for a return code of zero and

[RFC PATCH 0/3] Improve USB Keyboard support for rpi3/rpi4

2020-06-25 Thread Jason Wessel
For testing this patch series, I did apply the USB patches for the rpi4 board which had not been merged yet. Once the rpi4 USB changes are eventually merged the keyboard delay issues will show up and I imagine this issue is already a problem for other boards. This series does not depend on rpi4

Re: [PATCH v3 0/6] crypto/fsl: add RNG support

2020-06-25 Thread Heinrich Schuchardt
On 25.06.20 16:36, Heinrich Schuchardt wrote: > On 25.06.20 14:18, Michael Walle wrote: >> First, improve the compatibility on newer Era CAAMs. These introduced new >> version registers. Secondly, add RNG support for the CAAM. This way we get >> random number generator support for EFI for free and

Re: [PATCH v3 1/1] phy: add support for stingray PAXB PHY controller

2020-06-25 Thread Rayagonda Kokatanur
Hi Tom, On Sun, Apr 12, 2020 at 8:46 PM Rayagonda Kokatanur wrote: > > On Thu, Apr 9, 2020 at 7:11 PM Tom Rini wrote: > > > > On Thu, Apr 02, 2020 at 04:08:12PM +0530, Rayagonda Kokatanur wrote: > > > > > From: Srinath Mannam > > > > > > Add support for stingray PAXB PHY controller driver. >

Re: [PATCH v2] ARM: dts: imx6q-tbs2910: Fix Ethernet regression

2020-06-25 Thread Tom Rini
On Thu, Jun 25, 2020 at 04:18:00PM +0200, Stefano Babic wrote: > On 25.06.20 15:55, Fabio Estevam wrote: > > Hi Tom, > > > > On Thu, Jun 25, 2020 at 10:52 AM Soeren Moch wrote: > >> > >> On 25.06.20 13:14, Fabio Estevam wrote: > >>> Since commit: > >>> > >>> commit

Re: [PATCH] rk3399: Add BOOTENV_SF command

2020-06-25 Thread Jagan Teki
On Mon, Jun 8, 2020 at 7:47 PM Jagan Teki wrote: > > Add missing BOOTENV_SF command in rk3399 config. > > Fix it. > > Fixes: f263b860acf8 ("rk3399: Enable SF distro bootcmd") > Signed-off-by: Jagan Teki > Reported-by: Suniel Mahesh > Tested-by: Suniel Mahesh > --- Can someone push this fix

[PATCH 1/2] vboot: add support for multiple required keys

2020-06-25 Thread Thirupathaiah Annapureddy
Currently Verified Boot fails if there is a signature verification failure using required key in U-boot DTB. This patch adds support for multiple required keys. This means if verified boot passes with one of the required keys, u-boot will continue the OS hand off. There was a prior attempt to

[PATCH 2/2] test: vboot: add a test for multiple required keys

2020-06-25 Thread Thirupathaiah Annapureddy
Add a test to verify the support for multiple required keys. This patch also fixes existing test where dev key is assumed to be marked as not required, although it is marked as required. Note that this patch re-added sign_fit_norequire(). sign_fit_norequire() was removed as part of the

[PATCH 0/2] Add support for multiple required keys

2020-06-25 Thread Thirupathaiah Annapureddy
This patch series adds the support for multiple required keys in U-Boot DTB with test support. Thirupathaiah Annapureddy (2): vboot: add support for multiple required keys test: vboot: add a test for multiple required keys common/image-fit-sig.c | 12 +++-

Re: [PATCH v2 1/5] dt-bindings: prci: add indexes for reset signals available in prci

2020-06-25 Thread Jagan Teki
On Thu, Jun 25, 2020 at 5:56 PM Sagar Shrikant Kadam wrote: > > Add bit indexes for reset signals within the PRCI module > on FU540-C000 SoC. > The DDR and ethernet sub-system's have reset signals > indicated by these reset indexes. > > Signed-off-by: Sagar Shrikant Kadam > Reviewed-by: Pragnesh

[PATCH v4 2/3] riscv: Expand the DT size before copy reserved memory node

2020-06-25 Thread Bin Meng
From: Bin Meng The FDT blob might not have sufficient space to hold a copy of reserved memory node. Expand it before the copy. Reported-by: Rick Chen Signed-off-by: Bin Meng Reviewed-by: Atish Patra --- (no changes since v3) Changes in v3: - Extend the FDT size by 1024 bytes

[PATCH v4 1/3] riscv: Avoid the reserved memory fixup if src and dst point to the same place

2020-06-25 Thread Bin Meng
From: Bin Meng The copy of reserved memory node from source dtb to destination dtb can be avoided if they point to the same place. This is useful when OF_PRIOR_STAGE is used. Signed-off-by: Bin Meng Reviewed-by: Rick Chen Reviewed-by: Atish Patra --- (no changes since v1)

Re: [PATCH v3 14/15] include/configs: ns3: add support for flashing images

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > From: Bharat Gooty > > Add support for flashing images into QSPI and eMMC. > > Signed-off-by: Bharat Gooty > Signed-off-by: Rayagonda Kokatanur > --- > include/configs/bcm_ns3.h | 491 +- > 1 file

Re: [PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on

2020-06-25 Thread Bin Meng
Hi Sagar, On Fri, Jun 26, 2020 at 1:14 AM Sagar Kadam wrote: > > Hello Bin, > > > -Original Message- > > From: Bin Meng > > Sent: Tuesday, June 23, 2020 11:00 AM > > To: Rick Chen ; Simon Glass ; > > Pragnesh Patel ; Sagar Kadam > > ; U-Boot Mailing List > > Cc: Bin Meng > > Subject:

[GIT PULL] Uboot socfpga

2020-06-25 Thread Tan, Ley Foon
Hi Tom Please pull one fix for uboot socfpga. Thanks. Regards Ley Foon The following changes since commit eae62ae8de1893f7cf08e276ab841d3f99245603: Merge tag 'efi-2020-07-rc6' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2020-06-25 13:33:15 -0400) are available in the Git

Re: [PATCH v4 12/14] arm: dts: include gpio nodes for card detect

2020-06-25 Thread Adam Ford
On Wed, Jun 24, 2020 at 11:11 PM Walter Lozano wrote: > > Several MMC drivers use GPIO for card detection with cd-gpios property in > the MMC node pointing to a GPIO node. However, as U-Boot tries to save > space by keeping only required nodes using u-boot* properties, several > devices tree

microSD Breakout Port

2020-06-25 Thread Faruk Kılavuz
Hello This is my first mail. I tried running uart-0 with microsd breakout method. I have added the following codes to open the F port. diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h index 40a3f845d0..9140b35450 100644 ---

Re: [PATCH v3 0/5] rockchip: make it possible to sign the u-boot.itb

2020-06-25 Thread Simon Glass
Hi, On Fri, 19 Jun 2020 at 04:47, Heiko Stuebner wrote: > > Hi Kever, > > Am Sonntag, 31. Mai 2020, 10:28:45 CEST schrieb Kever Yang: > > This patch set make rk3288 series board build fail. Could you help > > to check again? > > the additional patch in v4 adding the ifdef CONFIG_SPL_FIT

Re: [PATCH v3 08/15] board: ns3: program GIC LPI tables

2020-06-25 Thread Simon Glass
Hi Rayagonda, On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > U-boot programs the GIC LPI configuration tables and enables > the LPI table. > > Signed-off-by: Bharat Kumar Reddy Gooty > Signed-off-by: Rayagonda Kokatanur > --- > board/broadcom/bcmns3/ns3.c | 12 >

Re: [PATCH v3 09/15] configs: ns3: enable GIC ITS LPI table programing

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > Enables the GIC_V3 ITS LPI configuration table and > LPI table. Please write out these in full somewhere. As it is they are meaningless to people reading the commit. > > Signed-off-by: Rayagonda Kokatanur > Signed-off-by: Bharat

Re: [PATCH v3 05/15] board: ns3: add api to save boot parameters passed from BL31

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:41, Rayagonda Kokatanur wrote: > > From: Abhishek Shah > > Add API to save boot parameters passed from BL31 > > Use assembly implementation of save_boot_params instead of c function. > Because generally ATF does not set up SP_EL2 on exiting. > Thus, usage of a C

Re: [PATCH v3 12/15] board: ns3: limit U-boot relocation within 16MB memory

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > From: Bharat Kumar Reddy Gooty > > By default re-location happens to higher address of DDR, relocation happens to a higher address > i.e, DDR start + DDR size. > > Limit re-location to happen within 16MB memory, > start 0xFF00_

Re: [PATCH v3 13/15] include/configs: ns3: add env variables for Linux boot

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > From: Bharat Gooty > > Add env variables and commands for booting Linux. > > Signed-off-by: Bharat Gooty > Signed-off-by: Rayagonda Kokatanur > --- > include/configs/bcm_ns3.h | 366 ++ > 1 file

[PATCH] mmc: Parse new binding for eMMC fixed driver type

2020-06-25 Thread Shunsuke Tokumoto
Parse the new binding and store it in the mmc config struct after doing some sanity checks. The code is designed to support fixed mmc driver type if we ever need that. Signed-off-by: Shunsuke Tokumoto Signed-off-by: Yasushi Iida --- drivers/mmc/mmc-uclass.c | 30 ++

RE: [PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on

2020-06-25 Thread Sagar Kadam
Hi Bin, > -Original Message- > From: Bin Meng > Sent: Friday, June 26, 2020 7:26 AM > To: Sagar Kadam > Cc: Rick Chen ; Simon Glass ; > Pragnesh Patel ; U-Boot Mailing List b...@lists.denx.de>; Bin Meng > Subject: Re: [PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on > >

[PATCH 1/1] riscv: use log functions in fdt_fixup

2020-06-25 Thread Heinrich Schuchardt
Replace printf() and debug() by log_err() and log_debug(). "No reserved memory region found in source FDT\n" is not an error but a debug information. %s/can not/cannot/ - use the more common spelling. Signed-off-by: Heinrich Schuchardt --- arch/riscv/lib/fdt_fixup.c | 12 ++-- 1 file

Re: [PATCH 1/1] riscv: use log functions in fdt_fixup

2020-06-25 Thread Bin Meng
On Fri, Jun 26, 2020 at 12:35 PM Heinrich Schuchardt wrote: > > Replace printf() and debug() by log_err() and log_debug(). > > "No reserved memory region found in source FDT\n" is not an error but a > debug information. > > %s/can not/cannot/ - use the more common spelling. > > Signed-off-by:

Re: [PATCH v3 11/15] board: ns3: define ddr memory layout

2020-06-25 Thread Simon Glass
Hi Rayagonda, On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > Add both DRAM banks memory information and > the corresponding MMU page table mappings. > > Signed-off-by: Bharat Kumar Reddy Gooty > Signed-off-by: Rayagonda Kokatanur > --- > arch/arm/dts/ns3-board.dts | 23

Re: [PATCH v2 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree

2020-06-25 Thread Simon Glass
On Fri, 29 May 2020 at 15:38, Pratyush Yadav wrote: > > From: Jean-Jacques Hiblot > > Add managed functions to get a gpio from the devce-tree, based on a > property name (minus the '-gpios' suffix) and optionally an index. > > When the device is unbound, the GPIO is automatically released and

Re: [PATCH v3 15/15] MAINTAINERS: update maintainers for broadcom ns3 platform

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > Update MAINTAINERS for broadcom ns3 platform (TARGET_NS3). > > Signed-off-by: Rayagonda Kokatanur > --- > Changes from v2: > -Address self review comments, >Update MAINTAINERS file with dt file change. > > MAINTAINERS | 16

Re: [PATCH v6 2/8] lib: rsa: take spl/non-spl into account when building rsa_verify_with_pkey()

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > Right now in multiple places there are only checks for the full > CONFIG_RSA_VERIFY_WITH_PKEY option, not split into main,spl,tpl variants. > > This breaks when the rsa functions get enabled for SPL, for example to

Re: [PATCH v6 3/8] lib: rsa: bring exp_len in line when generating a key_prop

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > The exponent field of struct key_prop gets allocated an uint64_t, > and the contents are positioned from the back, so an exponent of > "0x01 0x00 0x01" becomes 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x1" > > Right now

Re: [PATCH v6 7/8] spl: fit: select SPL_HASH_SUPPORT for SPL_FIT_SIGNATURE

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > rsa-checsum needs support for hash functions or else will run into > compile errors like: > u-boot/lib/rsa/rsa-checksum.c:28: undefined reference to > `hash_progressive_lookup_algo' > > So similar to the main

Re: [PATCH v3 10/15] dt-bindings: memory: ns3: add ddr memory definition

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > Add ddr memory definitions. > > Signed-off-by: Rayagonda Kokatanur > --- > include/dt-bindings/memory/bcm-ns3-mc.h | 30 - > 1 file changed, 29 insertions(+), 1 deletion(-) > Reviewed-by: Simon Glass Please

Re: [PATCH v3 04/15] dt-bindings: memory: ns3: add memory definitions

2020-06-25 Thread Simon Glass
Hi Rayagonda, On Wed, 10 Jun 2020 at 04:41, Rayagonda Kokatanur wrote: > > Add NS3 memory definitions. > > Signed-off-by: Rayagonda Kokatanur > --- > include/dt-bindings/memory/bcm-ns3-mc.h | 34 + > 1 file changed, 34 insertions(+) > create mode 100644

Re: [PATCH v3 06/15] board: ns3: default reset type to L3

2020-06-25 Thread Simon Glass
Hi Rayagonda, On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > Default "reset" from u-boot to L3 reset. U-Boot > "reset" command with argument will trigger L1 reset. > > Signed-off-by: Rajesh Ravi > Signed-off-by: Bharat Kumar Reddy Gooty > Signed-off-by: Rayagonda Kokatanur >

Re: [PATCH v3 07/15] dt-bindings: memory: ns3: update GIC LPI address

2020-06-25 Thread Simon Glass
On Wed, 10 Jun 2020 at 04:42, Rayagonda Kokatanur wrote: > > Update NS3 GIC LPI address. > > Signed-off-by: Rayagonda Kokatanur > --- > include/dt-bindings/memory/bcm-ns3-mc.h | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Simon Glass Lower case hex Can these be in the device

Re: [PATCH v4 11/14] dm: doc: update of-plat with new phandle support

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > Update documentation to reflect the new phandle support when OF_PLATDATA > is used. Now phandles are implemented as pointers to U_BOOT_DEVICE, > which makes it possible to get a pointer to the actual device. > > Signed-off-by: Walter Lozano

Re: [PATCH v4 09/14] sandbox: Move section u_boot_list to make it RW

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > In order to be able to update data in u_boot_list, move this section to > make it RW. > > Signed-off-by: Walter Lozano > --- > > arch/sandbox/cpu/u-boot-spl.lds | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon

Re: [PATCH v4 06/14] dm: doc: update of-plat with the support for driver aliases

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > Update the documentation with the support for driver aliases using > U_BOOT_DRIVER_ALIAS. > > Signed-off-by: Walter Lozano > --- > > doc/driver-model/of-plat.rst | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-)

Re: [PATCH v4 01/14] drivers: rename drivers to match compatible string

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:10, Walter Lozano wrote: > > When using OF_PLATDATA, the bind process between devices and drivers > is performed trying to match compatible string with driver names. > However driver names are not strictly defined, and also there are different > names used when declaring

Re: [PATCH v4 03/14] core: add support for U_BOOT_DRIVER_ALIAS

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:10, Walter Lozano wrote: > > Currently when using OF_PLATDATA the binding between devices and drivers > is done trying to match the compatible string in the node with a driver > name. However, usually a single driver supports multiple compatible strings > which causes

Re: [PATCH v4 02/14] dtoc: add missing code comments

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:10, Walter Lozano wrote: > > Add missing information about internal class members in order to make > the code easier to follow. > > Signed-off-by: Walter Lozano > --- > > tools/dtoc/dtb_platdata.py | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Simon Glass

Re: Pull request for UEFI sub-system for efi-2020-07-rc6

2020-06-25 Thread Tom Rini
On Thu, Jun 25, 2020 at 06:41:58PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 4ff63383e3497389e66cf70943a83bdb1810462a: > > Merge tag 'u-boot-imx-20200623' of > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-23 08:20:55 > -0400) > > are available in

Re: [PATCH v2] ARM: dts: imx6q-tbs2910: Fix Ethernet regression

2020-06-25 Thread Tom Rini
On Thu, Jun 25, 2020 at 08:14:57AM -0300, Fabio Estevam wrote: > Since commit: > > commit 6333cbb3817ed551cd7d4e92f7359c73ccc567fc > Author: Michael Walle > Date: Thu May 7 00:11:58 2020 +0200 > > phy: atheros: ar8035: remove static clock config > > We can configure the clock output

Re: [PATCH v4 1/2] log: don't show function by default

2020-06-25 Thread Simon Glass
On Wed, 17 Jun 2020 at 13:52, Heinrich Schuchardt wrote: > > The name of the function emitting a log message may be of interest for a > developer but is distracting for normal users. See the example below: > > try_load_entry() Booting: Debian > > Make the default format for log messages

Re: [PATCH v6 8/8] spl: fit: select SPL_CRYPTO_SUPPORT for SPL_FIT_SIGNATURE

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > Verifying FIT images obviously needs the rsa parts of crypto > support and while main uboot always compiles crypto support, > it's optional for SPL and we should thus select the necessary > option to not end up in

Re: [PATCH v6 1/8] lib: rsa: distinguish between tpl and spl for CONFIG_RSA_VERIFY

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > While the SPL may want to do signature checking this won't be > the case for TPL in all cases, as TPL is mostly used when the > amount of initial memory is not enough for a full SPL. > > So on a system where SPL

Re: [PATCH v6 4/8] lib: rsa: fix allocated size for rr and rrtmp in rsa_gen_key_prop()

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > When calculating rrtmp/rr rsa_gen_key_prop() tries to make > (((rlen + 31) >> 5) + 1) steps in the rr uint32_t array and > (((rlen + 7) >> 3) + 1) / 4 steps in uint32_t rrtmp[] > with rlen being num_bits * 2 > > On

Re: [PATCH v4 4/5] dm: pci: Assign controller device node to root bridge

2020-06-25 Thread Simon Glass
Hi Nicolas, On Wed, 17 Jun 2020 at 13:15, Nicolas Saenz Julienne wrote: > > On Tue, 2020-06-16 at 17:31 -0600, Simon Glass wrote: > > Hi Nicolas, > > > > On Tue, 16 Jun 2020 at 08:09, Nicolas Saenz Julienne > > wrote: > > > On Tue, 2020-06-16 at 07:43 -0600, Simon Glass wrote: > > > > Hi

Re: [PATCH v6 5/8] lib: rsa: free local arrays after use in rsa_gen_key_prop()

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > n, rr and rrtmp are used for internal calculations, but in the end > the results are copied into separately allocated elements of the > actual key_prop, so the n, rr and rrtmp elements are not used anymore > when

[PATCH v4 3/3] riscv: Enable CONFIG_OF_BOARD_FIXUP by default for OF_SEPARATE

2020-06-25 Thread Bin Meng
From: Bin Meng Starting from OpenSBI v0.7, the SBI firmware inserts/fixes up the reserved memory node for PMP protected memory regions. All RISC-V boards need to copy the reserved memory node from the device tree provided by the firmware to the device tree used by U-Boot. Turn on

Re: [PATCH v6 6/8] lib: rsa: add documentation to padding_pss_verify to document limitations

2020-06-25 Thread Simon Glass
On Thu, 18 Jun 2020 at 08:23, Heiko Stuebner wrote: > > From: Heiko Stuebner > > padding_pss_verify only works with the default pss salt setting of -2 > (length to be automatically determined based on the PSS block structure) > not -1 (salt length set to the maximum permissible value), which

Re: [PATCH v4 6/6] rockchip: make_fit_atf: add signature handling

2020-06-25 Thread Simon Glass
Hi Heiko, On Fri, 19 Jun 2020 at 04:45, Heiko Stuebner wrote: > > From: Heiko Stuebner > > If the newly added fit-generator key-options are found, append needed > signature nodes to all generated image blocks, so that they can get > signed when mkimage later compiles the .itb from the generated

Re: [PATCH v3 1/2] drivers: tee: broadcom: add optee based bnxt fw load driver

2020-06-25 Thread Simon Glass
Hi Rayagonda, On Wed, 10 Jun 2020 at 05:15, Rayagonda Kokatanur wrote: > > From: Vikas Gupta > > Add optee based bnxt fw load driver. > bnxt is Broadcom NetXtreme controller Ethernet card. > This driver is used to load bnxt firmware binary using OpTEE. > > Signed-off-by: Vikas Gupta >

RE: [PATCH v2 1/5] dt-bindings: prci: add indexes for reset signals available in prci

2020-06-25 Thread Sagar Kadam
Hi Jagan, > -Original Message- > From: Jagan Teki > Sent: Thursday, June 25, 2020 11:13 PM > To: Sagar Kadam > Cc: U-Boot-Denx ; Rick Chen ; > Paul Walmsley ( Sifive) ; Palmer Dabbelt > ; Anup Patel ; Atish Patra > ; Lukasz Majewski ; Pragnesh > Patel ; bin.m...@windriver.com; Simon

RE: [PATCH 5/5] riscv: sifive: fu540: Add gpio-restart support

2020-06-25 Thread Sagar Kadam
Hi, > -Original Message- > From: Bin Meng > Sent: Tuesday, June 23, 2020 11:00 AM > To: Rick Chen ; Simon Glass ; > Pragnesh Patel ; Sagar Kadam > ; U-Boot Mailing List > Cc: Bin Meng > Subject: [PATCH 5/5] riscv: sifive: fu540: Add gpio-restart support > > [External Email] Do not

Re: [PATCH v4 08/14] core: extend struct driver_info to point to device

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > Currently when creating an U_BOOT_DEVICE entry a struct driver_info > is declared, which contains the data needed to instantiate the device. > However, the actual device is created at runtime and there is no proper > way to get the device

Re: [PATCH v4 13/14] dtoc: update dtb_platdata to support cd-gpios

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > Currently dtoc does not support the property cd-gpios used to declare > the gpios for card detect in mmc. > > This patch adds support to cd-gpios property. > > Signed-off-by: Walter Lozano > --- > > tools/dtoc/dtb_platdata.py | 16

Re: [PATCH] common/board_f: Respect original FDT size while relocating

2020-06-25 Thread Simon Glass
On Fri, 19 Jun 2020 at 02:22, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko > > While relocating FDT we reserve some memory for the new FDT and > set the size of the FDT with that respect. But FDT may be placed > at the end of the RAM leading to memory access beyond it. > Fix

Re: [PATCH 1/5] sysreset: syscon: Don't assume default value for offset and mask property

2020-06-25 Thread Simon Glass
On Mon, 22 Jun 2020 at 23:30, Bin Meng wrote: > > From: Bin Meng > > Per the DT binding, is a required property. Let's abort > the probe if it is missing. For the property, current codes > assume a default value of zero, which is not correct either. > > Signed-off-by: Bin Meng > --- > >

Re: [PATCH 2/5] sysreset: syscon: Support value property

2020-06-25 Thread Simon Glass
On Mon, 22 Jun 2020 at 23:30, Bin Meng wrote: > > From: Bin Meng > > Per the DT binding, and property can have either one > or both, and if is missing, should be used, which is > what current U-Boot sysreset_syscon driver supports. > > This adds support to the property to the driver, and >

Re: [PATCH v4 04/14] dtoc: add support to scan drivers

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:10, Walter Lozano wrote: > > Currently dtoc scans dtbs to convert them to struct platdata and > to generate U_BOOT_DEVICE entries. These entries need to be filled > with the driver name, but at this moment the information used is the > compatible name present in the dtb.

Re: [PATCH v4 12/14] arm: dts: include gpio nodes for card detect

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > Several MMC drivers use GPIO for card detection with cd-gpios property in > the MMC node pointing to a GPIO node. However, as U-Boot tries to save > space by keeping only required nodes using u-boot* properties, several > devices tree result

Re: [PATCH v4 14/14] dtoc: add test for cd-gpios

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > Add a test for dtoc taking into account the cd-gpios property. > > Signed-off-by: Walter Lozano > --- > > tools/dtoc/dtoc_test_phandle_cd_gpios.dts | 42 ++ > tools/dtoc/test_dtoc.py | 67

Re: [PATCH U-BOOT v3 00/30] PLEASE TEST fs: btrfs: Re-implement btrfs support using code from btrfs-progs

2020-06-25 Thread Simon Glass
Hi Marek, On Wed, 24 Jun 2020 at 10:03, Marek Behún wrote: > > Hello, > > this is a cleaned up version of Qu's patches that reimplements U-Boot's > btrfs driver with code from btrfs-progs. > > I have tested this series, found and corrected one bug (failure when > accesing files via symlinks),

Re: [PATCH v3 02/15] arm: cpu: armv8: add L3 memory flush support

2020-06-25 Thread Simon Glass
Hi Rayagonda, On Fri, 19 Jun 2020 at 10:55, Rayagonda Kokatanur wrote: > > Hi Simon, > > On Wed, Jun 17, 2020 at 8:42 AM Simon Glass wrote: > > > > On Wed, 10 Jun 2020 at 04:41, Rayagonda Kokatanur > > wrote: > > > > > > Add L3 memory flush support for NS3. > > > > > > Signed-off-by: Rayagonda

Re: [PATCH v4 10/14] dtoc: extend dtoc to use struct driver_info when linking nodes

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > In the current implementation, when dtoc parses a dtb to generate a struct > platdata it converts the information related to linked nodes as pointers > to struct platdata of destination nodes. By doing this, it makes > difficult to get

Re: [PATCH v4 05/14] dtoc: add option to disable warnings

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > As dtoc now performs checks for valid driver names, when running dtoc > tests several warnings arise as these tests don't use valid driver > names. > > This patch adds an option to disable those warning, which is only > intended for running

Re: [PATCH v4 07/14] core: drop const for struct driver_info

2020-06-25 Thread Simon Glass
On Wed, 24 Jun 2020 at 22:11, Walter Lozano wrote: > > In order to prepare for a new support of phandle when OF_PLATDATA is used > drop the const for struct driver_info as this struct will need to be > updated on runtime. > > Signed-off-by: Walter Lozano > --- > > drivers/core/device.c|

Re: [PATCH 6/6] env: Add support for explicit write access list

2020-06-25 Thread Tom Rini
On Thu, Jun 25, 2020 at 08:12:57PM +0200, Harald Seiler wrote: > Hi Marek, > > On Wed, 2020-06-03 at 02:01 +0200, Marek Vasut wrote: > > This option marks any U-Boot variable which does not have explicit 'w' > > writeable flag set as read-only. This way the environment can be locked > > down and

Re: [PATCH v2 00/39] Tidy up the 'bd' command.

2020-06-25 Thread Tom Rini
On Sun, May 10, 2020 at 02:16:23PM -0600, Simon Glass wrote: > The code for the 'bd' command never got the 'generic board' treatment many > years ago when global_data and bd_info were converted. As a result it > still has a lot of arch-specific duplication of generic code. > > This series aims

Re: [PATCH v3 3/3] riscv: Enable CONFIG_OF_BOARD_FIXUP by default for OF_SEPARATE

2020-06-25 Thread Atish Patra
On Thu, Jun 25, 2020 at 12:38 AM Bin Meng wrote: > > From: Bin Meng > > Starting from OpenSBI v0.7, the SBI firmware inserts/fixes up the > reserved memory node for PMP protected memory regions. All RISC-V > boards needs to copy the reserved memory node from the device tree nits: /s/needs/need

Re: [PATCH v3 1/3] riscv: Avoid the reserved memory fixup if src and dst point to the same place

2020-06-25 Thread Atish Patra
On Thu, Jun 25, 2020 at 12:38 AM Bin Meng wrote: > > From: Bin Meng > > The copy of reserved memory node from source dtb to destination dtb > can be avoided if they point to the same place. This is useful when > OF_PRIOR_STAGE is used. > > Signed-off-by: Bin Meng > Reviewed-by: Rick Chen > ---

Re: [PATCH v3 0/6] crypto/fsl: add RNG support

2020-06-25 Thread Michael Walle
Am 2020-06-25 18:03, schrieb Heinrich Schuchardt: On 25.06.20 16:36, Heinrich Schuchardt wrote: On 25.06.20 14:18, Michael Walle wrote: First, improve the compatibility on newer Era CAAMs. These introduced new version registers. Secondly, add RNG support for the CAAM. This way we get random

Re: [PATCH v3 2/3] riscv: Expand the DT size before copy reserved memory node

2020-06-25 Thread Atish Patra
On Thu, Jun 25, 2020 at 12:39 AM Bin Meng wrote: > > From: Bin Meng > > The FDT blob might not have sufficient space to hold a copy of > reserved memory node. Expand it before the copy. > > Reported-by: Rick Chen > Signed-off-by: Bin Meng > --- > > Changes in v3: > - Extend the FDT size by

RE: [PATCH 1/5] sysreset: syscon: Don't assume default value for offset and mask property

2020-06-25 Thread Pragnesh Patel
>-Original Message- >From: Bin Meng >Sent: 23 June 2020 11:00 >To: Rick Chen ; Simon Glass ; >Pragnesh Patel ; Sagar Kadam >; U-Boot Mailing List >Cc: Bin Meng >Subject: [PATCH 1/5] sysreset: syscon: Don't assume default value for offset >and mask property > >[External Email] Do not

[PATCH] configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN value

2020-06-25 Thread Kuldeep Singh
Previous attempt to increase CONFIG_SYS_MALLOC_LEN was done in commit c084a8edf4e2 ("configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN size") which increased malloc memory to ~1M. PFE firmware alone requires 3M of dynamic memory allocation and therefore, increase the config value to a larger value

[PATCH v3 09/14] configs: sandbox: activate env in ext4 support

2020-06-25 Thread Patrick Delaunay
Activate ENV in EXT4 support in sandbox. The sandbox behavior don't change; the default environment with the nowhere backend (CONFIG_ENV_IS_NOWHERE)is still used: the weak function env_get_location() return ENVL_NOWHERE for priority 0. Signed-off-by: Patrick Delaunay --- Changes in v3: -

[PATCH v3 10/14] configs: sandbox: activate command env select and env load

2020-06-25 Thread Patrick Delaunay
Add support of environment location with the new env command: 'env select' and 'env load' The ENV backend is selected by priority order - 0 = "nowhere" (default at boot) - 1 = "EXT4" To test EXT4 env support, this backend is selected by name: > env select EXT4 Signed-off-by: Patrick Delaunay

  1   2   >