[PATCH 1/1] lib: move rtc-lib.c to lib

2021-06-11 Thread Heinrich Schuchardt
Function rtc_to_tm() is needed for FAT file system support even if we don't have a real time clock. So move it from drivers/ to lib/. Signed-off-by: Heinrich Schuchardt --- drivers/rtc/Makefile | 1 - drivers/rtc/rtc-lib.c | 77 --- lib/Makefile

Re: Re: [PATCH] configs: OrangePi PC2: Update defaults

2021-06-11 Thread Jernej Škrabec
Dne sobota, 12. junij 2021 ob 07:50:27 CEST je Jernej Škrabec napisal(a): > Dne ponedeljek, 07. junij 2021 ob 19:42:45 CEST je Jernej Skrabec napisal(a): > > OrangePi PC2 board has DRAM with ODT, so enable it. ZQ value is also > > slightly different in vendor images, so update it as well. H5 SoC i

Re: U-Boot zboot on x86-64 VirtualBox UEFI.

2021-06-11 Thread Christian Melki
On 6/11/21 3:40 PM, Simon Glass wrote: > +Heinrich Schuchardt > > Hi Christian, > > On Fri, 11 Jun 2021 at 07:30, Christian Melki > wrote: >> >> Hi. >> >> I have been trying to boot a bzImage with zboot from a VirtualBox UEFI >> instance -> U-Boot UEFI payload. So far I've been using 2021.07-rc1

Re: [PATCH] configs: OrangePi PC2: Update defaults

2021-06-11 Thread Jernej Škrabec
Dne ponedeljek, 07. junij 2021 ob 19:42:45 CEST je Jernej Skrabec napisal(a): > OrangePi PC2 board has DRAM with ODT, so enable it. ZQ value is also > slightly different in vendor images, so update it as well. H5 SoC is > also connected to voltage regulator. It's default value is pretty low, > so i

[PATCH 1/2] fs: fat: add file attributes to struct fs_dirent

2021-06-11 Thread Heinrich Schuchardt
When reading a directory in the UEFI file system we have to return file attributes and timestamps. Copy this data to the directory entry structure. Signed-off-by: Heinrich Schuchardt --- fs/fat/fat.c | 32 +++- include/fs.h | 22 ++ 2 files changed

[PATCH 2/2] efi_loader: provide file attributes in EFI_FILE_PROTOCOL.Read()

2021-06-11 Thread Heinrich Schuchardt
When reading a directory using EFI_FILE_PROTOCOL.Read() provide file attributes and timestamps. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_file.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index 6b3f59

[PATCH 0/2] efi_loader: provide file attributes in directory

2021-06-11 Thread Heinrich Schuchardt
When executing EFI_FILE_PROTOCOL.Read() for a directory entry provide the FAT file attributes and file creation, modification, and access date. The effect can be seen in the UEFI shell when executing the dir command. Heinrich Schuchardt (2): fs: fat: add file attributes to struct fs_dirent ef

Reset cause register for Allwinner H3/R16 SOC's

2021-06-11 Thread Suniel Mahesh
Hi All, I am working on an Allwinner R16 and H3 based targets and I am implementing system update. Is there any way(or a register) on Allwinner R16/H3 which can tell what is the cause of the reset(whether the reset is triggered by a watchdog or thermal or reset or a POR). Thanks & Regards -- Su

Re: BISECTED f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot")

2021-06-11 Thread AKASHI Takahiro
Hi Matwey, On Fri, Jun 11, 2021 at 06:08:28PM +0300, Matwey V. Kornilov wrote: > чт, 10 июн. 2021 г. в 23:05, Heinrich Schuchardt : > > > > On 6/7/21 7:51 PM, Matwey V. Kornilov wrote: > > > вс, 6 июн. 2021 г. в 19:47, Heinrich Schuchardt : > > >> > > >> On 6/6/21 6:21 PM, Heinrich Schuchardt wrot

Re: [PATCH] efi_loader: check update capsule parameters

2021-06-11 Thread AKASHI Takahiro
Hi Vincent, Thank you for the update. On Fri, Jun 11, 2021 at 07:06:01PM +0200, Heinrich Schuchardt wrote: > Cc: Takahiro, Sughosh, Ilias > > On 6/11/21 6:15 PM, Vincent Stehlé wrote: > > UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases, > > listed by the UEFI specification

Re: [PATCH] net: e1000: Fix Unchecked return value coverity

2021-06-11 Thread Ramon Fried
On Fri, Jun 11, 2021 at 5:56 AM Z.Q. Hou wrote: > > > > > -Original Message- > > From: Ramon Fried > > Sent: 2021年6月10日 13:49 > > To: Z.Q. Hou > > Cc: Joe Hershberger ; U-Boot Mailing List > > > > Subject: Re: [PATCH] net: e1000: Fix Unchecked return value coverity > > > > On Mon, May 3

Re: [PATCH v3 00/11] clk: k210: Rewrite K210 clock without CCF

2021-06-11 Thread Sean Anderson
On 6/11/21 12:16 AM, Sean Anderson wrote: This is something I've been meaning to do for a while but only just got around to. The CCF has been quite unwieldy in a few ways: * It is very rigid, and there are not easy ways to hook into it without rewriting many things. See e.g. things like the b

[PATCH 1/1] efidebug: correct display of BootOrder

2021-06-11 Thread Heinrich Schuchardt
Display the number of the boot option and not its index. Fixes: 2ecee31017bf ("efi_loader: use efi_create_indexed_name()") Signed-off-by: Heinrich Schuchardt --- cmd/efidebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index c6352719dd..8

Re: [PATCH] scripts/get_maintainer.pl: obey ignore list

2021-06-11 Thread Tom Rini
On Fri, Jun 11, 2021 at 10:56:55AM -0400, Trevor Woerner wrote: > Hi Tom, > > On Fri 2021-06-11 @ 10:23:01 AM, Tom Rini wrote: > > On Thu, Jun 10, 2021 at 11:37:27PM -0400, Trevor Woerner wrote: > > > > > If the user creates a .get_maintainer.ignore file, make sure it is > > > consulted > > > an

[PATCH 11/11] imx: ventana: display 'none' for MMC if board does not have it

2021-06-11 Thread Tim Harvey
print 'None' instead of just a blank line if nothing is detected: MMC: None Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index adbc6791b3..c07eb627

[PATCH v2] cmd: net: add a 'net list' command to list network devs

2021-06-11 Thread Tim Harvey
In a system with multiple network controllers it can be difficult to know the names of the various devices available. This is especially true for USB ether devices as they do not display device names upon detection. This is being added as a net sub-system in case other commands may want to be adde

[PATCH 10/11] imx: ventana: add support for DLC0700XDP21LF LCD display

2021-06-11 Thread Tim Harvey
Add LVDS support for DLC0700XDP21LF 7in 1024x600 display (equivalent to the DLC-700JMGT4 with new touch controller) Signed-off-by: Robert Jones Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 21 + 1 file changed, 21 insertions(+) diff --git a/board/

[PATCH 09/11] imx: ventana: display neteowrk PHY

2021-06-11 Thread Tim Harvey
Add displaying the detected network PHY on boot. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 860342dd4a..4536d553ce 100644 ---

[PATCH 07/11] imx: ventana: put LTC3676 regulators in continuous mode

2021-06-11 Thread Tim Harvey
In the default pulse-skipping mode regulators that are very lightly loaded can fail to regulate properly. Switching them to always use continuous mode causes only around 10mW of overall system power difference in a lightly loaded system that isn't already operating them in continuous mode. Signed-

[PATCH 08/11] imx: ventana: add DP83867 PHY LED configuration

2021-06-11 Thread Tim Harvey
Add DP83867 PHY LED configuration. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 4a6b1dc461..860342dd4a 100644 --- a/board/ga

[PATCH 06/11] imx: ventana: put PFUZ100 regulators in continuous mode

2021-06-11 Thread Tim Harvey
In the default 'auto' mode regulators that are very lightly loaded can be put in PFM mode and fail to regulator properly. Switching them to always use continuous PWM mode has a neglibable affect on system power and garuntees proper regulation under lightly loaded circumstances. Signed-off-by: Tim

[PATCH 05/11] imx: ventana: add PMIC fix for GW54xx-G

2021-06-11 Thread Tim Harvey
Substitutions in EOL parts changes the VDD_2P5 voltage rail such that the previously unused VGEN6 LDO is needed in place of the lower power VGEN5 for the GW54xx-G. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 22 ++ 1 file changed, 22 insertions(+) dif

[PATCH 03/11] imx: ventana: increase SYS_BOOTM_LEN

2021-06-11 Thread Tim Harvey
Increase SYS_BOOM_LEN from the default 16M in imx6_common to 64M. Signed-off-by: Tim Harvey --- include/configs/gw_ventana.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 4f2f323b77..f80a3094a1 100644 --- a/include/config

[PATCH 04/11] imx: ventana: add legacy uboot image support

2021-06-11 Thread Tim Harvey
Add Legacy U-Boot image support needed to boot a uImage. Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 1 - configs/gwventana_gw5904_defconfig | 1 - configs/gwventana_nand_defconfig | 1 - 3 files changed, 3 deletions(-) diff --git a/configs/gwventana_emmc_defconfig b/co

[PATCH 02/11] imx: ventana: remove unneeded includes

2021-06-11 Thread Tim Harvey
remove unnecessary includes Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 1ed9c1a39f..4a6b1dc461 100644 --- a/board/

[PATCH 01/11] imx: ventana: remove USB_KEYBOARD support

2021-06-11 Thread Tim Harvey
For some time now having USB_KEYBOARD support has caused usb to be initialized on boot. To allow for a quicker bootup we don't want this for Ventana and don't really need USB keyboard support so remove it. Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 1 - configs/gwventana_

[PATCH v3 0/5] Add SIMATIC IOT2050 board support

2021-06-11 Thread Jan Kiszka
This is the baseline support for the SIMATIC IOT2050 devices. Changes in v3: - rebased - addressed several checkpatch warnings - a few #ifdef -> IS_ENABLED conversions - comment marker for SPDK identifier in .S file - trailing whitespaces - factored out rti_wdt_load_fw (less #ifdef)

[PATCH v3 5/5] configs: iot2050: Enable watchdog support, but do not auto-start it

2021-06-11 Thread Jan Kiszka
From: Jan Kiszka This allows to use the watchdog in custom scripts but does not enforce that the OS has to support it as well. Signed-off-by: Jan Kiszka --- configs/iot2050_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/iot2050_defconfig b/configs/iot2050_defconfig

[PATCH v3 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-11 Thread Jan Kiszka
From: Jan Kiszka To avoid the need of extra boot scripting on AM65x for loading a watchdog firmware, add the required rproc init and loading logic for the first R5F core to the watchdog start handler. In case the R5F cluster is in lock-step mode, also initialize the second core. The firmware itse

[PATCH v3 3/5] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry

2021-06-11 Thread Jan Kiszka
From: Jan Kiszka Add the DT entry for a watchdog based on RTI1. It requires additional firmware on the MCU R5F cores to handle the expiry, e.g. https://github.com/siemens/k3-rti-wdt. As this firmware will also lock the power domain to protect it against premature shutdown, mark it shared. Aligns

[PATCH v3 2/5] board: siemens: Add support for SIMATIC IOT2050 devices

2021-06-11 Thread Jan Kiszka
From: Jan Kiszka This adds support for the IOT2050 Basic and Advanced devices. The Basic used the dual-core AM6528 GP processor, the Advanced one the AM6548 HS quad-core version. Both variants are booted via a Siemens-provided FSBL that runs on the R5 cores. Consequently, U-Boot support is targe

[PATCH v3 1/5] arm: dts: Add IOT2050 device tree files

2021-06-11 Thread Jan Kiszka
From: Jan Kiszka Prepares for the addition of the IOT2050 board which is based on the TI AM65x. The board comes in two variants, Basic and Advanced, so there are separate dts files. Furthermore, the SPL has its own device tree. Based on original board support by Le Jin, Gao Nian and Chao Zeng.

Re: [PATCH v2 0/5] Add SIMATIC IOT2050 board support

2021-06-11 Thread Jan Kiszka
On 11.06.21 16:53, Tom Rini wrote: > On Fri, Jun 11, 2021 at 08:00:17PM +0530, Lokesh Vutla wrote: >> >> >> On 02/06/21 3:07 pm, Jan Kiszka wrote: >>> This is the baseline support for the SIMATIC IOT2050 devices. >>> >>> Changes in v2: >>> - rebased >>> - sync with upstream-accepted DT >>> - add

RE: [PATCH 1/1] efi_loader: TPL_HIGH_LEVEL not allowed for CreateEvent

2021-06-11 Thread Samer El-Haj-Mahmoud
Acked-by: Samer El-Haj-Mahmoud > -Original Message- > From: Heinrich Schuchardt > Sent: Thursday, June 10, 2021 5:26 PM > To: Alexander Graf > Cc: u-boot@lists.denx.de; Heinrich Schuchardt ; > Samer El-Haj-Mahmoud > Subject: [PATCH 1/1] efi_loader: TPL_HIGH_LEVEL not allowed for > Crea

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-06-11 Thread François Ozog
On Thu, 10 Jun 2021 at 23:57, Manish Pandey2 wrote: > Hi Everyone, > > I have tried to conclude the discussions we had in two of the TF-A tech > forum sessions and on mailing list. > > The problem we are trying to solve is already solved in different projects > in different ways, the purpose of t

Re: [PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-06-11 Thread Tim Harvey
On Fri, Jun 11, 2021 at 10:23 AM Sean Anderson wrote: > > > > On 6/11/21 1:16 PM, Tim Harvey wrote: > > On Fri, Jun 11, 2021 at 10:09 AM Sean Anderson > wrote: > >> > >> > >> > >> On 6/11/21 12:32 PM, Tim Harvey wrote: > >> > On Thu, Apr 29, 2021 at 9:48 AM Tim Harvey > wrote: > >>

Re: [PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-06-11 Thread Sean Anderson
On 6/11/21 1:16 PM, Tim Harvey wrote: > On Fri, Jun 11, 2021 at 10:09 AM Sean Anderson wrote: >> >> >> >> On 6/11/21 12:32 PM, Tim Harvey wrote: >> > On Thu, Apr 29, 2021 at 9:48 AM Tim Harvey wrote: >> >> >> >> On Thu, Apr 29, 2021 at 9:10 AM Simon Glass wrote: >> >>> >> >>> Hi Ti

Re: [PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-06-11 Thread Tim Harvey
On Fri, Jun 11, 2021 at 10:09 AM Sean Anderson wrote: > > > > On 6/11/21 12:32 PM, Tim Harvey wrote: > > On Thu, Apr 29, 2021 at 9:48 AM Tim Harvey wrote: > >> > >> On Thu, Apr 29, 2021 at 9:10 AM Simon Glass wrote: > >>> > >>> Hi Tim, > >>> > >>> On Fri, 16 Apr 2021 at 14:30, Tim Harvey

Re: [PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-06-11 Thread Sean Anderson
On 6/11/21 12:32 PM, Tim Harvey wrote: > On Thu, Apr 29, 2021 at 9:48 AM Tim Harvey wrote: >> >> On Thu, Apr 29, 2021 at 9:10 AM Simon Glass wrote: >>> >>> Hi Tim, >>> >>> On Fri, 16 Apr 2021 at 14:30, Tim Harvey wrote: When looking for an alias with the highest id skip aliases for

Re: [PATCH] efi_loader: check update capsule parameters

2021-06-11 Thread Heinrich Schuchardt
Cc: Takahiro, Sughosh, Ilias On 6/11/21 6:15 PM, Vincent Stehlé wrote: UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases, listed by the UEFI specification and tested by the SCT. Add a common function to do that. This fixes SCT UpdateCapsule_Conf failures. Reviewed-by: Gran

Re: [PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-06-11 Thread Tim Harvey
On Thu, Apr 29, 2021 at 9:48 AM Tim Harvey wrote: > > On Thu, Apr 29, 2021 at 9:10 AM Simon Glass wrote: > > > > Hi Tim, > > > > On Fri, 16 Apr 2021 at 14:30, Tim Harvey wrote: > > > > > > When looking for an alias with the highest id skip aliases for nodes > > > that are disabled. > > > > > > S

[PATCH] efi_loader: check update capsule parameters

2021-06-11 Thread Vincent Stehlé
UpdateCapsule() must return EFI_INVALID_PARAMETER in a number of cases, listed by the UEFI specification and tested by the SCT. Add a common function to do that. This fixes SCT UpdateCapsule_Conf failures. Reviewed-by: Grant Likely Signed-off-by: Vincent Stehlé Cc: Heinrich Schuchardt Cc: Alex

[PATCH v4 17/18] configs: am335x_guardian: Enable bootcount nvmem support

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath include bootcount nvmem support Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 38c5c47c16..3dc478d4e0 100644 --- a/conf

[PATCH v4 18/18] configs: am335x_guardian: add register maps support

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath add support to direct memory access of hardware peripherals registers Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 3d

[PATCH v4 16/18] am335x, guardian: software update available status is stored in AM3352 RTC scracth register

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath RTC second scratch register[32-bit]: -zero byte hold boot count value -first byte hold update available state -second byte hold version -third byte hold magic number Signed-off-by: Gireesh Hiremath Gbp-Pq: Topic apertis/guardian Gbp-Pq: Name am335x-guardian-softw

[PATCH v4 13/18] configs: am335x_guardian: Enable display config

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath -Enable configuration for display driver -Disable support for SPL GPIO, CMD LED & SPL GPIO Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configs/am335x_guardian_def

[PATCH v4 15/18] am335x, guardian: Enable panel driver Himax HX8238D

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Enable lcd controller - Display splash screen Signed-off-by: Gireesh Hiremath --- arch/arm/dts/am335x-guardian-u-boot.dtsi | 11 +++ arch/arm/dts/am335x-guardian.dts | 8 ++- arch/arm/mach-omap2/am33xx/Kconfig | 2 + board/bosch/guardian/board.c

[PATCH v4 14/18] drivers: video: hx8238 fix build bug

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath update panel driver hx8238 fix build bug Signed-off-by: Gireesh Hiremath --- drivers/video/Makefile | 2 +- drivers/video/hx8238d.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 933f06e9d8.

[PATCH v4 12/18] am335x, guardian: Enable backlight

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath Enable backlight, set brightness value and dimming frequency Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 26 ++ include/configs/am335x_guardian.h | 1 + 2 files changed, 27 insertions(+) diff --git a/board/bosch/guard

[PATCH v4 11/18] am335x, guardian: update swi logic

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath read boot mode gpio and set the swi status Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 16 ++-- include/configs/am335x_guardian.h | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/board/bosch/guardian/board.c

[PATCH v4 08/18] am335x, guardian: code cleanup and boot optimization

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath - remove redundant headers and boot modes from board file Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 21 - 1 file changed, 21 deletions(-) diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 9429454a

[PATCH v4 10/18] configs: am335x_guardian: disable spl command

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath - disable support for spl command Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 52fa58ae7b..6e57fefaa8

[PATCH v4 07/18] am335x, guardian: set environment variable autoload to no

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath autoload: if set to "no" then rarpb, bootp or dhcp commands will just perform a configuration lookup from the BOOTP / DHCP server, but not try to load any image using TFTP Signed-off-by: Gireesh Hiremath --- include/configs/am335x_guardian.h | 2 +- 1 file changed, 1 ins

[PATCH v4 06/18] am335x, guardian: Update pinmux configuration

2021-06-11 Thread Gireesh.Hiremath
From: Moses Christopher pinmux update for guardian board - control ASP Board Power: GPIO, on/off ASP Board Power - control Coincell Voltage Measurement: GPIO, enable/disable ADC measurements - powerOff Device GPIO-PowerOff, cut the PMIC supply Signed-off-by: Moses Christopher --- arch/arm/dt

[PATCH v4 09/18] configs: am335x_guardian: set boot delay

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath - set boot delay to zero, to increase boot speed Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 000b198440..52fa58ae7b

[PATCH v4 03/18] configs: am335x_guardian: add ubi fastmap support

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Trigger fastmap automatically Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 791bbba26e..a96cdf734c 100644 --- a/conf

[PATCH v4 05/18] configs: am335x_guardian: add memtest configs

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath - Add mtest, meminfo commands Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index a96cdf734c..000b198440 100644 --- a/co

[PATCH v4 04/18] am335x, guardian: set tftp_load_addr in environment

2021-06-11 Thread Gireesh.Hiremath
From: Moses Christopher Set tftp_load_addr to 0x8200 in MEM_LAYOUT_ENV_SETTINGS Signed-off-by: Moses Christopher --- include/configs/am335x_guardian.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index c34c07a493

[PATCH v4 02/18] am335x, guardian: mem: Add board dependent mem values

2021-06-11 Thread Gireesh.Hiremath
From: Moses Christopher - Add mem-guardian.h derived from am33xx/mem.h * Add GPMC config values optimized for Bosch Guardian Board * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA Signed-off-by: Moses Christopher --- .../include/asm/arch-am33xx/mem-guardian.h| 6

[PATCH v4 01/18] configs: am335x_guardian: Enable clock driver

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath Enable TI clock driver support for guardian board Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index d412311cec..791

[PATCH v4 00/18] am335x, guardian: update board specific changes

2021-06-11 Thread Gireesh.Hiremath
From: Gireesh Hiremath address the v3 review comments >There are some build errors with this series, can you take a look?: >https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.denx.de%2Fu-boot%2Fcustodians%2Fu-boot-ti%2F-%2Fjobs%2F275470&data=04%7C01%7CGireesh.Hiremath%40in.

[GIT PULL v2] TI changes for v2021.10 next

2021-06-11 Thread Lokesh Vutla
Hi Tom, Please find the PR for master branch targeted for v2021.10-next branch with checkpatch warnings fixed. Details about the PR are updated in the tag message. Gitlab CI report: https://source.denx.de/u-boot/custodians/u-boot-ti/-/pipelines/7817 The following changes since commit e8

Re: [PATCH] zynqmp: spl: support DRAM ECC initialization

2021-06-11 Thread Jorge Ramirez-Ortiz, Foundries
On 11/06/21, Michal Simek wrote: > Hi, > > On 6/11/21 12:09 PM, Jorge Ramirez-Ortiz wrote: > > Use the ZDMA channel 0 to initialize the DRAM banks. > > A little bit short. Can you please extend it? ok > > > > > Signed-off-by: Jorge Ramirez-Ortiz > > --- > > arch/arm/mach-zynqmp/Kconfig

Re: [PATCH] net: e1000: do not attempt to set hwaddr for i210 without FLASH

2021-06-11 Thread Tim Harvey
On Thu, Apr 22, 2021 at 5:11 PM Ramon Fried wrote: > > On Fri, Apr 16, 2021 at 11:25 PM Tim Harvey wrote: > > > > commit f1bcad22dd19 ("net: e1000: add support for writing to EEPROM") > > adds support for storing hwaddr in EEPROM however i210 devices do not > > support this and thus results in er

Re: BISECTED f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot")

2021-06-11 Thread Matwey V. Kornilov
пт, 11 июн. 2021 г. в 00:02, Heinrich Schuchardt : > > On 6/10/21 10:05 PM, Heinrich Schuchardt wrote: > > On 6/7/21 7:51 PM, Matwey V. Kornilov wrote: > >> вс, 6 июн. 2021 г. в 19:47, Heinrich Schuchardt : > >>> > >>> On 6/6/21 6:21 PM, Heinrich Schuchardt wrote: > On 6/6/21 5:42 PM, Matwey V

Re: [PATCH v6 1/2] clk: zynq: Add clock wizard driver

2021-06-11 Thread Sean Anderson
On 6/11/21 11:10 AM, Zhengxun wrote: The Clocking Wizard IP supports clock circuits customized to your clocking requirements. The wizard support for dynamically reconfiguring the clocking primitives for Multiply, Divide, Phase Shift/Offset, or Duty Cycle. Limited by U-Boot clk uclass without

Re: BISECTED f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot")

2021-06-11 Thread Matwey V. Kornilov
чт, 10 июн. 2021 г. в 23:05, Heinrich Schuchardt : > > On 6/7/21 7:51 PM, Matwey V. Kornilov wrote: > > вс, 6 июн. 2021 г. в 19:47, Heinrich Schuchardt : > >> > >> On 6/6/21 6:21 PM, Heinrich Schuchardt wrote: > >>> On 6/6/21 5:42 PM, Matwey V. Kornilov wrote: > вс, 6 июн. 2021 г. в 18:20, Hei

Re: [PATCH v6 2/2] dt-bindings: add xilinx clocking wizard bindings

2021-06-11 Thread Sean Anderson
On 6/11/21 11:10 AM, Zhengxun wrote: > Add the devicetree binding for the xilinx clocking wizard. > > Signed-off-by: Zhengxun > --- > .../clock/xlnx,clocking-wizard.txt| 43 +++ > 1 file changed, 43 insertions(+) > create mode 100644 doc/device-tree-bindings/cl

Re: [PATCH] scripts/get_maintainer.pl: obey ignore list

2021-06-11 Thread Trevor Woerner
Hi Tom, On Fri 2021-06-11 @ 10:23:01 AM, Tom Rini wrote: > On Thu, Jun 10, 2021 at 11:37:27PM -0400, Trevor Woerner wrote: > > > If the user creates a .get_maintainer.ignore file, make sure it is consulted > > and obeyed for *all* emails discovered by the script. > > > > Signed-off-by: Trevor Wo

Re: [PATCH v2 0/5] Add SIMATIC IOT2050 board support

2021-06-11 Thread Tom Rini
On Fri, Jun 11, 2021 at 08:00:17PM +0530, Lokesh Vutla wrote: > > > On 02/06/21 3:07 pm, Jan Kiszka wrote: > > This is the baseline support for the SIMATIC IOT2050 devices. > > > > Changes in v2: > > - rebased > > - sync with upstream-accepted DT > > - add boot switch > > - include watchdog

Re: [PATCH v2 0/5] Add SIMATIC IOT2050 board support

2021-06-11 Thread Lokesh Vutla
On 02/06/21 3:07 pm, Jan Kiszka wrote: > This is the baseline support for the SIMATIC IOT2050 devices. > > Changes in v2: > - rebased > - sync with upstream-accepted DT > - add boot switch > - include watchdog support > > Allows to boot mainline 5.10 kernels, but not the original BSP-deriv

Re: [PATCH] scripts/get_maintainer.pl: obey ignore list

2021-06-11 Thread Tom Rini
On Thu, Jun 10, 2021 at 11:37:27PM -0400, Trevor Woerner wrote: > If the user creates a .get_maintainer.ignore file, make sure it is consulted > and obeyed for *all* emails discovered by the script. > > Signed-off-by: Trevor Woerner > --- > scripts/get_maintainer.pl | 1 + > 1 file changed, 1 i

[PATCH] doc/usage: cmd-usage help file for askenv

2021-06-11 Thread opensource . kab
From: Adarsh Babu Kalepalli help file for using askenv cmd is created. It provides description on the command purpose, description of arguments, couple of examples (illustrating command usage), configuration parameter and possible return values. Signed-off-by: Adarsh Babu Kalepalli --- doc/us

Re: [PATCHv6 00/26] HSM rearch series for TI K3 devices

2021-06-11 Thread Tom Rini
On Fri, Jun 11, 2021 at 07:13:19PM +0530, Lokesh Vutla wrote: > Tom, > > On 11/06/21 4:48 pm, Tero Kristo wrote: > > On 11/06/2021 14:08, Lokesh Vutla wrote: > >> Hi Tero, > >> > >> On 11/06/21 2:15 pm, Tero Kristo wrote: > >>> Hello, > >>> > >>> One more post, this time with the #ifdef hackery co

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-11 Thread Tom Rini
On Fri, Jun 11, 2021 at 07:14:21PM +0530, Lokesh Vutla wrote: > Hi Tom, > > On 09/06/21 6:47 pm, Jan Kiszka wrote: > > On 07.06.21 13:44, Jan Kiszka wrote: > >> On 07.06.21 13:40, Tom Rini wrote: > >>> On Mon, Jun 07, 2021 at 03:33:52PM +0530, Lokesh Vutla wrote: > +Tom, > > Hi Tom,

Re: [PATCH v3 00/11] clk: k210: Rewrite K210 clock without CCF

2021-06-11 Thread Sean Anderson
On 6/11/21 4:21 AM, Lukasz Majewski wrote: On Fri, 11 Jun 2021 00:16:06 -0400 Sean Anderson wrote: This is something I've been meaning to do for a while but only just got around to. The CCF has been quite unwieldy in a few ways: * It is very rigid, and there are not easy ways to hook into it

DTB_RESELECT/MULTI DTB with SPL flow

2021-06-11 Thread Michal Simek
Hi, I am just trying to wrap my head around DTB_RESELECT feature. ZynqMP is using u-boot.itb which is u-boot/atf + a lot of DT files. As of now SPL should pick the right one load it predefined location which U-Boot proper pickup. Others DTBs are not loaded at all. This is working fine and I expect

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-06-11 Thread Lokesh Vutla
Hi Tom, On 09/06/21 6:47 pm, Jan Kiszka wrote: > On 07.06.21 13:44, Jan Kiszka wrote: >> On 07.06.21 13:40, Tom Rini wrote: >>> On Mon, Jun 07, 2021 at 03:33:52PM +0530, Lokesh Vutla wrote: +Tom, Hi Tom, On 02/06/21 3:07 pm, Jan Kiszka wrote: > From: Jan Kiszka >

Re: [PATCHv6 00/26] HSM rearch series for TI K3 devices

2021-06-11 Thread Lokesh Vutla
Tom, On 11/06/21 4:48 pm, Tero Kristo wrote: > On 11/06/2021 14:08, Lokesh Vutla wrote: >> Hi Tero, >> >> On 11/06/21 2:15 pm, Tero Kristo wrote: >>> Hello, >>> >>> One more post, this time with the #ifdef hackery converted to use the >>> IS_ENABLED / CONFIG_IS_ENABLED macros, and also removed the

Re: U-Boot zboot on x86-64 VirtualBox UEFI.

2021-06-11 Thread Simon Glass
+Heinrich Schuchardt Hi Christian, On Fri, 11 Jun 2021 at 07:30, Christian Melki wrote: > > Hi. > > I have been trying to boot a bzImage with zboot from a VirtualBox UEFI > instance -> U-Boot UEFI payload. So far I've been using 2021.07-rc1. I'd > like to try a newer rc, but even if built exactl

Re: [PATCH v2 1/4] board: freescale: t208xrdb: remove the legacy non-DM_ETH code

2021-06-11 Thread Tom Rini
On Fri, Jun 11, 2021 at 03:28:05PM +0300, Camelia Groza wrote: > From: Camelia Groza > > Both DM_ETH and DM_PCI are enabled for the T2080RDB board. Remove the > board_eth_init() callback and the non-DM_ETH code paths since they are not > needed anymore. > > Signed-off-by: Camelia Groza Thanks

Next branch is open

2021-06-11 Thread Tom Rini
Hey all, As the subject says, the next branch is now open and is based on rc4. -- Tom signature.asc Description: PGP signature

[PATCH v2 4/4] board: freescale: t208xrdb: add a config option for rev D dts fixups

2021-06-11 Thread Camelia Groza
From: Camelia Groza Under DM, we rely on u-boot's device tree to provide the correct PHY addresses. The board_fix_fdt callback is intended to be used for device tree fixups before relocation. Unfortunately, this isn't an option when booting from flash since the device tree isn't writable before r

[PATCH v2 3/4] board: freescale: t208xrdb: add Linux fdt fix-ups for rev D

2021-06-11 Thread Camelia Groza
From: Camelia Groza The T2080RDB boards revisions D and up have updated 10G Aquantia PHYs connected to MAC1 and MAC2. The second Aquantia PHY is located at a different address on the MDIO bus compared to rev C (0x8 instead of 0x1). Fix-up the Linux device tree to update the PHY address for the s

[PATCH v2 2/4] board: freescale: t208xrdb: detect the board revision version

2021-06-11 Thread Camelia Groza
From: Camelia Groza Detect and print the board revision version based on the CPLD registers. Signed-off-by: Camelia Groza --- Changes in v2: - patch title and description rewording board/freescale/t208xrdb/t208xrdb.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-)

[PATCH v2 1/4] board: freescale: t208xrdb: remove the legacy non-DM_ETH code

2021-06-11 Thread Camelia Groza
From: Camelia Groza Both DM_ETH and DM_PCI are enabled for the T2080RDB board. Remove the board_eth_init() callback and the non-DM_ETH code paths since they are not needed anymore. Signed-off-by: Camelia Groza --- Changes in v2: - new patch board/freescale/t208xrdb/eth_t208xrdb.c | 79 ---

[PATCH 0/4] board: freescale: T2080RDB: rev D support and

2021-06-11 Thread Camelia Groza
From: Camelia Groza The T2080RDB boards revision D and up have updated Aquantia PHYs on the two 10Gbps copper ports connected to MAC1 and MAC2 (from AQ1202 to AQR113C). The second PHY connected to MAC2 is located at a different address on the MDIO bus compared to revision C boards. Device tree fi

Re: [GIT PULL] xilinx patches for v2021.07-rc5

2021-06-11 Thread Tom Rini
On Fri, Jun 11, 2021 at 01:20:15PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these 3 fixes to your tree. When are you plan to open next > branch? The next branch is open now, I thought I mentioned that in the last -rc email but I didn't send a separate one like I had in the past, so,

Re: doc/usage:Warning from PATMAN tool prevents uploading a cmd-usage help file for askenv

2021-06-11 Thread Heinrich Schuchardt
On 6/11/21 11:56 AM, Adarsh Babu Kalepalli wrote: Hi Heinrich, Having prepared the documentation for "askenv" man page , getting stuck with a warning (PATMAN tool )to submit the patch. - $git add doc/usage/askenv.rst $git commit $./tools/patman/patman -c1 send -n

[GIT PULL] xilinx patches for v2021.07-rc5

2021-06-11 Thread Michal Simek
Hi Tom, please pull these 3 fixes to your tree. When are you plan to open next branch? Thanks, Michal The following changes since commit e3b64beda5dd1a6b6bedfd1fe0e50be1ddea7044: Prepare v2021.07-rc4 (2021-06-07 09:26:39 -0400) are available in the Git repository at: g...@source.denx.de:u

Re: [PATCHv6 00/26] HSM rearch series for TI K3 devices

2021-06-11 Thread Tero Kristo
On 11/06/2021 14:08, Lokesh Vutla wrote: Hi Tero, On 11/06/21 2:15 pm, Tero Kristo wrote: Hello, One more post, this time with the #ifdef hackery converted to use the IS_ENABLED / CONFIG_IS_ENABLED macros, and also removed the "common.h" include from k3-clk.h header. This version also contains

Re: [PATCH] zynqmp: spl: support DRAM ECC initialization

2021-06-11 Thread Michal Simek
Hi, On 6/11/21 12:09 PM, Jorge Ramirez-Ortiz wrote: > Use the ZDMA channel 0 to initialize the DRAM banks. A little bit short. Can you please extend it? > > Signed-off-by: Jorge Ramirez-Ortiz > --- > arch/arm/mach-zynqmp/Kconfig| 35 +++ > arch/arm/mach-zynqmp/Makefile |

Re: [PATCHv6 00/26] HSM rearch series for TI K3 devices

2021-06-11 Thread Lokesh Vutla
Hi Tero, On 11/06/21 2:15 pm, Tero Kristo wrote: > Hello, > > One more post, this time with the #ifdef hackery converted to use the > IS_ENABLED / CONFIG_IS_ENABLED macros, and also removed the "common.h" > include from k3-clk.h header. This version also contains fixes to any > build issues repor

[PATCH] zynqmp: spl: support DRAM ECC initialization

2021-06-11 Thread Jorge Ramirez-Ortiz
Use the ZDMA channel 0 to initialize the DRAM banks. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/mach-zynqmp/Kconfig| 35 +++ arch/arm/mach-zynqmp/Makefile | 1 + arch/arm/mach-zynqmp/ecc_spl_init.c | 139 arch/arm/mach-zynqmp/spl.c

doc/usage:Warning from PATMAN tool prevents uploading a cmd-usage help file for askenv

2021-06-11 Thread Adarsh Babu Kalepalli
Hi Heinrich, Having prepared the documentation for "askenv" man page , getting stuck with a warning (PATMAN tool )to submit the patch. - $git add doc/usage/askenv.rst $git commit $./tools/patman/patman -c1 send -n -- vb@vb:~/uboot/tem

[PATCHv6 23/26] configs: j721e_evm_r5: Enable raw access power management features

2021-06-11 Thread Tero Kristo
From: Tero Kristo Sysfw is not going to provide access to power management features in the new architecture, so SPL must implement these itself. Enable all the raw register access based clock + power domain drivers. Signed-off-by: Tero Kristo Signed-off-by: Tero Kristo --- configs/j721e_evm_r

[PATCHv6 25/26] board: ti: j72xx: README: update build instructions and image formats

2021-06-11 Thread Tero Kristo
From: Tero Kristo Update build instructions and image formats based on HSM rearch. A new DM image is added into the build, which gets executed right after R5 SPL finishes its job. Signed-off-by: Tero Kristo Signed-off-by: Tero Kristo --- board/ti/j721e/README | 9 ++--- 1 file changed, 6

[PATCHv6 26/26] arm: dts: k3-j72xx: correct MCU timer1 frequency

2021-06-11 Thread Tero Kristo
MCU timer1 is used as the tick timer for MCU R5 SPL, and the clock-frequency defined in DT appears to be incorrect at the moment. Actual clock source for the timer is MCU_SYSCLK0 / 4 which is 250MHz. Earlier setup of 25MHz went unnoticed, as there was a separate issue with omap-timer, which caused

[PATCHv6 24/26] configs: j7200_evm_r5: Enable raw access power management features

2021-06-11 Thread Tero Kristo
From: Dave Gerlach Sysfw is not going to provide access to power management features in the new architecture, so SPL must implement these itself. Enable all the raw register access based clock + power domain drivers. Signed-off-by: Dave Gerlach Signed-off-by: Tero Kristo --- configs/j7200_evm

[PATCHv6 17/26] arm: mach-k3: Add platform data for j721e and j7200

2021-06-11 Thread Tero Kristo
From: Dave Gerlach Add platform clock and powerdomain data for J721e and J7200. This data is used by the corresponding drivers to register all the required device clocks and powerdomains. Signed-off-by: Dave Gerlach Signed-off-by: Tero Kristo --- arch/arm/mach-k3/Makefile | 2 +- ar

  1   2   >