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

2017-09-20 Thread Maxime Ripard
On Thu, Sep 21, 2017 at 05:33:36AM +, Vasily Khoruzhick wrote: > >>> + ret = uclass_find_device_by_name(UCLASS_DISPLAY, > >>> + "sunxi_lcd", &disp); > >>> + if (!ret) { > >>> + int mux; > >>> + > >>> + mux = 0; > >>> + > >>> +

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

2017-09-20 Thread Vasily Khoruzhick
Extend DE2 driver with LCD support. Tested on Pinebook which is based on A64 and has ANX6345 eDP bridge with eDP panel connected to it. Signed-off-by: Vasily Khoruzhick --- v2: - drop redundant clock_set_pll10() call - fallback to timings from DT if reading EDID from bridge failed - read

[U-Boot] [PATCH v2 4/5] sunxi: video: split out PLL configuration code

2017-09-20 Thread Vasily Khoruzhick
It will be reused in new DM LCD driver. Signed-off-by: Vasily Khoruzhick --- v2: - no changes arch/arm/include/asm/arch-sunxi/lcdc.h | 2 + drivers/video/sunxi/lcdc.c | 117 ++- drivers/video/sunxi/sunxi_display.c| 121 ++

[U-Boot] [PATCH v2 3/5] video: add anx6345 DM driver

2017-09-20 Thread Vasily Khoruzhick
This is a eDP bridge similar to ANX9804, it allows to connect eDP panels to the chips that can output only parallel signal Signed-off-by: Vasily Khoruzhick --- v2: - no changes drivers/video/bridge/Kconfig | 8 + drivers/video/bridge/Makefile | 1 + drivers/video/bridge/anx6345.c | 419 +

[U-Boot] [PATCH v2 2/5] video: anx9804: split out registers definitions into a separate header

2017-09-20 Thread Vasily Khoruzhick
This header will be used in anx6345 driver Signed-off-by: Vasily Khoruzhick --- v2: - no changes drivers/video/anx9804.c | 54 +-- include/anx98xx-edp.h | 98 + 2 files changed, 99 insertions(+), 53 deletions(-) create m

[U-Boot] [PATCH v2 1/5] dm: video: bridge: add operation to read EDID

2017-09-20 Thread Vasily Khoruzhick
Add an operation to read EDID, since bridge may have ability to read EDID from the panel that is connected to it, for example LCD<->eDP bridge. Signed-off-by: Vasily Khoruzhick --- v2: - no changes drivers/video/bridge/video-bridge-uclass.c | 10 ++ include/video_bridge.h

[U-Boot] [PATCH v2 0/5] sunxi: video: add DE2 LCD and ANX6345 drivers

2017-09-20 Thread Vasily Khoruzhick
This series adds drivers that are necessary to get LCD working on Pinebook: - ANX6345 eDP bridge driver that allows to connect eDP panels to SoCs that have parallel LCD interface - DE2 LCD driver for Allwinner A64. Similar hardware is present in V3s and R40, but is not supported by this dri

Re: [U-Boot] [PATCH v3 0/3] sunxi: add PWM driver for H3 and A64

2017-09-20 Thread Vasily Khoruzhick
Typo in cover letter subject, it's actually v2 series. On Wed, Sep 20, 2017 at 11:07 PM, Vasily Khoruzhick wrote: > This series introduces a PWM driver for Allwinner H3 and A64 and makes > some adjustments to pwm_backlight driver that are neccessary to get > backlight working on Pinebook. > _

[U-Boot] [PATCH v2 3/3] dts: sunxi: add PWM node for sun50i

2017-09-20 Thread Vasily Khoruzhick
Add PWM definition to sun50i-a64.dtsi - it's compatible with PWM found on H3 Signed-off-by: Vasily Khoruzhick --- v2: - drop 'sun50i-a64-pwm' compatible string and use 'sun8i-h3-pwm' instead, since A64 PWM is compatible with one on H3 arch/arm/dts/sun50i-a64.dtsi | 8 1 file chan

[U-Boot] [PATCH v2 2/3] video: pwm_backlight: make regulator optional

2017-09-20 Thread Vasily Khoruzhick
u-boot doesn't have dummy regulators, so pwm_backlight probe will fail if regulator is missing. Make it optional to get this driver working on platforms where there's no backlight regultor. Signed-off-by: Vasily Khoruzhick --- v2: - no changes drivers/video/pwm_backlight.c | 28

[U-Boot] [PATCH v2 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-20 Thread Vasily Khoruzhick
This commit adds basic support for PWM found on Allwinner A64 and H3 It can be used for pwm_backlight driver (e.g. for Pinebook) Signed-off-by: Vasily Khoruzhick --- v2: - move pinmux config into enable function to make driver more friendly to the boards with ethernet - drop 'sun50i-a64

[U-Boot] [PATCH v3 0/3] sunxi: add PWM driver for H3 and A64

2017-09-20 Thread Vasily Khoruzhick
This series introduces a PWM driver for Allwinner H3 and A64 and makes some adjustments to pwm_backlight driver that are neccessary to get backlight working on Pinebook. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[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 unit-address. 2.Move macro CONFIG_HAS_FSL_XHCI_USB and CONFIG_USB_XHCI_FSL to Kcon

[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 CONFIG_USB_MAX_CONTROLLER_COUNT from ls1088aqds.h since Kconfig option has covered.

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 DE2 driver with LCD support >> >> (All) your commit mess

[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 Reviewed-by: B

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 to a "real" UEFI implementation, the bootmgr looks at th

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 >> may cause crash treating blk as usb device. >>

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 later display or s

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 printf() >>> provides console output and debu

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 wrote: On 27 August 2017 at 06:53, Heinrich Schuchardt

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, 2017 at 5:23 AM, Simon Glass wrote: > >>> Add the logging hea

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 variables to try to find an EFI payload t

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 correctly with USB support, but here >>> is the log: >>> >>

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 spent long > hou

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 > --- > > Changes v4: > - do not se

[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 b/arch/nds32/include/asm/io.h index b2c4d0e..ed4dc85 100644 ---

[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: git://git.denx.de/u-

[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 Signed-off-by: Suman Anna

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 > --- > arch/arm/mach-omap2/omap3/Kconfig | 5 +++ > boar

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 th

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 insertion(+), 1 deletion(-) > >diff --

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, Sep 20, 2017 at 2:31 AM, Suneel Garapati >>> wrote: Hi Bi

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

[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 v3: - remove 'check on p

[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 a/include/configs/ti_armv7_keystone2.h b/incl

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, &length)) > > > > Signed-off-by: York Sun

[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 + board/wandboard/spl.c| 133 +++

[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 revision of the board is revd1.

[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| 133 ++-

[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 revision of the board is revd1.

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, &length)) > > Signed-off-by: York Sun > Reported-by: Heinrich Schuchardt > CC: Jean-Jacques Hiblot > ---

[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 +++ b/cmd/bootefi.c @@

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 boot device and load

[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 --- v2 c

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 boot device and load

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 > this function) >load

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 defined in the file

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. Backgro

[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 --- cmd/bootefi

[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 +- 1 file chang

[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 insertions(+)

[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 b/include/configs/am

[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 decrypts the image if t

[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 + configs/am335

[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 no

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] 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; ^ cmd/b

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 Masahiro, >>> >>> On 19 September 2017 at 20:51, Masahiro Yamada >>> wrote: Hi Simo

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 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 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
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" >>> + >>> +config LOG >>> + bool "Enable logging support" >>> + help

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 something like 74 characters;

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 +

[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: - Imply CONFIG_VIDEO_DT_SIMPLEFB. Changes in v3: -

[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 code

[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 missing copyright for Luc. Changes in v3: - Use /** to start kerndoc. driver

[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 co

[U-Boot] [PATCH v5 1/4] sunxi: change the DE1 video option to CONFIG_VIDEO_SUNXI

2017-09-20 Thread Icenowy Zheng
The sunxi DE1 video option used to be CONFIG_VIDEO, which has the same name as the "Enable legacy video support" option in drivers/video/Kconfig. Change the option name to CONFIG_VIDEO_SUNXI, which is really used by Makefile under drivers/video/sunxi/, and defined in sunxi-common.h when CONFIG_VID

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 test

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 earlier, into >>> boa

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 AM, Simon Glass wrote: Add the logging header file and i

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 implementation with some configuration >>> options to control it.

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 "Logging" >>> + >>> +config LOG >>> + bool "Enable logging supp

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: Signed-off-by: Heinrich Schuchardt --- lib/ef

[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 deletions(-) diff --git a/doc

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

2017-09-20 Thread Rob Clark
On Wed, Sep 20, 2017 at 4:31 AM, Alexander Graf wrote: > > > 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

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 sub-command of bootefi

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 2017.09-00191-gc145392-dirty (Sep 17 20

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 enables support for logging of status and debug messa

Re: [U-Boot] [PATCH 13/13] log: Add documentation

2017-09-20 Thread Simon Glass
Hi Masahiro, On 19 September 2017 at 21:04, Masahiro Yamada wrote: > Hi Simon > > > 2017-09-17 6:23 GMT+09:00 Simon Glass : > >> + >> + >> +To Do >> +- >> + >> +There are lots of useful additions that could be made. None of the below is >> +implemented! If you do one, please add a test in tes

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 >> --- >> >> MAINTAINERS

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 >>> --- >>> include/efi_api.h | 22 >>> include/efi_loader.

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 wrote: On 13 September 2017 at 16:12, Rob Clark wrote: > Rea

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 >>> --- >>> lib/efi_loader/efi_boottime.c | 77 >>> +

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 > MMC: > Using defaul

[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 ch

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 > --- Applied to u-boot-imx, thanks ! Best regar

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 Majewski > --- Applied to u-boot-imx, thanks !

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 > --- Applied to u-boot-imx, than

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. > https://github.com/SolidRun/u-boot-imx6/blob/imx6/board/solidrun/mx6_cubox-i/mx6_cubox-i.c#L569-

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 Teki > Cc: Tim Harvey > Cc: Marek Vasut > Cc: Lukasz Majewski >

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 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 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 system entered boot ROM due to

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 in the NXP U-Boot: > http://

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-20 Thread Stefano Babic
Hi Fabio, Anatolji, just to save time : this is the list of boards that are affected by this problem. cgtqmx6eval wandboard colibri_imx6 apalis_imx6 mx6cuboxi mx6sabresd imx6qdl_icore_rqs A good solution is also if the board maintainers (I CCed all of th

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

2017-09-20 Thread Dr. Philipp Tomsich
David, > On 20 Sep 2017, at 14:25, David.Wu wrote: > > 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 RV

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 Tomsich --- Reviewed-by: David Wu _

[U-Boot] [PATCH] dm: ofnode: query correct property in livetree ofnode_get_addr_size

2017-09-20 Thread Klaus Goger
The livetree codepath of ofnode_get_addr_size always used the "reg" property for of_get_property. Use the property parameter of the function call instead and check the return value if the property exists. Otherwise return FDT_ADDR_T_NONE. This was discoverd while using SPI NOR with livetree. spi_f

  1   2   >