Re: [U-Boot] [PATCH] cmd: fat: fatload: pass device path for efi payload

2019-06-14 Thread Heinrich Schuchardt
On 5/31/19 4:03 PM, Mian Yousaf Kaukab wrote: fatload command can be used to load the EFI payload since EFI system partition is always a FAT partition. Call into EFI code from do_fat_fsload() to set the device path from which the last binary was loaded. An EFI application like grub2 can’t find

[U-Boot] [PULL] u-boot-sh/master

2019-06-14 Thread Marek Vasut
More SH removal :-( The following changes since commit c2ea87883ef309570c8903e6de4b8b78685d73d0: Merge tag 'efi-2019-07-rc5' of git://git.denx.de/u-boot-efi (2019-06-12 07:15:38 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes

[U-Boot] [PULL] u-boot-usb/master

2019-06-14 Thread Marek Vasut
Assorted gadget fixes. The following changes since commit c2ea87883ef309570c8903e6de4b8b78685d73d0: Merge tag 'efi-2019-07-rc5' of git://git.denx.de/u-boot-efi (2019-06-12 07:15:38 -0400) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch

[U-Boot] [PULL] u-boot-socfpga/master

2019-06-14 Thread Marek Vasut
SPL size check for Gen5, i2c enablement for S10 The following changes since commit c2ea87883ef309570c8903e6de4b8b78685d73d0: Merge tag 'efi-2019-07-rc5' of git://git.denx.de/u-boot-efi (2019-06-12 07:15:38 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git

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

2019-06-14 Thread Marek Vasut
On 6/14/19 8:57 AM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am Do., 13. > Juni 2019, 23:08: > > On 6/13/19 11:00 PM, Simon Goldschmidt wrote: > > > > > > Marek Vasut mailto:ma...@denx.de> > >>

Re: [U-Boot] Pull request: u-boot-dfu (14.06.2019) - fixes v2019.07

2019-06-14 Thread Marek Vasut
On 6/14/19 9:09 AM, Lukasz Majewski wrote: > Dear Marek, > > Repo: git://git.denx.de/u-boot-dfu.git > Branch: master Pulled , thanks. -- Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] And what about fitImages and ram disks?

2019-06-14 Thread Patrick Doyle
I just created my initramfs and inserted it into my fit-image.its file. When I booted, I saw the following: Trying 'ramdisk' ramdisk subimage Description: Bootstrap ramdisk Type: RAMDisk Image Compression: gzip compressed Data Start: 0x811ae9f0 Data Size:

[U-Boot] [PATCH 1/1] trace: do not limit trace buffer to 2GiB

2019-06-14 Thread Heinrich Schuchardt
There is no good reason to limit the trace buffer to 2GiB on a 64bit system. Adjust the types of the relevant parameters. Signed-off-by: Heinrich Schuchardt --- cmd/trace.c | 10 -- include/trace.h | 6 +++--- lib/trace.c | 14 +++--- tools/proftool.c | 4 ++-- 4

[U-Boot] [PATCH 1/1] trace: trace buffer may exceed 2GiB

2019-06-14 Thread Heinrich Schuchardt
Correct the debug output for the trace buffer size to accommodate trace buffers exceeding 2GiB. Signed-off-by: Heinrich Schuchardt --- common/board_f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 0fc938dc87..4760d728f3 100644

Re: [U-Boot] [EXT] Re: [PATCH 1/2 v3] net: introduce MDIO DM class for MDIO devices

2019-06-14 Thread Alex Marginean
Hi Nevo, On 6/14/2019 7:55 PM, Nevo Hed wrote: Hi Alex In another thread (https://lists.denx.de/pipermail/u-boot/2019-June/371933.html) I asked Ken (before learning of their cut-backs) if I should take a stab at re-integrating his work where Joe also pointed out the impending acceptance of

Re: [U-Boot] [PATCH 1/2] net: Convert CONFIG_IP_DEFRAG to Kconfig

2019-06-14 Thread Joe Hershberger
On Mon, Jun 10, 2019 at 9:52 PM Marek Vasut wrote: > > Convert CONFIG_IP_DEFRAG to Kconfig, update defconfigs, headers > and whitelist. This patch is a follow-up on a patch by Christian > Gmeiner with the added config/header/whitelist updates. > > Signed-off-by: Marek Vasut > Reported-by:

Re: [U-Boot] [PATCH 2/2] net: Convert CONFIG_TFTP_BLOCKSIZE to Kconfig

2019-06-14 Thread Joe Hershberger
On Mon, Jun 10, 2019 at 9:53 PM Marek Vasut wrote: > > Convert CONFIG_TFTP_BLOCKSIZE to Kconfig, update defconfigs, > headers and whitelist. > > Signed-off-by: Marek Vasut > Cc: Christian Gmeiner > Cc: Joe Hershberger Acked-by: Joe Hershberger ___

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Andreas Färber
Am 14.06.19 um 19:26 schrieb Varun Wadekar: >>> ERROR: ARI request timed out: req 89 on CPU 4 >>> ASSERT: plat/nvidia/tegra/soc/t186/drivers/mce/ari.c <127> : retries >>> != 0U > > This time out means that TEGRA_ARI_ROC_FLUSH_CACHE_TRBITS ARI call timed out. > Looks like the firmware

[U-Boot] [PATCH] rsa: reject images with unknown padding

2019-06-14 Thread Patrick Doyle
Previously we would store NULL in info->padding and jump to an illegal instruction if an unknown value for "padding" was specified in the device tree. Signed-off-by: Patrick Doyle --- common/image-sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-sig.c

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Stephen Warren
On 6/14/19 11:09 AM, Andreas Färber wrote: Am 14.06.19 um 18:41 schrieb Stephen Warren: On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: Hi, I am seeing a hang with dhcp boot on Jetson TX2. Its running firmware from L4T 32.1 with U-Boot from master branch (c2ea87883e) with [1] applied. I use

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Varun Wadekar
>> ERROR: ARI request timed out: req 89 on CPU 4 >> ASSERT: plat/nvidia/tegra/soc/t186/drivers/mce/ari.c <127> : retries >> != 0U This time out means that TEGRA_ARI_ROC_FLUSH_CACHE_TRBITS ARI call timed out. Looks like the firmware responsible for handling this ARI call is stuck or

Re: [U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Andreas Färber
Am 14.06.19 um 18:41 schrieb Stephen Warren: > On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: >> Hi, >> I am seeing a hang with dhcp boot on Jetson TX2. Its running firmware >> from >> L4T 32.1 with U-Boot from master branch (c2ea87883e) with [1] applied. >> >> I use following command sequence at

Re: [U-Boot] [EXT] Re: [PATCH 1/2 v3] net: introduce MDIO DM class for MDIO devices

2019-06-14 Thread Nevo Hed
Hi Alex In another thread (https://lists.denx.de/pipermail/u-boot/2019-June/371933.html) I asked Ken (before learning of their cut-backs) if I should take a stab at re-integrating his work where Joe also pointed out the impending acceptance of your work. I'm not sure where we left off here in

[U-Boot] [PATCH v4 1/1] efi_loader: add RuntimeServicesSupported variable

2019-06-14 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] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Stephen Warren
On 6/14/19 11:09 AM, Mian Yousaf Kaukab wrote: Hi, I am seeing a hang with dhcp boot on Jetson TX2. Its running firmware from L4T 32.1 with U-Boot from master branch (c2ea87883e) with [1] applied. I use following command sequence at u-boot prompt to boot: Tegra186 (P2771--500) # setenv

[U-Boot] [PATCH 1/1] efi_loader: fix SetMode()

2019-06-14 Thread Heinrich Schuchardt
Correct the check of the mode number in SetMode() service of the simple text output protocol. Clear the screen in SetMode(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git

[U-Boot] [PATCH 1/1] efi_loader: fix SetAttribute()

2019-06-14 Thread Heinrich Schuchardt
The SetAttribute() service and the Reset() service of the simple text output protocol must update the attribute value in the mode information. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/efi_loader/efi_console.c

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

2019-06-14 Thread Sam Protsenko
Please drop this patch in favor of: [PATCH v2 0/2] fastboot: Support new A/B slot format Thanks! On Fri, Jun 14, 2019 at 5:37 PM Sam Protsenko wrote: > > Hi Eugeniu, > > On Thu, Jun 13, 2019 at 8:57 PM Eugeniu Rosca wrote: > > > > Hi Sam, > > > > Thanks for the detailed answer. Some

[U-Boot] [PATCH v2 1/2] fastboot: Remove "slot-suffixes" variable

2019-06-14 Thread Sam Protsenko
"slot-suffixes" variable was dropped in fastboot tool (in [1]). Let's track AOSP/master and drop this variable in U-Boot as well. [1] https://android.googlesource.com/platform/system/core/+/42b18a518bac85c3eea14206f6cbafbd1e98a31f Signed-off-by: Sam Protsenko --- Changes in v2: - add this

[U-Boot] [PATCH v2 2/2] fastboot: Fix slot names reported by getvar

2019-06-14 Thread Sam Protsenko
Fastboot tool recently underwent changes w.r.t. A/B slot format: 1. In commit [1] the new slot format was introduced, according to new A/B specification [2]. New slot format is "a", and old format "_a" is now considered legacy. 2. In commit [3] the legacy format "_a" was fixed and

[U-Boot] [PATCH v2 0/2] fastboot: Support new A/B slot format

2019-06-14 Thread Sam Protsenko
Android fastboot tool was changed recently: 1. "slot-suffixes" variable was removed 2. Now slot format is "a" instead of "_a" That leads to issues with current U-Boot, e.g. "fastboot flash" to slotted partitions ("boot_a", etc) is broken. This patch series fixes that by getting U-Boot in sync

[U-Boot] [PATCH] cmd: mem: Add a command to fill the memory with random data

2019-06-14 Thread Jean-Jacques Hiblot
This command fills the memory with data produced by rand(). Signed-off-by: Jean-Jacques Hiblot --- cmd/Kconfig | 3 ++- cmd/mem.c | 48 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-14 Thread Jean-Jacques Hiblot
Marek, Faiz, On 11/06/2019 17:59, Faiz Abbas wrote: Hi Marek, On 11/06/19 3:34 PM, Marek Vasut wrote: On 6/11/19 10:12 AM, Faiz Abbas wrote: Peng, Marek, On 11/06/19 6:47 AM, Peng Fan wrote: partitions On 6/10/19 7:59 AM, Peng Fan wrote: Subject: Re: [U-Boot] [PATCH] mmc: Avoid HS400

[U-Boot] Jetson TX2 hangs during dhcp boot

2019-06-14 Thread Mian Yousaf Kaukab
Hi, I am seeing a hang with dhcp boot on Jetson TX2. Its running firmware from L4T 32.1 with U-Boot from master branch (c2ea87883e) with [1] applied. I use following command sequence at u-boot prompt to boot: Tegra186 (P2771--500) # setenv ftdfile tegra186-p2771-.dtb Tegra186

Re: [U-Boot] rockchip: missing request op in common pinctrl driver resulting kernel boot failure

2019-06-14 Thread Mark Kettenis
> From: Levin Du > Date: Fri, 14 Jun 2019 17:09:43 +0800 > > Hi all, > > I try U-Boot v2019.04 on the Firefly-RK3399 board and the kernel failed during > loading. After doing some `git bisect`, I find the commit > e7ae4cf27a6d5837cb5e868712cdaa61d3ceb5e0 (which is adding common rockchip >

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

2019-06-14 Thread Sam Protsenko
Hi Eugeniu, On Thu, Jun 13, 2019 at 8:57 PM Eugeniu Rosca wrote: > > 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: > > > > > >

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

2019-06-14 Thread Eugeniu Rosca
Hi Sam, On Fri, Jun 14, 2019 at 03:41:17PM +0300, Sam Protsenko wrote: [..] > So I hope you don't mind if we leave this as is in this patch? Fine. Thanks for the background. -- Best Regards, Eugeniu. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v5 1/1] cmd: part: Add 'number' sub-command

2019-06-14 Thread Igor Opaniuk
Hi Eugeniu, On Fri, Jun 14, 2019 at 5:08 PM Eugeniu Rosca wrote: > > Hi Igor, > > I believe it's common sense, best practice and it is generally polite > to include in CC anybody who contributed with review comments during > the previous patch iterations. Otherwise, it raises questions, >

Re: [U-Boot] [PATCH v5 1/1] cmd: part: Add 'number' sub-command

2019-06-14 Thread Sam Protsenko
Hi Igor, Once again: Reviewed-by: Sam Protsenko Thanks! On Fri, Jun 14, 2019 at 5:01 PM Igor Opaniuk wrote: > > From: Ruslan Trofymenko > > This sub-command serves for getting the partition index from > partition name. Also it can be used to test the existence of specified > partition. > >

Re: [U-Boot] [PATCH v5 1/1] cmd: part: Add 'number' sub-command

2019-06-14 Thread Eugeniu Rosca
Hi Igor, I believe it's common sense, best practice and it is generally polite to include in CC anybody who contributed with review comments during the previous patch iterations. Otherwise, it raises questions, mistrust and all kind of weird assumptions, which may hurt the community in the long

[U-Boot] [PATCH] ARM: am3517-evm: Enable DM_PMIC and DM_REGULATOR functions

2019-06-14 Thread Adam Ford
The PBIAS regulator is available on OMAP3's, and it's shared on the AM35, so this patch enables that in U-Boot along with GPIO based regulators. Signed-off-by: Adam Ford diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig index b9f59f3291..f61a86b115 100644 ---

Re: [U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190612

2019-06-14 Thread Tom Rini
On Wed, Jun 12, 2019 at 04:59:32PM +0200, Neil Armstrong wrote: > Hi Tom, > > This PR is only for pinctrl, fixing HDMI support for GXBB fixing badly > defined pins for GXL & GXBB, adds support for getting pinmux status and > finally adds drive-strength-microamp support for G12A, fixing external

[U-Boot] [PATCH v5 1/1] cmd: part: Add 'number' sub-command

2019-06-14 Thread Igor Opaniuk
From: Ruslan Trofymenko This sub-command serves for getting the partition index from partition name. Also it can be used to test the existence of specified partition. Use case: For example, in most CI environments this U-Boot command for automatic testing of Linux rootfs is used: => setenv

Re: [U-Boot] [PATCH v4 1/2] cmd: part: Add 'number' sub-command

2019-06-14 Thread Eugeniu Rosca
Hi Roman, On Fri, Jun 14, 2019 at 3:26 PM Roman Stratiienko wrote: > > On Fri, Jun 14, 2019 at 4:04 PM Igor Opaniuk wrote: > > From: Ruslan Trofymenko [..] > > This sub-command serves for getting the partition index from [..] > > + CMD_PART_INFO_NUMBER [..] > > + "part number

Re: [U-Boot] [PATCH v4 0/2] Extend 'part' cmd and C API to get part info

2019-06-14 Thread Igor Opaniuk
Please ignore this patch-set, "disk: part: Extend API to get partition info" won't be used and was sent by by confusion. I'll re-send a single "cmd: part: Add 'number' sub-command" as v5. On Fri, Jun 14, 2019 at 4:04 PM Igor Opaniuk wrote: > > This patch-series extends `part` cmd and disk/part C

Re: [U-Boot] [PATCH v4 1/2] cmd: part: Add 'number' sub-command

2019-06-14 Thread Igor Opaniuk
Hi Roman, On Fri, Jun 14, 2019 at 4:26 PM Roman Stratiienko wrote: > > On Fri, Jun 14, 2019 at 4:04 PM Igor Opaniuk wrote: > > > > From: Ruslan Trofymenko > > > > This sub-command serves for getting the partition index from > > partition name. Also it can be used to test the existence of

[U-Boot] Issue enabling TPM 2.0 on RPI

2019-06-14 Thread Elena Unix
Hello, I am trying to enable the TPM 2.0 SLB9670 in U-Boot for a Raspberry Pi 3 B+. More precisely, the TPM is on an add-on board, the IRIDIUM SLB9670. The communication between the RPI and the TPM is ensured by SPI so I enabled the software spi driver (spi-gpio) in U-Boot because the bcm28x

Re: [U-Boot] [PATCH v4 1/2] cmd: part: Add 'number' sub-command

2019-06-14 Thread Roman Stratiienko
On Fri, Jun 14, 2019 at 4:04 PM Igor Opaniuk wrote: > > From: Ruslan Trofymenko > > This sub-command serves for getting the partition index from > partition name. Also it can be used to test the existence of specified > partition. > > Signed-off-by: Ruslan Trofymenko > Signed-off-by: Igor

[U-Boot] rockchip: missing request op in common pinctrl driver resulting kernel boot failure

2019-06-14 Thread Levin Du
Hi all, I try U-Boot v2019.04 on the Firefly-RK3399 board and the kernel failed during loading. After doing some `git bisect`, I find the commit e7ae4cf27a6d5837cb5e868712cdaa61d3ceb5e0 (which is adding common rockchip pinctrl driver) is where the problem starts to emerge. After some trial and

[U-Boot] [PATCH v4 2/2] disk: part: Extend API to get partition info

2019-06-14 Thread Igor Opaniuk
From: Ruslan Trofymenko This patch adds part_get_info_by_dev_and_name_or_num() function which allows us to get partition info from its number or name. Partition of interest is specified by string like "device_num:partition_number" or "device_num#partition_name". The patch was extracted from

[U-Boot] [PATCH v4 1/2] cmd: part: Add 'number' sub-command

2019-06-14 Thread Igor Opaniuk
From: Ruslan Trofymenko This sub-command serves for getting the partition index from partition name. Also it can be used to test the existence of specified partition. Signed-off-by: Ruslan Trofymenko Signed-off-by: Igor Opaniuk Reviewed-by: Alistair Strachan Reviewed-by: Sam Protsenko

[U-Boot] [PATCH v4 0/2] Extend 'part' cmd and C API to get part info

2019-06-14 Thread Igor Opaniuk
This patch-series extends `part` cmd and disk/part C API for getting partition info by it's name: 1. part "number" sub-command serves for getting the partition index from partition name. Also it can be used to test the existence of specified partition. 2. Introduces

Re: [U-Boot] [PATCH v2] board: mediatek: Add pumpkin board support

2019-06-14 Thread Ryder Lee
On Fri, 2019-06-14 at 14:16 +0200, Fabien Parent wrote: > +u-boot@lists.denx.de > > On Fri, Jun 14, 2019 at 2:14 PM Fabien Parent wrote: > > > > The pumpkin board is made by Gossamer Engineering and is using > > a MediaTek SoC. The board currently comes in two available version: > > MT8516 SoC

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

2019-06-14 Thread Sam Protsenko
Hi Eugeniu, On Fri, Jun 14, 2019 at 11:42 AM Eugeniu Rosca wrote: > > On Thu, Jun 13, 2019 at 09:11:08PM +0300, Sam Protsenko wrote: > [..] > > + * Get partition number and size for any storage type. > [..] > > + * @return Partition number or negative value on error > [..] > > I think the word

Re: [U-Boot] [PATCH 5/7] wandboard: Add mmc0 alias

2019-06-14 Thread Fabio Estevam
Hi Peter, On Wed, Jun 12, 2019 at 12:42 PM Peter Robinson wrote: > > On Wed, Jun 12, 2019 at 4:38 PM Fabio Estevam wrote: > > > > Add a mmc0 alias so that U-Boot proper can associate mmc0 > > with the boot SD card. > > Shouldn't this go in a -u-boot.dtsi if it's diverging from the linux dtsi?

Re: [U-Boot] [PATCH v2] board: mediatek: Add pumpkin board support

2019-06-14 Thread Fabien Parent
+u-boot@lists.denx.de On Fri, Jun 14, 2019 at 2:14 PM Fabien Parent wrote: > > The pumpkin board is made by Gossamer Engineering and is using > a MediaTek SoC. The board currently comes in two available version: > MT8516 SoC and MT8167 SoC. > The board provides the following IOs: eMMC, NAND, SD

Re: [U-Boot] [PATCH v2 1/5] DTS: imx28: Copy imx28 device tree related files from Linux kernel (v5.1.2)

2019-06-14 Thread Lukasz Majewski
On Fri, 14 Jun 2019 12:49:10 +0200 Marek Vasut wrote: > On 6/14/19 12:41 PM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 6/14/19 8:49 AM, Lukasz Majewski wrote: > >>> This commit copies from the Linux kernel (tag v5.1.2) i.MX28 > >>> related device tree files. > >>> > >> > >>

[U-Boot] [PATCH 1/2] usb: dwc2: correctly handle binding for g-tx-fifo-size

2019-06-14 Thread Patrick Delaunay
Manage g-tx-fifo-size as a array as specify in the binding. Signed-off-by: Patrick Delaunay --- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 4 drivers/usb/gadget/dwc2_udc_otg.c| 17 - 2 files changed, 16 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 2/2] usb: dwc2: allow peripheral mode for OTG configuration

2019-06-14 Thread Patrick Delaunay
Allow device mode in DWC2 driver when device tree select the dr_mode "peripheral" or "otg". The device mode is not allowed when dr_mode = "host" in device tree. Signed-off-by: Patrick Delaunay --- drivers/usb/gadget/dwc2_udc_otg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH 1/2] env: Move CONFIG_ENV_UBI_VOLUME_REDUND in Kconfig

2019-06-14 Thread Patrick Delaunay
Add support of CONFIG_ENV_UBI_VOLUME_REDUND in Kconfig as it is already done for CONFIG_ENV_UBI_VOLUME. As this string is optional, the patch introduces the new boolean option CONFIG_USE_ENV_UBI_VOLUME_REDUND to activate the feature. Only the stm32mp1 board is impacted. Signed-off-by: Patrick

[U-Boot] [PATCH 0/2] stm32mp1: move CONFIG_ENV in Kconfig

2019-06-14 Thread Patrick Delaunay
Hi, This serie moves the remaining CONFIG_ENV_ flags for the the stm32m1 arch or board in Kconfig. No impact for other target, checked by tools/buildman/buildman -D rockchip sunxi zynq versal arc stm32mp Patrick Delaunay (2): env: Move CONFIG_ENV_UBI_VOLUME_REDUND in Kconfig stm32mp1:

[U-Boot] [PATCH 2/2] stm32mp1: move CONFIG_ENV in Kconfig

2019-06-14 Thread Patrick Delaunay
Move 2 ENV configuration flags in board Kconfig - CONFIG_ENV_SECT_SIZE - CONFIG_ENV_OFFSET Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/Kconfig | 6 ++ env/Kconfig| 5 ++--- include/configs/stm32mp1.h | 5 - 3 files changed, 8 insertions(+), 8 deletions(-)

Re: [U-Boot] [PATCH v2 1/5] DTS: imx28: Copy imx28 device tree related files from Linux kernel (v5.1.2)

2019-06-14 Thread Marek Vasut
On 6/14/19 12:41 PM, Lukasz Majewski wrote: > Hi Marek, > >> On 6/14/19 8:49 AM, Lukasz Majewski wrote: >>> This commit copies from the Linux kernel (tag v5.1.2) i.MX28 >>> related device tree files. >>> >> >> Linux 5.1.9 is already out, > > I will check if there are any differences and

Re: [U-Boot] [PATCH v2 1/5] DTS: imx28: Copy imx28 device tree related files from Linux kernel (v5.1.2)

2019-06-14 Thread Lukasz Majewski
Hi Marek, > On 6/14/19 8:49 AM, Lukasz Majewski wrote: > > This commit copies from the Linux kernel (tag v5.1.2) i.MX28 > > related device tree files. > > > > Linux 5.1.9 is already out, I will check if there are any differences and update. > commit hash is missing. > Shouldn't the tags be

Re: [U-Boot] [PATCH v1 2/2] mmc: sdhci: Read sdhci card detect properties from DT

2019-06-14 Thread Faiz Abbas
Hi, On 07/06/19 2:05 PM, Michal Simek wrote: > From: T Karthik Reddy > > This patch reads card detect properties from device tree. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > drivers/mmc/sdhci.c | 15 +++ > 1 file changed, 15 insertions(+) > >

Re: [U-Boot] [PATCH v2 1/5] DTS: imx28: Copy imx28 device tree related files from Linux kernel (v5.1.2)

2019-06-14 Thread Marek Vasut
On 6/14/19 8:49 AM, Lukasz Majewski wrote: > This commit copies from the Linux kernel (tag v5.1.2) i.MX28 related device > tree files. > Linux 5.1.9 is already out, commit hash is missing. Shouldn't the tags be something like "ARM: dts: imx" ? Fix the tags globally. -- Best regards, Marek

Re: [U-Boot] rtl8169: use dm_pci_map_bar

2019-06-14 Thread Thierry Reding
On Fri, Jun 14, 2019 at 01:16:32AM +0200, Patrick Wildt wrote: > 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

Re: [U-Boot] [PATCH v6 1/3] i.MX6: nand: add nandbcb command for imx

2019-06-14 Thread Igor Opaniuk
Hi Shyam, On Fri, Jun 14, 2019 at 10:37 AM Shyam Saini wrote: > > Writing/updating boot image in nand device is not > straight forward in i.MX6 platform and it requires > boot control block(BCB) to be configured. > > It becomes difficult to use uboot 'nand' command to > write BCB since it

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

2019-06-14 Thread Eugeniu Rosca
On Thu, Jun 13, 2019 at 09:11:08PM +0300, Sam Protsenko wrote: [..] > + * Get partition number and size for any storage type. [..] > + * @return Partition number or negative value on error [..] I think the word 'number' should be blacklisted in the vocabulary of software development. It can be

Re: [U-Boot] [PATCH 3/3] doc: imx: Add documentation for nandbcb command

2019-06-14 Thread Lukasz Majewski
Hi Shyam, > Signed-off-by: Shyam Saini > --- > doc/imx/common/imx6.txt | 74 > + 1 file changed, 74 > insertions(+) > > diff --git a/doc/imx/common/imx6.txt b/doc/imx/common/imx6.txt > index eab88353f6..0b5061128c 100644 > ---

Re: [U-Boot] [PATCH v4 02/10] spi: Add Atmel QuadSPI driver

2019-06-14 Thread Tudor.Ambarus
Hi, Jagan, On 06/12/2019 11:02 AM, Jagan Teki wrote: > External E-Mail > > > On Wed, May 15, 2019 at 12:33 PM wrote: >> >> From: Tudor Ambarus >> >> Backport the driver from linux v5.1-rc5 and adapt it for u-boot. >> Tested on sama5d2_xplained Rev B with mx25l25635e spi-nor flash. >> >>

[U-Boot] [PATCH 1/2] colibri/apalis tegra: drop DFU support

2019-06-14 Thread Igor Opaniuk
From: Igor Opaniuk We never really added a sensible DFU configuration for platforms based on eMMC. Most of the things one might want to do can also be done with UMS or fastboot, so drop the DFU configuration. Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 3 ---

[U-Boot] [PATCH 2/2] colibri/apalis imx: drop DFU support

2019-06-14 Thread Igor Opaniuk
From: Igor Opaniuk We never really added a sensible DFU configuration for platforms based on eMMC. Most of the things one might want to do can also be done with UMS or fastboot, so drop the DFU configuration. Signed-off-by: Igor Opaniuk --- configs/apalis_imx6_defconfig | 2 --

[U-Boot] [PATCH 0/2] colibri/apalis tegra/imx: drop DFU support

2019-06-14 Thread Igor Opaniuk
From: Igor Opaniuk We never really added a sensible DFU configuration for platforms based on eMMC. Most of the things one might want to do can also be done with UMS or fastboot, so drop the DFU configuration. Igor Opaniuk (2): colibri/apalis tegra: drop DFU support colibri/apalis imx: drop

[U-Boot] [PATCH 3/3] doc: imx: Add documentation for nandbcb command

2019-06-14 Thread Shyam Saini
Signed-off-by: Shyam Saini --- doc/imx/common/imx6.txt | 74 + 1 file changed, 74 insertions(+) diff --git a/doc/imx/common/imx6.txt b/doc/imx/common/imx6.txt index eab88353f6..0b5061128c 100644 --- a/doc/imx/common/imx6.txt +++

[U-Boot] [PATCH 2/3] configs: icorem6: Enable nandbcb command

2019-06-14 Thread Shyam Saini
This also enables mtd configs which are required by nandbcb command. This command would be used to configure boot control block(BCB) while writing spl image on nand device. Signed-off-by: Shyam Saini --- configs/imx6qdl_icore_mmc_defconfig | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH v6 1/3] i.MX6: nand: add nandbcb command for imx

2019-06-14 Thread Shyam Saini
Writing/updating boot image in nand device is not straight forward in i.MX6 platform and it requires boot control block(BCB) to be configured. It becomes difficult to use uboot 'nand' command to write BCB since it requires platform specific attributes need to be taken care of. It is even

Re: [U-Boot] [PATCH] net: introduce packet capture support

2019-06-14 Thread Ramon Fried
On Fri, Jun 14, 2019 at 10:12 AM Bin Meng wrote: > Hi Ramon, > > On Fri, Jun 14, 2019 at 2:18 PM Ramon Fried wrote: > > > > Add support for capturing ethernet packets and storing > > them in memory in PCAP(2.4) format, later to be analyzed by > > any PCAP viewer software (IE. Wireshark) > > > >

Re: [U-Boot] [PATCH v1 1/2] mmc: sdhci: Implement SDHCI card detect

2019-06-14 Thread Faiz Abbas
Hi Michal, On 07/06/19 2:05 PM, Michal Simek wrote: > From: T Karthik Reddy > > Card detect function implemented for SDHCI framework. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > drivers/mmc/sdhci.c | 32 > include/sdhci.h

Re: [U-Boot] [PATCH] net: introduce packet capture support

2019-06-14 Thread Bin Meng
Hi Ramon, On Fri, Jun 14, 2019 at 2:18 PM Ramon Fried wrote: > > Add support for capturing ethernet packets and storing > them in memory in PCAP(2.4) format, later to be analyzed by > any PCAP viewer software (IE. Wireshark) > > This feature greatly assist debugging network issues such > as

[U-Boot] Pull request: u-boot-dfu (14.06.2019) - fixes v2019.07

2019-06-14 Thread Lukasz Majewski
Dear Marek, Repo: git://git.denx.de/u-boot-dfu.git Branch: master The following changes since commit 91810aa7fded782deda5de5320dae19876e4a558: usb: gadget: error out if g_dnl registration fails (2019-06-09 17:13:07 +0200) are available in the git repository at:

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

2019-06-14 Thread Simon Goldschmidt
Marek Vasut schrieb am Do., 13. Juni 2019, 23:08: > 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

[U-Boot] [PATCH v2 2/5] imx: net: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver

2019-06-14 Thread Lukasz Majewski
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled. One only needs to add proper compatible and dependency on FEC_MXC in the Kconfig. Signed-off-by: Lukasz Majewski --- Changes in v2: None drivers/net/Kconfig | 2 +- drivers/net/fec_mxc.c | 1 + 2 files changed, 2

[U-Boot] [PATCH v2 3/5] DM: mxs: gpio: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

2019-06-14 Thread Lukasz Majewski
This commit adds support for DM in the mxs_gpio.c driver when DM_GPIO is enabled in Kconfig. Signed-off-by: Lukasz Majewski --- Changes in v2: - Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO arch/arm/include/asm/arch-mxs/gpio.h | 28 +++

[U-Boot] [PATCH v2 5/5] DM: spi: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)

2019-06-14 Thread Lukasz Majewski
This commit converts mxs_spi driver to support DM/DTS. Signed-off-by: Lukasz Majewski --- Changes in v2: - New patch (conversion of mxs_spi.c to DM_SPI) drivers/spi/mxs_spi.c | 393 +++--- 1 file changed, 310 insertions(+), 83 deletions(-) diff

[U-Boot] [PATCH v2 4/5] imx: pinctrl: Add support for i.MX28 mxs pinctrl driver

2019-06-14 Thread Lukasz Majewski
The code responsible for setting proper values in the MUX registers (in the mxs_pinctrl_set_state()) has been ported from Barebox project (branch: master, SHA1: eb3b0f7414cd8102844dd16b1c789e445e8947f8, file: drivers/pinctrl/pinctrl-mxs.c). As the pinctrl node in the imx28.dtsi file has gpio pins

[U-Boot] [PATCH v2 1/5] DTS: imx28: Copy imx28 device tree related files from Linux kernel (v5.1.2)

2019-06-14 Thread Lukasz Majewski
This commit copies from the Linux kernel (tag v5.1.2) i.MX28 related device tree files. Signed-off-by: Lukasz Majewski --- Changes in v2: None arch/arm/dts/imx28-pinfunc.h | 506 arch/arm/dts/imx28.dtsi | 1330 ++

[U-Boot] [PATCH v2 0/5] DM: Convert i.MX28 gpio, pinmux, spi and eth drivers to DM/DTS

2019-06-14 Thread Lukasz Majewski
This patch series converts some i.MX28 drivers to use DM/DTS. Converted drivers: - mxs_gpio.c - gpio driver - pinctrl-mxs.c - pinmux driver - Adjust fec_eth.c to support also i.MX28 SoC. - mxs_spi.c - SPI driver This patch series shall help with coordinated i.MX28 DM/DTS conversion and avoidance

[U-Boot] [PATCH] net: introduce packet capture support

2019-06-14 Thread Ramon Fried
Add support for capturing ethernet packets and storing them in memory in PCAP(2.4) format, later to be analyzed by any PCAP viewer software (IE. Wireshark) This feature greatly assist debugging network issues such as detecting dropped packets, packet corruption etc. Signed-off-by: Ramon Fried

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

2019-06-14 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