[U-Boot] [PATCH 1/1] efi_selftest: check image_base, image_size

2018-09-30 Thread Heinrich Schuchardt
In efi_selftest_start_image_exit.c test the image_base and image_size are correctly set in the loaded image protocol. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_miniapp_exit.c | 58 ++-- 1 file changed, 53 insertions(+), 5 deletions(-) diff --git a/lib/

[U-Boot] [PATCH 1/1] efi_loader: fix typo in efi_boottime.c

2018-09-30 Thread Heinrich Schuchardt
%s/conncected/connected/ Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index 4c51bb314d..0f98a90134 100644 --- a/lib/efi_loader/efi_boottime.c

Re: [U-Boot] Please pull u-boot-video/master

2018-09-30 Thread Tom Rini
On Sat, Sep 29, 2018 at 11:48:46PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit bbef20d479441b01d62252cf127498c58078b2c3: > > Merge tag 'xilinx-for-v2018.11' of git://git.denx.de/u-boot-microblaze > (2018-09-27 08:29:10 -0400) > > are available in the Git

Re: [U-Boot] arm: new board - Emlid Neutis N5 support

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 10:34:34AM +0300, AD-Aleksandrov wrote: > - add neutis target to dtb makefile > - add dts file for Neutis N5 > - add config file for Neutis N5 > > Signed-off-by: Aleksandr Aleksandrov > --- > arch/arm/dts/Makefile | 3 +- > arch/arm/dts/sun50i-h5-em

[U-Boot] [PATCH] ARM: da850evm: Remove DM_I2C_COMPAT

2018-09-30 Thread Adam Ford
The da850evm does not need this enabled, so this removes a notice that appears during compile time that says "Please remove" Signed-off-by: Adam Ford diff --git a/configs/da850_am18xxevm_defconfig b/configs/da850_am18xxevm_defconfig index 6745cd10fa..c3d7cff18e 100644 --- a/configs/da850_am18xx

[U-Boot] [PATCH] MAINTAINERS: Update some entries for missed boards

2018-09-30 Thread Tom Rini
Signed-off-by: Tom Rini --- board/atmel/sama5d27_som1_ek/MAINTAINERS | 1 + board/atmel/sama5d2_xplained/MAINTAINERS | 1 + board/seeed/linkit-smart-7688/MAINTAINERS | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/atmel/sama5d27_som1_ek/MAINTAINERS b/board/atmel/sam

[U-Boot] [PATCH] fs: fat: Fix warning in normalize_longname()

2018-09-30 Thread Tom Rini
As observed with clang: fs/fat/fat_write.c:1024:13: warning: comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if ((0x80 <= c) && (c <= 0xff)) ^ ~ fs/fat/fat_write.c:1024:25

[U-Boot] [PATCH] efi_loader: Fix warning in efi_load_image()

2018-09-30 Thread Tom Rini
As observed with clang: lib/efi_loader/efi_boottime.c:1624:7: warning: variable 'info' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (ret != EFI_SUCCESS) ^~ lib/efi_loader/efi_boottime.c:1653:7: note:

Re: [U-Boot] [PATCH] efi_loader: Fix warning in efi_load_image()

2018-09-30 Thread Heinrich Schuchardt
On 09/30/2018 04:38 PM, Tom Rini wrote: > As observed with clang: > lib/efi_loader/efi_boottime.c:1624:7: warning: variable 'info' > is used uninitialized whenever 'if' condition is true > [-Wsometimes-uninitialized] > if (ret != EFI_SUCCESS) > ^~~

Re: [U-Boot] [PATCH 1/5] mmc: sunxi: add support for automatic delay calibration

2018-09-30 Thread André Przywara
On 9/30/18 12:45 AM, Vagrant Cascadian wrote: > From: Vasily Khoruzhick > > A64 supports automatic delay calibration and Linux driver uses it > instead of hardcoded delays. Add support for it to u-boot driver. So technically that should be derived from the node's compatible string, like we do in

Re: [U-Boot] [PATCH 2/5] dm: video: bridge: don't fail to activate bridge if sleep gpio is missing

2018-09-30 Thread Vagrant Cascadian
On 2018-09-29, Vasily Khoruzhick wrote: > On Sat, Sep 29, 2018 at 4:46 PM Vagrant Cascadian wrote: >> Sleep gpio is optional, so it's possible to have reset gpio, but no sleep >> gpio. >> We shouldn't fail early in case of missing sleep gpio, otherwise we won't >> deassert reset. ... >> diff --g

Re: [U-Boot] [PATCH v2] cmd: usb_mass_storage: add protection for block_dev

2018-09-30 Thread Marek Vasut
On 09/28/2018 11:30 AM, Patrick DELAUNAY wrote: > Hi, Hi, >> From: Marek Vasut >> >> On 09/26/2018 01:04 PM, Patrick Delaunay wrote: >>> solve data abort for the command "ums 0 ubi 0" >>> because result of case blk_get_device_part_str() result is OK but with >>> block_dev = 0 when CONFIG_CMD_UBI

Re: [U-Boot] [PATCH 3/3] ARM: imx6: DHCOM i.MX6 PDK: ddr init for 32bit bus and 4GBit chips

2018-09-30 Thread Marek Vasut
On 07/05/2018 09:23 AM, lz...@dh-electronics.de wrote: > From: Ludwig Zenz > > Support 1GIB + 2GIB DDR3 with 64bit bus width and 512MIB + 1GIB with 32bit > bus width > > Signed-off-by: Ludwig Zenz > --- > board/dhelectronics/dh_imx6/dh_imx6_spl.c | 191 > +++--- > 1 f

Re: [U-Boot] [PATCH] arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

2018-09-30 Thread Marek Vasut
On 09/28/2018 11:29 AM, Ang, Chee Hong wrote: > On Thu, 2018-09-27 at 22:39 +0200, Marek Vasut wrote: >> On 09/27/2018 08:37 AM, Ang, Chee Hong wrote: >>> >>> On Thu, 2018-09-27 at 08:21 +0200, Marek Vasut wrote: On 09/27/2018 07:08 AM, Ang, Chee Hong wrote: > > > On Wed, 2018

Re: [U-Boot] cmd: env: Fix CRC calculation for 'env export -c -s'

2018-09-30 Thread Tom Rini
On Wed, Sep 12, 2018 at 11:02:51AM +, Neil Stainton wrote: > Fix failure to reimport exported checksummed, size constrained data block. > > 'env export -c' command ignores optional -s size argument when calculating > checksum causing subsequent 'env import -c' to fail. > > Signed-off-by: Ne

Re: [U-Boot] spl: mmc: Report device number when we fail

2018-09-30 Thread Tom Rini
On Tue, Sep 18, 2018 at 08:11:55AM +, Alex Kiernan wrote: > If we fail to find the MMC boot device, report the number of the one > we were looking for in the error to aid diagnosis. > > Signed-off-by: Alex Kiernan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP s

Re: [U-Boot] clk: Add support for Arm's Versatile Express OSC clock generators

2018-09-30 Thread Tom Rini
On Mon, Sep 17, 2018 at 05:50:00PM +0100, Liviu Dudau wrote: > The Arm Versatile Express and Juno development boards contain an > OSC clock generator that can be accessed through the Versatile > Express config bus. The generators are quite often being controlled > by some MCU and the config bus of

Re: [U-Boot] u-boot: align cache flushes in load_elf_image_shdr to line boundaries

2018-09-30 Thread Tom Rini
On Wed, Sep 19, 2018 at 10:38:07AM +0100, Neil Stainton wrote: > Prevent cache warning messages when using the 'bootelf' command on an > Arm target. Round down each section start address and round up the > respective section end to the nearest cache line. > > Signed-off-by: Neil Stainton Applie

Re: [U-Boot] [U-Boot, 2/2] kbuild: fix # escaping in appending U-Boot own DT

2018-09-30 Thread Tom Rini
On Wed, Sep 19, 2018 at 11:35:57AM +0900, Masahiro Yamada wrote: > The escape sequence '\#' does not work for the latest GNU Make from > the git tree. > > Replace it with $(pound) as Linux did. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] [U-Boot, v2, 10/14] usb:ci_udc: Introduce init_after_reset phy function

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:52PM +0300, Ramon Fried wrote: > MSM variant of Chipidea must reinitalize the phy > after controller reset. > Introduce ci_init_after_reset() weak function that > can be used to achieve the above init. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks

Re: [U-Boot] [U-Boot, v2, 11/14] usb: ehci-msm: Add init_after_reset for CI_UDC

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:53PM +0300, Ramon Fried wrote: > MSM uses the chipidea controller IP, however it requires > to reinit the phy after controller reset. in EHCI mode there's a > dedicated callback for it. > In device mode however there's no such callback. > Add implementaion of ci_init_

Re: [U-Boot] [U-Boot,v2,09/14] ehci: msm: use init_type in probe

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:51PM +0300, Ramon Fried wrote: > Change ehci_usb_probe() function to initialize the > USB according to the init_type provided. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v2, 01/14] ehci: Replace board_prepare_usb with board_usb_init

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:43PM +0300, Ramon Fried wrote: > Use standard board_usb_init() instead of the specific board_prepare_usb. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [U-Boot,v2,05/14] phy: db410c: Add MSM USB PHY driver

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:47PM +0300, Ramon Fried wrote: > Add a PHY driver for the Qualcomm dragonboard 410c which > allows switching on/off and resetting the phy connected > to the EHCI controllers and USBHS controller. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, 1/2] Kbuild: fix # escaping in .cmd files for future Make

2018-09-30 Thread Tom Rini
On Wed, Sep 19, 2018 at 11:35:56AM +0900, Masahiro Yamada wrote: > From: Rasmus Villemoes > > [ commit 9564a8cf422d7b58f6e857e3546d346fa970191e in Linux ] > > I tried building using a freshly built Make (4.2.1-69-g8a731d1), but > already the objtool build broke with > > orc_dump.c: In function

Re: [U-Boot] [U-Boot, v2, 06/14] dts: db410c: Add bindings for MSM USB phy

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:48PM +0300, Ramon Fried wrote: > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/

Re: [U-Boot] serial: serial_stm32: Enable uart FIFO for STM32F7xx SoCs

2018-09-30 Thread Tom Rini
On Thu, Sep 20, 2018 at 03:14:15PM +0200, Patrice Chotard wrote: > Since commit 7b3b74d32127 ("serial: serial_stm32: Enable overrun") > on STM32F7xx based boards, the first lines of serial output are > missing during boot (we no more see the U-Boot release version, > board model and DRAM size). >

Re: [U-Boot] MAINTAINERS: Update some entries for missed boards

2018-09-30 Thread Tom Rini
On Sun, Sep 30, 2018 at 10:25:01AM -0400, Tom Rini wrote: > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, v2, 14/14] usb:ci_udc: don't overwrite configuration on pullup

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:56PM +0300, Ramon Fried wrote: > change writel to writebits32 in ci_pullup() in order > to keep phy configuration in tact. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot, v2, 08/14] ehci: msm: switch to generic PHY uclass

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:50PM +0300, Ramon Fried wrote: > All the underlying USB PHY was handled in the ehci driver. > Use the generic phy API instead. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [U-Boot,v2,12/14] DB410c: Enable fastboot support

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:54PM +0300, Ramon Fried wrote: > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/

Re: [U-Boot] [U-Boot,v2,02/14] ehci: msm: Add missing platdata

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:44PM +0300, Ramon Fried wrote: > platdata_auto_alloc_size was not initialized in structure. > Caused null pointer dereference when configuring device as > gadget. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] fs: btrfs: Fix cache alignment bugs

2018-09-30 Thread Tom Rini
On Sat, Sep 22, 2018 at 04:13:35AM +0200, Marek Vasut wrote: > The btrfs implementation passes cache-unaligned buffers into the > block layer, which triggers cache alignment problems down in the > block device drivers. Align the buffers to prevent this. > > Signed-off-by: Marek Vasut > Cc: Marek

Re: [U-Boot] [U-Boot,v2,03/14] dts: db410c: add alias for USB

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:45PM +0300, Ramon Fried wrote: > Alias is required so req-seq will be filled. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-

Re: [U-Boot] [U-Boot, v2, 04/14] db410c: serial# env using msm board serial

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:46PM +0300, Ramon Fried wrote: > The serial# environment variable needs to be > defined so it will be used by fastboot as serial > for the endpoint descriptor. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

Re: [U-Boot] [U-Boot,v2,07/14] configs: db410c: Enable USB PHY

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:49PM +0300, Ramon Fried wrote: > Enable USB PHY driver. > Also fixed the alphabetically ordering of the config. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2, 13/14] db410c: automatically launch fastboot

2018-09-30 Thread Tom Rini
On Fri, Sep 21, 2018 at 01:35:55PM +0300, Ramon Fried wrote: > If during boot the key-vol-down press is detected > we'll fall back to fastboot. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

[U-Boot] Please pull u-boot-dm

2018-09-30 Thread Simon Glass
Hi Tom, Here are some binman and core driver-model enhancements. https://travis-ci.org/sglass68/u-boot/builds/435045761 Re signed tags, I did read this link: http://web.mit.edu/git/www/howto/using-signed-tag-in-pull-request.html but I get: error: gpg failed to sign the data error: unable to s

Re: [U-Boot] [PATCH 2/5] dm: video: bridge: don't fail to activate bridge if sleep gpio is missing

2018-09-30 Thread Vasily Khoruzhick
On Sun, Sep 30, 2018 at 10:48 AM Vagrant Cascadian wrote: > > On 2018-09-29, Vasily Khoruzhick wrote: > > On Sat, Sep 29, 2018 at 4:46 PM Vagrant Cascadian > > wrote: > >> Sleep gpio is optional, so it's possible to have reset gpio, but no sleep > >> gpio. > >> We shouldn't fail early in case

Re: [U-Boot] efi_loader: execute image's unload function

2018-09-30 Thread Heinrich Schuchardt
On 09/28/2018 06:24 AM, AKASHI Takahiro wrote: > Heinrich, > > On Fri, Sep 28, 2018 at 04:35:57AM +0200, Heinrich Schuchardt wrote: >> On 08/09/2018 08:50 AM, AKASHI Takahiro wrote: >>> Currently, unload function in EFI_LOADED_IMAGE_PROTOCOL is never called >>> at UnloadImage Boot Service. This is

Re: [U-Boot] [PATCH v3 17/17] riscv: Move do_reset() to a common place

2018-09-30 Thread Auer, Lukas
Hi Bin, On Wed, 2018-09-26 at 06:55 -0700, Bin Meng wrote: > We don't have a reset method on any RISC-V board yet. Instead of > adding the same 'unsupported' message for each CPU variant it might > make more sense to add a generic do_reset function for all CPU > variants to lib/, similar to the on

Re: [U-Boot] [PATCH v3 15/17] riscv: kconfig: Imply DM support for some common drivers

2018-09-30 Thread Auer, Lukas
On Wed, 2018-09-26 at 06:55 -0700, Bin Meng wrote: > This implies DM support for some common drivers that are used on > RISC-V. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: > - new patch to imply DM support for some common drivers > > Changes in v2: None > > arch/Kconfig

Re: [U-Boot] [PATCH v3 05/17] riscv: cmd: bdinfo: Print the relocation address

2018-09-30 Thread Auer, Lukas
On Wed, 2018-09-26 at 06:55 -0700, Bin Meng wrote: > Add printing of U-Boot relocation address. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: > - net patch to print the relocation address in cmd 'bdinfo' > > Changes in v2: None > > cmd/bdinfo.c | 2 ++ > 1 file changed, 2 insertions

Re: [U-Boot] [PATCH 2/5] dm: video: bridge: don't fail to activate bridge if sleep gpio is missing

2018-09-30 Thread André Przywara
On 9/30/18 12:45 AM, Vagrant Cascadian wrote: > From: Vasily Khoruzhick > > Sleep gpio is optional, so it's possible to have reset gpio, but no sleep > gpio. > We shouldn't fail early in case of missing sleep gpio, otherwise we won't > deassert reset. > > Signed-off-by: Vasily Khoruzhick > Sig

Re: [U-Boot] [PATCH 3/5] video: anx6345: don't fail if there's no sleep or reset GPIOs

2018-09-30 Thread André Przywara
On 9/30/18 12:45 AM, Vagrant Cascadian wrote: (CC:ing Anatolij) > From: Vasily Khoruzhick > > If there's no sleep or reset GPIOs, video_bridge_set_active() returns > -ENOENT. Don't fail in this case, since these GPIOs are optional. Are really *both* optional? If yes, you should apply the same

[U-Boot] [PATCH 1/1] arm: do not include efi_loader.h twice

2018-09-30 Thread Heinrich Schuchardt
We should not include the same include twice. Fixes: 99b8db7291ce ("arm: print information about loaded UEFI images") Signed-off-by: Heinrich Schuchardt --- arch/arm/lib/interrupts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c index 93

[U-Boot] [PATCH 1/1] efi_loader: remove lcd.h from efi_net.c

2018-09-30 Thread Heinrich Schuchardt
Remove superfluous include. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_net.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c index 034d0d2ed0..4e8b2d597d 100644 --- a/lib/efi_loader/efi_net.c +++ b/lib/efi_loader/efi_net.c @@

Re: [U-Boot] [PATCH] fs: btrfs: Fix tree traversal with btrfs_next_slot()

2018-09-30 Thread Yevgeny Popovych
Just a kindly reminder :) On 09/07/2018 12:59 PM, Yevgeny Popovych wrote: > When traversing slots in a btree (via btrfs_path) with btrfs_next_slot(), > we didn't correctly identify that the last slot in the leaf was reached > and we should jump to the next leaf. > > This could lead to any kind of