Re: [U-Boot] [PATCH 2/2] armv8/ls1046a: RGMII PHY requires internal delay on Tx

2017-08-04 Thread Madalin-cristian Bucur
> -Original Message- > From: York Sun > Sent: Thursday, August 03, 2017 7:14 PM > To: Madalin-cristian Bucur ; u-boot@lists.denx.de; > joe.hershber...@ni.com > Cc: Mingkai Hu ; Shengzhou Liu > ;

[U-Boot] [PATCH] net: fman: add support RGMII_TXID to memac

2017-08-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/fm/memac.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/fm/memac.c b/drivers/net/fm/memac.c index 1b5779c..ea50ed3 100644 --- a/drivers/net/fm/memac.c +++ b/drivers/net/fm/memac.c @@ -84,6

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2017.09

2017-08-04 Thread Michal Simek
On 3.8.2017 21:06, Tom Rini wrote: > On Wed, Aug 02, 2017 at 01:15:09PM +0200, Michal Simek wrote: > >> Hi Tom, >> >> here are changes I have collected in my tree. >> I have added also a patch which make reserve_mmu as weak function which >> was reviewed by Simon. We need to for mini u-boot

Re: [U-Boot] [PATCH 51/51] mpc83xx: Add gazerbeam board

2017-08-04 Thread Simon Glass
Hi Mario, On 26 July 2017 at 02:24, Mario Six wrote: > Hi Simon, > > On Wed, Jul 19, 2017 at 11:07 AM, Simon Glass wrote: >> Hi Mario, >> >> On 14 July 2017 at 05:55, Mario Six wrote: >>> From: Dirk Eibach >>>

Re: [U-Boot] [PATCH] drivers: mmc: Avoid memory leak in case of failure

2017-08-04 Thread Suniel Mahesh
On Monday 17 July 2017 04:38 PM, Jaehoon Chung wrote: > On 06/20/2017 01:53 AM, suni...@techveda.org wrote: >> From: Suniel Mahesh >> >> priv pointer should be freed before returning with an error value >> from exynos_dwmci_get_config(). >> >> Signed-off-by: Suniel Mahesh

[U-Boot] [PATCH 1/4] rockchip: rk3229: move usb gadget into defconfig

2017-08-04 Thread Kever Yang
Use the defconfig for all usb gadget and function related option instead of define then in header file. Signed-off-by: Kever Yang --- configs/evb-rk3229_defconfig| 20 ++-- include/configs/evb_rk3229.h| 1 - include/configs/rk322x_common.h |

[U-Boot] [PATCH 2/4] rockchip: rk322x: update the sysreg number for boot mode

2017-08-04 Thread Kever Yang
The boot mode for rk322x is stored in sysreg 0, update it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk322x-board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/rk322x-board.c

Re: [U-Boot] FIT image signing

2017-08-04 Thread Simon Glass
Hi Aaron, On 25 July 2017 at 20:04, Aaron Williams wrote: > On Tuesday, July 25, 2017 4:54:15 PM PDT Aaron Williams wrote: >> Hi all, >> >> I am trying to enable support for booting signed FIT images but I'm not sure >> how I go about setting up the public

Re: [U-Boot] [PATCH] arm64: ls2088ardb: Add distro secure boot support

2017-08-04 Thread Vini Pillai
-Original Message- From: York Sun Sent: Friday, July 28, 2017 10:38 PM To: Vini Pillai ; u-boot@lists.denx.de Cc: Ruchika Gupta ; Prabhakar Kushwaha ; Sumit Garg ; Shengzhou Liu

Re: [U-Boot] [PATCH 00/39] dm: sata: Complete driver-model support for SATA

2017-08-04 Thread Simon Glass
Hi Jaehoon, On 30 July 2017 at 20:46, Jaehoon Chung wrote: > Hi Simon, > > On 07/28/2017 11:40 PM, Simon Glass wrote: >> Hi Jaehoon, >> >> On 28 July 2017 at 06:25, Jaehoon Chung wrote: >>> Dear Simon, >>> >>> On 07/27/2017 11:43 AM, Jaehoon Chung

[U-Boot] [PATCH 3/4] rockchip: add BOOT_LOADER support for boot mode

2017-08-04 Thread Kever Yang
Rockchip using rockusb for flash emmc via USB, people use 'reboot loader' in kernel and then want to get a rockusb device in bootloader for firmware update. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3036-board.c | 4

[U-Boot] [PATCH 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-08-04 Thread Kever Yang
Rockusb will be used by all the rockchip SoCs, enable it by default in Kconfig, and it can be work if USB gadget is available. Signed-off-by: Kever Yang --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

[U-Boot] [PATCH] genconfig.py: Print defconfig next to warnings

2017-08-04 Thread Simon Glass
At present we sometimes see warnings of the form: /tmp/tmpMA89kB:36: warning: overriding the value of CMD_SPL. Old value: "y", new value: "y". This is not very useful as it does not show whch defconfig file it relates to. Update the tool to show this. Signed-off-by: Simon Glass

[U-Boot] [PATCH 1/2] sf: add support for GD25Q256

2017-08-04 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from Gigadevice. Signed-off-by: Andy Yan --- drivers/mtd/spi/sf_internal.h | 1 + drivers/mtd/spi/spi_flash.c | 7 --- drivers/mtd/spi/spi_flash_ids.c | 1 + 3 files changed, 6 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-08-04 Thread Suniel Mahesh
On Monday 17 July 2017 04:38 PM, Jaehoon Chung wrote: > On 06/19/2017 04:33 PM, suni...@techveda.org wrote: >> From: Suniel Mahesh >> >> __be32_to_cpu() accepts argument of type __be32. This patch changes type of >> the buffer in ALLOC_CACHE_ALIGN_BUFFER macro to __be32,

[U-Boot] [PATCH 2/2] driver: spi: add rockchip sfc support

2017-08-04 Thread Andy Yan
From: Zhaoyifeng SFC stands for Serial Flash Controller on some rockchip platforms such as RV1108/RK3128. This patch add support for Standard,Dual,Quad mode. Signed-off-by: Zhaoyifeng Signed-off-by: Andy Yan ---

[U-Boot] [PATCH v0 01/20] fs: add fs_readdir()

2017-08-04 Thread Rob Clark
Needed to support efi file protocol. The fallback.efi loader wants to be able to read the contents of the /EFI directory to find an OS to boot. For reference, the expected EFI semantics are described in (v2.7 of UEFI spec) in section 13.5 (page 609). Or for convenience, see:

[U-Boot] [PATCH v0 02/20] fs/fat: implement readdir

2017-08-04 Thread Rob Clark
Yes, this is super-hacky. The FAT code is quite ugly, and this doesn't improve things. But it doesn't make it significantly worse either. The better option would be a massive FAT re-write to get rid of the hacky way that fat_file_ls() works. Volunteers welcome. Signed-off-by: Rob Clark

[U-Boot] [PATCH v0 06/20] common: add some utf16 handling helpers

2017-08-04 Thread Rob Clark
We'll eventually want these in a few places in efi_loader, and also vsprintf. Signed-off-by: Rob Clark --- common/Makefile | 1 + common/charset.c | 81 include/charset.h| 18 ++

[U-Boot] [PATCH v0 17/20] efi_loader: support load_image() from a file-path

2017-08-04 Thread Rob Clark
Previously we only supported the case when the EFI application loaded the image into memory for us. But fallback.efi does not do this. Signed-off-by: Rob Clark --- lib/efi_loader/efi_boottime.c | 83 +++ 1 file changed, 68

Re: [U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Heinrich Schuchardt
On 08/04/2017 09:32 PM, Rob Clark wrote: > Similar to a "real" UEFI implementation, the bootmgr looks at the > BootOrder and Boot variables to try to find an EFI payload to load > and boot. This is added as a sub-command of bootefi. > > The idea is that the distro bootcmd would first try

[U-Boot] [PATCH v3 3/9] fit: fixed bug in locate_dtb_in_fit()

2017-08-04 Thread Jean-Jacques Hiblot
If the dtb is the first data of the FIT, the its offset is 0x0. Change the test to '<' instead of '<=' Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- no change since v2 common/boot_fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH v3 5/9] lzo: add a function to check the validity of the header

2017-08-04 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- no change since v2 include/linux/lzo.h| 3 +++ lib/lzo/lzo1x_decompress.c | 21 + 2 files changed, 20 insertions(+), 4

[U-Boot] [PATCH v3 7/9] lib: allow building lzo and gunzip for the SPL

2017-08-04 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- changes since v2 : Add some help for the options. except for SPL_ZLIB which is automatically selected by SPL_GZIP lib/Kconfig | 17 - lib/Makefile | 6 +++---

[U-Boot] [PATCH v0 00/20] enough UEFI for standard distro boot

2017-08-04 Thread Rob Clark
This patchset fleshes out EFI_LOADER enough to support booting an upstream \EFI\BOOT\bootaa64.efi (which then loads fallback.efi and then eventually the per-distro shim.efi which loads the per-distro grubaa64.efi) without resorting to hacks to hard-code u-boot to load a particular distro's grub,

[U-Boot] [PATCH v0 09/20] efi_loader: add device-path utils

2017-08-04 Thread Rob Clark
Helpers to construct device-paths from devices, partitions, files, and for parsing and manipulating device-paths. For non-legacy devices, this will use u-boot's device-model to construct device-paths which include bus hierarchy to construct device-paths. For legacy devices we still fake it, but

[U-Boot] [PATCH v0 08/20] efi_loader: add back optional efi_handler::open()

2017-08-04 Thread Rob Clark
In some cases it is useful to defer creation of the protocol interface object. So add back an optional ->open() hook that is used if protcol_interface is NULL. I've slightly simplified the fxn ptr signature to remove unneeded args, and so compiler will complain if patches that used the "old way"

[U-Boot] [PATCH v0 05/20] efi: add some more device path structures

2017-08-04 Thread Rob Clark
From: Peter Jones Signed-off-by: Peter Jones Signed-off-by: Rob Clark --- include/efi_api.h | 49 +++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/include/efi_api.h

[U-Boot] [PATCH v0 10/20] efi_loader: drop redundant efi_device_path_protocol

2017-08-04 Thread Rob Clark
This is really the same thing as the efi_device_path struct. Signed-off-by: Rob Clark --- include/efi_api.h| 12 ++-- lib/efi_loader/efi_device_path_to_text.c | 13 - 2 files changed, 10 insertions(+), 15 deletions(-) diff --git

[U-Boot] [PATCH v0 19/20] efi_loader: efi variable support

2017-08-04 Thread Rob Clark
Signed-off-by: Rob Clark --- cmd/bootefi.c | 4 + include/efi.h | 19 +++ include/efi_loader.h | 10 ++ lib/efi_loader/Makefile | 2 +- lib/efi_loader/efi_boottime.c | 5 + lib/efi_loader/efi_runtime.c | 17 ++-

Re: [U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:28 PM, Rob Clark wrote: > On Fri, Aug 4, 2017 at 4:06 PM, Heinrich Schuchardt > wrote: >> On 08/04/2017 09:32 PM, Rob Clark wrote: >>> Similar to a "real" UEFI implementation, the bootmgr looks at the >>> BootOrder and Boot

Re: [U-Boot] [PATCH] boot_fit: Fix warning: overflow in implicit constant conversion in fdt_offset()

2017-08-04 Thread Nobuhiro Iwamatsu
Hi, 2017-08-03 8:56 GMT+09:00 Franklin S Cooper Jr : > > Hi > On 08/02/2017 06:10 PM, Nobuhiro Iwamatsu wrote: >> FDT_ERROR is defined as unsigned long. However, since the return value of >> fdt_offset() is int, a warning will occur when compiling. >> This fixes this problem by

Re: [U-Boot] [PATCH v0 03/20] short-wchar

2017-08-04 Thread Heinrich Schuchardt
On 08/04/2017 09:31 PM, Rob Clark wrote: > For now, pending conclusion on proposal about using c11 and u"string" > instead of L"string" plus -fshort-wchar. > > Background: UEFI uses utf16 strings universally. An UEFI implementation > that does not use -fshort-wchar has to do a lot of cumbersome

Re: [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

2017-08-04 Thread Simon Glass
Hi Bin, On 22 July 2017 at 10:34, LEROY Christophe wrote: > Simon Glass a écrit : > > >> This converts the following to Kconfig: >>CONFIG_CMD_REGINFO >> >> Signed-off-by: Simon Glass >> --- >> I found another patch that was

Re: [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig

2017-08-04 Thread Simon Glass
Hi Bin, On 22 July 2017 at 09:18, Bin Meng wrote: > Hi Simon, > > On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: >> This converts the following to Kconfig: >>CONFIG_CMD_PCI >> >> Signed-off-by: Simon Glass >> --- >> [..] >>

[U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Simon Glass
From: Andy Shevchenko Convert name to show explicitly that we are using milliseconds. For a watchdog timer this is precise enough. No functional change intended. Signed-off-by: Andy Shevchenko Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v0 03/20] short-wchar

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:28 PM, Heinrich Schuchardt wrote: > On 08/04/2017 09:31 PM, Rob Clark wrote: >> For now, pending conclusion on proposal about using c11 and u"string" >> instead of L"string" plus -fshort-wchar. >> >> Background: UEFI uses utf16 strings universally. An

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-04 Thread Mark Kettenis
> From: Rob Clark > Date: Fri, 4 Aug 2017 15:31:55 -0400 Hi Rob, OpenBSD has been an early adopter of efi_loader and pretty much completely relies on it for booting OpenBSD/armv7 and OpenBSD/arm64. We use our own bootloader which is fairly lightweight. Obviously we'd like

[U-Boot] [PATCH] boot_fit: Change return value from FDT_ERROR to -EINVAL in fdt_offset()

2017-08-04 Thread Nobuhiro Iwamatsu
FDT_ERROR is defined as unsigned long. However, since the return value of fdt_offset() is int, a warning will occur when compiling. Also, it is better to use -EINVAL than FDT_ERROR. This fixes this problem by change return value from FDT_ERROR to -EINVAL. Signed-off-by: Nobuhiro Iwamatsu

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:41 PM, Mark Kettenis wrote: >> From: Rob Clark >> Date: Fri, 4 Aug 2017 15:31:55 -0400 > > Hi Rob, > > OpenBSD has been an early adopter of efi_loader and pretty much > completely relies on it for booting OpenBSD/armv7 and

[U-Boot] [PATCH] rockchip: rk3188: rock: adjust for SPL/TPL split

2017-08-04 Thread Philipp Tomsich
With the changes to split SPL/TPL for the RK3368, I apparently missed some needed adjustments to the RK3188 Kconfig and rock_defconfig. This fixes build-issues for the rock board after applying the RK3368 enablement (and SPL/TPL) set that resulted from TPL_SERIAL_SUPPORT,

[U-Boot] [PATCH v3 9/9] omap: detect board before spl_early_init()

2017-08-04 Thread Jean-Jacques Hiblot
In order to be able to select the right DTB, we need to have identified the board before spl_early_init() is called. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- no change since v2

[U-Boot] [PATCH] dm: scsi: fix callto function with wrong signature

2017-08-04 Thread Philipp Tomsich
buildman fails for the qemu-x86 with the following error: drivers/ata/ahci-pci.c: In function 'ahci_pci_probe': drivers/ata/ahci-pci.c:21:9: error: too few arguments to function 'ahci_probe_scsi' return ahci_probe_scsi(dev); ^ In file included from drivers/ata/ahci-pci.c:8:0:

[U-Boot] [PATCH v0 04/20] part: extract MBR signature from partitions

2017-08-04 Thread Rob Clark
From: Peter Jones EFI client programs need the signature information from the partition table to determine the disk a partition is on, so we need to fill that in here. Signed-off-by: Peter Jones [separated from efi_loader part, and fixed build-errors for

[U-Boot] [PATCH v0 03/20] short-wchar

2017-08-04 Thread Rob Clark
For now, pending conclusion on proposal about using c11 and u"string" instead of L"string" plus -fshort-wchar. Background: UEFI uses utf16 strings universally. An UEFI implementation that does not use -fshort-wchar has to do a lot of cumbersome charset conversion back/forth. Mixing object files

[U-Boot] [PATCH v0 07/20] vsprintf.c: add wide string (%ls) support

2017-08-04 Thread Rob Clark
This is convenient for efi_loader which deals a lot with utf16. Signed-off-by: Rob Clark --- lib/vsprintf.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 874a2951f7..0c40f852ce

[U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Rob Clark
Similar to a "real" UEFI implementation, the bootmgr looks at the BootOrder and Boot variables to try to find an EFI payload to load and boot. This is added as a sub-command of bootefi. The idea is that the distro bootcmd would first try loading a payload via the bootmgr, and then if that

[U-Boot] [PATCH v3 8/9] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-08-04 Thread Jean-Jacques Hiblot
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no compression) and append it at the end of the SPL.

[U-Boot] [PATCH v0 16/20] efi_loader: add file/filesys support

2017-08-04 Thread Rob Clark
fallback.efi (and probably other things) use UEFI's simple-file-system protocol and file support to search for OS's to boot. Signed-off-by: Rob Clark --- fs/fs.c | 21 ++ include/efi.h | 2 + include/efi_api.h

[U-Boot] [PATCH v0 11/20] efi_loader: add guidstr helper

2017-08-04 Thread Rob Clark
There are a couple places where we'll need GUID -> string. So add a helper. Signed-off-by: Rob Clark --- include/efi_loader.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/efi_loader.h b/include/efi_loader.h index 1028bfb75d..e6c46f713e

[U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-04 Thread Rob Clark
Also, create disk objects for the disk itself, in addition to the partitions. (UEFI terminology is a bit confusing, a "disk" object is really a partition.) This helps grub properly identify the boot device since it is trying to match up partition "disk" object with it's parent device. Now

[U-Boot] [PATCH v0 12/20] efi_loader: flesh out device-path to text

2017-08-04 Thread Rob Clark
It needs to handle more device-path node types, and also multiple levels of path hierarchy. To simplify this, initially construct utf8 string to a temporary buffer, and then allocate the real utf16 buffer that is returned. This should be mostly for debugging or at least not critical- path so an

[U-Boot] [PATCH v0 14/20] efi_loader: use proper device-paths for net

2017-08-04 Thread Rob Clark
Signed-off-by: Rob Clark --- lib/efi_loader/efi_net.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index 0b949d86e8..aa0618fd3a 100644 --- a/lib/efi_loader/efi_net.c +++

[U-Boot] [PATCH v3 6/9] gzip: add a function to parse the header

2017-08-04 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- no change since v2 include/common.h | 1 + lib/gunzip.c | 15 --- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v0 15/20] efi_loader: refactor boot device and loaded_image handling

2017-08-04 Thread Rob Clark
Get rid of the hacky fake boot-device and duplicate device-path constructing (which needs to match what efi_disk and efi_net do). Instead convert over to use efi_device_path helpers to construct device-paths, and use that to look up the actual boot device. Also, extract out a helper to plug

[U-Boot] [PATCH v0 18/20] efi_loader: make pool allocations cacheline aligned

2017-08-04 Thread Rob Clark
This avoids printf() spam about file reads (such as loading an image) into unaligned buffers (and the associated memcpy()). And generally seems like a good idea. Signed-off-by: Rob Clark --- lib/efi_loader/efi_memory.c | 5 +++-- 1 file changed, 3 insertions(+), 2

Re: [U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:06 PM, Heinrich Schuchardt wrote: > On 08/04/2017 09:32 PM, Rob Clark wrote: >> Similar to a "real" UEFI implementation, the bootmgr looks at the >> BootOrder and Boot variables to try to find an EFI payload to load >> and boot. This is added as a

[U-Boot] [PATCH 3/3] rockchip: rk3368: spl: move SPL_LDSCRIPT to Kconfig

2017-08-04 Thread Philipp Tomsich
With the new way of doing things (i.e. the hierarchical selection of SPL_LDSCRIPT via Kconfig) in place, this moves the SPL_LDSCRIPT setting for the RK3368 from defconfig back into Kconfig. With this done, there should be no lingering cases of SPL_LDSCRIPT outside of Kconfig files.

Re: [U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Peter Jones
On Fri, Aug 04, 2017 at 04:28:05PM -0400, Rob Clark wrote: > On Fri, Aug 4, 2017 at 4:06 PM, Heinrich Schuchardt > wrote: > > On 08/04/2017 09:32 PM, Rob Clark wrote: > >> Similar to a "real" UEFI implementation, the bootmgr looks at the > >> BootOrder and Boot variables

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Simon Glass
+Tom Hi Philipp, On 4 August 2017 at 16:21, Dr. Philipp Tomsich wrote: > >> On 04 Aug 2017, at 23:48, Simon Glass wrote: >> >> From: Andy Shevchenko >> >> Convert name to show explicitly that we are

[U-Boot] [PATCH v2 00/42] Kconfig: Convert remaining commands to Kconfig

2017-08-04 Thread Simon Glass
This series converts the remaining commands (starting from M and ending at Z) to Kconfig. This completes the Kconfig conversion of commands. Note that for v2 I dropped my CMD_REGINFO patch and picked up one from Christophe Leroy [1] since it was marked as accepted. [1]

[U-Boot] [PATCH v2 02/42] Convert CONFIG_CMD_MAX6957 to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MAX6957 Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None board/work-microwave/work_92105/Kconfig | 7 +++ configs/work_92105_defconfig| 1 +

[U-Boot] [PATCH v2 06/42] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MTDPARTS_SPREAD Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 10 ++ configs/sandbox_defconfig| 1 +

[U-Boot] [PATCH v2 16/42] Convert CONFIG_CMD_REGINFO to Kconfig

2017-08-04 Thread Simon Glass
From: Christophe Leroy This patch converts CONFIG_CMD_REGINFO to Kconfig Signed-off-by: Christophe Leroy Signed-off-by: Simon Glass --- Changes in v2: - Fixed lots of merge conflicts with my series - Pull in this patch from

[U-Boot] [PATCH v2 08/42] Convert CONFIG_CMD_PCA953X to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_PCA953X Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README | 1 - arch/powerpc/cpu/mpc83xx/Kconfig| 1 +

[U-Boot] [PATCH v2 34/42] Convert CONFIG_CMD_YAFFS2 to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_YAFFS2 Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 11 +++ cmd/Makefile | 2 +- fs/Kconfig| 2 ++ fs/yaffs2/Kconfig | 7

[U-Boot] [PATCH v2 40/42] Convert CONFIG_CMD_ZFS to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ZFS Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 11 +++ include/config_cmd_all.h | 2 -- scripts/config_whitelist.txt | 1 -

[U-Boot] [PATCH v2 30/42] Convert CONFIG_CMD_TCA642X to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TCA642X Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None configs/omap5_uevm_defconfig | 1 + drivers/gpio/Kconfig | 9 + include/configs/omap5_uevm.h | 1 -

Re: [U-Boot] rockchip: rk3399-firefly: update gmac parameter

2017-08-04 Thread Philipp Tomsich
> Update the tx_deday and rx_delay to match the timing for > rk3399-firefly board to improve the stability of gmac data > transfer. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399-firefly.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

[U-Boot] [PATCH v2 27/42] Kconfig: Sort the memory commands

2017-08-04 Thread Simon Glass
These are currently not quite in alphabetical order. Before adding more, sort them. Not all options have a CMD_ prefix, so ignore that when sorting. Signed-off-by: Simon Glass Suggested-by: Bin Meng --- Changes in v2: - Add new patch to sort the memory

[U-Boot] [PATCH v2 28/42] Convert CONFIG_CMD_STRINGS to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_STRINGS Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 8 include/configs/vct.h| 1 - scripts/config_whitelist.txt | 1 - 3

Re: [U-Boot] [U-Boot, 1/4] rockchip: rk3229: move usb gadget into defconfig

2017-08-04 Thread Philipp Tomsich
> Use the defconfig for all usb gadget and function related > option instead of define then in header file. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3229_defconfig| 20 ++-- > include/configs/evb_rk3229.h| 1 - >

Re: [U-Boot] rockchip: rk3288: update the mmc number for fastboot

2017-08-04 Thread Philipp Tomsich
> The emmc number is 0, correct it for fastboot parameter. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3288_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v2] rockchip: phycore: Read configuration EEPROM & set ethaddr in late init

2017-08-04 Thread Philipp Tomsich
> Read SoM information from EEPROM and set ethaddr in late init. > > Signed-off-by: Wadim Egorov > --- > Changes in v2: > - Fixed fdt_path_offset() error handling > > --- > board/phytec/phycore_rk3288/phycore-rk3288.c | 62 > >

[U-Boot] [PATCH v2 32/42] Kconfig: Drop CONFIG_CMD_TFTP

2017-08-04 Thread Simon Glass
This is not a valid CONFIG option. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None include/configs/dragonboard410c.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git

Re: [U-Boot] [U-Boot, 2/3] rockchip: firefly-rk3399: enable EFUSE driver

2017-08-04 Thread Philipp Tomsich
> Enable the EFUSE driver for get the cpuid and serial. > > Signed-off-by: Kever Yang > --- > > configs/firefly-rk3399_defconfig | 2 ++ > include/configs/evb_rk3399.h | 3 +++ > 2 files changed, 5 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [PATCH v2 11/15] dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect

2017-08-04 Thread Simon Glass
Hi Maxime, On 5 July 2017 at 08:43, Maxime Ripard wrote: > Hi, > > On Tue, Jul 04, 2017 at 01:31:28PM -0600, Simon Glass wrote: >> This is shown as active high in the schematics[1], so fix it. >> >> [1] https://patchwork.ozlabs.org/patch/777890/ >> >>

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Simon Glass
Hi, On 4 August 2017 at 16:37, Dr. Philipp Tomsich wrote: > >> On 05 Aug 2017, at 00:30, Simon Glass wrote: >> >> +Tom >> >> Hi Philipp, >> >> On 4 August 2017 at 16:21, Dr. Philipp Tomsich >>

[U-Boot] [PATCH v1 1/7] imx: move imximage header to common location

2017-08-04 Thread Stefan Agner
From: Stefan Agner Move the imximage.h header file to a common location so we can make use of it from U-Boot too. Signed-off-by: Stefan Agner --- {tools => include}/imximage.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-04 Thread Stefan Agner
From: Stefan Agner This series adds NXP's Serial Download Protocol (SDP) support via USB for SPL/U-Boot. It allows to download U-Boot via USB from a (recovered) SPL using the same tools used to download SPL itself (specifically imx_usb, but also sb_loader seems to

[U-Boot] [PATCH 2/3] spl: moveconfig: remove SPL_LDSCRIPT definitions for header-files

2017-08-04 Thread Philipp Tomsich
With the hierarchical defaults set up, we remove these from the header files. To do so, I've run moveconfig on SPL_LDSCRIPT and this commits the changes. Signed-off-by: Philipp Tomsich --- include/configs/am335x_evm.h | 2 --

[U-Boot] [PATCH 0/3] rockchip: rk3368: spl: move SPL_LDSCRIPT from header-files to Kconfig

2017-08-04 Thread Philipp Tomsich
After applying the SPL/TPL infrastructure changes for the RK3368, a number of unexpected failures occurred during the buildman validation run. For a some of platforms, SPL_LDSCRIPT was now defined multiple times: once from Kconfig and once from a header file. This is a hot fix (i.e. it's needed

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 5:48 AM, Simon Glass wrote: > From: Andy Shevchenko > > Convert name to show explicitly that we are using milliseconds. For a > watchdog timer this is precise enough. > > No functional change intended. > >

[U-Boot] [PATCH 1/3] spl: add hierarchical defaults for SPL_LDSCRIPT

2017-08-04 Thread Philipp Tomsich
With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config node), all the lingering definitions in header files will cause errors due to the redefinition of the configuration item. As we don't want to pollute the defconfig files (and values should usually be identical for entire

Re: [U-Boot] cmd/fdt: support single value replacement within an array

2017-08-04 Thread Laurent Pinchart
Hi Hannes, (I'm not subscribed to the list, please keep me CC'ed on replies) On Tuesday 30 May 2017 13:05:00 Hannes Schmelzer wrote: > With this commit we can modify single values within an array of a dts > property. But with this commit U-Boot crashes if you try to create a new property with

[U-Boot] Issues about u-boot tools (mkimage and dumpimage)

2017-08-04 Thread Sun,Mingshen
Hi all, I am working on a project related to secure boot. We are using NXP’s iMX7d development board. I am using `make –j32 V=1` to verbosely print build commands. The last command for making u-boot is `./tools/mkimage -n board/freescale/mx7dsabresd/imximage.cfg.cfgtmp -T imximage -e

[U-Boot] [PATCH 2/2] ARM: OMAP5: Enable support for AVS0 for OMAP5 production devices

2017-08-04 Thread Nishanth Menon
OMAP5432 did go into production with AVS class0 registers which were mutually exclusive from AVS Class 1.5 registers. Most OMAP5-uEVM boards use the pre-production Class1.5 which has production efuse registers set to 0. However on production devices, these are set to valid data. scale_vcore

[U-Boot] [PATCH 0/2] ARM: OMAP5: Add AVS support for ES2.0

2017-08-04 Thread Nishanth Menon
Hi, OMAP5 went into production with AVS Class0 Vs pre-production configuration of AVS 1.5. Most of the current "in-the-wild" OMAP5 uEVMs are based on pre-production samples, however, the support for "production configuration" helps platforms such as pyra-handheld[1]. This original issue was

[U-Boot] [PATCH 1/2] ARM: OMAP5: Remove OPP_LOW Definitions for ES2.0

2017-08-04 Thread Nishanth Menon
ES2.0 descopes OPP_LOW definition. So remove it from macros defined. Signed-off-by: Nishanth Menon --- arch/arm/include/asm/arch-omap5/clock.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/include/asm/arch-omap5/clock.h b/arch/arm/include/asm/arch-omap5/clock.h

Re: [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig

2017-08-04 Thread Bin Meng
Hi Simon, On Sat, Aug 5, 2017 at 5:38 AM, Simon Glass wrote: > Hi Bin, > > On 22 July 2017 at 09:18, Bin Meng wrote: >> Hi Simon, >> >> On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: >>> This converts the following to Kconfig: >>>

Re: [U-Boot] [PATCH v2 04/42] Kconfig: Sort the device-access commands

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > These are currently not quite in alphabetical order. Before adding more, > sort them. > > Signed-off-by: Simon Glass > Suggested-by: Bin Meng > --- > > Changes in v2: > - Add new patch

Re: [U-Boot] [PATCH v2 10/42] Convert CONFIG_CMD_PCI to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_PCI > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Fix indentation for CMD_PCI > - Sort Kconfig options in alphabetical order > >

Re: [U-Boot] [PATCH v2 21/42] Convert CONFIG_CMD_SDRAM to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SDRAM > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Put Kconfig change in alphabetical order > - Remove some now-superfluous /*

Re: [U-Boot] [PATCH v2 27/42] Kconfig: Sort the memory commands

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > These are currently not quite in alphabetical order. Before adding more, > sort them. Not all options have a CMD_ prefix, so ignore that when > sorting. > > Signed-off-by: Simon Glass > Suggested-by: Bin

Re: [U-Boot] [PATCH v2 19/42] Convert CONFIG_CMD_SAVES to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SAVES > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Put Kconfig change in alphabetical order > - Remove some now-superfluous /*

Re: [U-Boot] [PATCH v2 20/42] Convert CONFIG_CMD_SCSI to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SCSI > > Also update the Makefile to use CONFIG_CMD_SCSI instead of CONFIG_SCSI to > enable the command, fixing an earlier error. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 16/42] Convert CONFIG_CMD_REGINFO to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > From: Christophe Leroy > > This patch converts CONFIG_CMD_REGINFO to Kconfig > > Signed-off-by: Christophe Leroy > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v2 14/42] Kconfig: Drop CONFIG_CMD_PORTIO and associated command

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This command is not used by any board. It also looks quite similar to the > 'iod' and 'iow' commands which use the correct I/O macros. > > Drop it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: >

Re: [U-Boot] [PATCH v2 15/42] Kconfig: Convert CMD_READ to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > Convert this option and enable it in sandbox. Also correct a bug which > was introduced with the block-device driver model conversion. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move

Re: [U-Boot] [PATCH v2 25/42] Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_SPL_NAND_OFS > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop unwanted 'CONFIG_CMD_SPL_NAND_OFS=0x0' lines in defconfig > >

  1   2   3   >