Re: [PATCH v2 7/9] imx8mm_evk: spl: enable pwm clock

2022-03-16 Thread Fabio Estevam
On Wed, Mar 16, 2022 at 8:55 PM Fabio Estevam wrote: > > Hi Tommaso, > > On Wed, Mar 16, 2022 at 12:28 PM Tommaso Merciai > wrote: > > > > Enable pwm1 clock into spl > > Please improve the commit log and explain why you need to enable the > PWM clock in SPL. > > What is the PWM use case in PWM

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-03-16 Thread Andre Przywara
On Wed, 16 Mar 2022 20:28:31 + Joakim Tjernlund wrote: Hi, > Got something I cannot figure out and was hoping to pick your brain: > timeofday does not count. > I can now boot fine into user space but then I tested the date command > and my time stands still on 1970. I can set date but the

Re: [PATCH 1/1] cmd: sbi: add Performance Monitoring Unit Extension

2022-03-16 Thread Bin Meng
On Thu, Mar 17, 2022 at 4:21 AM Heinrich Schuchardt wrote: > > Version 1.0-rc3 of the RISC-V Supervisor Binary Interface Specification > has added the Performance Monitoring Unit Extension. > > The sbi command should be able to detect it. > > Signed-off-by: Heinrich Schuchardt > --- > At this

Re: [PATCH] test/py: efi_capsule: Handle expected reset after capsule on disk

2022-03-16 Thread Simon Glass
Hi Heinrich, On Wed, 16 Mar 2022 at 14:47, Heinrich Schuchardt wrote: > > > > Am 16. März 2022 20:23:37 MEZ schrieb Simon Glass : > >Hi Masami, > > > >On Wed, 16 Mar 2022 at 00:09, Masami Hiramatsu > > wrote: > >> > >> Hi Simon, > >> > >> 2022年3月16日(水) 12:13 Simon Glass : > >> > > >> > Hi

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Fabio Estevam
On Wed, Mar 16, 2022 at 6:00 AM Tommaso Merciai wrote: > > Add pwm1/backlight support nodes for imx8mm_evk board Why do you enable backlight given that the board does not support splash screen?

Re: [PATCH v2 7/9] imx8mm_evk: spl: enable pwm clock

2022-03-16 Thread Fabio Estevam
Hi Tommaso, On Wed, Mar 16, 2022 at 12:28 PM Tommaso Merciai wrote: > > Enable pwm1 clock into spl Please improve the commit log and explain why you need to enable the PWM clock in SPL. What is the PWM use case in PWM that you plan to use?

Re: [PATCH v2 4/9] arm: imx: imx8mm: add enable_pwm_clk function

2022-03-16 Thread Marek Vasut
On 3/16/22 16:27, Tommaso Merciai wrote: Add function enable_pwm_clk into in clock_imx8mm.c. This function first configure, then enable pwm clock from clock control register. The following configuration is used: source(0) -> 24 MHz ref clock div(0)-> no division for this clock References:

Re: [PATCH] test/py: efi_capsule: Handle expected reset after capsule on disk

2022-03-16 Thread Heinrich Schuchardt
Am 16. März 2022 20:23:37 MEZ schrieb Simon Glass : >Hi Masami, > >On Wed, 16 Mar 2022 at 00:09, Masami Hiramatsu > wrote: >> >> Hi Simon, >> >> 2022年3月16日(水) 12:13 Simon Glass : >> > >> > Hi Masami, >> > >> > On Tue, 15 Mar 2022 at 02:36, Masami Hiramatsu >> > wrote: >> > > >> > > Hi Simon,

Re: ARM A53 and initial MMU mapping for EL0/1/2/3 ?

2022-03-16 Thread Joakim Tjernlund
Hi again Got something I cannot figure out and was hoping to pick your brain: timeofday does not count. I can now boot fine into user space but then I tested the date command and my time stands still on 1970. I can set date but the time still does not count. Normal sleep 1 works though. Using

[PATCH 1/1] cmd: sbi: add Performance Monitoring Unit Extension

2022-03-16 Thread Heinrich Schuchardt
Version 1.0-rc3 of the RISC-V Supervisor Binary Interface Specification has added the Performance Monitoring Unit Extension. The sbi command should be able to detect it. Signed-off-by: Heinrich Schuchardt --- At this point it is not necessary to add the full interface descritption of the PMU

Re: [PATCH 9/9] arm64: Import from Linux

2022-03-16 Thread Sean Anderson
On 3/16/22 11:39 AM, Pierre-Clément Tosi wrote: Import the header from version 5.16 of the kernel: commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 Signed-off-by: Pierre-Clément Tosi Cc: Tom Rini --- arch/arm/include/asm/esr.h | 343 + 1 file

Re: [PATCH 2/9] lib: crypt: Avoid redefining static_assert

2022-03-16 Thread Steffen Jaeckel
On 3/16/22 20:23, Simon Glass wrote: On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: Use the macro introduced by commit ef0f4e834c66 ("build_bug.h: add wrapper for _Static_assert") by importing . Signed-off-by: Pierre-Clément Tosi Cc: Simon Glass Cc: Steffen Jaeckel ---

[PATCH v2] boot: image: fixup zstd decompression buffer initialization typo

2022-03-16 Thread Jérôme Carretero
The code was mistakenly initializing the input buffer twice. Tested to be working on BeagleBone by adjusting CONFIG_SYS_BOOTM_LEN to 64MiB (probably works with less) and preparing uImage with: cat arch/arm/boot/Image \ | zstd --ultra -22 --zstd=windowLog=22 \ > linux.bin.zst mkimage -A

Re: [PATCH 1/7] clk: Make rfree return void

2022-03-16 Thread Simon Glass
HI Sean, On Wed, 16 Mar 2022 at 10:18, Sean Anderson wrote: > > On 3/1/22 9:58 AM, Simon Glass wrote: > > Hi Sean, > > > > On Sun, 27 Feb 2022 at 12:38, Sean Anderson wrote: > >> > >> On 2/26/22 1:36 PM, Simon Glass wrote: > >>> Hi Sean, > >>> > >>> On Tue, 1 Feb 2022 at 21:24, Sean Anderson

Re: [PATCH 6/9] include: Carve out of compat.h

2022-03-16 Thread Simon Glass
On Wed, 16 Mar 2022 at 09:41, Pierre-Clément Tosi wrote: > > As Linux source code might include that header directly and as it is a > simple "leaf header" (probably won't include other headers) that is > unlikely to be relevant to U-Boot, replicate the upstream header > definitions in a dedicated

Re: [PATCH] boot: image: fixup zstd decompression buffer initialization typo

2022-03-16 Thread Simon Glass
Hi Jérôme, On Wed, 16 Mar 2022 at 12:16, Jérôme Carretero wrote: > Thanks for the fix! Please add a commit message. > Fixes: 458b30af66cd41ca8e6f8a52ea4c09cb50d3413d > Cc: Simon Glass > --- > boot/image.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH 4/9] linux/const.h: Upgrade & Merge vDSO and uAPI

2022-03-16 Thread Simon Glass
Hi Pierre-Clément, On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: > > Import the header from version 5.16 of the kernel: > > commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 > > Inline and . This is wrapped in > "#ifndef __UBOOT__/#include/#else/{inline}" to better document the >

Re: [PATCH 3/9] scripts: Makefile.lib: Pass __UBOOT__ to DTC's CPP

2022-03-16 Thread Simon Glass
Hi Pierre-Clément, On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: > > Some headers included (possibly indirectly) from .dts files might have > U-Boot specific content relying on the __UBOOT__ macro passed to CPP > when building C code. In that case, it would be sensible for DTC to see

Re: [PATCH 2/9] lib: crypt: Avoid redefining static_assert

2022-03-16 Thread Simon Glass
On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: > > Use the macro introduced by commit ef0f4e834c66 ("build_bug.h: add > wrapper for _Static_assert") by importing . > > Signed-off-by: Pierre-Clément Tosi > Cc: Simon Glass > Cc: Steffen Jaeckel > --- > lib/crypt/crypt-port.h | 3 +-- >

Re: [PATCH 5/9] include: Import & Update bitops.h

2022-03-16 Thread Simon Glass
On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: > > Import the header from version 5.16 of the kernel: > > commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 > > Inline the included and prevent U-Boot from including > as BITS_PER_LONG is defined in . > > Remove now-duplicate

Re: [PATCH 7/9] include: Upgrade

2022-03-16 Thread Simon Glass
Hi, On Wed, 16 Mar 2022 at 09:41, Pierre-Clément Tosi wrote: > > Upgrade the header to version 5.16 of the kernel: > > commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 > > Signed-off-by: Pierre-Clément Tosi > Cc: Simon Glass > Cc: Tom Rini > --- > include/linux/typecheck.h | 10 ++

Re: [PATCH] test/py: efi_capsule: Handle expected reset after capsule on disk

2022-03-16 Thread Simon Glass
Hi Masami, On Wed, 16 Mar 2022 at 00:09, Masami Hiramatsu wrote: > > Hi Simon, > > 2022年3月16日(水) 12:13 Simon Glass : > > > > Hi Masami, > > > > On Tue, 15 Mar 2022 at 02:36, Masami Hiramatsu > > wrote: > > > > > > Hi Simon, > > > > > > 2022年3月15日(火) 14:04 Simon Glass : > > > > > > > > Hi

Re: [PATCH v2] efi_loader: Use sysreset instead of reset command

2022-03-16 Thread Simon Glass
On Wed, 16 Mar 2022 at 06:35, Heinrich Schuchardt wrote: > > On 3/16/22 09:03, Masami Hiramatsu wrote: > > Use sysreset_walk_halt() directly from reset-after-capsule-on-disk > > feature to reboot (cold reset) machine instead of using reset command > > interface, since this is not a command. > >

Re: [PATCH v2 4/9] arm: imx: imx8mm: add enable_pwm_clk function

2022-03-16 Thread Michael Nazzareno Trimarchi
Hi Tommaaso On Wed, Mar 16, 2022 at 4:28 PM Tommaso Merciai wrote: > > Add function enable_pwm_clk into in clock_imx8mm.c. This > function first configure, then enable pwm clock from clock control > register. The following configuration is used: > > source(0) -> 24 MHz ref clock > div(0)->

[PATCH] boot: image: fixup zstd decompression buffer initialization typo

2022-03-16 Thread Jérôme Carretero
Fixes: 458b30af66cd41ca8e6f8a52ea4c09cb50d3413d Cc: Simon Glass --- boot/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/image.c b/boot/image.c index 07fa2d3160..121df0c838 100644 --- a/boot/image.c +++ b/boot/image.c @@ -500,7 +500,7 @@ int image_decomp(int

Re: [PATCH 1/2] sunxi: Fix old GMAC pinmux setup

2022-03-16 Thread Andre Przywara
On Wed, 16 Mar 2022 17:55:16 +0100 Jernej Škrabec wrote: > Dne sreda, 16. marec 2022 ob 01:54:42 CET je Andre Przywara napisal(a): > > Commit 5bc4cd05d7d4 ("sunxi: move non-essential code out of s_init()") > > moved the call to eth_init_board() from s_init() into board_init_f(). > > This means

Re: [PATCH 1/2] sunxi: Fix old GMAC pinmux setup

2022-03-16 Thread Jernej Škrabec
Dne sreda, 16. marec 2022 ob 01:54:42 CET je Andre Przywara napisal(a): > Commit 5bc4cd05d7d4 ("sunxi: move non-essential code out of s_init()") > moved the call to eth_init_board() from s_init() into board_init_f(). > This means it's now only called from the SPL, which makes sense for > most of

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

2022-03-16 Thread Michal Simek
Hi Tom, please pull these patches to your next branch. CI doesn't show any issue. https://source.denx.de/u-boot/custodians/u-boot-microblaze/-/pipelines/11311 There are couple of enhancements but also new pinctrl driver for supporting Xilinx SOM. Thanks, Michal The following changes since

Re: GPMI NAND Regression on i.MX6S

2022-03-16 Thread Tim Harvey
On Wed, Mar 16, 2022 at 7:09 AM Fabio Estevam wrote: > > Adding Han Xu's NXP email on Cc. > > On Mon, Mar 14, 2022 at 10:31 AM Frieder Schrempf > wrote: > > > > Hello everyone, > > > > sorry to dig out an old thread, but the below patch which was applied > > upstream as 616f03dabacb causes a

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Michael Walle
Am 2022-03-16 17:00, schrieb Angus Ainslie: Hi Heiko, On 2022-03-16 08:55, Heiko Thiery wrote: Hi Angus, [snip] > > But then something went wrong when probing uart3 ... the baudrate > > switched for the uart2 (console) and the serial output became broken. > > Later when the kernel starts the

Re: [PATCH 1/7] clk: Make rfree return void

2022-03-16 Thread Sean Anderson
On 3/1/22 9:58 AM, Simon Glass wrote: Hi Sean, On Sun, 27 Feb 2022 at 12:38, Sean Anderson wrote: On 2/26/22 1:36 PM, Simon Glass wrote: Hi Sean, On Tue, 1 Feb 2022 at 21:24, Sean Anderson wrote: On 2/1/22 10:59 PM, Simon Glass wrote: Hi Sean, On Tue, 1 Feb 2022 at 07:49, Sean

Re: [PATCH v2 5/5] clk: scmi: register scmi clocks with CCF

2022-03-16 Thread Sean Anderson
On 3/7/22 5:17 AM, Etienne Carriere wrote: Hello Sean, Thanks for the feedback. Sorry I missed your post end Feb. On Fri, 25 Feb 2022 at 07:33, Sean Anderson wrote: Hi Etienne, On 2/21/22 3:22 AM, Etienne Carriere wrote: Implements SCMI APIs to retrieve the number exposed SCMI clocks

Re: [PATCH v2] efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned

2022-03-16 Thread Heinrich Schuchardt
On 3/16/22 16:13, Ilias Apalodimas wrote: Starting UEFI Spec 2.8 we must fill in the variable attributes when GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL. This code was written with 2.7 in mind so let's move the code around a bit and fill in the attributes

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Angus Ainslie
Hi Heiko, On 2022-03-16 08:55, Heiko Thiery wrote: Hi Angus, [snip] > > But then something went wrong when probing uart3 ... the baudrate > > switched for the uart2 (console) and the serial output became broken. > > Later when the kernel starts the output becomes correct again. So the > >

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Heiko Thiery
Hi Angus, [snip] > > > But then something went wrong when probing uart3 ... the baudrate > > > switched for the uart2 (console) and the serial output became broken. > > > Later when the kernel starts the output becomes correct again. So the > > > kernel seems to configure it correctly. > > > > >

[PATCH 5/9] include: Import & Update bitops.h

2022-03-16 Thread Pierre-Clément Tosi
Import the header from version 5.16 of the kernel: commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 Inline the included and prevent U-Boot from including as BITS_PER_LONG is defined in . Remove now-duplicate definitions from . Note: This brings extra compile-time checks through

[PATCH 2/9] lib: crypt: Avoid redefining static_assert

2022-03-16 Thread Pierre-Clément Tosi
Use the macro introduced by commit ef0f4e834c66 ("build_bug.h: add wrapper for _Static_assert") by importing . Signed-off-by: Pierre-Clément Tosi Cc: Simon Glass Cc: Steffen Jaeckel --- lib/crypt/crypt-port.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v2 9/9] configs: imx8mm_evk: add pwm backlight support

2022-03-16 Thread Tommaso Merciai
Enable support for backlight/pwm-imx driver Signed-off-by: Tommaso Merciai --- configs/imx8mm_evk_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig index 01395fc7eb..cfba6cc673 100644 --- a/configs/imx8mm_evk_defconfig

[PATCH v2 7/9] imx8mm_evk: spl: enable pwm clock

2022-03-16 Thread Tommaso Merciai
Enable pwm1 clock into spl Signed-off-by: Tommaso Merciai --- Changes since v1: - Fix enable_pwm_clk call board/freescale/imx8mm_evk/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index 4ef7f6f180..cf173b885f

[PATCH v2 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Tommaso Merciai
Add pwm1/backlight support nodes for imx8mm_evk board Signed-off-by: Tommaso Merciai --- arch/arm/dts/imx8mm-evk.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/imx8mm-evk.dtsi b/arch/arm/dts/imx8mm-evk.dtsi index 60179e006d..e7a2bd8a64 100644 ---

[PATCH v2 6/9] configs: imx8mm_evk: add CONFIG_IMX6_PWM_PER_CLK config

2022-03-16 Thread Tommaso Merciai
In order to support pwm-imx-util CONFIG_IMX6_PWM_PER_CLK is needed. At the moment driver don't support clock framework Signed-off-by: Tommaso Merciai --- include/configs/imx8mm_evk.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/imx8mm_evk.h

[PATCH v2 5/9] imx8m: clock: add enable_pwm_clk function

2022-03-16 Thread Tommaso Merciai
Add enable_pwm_clk function in clock.h Signed-off-by: Tommaso Merciai --- Changes since v1: - Fix enable_pwm_clk function implementation. Now is generic for all pwm clks arch/arm/include/asm/arch-imx8m/clock.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 4/9] arm: imx: imx8mm: add enable_pwm_clk function

2022-03-16 Thread Tommaso Merciai
Add function enable_pwm_clk into in clock_imx8mm.c. This function first configure, then enable pwm clock from clock control register. The following configuration is used: source(0) -> 24 MHz ref clock div(0)-> no division for this clock References: - iMX8MMRM.pdf p 303 Signed-off-by:

[PATCH v2 3/9] arch: mach-imx: imx8m: add pwm_regs struct in imx-regs

2022-03-16 Thread Tommaso Merciai
Add pwm_regs struct for i.MX8MM SOC Signed-off-by: Tommaso Merciai --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h index 13538ba5f6..9217f93a50

[PATCH v2 2/9] arch: mach-imx: imx8m: add pwm ctrl registers fields defines

2022-03-16 Thread Tommaso Merciai
Add pwm control registers fields defines into imx-regs.h: - prescaler - dozeen - waiten - dbgen - clksrc_ipg_high - clksrc_ipg, en field References: - iMX8MMRM.pdf p 3884 Signed-off-by: Tommaso Merciai --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 8 1 file changed, 8

[PATCH v2 1/9] arch: mach-imx: imx8m: add pwm1/pwm2 base address

2022-03-16 Thread Tommaso Merciai
Add pwm1/pwm2 base address defines into imx-regs file References: - IMX8MMRM.pdf p 3882 Signed-off-by: Tommaso Merciai --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h

[PATCH v2 0/9] imx8mm: add pwm-imx backlight support

2022-03-16 Thread Tommaso Merciai
Hi, This series add support for pwm/backlight on i.MX8MM evk: 1. Add pwm1/pwm2 base address registers defines 2. Add defines for pwm control register field 3. Add struct pwm_regs 4. Add enable_pwm_clk function, configure and enable pwm clock control register 5. Add enable_pwm_clk function in

Re: [PATCH] arm64: zynqmp: Add pinctrl emmc description to SM-K26

2022-03-16 Thread Michal Simek
po 14. 3. 2022 v 15:26 odesílatel Michal Simek napsal: > > Production SOM has emmc on it and make sense to describe pin description to > be able use EMMC if it is not configured via psu_init. > (Still some regs are not handled but this is one step in that direction) > > Signed-off-by: Michal

[PATCH v2] efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned

2022-03-16 Thread Ilias Apalodimas
Starting UEFI Spec 2.8 we must fill in the variable attributes when GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL. This code was written with 2.7 in mind so let's move the code around a bit and fill in the attributes EFI_BUFFER_TOO_SMALL is returned Signed-off-by: Ilias

Re: [PATCH v1 0/5] Move board specific files to board directory

2022-03-16 Thread Tom Rini
On Tue, Mar 15, 2022 at 01:23:42PM -0700, Troy Kisky wrote: > On 3/15/2022 1:01 PM, Tom Rini wrote: > > On Tue, Mar 15, 2022 at 12:08:02PM -0700, Troy Kisky wrote: > >> On 2/8/2022 6:30 AM, Tom Rini wrote: > >>> On Fri, Jan 07, 2022 at 10:33:34AM -0800, Troy Kisky wrote: > On 1/7/2022 7:12

Re: [PATCH v2 02/13] Makefile: Allow LTO to be disabled for a build

2022-03-16 Thread Tom Rini
On Wed, Mar 16, 2022 at 10:15:17AM +1300, Simon Glass wrote: > Hi Tom, > > On Mon, 14 Mar 2022 at 16:42, Tom Rini wrote: > > > > On Mon, Mar 14, 2022 at 03:43:05PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 14 Mar 2022 at 14:23, Tom Rini wrote: > > > > > > > > On Mon, Mar 14,

Re: [GIT PULL] Please pull u-boot-mmc master

2022-03-16 Thread Tom Rini
On Wed, Mar 16, 2022 at 07:30:11PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Please pull u-boot-mmc master into u-boot master branch. > If there is any problem, let me know, plz. > Sorry for late. > > Best Regards, > Jaehoon Chung > > CI:

Re: Please pull u-boot-marvell/master

2022-03-16 Thread Tom Rini
On Wed, Mar 16, 2022 at 10:52:41AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull this MVEBU turris_mox fixes: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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

2022-03-16 Thread Tom Rini
On Wed, Mar 16, 2022 at 10:56:40AM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit c149bf41404e34014e37de32fac332892b11bd4a: > > Prepare v2022.04-rc4 (2022-03-14 16:39:08 -0400) > > are available in the Git repository at: > >

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

2022-03-16 Thread Tom Rini
On Tue, Mar 15, 2022 at 09:43:26PM +0100, Marek Vasut wrote: > Config tweaks to enable the right I2C driver > > The following changes since commit c96137000e4cf486dcb164fd67a1a0b5b2fb99c6: > > Merge tag 'efi-2022-04-rc3-2' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2022-03-13

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Heiko Thiery
Am Mi., 16. März 2022 um 15:15 Uhr schrieb Angus Ainslie : > > On 2022-03-16 07:02, Heiko Thiery wrote: > > Hi Angus, > > > > [snip] > > > >> > > >> > Meanwhile I figured out what the problem is with the 'No serial driver > >> > found'. In the used dtb there are 'assigned-clocks' and > >> >

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Angus Ainslie
On 2022-03-16 07:02, Heiko Thiery wrote: Hi Angus, [snip] > > Meanwhile I figured out what the problem is with the 'No serial driver > found'. In the used dtb there are 'assigned-clocks' and > 'assigned-clock-parents' set in the uart nodes. When removing this the > serial will work. I have to

Re: GPMI NAND Regression on i.MX6S

2022-03-16 Thread Fabio Estevam
Adding Han Xu's NXP email on Cc. On Mon, Mar 14, 2022 at 10:31 AM Frieder Schrempf wrote: > > Hello everyone, > > sorry to dig out an old thread, but the below patch which was applied > upstream as 616f03dabacb causes a regression for me when trying to > attach an UBI volume with U-Boot 2022.01

Re: [PATCH] efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned

2022-03-16 Thread Ilias Apalodimas
On Wed, Mar 16, 2022 at 02:40:20PM +0100, Heinrich Schuchardt wrote: > On 3/16/22 13:55, Ilias Apalodimas wrote: > > Starting UEFI Spec 2.8 we must fill in the variable attributes when > > GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL. > > > > This code was written with

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Heiko Thiery
Hi Angus, [snip] > > > > Meanwhile I figured out what the problem is with the 'No serial driver > > found'. In the used dtb there are 'assigned-clocks' and > > 'assigned-clock-parents' set in the uart nodes. When removing this the > > serial will work. I have to admit that I do not know why this

Re: [PATCH] efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned

2022-03-16 Thread Heinrich Schuchardt
On 3/16/22 13:55, Ilias Apalodimas wrote: Starting UEFI Spec 2.8 we must fill in the variable attributes when GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL. This code was written with 2.7 in mind so let's move the code around a bit and fill in the attributes

booting of renesas rcar v3u

2022-03-16 Thread Tuschik Thilo
Good morning, I am doing my master thesis /w the rcar v3u of renesas and I am facing the issue that the booting of the linux does stop at one point. It seems to be a problem with *Starting Rebuild Dynamic Linker Cache...* and *Starting Network Time Synchronization...*. It gives me the output,

RE: Submitting patches for QorIQ components

2022-03-16 Thread Leo Li
> -Original Message- > From: Sean Anderson > Sent: Friday, March 4, 2022 1:36 PM > Cc: U-Boot Mailing List ; linux-arm-kernel ker...@lists.infradead.org>; meta-freesc...@lists.yoctoproject.org; Shawn > Guo ; Leo Li ; Ting Liu > ; Jun Zhu ; Ahmed Mansour > ; Zhenhua Luo ; > Priyanka

[PATCH] efi_loader: Set variable attributes when EFI_BUFFER_TOO_SMALL is returned

2022-03-16 Thread Ilias Apalodimas
Starting UEFI Spec 2.8 we must fill in the variable attributes when GetVariable() returns EFI_BUFFER_TOO_SMALL and Attributes is non-NULL. This code was written with 2.7 in mind so let's move the code around a bit and fill in the attributes EFI_BUFFER_TOO_SMALL is returned Signed-off-by: Ilias

Re: Problem to build u-boot

2022-03-16 Thread Fabio Estevam
On Wed, Mar 16, 2022 at 3:21 AM Sarmad Ahmad wrote: > > I used the version 2021 now I used the 2022.01 unfortunately still the same > error > followed the instructions on > https://u-boot.readthedocs.io/en/stable/build/source.html > > 1. > git clone https://github.com/u-boot/u-boot > > 2. > cd

Re: u-boot v2022.01 and Arria-10 socdk not booting

2022-03-16 Thread Fabio Estevam
Adding the arria10-socdk board maintainers on Cc On Wed, Mar 16, 2022 at 9:25 AM Marcel Gielen [Celestia-STS] wrote: > > I am working on an Enclustra mercury board and had some issues with booting, > which stopped after (successful) FPGA configuration. (Console: FPGA: Enter > user mode is the

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Angus Ainslie
On 2022-03-16 05:26, Heiko Thiery wrote: Hi, Am Mi., 16. März 2022 um 08:14 Uhr schrieb Heiko Thiery : Hi Angus, Am Di., 15. März 2022 um 16:46 Uhr schrieb Angus Ainslie : > > Hi Heiko, > > On 2022-03-15 08:35, Heiko Thiery wrote: > > Hi Angus and all, > > > > > Am Di., 15. März 2022 um

Re: [PATCH v2] efi_loader: Use sysreset instead of reset command

2022-03-16 Thread Heinrich Schuchardt
On 3/16/22 09:03, Masami Hiramatsu wrote: Use sysreset_walk_halt() directly from reset-after-capsule-on-disk feature to reboot (cold reset) machine instead of using reset command interface, since this is not a command. Note that this will make CONFIG_EFI_CAPSULE_ON_DISK depending on the

Re: [PATCH v4 2/4] clk: imx8mq: Add a clock driver for the imx8mq

2022-03-16 Thread Heiko Thiery
Hi, Am Mi., 16. März 2022 um 08:14 Uhr schrieb Heiko Thiery : > > Hi Angus, > > Am Di., 15. März 2022 um 16:46 Uhr schrieb Angus Ainslie > : > > > > Hi Heiko, > > > > On 2022-03-15 08:35, Heiko Thiery wrote: > > > > Hi Angus and all, > > > > > > > > > > Am Di., 15. März 2022 um 14:09 Uhr schrieb

u-boot v2022.01 and Arria-10 socdk not booting

2022-03-16 Thread Marcel Gielen [Celestia-STS]
I am working on an Enclustra mercury board and had some issues with booting, which stopped after (successful) FPGA configuration. (Console: FPGA: Enter user mode is the last line printed) Since we also have an Arria10 socdk available, I decided to try that one. For the sockdk I have a

Re: [PATCH] CI, Docker: Update to latest focal tag

2022-03-16 Thread Tom Rini
On Tue, Mar 15, 2022 at 04:18:27PM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 5/5] test/py: Add tests for the erofs

2022-03-16 Thread Tom Rini
On Sat, Feb 26, 2022 at 03:05:51PM +0800, Huang Jianan wrote: > Add Python scripts to test 'ls' and 'load' commands, as well as > test related filesystem functions. > > Signed-off-by: Huang Jianan Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 4/5] fs/erofs: add filesystem commands

2022-03-16 Thread Tom Rini
On Sat, Feb 26, 2022 at 03:05:50PM +0800, Huang Jianan wrote: > Add 'ls' and 'load' commands. > > Signed-off-by: Huang Jianan Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 3/5] fs/erofs: add lz4 decompression support

2022-03-16 Thread Tom Rini
On Sat, Feb 26, 2022 at 03:05:49PM +0800, Huang Jianan wrote: > Support EROFS lz4 compressed files. > > Signed-off-by: Huang Jianan Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 2/5] lib/lz4: update LZ4 decompressor module

2022-03-16 Thread Tom Rini
On Sat, Feb 26, 2022 at 03:05:48PM +0800, Huang Jianan wrote: > Update the LZ4 compression module based on LZ4 v1.8.3 in order to > use the newest LZ4_decompress_safe_partial() which can now decode > exactly the nb of bytes requested. > > Signed-off-by: Huang Jianan Applied to u-boot/next,

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Tommaso Merciai
On Wed, Mar 16, 2022 at 12:54:06PM +0100, Michael Walle wrote: > Am 2022-03-16 12:51, schrieb Tommaso Merciai: > > On Wed, Mar 16, 2022 at 12:45:22PM +0100, Michael Walle wrote: > > > Am 2022-03-16 12:42, schrieb Tommaso Merciai: > > > > On Wed, Mar 16, 2022 at 11:30:19AM +0100, Michael Walle

Re: [PATCH v4 1/5] fs/erofs: add erofs filesystem support

2022-03-16 Thread Tom Rini
On Sat, Feb 26, 2022 at 03:05:47PM +0800, Huang Jianan wrote: > This patch mainly deals with uncompressed files. > > Signed-off-by: Huang Jianan Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] doc: uefi: Fix reference to CONFIG_EFI_SECURE_BOOT

2022-03-16 Thread Heinrich Schuchardt
On 3/16/22 12:12, Jan Kiszka wrote: From: Jan Kiszka There is no CONFIG_UEFI_SECURE_BOOT, and there was never any. Signed-off-by: Jan Kiszka Reviewed-by: Heinrich Schuchardt --- Was briefly nervous finding only the documentation but no implementation yet. ;)

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Michael Walle
Am 2022-03-16 12:51, schrieb Tommaso Merciai: On Wed, Mar 16, 2022 at 12:45:22PM +0100, Michael Walle wrote: Am 2022-03-16 12:42, schrieb Tommaso Merciai: > On Wed, Mar 16, 2022 at 11:30:19AM +0100, Michael Walle wrote: > > > Add pwm1/backlight support nodes for imx8mm_evk board > > > > > >

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Tommaso Merciai
On Wed, Mar 16, 2022 at 12:45:22PM +0100, Michael Walle wrote: > Am 2022-03-16 12:42, schrieb Tommaso Merciai: > > On Wed, Mar 16, 2022 at 11:30:19AM +0100, Michael Walle wrote: > > > > Add pwm1/backlight support nodes for imx8mm_evk board > > > > > > > > Signed-off-by: Tommaso Merciai > > > >

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Michael Walle
Am 2022-03-16 12:42, schrieb Tommaso Merciai: On Wed, Mar 16, 2022 at 11:30:19AM +0100, Michael Walle wrote: > Add pwm1/backlight support nodes for imx8mm_evk board > > Signed-off-by: Tommaso Merciai > --- > arch/arm/dts/imx8mm-evk.dtsi | 21 + > 1 file changed, 21

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Tommaso Merciai
On Wed, Mar 16, 2022 at 11:30:19AM +0100, Michael Walle wrote: > > Add pwm1/backlight support nodes for imx8mm_evk board > > > > Signed-off-by: Tommaso Merciai > > --- > > arch/arm/dts/imx8mm-evk.dtsi | 21 + > > 1 file changed, 21 insertions(+) > > > > diff --git

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Tommaso Merciai
On Wed, Mar 16, 2022 at 11:30:19AM +0100, Michael Walle wrote: > > Add pwm1/backlight support nodes for imx8mm_evk board > > > > Signed-off-by: Tommaso Merciai > > --- > > arch/arm/dts/imx8mm-evk.dtsi | 21 + > > 1 file changed, 21 insertions(+) > > > > diff --git

[PATCH] doc: uefi: Fix reference to CONFIG_EFI_SECURE_BOOT

2022-03-16 Thread Jan Kiszka
From: Jan Kiszka There is no CONFIG_UEFI_SECURE_BOOT, and there was never any. Signed-off-by: Jan Kiszka --- Was briefly nervous finding only the documentation but no implementation yet. ;) doc/develop/uefi/uefi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4] wdt: nuvoton: Add support for Nuvoton

2022-03-16 Thread Andre Przywara
On Tue, 15 Mar 2022 10:14:16 +0800 Jim Liu wrote: > Add watchdog controller driver for NPCM7xx/npcm8xx > > Signed-off-by: Jim Liu > Reviewed-by: Stefan Roese > > Changes for v4: >- add a bit of detail about the device in Kconfig >- lower-case hex change >- remove the reset

Re: [PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Michael Walle
> Add pwm1/backlight support nodes for imx8mm_evk board > > Signed-off-by: Tommaso Merciai > --- > arch/arm/dts/imx8mm-evk.dtsi | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm/dts/imx8mm-evk.dtsi b/arch/arm/dts/imx8mm-evk.dtsi > index

[GIT PULL] Please pull u-boot-mmc master

2022-03-16 Thread Jaehoon Chung
Dear Tom, Please pull u-boot-mmc master into u-boot master branch. If there is any problem, let me know, plz. Sorry for late. Best Regards, Jaehoon Chung CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/11304 The following changes since commit

Re: [PATCH v5 0/3] rockchip: sdhci: Add HS400 Enhanced Strobe support

2022-03-16 Thread Jaehoon Chung
Hi, On 3/16/22 02:46, Alper Nebi Yasak wrote: > This series implements support for the HS400 Enhanced Strobe mode on the > Rockchip SDHCI driver, for both RK3399 and RK3568. To test, I'm building > for chromebook_kevin with the following configs enabled: > > +CONFIG_MMC_SPEED_MODE_SET=y >

Re: [PATCH 2/2] pmic: pca9450: Add regulator driver

2022-03-16 Thread Marek Vasut
On 3/16/22 08:40, Jaehoon Chung wrote: Hi Marek, Hi, On 3/11/22 05:28, Marek Vasut wrote: Add PCA9450 regulator driver. This is complementary driver for the BUCKn and LDOn regulators provided by the PCA9450 PMIC driver. Currently the driver permits reading the settngs and configuring the

Re: [PATCH] mtd: spi-nor-ids: Add Winbond W25Q128JW ID

2022-03-16 Thread Marek Vasut
On 3/16/22 04:55, tudor.amba...@microchip.com wrote: Hi, [...]   drivers/mtd/spi/spi-nor-ids.c | 5 +   1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index b551ebd75ef..e2d09fc747d 100644 --- a/drivers/mtd/spi/spi-nor-ids.c

Re: [PATCH u-boot-marvell] arm: mvebu: dts: turris_mox: fix non-working network / MDIO

2022-03-16 Thread Pali Rohár
On Tuesday 15 March 2022 16:37:27 Marek Behún wrote: > From: Marek Behún > > Commit 0934dddc6436 ("arm: a37xx: Update DTS files to version from > upstream Linux kernel") ported Linux's device-tree files for Armada 3720 > SOCs. This broke network on Turris MOX, because the SOC's MDIO bus in >

Please pull u-boot-marvell/master

2022-03-16 Thread Stefan Roese
Hi Tom, please pull this MVEBU turris_mox fixes: - mvebu: dts: turris_mox: fix non-working network / MDIO (Marek) Here the Azure build, without any issues:

Re: [PATCH u-boot-marvell] arm: mvebu: dts: turris_mox: fix non-working network / MDIO

2022-03-16 Thread Stefan Roese
On 3/15/22 16:37, Marek Behún wrote: From: Marek Behún Commit 0934dddc6436 ("arm: a37xx: Update DTS files to version from upstream Linux kernel") ported Linux's device-tree files for Armada 3720 SOCs. This broke network on Turris MOX, because the SOC's MDIO bus in U-Boot currently isn't probed

Re: [PATCH v2] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-16 Thread Fabio Estevam
Hi Simon, On 16/03/2022 00:03, Simon Glass wrote: This is an attempt to cover the common cases found when enabling driver model for serial on a new board. Signed-off-by: Simon Glass Reviewed-by: Fabio Estevam

Re: [PATCH 4/9] arm: imx: imx8mm: add enable_pwm_clk function

2022-03-16 Thread Tommaso Merciai
On Wed, Mar 16, 2022 at 10:05:47AM +0100, Michael Nazzareno Trimarchi wrote: > Hi > > On Wed, Mar 16, 2022 at 10:02 AM Tommaso Merciai > wrote: > > > > Add function to enable_pwm_clck function into clock_imx8mm.c. This > > function first configure, then enable pwm1 clock from clock control > >

Re: [PATCH 4/9] arm: imx: imx8mm: add enable_pwm_clk function

2022-03-16 Thread Michael Nazzareno Trimarchi
Hi On Wed, Mar 16, 2022 at 10:02 AM Tommaso Merciai wrote: > > Add function to enable_pwm_clck function into clock_imx8mm.c. This > function first configure, then enable pwm1 clock from clock control > register. The following configuration is used: > > source(0) -> 24 MHz ref clock > div(0)

[PATCH 7/9] imx8mm_evk: spl: enable pwm clock

2022-03-16 Thread Tommaso Merciai
Enable pwm clock into spl Signed-off-by: Tommaso Merciai --- board/freescale/imx8mm_evk/spl.c | 4 1 file changed, 4 insertions(+) diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index 4ef7f6f180..5aabdba0b0 100644 --- a/board/freescale/imx8mm_evk/spl.c

[PATCH 8/9] arm: dts: imx8mm_evk: add pwm1/backlight support

2022-03-16 Thread Tommaso Merciai
Add pwm1/backlight support nodes for imx8mm_evk board Signed-off-by: Tommaso Merciai --- arch/arm/dts/imx8mm-evk.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/imx8mm-evk.dtsi b/arch/arm/dts/imx8mm-evk.dtsi index 60179e006d..e7a2bd8a64 100644 ---

[PATCH 9/9] configs: imx8mm_evk: add pwm backlight support

2022-03-16 Thread Tommaso Merciai
Enable support for backlight/pwm-imx driver Signed-off-by: Tommaso Merciai --- configs/imx8mm_evk_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig index 01395fc7eb..cfba6cc673 100644 --- a/configs/imx8mm_evk_defconfig

[PATCH 6/9] configs: imx8mm_evk: add CONFIG_IMX6_PWM_PER_CLK config

2022-03-16 Thread Tommaso Merciai
In order to support pwm-imx-util CONFIG_IMX6_PWM_PER_CLK is needed. At the moment driver don't support clock framework Signed-off-by: Tommaso Merciai --- include/configs/imx8mm_evk.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/imx8mm_evk.h

  1   2   >