RE: [PATCH] configs: socfpga: add kernel parameter for immediate reboot

2020-08-06 Thread Tan, Ley Foon
> -Original Message- > From: Ooi, Joyce > Sent: Friday, August 7, 2020 11:52 AM > To: Simon Goldschmidt ; Tan, Ley Foon > ; Miquel Raynal ; > Boris Brezillon ; Marek Vasut ; > Ashok Reddy Soma ; Hannes Schmelzer > > Cc: u-boot@lists.denx.de; Ooi, Joyce ; Lim, Elly Siew > Chin ; See,

sunxi/arm64 build broken (was: [PATCH v4 12/27] x86: Makefile: Drop explicit targets built by binman)

2020-08-06 Thread Samuel Holland
On 8/5/20 1:25 PM, Simon Glass wrote: >>> The last build steps with your patch are: >>> >>> cat spl/sunxi-spl.bin u-boot.itb > u-boot-sunxi-with-spl.bin >>> ./tools/binman/binman --toolpath ./tools build -u -d u-boot.dtb -O . >>> -m --allow-missing -I . -I . -I ./board/sunxi >>> >>> The file

[PATCH] configs: socfpga: add kernel parameter for immediate reboot

2020-08-06 Thread Ooi, Joyce
From: Joyce Ooi Add Linux kernel line parameters for socfpga soc64 U-Boot. The "panic=-1" indicates the reset should occue immediately (without a delay). Signed-off-by: Joyce Ooi --- include/configs/socfpga_soc64_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1 3/3] arm: socfpga: agilex: Enable FPGA Full Reconfiguration support

2020-08-06 Thread Chee Hong Ang
Enable FPGA full reconfiguration support with Intel FPGA SDM Mailbox driver for Agilex. Signed-off-by: Chee Hong Ang --- arch/arm/mach-socfpga/Kconfig | 1 + drivers/fpga/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/Kconfig

[PATCH v1 0/3] Rename Stratix10 FPGA driver and support Agilex

2020-08-06 Thread Chee Hong Ang
- Rename Stratix10 FPGA driver to 'Intel FPGA SDM Mailbox'. - Add watchdog reset when configuring the FPGA. - Enable 'Intel FPGA SDM Mailbox' for Agilex. Chee Hong Ang (3): fpga: altera: Rename Stratix10 FPGA to Intel FPGA SDM Mailbox fpga: intel_sdm_mb: Add watchdog reset arm: socfpga:

[PATCH v1 2/3] fpga: intel_sdm_mb: Add watchdog reset

2020-08-06 Thread Chee Hong Ang
Ensure watchdog reset is not triggered if the fpga reconfiguration is taking too long. Signed-off-by: Chee Hong Ang --- drivers/fpga/intel_sdm_mb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/fpga/intel_sdm_mb.c b/drivers/fpga/intel_sdm_mb.c index 3508231191..9a1dc2c0c8

[PATCH v1 1/3] fpga: altera: Rename Stratix10 FPGA to Intel FPGA SDM Mailbox

2020-08-06 Thread Chee Hong Ang
Rename Stratix10 FPGA driver to Intel FPGA SDM Mailbox driver because it is using generic SDM (Secure Device Manager) Mailbox interface shared by other platform (e.g. Agilex) as well. Signed-off-by: Chee Hong Ang --- arch/arm/mach-socfpga/Kconfig| 2 +-

U-Boot Fails w/ Memory Test

2020-08-06 Thread Brownlie, Lewis
Hello all, I am trying to enable memory POST test for my ARM-based processor. I have reached the point where the U-Boot runs the test and it passes. However, U-Boot later hangs after the following lines: DDR31.9 GiB (DDR4, 64-bit, CL=22, ECC on) DDR

Re: [PATCH v4 17/17] common/board_r: Move blkcache_init call earlier in the boot sequence

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:25PM +0300, Ovidiu Panait wrote: > blkcache_init manually relocates blkcache list pointers when > CONFIG_NEEDS_MANUAL_RELOC is enabled. However, it is called very late in > the boot sequence, which could be a problem if previous boot calls execute > blkcache

Re: [PATCH v4 16/17] blkcache: Extend blkcache_init to cover CONFIG_NEEDS_MANUAL_RELOC

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:24PM +0300, Ovidiu Panait wrote: > Extend manual relocation of block_cache list pointers to all platforms that > enable CONFIG_NEEDS_MANUAL_RELOC. Remove m68k-specific checks and provide a > single implementation that adds gd->reloc_off to the pre-relocation >

Re: [PATCH v4 15/17] common/board_r: Remove initr_serial wrapper

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:23PM +0300, Ovidiu Panait wrote: > Remove the initr_serial->serial_initialize indirection and call > serial_initialize directly. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH v4 13/17] dm: blk: Use IS_ENABLED() instead of #ifdefs in blk_post_probe

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:21PM +0300, Ovidiu Panait wrote: > Use IS_ENABLED() instead of #ifdef in blk_post_probe function. > > No functional change intended. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v4 14/17] drivers: serial: Make serial_initialize return int

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:22PM +0300, Ovidiu Panait wrote: > serial_initialize is called only during the common init sequence, after > relocation (in common/board_r.c). Because it has a void return value, it > has to wrapped in initr_serial. In order to be able to get rid of this >

Re: [PATCH v4 11/17] board_f: ppc: Factor out ppc-specific bdinfo setup

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:19PM +0300, Ovidiu Panait wrote: > Factor out ppc-specific bdinfo setup from generic init sequence to > arch_setup_bdinfo in arch/powerpc/lib/bdinfo.c. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v4 12/17] board_f: Remove setup_board_part1

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:20PM +0300, Ovidiu Panait wrote: > Now that all arch specific code was converted to setup_bdinfo, we can > remove setup_board_part1. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v4 09/17] board_f: Move sram bdinfo assignments to generic code

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:17PM +0300, Ovidiu Panait wrote: > Move sram related bdinfo from arch-specific setup_board_part1 to generic > code in setup_bdinfo. Also use "if (IS_ENABLED(CONFIG_SYS_HAS_SRAM))" > instead of "#ifdef CONFIG_SYS_SRAM_BASE". > > Reviewed-by: Simon Glass >

Re: [PATCH v4 10/17] board_f: m68k: Factor out m68k-specific bdinfo setup

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:18PM +0300, Ovidiu Panait wrote: > Factor out m68k-specific bdinfo setup to arch_setup_bdinfo in > arch/m68k/lib/bdinfo.c. Also, use if(IS_ENABLED()) instead of #ifdef where > possible. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to

Re: [PATCH v4 08/17] board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:16PM +0300, Ovidiu Panait wrote: > Move all assignments to gd->bd->bi_mem{start,size} to generic code in > setup_bdinfo. > > Xtensa architecture is special in this regard as it defines its own > handling of gd->bd->bi_mem{start,size} fields. In order to avoid

Re: [PATCH v4 07/17] board_f: Introduce arch_setup_bdinfo initcall

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:15PM +0300, Ovidiu Panait wrote: > Certain architectures (ppc, mips, sh, m68k) use setup board_part1 and > setup_board_part2 calls during pre-relocation init to populate gd->bd > boardinfo fields. This makes the generic init sequence cluttered with > arch-specific

Re: [PATCH v4 05/17] cmd: bdinfo: Move sram info prints to generic code

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:13PM +0300, Ovidiu Panait wrote: > bi_sramstart and bi_sramsize are generic members of the bd_info structure, > so move the m68k/powerpc-specific prints to generic code. Also, print them > only if SRAM support is enabled via CONFIG_SYS_HAS_SRAM. > > Reviewed-by:

Re: [PATCH v4 02/17] Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:10PM +0300, Ovidiu Panait wrote: > This converts ad-hoc CONFIG_SYS_SRAM_BASE to Kconfig. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 06/17] board_f: Introduce setup_bdinfo initcall

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:14PM +0300, Ovidiu Panait wrote: > Introduce setup_bdinfo initcall as a generic routine to populate bdinfo > fields. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 04/17] Kconfig: Remove CONFIG_SYS_SRAM_START

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:12PM +0300, Ovidiu Panait wrote: > Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:09PM +0300, Ovidiu Panait wrote: > In order to be able to replace "#ifdef CONFIG_SYS_SRAM_BASE" sequences > with the IS_ENABLED() equivalent, introduce a new boolean Kconfig option > that signals whether the platform has SRAM support. > > Reviewed-by: Simon Glass >

Re: [PATCH v4 03/17] Kconfig: Convert CONFIG_SYS_SRAM_SIZE to Kconfig

2020-08-06 Thread Tom Rini
On Fri, Jul 24, 2020 at 02:12:11PM +0300, Ovidiu Panait wrote: > This converts ad-hoc CONFIG_SYS_SRAM_SIZE to Kconfig. > > Reviewed-by: Simon Glass > Signed-off-by: Ovidiu Panait Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 4/6] ARM: dts: k3-j7200: Add HyperBus and HyperFlash nodes

2020-08-06 Thread Vignesh Raghavendra
J7200 SoM has Cypress HyperFlash connected to HyperBus interface, add DT entries for the same. Signed-off-by: Vignesh Raghavendra --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 27 ++ arch/arm/dts/k3-j7200-som-p0.dtsi | 33 +++

[PATCH 5/6] ARM: dts: k3-j7200-mcu-wakeup: Add CPSW2G support

2020-08-06 Thread Vignesh Raghavendra
Add MCU NAVSS, UDMA and CPSW2G DT nodes. Signed-off-by: Vignesh Raghavendra --- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 116 ++ 1 file changed, 116 insertions(+) diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi index

[PATCH 6/6] arm: dts: k3-j7200-common-proc-board: Enable CPSW2G port

2020-08-06 Thread Vignesh Raghavendra
Enable CPSW2G port to support networking in U-Boot Signed-off-by: Vignesh Raghavendra --- .../k3-j7200-common-proc-board-u-boot.dtsi| 15 +++ arch/arm/dts/k3-j7200-common-proc-board.dts | 43 +++ 2 files changed, 58 insertions(+) diff --git

[PATCH 1/6] arm: dts: k3-j7200: Add USB related DT entries

2020-08-06 Thread Vignesh Raghavendra
Add USB related DT entries to enable USB device mode. Signed-off-by: Vignesh Raghavendra --- .../k3-j7200-common-proc-board-u-boot.dtsi| 14 + arch/arm/dts/k3-j7200-common-proc-board.dts | 18 +++ arch/arm/dts/k3-j7200-main.dtsi | 30 +++

[PATCH 3/6] ARM: dts: k3-j7200: Add wkup gpio node

2020-08-06 Thread Vignesh Raghavendra
Add wkup_gpio0 node required for detecting whether board mux is set HyperFlash. Signed-off-by: Vignesh Raghavendra --- arch/arm/dts/k3-j7200-common-proc-board.dts | 11 +++ arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 12 2 files changed, 23 insertions(+) diff --git

[PATCH 0/6] J2700: Enable various peripherals

2020-08-06 Thread Vignesh Raghavendra
Enable USB, HyperFlasha and CPSW on J7200 SoC Based on top of https://patchwork.ozlabs.org/project/uboot/list/?series=194305 Vignesh Raghavendra (6): arm: dts: k3-j7200: Add USB related DT entries board: ti: j721e: Add support for HyperFlash detection ARM: dts: k3-j7200: Add wkup gpio node

[PATCH 2/6] board: ti: j721e: Add support for HyperFlash detection

2020-08-06 Thread Vignesh Raghavendra
On J7200 SoC OSPI0 and HypeFlash are muxed at HW level and only one of them can be used at any time. J7200 EVM has both HyperFlash and OSPI flash on board. There is a user switch (SW3.1) that can be toggled to select OSPI flash vs HyperFlash. Read the state of this switch via wkup_gpio0_6 line and

Re: Please pull u-boot-marvell/master

2020-08-06 Thread Tom Rini
On Thu, Aug 06, 2020 at 04:33:01PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull these MVEBU related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PULL] u-boot-usb/master

2020-08-06 Thread Marek Vasut
The following changes since commit f1c0b7cd4be2081ae3711cec2c4cc2910a5817e1: Merge tag 'u-boot-imx-20200804' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-08-04 11:11:02 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch

Re: [PATCH v1 05/15] x86: dfi: dfi-bt700: Remove dead code

2020-08-06 Thread Stefan Roese
On 06.08.20 16:54, Andy Shevchenko wrote: start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Cc: Stefan Roese Signed-off-by: Andy Shevchenko Reviewed-by: Stefan Roese Thanks, Stefan ---

Re: [PATCH v1 03/15] x86: congatec: conga-qeval20-qa3-e3845: Remove dead code

2020-08-06 Thread Stefan Roese
On 06.08.20 16:54, Andy Shevchenko wrote: start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Cc: Stefan Roese Signed-off-by: Andy Shevchenko Reviewed-by: Stefan Roese Thanks, Stefan ---

Re: [PATCH v1 01/15] x86: Introduce USE_EARLY_BOARD_INIT option

2020-08-06 Thread Stefan Roese
On 06.08.20 16:54, Andy Shevchenko wrote: Introduce USE_EARLY_BOARD_INIT option and select it by the actual users. Cc: Aiden Park Cc: Stefan Roese Cc: George McCollister Signed-off-by: Andy Shevchenko Reviewed-by: Stefan Roese Thanks, Stefan --- arch/x86/Kconfig

[PATCH v1 12/15] x86: intel: galileo: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/galileo/Makefile | 2 +- board/intel/galileo/start.S | 8 2 files changed, 1 insertion(+), 9 deletions(-)

[PATCH v1 14/15] x86: intel: slimbootloader: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Cc: Aiden Park Signed-off-by: Andy Shevchenko --- board/intel/slimbootloader/Makefile | 2 +- board/intel/slimbootloader/start.S | 9 - 2 files changed, 1

[PATCH v1 13/15] x86: intel: minnowmax: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/minnowmax/Makefile | 2 +- board/intel/minnowmax/start.S | 8 2 files changed, 1 insertion(+), 9

[PATCH v1 15/15] x86: qemu: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/emulation/qemu-x86/Makefile | 2 -- board/emulation/qemu-x86/start.S | 8 2 files changed, 10 deletions(-)

[PATCH v1 08/15] x86: intel: cherryhill: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/cherryhill/Makefile | 2 +- board/intel/cherryhill/start.S | 8 2 files changed, 1 insertion(+), 9

[PATCH v1 10/15] x86: intel: crownbay: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/crownbay/Makefile | 2 +- board/intel/crownbay/start.S | 8 2 files changed, 1 insertion(+), 9 deletions(-)

[PATCH v1 11/15] x86: intel: edison: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/edison/Makefile | 2 +- board/intel/edison/start.S | 12 2 files changed, 1 insertion(+), 13

[PATCH v1 09/15] x86: intel: cougarcanyon2: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/cougarcanyon2/Makefile | 2 +- board/intel/cougarcanyon2/start.S | 8 2 files changed, 1 insertion(+), 9

[PATCH v1 07/15] x86: intel: bayleybay: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/intel/bayleybay/Makefile | 2 +- board/intel/bayleybay/start.S | 8 2 files changed, 1 insertion(+), 9

[PATCH v1 02/15] x86: advantech: som-db5800-som-6867: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Cc: George McCollister Signed-off-by: Andy Shevchenko --- board/advantech/som-db5800-som-6867/Makefile | 2 +- board/advantech/som-db5800-som-6867/start.S | 8

[PATCH v1 03/15] x86: congatec: conga-qeval20-qa3-e3845: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Cc: Stefan Roese Signed-off-by: Andy Shevchenko --- board/congatec/conga-qeval20-qa3-e3845/Makefile | 2 +- board/congatec/conga-qeval20-qa3-e3845/start.S | 8

[PATCH v1 01/15] x86: Introduce USE_EARLY_BOARD_INIT option

2020-08-06 Thread Andy Shevchenko
Introduce USE_EARLY_BOARD_INIT option and select it by the actual users. Cc: Aiden Park Cc: Stefan Roese Cc: George McCollister Signed-off-by: Andy Shevchenko --- arch/x86/Kconfig | 3 +++ arch/x86/cpu/start.S | 3 +++

[PATCH v1 05/15] x86: dfi: dfi-bt700: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Cc: Stefan Roese Signed-off-by: Andy Shevchenko --- board/dfi/dfi-bt700/Makefile | 2 +- board/dfi/dfi-bt700/start.S | 8 2 files changed, 1

[PATCH v1 06/15] x86: efi: efi-x86_payload: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/efi/efi-x86_payload/Makefile | 2 +- board/efi/efi-x86_payload/start.S | 8 2 files changed, 1 insertion(+), 9

[PATCH v1 04/15] x86: coreboot: Remove dead code

2020-08-06 Thread Andy Shevchenko
start.S does nothing and can be safely removed. Makefile is still being used by the build system, so simply drop the rule from it. Signed-off-by: Andy Shevchenko --- board/coreboot/coreboot/Makefile | 2 +- board/coreboot/coreboot/start.S | 12 2 files changed, 1 insertion(+), 13

Re: RISC-V: crash in riscv_get_time()

2020-08-06 Thread Bin Meng
On Thu, Aug 6, 2020 at 10:28 PM Heinrich Schuchardt wrote: > > On 06.08.20 13:18, Rick Chen wrote: > > Hi Heinrich > > > >> From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > >> Sent: Thursday, August 06, 2020 6:45 PM > >> To: Bin Meng; Rick Jian-Zhi Chen(陳建志) > >> Cc: U-Boot Mailing List >

Please pull u-boot-marvell/master

2020-08-06 Thread Stefan Roese
Hi Tom, please pull these MVEBU related patches: - Cleanup in Marvell bubt cmd (Tom & Jagan) - Add a series of MikroTik CRS3xx, 98DX3236 based switches (Luka) Here

Re: RISC-V: crash in riscv_get_time()

2020-08-06 Thread Heinrich Schuchardt
On 06.08.20 13:18, Rick Chen wrote: > Hi Heinrich > >> From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] >> Sent: Thursday, August 06, 2020 6:45 PM >> To: Bin Meng; Rick Jian-Zhi Chen(陳建志) >> Cc: U-Boot Mailing List >> Subject: RISC-V: crash in riscv_get_time() >> >> Hello Rick, hello Bin, >>

Re: [PATCH] mvebu: bubt: Drop dead code

2020-08-06 Thread Stefan Roese
On 06.08.20 14:08, Stefan Roese wrote: On 24.07.20 23:13, Tom Rini wrote: The code around CONFIG_SYS_MMC_ENV_PART has been untested since merge. This can be seen by it referencing 'mmc->part_num' which was migrated elsewhere prior to this code being merged. Cc: Joel Johnson Cc: Stefan Roese

Re: [PATCH 5/5] arm: mvebu: Update CRS305-1G-4S board flash layout

2020-08-06 Thread Stefan Roese
On 06.08.20 14:08, Stefan Roese wrote: On 23.07.20 10:56, Luka Kovacic wrote: Update the MikroTik CRS305-1G-4S flash layout to support redundant UBI partitions. Additionally enable the UBI commands in crs305-1g-4s_defconfig. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina

Re: [PATCH] cmd: mvebu/bubt: Drop unused SPI_FLASH_PROTECTION

2020-08-06 Thread Stefan Roese
On 06.08.20 14:10, Stefan Roese wrote: On 12.07.20 19:59, Jagan Teki wrote: SPI_FLASH_PROTECTION config item is never used in anywhere in the U-Boot tree. Drop it. Signed-off-by: Jagan Teki Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---

Re: [PATCH v3 6/6] test: Add tests for the multiplexer framework

2020-08-06 Thread Tom Rini
On Fri, Jun 12, 2020 at 01:15:06AM +0530, Pratyush Yadav wrote: > From: Jean-Jacques Hiblot > > Provide tests to check the behavior of the multiplexer framework. > The test uses a mmio-based multiplexer. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Simon Glass > Signed-off-by:

Re: [PATCH 1/5] arm: mvebu: Add CRS305-1G-4S Bit board

2020-08-06 Thread Stefan Roese
On 06.08.20 14:07, Stefan Roese wrote: On 23.07.20 10:56, Luka Kovacic wrote: MikroTik CRS305-1G-4S Bit board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. The Bit board variant is added, which has a bigger Macronix flash. Add basic U-Boot, UART and Winbond SPI flash

Re: [PATCH 3/5] arm: mvebu: Add CRS328-4C-20S-4S board

2020-08-06 Thread Stefan Roese
On 06.08.20 14:08, Stefan Roese wrote: On 23.07.20 10:56, Luka Kovacic wrote: MikroTik CRS328-4C-20S-4S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has

Re: [PATCH 4/5] arm: mvebu: crs3xx-98dx3236: Add a maintainer

2020-08-06 Thread Stefan Roese
On 06.08.20 14:08, Stefan Roese wrote: On 23.07.20 10:56, Luka Kovacic wrote: Add Luka Perkov to CRS3xx-98DX3236 MAINTAINERS. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina Reviewed-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan Thanks, Stefan ---  

Re: [PATCH 2/5] arm: mvebu: Add CRS326-24G-2S board

2020-08-06 Thread Stefan Roese
On 06.08.20 14:07, Stefan Roese wrote: On 23.07.20 10:56, Luka Kovacic wrote: MikroTik CRS326-24G-2S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has a

Re: [PATCH v2 8/8] test: dm: Add tests for regmap managed API and regmap fields

2020-08-06 Thread Tom Rini
On Sat, Jun 06, 2020 at 02:00:25AM +0530, Pratyush Yadav wrote: > From: Jean-Jacques Hiblot > > The tests rely on a dummy driver to allocate and initialize the regmaps > and the regmap fields using the managed API. The first test checks if > the regmap config fields like width,

Re: [PATCH] Dockerfile: Enable SH4 QEMU build

2020-08-06 Thread Tom Rini
On Wed, Aug 05, 2020 at 11:26:23PM +0200, Marek Vasut wrote: > Build qemu-system-sh4 executable for U-Boot testing. > > Signed-off-by: Marek Vasut Applied to gitlab-ci-runner/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Azure/Travis: Update to latest Docker image

2020-08-06 Thread Tom Rini
On Thu, Aug 06, 2020 at 08:45:55AM -0400, Tom Rini wrote: > - New bionic snapshot > - Updated sbsigntool > - Include SH4 in qemu > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Dockerfile: update sbsigntools to v0.9.4

2020-08-06 Thread Tom Rini
On Tue, Jul 21, 2020 at 06:45:58PM +0900, AKASHI Takahiro wrote: > This version of sbsigntools is a prerequisite in testing "intermediate > certificates" support as part of UEFI secure boot as I added '--addcert' > option to 'sbsign' command: > > === > commit 7d6210e4b1fd > Author: AKASHI

Re: [PATCH v2 12/19] board: ti: j7200: Introduce support for j7200 build targets

2020-08-06 Thread Suman Anna
On 8/6/20 8:49 AM, Suman Anna wrote: > Hi Lokesh, > > On 8/5/20 12:14 PM, Lokesh Vutla wrote: >> j7200-evm has minor differences with j721e-evm based on the IPs >> available in the SoC. Introduce separate build targets for j7200-evm >> to incorporate the differences. >> >> Signed-off-by: Lokesh

Re: [PATCH v2 15/19] soc: soc_ti_k3: Add device identification for J7200 SoC

2020-08-06 Thread Suman Anna
On 8/5/20 12:14 PM, Lokesh Vutla wrote: > From: Kishon Vijay Abraham I > > Add device identification for J7200 SoC > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna > --- > drivers/soc/soc_ti_k3.c | 4 > 1 file changed, 4 insertions(+) >

Re: [PATCH v2 12/19] board: ti: j7200: Introduce support for j7200 build targets

2020-08-06 Thread Suman Anna
Hi Lokesh, On 8/5/20 12:14 PM, Lokesh Vutla wrote: > j7200-evm has minor differences with j721e-evm based on the IPs > available in the SoC. Introduce separate build targets for j7200-evm > to incorporate the differences. > > Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna > --- >

Re: [PATCH v2 06/19] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image

2020-08-06 Thread Suman Anna
On 8/5/20 12:14 PM, Lokesh Vutla wrote: > Starting J7200 SoC, ROM supports for loading sysfw directly from boot > image. In such cases, SPL need not load sysfw from boot media, but need > to receive boot notification message from sysfw. So separate out > remoteproc calls for system controller from

Re: [PATCH v2 19/19] configs: j7200_evm_a72: Add Initial support

2020-08-06 Thread Suman Anna
Hi Lokesh, On 8/5/20 12:14 PM, Lokesh Vutla wrote: > Add initial A72 defconfig support. > > Signed-off-by: Lokesh Vutla > --- > configs/j7200_evm_a72_defconfig | 175 > 1 file changed, 175 insertions(+) > create mode 100644 configs/j7200_evm_a72_defconfig > >

Re: [ANN] U-Boot v2020.10-rc1 released

2020-08-06 Thread Michal Simek
Hi Tom, út 28. 7. 2020 v 4:47 odesílatel Tom Rini napsal: > > Hey all, > > It's the day after release day, and here is v2020.10-rc1. There's a few > more PRs I expect to see soon and a few more changes to bring in from my > own queue. > > In terms of a changelog, > git log --merges

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-06 Thread Marek Vasut
On 8/6/20 2:36 PM, Wolfgang Grandegger wrote: > Am 06.08.20 um 13:04 schrieb Marek Vasut: >> On 8/6/20 12:53 PM, Wolfgang Grandegger wrote: >>> This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73. >>> >>> Conflicts: >>> arch/arm/mach-socfpga/misc_gen5.c >>> >>> Without

[PATCH] Azure/Travis: Update to latest Docker image

2020-08-06 Thread Tom Rini
- New bionic snapshot - Updated sbsigntool - Include SH4 in qemu Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index c3eb887720e0..adcc0fbcb2cd

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-06 Thread Wolfgang Grandegger
Am 06.08.20 um 13:04 schrieb Marek Vasut: > On 8/6/20 12:53 PM, Wolfgang Grandegger wrote: >> This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73. >> >> Conflicts: >> arch/arm/mach-socfpga/misc_gen5.c >> >> Without socfpga_sdram_apply_static_cfg(), the system hangs when Linux >>

Re: [PATCH v2 03/21] clk: bind clk to new parent device

2020-08-06 Thread Claudiu.Beznea
Hi Simon, On 05.08.2020 18:11, Claudiu Beznea wrote: > Clock re-parenting is not binding the clock's device to its new > parent device, it only calls the clock's ops->set_parent() API. The > changes in this commit re-parent the clock device to its new parent > so that subsequent operations like

Re: [PATCH] cmd: mvebu/bubt: Drop unused SPI_FLASH_PROTECTION

2020-08-06 Thread Stefan Roese
On 12.07.20 19:59, Jagan Teki wrote: SPI_FLASH_PROTECTION config item is never used in anywhere in the U-Boot tree. Drop it. Signed-off-by: Jagan Teki Reviewed-by: Stefan Roese Thanks, Stefan --- cmd/mvebu/bubt.c | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: [PATCH] mvebu: bubt: Drop dead code

2020-08-06 Thread Stefan Roese
On 24.07.20 23:13, Tom Rini wrote: The code around CONFIG_SYS_MMC_ENV_PART has been untested since merge. This can be seen by it referencing 'mmc->part_num' which was migrated elsewhere prior to this code being merged. Cc: Joel Johnson Cc: Stefan Roese Signed-off-by: Tom Rini Reviewed-by:

Re: [PATCH 5/5] arm: mvebu: Update CRS305-1G-4S board flash layout

2020-08-06 Thread Stefan Roese
On 23.07.20 10:56, Luka Kovacic wrote: Update the MikroTik CRS305-1G-4S flash layout to support redundant UBI partitions. Additionally enable the UBI commands in crs305-1g-4s_defconfig. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH 3/5] arm: mvebu: Add CRS328-4C-20S-4S board

2020-08-06 Thread Stefan Roese
On 23.07.20 10:56, Luka Kovacic wrote: MikroTik CRS328-4C-20S-4S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has a bigger Macronix flash. Add basic

Re: [PATCH 4/5] arm: mvebu: crs3xx-98dx3236: Add a maintainer

2020-08-06 Thread Stefan Roese
On 23.07.20 10:56, Luka Kovacic wrote: Add Luka Perkov to CRS3xx-98DX3236 MAINTAINERS. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina Reviewed-by: Stefan Roese Thanks, Stefan --- board/mikrotik/crs3xx-98dx3236/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH 1/5] arm: mvebu: Add CRS305-1G-4S Bit board

2020-08-06 Thread Stefan Roese
On 23.07.20 10:56, Luka Kovacic wrote: MikroTik CRS305-1G-4S Bit board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. The Bit board variant is added, which has a bigger Macronix flash. Add basic U-Boot, UART and Winbond SPI flash support. Signed-off-by: Luka Kovacic Cc:

Re: [PATCH 2/5] arm: mvebu: Add CRS326-24G-2S board

2020-08-06 Thread Stefan Roese
On 23.07.20 10:56, Luka Kovacic wrote: MikroTik CRS326-24G-2S board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. This commit includes two board variants, namely the factory default one and a Bit variant. The Bit board variant has a bigger Macronix flash. Add basic

Re: [PATCH v2 18/19] configs: j7200_evm_r5: Add initial support

2020-08-06 Thread Vignesh Raghavendra
On 05/08/20 10:44 pm, Lokesh Vutla wrote: > +CONFIG_USB_CDNS3_GADGET=y > +CONFIG_SPL_USB_CDNS3_GADGET=y > +CONFIG_USB_GADGET=y > +CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments" > +CONFIG_USB_GADGET_VENDOR_NUM=0x0451 > +CONFIG_USB_GADGET_PRODUCT_NUM=0x6163 You missed updating ID here (19/19

Re: RISC-V: crash in riscv_get_time()

2020-08-06 Thread Rick Chen
Hi Heinrich > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Thursday, August 06, 2020 6:45 PM > To: Bin Meng; Rick Jian-Zhi Chen(陳建志) > Cc: U-Boot Mailing List > Subject: RISC-V: crash in riscv_get_time() > > Hello Rick, hello Bin, > > when I run qemu-riscv64_defconfig using > >

[RESEND PATCH v2 03/18] xen: Add essential and required interface headers

2020-08-06 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Add essential and required Xen interface headers only taken from the stable Linux kernel stable/linux-5.7.y at commit 66dfe4522160 Linux 5.7.5. These are better suited for U-boot than the original headers from Xen as they are the stripped versions of the same. At

[PATCH] drivers: usb: Fix config indentation

2020-08-06 Thread Ruben Di Battista
The indentation was messing up with the scripts/build-whitelist.sh that was marking SYS_USB_EVENT_POLL_VIA_INT_QUEUE (and probably also the other indented options) erroneously as ad-hoc configure option with the following error: ``` Error: You must add new CONFIG options using Kconfig The

Re: Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-06 Thread Marek Vasut
On 8/6/20 12:53 PM, Wolfgang Grandegger wrote: > This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73. > > Conflicts: > arch/arm/mach-socfpga/misc_gen5.c > > Without socfpga_sdram_apply_static_cfg(), the system hangs when Linux > calls altvipfb2_start_hw() of the Intel Video and

Aw: crash with CONFIG_OF_LIVE

2020-08-06 Thread Frank Wunderlich
Hi, debugged it further, but currently i don't know why CONFIG_OF_LIVE causes this behaviour devfdt_get_addr_index return with FDT_ADDR_T_NONE adress-cells: -4 ./scripts/dtc/libfdt/fdt_addresses.c: fdt_address_cells => fdt_cells => fdt_getprop (returns c=0,len=-4) as far as i see in

Revert "ARM: socfpga: Remove socfpga_sdram_apply_static_cfg()

2020-08-06 Thread Wolfgang Grandegger
This reverts commit c5f4b805755912a3d2fe20f014b6b6ab0473bd73. Conflicts: arch/arm/mach-socfpga/misc_gen5.c Without socfpga_sdram_apply_static_cfg(), the system hangs when Linux calls altvipfb2_start_hw() of the Intel Video and Image Processing(VIP) Frame Buffer II driver

RISC-V: crash in riscv_get_time()

2020-08-06 Thread Heinrich Schuchardt
Hello Rick, hello Bin, when I run qemu-riscv64_defconfig using qemu-system-riscv64 -machine virt -m 1G -nographic \ -bios u-boot \ -device virtio-net-device,netdev=net0 \ -netdev user,id=net0,tftp=tftp a crash occurs in riscv_get_time() when executing readq(). $

[PATCH v2] cmd: exception: unaligned data access on RISC-V

2020-08-06 Thread Heinrich Schuchardt
The command 'exception' can be used to test the handling of exceptions. Currently the exception command only allows to create an illegal instruction exception on RISC-V. Provide a sub-command 'exception unaligned' to cause a misaligned load address exception. Adjust the online help for

Re: [PATCH] configs: socfpga: add CONFIG_BOOTCOMMAND for cyclone5

2020-08-06 Thread Marek Vasut
On 8/6/20 11:08 AM, Ooi, Joyce wrote: > From: Joyce Ooi > > Add CONFIG_BOOTCOMMAND in cyclone5 defconfig to run fatscript and enable > FPGA bridge > > Signed-off-by: Joyce Ooi > --- > configs/socfpga_cyclone5_defconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

[RESEND PATCH v2 18/18] doc: xen: Add Xen guest ARM64 board documentation

2020-08-06 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Signed-off-by: Anastasiia Lukianenko --- Changes since v1: - this patch appeared in the second version of patch series for describing new board specification doc/board/index.rst | 1 + doc/board/xen/index.rst | 9

[RESEND PATCH v2 16/18] xen: pvblock: Print found devices indices

2020-08-06 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko Reviewed-by: Simon Glass --- drivers/xen/pvblock.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/xen/pvblock.c b/drivers/xen/pvblock.c index

[RESEND PATCH v2 17/18] board: xen: De-initialize before jumping to Linux

2020-08-06 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Free resources used by Xen board before jumping to Linux kernel. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko Reviewed-by: Simon Glass --- Changes since v1: - add comment board/xen/xenguest_arm64/xenguest_arm64.c | 6 ++

[RESEND PATCH v2 15/18] xen: pvblock: Implement front-back protocol and do IO

2020-08-06 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Implement Xen para-virtual frontend to backend communication and actually read/write disk data. This is based on mini-os implementation of the para-virtual block frontend driver. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko ---

[RESEND PATCH v2 12/18] xen: pvblock: Add initial support for para-virtualized block driver

2020-08-06 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Add initial infrastructure for Xen para-virtualized block device. This includes compile-time configuration and the skeleton for the future driver implementation. Add new class UCLASS_PVBLOCK which is going to be a parent for virtual block devices. Add new interface

[RESEND PATCH v2 14/18] xen: pvblock: Read XenStore configuration and initialize

2020-08-06 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Read essential virtual block device configuration data from XenStore, initialize front ring and event channel. Update block device description with actual block size. Use code for XenStore from mini-os. Signed-off-by: Oleksandr Andrushchenko Signed-off-by:

  1   2   >