Re: [U-Boot] [PATCH 1/4] arm64: dts: rk3399-rock960: add vdd_log and its init value

2019-11-16 Thread Kever Yang
Hi Peter, On 2019/11/15 下午9:17, Peter Robinson wrote: On Wed, Nov 13, 2019 at 3:14 AM Kever Yang wrote: Add vdd_log node according to rock960 schematic V13. This patch affect two boards: - Rock960 Model A - Ficus Signed-off-by: Kever Yang Is there a reason this is getting added to the -u-bo

Re: [U-Boot] [BUG] U-Boot hangs on fatload, commit ee88eacbdd840199a3dec707234579fb15ddd46a

2019-11-16 Thread Stefan Roese
Hi Heinrich, (+Chris) On 16.11.19 11:11, Heinrich Schuchardt wrote: Hello Stefan, Gray reporting this bug unfortunately did not provide enough information to analyze his issue. Are you aware of any restrictions of the Kirkwood 88F6281 SoC concerning unaligned access after enabling the unalign

[U-Boot] [PATCH] input: Move input.o to be built only in some cases

2019-11-16 Thread Tom Rini
We only need to build and link input.o when we have any of CONFIG_KEYBOARD, CONFIG_DM_KEYBOARD (and SPL/TPL variants) or CONFIG_TEGRA_KEYBOARD set. Signed-off-by: Tom Rini --- drivers/input/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/Makefile

Re: [U-Boot] [PATCH 16/16] efi_loader, pytest: add UEFI secure boot tests (image)

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:53 AM, AKASHI Takahiro wrote: Provide test cases for * image authentication for signed images (test_efi_secboot/test_signed.py) * image authentication for unsigned images (test_efi_secboot/test_unsigned.py) Signed-off-by: AKASHI Takahiro --- test/py/tests/test_efi_se

Re: [U-Boot] [PATCH 15/16] efi_loader, pytest: add UEFI secure boot tests (authenticated variables)

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:53 AM, AKASHI Takahiro wrote: Provide a couple of test cases for variable authentication. Please, tell us more in the commit message. Signed-off-by: AKASHI Takahiro --- .../py/tests/test_efi_secboot/test_authvar.py | 289 ++ 1 file changed, 289 insertions(+)

Re: [U-Boot] [PATCH 14/16] efi_loader, pytest: set up secure boot environment

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:53 AM, AKASHI Takahiro wrote: A fixture for UEFI secure boot tests (image authentication and variable authentication) is defined. A small file system with test data in a single partition formatted in fat is created. Why do we need a file system? That seems overly complicated. Can

Re: [U-Boot] [PATCH 12/16] cmd: env: use appropriate guid for authenticated UEFI variable

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:53 AM, AKASHI Takahiro wrote: A signature database variable is associated with a specific guid. For convenience, if user doesn't supply any guid info, "env set|print -e" should complement it. If secure boot is enforced, users should not be able to change any security relevant vari

Re: [U-Boot] [PATCH 07/16] efi_loader: variable: support variable authentication

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:52 AM, AKASHI Takahiro wrote: With this commit, EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS is supported for authenticated variables and the system secure state will transfer between setup mode and user mode as UEFI specification section 32.3 describes. Internally, authentic

Re: [U-Boot] [PATCH 05/16] efi_loader: add signature verification functions

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:52 AM, AKASHI Takahiro wrote: In this commit, implemented are a couple of helper functions which will be used to materialize variable authentication as well as image authentication in later patches. In which patch do you implement the unit tests for the new functions? I would expe

[U-Boot] [PATCH] rockchip: i2c: don't sent stop bit after each message

2019-11-16 Thread Vasily Khoruzhick
That's not correct and it breaks SMBUS-style reads and and writes for some chips (e.g. SYR82X/SYR83X). Stop bit should be sent only after the last message. Signed-off-by: Vasily Khoruzhick --- drivers/i2c/rk_i2c.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH] power: fan53555: add support for Silergy SYR82X and SYR83X

2019-11-16 Thread Vasily Khoruzhick
SYR82X and SYR83X are almost identical to FAN53555, the only difference is different die ID and revision, voltage ranges and steps. Signed-off-by: Vasily Khoruzhick --- drivers/power/pmic/fan53555.c | 7 +++-- drivers/power/regulator/fan53555.c | 45 ++ include/

Re: [U-Boot] [PATCH 02/16] include: image.h: export hash algorithm helper functions

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:52 AM, AKASHI Takahiro wrote: This commit allows us to use common/image-sig.c even if CONFIG_FIT is disabled but CONFIG_EFI_LOADER is enabled. Signed-off-by: AKASHI Takahiro --- include/image.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inclu

Re: [U-Boot] [PATCH 01/16] include: pe.h: add signature-related definitions

2019-11-16 Thread Heinrich Schuchardt
On 11/13/19 1:52 AM, AKASHI Takahiro wrote: The index (IMAGE_DIRECTORY_ENTRY_CERTTABLE) in a table points to a region containing authentication information (image's signature) in PE format. WIN_CERTIFICATE structure defines an embedded signature format. Those definitions will be used in my UEFI

[U-Boot] [PATCH] ARM: rmobile: Temporarily disable PCI dma-ranges update

2019-11-16 Thread Marek Vasut
According to discussion in the Linux PCI list [1], the dma-ranges should be continuous and describe the entire inbound window which the controller can address and not take into account the possible DRAM holes. Temporarily disable this code which updates the dma-ranges until this meaning is sorted

Re: [U-Boot] [PATCH v1] arm: socfpga: Enable Stratix10 SMMU access

2019-11-16 Thread Marek Vasut
On 11/15/19 6:20 PM, Thor Thayer wrote: > > Enable TCU access through the Stratix10 CCU so that the > SMMU can access the SDRAM. > [...] Looks good to me. Ley, can you take a look? Thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.den

Re: [U-Boot] [BUG] U-Boot hangs on fatload, commit ee88eacbdd840199a3dec707234579fb15ddd46a

2019-11-16 Thread Heinrich Schuchardt
Hello Stefan, Gray reporting this bug unfortunately did not provide enough information to analyze his issue. Are you aware of any restrictions of the Kirkwood 88F6281 SoC concerning unaligned access after enabling the unaligned flag? Do you have access to a device with a Kirkwood processor