[PATCH 1/1] ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU.

2021-09-06 Thread Kristian Amlie
vexpress_ca9x4 is seemingly the only board except for qemu_arm which is able to run U-Boot correctly, using the `-M vexpress-a9` option to QEMU. Building for qemu_arm and running qemu-system-arm with the `-M virt` argument has a number of downsides, most importantly that it only supports virtio sto

Re: [PATCH] arm: marvell: Dreamplug: fix typo in eth1 name

2021-09-06 Thread Stefan Roese
On 07.09.21 01:28, Tony Dinh wrote: Ethernet 1 should be ethernet-controller@76000. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- board/Marvell/dreamplug/dreamplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Marvell/dreamplug/dre

[PATCH v6] arm: add initial support for the Phytium Pomelo Board

2021-09-06 Thread nicholas_zheng
From: weichangzheng This adds platform code and the device tree for the Phytium Pomelo Board. The initial support comprises the UART and the PCIE. Signed-off-by: weichangzheng Changes since v1: updated to DT Changes since v2: Modify some explicit types and macro Changes since v3

Disable command line access for uboot

2021-09-06 Thread Fariya F
Hi, I am using a very old version of uboot the following is the modification I made to disable command line access in uboot 1) disable all autoboot options like AUTOBOOT_KEYED, AUTOBOOT_PROMPT, AUTOBOOT_DELAY_STR, AUTOBOOT_STOP_STR, AUTOBOOT_KEYED_CTRLC 2) In common/autoboot.c file I am uncondi

Re: [PATCH] RFC: Support an EFI-loader bootflow

2021-09-06 Thread AKASHI Takahiro
On Mon, Sep 06, 2021 at 04:41:55AM -0600, Simon Glass wrote: > Hi Heinrich, > > On Fri, 3 Sept 2021 at 10:30, Heinrich Schuchardt wrote: > > > > > > > > On 9/3/21 10:53 AM, Simon Glass wrote: > > > Hi Takahiro, > > > > > > On Thu, 2 Sept 2021 at 20:27, AKASHI Takahiro > > > wrote: > > >> > > >>

Re: [PATCH] configs: add PineTab defconfig

2021-09-06 Thread Andre Przywara
On Mon, 6 Sep 2021 23:06:13 +0200 Arnaud Ferraris wrote: > The PineTab device-tree is already in u-boot, this commit adds the > corresponding > defconfig, based on pinephone_defconfig. > > Signed-off-by: Arnaud Ferraris Reviewed-by: Andre Przywara Thanks, Andre > --- > board/sunxi/MAINTA

Re: [PATCH 1/2] board: sunxi: enable status LED early

2021-09-06 Thread Andre Przywara
On Mon, 6 Sep 2021 22:57:52 +0200 Arnaud Ferraris wrote: Hi Arnaud, > For some systems, such as the PinePhone, there is no way for the end > user to make sure the system is indeed booting before the boot script is > executed, which takes several seconds. Therefore, it can be useful to > provide

Re: [PATCH 2/2] pinephone_defconfig: add support for early-boot status LED

2021-09-06 Thread Andre Przywara
On Mon, 6 Sep 2021 22:57:53 +0200 Arnaud Ferraris wrote: > From: Arnaud Ferraris > > This commit enables the green status LED (PD18/GPIO 114) on boot in the > SPL, in order to provide visual feedback that the PinePhone is booting. Looks alright, and while I don't have a Pinephone to test this

[PATCH] arm: marvell: Dreamplug: fix typo in eth1 name

2021-09-06 Thread Tony Dinh
Ethernet 1 should be ethernet-controller@76000. Signed-off-by: Tony Dinh --- board/Marvell/dreamplug/dreamplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Marvell/dreamplug/dreamplug.c b/board/Marvell/dreamplug/dreamplug.c index d5b6b22ddf..7ba14021b2 100644 ---

Re: [PATCH 1/2] lib: optee: remove the duplicate CONFIG_OPTEE

2021-09-06 Thread Alex G.
On 9/6/21 11:53 AM, Patrick DELAUNAY wrote: In fact, the SPL boot path for OP-TEE doesn't use this function. That's intentional. Here's what I suggest:     - Remove OPTEE_TZDRAM_BASE and _SIZE There is some legacy here, board/warp7and board/technexion/pico-imx7d. it is not possible, it

[PATCH] configs: add PineTab defconfig

2021-09-06 Thread Arnaud Ferraris
The PineTab device-tree is already in u-boot, this commit adds the corresponding defconfig, based on pinephone_defconfig. Signed-off-by: Arnaud Ferraris --- board/sunxi/MAINTAINERS | 5 + configs/pinetab_defconfig | 10 ++ 2 files changed, 15 insertions(+) create mode 100644 conf

[PATCH 2/2] pinephone_defconfig: add support for early-boot status LED

2021-09-06 Thread Arnaud Ferraris
From: Arnaud Ferraris This commit enables the green status LED (PD18/GPIO 114) on boot in the SPL, in order to provide visual feedback that the PinePhone is booting. Signed-off-by: Arnaud Ferraris --- configs/pinephone_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs

[PATCH] PinePhone: enable LED on boot for improved visual feedback

2021-09-06 Thread Arnaud Ferraris
Hi, As the PinePhone doesn't provide any visual feedback when booting, these patches take advantage of the built-in RGB LED to indicate the device is indeed powered on. I've been carrying those downstream in Mobian for some time now, allowing users to see their phone is booting (otherwise it can

[PATCH 1/2] board: sunxi: enable status LED early

2021-09-06 Thread Arnaud Ferraris
For some systems, such as the PinePhone, there is no way for the end user to make sure the system is indeed booting before the boot script is executed, which takes several seconds. Therefore, it can be useful to provide early visual feedback as soon as possible. In order achieve this goal, this pa

Re: [PATCH 1/2] lib: optee: remove the duplicate CONFIG_OPTEE

2021-09-06 Thread Patrick DELAUNAY
Hi, On 9/4/21 10:31 AM, Etienne Carriere wrote: Hello Alex and Patrick, (my apologies for my previous malformed post) On Fri, 3 Sept 2021 at 18:43, Alex G. wrote: Hi Patrick On 9/2/21 4:56 AM, Patrick Delaunay wrote: The configuration CONFIG_OPTEE is defined 2 times: 1- in lib/optee/Kconf

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-09-06 Thread Tom Rini
On Mon, Sep 06, 2021 at 05:05:40PM +0300, Oleh Kravchenko wrote: > Hello Tom! > > Looks like it a false positive detection. > info and dev_desc are validated in few lines above: > > 609 |    if (!info.name[0] && > 610 |        fastboot_mmc_get_part_info(cmd, &dev_desc, &info, response) > < 0) >

Re: [PULL] Pull request for u-boot master / v2021.10 = u-boot-stm32-20210906

2021-09-06 Thread Tom Rini
On Mon, Sep 06, 2021 at 02:23:25PM +0200, Patrick DELAUNAY wrote: > Hi Tom, > > Please pull the STM32 related fixes for u-boot/master, v2021.10: > u-boot-stm32-20210906 > > - fix EFI boot with OP-TEE for STM32MP15 boards > > CI status: > https://source.denx.de/u

[PATCH] armv8: fsl-layerscape: Erratum A010315 needs PCIE support

2021-09-06 Thread Alban Bedel
Disabling PCIE support currently lead to a crash because the code for erratum A010315 is still run. Add a conditional to only select CONFIG_SYS_FSL_ERRATUM_A010315 when CONFIG_PCIE_LAYERSCAPE is enabled. Signed-off-by: Alban Bedel --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 ++-- 1 file ch

Re: Pull request for efi-2021-10-rc4

2021-09-06 Thread Tom Rini
On Sat, Sep 04, 2021 at 12:10:07PM +0200, Heinrich Schuchardt wrote: > Hello Tom, > > the doc patch was missing I have updated tag: > > The following changes since commit 94509b79b13e69c209199af0757afbde8d2ebd6d: > > btrfs: Use default subvolume as filesystem root (2021-09-01 10:11:24 > -0400

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-09-06 Thread Oleh Kravchenko
Hello Tom! Looks like it a false positive detection. info and dev_desc are validated in few lines above: 609 |    if (!info.name[0] && 610 |        fastboot_mmc_get_part_info(cmd, &dev_desc, &info, response) < 0) 611 |        return; 30.08.21 20:39, Tom Rini пише: > Hey all, > > Here's the late

Re: Pull request for efi-2021-10-rc2-2

2021-09-06 Thread Simon Glass
Hi Ilias, On Mon, 6 Sept 2021 at 05:59, Ilias Apalodimas wrote: > > Hi Simon, > > > > > > > > > Well of course if the DT holds the key and you want to add the key > > > > after the build, you have to modify the DT. You make it sounds like a > > > > huge deal... > > > > > > Having to edit the DT a

[PULL] Pull request for u-boot master / v2021.10 = u-boot-stm32-20210906

2021-09-06 Thread Patrick DELAUNAY
Hi Tom, Please pull the STM32 related fixes for u-boot/master, v2021.10: u-boot-stm32-20210906 - fix EFI boot with OP-TEE for STM32MP15 boards CI status: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/9006 Thanks, Patrick git request-pull origin/master https

Re: Pull request for efi-2021-10-rc2-2

2021-09-06 Thread Ilias Apalodimas
Hi Simon, > > > > > > Well of course if the DT holds the key and you want to add the key > > > after the build, you have to modify the DT. You make it sounds like a > > > huge deal... > > > > Having to edit the DT and concat it is not a huge deal. Limiting the > > ability to provide authenticated

Re: [PATCH] RFC: Support an EFI-loader bootflow

2021-09-06 Thread Simon Glass
Hi Takahiro, On Sun, 5 Sept 2021 at 19:47, AKASHI Takahiro wrote: > > Hi Simon, > > On Fri, Sep 03, 2021 at 02:53:52AM -0600, Simon Glass wrote: > > Hi Takahiro, > > > > On Thu, 2 Sept 2021 at 20:27, AKASHI Takahiro > > wrote: > > > > > > Simon, > > > > > > On Thu, Sep 02, 2021 at 10:40:57AM -06

Re: [PATCH] RFC: Support an EFI-loader bootflow

2021-09-06 Thread Simon Glass
Hi Heinrich, On Fri, 3 Sept 2021 at 10:30, Heinrich Schuchardt wrote: > > > > On 9/3/21 10:53 AM, Simon Glass wrote: > > Hi Takahiro, > > > > On Thu, 2 Sept 2021 at 20:27, AKASHI Takahiro > > wrote: > >> > >> Simon, > >> > >> On Thu, Sep 02, 2021 at 10:40:57AM -0600, Simon Glass wrote: > >>> Hi

RE: [PATCH] Revert "mmc: sdhci: set to INT_DATA_END when there are data"

2021-09-06 Thread Yuezhang.Mo
Hi Peng Fan, Jaehoon approved this patch. Do you have more comment for merging? -Original Message- From: Peng Fan Sent: Tuesday, April 6, 2021 6:03 PM To: Wu, Andy ; jh80.ch...@gmail.com; jh80.ch...@samsung.com; Mo, Yuezhang ; u-boot@lists.denx.de Cc: c...@samsung.com Subject: RE: [PAT

Re: [PATCH] stm32mp: Fix board_get_usable_ram_top()

2021-09-06 Thread Patrick DELAUNAY
Hi Patrice, On 9/1/21 9:56 AM, Patrice Chotard wrote: When booting in EFI, lib/efi_loader/efi_memory.c calls board_get_usable_ram_top(0) which returns by default gd->ram_base + gd->ram_size which is the top of DDR. In case of OPTEE boot, the top of DDR is currently reserved by OPTEE, board_get_

Re: [PATCH v2 8/9] arm: dts: ls1028a: sync the fsl-ls1028a.dtsi with linux

2021-09-06 Thread Michael Walle
Am 2021-09-01 23:59, schrieb Vladimir Oltean: > As for pcie->lut itself, simplest would be to just default to what is > now the "dbi" reg value, plus a .lut_offset determined by compatible > string, in the case of "fsl,ls1028a-pcie" 0x8, just like Linux. > > Ah, and not to mention that the r