Re: [U-Boot] [PATCH v3 2/5] spi: add spi-mem driver for MediaTek MT7629 SoC

2019-06-13 Thread Vignesh Raghavendra
On 12/06/19 9:26 PM, Jagan Teki wrote: > + Vignesh > > On Tue, May 14, 2019 at 7:11 AM Weijie Gao wrote: >> >> This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR >> and SPI-NAND flashes. >> >> Cc: Jagan Teki >> Signed-off-by: Weijie Gao >> --- >> Changes since v1:

Re: [U-Boot] [PATCH] mx6sxsabresd: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

2019-06-13 Thread Fabio Estevam
On Thu, Jun 13, 2019 at 6:10 PM Breno Matheus Lima wrote: > > Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support > for it. > > Signed-off-by: Breno Lima Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] mx6sxsabresd: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

2019-06-13 Thread Peng Fan
> Subject: [PATCH] mx6sxsabresd: imximage.cfg: Handle the > CONFIG_SECURE_BOOT case > > Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support for it. > > Signed-off-by: Breno Lima > --- > board/freescale/mx6sxsabresd/imximage.cfg | 7 +++ > 1 file changed, 7 insertions(+) >

[U-Boot] [PATCH] ARM: bcm2835: (Raspberry Pi) Fix issue on SD Host driver, where wait_transfer_complete was not waiting long enough

2019-06-13 Thread Raul Benet
Function bcm_2835_wait_transfer_complete() on driver/mmc/bcm2835_sdhost.c (used on Raspberry Pi platform), was not waiting long enough for transfer to complete. The previous code was claiming to wait for ~1 seconds, but my measurements on a RPi 3B+ indicated a maximum wait of 12 ms. Measured using

Re: [U-Boot] rtl8169: use dm_pci_map_bar

2019-06-13 Thread Patrick Wildt
On Thu, Jun 13, 2019 at 06:43:25PM +0200, Thierry Reding wrote: > On Thu, Jun 13, 2019 at 03:16:10PM +0800, Bin Meng wrote: > > Hi Stefan, > > > > On Thu, Jun 13, 2019 at 1:40 PM Stefan Roese wrote: > > > > > > Added Bin, Joe and Thierry to Cc > > > > > > On 11.06.19 13:15, Patrick Wildt wrote:

[U-Boot] [PATCH] mx6sxsabresd: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

2019-06-13 Thread Breno Matheus Lima
Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support for it. Signed-off-by: Breno Lima --- board/freescale/mx6sxsabresd/imximage.cfg | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/freescale/mx6sxsabresd/imximage.cfg b/board/freescale/mx6sxsabresd/imximage.cfg

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Marek Vasut
On 6/13/19 11:00 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Do., 13. > Juni 2019, 22:56: > > On 6/13/19 10:55 PM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de> > >>

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Simon Goldschmidt
Marek Vasut schrieb am Do., 13. Juni 2019, 22:56: > On 6/13/19 10:55 PM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Do., 13. > > Juni 2019, 22:40: > > > > On 6/13/19 10:26 PM, Simon Goldschmidt wrote: > > > > > > > > > On 13.06.19 22:14,

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Marek Vasut
On 6/13/19 10:55 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Do., 13. > Juni 2019, 22:40: > > On 6/13/19 10:26 PM, Simon Goldschmidt wrote: > > > > > > On 13.06.19 22:14, Marek Vasut wrote: > >> On 6/13/19 9:50 PM, Simon Goldschmidt

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Simon Goldschmidt
Marek Vasut schrieb am Do., 13. Juni 2019, 22:40: > On 6/13/19 10:26 PM, Simon Goldschmidt wrote: > > > > > > On 13.06.19 22:14, Marek Vasut wrote: > >> On 6/13/19 9:50 PM, Simon Goldschmidt wrote: > >>> This provides an SPL_SIZE_LIMIT that makes the build check that the SPL > >>> binary loaded

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Marek Vasut
On 6/13/19 10:26 PM, Simon Goldschmidt wrote: > > > On 13.06.19 22:14, Marek Vasut wrote: >> On 6/13/19 9:50 PM, Simon Goldschmidt wrote: >>> This provides an SPL_SIZE_LIMIT that makes the build check that the SPL >>> binary loaded from flash fits into the SRAM (64 KiB) and leaves enough >>>

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Simon Goldschmidt
On 13.06.19 22:14, Marek Vasut wrote: On 6/13/19 9:50 PM, Simon Goldschmidt wrote: This provides an SPL_SIZE_LIMIT that makes the build check that the SPL binary loaded from flash fits into the SRAM (64 KiB) and leaves enough room for global data, heap and stack (512 bytes assumed stack

Re: [U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Marek Vasut
On 6/13/19 9:50 PM, Simon Goldschmidt wrote: > This provides an SPL_SIZE_LIMIT that makes the build check that the SPL > binary loaded from flash fits into the SRAM (64 KiB) and leaves enough > room for global data, heap and stack (512 bytes assumed stack usage). > > Signed-off-by: Simon

[U-Boot] [PATCH] arm: socfpga: provide default SPL_SIZE_LIMIT for gen5

2019-06-13 Thread Simon Goldschmidt
This provides an SPL_SIZE_LIMIT that makes the build check that the SPL binary loaded from flash fits into the SRAM (64 KiB) and leaves enough room for global data, heap and stack (512 bytes assumed stack usage). Signed-off-by: Simon Goldschmidt --- arch/arm/mach-socfpga/Kconfig | 8

Re: [U-Boot] [PATCH v2 3/3] fastboot: Check if partition really exist in getvar_has_slot()

2019-06-13 Thread Sam Protsenko
Lukasz, Eugeniu, Just sent v3 where build is fixed. Please review and merge, if applicable. Thanks! On Thu, Jun 13, 2019 at 3:01 PM Lukasz Majewski wrote: > > On Thu, 13 Jun 2019 07:47:19 +0200 > Lukasz Majewski wrote: > > > Hi Sam, > > > > > Hi Tom, > > > > > > We have broken fastboot right

[U-Boot] [PATCH v3 3/3] fastboot: Check if partition really exist in getvar_has_slot()

2019-06-13 Thread Sam Protsenko
From: Igor Opaniuk Currently getvar_has_slot() invocation for "boot" and "system" partitions always returns affirmative response regardless the fact of existence of these partitions, which leads to impossibility to flash them on old non-A/B AOSP setups, where _a/_b suffixes aren't used: $

[U-Boot] [PATCH v3 2/3] fastboot: getvar: Refactor fastboot_*_get_part_info() usage

2019-06-13 Thread Sam Protsenko
Extract fastboot_*_get_part_info() usage for MMC and NAND into getvar_get_part_info() function, as it will be needed further in other functions. This way we can avoid code duplication and mess with preprocessor directives across all points of usage. Signed-off-by: Sam Protsenko Reviewed-by:

[U-Boot] [PATCH v3 1/3] fastboot: Use const qualifier for char *part_name

2019-06-13 Thread Sam Protsenko
In fastboot_*_get_part_info() functions we can use stronger typing by expecting const strings. Signed-off-by: Sam Protsenko Reviewed-by: Lukasz Majewski Reviewed-by: Igor Opaniuk --- Changes in v3: none Changes in v2: add this patch to series drivers/fastboot/fb_mmc.c | 3 ++-

[U-Boot] [PATCH v3 0/3] fastboot: Fix getvar "has-slot" and cleanup

2019-06-13 Thread Sam Protsenko
This patch series fixes "has-slot" fastboot variable and provides associated refactoring, so that related code is not cluttered. Changes in v3: - fix build on platforms where CONFIG_FASTBOOT defined but CONFIG_FASTBOOT_FLASH is not defined - rework logic for "has-slot" variable (handle

Re: [U-Boot] [PATCH] fastboot: Fix slot names reported by getvar

2019-06-13 Thread Eugeniu Rosca
Hi Sam, Thanks for the detailed answer. Some comments below. On Thu, Jun 13, 2019 at 04:59:40PM +0300, Sam Protsenko wrote: > Hi Eugeniu, > > On Thu, Jun 13, 2019 at 12:31 PM Eugeniu Rosca wrote: > > > > Hi Sam, > > > > On Thu, Jun 13, 2019 at 12:49:45AM +0300, Sam Protsenko wrote: > > > In

[U-Boot] [PATCH 1/1] efi_loader: GetTime() must return EFI_UNSUPPORTED

2019-06-13 Thread Heinrich Schuchardt
If the GetTime() runtime service is not supported, EFI_UNSUPPORTED has to be returned. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_runtime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index

[U-Boot] [PATCH v2 1/1] efi: add RuntimeServicesSupported variable

2019-06-13 Thread Heinrich Schuchardt
From: AKASHI Takahiro This variable is defined in UEFI specification 2.8, section 8.1. Its value should be updated whenever we add any usable runtime services function. Currently we only support SetVirtualAddress() for all systems and ResetSystem() for some. Signed-off-by: AKASHI Takahiro

Re: [U-Boot] rtl8169: use dm_pci_map_bar

2019-06-13 Thread Thierry Reding
On Thu, Jun 13, 2019 at 03:16:10PM +0800, Bin Meng wrote: > Hi Stefan, > > On Thu, Jun 13, 2019 at 1:40 PM Stefan Roese wrote: > > > > Added Bin, Joe and Thierry to Cc > > > > On 11.06.19 13:15, Patrick Wildt wrote: > > > Hi, > > > > > > I have an rtl8169 on a macchiatobin and that card has a

Re: [U-Boot] [PATCH v3 0/3] fdt: Allow indicating a node is for U-Boot proper only

2019-06-13 Thread Simon Glass
Hi Patrick, On Thu, 13 Jun 2019 at 09:12, Patrick DELAUNAY wrote: > > Hi Simon, > > > > > Hi, > > > > I create this serie with: > > > > 1/ documentation update for previous patch > >[U-Boot,v2] dm: remove pre reloc properties in SPL and TPL device tree > >

Re: [U-Boot] [PATCH] armv8: fix typo in LINUX_KERNEL_IMAGE_HEADER check

2019-06-13 Thread Stephen Warren
On 6/13/19 6:46 AM, Mian Yousaf Kaukab wrote: Fixes: 8163faf952 ARMv8: add optional Linux kernel image header I thought that I'd fixed this long ago, but perhaps I only did that for out internal branch and forgot to send the patch upstream. Anyway, Reviewed-by: Stephen Warren

Re: [U-Boot] [PATCH v3 0/3] fdt: Allow indicating a node is for U-Boot proper only

2019-06-13 Thread Patrick DELAUNAY
Hi Simon, > > Hi, > > I create this serie with: > > 1/ documentation update for previous patch >[U-Boot,v2] dm: remove pre reloc properties in SPL and TPL device tree >http://patchwork.ozlabs.org/patch/1081155/ > >PS: Code is already merged in commit commit c7a88dae997f ("dm:

Re: [U-Boot] [PATCH] fastboot: Fix slot names reported by getvar

2019-06-13 Thread Sam Protsenko
Hi Eugeniu, On Thu, Jun 13, 2019 at 12:31 PM Eugeniu Rosca wrote: > > Hi Sam, > > On Thu, Jun 13, 2019 at 12:49:45AM +0300, Sam Protsenko wrote: > > In commit [1] fastboot tool was changed w.r.t. new A/B specification [2], > > and now we should report slot names in "a" format instead of "_a". >

Re: [U-Boot] [PATCH 0/5] sunxi: env: Load environment from boot media

2019-06-13 Thread Maxime Ripard
On Tue, Jun 11, 2019 at 04:34:25PM +0100, Andre Przywara wrote: > On Tue, 11 Jun 2019 16:53:58 +0200 > Maxime Ripard wrote: > > On Tue, Jun 11, 2019 at 10:28:19AM -0400, Tom Rini wrote: > > > On Tue, Jun 11, 2019 at 11:37:28AM +0200, Maxime Ripard wrote: > > > > On Mon, Jun 10, 2019 at 10:11:39AM

[U-Boot] [PATCH v2 4/4] armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller

2019-06-13 Thread Chuanhua Han
This patch adds some slave nodes to support the i2c dm on the device side under the i2c0 controller. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=113364 - https://patchwork.ozlabs.org/project/uboot/list/?series=110856

[U-Boot] [PATCH v2 3/4] configs: ls1028a: enable DM support for pcf2127 rtc

2019-06-13 Thread Chuanhua Han
Enable related configs to support pcf2127 rtc DM feature for ls1028ardb board. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=113364 - https://patchwork.ozlabs.org/project/uboot/list/?series=110856 -

[U-Boot] [PATCH v2 2/4] gpio: do not include on ARCH_LS1028A

2019-06-13 Thread Chuanhua Han
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls1028a. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=113364 -

[U-Boot] [PATCH v2 1/4] armv8: ls1028a: The ls1028a platform supports the I2C driver model.

2019-06-13 Thread Chuanhua Han
DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for compilation, a compilation error will be generated. This patch solves the problem that the i2c-related api of the ls1028a platform does not support dm.

[U-Boot] [PATCH] armv8: fix typo in LINUX_KERNEL_IMAGE_HEADER check

2019-06-13 Thread Mian Yousaf Kaukab
Fixes: 8163faf952 ARMv8: add optional Linux kernel image header Signed-off-by: Mian Yousaf Kaukab --- arch/arm/cpu/armv8/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S index fe52166e28..99d126660d 100644 ---

[U-Boot] imx6: [PATCH] Add support for new board "eval1a"

2019-06-13 Thread claudio
This patch adds support for the latest evalboard Eval 1A from databyte Signed-off-by: Claudio Hediger Cc: Stefano Babic --- From ecfc11f5507e2a1db2c8981b193017e1fd74f7eb Mon Sep 17 00:00:00 2001 From: Claudio Hediger Date: Sun, 9 Jun 2019 15:56:29 +0200 Subject: [PATCH 1/3] Added new file.

Re: [U-Boot] [PATCH v2 3/3] fastboot: Check if partition really exist in getvar_has_slot()

2019-06-13 Thread Lukasz Majewski
On Thu, 13 Jun 2019 07:47:19 +0200 Lukasz Majewski wrote: > Hi Sam, > > > Hi Tom, > > > > We have broken fastboot right now... Can we please apply this > > series, so that it appears in v2019.07? > > I'm running Travis-CI on this series, and send PR to Marek when it > finish.

Re: [U-Boot] [PATCH] arm: dts: Stratix10: Enable i2c

2019-06-13 Thread Marek Vasut
On 6/13/19 10:17 AM, Ley Foon Tan wrote: > Enable i2c1 in Stratix 10 devkit. > > SOCFPGA_STRATIX10 # i2c bus > Bus 0: i2c@ffc02900 > SOCFPGA_STRATIX10 # i2c dev 0 > Setting bus to 0 > SOCFPGA_STRATIX10 # i2c probe > Valid chip addresses: 14 4C 51 68 74 > > Signed-off-by: Ley Foon Tan > --- >

Re: [U-Boot] [PATCH v2] watchdog: tangier: Convert to use WDT class

2019-06-13 Thread Stefan Roese
On 13.06.19 13:10, Andy Shevchenko wrote: On Thu, Jun 13, 2019 at 06:51:34AM +0200, Stefan Roese wrote: On 12.06.19 19:28, Andy Shevchenko wrote: #define WDT_DEFAULT_TIMEOUT 90 Nitpicking: If you by any chance need to re-send this patch again, please remove WDT_DEFAULT_TIMEOUT

Re: [U-Boot] [RFC] fastboot: flashing to emmc hw boot (0, 1) partitions

2019-06-13 Thread Sam Protsenko
Hi Igor, Although we are thinking to use QSPI for boot speedup, it still would be nice to see flashing to boot0 implemented. Technically, I don't see much difficulties here, as we already can do this from U-Boot shell, like this: => mmc dev 0 1 => fatload mmc 1 ${loadaddr} tiboot3.bin

[U-Boot] Call For Participation - OSFC 3rd to 6th September 2019

2019-06-13 Thread Philipp Deppenwiese
Do you have something crazy going on and want to present it to the community? Submit your talk for the Open Source Firmware conference 2019 in silicon valley until June 30, 2019. Speakers get complimentary admission to the conference. We also have scholarship funds to help you attend the

Re: [U-Boot] [PATCH v2 3/3] fastboot: Check if partition really exist in getvar_has_slot()

2019-06-13 Thread Eugeniu Rosca
Hi Sam, hi Igor, On Thu, Jun 13, 2019 at 12:14:11AM +0300, Sam Protsenko wrote: > From: Igor Opaniuk > > Currently getvar_has_slot() invocation for "boot" and "system" > partitions always returns affirmative response regardless the fact of > existence of these partitions, which leads to

Re: [U-Boot] [PATCH v2] watchdog: tangier: Convert to use WDT class

2019-06-13 Thread Andy Shevchenko
On Thu, Jun 13, 2019 at 06:51:34AM +0200, Stefan Roese wrote: > On 12.06.19 19:28, Andy Shevchenko wrote: > > #define WDT_DEFAULT_TIMEOUT 90 > > Nitpicking: If you by any chance need to re-send this patch again, > please remove WDT_DEFAULT_TIMEOUT completely from this file. This is left

Re: [U-Boot] Default environment file

2019-06-13 Thread Stefano Babic
Hi Vladimir, On 12/06/19 23:33, Vladimir Oltean wrote: > On Wed, 12 Jun 2019 at 19:30, Stefano Babic wrote: >> >> Hi Tom, >> >> Hi everybody, >> >> On 12/06/19 16:16, Tom Rini wrote: >>> On Wed, Jun 12, 2019 at 10:43:26AM +0200, Stefano Babic wrote: Hi Pascal, On 12/06/19 10:20,

Re: [U-Boot] [PATCH v1] watchdog: move WATCHDOG_TIMEOUT_MSECS to Kconfig

2019-06-13 Thread Martyn Welch
On Wed, 2019-06-12 at 10:22 +0200, Heiko Schocher wrote: > move WATCHDOG_TIMEOUT_MSECS to Kconfig and fix > all board defconfigs. > > Signed-off-by: Heiko Schocher > --- > > Patchseries build fine on travis see: > https://travis-ci.org/hsdenx/u-boot-test/builds/544546490 > > Based on mainline

Re: [U-Boot] sf probe failed on Intel DNV-NS platform

2019-06-13 Thread 杜睿哲_Pegatron
Hi Bin, I have just tried 'make coreboot_defconfig' and I can boot into U-Boot from Coreboot now. But "sf probe" still failed with same error: -- => sf probe Invalid bus 0 (err=-19) Failed to initialize SPI flash at 0:0 (error -19)

Re: [U-Boot] [PATCH] arm: dts: Stratix10: Enable i2c

2019-06-13 Thread Simon Goldschmidt
On Thu, Jun 13, 2019 at 10:17 AM Ley Foon Tan wrote: > > Enable i2c1 in Stratix 10 devkit. > > SOCFPGA_STRATIX10 # i2c bus > Bus 0: i2c@ffc02900 > SOCFPGA_STRATIX10 # i2c dev 0 > Setting bus to 0 > SOCFPGA_STRATIX10 # i2c probe > Valid chip addresses: 14 4C 51 68 74 > > Signed-off-by: Ley Foon

Re: [U-Boot] [PATCH] fastboot: Fix slot names reported by getvar

2019-06-13 Thread Eugeniu Rosca
Hi Sam, On Thu, Jun 13, 2019 at 12:49:45AM +0300, Sam Protsenko wrote: > In commit [1] fastboot tool was changed w.r.t. new A/B specification [2], > and now we should report slot names in "a" format instead of "_a". > Latter is now considered legacy and we shouldn't rely on that anymore. This

Re: [U-Boot] [RFC 2/6] efi: add RuntimeServicesSupported variable

2019-06-13 Thread Heinrich Schuchardt
On 6/13/19 11:17 AM, Heinrich Schuchardt wrote: > > > On 6/13/19 9:06 AM, AKASHI Takahiro wrote: >> On Thu, Jun 13, 2019 at 07:56:19AM +0200, Heinrich Schuchardt wrote: >>> >>> >>> On 6/5/19 6:21 AM, AKASHI Takahiro wrote: This variable is defined in UEFI specification 2.8, section 8.1.

Re: [U-Boot] [PATCH 1/1] fastboot: check if partition really exist in getvar_has_slot()

2019-06-13 Thread Igor Opaniuk
On Wed, Jun 12, 2019 at 12:54 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Currently getvar_has_slot() invocation for "boot" and "system" > partitions always returns affirmative response regardless the fact of > existence of these partitions, which leads to impossibility to flash them > on

Re: [U-Boot] [RFC 2/6] efi: add RuntimeServicesSupported variable

2019-06-13 Thread Heinrich Schuchardt
On 6/13/19 9:06 AM, AKASHI Takahiro wrote: > On Thu, Jun 13, 2019 at 07:56:19AM +0200, Heinrich Schuchardt wrote: >> >> >> On 6/5/19 6:21 AM, AKASHI Takahiro wrote: >>> This variable is defined in UEFI specification 2.8, section 8.1. >>> Its value should be updated whenever we add any usable

Re: [U-Boot] mvebu: reserve SRAM memory on Marvell Armada 3700/7K/8K

2019-06-13 Thread Heinrich Schuchardt
On 6/13/19 10:23 AM, Mark Kettenis wrote: >> From: Heinrich Schuchardt >> Date: Thu, 13 Jun 2019 08:09:17 +0200 >> >> On 6/13/19 7:48 AM, Stefan Roese wrote: >>> Added Heinrich to Cc (and use Alex's new address) >>> >>> On 11.06.19 13:00, Patrick Wildt wrote: The ARM-TF and the optional

Re: [U-Boot] [PATCH v4 1/2] regulator: bd71837: copy the bd71837 pmic

2019-06-13 Thread Vaittinen, Matti
Hello Jaehoon and Stefano, On Wed, 2019-06-12 at 12:58 +0200, Stefano Babic wrote: > Hi Maitti, > > On 12/06/19 12:24, Vaittinen, Matti wrote: > > Hello Stefano, > > > > On Mon, 2019-06-10 at 11:40 +0200, sba...@denx.de wrote: > > > > https://source.codeaurora.org/external/imx/uboot-imx > > > >

Re: [U-Boot] mvebu: reserve SRAM memory on Marvell Armada 3700/7K/8K

2019-06-13 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Thu, 13 Jun 2019 08:09:17 +0200 > > On 6/13/19 7:48 AM, Stefan Roese wrote: > > Added Heinrich to Cc (and use Alex's new address) > > > > On 11.06.19 13:00, Patrick Wildt wrote: > >> The ARM-TF and the optional OP-TEE use the memory region 0x400 > >> to

[U-Boot] [PATCH] arm: dts: Stratix10: Enable i2c

2019-06-13 Thread Ley Foon Tan
Enable i2c1 in Stratix 10 devkit. SOCFPGA_STRATIX10 # i2c bus Bus 0: i2c@ffc02900 SOCFPGA_STRATIX10 # i2c dev 0 Setting bus to 0 SOCFPGA_STRATIX10 # i2c probe Valid chip addresses: 14 4C 51 68 74 Signed-off-by: Ley Foon Tan --- arch/arm/dts/socfpga_stratix10_socdk.dts | 5 + 1 file

Re: [U-Boot] [PATCH v2 1/3] fastboot: Use const qualifier for char *part_name

2019-06-13 Thread Igor Opaniuk
On Thu, Jun 13, 2019 at 12:14 AM Sam Protsenko wrote: > > In fastboot_*_get_part_info() functions we can use stronger typing by > expecting const strings. > > Signed-off-by: Sam Protsenko > --- > drivers/fastboot/fb_mmc.c | 3 ++- > drivers/fastboot/fb_nand.c | 4 ++-- > include/fb_mmc.h

Re: [U-Boot] [PATCH v2 2/3] fastboot: getvar: Refactor fastboot_*_get_part_info() usage

2019-06-13 Thread Igor Opaniuk
Hi Sam, On Thu, Jun 13, 2019 at 12:14 AM Sam Protsenko wrote: > > Extract fastboot_*_get_part_info() usage for MMC and NAND into > getvar_get_part_info() function, as it will be needed further in other > functions. This way we can avoid code duplication and mess with > preprocessor directives

[U-Boot] [PATCH v2 2/2] armv8: fsl-layerscape: Increase mmc read size for secure-boot headers

2019-06-13 Thread Udit Agarwal
Maximum size of secure boot header to be read from MMC is 12KB which spans across 0x20 blocks. Hence increase the mmc read size for secure boot headers from MMC to 0x20 blocks. Signed-off-by: Udit Agarwal --- Changes in V2: Modifications in the subject line and commit message.

[U-Boot] [PATCH v2 1/2] configs: fsl-layerscape: secure_boot: Enable setexpr command.

2019-06-13 Thread Udit Agarwal
setexpr command is used while running secure boot (chain of trust with confidentiality) feature. So, Enable CONFIG_CMD_SETEXPR to enable setexpr command. Signed-off-by: Udit Agarwal --- Changes in V2: Corrects commit message. configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig | 1 +

Re: [U-Boot] [PATCH v5 1/2] arm: i.MX: Add CMD_NANDBCB Kconfig entry

2019-06-13 Thread Shyam Saini
> > > > Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6 > > platform with NAND_MXS defined. > > > > Reviewed-by: Stefano Babic > > Signed-off-by: Jagan Teki > > Signed-off-by: Shyam Saini > > --- > > Hi, > > > > This patch series is based on feedback gathered from this [1] discussion

Re: [U-Boot] rtl8169: use dm_pci_map_bar

2019-06-13 Thread Bin Meng
Hi Stefan, On Thu, Jun 13, 2019 at 1:40 PM Stefan Roese wrote: > > Added Bin, Joe and Thierry to Cc > > On 11.06.19 13:15, Patrick Wildt wrote: > > Hi, > > > > I have an rtl8169 on a macchiatobin and that card has a 64-bit > > memory address. The current code only reads a single word, which > >

Re: [U-Boot] [PATCH 1/1] pico-imx7d: Enable DM_USB

2019-06-13 Thread Jun Nie
Joris Offouga 于2019年6月11日周二 下午8:09写道: > > This patch enable usb support with device-tree > > Signed-off-by: Joris Offouga > --- > arch/arm/dts/imx7d-pico.dtsi | 2 ++ > board/technexion/pico-imx7d/pico-imx7d.c | 13 - > configs/pico-hobbit-imx7d_defconfig | 1 + >

Re: [U-Boot] [RFC 2/6] efi: add RuntimeServicesSupported variable

2019-06-13 Thread AKASHI Takahiro
On Thu, Jun 13, 2019 at 07:56:19AM +0200, Heinrich Schuchardt wrote: > > > On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > > This variable is defined in UEFI specification 2.8, section 8.1. > > Its value should be updated whenever we add any usable runtime services > > function. > > It is also

Re: [U-Boot] [PATCH v3 0/6] rockchip: rk3399: Make u-boot.itb as BUILD_TARGET

2019-06-13 Thread Jagan Teki
Hi Kever, On Wed, May 8, 2019 at 12:23 AM Jagan Teki wrote: > > RK3399 TPL changes are merged recently which I was thinking > of waiting for next MW. so this series skip binman changes > from previous version[1] and have only BUILD_TARGET changes. > > BINMAN changes would need another rework,

Re: [U-Boot] [PATCH] km/spi: port SPI flash of KM Kirkwood boards to driver model

2019-06-13 Thread Stefan Roese
On 04.06.19 14:23, pascal.lin...@edu.hefr.ch wrote: From: Pascal Linder The required configurations were activated in the default configuration files of the board series and the SPI interface setting is added to the common device tree file. Some adaptions were necessary in the driver

Re: [U-Boot] [PATCH 00/92] ram: rk3399: Add LPDDR4 support

2019-06-13 Thread Jagan Teki
On Thu, Jun 13, 2019 at 7:21 AM Kever Yang wrote: > > Hi Jagan, > > > On 06/11/2019 11:03 PM, Jagan Teki wrote: > > Note: Puma rk3399 has SPL size overflow, better to enable TPL > for this board. > > We need to keep Puma on a SPL-only configuration for the time being. > Please make sure that the

Re: [U-Boot] [PATCH 00/92] ram: rk3399: Add LPDDR4 support

2019-06-13 Thread Jagan Teki
On Thu, Jun 13, 2019 at 7:14 AM Kever Yang wrote: > > Hi Jagan, > > Very grateful for you to send this patch set for LPDDR4 support. > > But, 92 patches, a little bit too much for merge them one by one, > > is it possible for U-Boot to merge this from somewhere after we review > > all

[U-Boot] [PATCH] board: atmel: fix pda variable not being reset

2019-06-13 Thread Eugen.Hristev
From: Eugen Hristev In case someone detects a PDA and u-boot sets the 'pda' variable, and the user does a saveenv, the pda is set in env, and if the screen is removed, u-boot will still have in the env the 'pda' variable, even if no screen is attached. In order to fix this, we have to reset the

Re: [U-Boot] [PATCH v5 1/2] arm: i.MX: Add CMD_NANDBCB Kconfig entry

2019-06-13 Thread Jagan Teki
On Wed, Jun 12, 2019 at 2:02 PM Shyam Saini wrote: > > Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6 > platform with NAND_MXS defined. > > Reviewed-by: Stefano Babic > Signed-off-by: Jagan Teki > Signed-off-by: Shyam Saini > --- > Hi, > > This patch series is based on feedback

Re: [U-Boot] mvebu: reserve SRAM memory on Marvell Armada 3700/7K/8K

2019-06-13 Thread Heinrich Schuchardt
On 6/13/19 7:48 AM, Stefan Roese wrote: > Added Heinrich to Cc (and use Alex's new address) > > On 11.06.19 13:00, Patrick Wildt wrote: >> The ARM-TF and the optional OP-TEE use the memory region 0x400 >> to 0x540 and should be reserved in the memory map, otherwise the >> OS might

Re: [U-Boot] [RFC 2/6] efi: add RuntimeServicesSupported variable

2019-06-13 Thread Heinrich Schuchardt
On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > This variable is defined in UEFI specification 2.8, section 8.1. > Its value should be updated whenever we add any usable runtime services > function. It is also required by the EBBR specification. > > Signed-off-by: AKASHI Takahiro > --- >