[PATCH 5/7 v4] doc: uefi.rst: Add OP-TEE variable storage config options

2020-05-17 Thread Ilias Apalodimas
If OP-TEE is compiled with an EDK2 application running in secure world it can process and store UEFI variables in an RPMB. Add documentation for the config options enabling this. Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- doc/uefi/uefi.rst | 17 + 1 fil

Re: [PATCH v2] net: tftp: Add client support for RFC 7440

2020-05-17 Thread Beniamino Galvani
On Sat, May 16, 2020 at 10:49:50PM +0300, Ramon Fried wrote: > [...] > index be9e6391d6..b85b44201f 100644 > --- a/README > +++ b/README > @@ -3522,6 +3522,11 @@ List of environment variables (most likely not > complete): > downloads succeed with high packet loss rates, or with >

Re: [PATCH 1/2] test/py: efi_secboot should not assume sbin is in the path

2020-05-17 Thread AKASHI Takahiro
On Fri, May 15, 2020 at 05:39:31PM +0200, Heinrich Schuchardt wrote: > On 22.04.20 17:52, Heinrich Schuchardt wrote: > > For non-root users /sbin is typically not in the path. So use absolute > > paths to mkfs.vfat and sgdisk. > > Ilias pointed me to virt-make-fs (Debian package libguestfs-tools).

Re: [PATCH 03/10] efi_loader: define UpdateCapsule api

2020-05-17 Thread AKASHI Takahiro
Heinrich, On Sun, May 17, 2020 at 10:02:08AM +0200, Heinrich Schuchardt wrote: > On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > > In this commit, skeleton functions for capsule-related API's are > > added under CONFIG_EFI_UPDATE_CAPSULE configuration. > > Detailed implementation for a specific caps

Re: [PATCH 02/10] efi_loader: add option to initialise EFI subsystem early

2020-05-17 Thread AKASHI Takahiro
Heinrich, On Sun, May 17, 2020 at 09:29:44AM +0200, Heinrich Schuchardt wrote: > On 4/28/20 2:16 AM, AKASHI Takahiro wrote: > > Heinrich, > > > > On Mon, Apr 27, 2020 at 10:09:11PM +0200, Heinrich Schuchardt wrote: > >> On 4/27/20 11:48 AM, AKASHI Takahiro wrote: > >>> If this option is enabled, t

Re: [PATCH 02/10] kconfig: Add scripts/Kconfig.include from v4.19

2020-05-17 Thread Masahiro Yamada
Tom, On Thu, May 14, 2020 at 9:32 PM Tom Rini wrote: > > As part of re-syncing our Kconfig logic up to v4.19, we had missed > adding this new file that includes helper macros. To quote the upstream > commit e1cfdc0e72fc ("kconfig: add basic helper macros to > scripts/Kconfig.include"): > > Kc

[PATCH 1/3] x86: spi: Add a way to access the SPI mapping via registers

2020-05-17 Thread Simon Glass
At present the PCI BDF (bus/device/function) is needed to access the SPI mapping, since the registers are at BAR0. This doesn't work when PCI auto-config has not been done yet, since BARs are unassigned. Add another way to find the mapping, using the MMIO base, if the caller knows this. Also add

[PATCH 2/3] x86: spi: Rewrite logic for obtaining the SPI memory map

2020-05-17 Thread Simon Glass
At present this logic does not work on link and samus, since their SPI controller is not a PCI device, but a child of the PCH. Unfortunately, fixing this involves a lot of extra logic. Still, this was requested in the review of the fix-up patch, so here it is. Signed-off-by: Simon Glass Fixes: 9

[PATCH 3/3] x86: spl: Print the error on SPL failure

2020-05-17 Thread Simon Glass
The error code is often useful to figure out what is going on. Printing it does not increase code size much, so print out the error and then hang. Signed-off-by: Simon Glass --- arch/x86/lib/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/lib/spl.c b/arch/

[PATCH 0/3] x86: Correct SPI memory-mapping query

2020-05-17 Thread Simon Glass
This little series makes the SPI memory-mapping query work on all current x86 boards where possible, returning an error code (rather than hanging) when it fails. It replaces the previous patch at [1]. Unfortunately it is quite a bit more complicated. This fixes booting on link and samus. [1] ht

Re: [PATCH v3 1/3] arch: x86: apl: Only load VBT if CONFIG_HAVE_VBT is enabled

2020-05-17 Thread Simon Glass
On Tue, 12 May 2020 at 01:35, Bernhard Messerklinger wrote: > > Only load VBT if it's present in the u-boot.rom. > > Signed-off-by: Bernhard Messerklinger > > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/cpu/apollolake/fsp_s.c | 46 ++--- > 1 file c

Re: [PATCH v3 3/3] arch: x86: apl: Use devicetree for FSP-S configuration

2020-05-17 Thread Simon Glass
On Tue, 12 May 2020 at 01:35, Bernhard Messerklinger wrote: > > A the moment the FSP-S configuration is a mix of hard coded values and > devicetree properties. > This patch makes FSP-S full configurable from devicetree by > adding binding properties for all FSP-S parameters. > Co-developed-by: Wol

Re: [PATCH v3 2/3] arch: x86: apl: Use devicetree for FSP-M configuration

2020-05-17 Thread Simon Glass
On Tue, 12 May 2020 at 01:35, Bernhard Messerklinger wrote: > > A the moment the FSP-M configuration is a mix of hard coded values and > devicetree properties. > This patch makes FSP-M full configurable from devicetree by adding > binding properties for all FSP-M parameters. > Co-developed-by: Wol

Re: [PATCH 1/5] libfdt: Export overlay_apply_node() as fdt_overlay_apply_node()

2020-05-17 Thread Simon Glass
On Sat, 16 May 2020 at 13:55, Marek Vasut wrote: > > On 4/20/20 1:37 AM, Simon Glass wrote: > > Hi Marek, > > > > On Sat, 11 Apr 2020 at 14:01, Marek Vasut wrote: > >> > >> This function is useful to merge a subset of DT into another DT, for > >> example if some prior-stage firmware passes a DT f

Re: [PATCH] mpc83xx, abb: remove suvd3 board

2020-05-17 Thread Heiko Schocher
Hello Mario, added Tom to cc Am 09.04.2020 um 07:13 schrieb Heiko Schocher: Hello Mario, Am 18.02.2020 um 18:03 schrieb Heiko Schocher: the mpc83xxx suvd3 variant is not longer used, so remove it. Signed-off-by: Holger Brunck Signed-off-by: Heiko Schocher --- Travis build: https://travis-

Re: [PATCH] bdinfo: Show information about fdt blob via bdinfo

2020-05-17 Thread Heiko Schocher
Hello Tom, Am 09.04.2020 um 07:14 schrieb Heiko Schocher: Hello Tom, Am 19.02.2020 um 06:19 schrieb Heiko Schocher: PowerPC target supports OF booting, so print the fdt address and size in bdinfo. Signed-off-by: Heiko Schocher --- Travis build: https://travis-ci.org/hsdenx/u-boot-test/builds

Re: [PATCH] bdinfo: Show information about fdt blob via bdinfo

2020-05-17 Thread Bin Meng
Hi Heiko, On Mon, May 18, 2020 at 12:28 PM Heiko Schocher wrote: > > Hello Tom, > > Am 09.04.2020 um 07:14 schrieb Heiko Schocher: > > Hello Tom, > > > > Am 19.02.2020 um 06:19 schrieb Heiko Schocher: > >> PowerPC target supports OF booting, so print the > >> fdt address and size in bdinfo. > >>

[PATCH] arm: mach-k3: Enable dcache in SPL

2020-05-17 Thread Jan Kiszka
From: Jan Kiszka Add support for enabling dcache already in SPL. It accelerates the boot and resolves the risk to run into unaligned 64-bit accesses. Based on original patch by Lokesh Vulta. Signed-off-by: Jan Kiszka --- arch/arm/mach-k3/am6_init.c | 1 + arch/arm/mach-k3/common.c | 35

Re: [PATCH v2] efi_loader: round the memory area in efi_add_memory_map()

2020-05-17 Thread Matthias Brugger
On 17/05/2020 12:29, Michael Walle wrote: > Virtually all callers of this function do the rounding on their own. > Some do it right, some don't. Instead of doing this in each caller, > do the rounding in efi_add_memory_map(). Change the size parameter > to bytes instead of pages and remove align

Pull request for UEFI sub-system for efi-2020-07-rc3

2020-05-17 Thread Heinrich Schuchardt
The following changes since commit 515f613253cf0a892c3a321770ab927fa3d925cf: Merge branch '2020-05-15-kconfig-migrations' (2020-05-15 21:44:46 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-07-rc3 for you to fetch changes

<    1   2