RE: [PATCH v1] LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms

2023-06-25 Thread Gaurav Jain
Please remove the jira id. Regards Gaurav Jain > -Original Message- > From: Kshitiz Varshney > Sent: Thursday, June 22, 2023 2:55 PM > To: u-boot@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; > Peng Fan ; Pankaj Gupta ; Varun > Sethi ; Gaurav Jain ; Rahul Kumar > Yadav ; Vabhav Sha

Re: U-Boot OMAP GPMC ECC change

2023-06-25 Thread Michael Nazzareno Trimarchi
Hi all Il sab 20 mag 2023, 19:28 Colin Foster ha scritto: > On Fri, May 19, 2023 at 03:41:34PM +0300, Roger Quadros wrote: > > Hi Colin, > > > > On 19/05/2023 02:19, Colin Foster wrote: > > > Hi Roger, > > > > > >> Can you please share your spl/u-boot.cfg? > > > > > > Attached > > > > Couple of

Re: [EXTERNAL] Re: [PATCH] arch: arm: dts: k3-am625-sk: Update timings node name for panel-lvds

2023-06-25 Thread Nikhil M Jain
Hi Tom, On 23/06/23 22:26, Tom Rini wrote: On Fri, Jun 23, 2023 at 06:11:52PM +0530, Nikhil M Jain wrote: Update the name of timing parameter node to panel-timing from panel-timngs. Signed-off-by: Nikhil M Jain --- arch/arm/dts/k3-am625-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH] clk: sifive: only build sifive-prci.o for CONFIG_CLK_SIFIVE_PRCI

2023-06-25 Thread Leo Liang
On Tue, May 09, 2023 at 02:50:05PM +0100, Ben Dooks wrote: > If we're building non FU540/FU740 SoC drivers, then the sifive-prci.o > is not needed. Only build this when CONFIG_CLK_SIFIVE_PRCI is selected. > > Signed-off-by: Ben Dooks > --- > drivers/clk/sifive/Makefile | 4 +--- > 1 file changed

Re: [PATCH v2 1/3] riscv: timer: Update the sifive clint timer driver to support aclint

2023-06-25 Thread Rick Chen
> From: Bin Meng > Sent: Wednesday, June 21, 2023 11:12 PM > To: u-boot@lists.denx.de > Cc: Anup Patel ; Atish Patra ; > Bin Meng ; Palmer Dabbelt ; Paul > Walmsley ; Rick Jian-Zhi Chen(陳建志) > > Subject: [PATCH v2 1/3] riscv: timer: Update the sifive clint timer driver to > support aclint > >

Re: [PATCH] ARM: imx: romapi: Fix signed integer bitwise ops misuse

2023-06-25 Thread Peng Fan
On 6/25/2023 6:34 PM, Marek Vasut wrote: Bitwise operations on signed integers are not defined, replace then with per-call checks. You mean C99 standard? Thanks, Peng. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Fabio Estevam Cc: Heiko Schocher Cc: Heinrich Schuchar

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-25 Thread Tom Rini
On Sun, Jun 25, 2023 at 05:15:34PM +0200, Pali Rohár wrote: > On Sunday 25 June 2023 10:52:13 Tom Rini wrote: > > On Sun, Jun 25, 2023 at 09:50:39AM +0200, Pali Rohár wrote: > > > On Saturday 24 June 2023 12:58:07 Tom Rini wrote: > > > > On Sat, Jun 24, 2023 at 10:50:41AM +0200, Pali Rohár wrote: >

Re: [PATCH v2 0/7] Enable DM_SERIAL for the LS104xA RDB/FRWY boards

2023-06-25 Thread Peng Fan
On 6/16/2023 9:18 PM, Camelia Groza wrote: This series enables DM_SERIAL for ls1043ardb, ls1046ardb and ls1046afrwy. First, the device tree serial nodes are synced with their counterpart descriptions in Linux v6.3. Secondly, the serial nodes are tagged with 'bootph-all' to guarantee the driv

Re: [PATCH] mmc:Remove the legacy mode clock setting operation

2023-06-25 Thread Peng Fan
On 6/21/2023 11:11 AM, xf_...@163.com wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button From: xiefei Due to the need to read the register value before switching to

Re: [PATCH v1] LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms

2023-06-25 Thread Peng Fan
On 6/22/2023 5:24 PM, Kshitiz Varshney wrote: pimg64 image pointer is dependent on ESBC_ADDR_64BIT config, which is getting disabled, due to dependency on ESBC_HDR_LS. ESBC_HDR_LS is required for LS-CH3 platforms. So, removing the dependency on ESBC_HDR_LS. Signed-off-by: Kshitiz Varshney A

Re: [PATCH] arm: dts: imx8m: add OPTEE_LOAD_ADDRESS config and tee.bin

2023-06-25 Thread Peng Fan
On 6/23/2023 1:30 AM, Tim Harvey wrote: Add a Kconfig for OPTEE_LOAD_ADDRESS which adds tee.bin to the imx8m{m,n,p} FIT image. Prior to using binman for image creation the presense of tee.bin in the directory would cause mkimage_fit_atf.sh to add the tee.bin node to the FIT image. Once boards

Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

2023-06-25 Thread Tom Rini
On Sun, Jun 25, 2023 at 05:27:49PM +0200, Pali Rohár wrote: > On Saturday 24 June 2023 12:57:46 Tom Rini wrote: > > On Sat, Jun 24, 2023 at 11:19:51AM +0200, Pali Rohár wrote: > > > On Monday 12 June 2023 14:07:24 Tom Rini wrote: > > > > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote: >

Re: [PATCH] arm: dts: imx8m: move CAAM nodes into common u-boot.dtsi

2023-06-25 Thread Peng Fan
On 6/23/2023 2:52 AM, Tim Harvey wrote: Move the crypto and sec_jr* nodes from board-specific u-boot.dtsi files into the common files. Additionally protect the nodes with ifdef FSL_CAAM as they don't serve any purpose if that is not enabled. Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH] board: gateworks: venice: switch to 2-bank dram config

2023-06-25 Thread Peng Fan
On 6/24/2023 12:44 AM, Tim Harvey wrote: Switch to a 2-bank dram config to properly support 4GiB. Signed-off-by: Tim Harvey Reviewed-by: Peng Fan

Re: [PATCH] configs: imx8m: Prepare imx8m-venice boards for HAB support

2023-06-25 Thread Peng Fan
On 6/24/2023 12:44 AM, Tim Harvey wrote: In order to enable HAB, FSL_CAAM, ARCH_MISC_INIT and SPL_CRYPTO should be enabled in Kconfig like other i.MX8M boards. This also needs to occur in the SPL so enable CONFIG_SPL_BOARD_INIT and add a void spl_board_init function which calls arch_misc_init

Re: imx8m optee load address?

2023-06-25 Thread Peng Fan
On 6/21/2023 7:04 AM, Tim Harvey wrote: Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button On Mon, Jun 19, 2023 at 1:40 PM Tim Harvey wrote: On Fri, Jun 16, 2023 at 4:52 

[PATCH 1/1] README: remove Minicom comment

2023-06-25 Thread Heinrich Schuchardt
The main README file is the wrong place to document how different terminal emulations can be used to access the U-Boot serial console. C-Kermit which requires a configuration file or several commands to access the U-Boot console may not be the preferred choice for newcomers. The provided wiki link

[PATCH 1/1] cmd: loads man-page

2023-06-25 Thread Heinrich Schuchardt
Provide a man-page for the loads command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/loads.rst | 96 + doc/usage/index.rst | 1 + 2 files changed, 97 insertions(+) create mode 100644 doc/usage/cmd/loads.rst diff --git a/doc/usage/cmd/loads

[PATCH 1/1] doc: fix typo loady in loadb man-page

2023-06-25 Thread Heinrich Schuchardt
%s/loady/loadb/ Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/loadb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/loadb.rst b/doc/usage/cmd/loadb.rst index b37d1d7b59..0464b1f41c 100644 --- a/doc/usage/cmd/loadb.rst +++ b/doc/usage/cmd/loadb.rst @@

[PATCH 5/5] MAINTAINERS: add myself as mcf_wdt.c maintainer

2023-06-25 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 228d8af433..59d011ffcf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -865,6 +865,7 @@ S: Maintained T: git https://source.denx.de/u-boot/custodians/u-boot-col

[PATCH 4/5] configs: m68k: add watchdog driver

2023-06-25 Thread Angelo Dureghello
Add config options for mcf_wdt driver. Signed-off-by: Angelo Dureghello --- configs/M5208EVBE_defconfig | 2 ++ configs/astro_mcf5373l_defconfig | 4 ++-- configs/eb_cpu5282_defconfig | 1 + configs/eb_cpu5282_internal_defconfig | 1 + 4 files changed, 6 insertions(+), 2

[PATCH 3/5] m68k: dts: add watchdog node

2023-06-25 Thread Angelo Dureghello
Add watchdog node for the implemented mcf_wdt driver. Signed-off-by: Angelo Dureghello --- arch/m68k/dts/M5208EVBE.dts | 5 + arch/m68k/dts/mcf5208.dtsi | 7 +++ arch/m68k/dts/mcf523x.dtsi | 7 +++ arch/m68k/dts/mcf5271.dtsi | 7 +++ arch/m68k/dts/mcf5275.dtsi | 7 +++ ar

[PATCH 2/5] m68k: move watchdog functions in mcf_wdt driver

2023-06-25 Thread Angelo Dureghello
Move watchdog functions inside a separate watchdog driver. Signed-off-by: Angelo Dureghello --- arch/m68k/cpu/mcf523x/cpu.c | 42 - arch/m68k/cpu/mcf52x2/cpu.c | 47 + arch/m68k/cpu/mcf532x/cpu.c | 44 ---

[PATCH 1/5] drivers: watchdog: add mcf watchdog support

2023-06-25 Thread Angelo Dureghello
This watchdog driver applies to the following mcf families: - mcf52x2 (5271 5275 5282) - mcf532x (5329 5373) - mcf523x (5235) Cpu's not listed for each family does not have WDT module. Note, after some attempts testing by qemu on 5208 i finally abandoned, watchdog seems not implemented properly.

[PATCH 0/5] m68k: add ColdFire watchdog driver

2023-06-25 Thread Angelo Dureghello
This patch allows to reach 0 warning for the m68k family. Watchdog driver was the last one producing the "conversion to DM" warning, Angelo Dureghello (5): drivers: watchdog: add mcf watchdog support m68k: move watchdog functions in mcf_wdt driver m68k: dts: add watchdog node configs: m68k

Re: [PATCH] menu: Re-enable the ANSI codes

2023-06-25 Thread Heinrich Schuchardt
Am 25. Juni 2023 17:26:34 MESZ schrieb "Pali Rohár" : >On Saturday 24 June 2023 13:05:11 Tom Rini wrote: >> On Sat, Jun 24, 2023 at 11:01:13AM +0200, Pali Rohár wrote: >> > On Saturday 17 June 2023 22:28:24 Heinrich Schuchardt wrote: >> > > On 6/17/23 12:48, Simon Glass wrote: >> > > > Hi Pali,

Re: [PATCH v2 4/4] net: add NFSv1 support

2023-06-25 Thread Tom Rini
On Sun, Jun 25, 2023 at 05:23:34PM +0200, Pali Rohár wrote: > On Saturday 24 June 2023 12:57:58 Tom Rini wrote: > > On Sat, Jun 24, 2023 at 11:08:59AM +0200, Pali Rohár wrote: > > > On Tuesday 13 June 2023 09:55:26 Peter Robinson wrote: > > > > > I can help with reviews in this area. In this case,

Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

2023-06-25 Thread Pali Rohár
On Saturday 24 June 2023 12:57:46 Tom Rini wrote: > On Sat, Jun 24, 2023 at 11:19:51AM +0200, Pali Rohár wrote: > > On Monday 12 June 2023 14:07:24 Tom Rini wrote: > > > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote: > > > > > > > CZ.NIC Turris 1.0 and 1.1 are open source routers, the

Re: [PATCH] menu: Re-enable the ANSI codes

2023-06-25 Thread Pali Rohár
On Saturday 24 June 2023 13:05:11 Tom Rini wrote: > On Sat, Jun 24, 2023 at 11:01:13AM +0200, Pali Rohár wrote: > > On Saturday 17 June 2023 22:28:24 Heinrich Schuchardt wrote: > > > On 6/17/23 12:48, Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Thu, 15 Jun 2023 at 17:56, Pali Rohár wro

Re: [PATCH v2 4/4] net: add NFSv1 support

2023-06-25 Thread Pali Rohár
On Saturday 24 June 2023 12:57:58 Tom Rini wrote: > On Sat, Jun 24, 2023 at 11:08:59AM +0200, Pali Rohár wrote: > > On Tuesday 13 June 2023 09:55:26 Peter Robinson wrote: > > > > I can help with reviews in this area. In this case, please CC me. > > > > > > I suggest adding yourself to the MAINTAIN

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-25 Thread Pali Rohár
On Sunday 25 June 2023 10:52:13 Tom Rini wrote: > On Sun, Jun 25, 2023 at 09:50:39AM +0200, Pali Rohár wrote: > > On Saturday 24 June 2023 12:58:07 Tom Rini wrote: > > > On Sat, Jun 24, 2023 at 10:50:41AM +0200, Pali Rohár wrote: > > > > On Tuesday 20 June 2023 11:20:35 Simon Glass wrote: > > > > >

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-25 Thread Tom Rini
On Sun, Jun 25, 2023 at 09:50:39AM +0200, Pali Rohár wrote: > On Saturday 24 June 2023 12:58:07 Tom Rini wrote: > > On Sat, Jun 24, 2023 at 10:50:41AM +0200, Pali Rohár wrote: > > > On Tuesday 20 June 2023 11:20:35 Simon Glass wrote: > > > > Hi Tom, Pali, > > > > > > > > On Wed, 14 Jun 2023 at 20:

[PATCH 1/1] doc: saves man-page

2023-06-25 Thread Heinrich Schuchardt
Provide a man-page for the saves command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/saves.rst | 88 + doc/usage/index.rst | 1 + 2 files changed, 89 insertions(+) create mode 100644 doc/usage/cmd/saves.rst diff --git a/doc/usage/cmd/saves

[PATCH] sql: Kconfig: TPL_BANNER_PRINT depends on DEBUG_UART && TPL_SERIAL

2023-06-25 Thread sunying
From: Ying Sun As implemented in the arch/arm/mach-rockchip/tpl.c file, the CONFIG_TPL_BANNER_PRINT option will not work if either of these options is not enabled. Add dependency constraints to the CONFIG_TPL_BANNER_PRINT option definition to prevent configuration problems where option is enable

[PATCH] common: Kconfig: SYS_CONSOLE_ENV_OVERWRITE depends on SYS_CONSOLE_IS_IN_ENV

2023-06-25 Thread sunying
From: Ying Sun CONFIG_SYS_CONSOLE_ENV_OVERWRITE is implemented in common/console.c when "#if CONFIG_IS_ENABLED(SYS_CONSOLE_IS_IN_ENV)" is met. It is recommended to add dependency constraints to its definition. Suggested-by: Yanjie Ren Signed-off-by: Ying Sun --- common/Kconfig | 1 + 1 file

[PATCH] cmd: CONFIG_CMD_SAVES depends on CONFIG_CMD_LOADS

2023-06-25 Thread sunying
From: Ying Sun CONFIG_CMD_SAVES is used to enable support for the "saveenv" command and is only implemented in cmd/load.c when "#if defined(CONFIG_CMD_LOADS)" is met. It is recommended to add dependency constraints to its definition. Prevents "saveenv" command from not being supported when "CONF

[PATCH] ARM: imx: romapi: Fix signed integer bitwise ops misuse

2023-06-25 Thread Marek Vasut
Bitwise operations on signed integers are not defined, replace then with per-call checks. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Fabio Estevam Cc: Heiko Schocher Cc: Heinrich Schuchardt Cc: Rasmus Villemoes Cc: Simon Glass Cc: Stefano Babic Cc: Tom Rini Cc: Ye Li -

[PATCH 1/1] cmd: fix loads, saves on sandbox

2023-06-25 Thread Heinrich Schuchardt
The loads and saves commands crash on the sandbox due to illegal memory access. For command line arguments the sandbox uses a virtual address space which does not equal the addresses of the memory allocated with memmap(). Add the missing address translations for the loads and saves commands. Sign

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-25 Thread Pali Rohár
On Saturday 24 June 2023 12:58:07 Tom Rini wrote: > On Sat, Jun 24, 2023 at 10:50:41AM +0200, Pali Rohár wrote: > > On Tuesday 20 June 2023 11:20:35 Simon Glass wrote: > > > Hi Tom, Pali, > > > > > > On Wed, 14 Jun 2023 at 20:51, Tom Rini wrote: > > > > > > > > On Sun, Jun 11, 2023 at 02:53:21PM