Re: [PATCH v2 12/17] test/py: efi_secboot: remove all "re.search"

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > Currently, we don't use any regular expression in matching outputs from > U-Boot. Since its use is just redundant, we can remove all. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

[PATCH v3 2/7] board: sunxi: change trace level for phy errors managed by uclass

2020-07-03 Thread Patrick Delaunay
As the error message is now displayed by generic phy functions, the pr_err can be change to pr_idebug. Signed-off-by: Patrick Delaunay --- (no changes since v1) board/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/board.c b/board/sunxi/board.c

[PATCH v3 3/7] usb: host: ohci: change trace level for phy errors managed by uclass

2020-07-03 Thread Patrick Delaunay
As the error message is now displayed by generic phy functions, the dev_err can be change to dev_dbg. Signed-off-by: Patrick Delaunay --- (no changes since v1) drivers/usb/host/ohci-generic.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v3 1/7] phy: generic: add error trace to detect PHY issue in uclass

2020-07-03 Thread Patrick Delaunay
Add an error trace for PHY errors directly in generic phy functions provided by PHY uclass. Signed-off-by: Patrick Delaunay --- This patch is requested by Marek Vasut to avoid code duplication in usb host serie for dwc2: See http://patchwork.ozlabs.org/patch/1176048/#2297595

[PATCH v3 4/7] usb: host: ehci-hcd: change trace level for phy errors managed by uclass

2020-07-03 Thread Patrick Delaunay
As the error message is now displayed by generic phy functions, the pr_err can be change to pr_debug. Signed-off-by: Patrick Delaunay --- (no changes since v1) drivers/usb/host/ehci-hcd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c

[PATCH v3 5/7] ata: dwc-ahci: change trace level for phy errors managed by uclass

2020-07-03 Thread Patrick Delaunay
As the error message is now displayed by generic phy functions, the pr_err can be change to pr_debug. Signed-off-by: Patrick Delaunay --- (no changes since v1) drivers/ata/dwc_ahci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ata/dwc_ahci.c

Re: [RFC PATCH 4/4] linux/kconfig.h: create two- and three-argument versions of CONFIG_IS_ENABLED

2020-07-03 Thread Simon Glass
Hi, On Tue, 16 Jun 2020 at 17:31, Simon Glass wrote: > > Hi Rasmus, > > On Fri, 12 Jun 2020 at 05:02, Rasmus Villemoes > wrote: > > > > This adds a bunch of preprocessor magic to extend the capabilities of > > CONFIG_IS_ENABLED. The existing semantics of > > > > CONFIG_IS_ENABLED(FOO) > > > >

Re: PINE64 Rock64 - How to get SPI driver working

2020-07-03 Thread Johannes Krottmayer
I finally resolved the issue: => sf probe SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB => The flash device will be correctly detected. The problem was missing support in the clock driver of the SoC. Should I release a patch for it? On 24.06.20 at 17:52,

Re: [U-Boot] Pull request: u-boot-riscv/next

2020-07-03 Thread Tom Rini
On Thu, Jul 02, 2020 at 09:50:53AM +0800, ub...@andestech.com wrote: > Hi Tom, > > This PR is for -next > > Please pull some riscv updates: > > - Add Sipeed Maix support > - Update clock handler and proper cpu features > > Thanks > Rick > >

[PATCH v2 8/8] x86: fsp: Support a warning message when DRAM init is slow

2020-07-03 Thread Simon Glass
With DDR4, Intel SOCs take quite a long time to init their memory. During this time, if the user is watching, it looks like SPL has hung. Add a message in this case. This works by adding a return code to fspm_update_config() that indicates whether MRC data was found and a new property to the

[PATCH v2 7/8] x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME

2020-07-03 Thread Simon Glass
At present this enables a few arch-specific members of the global_data struct which are otherwise not part of the struct. As a result we have to use #ifdef in various places. The cost of always having these in the struct is small. Adjust things so that we can use compile-time code instead of

[PATCH v2 6/8] coral: Enable the copy framebuffer

2020-07-03 Thread Simon Glass
Enable this feature on chromebook_coral to speed up the display. With this change, the time taken to print the environment to the display without CONFIG_CONSOLE_SCROLL_LINES is reduced from 1830ms to 62ms. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 5/8] timer: Allow delays with a 32-bit microsecond timer

2020-07-03 Thread Simon Glass
The current get_timer_us() uses 64-bit arithmetic. When implementing microsecond-level timeouts, 32-bits is plenty. Add a new function to support this. Signed-off-by: Simon Glass --- (no changes since v1) include/time.h | 11 +++ lib/time.c | 5 + 2 files changed, 16

[PATCH v2 2/8] linux/kconfig.h: remove unused helper macros

2020-07-03 Thread Simon Glass
From: Rasmus Villemoes U-Boot does not have loadable modules, and nothing currently uses any of the (CONFIG_)?IS_(BUILTIN|MODULE) macros - only the (CONFIG_)?IS_ENABLED variants are ever used. While I understand the desire to keep this somewhat synchronized with linux, we've already departed by

[PATCH v2 1/8] linux/kconfig.h: simplify logic for choosing CONFIG_{SPL_, TPL_, }*

2020-07-03 Thread Simon Glass
From: Rasmus Villemoes Instead of using the arg1_or_junk trick to pick between two choices, with a bit of duplication between the branches (and most of the CONFIG_TPL_BUILD case being redundant, as _IS_TPL is known to be defined to 1 in that case), simply define a prefix that we inject between

[PATCH v2 3/8] linux/kconfig.h: create two- and three-argument versions of CONFIG_IS_ENABLED

2020-07-03 Thread Simon Glass
From: Rasmus Villemoes This adds a bunch of preprocessor magic to extend the capabilities of CONFIG_IS_ENABLED. The existing semantics of CONFIG_IS_ENABLED(FOO) expanding to a 1 or 0 (depending on build context and the defined-ness or not of the appropriate

[PATCH v2 4/8] bootstage: Fix 'stacked' typo

2020-07-03 Thread Simon Glass
This should be 'stashed'. Fix it. Signed-off-by: Simon Glass --- (no changes since v1) include/bootstage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bootstage.h b/include/bootstage.h index f507271375..00c85fb86a 100644 --- a/include/bootstage.h +++

[PATCH] rockchip: rk3328: Add SPI support

2020-07-03 Thread Johannes Krottmayer
Add U-Boot SPI support for the RK3328 Signed-off-by: Johannes Krottmayer Cc: Kever Yang Cc: Jagan Teki --- It's a initial SPI support. Not sure if "rk3399_spi_params" is also needed. Probing of the SPI flash devices works. Tested with the PINE64 Rock64 board. Okay?

[PATCH v3 0/7] phy: generic: add error trace to detect PHY issue in uclass

2020-07-03 Thread Patrick Delaunay
Hi, it is a V3 serie for [1]. After rebase 2 patches are no more needed: [v2,2/8] usb: gadget: dwc2: change trace level for phy errors managed by uclass [v2,6/8] usb: dwc3: change trace level for phy errors managed by uclass And I add a patch in this V3 serie: [PATCH v3 7/7] arm: meson:

[PATCH v3 7/7] arm: meson: change trace level for phy errors managed by uclass

2020-07-03 Thread Patrick Delaunay
As the error message is now displayed by generic phy functions, the pr_err can be change to pr_debug. Signed-off-by: Patrick Delaunay --- Changes in v3: - add update for mach-meson board-gx: new generic_phy API usage arch/arm/mach-meson/board-gx.c | 8 1 file changed, 4

[PATCH] phy: usbphyc: use regulator_set_enable_if_allowed for disabling vdd supply

2020-07-03 Thread Patrick Delaunay
Use regulator_set_enable_if_allowed() api instead of regulator_set_enable() while disabling vdd supply. This way the driver doesn't see an error when disabling an always-on regulator. This patch is needed since the commit f93fab312615 ("Revert 'power: regulator: Return success on attempt to

[PATCH] board: update test on misc_read result in board_late_init

2020-07-03 Thread Patrick Delaunay
Update management of misc_read, which now return length of data after the commit 8729b1ae2cbd ("misc: Update read() and write() methods to return bytes xfered") Fixes: 8b8b3d6b55b9 ("stm32mp1: board: add environment variable for board id and board rev") Signed-off-by: Patrick Delaunay ---

Re: [PATCH v2 14/17] test/py: efi_secboot: split "signed image" test case-1 into two cases

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > Split the existing test case-1 into case1 and a new case-2: > case-1 for non-SecureBoot mode; case-2 for SecureBoot mode. > > In addition, one corner case is added to case-2; a image is signed > but a corresponding certificate is not yet installed in

RE: [PATCH 3/3] cmd: adtimg: Refactor usage style

2020-07-03 Thread Patrick DELAUNAY
Hi Eugeniu, > From: U-Boot On Behalf Of Eugeniu Rosca > Sent: samedi 11 janvier 2020 00:30 > > Hi Tom, > > On Fri, Jan 10, 2020 at 04:50:52PM -0500, Tom Rini wrote: > > On Tue, Dec 24, 2019 at 05:51:08PM +0100, Eugeniu Rosca wrote: > > > Signed-off-by: Eugeniu Rosca > > > Reviewed-by: Sam

Re: [RFC PATCH 4/4] linux/kconfig.h: create two- and three-argument versions of CONFIG_IS_ENABLED

2020-07-03 Thread Tom Rini
On Fri, Jul 03, 2020 at 10:22:17AM -0600, Simon Glass wrote: > Hi, > > On Tue, 16 Jun 2020 at 17:31, Simon Glass wrote: > > > > Hi Rasmus, > > > > On Fri, 12 Jun 2020 at 05:02, Rasmus Villemoes > > wrote: > > > > > > This adds a bunch of preprocessor magic to extend the capabilities of > > >

[PATCH] mmc: omap_hsmmc: Set 3.3V for IO voltage on all places

2020-07-03 Thread Pali Rohár
In commit commit d2c05f50e12f ("mmc: omap_hsmmc: Set 3.3V for IO voltage") was changed 3.0V IO voltage to 3.3V but it was not done on all places in omap_hsmmc driver. That commit broke eMMC support on Nokia N900. This patch fixes that problematic commit and changes 3.0V to 3.3V on all remaining

Re: [PATCH v2 13/17] test/py: efi_secboot: fix test case 1g of test_authvar

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > In the test case (1g) of test_authvar, "db" is mistakenly used, > and it ends up being the exact same as (1f). > So correct it as "dbx" test case. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [PATCH v5 04/14] dtoc: add support to scan drivers

2020-07-03 Thread Simon Glass
Hi Walter, On Fri, 3 Jul 2020 at 05:07, Walter Lozano wrote: > > Currently dtoc scans dtbs to convert them to struct platdata and > to generate U_BOOT_DEVICE entries. These entries need to be filled > with the driver name, but at this moment the information used is the > compatible name present

[PATCH v3 6/7] usb: musb-new: sunxi: change trace level for phy errors managed by uclass

2020-07-03 Thread Patrick Delaunay
As the error message is now displayed by generic phy functions, the dev_err/pr_err can be change to dev_dbg/pr_debug. Signed-off-by: Patrick Delaunay --- (no changes since v2) Changes in v2: - Added patch after rebase: new generic_phy API usage drivers/usb/musb-new/sunxi.c | 8 1

Re: [PATCH v5 04/14] dtoc: add support to scan drivers

2020-07-03 Thread Walter Lozano
Hi Simon, On 3/7/20 13:08, Simon Glass wrote: Hi Walter, On Fri, 3 Jul 2020 at 05:07, Walter Lozano wrote: Currently dtoc scans dtbs to convert them to struct platdata and to generate U_BOOT_DEVICE entries. These entries need to be filled with the driver name, but at this moment the

[PATCH] rockchip: rock64-rk3328: Add SPI Flash support

2020-07-03 Thread Johannes Krottmayer
Add SPI Flash support for the PINE64 Rock64 board Signed-off-by: Johannes Krottmayer Cc: Kever Yang Cc: Jagan Teki --- Initial SPI Flash support. Okay? arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++ configs/rock64-rk3328_defconfig| 2 ++ 2 files changed, 8 insertions(+) diff

Re: [PATCH v4 2/3] fastboot: Add support for 'reboot fastboot' command

2020-07-03 Thread Roman Stratiienko
Looks good. Tested on my side. This patch fixes some of VtsFastbootVerification. вт, 23 июн. 2020 г. в 03:28, Roman Kovalivskyi : > > Android 10 adds support for dynamic partitions and in order to support > this userspace fastboot must be used[1]. New tool fastbootd is > included into recovery. >

Re: [PATCH v4 1/3] fastboot: Extend fastboot_set_reboot_flag with reboot reason

2020-07-03 Thread Roman Stratiienko
Reviewed-by: Roman Stratiienko вт, 23 июн. 2020 г. в 03:28, Roman Kovalivskyi : > > Extend fastboot_set_reboot_flag arguments with reboot reason so that > it could handle different reboot cases in future. > > Signed-off-by: Roman Kovalivskyi > --- > arch/arm/mach-meson/board-common.c | 6

Re: [PATCH v4 3/3] fastboot: Add default fastboot_set_reboot_flag implementation

2020-07-03 Thread Roman Stratiienko
Reviewed-by: Roman Stratiienko вт, 23 июн. 2020 г. в 03:28, Roman Kovalivskyi : > > Default implementation of fastboot_set_reboot_flag function that depends > on "bcb" commands could be used in general case if there are no need to > make any platform-specific implementation, otherwise it could

Re: [PATCH v5 04/14] dtoc: add support to scan drivers

2020-07-03 Thread Simon Glass
Hi Walter, On Fri, 3 Jul 2020 at 11:45, Walter Lozano wrote: > > Hi Simon, > > On 3/7/20 13:08, Simon Glass wrote: > > Hi Walter, > > > > On Fri, 3 Jul 2020 at 05:07, Walter Lozano > > wrote: > >> Currently dtoc scans dtbs to convert them to struct platdata and > >> to generate U_BOOT_DEVICE

Re: [PATCH v1 26/43] i2c: designware_i2c: Add a little more debugging

2020-07-03 Thread Heiko Schocher
Hello Simon, Am 15.06.2020 um 05:57 schrieb Simon Glass: Add debugging for a few more values and also use log to show return values when something goes wrong. This makes it easier to see the root cause. Signed-off-by: Simon Glass --- Changes in v1: - Add new patch to improve designware_i2c

Re: [Uboot-stm32] [PATCH v2 9/9] board: stm32mp1: move the function board_debug_uart_init in spl.c

2020-07-03 Thread Patrice CHOTARD
Hi Patrick On 5/25/20 12:19 PM, Patrick Delaunay wrote: > Move the debug function board_debug_uart_init in spl.c > as the debug_uart_init() function is called in arch_cpu_init() > only for SPL and remove the board.c file. > > For TFABOOT, the UART TX pin configuration is done in TF-A. > >

Re: [PATCH] checkpatch: fix a false check against wchar/utf-16 string

2020-07-03 Thread Heinrich Schuchardt
Am 3. Juli 2020 07:45:03 MESZ schrieb AKASHI Takahiro : >On Thu, Jul 02, 2020 at 04:26:34PM -0400, Tom Rini wrote: >> On Thu, Jul 02, 2020 at 07:00:04PM +0200, Heinrich Schuchardt wrote: >> > On 16.06.20 16:17, Tom Rini wrote: >> > > On Tue, Jun 16, 2020 at 02:43:07PM +0900, AKASHI Takahiro

RE: [PATCH v2 1/5] dt-bindings: prci: add indexes for reset signals available in prci

2020-07-03 Thread Sagar Kadam
Hi Jagan, > -Original Message- > From: Jagan Teki > Sent: Friday, July 3, 2020 12:04 PM > To: Sagar Kadam > Cc: U-Boot-Denx ; Rick Chen ; > Paul Walmsley ( Sifive) ; Palmer Dabbelt > ; Anup Patel ; Atish Patra > ; Lukasz Majewski ; Pragnesh > Patel ; bin.m...@windriver.com; Simon Glass

Re: [PATCH 06/13] arm: mach-k3: am6_init: Do USB fixups to facilitate host and device boot modes

2020-07-03 Thread Vignesh Raghavendra
Hi, On 02/07/20 1:32 pm, Faiz Abbas wrote: [...] > int am6_spl_early_init(void) Can this be static or do you intend to use this outside of this func file? > +{ > + int ret; > +#if CONFIG_VAL(SYS_MALLOC_F_LEN) > +#ifdef CONFIG_MALLOC_F_ADDR > + gd->malloc_base = CONFIG_MALLOC_F_ADDR; >

Re: [U-Boot] Pull request: u-boot-riscv/master

2020-07-03 Thread Rick Chen
> From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Thursday, July 02, 2020 9:53 PM > To: Open Source Project uboot > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master > > On Thu, Jul 02, 2020 at 10:51:48AM +0800, ub...@andestech.com

RE: [PATCH v2 1/5] dt-bindings: prci: add indexes for reset signals available in prci

2020-07-03 Thread Sagar Kadam
> -Original Message- > From: U-Boot On Behalf Of Sagar Kadam > Sent: Monday, June 29, 2020 9:37 PM > To: Jagan Teki > Cc: U-Boot-Denx ; Rick Chen ; > Paul Walmsley ( Sifive) ; Palmer Dabbelt > ; Anup Patel ; Atish Patra > ; Lukasz Majewski ; Pragnesh > Patel ; bin.m...@windriver.com;

Re: [PATCH v2 1/5] dt-bindings: prci: add indexes for reset signals available in prci

2020-07-03 Thread Jagan Teki
On Fri, Jul 3, 2020 at 11:52 AM Sagar Kadam wrote: > > > > -Original Message- > > From: U-Boot On Behalf Of Sagar Kadam > > Sent: Monday, June 29, 2020 9:37 PM > > To: Jagan Teki > > Cc: U-Boot-Denx ; Rick Chen ; > > Paul Walmsley ( Sifive) ; Palmer Dabbelt > > ; Anup Patel ; Atish

Re: [Uboot-stm32] [PATCH v2 7/9] board: stm32mp1: update vddcore in SPL

2020-07-03 Thread Patrice CHOTARD
Hi Patrick On 5/25/20 12:19 PM, Patrick Delaunay wrote: > For board using STPMIC1, the vddcore is provided by BUCK1 of STPMIC1 > and need to be updated for 800MHz support and only after the clock > tree initialization. > > The VDDCORE voltage value is provided by clock driver, saved in global >

Re: [Uboot-stm32] [PATCH v2 8/9] ARM: dts: stm32mp1: use OPP information for PLL1 settings in SPL

2020-07-03 Thread Patrice CHOTARD
HI Patrick On 5/25/20 12:19 PM, Patrick Delaunay wrote: > This patch allows to switch the CPU frequency to 800MHz on the > ST Microelectronics board (DK1/DK2 and EV1) or dh electronics SOM > using the STM32MP15x SOC and when it is supported by the HW > (for STM32MP15xD and STM32MP15xF). > >

[U-Boot] Pull request: u-boot-riscv/master 2020-07-02(2)

2020-07-03 Thread uboot
Hi Tom, This is version two of PR send by 7/2 Drop patchs about sysreset [PATCH 1/5] sysreset: syscon: Don't assume default value for offset and mask property [PATCH 2/5] sysreset: syscon: Support value property [PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support Please pull some

Re: [PATCH v3 04/14] i2c: add nexell driver

2020-07-03 Thread Heiko Schocher
Hello Stefan, Am 29.06.2020 um 19:46 schrieb Stefan Bosch: Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01: - i2c/nx_i2c.c: Some adaptions mainly because of changes in "struct udevice". - several Bugfixes in nx_i2c.c. - the driver has been for s5p6818 only. Code extended

Re: [PATCH v1 27/43] i2c: Add log_ret() on error

2020-07-03 Thread Heiko Schocher
Hello Simon, Am 15.06.2020 um 05:57 schrieb Simon Glass: Add a few of these calls to make it easier to see where an error occurs, if CONFIG_LOG_ERROR_RETURN is enabled. Signed-off-by: Simon Glass --- drivers/i2c/i2c-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH v1 28/43] i2c: designware_i2c: Support ACPI table generation

2020-07-03 Thread Heiko Schocher
Hello Simon, Am 15.06.2020 um 05:57 schrieb Simon Glass: Update the PCI driver to generate ACPI information so that Linux has the full information about each I2C bus. Signed-off-by: Simon Glass --- Changes in v1: - Capitalise ACPI_OPS_PTR drivers/i2c/designware_i2c.c | 25

Re: [U-Boot] Pull request: u-boot-riscv/master

2020-07-03 Thread Bin Meng
Hi Rick, On Fri, Jul 3, 2020 at 2:01 PM Rick Chen wrote: > > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Thursday, July 02, 2020 9:53 PM > > To: Open Source Project uboot > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master

Re: [PATCH v2 6/9] board: st: stpmic1: add function stpmic1_init

2020-07-03 Thread Patrice CHOTARD
Hi Patrick On 5/25/20 12:19 PM, Patrick Delaunay wrote: > Add a function stmpic_init to early initialize the PMIC STPMIC1 > - keep vdd on during the reset cycle (to avoid issue when backup battery > is absent) > - Check if debug is enabled to program PMIC according to the bit > > This patch

[PATCH] sunxi: Add support for using UART4 as console on A64

2020-07-03 Thread Nazım Gediz Aydındoğmuş
Add some additional tests and definitions to be able to use UART4 of A64 and do not let it get in conflict with R_UART of some other SoCs (e.g. A23). Signed-off-by: Nazım Gediz Aydındoğmuş --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 4

Re: [PATCH v2 02/17] Revert "test: stabilize test_efi_secboot"

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > This reverts commit 5827c2545849441dd60467565aac11964259972f. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [PATCH v2 01/17] efi_loader: change efi objects initialization order

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > The simplest solution to revert the commit b32ac16f9a32 ("test/py: fix > test_efi_secboot/conftest.py") is to move efi_console_register() > forward before efi_disk_register(). > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [PATCH v2 05/17] efi_loader: image_loader: replace debug to EFI_PRINT

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > Just for style consistency, replace all the uses of debug() to > EFI_PRINT() in efi_image_loader.c. > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [PATCH v2 09/17] efi_loader: signature: make efi_hash_regions more generic

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > There are a couple of occurrences of hash calculations in which a new > efi_hash_regions will be commonly used. Please, describe the difference. Do you want to calculate the hash over an interval of regions? > > Signed-off-by: AKASHI Takahiro

Re: [PATCH v4 04/14] dtoc: add support to scan drivers

2020-07-03 Thread Walter Lozano
On 2/7/20 16:47, Simon Glass wrote: Hi Walter, On Thu, 25 Jun 2020 at 19:43, Simon Glass wrote: On Wed, 24 Jun 2020 at 22:10, Walter Lozano wrote: Currently dtoc scans dtbs to convert them to struct platdata and to generate U_BOOT_DEVICE entries. These entries need to be filled with the

Re: [PATCH v2 03/17] efi_loader: signature: replace debug to EFI_PRINT

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > Just for style consistency, replace all the uses of debug to > EFI_PRINT in efi_signature.c > > Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [PATCH v2 08/17] efi_loader: signature: fix a size check against revocation list

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > Since the size check against an entry in efi_search_siglist() is > incorrect, this function will never find out a to-be-matched certificate > and its associated revocation time in the signature list. > > Signed-off-by: AKASHI Takahiro > --- >

Re: [PATCH] rockchip: rk3288: Add OF board setup

2020-07-03 Thread Jagan Teki
On Thu, Jul 2, 2020 at 7:26 PM Robin Murphy wrote: > > On 2020-07-02 09:48, Jagan Teki wrote: > > The new rk3288 revision rk3288w has some changes with respect > > to legacy rk3288 like hclk_vio and usb host0 ohci. > > > > In order to work these on the same in Linux kernel update the > >

Re: [PATCH v2 06/17] efi_loader: image_loader: add a check against certificate type of authenticode

2020-07-03 Thread Heinrich Schuchardt
On 09.06.20 07:09, AKASHI Takahiro wrote: > UEFI specification requires that we shall support three type of > certificates of authenticode in PE image: > WIN_CERT_TYPE_EFI_GUID with the guid, EFI_CERT_TYPE_PCKS7_GUID > WIN_CERT_TYPE_PKCS_SIGNED_DATA > WIN_CERT_TYPE_EFI_PKCS1_15 > > As EDK2

[PATCH v5 04/14] dtoc: add support to scan drivers

2020-07-03 Thread Walter Lozano
Currently dtoc scans dtbs to convert them to struct platdata and to generate U_BOOT_DEVICE entries. These entries need to be filled with the driver name, but at this moment the information used is the compatible name present in the dtb. This causes that only nodes with a compatible name that

[PATCH] Convert CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SYS_MMCSD_FS_BOOT_PARTITION Signed-off-by: Adam Ford diff --git a/README b/README index 6bac583666..b45c7b27d7 100644 --- a/README +++ b/README @@ -2275,10 +2275,6 @@ The following options need to be configured: parameters from

Re: [PATCH 06/17] xen: Port Xen event channel driver from mini-os

2020-07-03 Thread Anastasiia Lukianenko
Hello Simon, On Thu, 2020-07-02 at 21:50 -0600, Simon Glass wrote: > Hi, > > On Wed, 1 Jul 2020 at 10:30, Anastasiia Lukianenko < > vicooo...@gmail.com> wrote: > > > > From: Oleksandr Andrushchenko > > > > Make required updates to run on u-boot. Strip functionality > > not needed by U-boot. >

Chainloading U-Boot from Fastboot on Tegra30

2020-07-03 Thread Peter Geis
Good Morning, I am attempting to expand on the work for chainloading U-Boot on the nyan-big in order to chainload U-Boot on the Ouya Tegra30 device from fastboot. I have so far been unsuccessful at getting any output from U-Boot through this method. I'm building the cardhu board with tweaks for

Re: [PATCH 1/3] video: add support for drawing 8bpp bitmap on 32bpp framebuffer

2020-07-03 Thread Anatolij Gustschin
Hi Igor, On Fri, 3 Jul 2020 15:42:08 +0300 Igor Opaniuk igor.opan...@gmail.com wrote: ... > Thanks, I also successfully tested it on Toradex modules. OK, thanks for testing! -- Anatolij

Re: [PATCH 07/17] serial: serial_xen: Add Xen PV serial driver

2020-07-03 Thread Anastasiia Lukianenko
Hello Simon, On Thu, 2020-07-02 at 21:50 -0600, Simon Glass wrote: > Hi Anastasiia, > > On Wed, 1 Jul 2020 at 10:30, Anastasiia Lukianenko < > vicooo...@gmail.com> wrote: > > > > From: Peng Fan > > > > Add support for Xen para-virtualized serial driver. This > > driver fully supports serial

[PATCH 1/2] Convert CONFIG_SPL_NAND_DRIVERS et al to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_DRIVERS CONFIG_SPL_NAND_ECC CONFIG_SPL_NAND_SIMPLE Signed-off-by: Adam Ford --- The following appear as 'suspicious' but I think it's because they don't have SPL enabled: at91sam9x5ek_nandflash_defconfig k2e_hs_evm_defconfig

Re: [PATCH 11/17] xen: Port Xen grant table driver from mini-os

2020-07-03 Thread Anastasiia Lukianenko
Hi Julien, On Wed, 2020-07-01 at 17:59 +0100, Julien Grall wrote: > > On 01/07/2020 17:29, Anastasiia Lukianenko wrote: > > From: Oleksandr Andrushchenko > > > > Make required updates to run on u-boot. > > > > Signed-off-by: Oleksandr Andrushchenko < > > oleksandr_andrushche...@epam.com> > >

[PATCH 2/2] Convert CONFIG_SPL_NAND_BASE et al to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_SPL_NAND_BASE CONFIG_SPL_NAND_IDENT Signed-off-by: Adam Ford diff --git a/README b/README index b6d368041c..60d8e77256 100644 --- a/README +++ b/README @@ -2307,8 +2307,6 @@ The following options need to be configured:

Re: [PATCH 12/17] xen: pvblock: Add initial support for para-virtualized block driver

2020-07-03 Thread Anastasiia Lukianenko
Hi Heinrich, On Thu, 2020-07-02 at 06:17 +0200, Heinrich Schuchardt wrote: > On 7/1/20 6:29 PM, Anastasiia Lukianenko wrote: > > From: Anastasiia Lukianenko > > > > Add initial infrastructure for Xen para-virtualized block device. > > This includes compile-time configuration and the skeleton

Re: [PATCH 01/17] armv8: Fix SMCC and ARM_PSCI_FW dependencies

2020-07-03 Thread Nastya Vicodin
On Thu, Jul 2, 2020 at 4:14 AM Peng Fan wrote: > > > Subject: [PATCH 01/17] armv8: Fix SMCC and ARM_PSCI_FW dependencies > > > > From: Oleksandr Andrushchenko > > > > Currently SMCC selects ARM_PSCI_FW if enabled which is not correct as > > there are cases that PSCI can function without firmware

[PATCH v3 0/2] gpio: Add a managed API

2020-07-03 Thread Pratyush Yadav
Hi, This is a re-submission of Jean-Jacques' earlier work in October last year. It can be fount at [0]. The goal is to facilitate porting drivers from the linux kernel. Most of the series will be about adding managed API to existing infrastructure (GPIO, reset, regmap (already submitted)). This

[PATCH v3 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree

2020-07-03 Thread Pratyush Yadav
From: Jean-Jacques Hiblot Add managed functions to get a gpio from the devce-tree, based on a property name (minus the '-gpios' suffix) and optionally an index. When the device is unbound, the GPIO is automatically released and the data structure is freed. Signed-off-by: Jean-Jacques Hiblot

Re: [PATCH] rockchip: rk3288: Add OF board setup

2020-07-03 Thread Robin Murphy
On 2020-07-03 11:10, Jagan Teki wrote: On Thu, Jul 2, 2020 at 7:26 PM Robin Murphy wrote: On 2020-07-02 09:48, Jagan Teki wrote: The new rk3288 revision rk3288w has some changes with respect to legacy rk3288 like hclk_vio and usb host0 ohci. In order to work these on the same in Linux

[PATCH] Convert CONFIG_DRIVER_TI_EMAC_USE_RMII to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_DRIVER_TI_EMAC_USE_RMII Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index 58fb91c1c5..a78a596d4d 100644 --- a/configs/am3517_evm_defconfig +++ b/configs/am3517_evm_defconfig @@ -62,6 +62,7 @@

Re: [PATCH 05/17] xen: Port Xen hypervizor related code from mini-os

2020-07-03 Thread Anastasiia Lukianenko
Hi Julien, On Wed, 2020-07-01 at 18:46 +0100, Julien Grall wrote: > Title: s/hypervizor/hypervisor/ Thank you for pointing :) I will fix it in the next version. > > On 01/07/2020 17:29, Anastasiia Lukianenko wrote: > > From: Oleksandr Andrushchenko > > > > Port hypervizor related code from

[PATCH v3 2/2] test: gpio: Add tests for the managed API

2020-07-03 Thread Pratyush Yadav
From: Jean-Jacques Hiblot Add a test to verify that GPIOs can be acquired/released using the managed API. Also check that the GPIOs are released when the consumer device is removed. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Simon Glass Signed-off-by: Pratyush Yadav ---

Re: [PATCH 02/17] Kconfig: Introduce CONFIG_XEN

2020-07-03 Thread Anastasiia Lukianenko
Hi Simon, On Thu, 2020-07-02 at 21:50 -0600, Simon Glass wrote: > Hi Anastasiia, > > On Wed, 1 Jul 2020 at 10:30, Anastasiia Lukianenko < > vicooo...@gmail.com> wrote: > > > > From: Peng Fan > > > > Introduce CONFIG_XEN to make U-Boot could be used as bootloader > > for a virtual machine. > >

Re: [PATCH 1/3] video: add support for drawing 8bpp bitmap on 32bpp framebuffer

2020-07-03 Thread Igor Opaniuk
Hi Anatolij, On Mon, Jun 29, 2020, 10:52 Anatolij Gustschin wrote: > Hi Igor, > > On Tue, 23 Jun 2020 14:40:45 +0300 > Igor Opaniuk igor.opan...@gmail.com wrote: > ... > > Any chance to get this merged? > > I've merged another reworked patch to fix the logo drawing problem. > Thanks, I also

Re: [PATCH 08/17] linux/compat.h: Add wait_event_timeout macro

2020-07-03 Thread Anastasiia Lukianenko
Hi Heinrich, On Thu, 2020-07-02 at 06:08 +0200, Heinrich Schuchardt wrote: > On 7/1/20 6:29 PM, Anastasiia Lukianenko wrote: > > From: Oleksandr Andrushchenko > > > > Add wait_event_timeout - sleep until a condition gets true or a > > timeout elapses. > > > > This is a stripped version of the

Re: [PATCH] rockchip: rk3288: Add OF board setup

2020-07-03 Thread Jagan Teki
On Fri, Jul 3, 2020 at 6:09 PM Robin Murphy wrote: > > On 2020-07-03 11:10, Jagan Teki wrote: > > On Thu, Jul 2, 2020 at 7:26 PM Robin Murphy wrote: > >> > >> On 2020-07-02 09:48, Jagan Teki wrote: > >>> The new rk3288 revision rk3288w has some changes with respect > >>> to legacy rk3288 like

Re: [PATCH 05/17] xen: Port Xen hypervizor related code from mini-os

2020-07-03 Thread Julien Grall
Hi, On 03/07/2020 13:21, Anastasiia Lukianenko wrote: Hi Julien, On Wed, 2020-07-01 at 18:46 +0100, Julien Grall wrote: Title: s/hypervizor/hypervisor/ Thank you for pointing :) I will fix it in the next version. On 01/07/2020 17:29, Anastasiia Lukianenko wrote: From: Oleksandr

[PATCH] Convert CONFIG_BOOTP_DNS2 to Kconfig

2020-07-03 Thread Adam Ford
The Kconfig already has BOOTP_DNS2, but not all boards have been converted. This finishes converting the following to Kconfig: CONFIG_BOOTP_DNS2 Signed-off-by: Adam Ford diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index 326882908b..4e6a3ca446 100644 ---

[PATCH] Convert CONFIG_BOOTP_SEND_HOSTNAME to Kconfig

2020-07-03 Thread Adam Ford
This converts the following to Kconfig: CONFIG_BOOTP_SEND_HOSTNAME Signed-off-by: Adam Ford diff --git a/README b/README index 60d8e77256..6bac583666 100644 --- a/README +++ b/README @@ -1427,7 +1427,6 @@ The following options need to be configured: CONFIG_BOOTP_NISDOMAIN

[PATCH] configs: Remove dead CONFIG options

2020-07-03 Thread Adam Ford
BOOTP_DEFAULT is defined in several boards, but this config option is never checked or used. This patch removes this config option from config files and the whitelist.txt Signed-off-by: Adam Ford diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h index

Re: [PATCH 12/17] xen: pvblock: Add initial support for para-virtualized block driver

2020-07-03 Thread Anastasiia Lukianenko
Hi Heinrich, On Thu, 2020-07-02 at 06:29 +0200, Heinrich Schuchardt wrote: > On 7/1/20 6:29 PM, Anastasiia Lukianenko wrote: > > From: Anastasiia Lukianenko > > > > Add initial infrastructure for Xen para-virtualized block device. > > This includes compile-time configuration and the skeleton