Re: [U-Boot] [PATCH] rockchip: imply ADC and SARADC_ROCKCHIP on supported SoCs

2017-09-20 Thread David.Wu
Hi Philipp, 在 2017/9/20 19:54, Philipp Tomsich 写道: Enable the Rockchip SARADC driver on all supported SoCs (i.e. all except the RK3036 and RK3228, which don't have this peripheral): RK3188, RK3288, RK3328, RK3368, RK3399 and RV1108. Signed-off-by: Philipp

[U-Boot] [PATCH v3 03/14] rockchip: clk: Add rv1108 SARADC clock support

2017-09-20 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 10-bits width. Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v3 05/14] rockchip: clk: Add rk3328 SARADC clock support

2017-09-20 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 10-bits width. Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v3 09/14] rockchip: dts: Enable SARADC for rv1108-evb

2017-09-20 Thread David Wu
Enable the SARADC for download key pressed detect. Signed-off-by: David Wu --- Changes in v3: - Add commit message Changes in v2: None arch/arm/dts/rv1108-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rv1108-evb.dts

[U-Boot] [PATCH] py: test_gpio: Add support for GPIO pytest

2017-09-20 Thread Michal Simek
From: Vipul Kumar This patch tests the gpio commands using the gpio data from boardenv file. Also one test will show the default status of all the gpio's supported by the processor. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH v3 05/21] efi_loader: add device-path utils

2017-09-20 Thread Alexander Graf
On 14.09.17 00:05, Rob Clark wrote: 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.

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
Hi Bin, On Tue, Sep 19, 2017 at 8:32 PM, Bin Meng wrote: > Hi Suneel, > > On Wed, Sep 20, 2017 at 2:31 AM, Suneel Garapati > wrote: >> Hi Bin, >> >> On Tue, Sep 19, 2017 at 12:32 AM, Bin Meng wrote: >>> Hi Suneel, >>> >>> On Tue,

[U-Boot] [PATCH v3 02/14] rockchip: configs: Enable the ROCKCHIP_SARADC config

2017-09-20 Thread David Wu
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [PATCH v3 04/14] rockchip: clk: Add SARADC clock support for rk3288

2017-09-20 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 8-bits width. Signed-off-by: David Wu Reviewed-by: Philipp Tomsich Acked-by: Philipp Tomsich

[U-Boot] [PATCH v3 07/14] rockchip: clk: Add rk3399 SARADC clock support

2017-09-20 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 8-bits width. Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v3 06/14] rockchip: clk: Add rk3368 SARADC clock support

2017-09-20 Thread David Wu
The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1). SARADC integer divider control register is 8-bits width. Signed-off-by: David Wu Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v3 14/14] rockchip: dts: Enable SARADC for rk3399-evb

2017-09-20 Thread David Wu
Enable the SARADC for download key pressed detect. Signed-off-by: David Wu --- Changes in v3: - Add commit message Changes in v2: None arch/arm/dts/rk3399-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3399-evb.dts

[U-Boot] [PATCH v3 13/14] rockchip: dts: Enable SARADC for rk3368-sheep

2017-09-20 Thread David Wu
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [PATCH v3 12/14] rockchip: dts: Enable SARADC for rk3368-px5-evb

2017-09-20 Thread David Wu
Enable the SARADC for download key pressed detect. Signed-off-by: David Wu --- Changes in v3: - Add commit message Changes in v2: None arch/arm/dts/rk3368-px5-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3368-px5-evb.dts

[U-Boot] [PATCH v3 00/14] Add rockchip SARADC support

2017-09-20 Thread David Wu
The SARADC is used for adc keys and charging detect at uboot loader. Except for the rk3036 and rk3228 Socs, the others support the SARADC IP. Changes in v3: - Add commit message - Add commit message - Add commit message - Add commit message - Add commit message - Add commit message Changes in

[U-Boot] [PATCH v3 10/14] rockchip: dts: Enable SARADC for rk3288-popmetal

2017-09-20 Thread David Wu
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Bin Meng
Hi Suneel, On Wed, Sep 20, 2017 at 2:32 PM, Suneel Garapati wrote: > Hi Bin, > > On Tue, Sep 19, 2017 at 8:32 PM, Bin Meng wrote: >> Hi Suneel, >> >> On Wed, Sep 20, 2017 at 2:31 AM, Suneel Garapati >> wrote: >>> Hi Bin, >>>

Re: [U-Boot] [PATCH v3 15/21] efi_loader: add bootmgr

2017-09-20 Thread Alexander Graf
On 14.09.17 00:05, 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 loading a

Re: [U-Boot] [PATCH v3 00/21] efi_loader: enough UEFI for standard distro boot

2017-09-20 Thread Alexander Graf
On 14.09.17 00:05, Rob Clark wrote: 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

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Masahiro Yamada
Hi Simon, 2017-09-20 22:49 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 19 September 2017 at 20:51, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2017-09-17 6:23 GMT+09:00 Simon Glass : >> >>> >>> +menu "Logging" >>> + >>>

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Masahiro Yamada
2017-09-20 23:37 GMT+09:00 Dr. Philipp Tomsich : > Masahiro & Simon, > >> On 20 Sep 2017, at 15:49, Simon Glass wrote: >> >> Hi Masahiro, >> >> On 19 September 2017 at 20:51, Masahiro Yamada >> wrote: >>> Hi

[U-Boot] cmd/bootefi.c:285:3: error: ‘loaded_image_info’ undeclared

2017-09-20 Thread Heinrich Schuchardt
Hello Rob, hello Alex, when I try to compile efi-next I get CC cmd/bootefi.o cmd/bootefi.c: In function ‘do_bootefi’: cmd/bootefi.c:285:3: error: ‘loaded_image_info’ undeclared (first use in this function) loaded_image_info.device_handle = bootefi_device_path; ^

Re: [U-Boot] [PATCH v3 1/1] test/py: provide example scripts for integrating qemu

2017-09-20 Thread Stephen Warren
On 09/20/2017 11:43 AM, Heinrich Schuchardt wrote: On 09/20/2017 06:41 PM, Stephen Warren wrote: On 09/19/2017 02:04 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tedious to find. The patch adds a complete example for running the Python tests for

[U-Boot] [PATCH] README.imx6: Prefer loading SPL via the new SDP mechanism

2017-09-20 Thread Fabio Estevam
Now that it is possible to load SPL and u-boot.img via imx_usb_loader tool, mention this method instead of the old one that relied on ymodem. Signed-off-by: Fabio Estevam --- doc/README.imx6 | 32 +++- 1 file changed, 3 insertions(+), 29

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Bin Meng
Hi Simon, On Wed, Sep 20, 2017 at 9:50 PM, Simon Glass wrote: > Hi Bin, > > On 17 September 2017 at 21:45, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Sep 17, 2017 at 5:23 AM, Simon Glass wrote: >>> Add the logging header file and

Re: [U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu

2017-09-20 Thread Stephen Warren
On 09/19/2017 02:15 PM, Heinrich Schuchardt wrote: On 09/18/2017 11:28 PM, Stephen Warren wrote: On 09/18/2017 01:55 PM, Heinrich Schuchardt wrote: On 09/18/2017 08:27 PM, Stephen Warren wrote: On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Dr. Philipp Tomsich
Masahiro, > On 20 Sep 2017, at 19:34, Masahiro Yamada > wrote: > > 2017-09-20 23:37 GMT+09:00 Dr. Philipp Tomsich > : >> Masahiro & Simon, >> >>> On 20 Sep 2017, at 15:49, Simon Glass wrote: >>> >>> Hi

Re: [U-Boot] [PATCH] py: test_gpio: Add support for GPIO pytest

2017-09-20 Thread Stephen Warren
On 09/20/2017 01:55 AM, Michal Simek wrote: From: Vipul Kumar This patch tests the gpio commands using the gpio data from boardenv file. Also one test will show the default status of all the gpio's supported by the processor. Nit: Wrap the commit description to

Re: [U-Boot] [PATCH v3 1/1] test/py: provide example scripts for integrating qemu

2017-09-20 Thread Heinrich Schuchardt
On 09/20/2017 06:41 PM, Stephen Warren wrote: > On 09/19/2017 02:04 PM, Heinrich Schuchardt wrote: >> The necessary parameters for running Python tests on qemu are >> tedious to find. >> >> The patch adds a complete example for running the Python tests for >> qemu-x86_defconfig on an X86 system. >

Re: [U-Boot] [PATCH v3 1/1] test/py: provide example scripts for integrating qemu

2017-09-20 Thread Stephen Warren
On 09/19/2017 02:04 PM, Heinrich Schuchardt wrote: The necessary parameters for running Python tests on qemu are tedious to find. The patch adds a complete example for running the Python tests for qemu-x86_defconfig on an X86 system. diff --git a/test/py/README.md b/test/py/README.md

Re: [U-Boot] [PATCH 16/23] efi_loader: implement DisconnectController

2017-09-20 Thread Rob Clark
On Wed, Sep 20, 2017 at 9:49 AM, Simon Glass wrote: > Hi Heinrich, > > On 15 September 2017 at 00:35, Heinrich Schuchardt wrote: >> On 08/31/2017 02:52 PM, Simon Glass wrote: >>> On 27 August 2017 at 06:53, Heinrich Schuchardt wrote:

Re: [U-Boot] [PATCH v2 1/7] spl: fix assignment of board info to global data

2017-09-20 Thread York Sun
On 09/18/2017 08:47 AM, York Sun wrote: > On 09/17/2017 10:55 AM, Simon Glass wrote: >> Hi York, >> >> On 14 September 2017 at 13:01, York Sun wrote: >>> This partially reverts commit 15eb1d43bf470b85e9031c2fce7e0ce7b27dd321 >>> which intended to move assignment of board info

[U-Boot] [PATCH v5 0/4] Allwinner SimpleFB Kconfig cleanup and DE2 SimpleFB support

2017-09-20 Thread Icenowy Zheng
This patchset is mainly for Allwinner DE2 HDMI SimpleFB support. The framebuffer initialized by the Allwinner DE2 driver can be passed by to the kernel as simplefb, and this can enable the kernel to display graphics without having full DE2 driver. Add the suppot of simplefb in DE2 code. The

[U-Boot] [PATCH v5 3/4] video: add an option for video simplefb via DT

2017-09-20 Thread Icenowy Zheng
Add an option to indicate that the video driver should setup a SimpleFB node that passes the video framebuffer initialized by U-Boot to the operating system kernel. Currently only the Allwinner DE1 driver uses this option, and the definition of this option in the sunxi-common.h config header is

[U-Boot] [PATCH v5 2/4] video: sunxi: extract simplefb match code to a new file

2017-09-20 Thread Icenowy Zheng
As the DE2 simplefb setup code can also benefit from the simplefb match code, extract it to a new source file. Signed-off-by: Icenowy Zheng Reviewed-by: Andre Przywara Acked-by: Maxime Ripard --- Changes in v4: - Add

Re: [U-Boot] Sandbox 'usb start' causes segment fault

2017-09-20 Thread Bin Meng
Hi Simon, On Wed, Sep 20, 2017 at 9:49 PM, Simon Glass wrote: > Hi Bin, > > On 19 September 2017 at 21:40, Bin Meng wrote: >> Hi, >> >> Not sure if I am running sandbox correctly with USB support, but here >> is the log: >> >> $ ./u-boot -D >> >> >> U-Boot

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Dr. Philipp Tomsich
> On 20 Sep 2017, at 16:41, Bin Meng wrote: > > Hi Simon, > > On Wed, Sep 20, 2017 at 9:50 PM, Simon Glass wrote: >> Hi Bin, >> >> On 17 September 2017 at 21:45, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Sep 17, 2017 at 5:23

Re: [U-Boot] [PATCH v3 15/21] efi_loader: add bootmgr

2017-09-20 Thread Rob Clark
On Wed, Sep 20, 2017 at 5:08 AM, Alexander Graf wrote: > > > On 14.09.17 00:05, 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 v5 4/4] sunxi: setup simplefb for Allwinner DE2

2017-09-20 Thread Icenowy Zheng
As the support of EFI boot on Allwinner H3 is broken, we still need to use simplefb to pass the framebuffer to Linux. Add code to setup simplefb for Allwinner DE2 driver. Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard --- Changes in v4:

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Dr. Philipp Tomsich
Masahiro & Simon, > On 20 Sep 2017, at 15:49, Simon Glass wrote: > > Hi Masahiro, > > On 19 September 2017 at 20:51, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2017-09-17 6:23 GMT+09:00 Simon Glass : >> >>> >>> +menu

[U-Boot] [PATCH] configs: k2g_evm: Make findfdt command populate fdtfile variable

2017-09-20 Thread Andrew F. Davis
On all other platforms the command 'findfdt' populates the variable 'fdtfile', but on K2G we only populate 'name_fdt'. The generic boot and automation scripts fail when 'findfdt' is not populated, fix this for K2G. Signed-off-by: Andrew F. Davis --- include/configs/k2g_evm.h | 2 +-

[U-Boot] [PATCH] defconfigs: Add a config for AM43xx High Security EVM with QSPI Boot support

2017-09-20 Thread Andrew F. Davis
On AM43xx HS devices, QSPI boot is XIP and we use a single stage bootloader. Add a defconfig for this. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + configs/am43xx_hs_evm_qspi_defconfig | 56 2 files changed, 57

Re: [U-Boot] [PATCH 00/13] log: Add a new logging feature

2017-09-20 Thread Wolfgang Denk
Dear Simon, sorry for jumping in so late... In message <20170916212331.170463-1-...@chromium.org> you wrote: > > At present U-Boot has a logbuffer feature which records output in a memory > buffer for later display or storage. This is useful but is not at present > enabled for any board.

Re: [U-Boot] cmd/bootefi.c:285:3: error: ‘loaded_image_info’ undeclared

2017-09-20 Thread Rob Clark
On Wed, Sep 20, 2017 at 2:42 PM, Heinrich Schuchardt wrote: > Hello Rob, hello Alex, > > when I try to compile efi-next I get > > CC cmd/bootefi.o > cmd/bootefi.c: In function ‘do_bootefi’: > cmd/bootefi.c:285:3: error: ‘loaded_image_info’ undeclared (first use in >

[U-Boot] [PATCH 1/1] efi_selftest: enable CONFIG_CMD_BOOTEFI_SELFTEST

2017-09-20 Thread Heinrich Schuchardt
The EFI selftest has been broken by a patch on efi-next. We should enable CONFIG_CMD_BOOTEFI_SELFTEST on qemu-x86_defconfig and qemu-x86_64_defconfig by default to catch this type of problem in the Travis CI tests. These systems typically have abundant memory so that enabling this option should

[U-Boot] [PATCH] arm: am33xx: security: adds auth support for encrypted images

2017-09-20 Thread Andrew F. Davis
From: Madan Srinivas This patch adds support for authentication of both plain text and encrypted binaries. A new SECDEV package is needed to enable encryption of binaries by default for AM3x. The ROM authentication API detects encrypted images at runtime and automatically

Re: [U-Boot] [PATCH v2 1/1] efi_loader: reenable selftest

2017-09-20 Thread Rob Clark
On Wed, Sep 20, 2017 at 4:54 PM, Heinrich Schuchardt wrote: > ad503ffe9c6 efi_loader: refactor boot device and loaded_image handling > leads to an error when building with CONFIG_CMD_BOOTEFI_SELFTEST=y > This patch fixes the problem. > > Fixes: ad503ffe9c6 efi_loader: refactor

[U-Boot] [PATCH] configs: am43xx_evm: Avoid relocation onto firewall at the end of DRAM

2017-09-20 Thread Andrew F. Davis
On secure devices the initial secure software may install a firewall at the end of DRAM, define protected RAM to avoid space. Signed-off-by: Andrew F. Davis --- include/configs/am43xx_evm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/am43xx_evm.h

[U-Boot] [PATCH v2] defconfigs: Add a config for AM335x High Security EVM with UART Boot support

2017-09-20 Thread Andrew F. Davis
Add a new defconfig file for the AM335x High Security EVM. This config is specific for the case of UART booting Signed-off-by: Andrew F. Davis --- Note: This only builds with GCC6+ due to size limitations for SPL to fit into SRAM MAINTAINERS | 1 +

[U-Boot] [PATCH v2 1/1] efi_loader: reenable selftest

2017-09-20 Thread Heinrich Schuchardt
ad503ffe9c6 efi_loader: refactor boot device and loaded_image handling leads to an error when building with CONFIG_CMD_BOOTEFI_SELFTEST=y This patch fixes the problem. Fixes: ad503ffe9c6 efi_loader: refactor boot device and loaded_image handling Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH 1/1] efi_loader: reenable selftest

2017-09-20 Thread Heinrich Schuchardt
ad503ffe9c6 efi_loader: refactor boot device and loaded_image handling leads to an error when building with CONFIG_CMD_BOOTEFI_SELFTEST=y This patch fixes the problem. Fixes: ad503ffe9c6 efi_loader: refactor boot device and loaded_image handling Signed-off-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 00/13] log: Add a new logging feature

2017-09-20 Thread Heinrich Schuchardt
On 09/20/2017 04:32 AM, Masahiro Yamada wrote: > Hi Simon, > > > 2017-09-17 6:23 GMT+09:00 Simon Glass : >> U-Boot currently has fairly rudimentary logging features. A basic printf() >> provides console output and debug() provides debug output which is >> activated if DEBUG is

Re: [U-Boot] [PATCH 1/1] efi_loader: reenable selftest

2017-09-20 Thread Rob Clark
On Wed, Sep 20, 2017 at 3:46 PM, Heinrich Schuchardt wrote: > ad503ffe9c6 efi_loader: refactor boot device and loaded_image handling > leads to an error when building with CONFIG_CMD_BOOTEFI_SELFTEST=y > This patch fixes the problem. > > Fixes: ad503ffe9c6 efi_loader: refactor

[U-Boot] [PATCH 2/2] wandboard: Add support for the MX6QP variant

2017-09-20 Thread Fabio Estevam
From: Fabio Estevam Add support for the latest MX6QP wandboard variant. Based on Richard Hu's work from Technexion's U-Boot tree. Signed-off-by: Fabio Estevam --- arch/arm/include/asm/arch-mx6/imx-regs.h | 3 + board/wandboard/spl.c

[U-Boot] [PATCH v2 2/2] wandboard: Add support for the MX6QP variant

2017-09-20 Thread Fabio Estevam
From: Fabio Estevam Add support for the latest MX6QP wandboard variant. Based on Richard Hu's work from Technexion's U-Boot tree. Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm/include/asm/arch-mx6/imx-regs.h | 3 +

Re: [U-Boot] [Patch v2] spl: Fix compiling warning on gunzip argument

2017-09-20 Thread Tom Rini
On Wed, Sep 20, 2017 at 10:35:08PM +, York Sun wrote: > On 09/15/2017 08:21 AM, York Sun wrote: > > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ > > from incompatible pointer type [-Wincompatible-pointer-types] > > src, )) > > > > Signed-off-by: York Sun

[U-Boot] [PATCH] efi_loader: fix efi_exit

2017-09-20 Thread Rob Clark
efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the otherside of the longjmp(). Signed-off-by: Rob Clark --- cmd/bootefi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/bootefi.c b/cmd/bootefi.c index fdfed1be05..a049e5f64d 100644 --- a/cmd/bootefi.c

Re: [U-Boot] [Patch v2] spl: Fix compiling warning on gunzip argument

2017-09-20 Thread York Sun
On 09/15/2017 08:21 AM, York Sun wrote: > common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ > from incompatible pointer type [-Wincompatible-pointer-types] > src, )) > > Signed-off-by: York Sun > Reported-by: Heinrich Schuchardt >

[U-Boot] [PATCH v2 1/2] wandboard: Add support for the latest revd1 revision

2017-09-20 Thread Fabio Estevam
From: Fabio Estevam Latest wandboard hardware revision is revd1, which brings the following new features: - PFUZE100 PMIC - AR8035 Ethernet PHY - Upgrade Wifi/BT chip to BCM4339/BCM43430. The detection mechanism is to probe the PMIC and when it is found, then the

[U-Boot] [PATCH 1/2] wandboard: Add support for the latest revd1 revision

2017-09-20 Thread Fabio Estevam
From: Fabio Estevam Latest wandboard hardware revision is revd1, which brings the following new features: - PFUZE100 PMIC - AR8035 Ethernet PHY - Upgrade Wifi/VT chip to BCM4339/BCM43430. The detection mechanism is to probe the PMIC and when it is found, then the

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
Hi Bin, On Wed, Sep 20, 2017 at 12:42 AM, Bin Meng wrote: > Hi Suneel, > > On Wed, Sep 20, 2017 at 2:32 PM, Suneel Garapati > wrote: >> Hi Bin, >> >> On Tue, Sep 19, 2017 at 8:32 PM, Bin Meng wrote: >>> Hi Suneel, >>> >>> On Wed,

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

2017-09-20 Thread Tom Rini
On Wed, Sep 20, 2017 at 03:47:53PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 08cebeeaadd9192dd501308ac6a8b858ffa255c1: > > Merge git://git.denx.de/u-boot-fdt (2017-09-15 22:34:34 -0400) > > are available in the git

Re: [U-Boot] [PATCH 2/2] ARM: omap3: am3517-evm: Add device tree and DM support

2017-09-20 Thread Derald D. Woods
On Tue, Sep 19, 2017 at 08:32:11PM -0500, Adam Ford wrote: > With the device tree ported from Linux 4.13, this enables > Driver Model and Device Tree support for the am3517-evm > > Signed-off-by: Adam Ford Tested-by: Derald D. Woods > --- >

Re: [U-Boot] DDR training code for Armada 38x

2017-09-20 Thread Chris Packham
On Wed, Sep 20, 2017 at 5:31 PM, Stefan Roese wrote: > Hi Chris, > > On 19.09.2017 20:58, Chris Packham wrote: >> >> When you did the port from Marvell's source did you script any of the >> tidy-up that you did along the way? > > > Not really. At least not in a reproducible way. I

Re: [U-Boot] Sandbox 'usb start' causes segment fault

2017-09-20 Thread Simon Glass
Hi Bin, On 20 September 2017 at 08:06, Bin Meng wrote: > Hi Simon, > > On Wed, Sep 20, 2017 at 9:49 PM, Simon Glass wrote: >> Hi Bin, >> >> On 19 September 2017 at 21:40, Bin Meng wrote: >>> Hi, >>> >>> Not sure if I am running sandbox

Re: [U-Boot] [PATCH v3 15/21] efi_loader: add bootmgr

2017-09-20 Thread Simon Glass
Hi, On 20 September 2017 at 08:09, Rob Clark wrote: > On Wed, Sep 20, 2017 at 5:08 AM, Alexander Graf wrote: >> >> >> On 14.09.17 00:05, Rob Clark wrote: >>> >>> Similar to a "real" UEFI implementation, the bootmgr looks at the >>> BootOrder and Boot

Re: [U-Boot] [PATCH 16/23] efi_loader: implement DisconnectController

2017-09-20 Thread Simon Glass
Hi Rob, On 20 September 2017 at 08:23, Rob Clark wrote: > On Wed, Sep 20, 2017 at 9:49 AM, Simon Glass wrote: >> Hi Heinrich, >> >> On 15 September 2017 at 00:35, Heinrich Schuchardt >> wrote: >>> On 08/31/2017 02:52 PM, Simon Glass

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Simon Glass
Hi Bin, On 20 September 2017 at 08:41, Bin Meng wrote: > > Hi Simon, > > On Wed, Sep 20, 2017 at 9:50 PM, Simon Glass wrote: > > Hi Bin, > > > > On 17 September 2017 at 21:45, Bin Meng wrote: > >> Hi Simon, > >> > >> On Sun, Sep 17,

[U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed

2017-09-20 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, also preamble should not be set for blk child devices. add usb_emul to ignore list in usb_show_info. otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati

[U-Boot] [PATCH v4] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v4: - do not set preamble if child is block device for mass storage Changes

Re: [U-Boot] [PATCH 1/2] arm: dts: am3517_evm: Sync DTS files with Linux 4.13-RC5

2017-09-20 Thread Derald D. Woods
On Tue, Sep 19, 2017 at 08:32:10PM -0500, Adam Ford wrote: > To keep the DTS and DTSI files clean and in sync with Linux, new > u-boot.dtsi files are added. > > There are some spacing issues in the patch, but they appear to be > present in the Linux source files. I'll try to get to fixing them

[U-Boot] Uboot send pull request

2017-09-20 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit e884656c2c0b2406b9bf99ea76f5a8c75128a331: Merge git://www.denx.de/git/u-boot-imx (2017-09-20 12:32:34 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v3 15/21] efi_loader: add bootmgr

2017-09-20 Thread Alexander Graf
> Am 21.09.2017 um 06:58 schrieb Simon Glass : > > Hi, > >> On 20 September 2017 at 08:09, Rob Clark wrote: >>> On Wed, Sep 20, 2017 at 5:08 AM, Alexander Graf wrote: >>> >>> On 14.09.17 00:05, Rob Clark wrote: Similar

[U-Boot] [PATCH] configs: keystone2: env: Fix burn_uboot_spi command

2017-09-20 Thread Lokesh Vutla
Now the u-boot spi image is greater than 0x8, increase the same in env during spi erase. Reported-by: Yan Liu Signed-off-by: Lokesh Vutla --- include/configs/ti_armv7_keystone2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH V4 01/12] scripts: spl: fix typo

2017-09-20 Thread Peng Fan
For the patchset, Ping.. Thanks, Peng. On Wed, Aug 30, 2017 at 02:14:42PM +0800, Peng Fan wrote: >Typo fix: CONIFG->CONFIG > >Signed-off-by: Peng Fan >Cc: Tom Rini >--- > >V2: new >V3: none >V4: none > > scripts/Makefile.uncmd_spl | 2 +- > 1 file changed, 1

[U-Boot] [PATCH] ARM: dts: OMAP5+: Enable all gpios in SPL

2017-09-20 Thread Lokesh Vutla
With DM enabled, gpio numbering is assigned based on the probed order of gpios, irrespective of the gpio base. So enable all necessary gpios in SPL. Fixes: edf25d94d55c (“ARM: dts: OMAP5+: Enable gpio in SPL”) Reported-by: Gou, Hongmei Tested-by: Aparna Balasubramanian

Re: [U-Boot] [PATCH v4] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Bin Meng
Hi Suneel, On Thu, Sep 21, 2017 at 10:17 AM, Suneel Garapati wrote: > add blk child devices to ignore list while displaying > usb tree graph, otherwise usb tree and info commands > may cause crash treating blk as usb device. > > Signed-off-by: Suneel Garapati

Re: [U-Boot] [PATCH v4] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
Hi Bin, On Wed, Sep 20, 2017 at 8:35 PM, Bin Meng wrote: > Hi Suneel, > > On Thu, Sep 21, 2017 at 10:17 AM, Suneel Garapati > wrote: >> add blk child devices to ignore list while displaying >> usb tree graph, otherwise usb tree and info commands >>

[U-Boot] [PATCH] nds32: Fix io.h warning message about readb

2017-09-20 Thread Andes
From: rick It is caused from asm/io.h declare different input type. Signed-off-by: rick --- arch/nds32/include/asm/io.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/nds32/include/asm/io.h

Re: [U-Boot] [PATCH 00/13] log: Add a new logging feature

2017-09-20 Thread Simon Glass
Hi Heinrich, On 20 September 2017 at 14:20, Heinrich Schuchardt wrote: > On 09/20/2017 04:32 AM, Masahiro Yamada wrote: >> Hi Simon, >> >> >> 2017-09-17 6:23 GMT+09:00 Simon Glass : >>> U-Boot currently has fairly rudimentary logging features. A basic

Re: [U-Boot] [PATCH 00/13] log: Add a new logging feature

2017-09-20 Thread Simon Glass
Hi Wolfgang, On 20 September 2017 at 13:55, Wolfgang Denk wrote: > Dear Simon, > > sorry for jumping in so late... > > In message <20170916212331.170463-1-...@chromium.org> you wrote: >> >> At present U-Boot has a logbuffer feature which records output in a memory >> buffer for

Re: [U-Boot] [RESEND PATCH 5/5] sunxi: video: add LCD support to DE2 driver

2017-09-20 Thread Vasily Khoruzhick
Hi, I did few tests, see results inline. On Tue, Sep 19, 2017 at 12:00 PM, Vasily Khoruzhick wrote: > On Tue, Sep 19, 2017 at 1:33 AM, Maxime Ripard > wrote: >> On Mon, Sep 18, 2017 at 10:04:21PM -0700, Vasily Khoruzhick wrote: >>> Extend

[U-Boot] [PATCH v2 1/2] ls1088ardb: Enable USB command RDB qspi-boot

2017-09-20 Thread Ran Wang
From: Ashish Kumar Signed-off-by: Ashish Kumar Signed-off-by: Amrita Kumari Signed-off-by: Ran Wang --- Change in v2: 1.Adjust USB nodes position in dts to keep them sorted in

[U-Boot] [PATCH v2 2/2] ls1088aqds: Enable USB command on QDS for qspi-boot

2017-09-20 Thread Ran Wang
From: Ashish Kumar Signed-off-by: Amrita Kumari Signed-off-by: Ashish Kumar Signed-off-by: Ran Wang --- Change in v2: Remove macro CONFIG_HAS_FSL_XHCI_USB and CONFIG_USB_XHCI_FSL and

Re: [U-Boot] [PATCH v3 1/2] imx: add macro to detect whether USB PHY is active

2017-09-20 Thread Stefano Babic
On 13/09/2017 23:29, Stefan Agner wrote: > From: Stefan Agner > > This macro allows to detect whether the USB PHY is active. This > is helpful to detect if the boot ROM has previously started the > USB serial downloader. > > The idea is taken from the mfgtool support

Re: [U-Boot] [PATCH v3 2/2] imx_common: detect USB serial downloader reliably

2017-09-20 Thread Stefano Babic
On 13/09/2017 23:29, Stefan Agner wrote: > From: Stefan Agner > > The current mechanism using SCR/GPR registers work well when > the serial downloader boot mode has been selected explicitly > (either via boot mode pins or using bmode command). However, > in case the

Re: [U-Boot] [PATCH v2] imx: imx7d: remove CamelCase from ENET_xMHz macros

2017-09-20 Thread Stefano Babic
On 31/08/2017 17:34, Eric Nelson wrote: > Update these macros to use all upper-case to avoid checkpatch > warnings: > > ENET_25MHz, > ENET_50MHz, > ENET_125MHz, > > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic

Re: [U-Boot] [PATCH] imx6: drop duplicated bss memset and board_init_r() call

2017-09-20 Thread Stefano Babic
On 28/08/2017 20:58, Anatolij Gustschin wrote: > bss section is cleared in crt0.S. board_init_r() is also > entered from crt0 code. > > Signed-off-by: Anatolij Gustschin > Cc: Christian Gmeiner > Cc: Nikita Kiryanov > Cc: Jagan

Re: [U-Boot] [PATCH] pico-imx7d: Add "how to boot with NXP 4.1 Kernel"

2017-09-20 Thread Stefano Babic
On 29/08/2017 18:53, Vanessa Maegima wrote: > The NXP 4.1 kernel needs to boot with secure boot. > > Add information on how to enable secure boot mode. > > Signed-off-by: Vanessa Maegima > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] detect and setup solidrun hummingboard2

2017-09-20 Thread Stefano Babic
On 24/08/2017 17:49, Dennis Gilmore wrote: > The hummingboard2 is slightly different to the cubox i and to the > hummingboard. The GPIO pin info to probe came from solidruns > for of u-boot on github. >

Re: [U-Boot] [PATCH] board: ge: bx50v3: set eth0 MAC address

2017-09-20 Thread Stefano Babic
On 22/08/2017 08:03, Jose Alarcon wrote: > From: Ian Ray > > Define i2c mux configuration. Add new vpd_reader which is used to read > vital product data. Read VPD from EEPROM and set eth0 MAC address. > > Signed-off-by: Ian Ray > Signed-off-by: Jose Alarcon

Re: [U-Boot] [PATCH 1/2] toradex: imx6: Move g_dnl_bind_fixup() into common SPL code

2017-09-20 Thread Stefano Babic
On 06/09/2017 01:46, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of having every board file to add its own g_dnl_bind_fixup() > implementation, move it to the common imx6 SPL code. > > Signed-off-by: Fabio Estevam > Reviewed-by: Łukasz

Re: [U-Boot] [PATCH 2/2] mx6sabresd: Add Serial Download Protocol support

2017-09-20 Thread Stefano Babic
On 06/09/2017 01:46, Fabio Estevam wrote: > From: Fabio Estevam > > Add Serial Download Protocol support (SDP), which allows loading > SPL and u-boot.img via imx_usb_loader tool as explained in > doc/README.sdp. > > Signed-off-by: Fabio Estevam >

[U-Boot] [PULL] Please pull u-boot-imx

2017-09-20 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 08cebeeaadd9192dd501308ac6a8b858ffa255c1: Merge git://git.denx.de/u-boot-fdt (2017-09-15 22:34:34 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you to fetch

Re: [U-Boot] Sandbox 'usb start' causes segment fault

2017-09-20 Thread Simon Glass
Hi Bin, On 19 September 2017 at 21:40, Bin Meng wrote: > Hi, > > Not sure if I am running sandbox correctly with USB support, but here > is the log: > > $ ./u-boot -D > > > U-Boot 2017.09-00191-gc145392-dirty (Sep 17 2017 - 21:33:01 +0800) > > Model: sandbox > DRAM: 128 MiB

Re: [U-Boot] [PATCH 16/23] efi_loader: implement DisconnectController

2017-09-20 Thread Simon Glass
Hi Heinrich, On 15 September 2017 at 00:35, Heinrich Schuchardt wrote: > On 08/31/2017 02:52 PM, Simon Glass wrote: >> On 27 August 2017 at 06:53, Heinrich Schuchardt wrote: >>> Signed-off-by: Heinrich Schuchardt >>> --- >>>

Re: [U-Boot] [PATCH 2/3] dm: video: Add basic ANSI escape sequence support

2017-09-20 Thread Simon Glass
Hi Rob, On 17 September 2017 at 13:39, Rob Clark wrote: > On Sun, Sep 17, 2017 at 3:30 PM, Simon Glass wrote: >> Hi Rob, >> >> On 17 September 2017 at 13:26, Rob Clark wrote: >>> On Sun, Sep 17, 2017 at 1:55 PM, Simon Glass

Re: [U-Boot] [PATCH 15/23] efi_loader: implement ConnectController

2017-09-20 Thread Simon Glass
Hi Heinrich, On 15 September 2017 at 00:48, Heinrich Schuchardt wrote: > On 08/31/2017 02:52 PM, Simon Glass wrote: >> On 27 August 2017 at 06:53, Heinrich Schuchardt wrote: >>> Signed-off-by: Heinrich Schuchardt >>> --- >>>

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Simon Glass
Hi Bin, On 17 September 2017 at 21:45, Bin Meng wrote: > Hi Simon, > > On Sun, Sep 17, 2017 at 5:23 AM, Simon Glass wrote: >> Add the logging header file and implementation with some configuration >> options to control it. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 06/13] log: Add an implemention of logging

2017-09-20 Thread Simon Glass
Hi Masahiro, On 19 September 2017 at 20:51, Masahiro Yamada wrote: > Hi Simon, > > > 2017-09-17 6:23 GMT+09:00 Simon Glass : > >> >> +menu "Logging" >> + >> +config LOG >> + bool "Enable logging support" >> + help >> + This

  1   2   >