[U-Boot] issue when git-pw series apply fail

2019-10-12 Thread Kever Yang
Hi     I'm using git-pw to apply patches, and I got fail with one 'git-pw series apply' command, I use 'git am --abort' to skip that failed patch, but after that, no matter I use 'git am' or 'git-pw' command to apply other patches, the git will always apply the failed patch set first. Ho

Re: [U-Boot] [PATCH v3 00/57] ram: rk3399: Add LPDDR4 support

2019-10-12 Thread Qu Wenruo
On 2019/10/8 上午8:31, Kever Yang wrote: > Hi Qu and Mani, > > > This patch has already on the mater, you can try with master code and > use idbloader.img > > directly. > > > Thanks, Confirmed it works perfectly on RockPi 4, while the previous tag v2019.04, it boots but could easily hit SErro

[U-Boot] Uboot is rejecting valid initramfs (compressed cpio) with "Wrong Ramdisk Image Format"

2019-10-12 Thread Qu Wenruo
Hi, I'm using initramfs (gzipped cpio) to boot my board (RockPi4). The problem is, if initramfs is loaded other than old initrd, booti command will just fail with "Wrong Ramdisk Image Format". I'm currently working it around by not using initramfs/initrd, and compile the fs module into the kerne

[U-Boot] [PATCH] arm64: Add memcpy_{from, to}io() and memset_io() helpers

2019-10-12 Thread Vignesh Raghavendra
Provide optimized memcpy_{from,to}io() and memset_io(). This is required when moving large amount of data to and from IO regions such as IP registers or accessing memory mapped flashes. Code is borrowed from Linux Kernel v5.4. Signed-off-by: Vignesh Raghavendra --- arch/arm/include/asm/io.h | 1

Re: [U-Boot] Uboot is rejecting valid initramfs (compressed cpio) with "Wrong Ramdisk Image Format"

2019-10-12 Thread Qu Wenruo
On 2019/10/12 下午6:52, Qu Wenruo wrote: > Hi, > > I'm using initramfs (gzipped cpio) to boot my board (RockPi4). > > The problem is, if initramfs is loaded other than old initrd, booti > command will just fail with "Wrong Ramdisk Image Format". Well, it looks like Uboot is using wrapped image c

Re: [U-Boot] [PATCH v1 01/11] linux_compat: add kmemdup()

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Adding kmemdup() will help improve portability from linux kernel code (in my case, lib/crypto/x509_cert_parser.c and pkcs7_parser.c). Signed-off-by: AKASHI Takahiro --- include/linux/compat.h | 4 ++-- lib/linux_compat.c | 11 +++ 2 f

Re: [U-Boot] [PATCH v2] usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs

2019-10-12 Thread Marek Vasut
On 10/10/19 3:09 PM, Igor Opaniuk wrote: > From: Igor Opaniuk > > This fixes the issues with calculation of controller indexes in > ehci_usb_bind() for iMX7, as USB controllers on iMX7 SoCs aren't > placed next to each other, and their addresses incremented by 0x1. > > Example of USB nodes f

Re: [U-Boot] [PATCH v1 02/11] include: time.h: define time64_t

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Adding time64_t definition will help improve portability of linux kernel code (in my case, lib/crypto/x509_cert_parser.c). Signed-off-by: AKASHI Takahiro --- include/linux/time.h | 24 1 file changed, 24 insertions(+) diff

Re: [U-Boot] [PATCH v1 03/11] include: kernel.h: include printk.h

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Adding "printk.h" will help improve portability from linux kernel code (in my case, lib/asn1_decoder.c). Signed-off-by: AKASHI Takahiro --- include/linux/kernel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/kernel.h b/includ

Re: [U-Boot] [PATCH v1 04/11] cmd: add asn1_compiler

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Imported from linux kernel v5.3. This host command will be used to create a ASN1 parser, for example, for pkcs7 or x509. Signed-off-by: AKASHI Takahiro --- cmd/Kconfig |3 + include/linux/asn1.h | 65 ++ i

Re: [U-Boot] [PATCH v1 06/11] lib: add asn1 decoder

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Imported from linux kernel v5.3. Signed-off-by: AKASHI Takahiro --- lib/Kconfig| 6 + lib/Makefile | 1 + lib/asn1_decoder.c | 527 + Except for adjustments of include files lib/asn1_d

Re: [U-Boot] [PATCH v1 05/11] Makefile: add build script for asn1 parsers

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: This rule will be used to build x509 and pkcs7 parsers. Signed-off-by: AKASHI Takahiro The ASN1 compiler is generating both *.asn.h and *.asn.c files. Then I would expect that these files are deleted by `make mrproper'. Please, adjust the clean: t

Re: [U-Boot] [PATCH v1 3/3] lib: rsa: add rsa_verify_with_pkey()

2019-10-12 Thread Heinrich Schuchardt
On 10/10/19 3:04 AM, AKASHI Takahiro wrote: On Wed, Oct 09, 2019 at 07:56:04PM +0200, Heinrich Schuchardt wrote: On 10/9/19 7:30 AM, AKASHI Takahiro wrote: This function, and hence rsa_verify(), will perform RSA verification with two essential parameters for a RSA public key in contract of rsa_

Re: [U-Boot] [PATCH v1 07/11] lib: add oid registry utility

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:41 AM, AKASHI Takahiro wrote: Imported from linux kernel v5.3. Please, indicate in the commit message which files are verbatim copies and which files had to be adjusted. E.g. in lib/oid_registry.c you adjusted the includes. Signed-off-by: AKASHI Takahiro --- include/linux/oi

Re: [U-Boot] [PATCH v1 00/11] import x509/pkcs7 parsers from linux

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:55 AM, AKASHI Takahiro wrote: I hope this patch set will be reviewed promptly as I'm aiming to push my "UEFI secure boot" patch for v2020.01. How can I make all of these new files being built to check for build warnings? Please, provide unit tests for the patch series. Please,

Re: [U-Boot] [PATCH v1 11/11] lib: crypto: add rsa public key parser

2019-10-12 Thread Heinrich Schuchardt
On 10/11/19 9:42 AM, AKASHI Takahiro wrote: Imported from linux kernel v5.3. It is unclear from your commit message which files are verbatime copies and which have been adjusted to fit into U-Boot. Where is the unit test? Best regards Heinrich Signed-off-by: AKASHI Takahiro --- include/

Re: [U-Boot] [PATCH 1/8] ARM: socfpga: arria10: Add qts-filter for arria10 socfpga

2019-10-12 Thread Chee, Tien Fong
On Fri, 2019-10-04 at 15:30 -0700, Dalon Westergreen wrote: > From: Dalon Westergreen > > Add a script to process hps handoff data and generate a header > for inclusion in u-boot specific devicetree addons.  The header > should be included in the top level u-boot.dtsi. > > Signed-off-by: Dalon W

Re: [U-Boot] [PATCH 1/1] net: remove superfluous __packed attribute

2019-10-12 Thread Heinrich Schuchardt
On 10/3/19 8:01 PM, Heinrich Schuchardt wrote: On 10/3/19 7:09 PM, Tom Rini wrote: On Thu, Oct 03, 2019 at 07:01:22PM +0200, Heinrich Schuchardt wrote: struct ip_udp_hdr is naturally packed. There is no point in adding a __packed attribute. With the attribute the network stack does not compile

Re: [U-Boot] [PATCH v4 0/8] add PCIe, its PHY and AHCI support for mt7623

2019-10-12 Thread Frank Wunderlich
Hi, 2019-10 is now released so i want to remember on this series. Just to be inside merge window... Regards Frank ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 097/126] x86: Add support for newer CAR schemes

2019-10-12 Thread Simon Glass
Hi Bin, On Fri, 11 Oct 2019 at 22:48, Bin Meng wrote: > > Hi Simon, > > On Sat, Oct 12, 2019 at 11:38 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Thu, 10 Oct 2019 at 03:50, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Wed, Sep 25, 2019 at 10:59 PM Simon Glass wrote: > > > > > > >

Re: [U-Boot] [PATCH 050/126] x86: timer: Reduce timer code size in TPL on Intel CPUs

2019-10-12 Thread Simon Glass
Hi Bin, On Fri, 11 Oct 2019 at 23:18, Bin Meng wrote: > > Hi Simon, > > On Sat, Oct 12, 2019 at 11:38 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Fri, 11 Oct 2019 at 07:19, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Fri, Oct 11, 2019 at 1:06 AM Simon Glass wrote: > > > > > > > >

Re: [U-Boot] [PATCH] rockchip: rk3399: rock960: Update config for TPL

2019-10-12 Thread Anand Moon
Hi Peter, On Wed, 9 Oct 2019 at 16:50, Peter Robinson wrote: > > The SPL is now running at SDRAM, and 0x1 is used by BL31, > and the ARM SPL do not support relocate now, we need reserved > 0x5 so that it won't overwrite the code when we load the > bl31 to target space. > We should remove

Re: [U-Boot] [PATCH v4 5/5] efi_loader: disk: install file system protocol to a whole disk

2019-10-12 Thread Heinrich Schuchardt
On 10/7/19 7:59 AM, AKASHI Takahiro wrote: Currently, a whole disk without any partitions is not associated with EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. So even if it houses some file system, there is a chance that we may not be able to access it, particularly, when accesses are to be attempted after se

[U-Boot] What is the current U-Boot status to boot from multiple UBI volumes?

2019-10-12 Thread JH
Hi, I tried to find more information about configure u-boot for booting multiple UBI volumes on imx6, but seems to me that information is really sparse. There was a proposal by Wolfgang Denk many years ago at https://elinux.org/Boot_U-Boot_from_UBI_volume, and I could not find anyone talked about

Re: [U-Boot] Please pull u-boot-x86

2019-10-12 Thread Tom Rini
On Fri, Oct 11, 2019 at 10:49:59PM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following changes: > > - Remember the device being emulated for Sandbox PCI > - Update Kconfig options for FSP 1.0 > - Drop RESET_BASE and RESET_SEG_SIZE that are no longer used > > The following change

Re: [U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:33PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions > which would default to big-endian on BE systems. Create the generic > equivalents to use the native endianness. > > Signed-off-by: Kursad

Re: [U-Boot] [PATCH V3 04/10] spi: bcm63xx_hsspi: Continue init when using no reset and fixed-clock.

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:35PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > The Broadcom ARM implementations do not yet have a clock framework so > one can use a fixed clock as the root clock of the hsspi block. The > fixed clock does not have an "enable" routine, since it's always

Re: [U-Boot] [PATCH V3 03/10] spi: bcm63xx_hsspi: switch to raw I/O functions.

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:34PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > Make the driver compatible with both big and little endian SOCs. > Replace big-endian calls with their raw equivalents, expect for > writing the command to FIFO. That still has to be in big-endian > format.

Re: [U-Boot] [PATCH V3 01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:32PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > This IP exists in both MIPS and ARM cores, so we also > allow to use this driver on bcm6858 and bcm63158. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes > Reviewed-by: Daniel Schwierzeck

Re: [U-Boot] [PATCH] spl: mmc: Fix indentation in spl_mmc.c file

2019-10-12 Thread Tom Rini
On Tue, Sep 03, 2019 at 04:17:17PM +0200, Lukasz Majewski wrote: > From: Mans Rullgard > > This fixes a wrongly indented block of code. > > Signed-off-by: Mans Rullgard > [lukma: Make the commit message more verbose] > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH V3 09/10] dt: bcm968580xref: add a spi-nor device

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:40PM +0200, Philippe Reynes wrote: > This commit add a spi-nor device in the bcm96850xref device tree. > > Signed-off-by: Philippe Reynes > Reviewed-by: Kursad Oney Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH v4 8/8] ata: ahci: Don't forget to clear upper address regs.

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:56PM +0200, Frank Wunderlich wrote: > From: Oleksandr Rybalko > > In 32bits mode upper bits need to be set to 0, otherwise controller will > try to DMA into not existing memory and stops with error. > > Tested-by: Frank Wunderlich > Signed-off-by: Frank Wunderlich

Re: [U-Boot] [PATCH V3 06/10] dt: bcm963158: add a spi-nor device

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:37PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > This change adds a spi nor flash device to the bcm963158 board. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP s

Re: [U-Boot] [PATCH v2 19/26] env: ti: am65x_evm: Add env support to boot the MCU R5F rprocs

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:44PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Add support to boot the MCU domain R5F Core0 remoteproc at U-boot prompt > on the AM65x EVM boards by using the 'boot_rprocs' and other env variables > defined in the common environment file k3_rproc.h, and upda

Re: [U-Boot] [PATCH V3 10/10] bcm968580xref: enable spi-nor support

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:41PM +0200, Philippe Reynes wrote: > This commit enable the support of the spi-nor for the > broadcom reference board bcm968580xref. > > Signed-off-by: Philippe Reynes > Reviewed-by: Kursad Oney Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] [PATCH V3 05/10] dt: bcm63158: Add hsspi controller

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:36PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > This change adds the hsspi controller to the 63158 dtsi. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatur

Re: [U-Boot] [PATCH v2 3/5] configs: j721e_evm_a72: Enable DISPLAY_CPUINFO

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 01:32:13PM +0530, Lokesh Vutla wrote: > Enable CONFIG_DISPLAY_CPUINFO so that cpuinfo is printed during boot. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2 07/26] remoteproc: tisci_proc: Add helper api for controlling core power domain

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:32PM +0530, Lokesh Vutla wrote: > Power domain for the remote cores needs to be handled in a right > sequence as mandated by the spec. Introduce tisci helper apis > that can control power-domains of remote cores. TISCI clients > can use this api and control the remote

Re: [U-Boot] [PATCH 1/7] spl: ymodem: Fix FIT loading termination handling

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:26PM -0500, Andreas Dannenberg wrote: > During FIT reading through ymodem_read_fit() the function > xyzModem_stream_read() is being used which returns zero once the end > of a stream has been reached. This could lead to an premature exit from > ymodem_read_fit() with

Re: [U-Boot] [PATCH v2 20/26] configs: j721e_evm_a72: Enable R5F and DSP remoteproc driver

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:45PM +0530, Lokesh Vutla wrote: > Enable R5F and DSP remoteproc drivers for j721e running on a72. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U

Re: [U-Boot] [PATCH 1/2] ARM: asm/io.h: kill off confusing #ifdef __mem_pci block

2019-10-12 Thread Tom Rini
On Tue, Sep 10, 2019 at 08:51:53AM +, Rasmus Villemoes wrote: > No ARM board seems to define __mem_pci - and if it did, one would get tons of > > ./arch/arm/include/asm/io.h:307:0: warning: "readl" redefined > > warnings, because readl and friends are unconditionally defined > earlier in i

Re: [U-Boot] [PATCH] spl: Introduce SPL_DM_SPI Kconfig define

2019-10-12 Thread Tom Rini
On Mon, Sep 09, 2019 at 12:06:46PM +0200, Lukasz Majewski wrote: > This define indicates if DM_SPI shall be supported in SPL. This allows > proper operation of DM converted SPI drivers in SPL, which use > #if !CONFIG_IS_ENABLED(DM_SPI) to also support not yet DM/DTS converted > boards. > > Signed

Re: [U-Boot] [PATCH v4 3/8] arm: dts: add PCIe controller for MT7623 SoC

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:51PM +0200, Frank Wunderlich wrote: > From: Ryder Lee > > This adds PCIe and its PHY nodes for MT7623. > > Tested-by: Frank Wunderlich > Signed-off-by: Ryder Lee > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] [PATCH 2/2] ARM: asm/io.h: remove redundant #if !defined(readb) block

2019-10-12 Thread Tom Rini
On Tue, Sep 10, 2019 at 08:51:54AM +, Rasmus Villemoes wrote: > readb is unconditionally defined earlier in io.h, so there's no point > checking whether it's undefined. > > Signed-off-by: Rasmus Villemoes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 23/26] configs: am65x_evm_a53: Enhance bootcmd to start remoteprocs

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:48PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > The A53 U-boot can support early booting of the MCU R5F remote processor(s) > from U-boot prompt to achieve various system usecases before booting the > Linux kernel. Update the default BOOTCOMMAND to provide an

Re: [U-Boot] [PATCH v4 2/8] phy: mediatek: add MediaTek T-PHY support for PCIe

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:50PM +0200, Frank Wunderlich wrote: > From: Ryder Lee > > The driver provides PHY for USB2, USB3.0, PCIe and SATA, and now > we just enable PCIe. As for the other functionalities will be > added gradually in upcoming days. > > This is adapted from the Linux version

Re: [U-Boot] [PATCH V3 07/10] configs: Add hsspi/spi support to bcm963158.

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:38PM +0200, Philippe Reynes wrote: > From: Kursad Oney > > This commit enable the support of the spi-nor for the > broadcom reference board bcm963158. > > Signed-off-by: Kursad Oney > Reviewed-by: Philippe Reynes Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [PATCH] configs: j721e_evm_a72: Disable PSCI_RESET

2019-10-12 Thread Tom Rini
On Wed, Sep 25, 2019 at 02:38:13PM +0530, Lokesh Vutla wrote: > J721E uses TISCI protocol to reset the device and does not > support PSCI reset. So disable PSCI reset. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH 2/7] spl: ymodem: Make SPL Y-Modem loader framework accessible

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:27PM -0500, Andreas Dannenberg wrote: > Expose SPL's Y-Modem core loader function via the common SPL header > file so it can be re-used for purposes other than loading U-Boot itself. > > Signed-off-by: Andreas Dannenberg Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH 7/7] board: ti: am65x: Add UART boot procedure in README

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:32PM -0500, Andreas Dannenberg wrote: > am65x ROM support booting over UART. And U-Boot built for am65x EVM > supports UART boot as well. Add the UART boot procedure into the README > also providing a corresponding example command sequence for execution > on a host PC

Re: [U-Boot] [PATCH] spl: mmc: Add option to set eMMC HW boot partition

2019-10-12 Thread Tom Rini
On Tue, Sep 03, 2019 at 04:16:50PM +0200, Lukasz Majewski wrote: > From: Mans Rullgard > > This change allows setting pre-defined eMMC boot partition for SPL eMMC > booting. It is necessary in the case when one wants to boot (through falcon > boot) from eMMC after loading SPL from other memory (

Re: [U-Boot] [PATCH v2 10/26] dt-bindings: remoteproc: Add bindings for DSP C66x clusters on TI K3 SoCs

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:35PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Some Texas Instruments K3 family of SoCs have one of more Digital Signal > Processor (DSP) subsystems that are comprised of either a TMS320C66x > CorePac and/or a next-generation TMS320C71x CorePac processor sub

Re: [U-Boot] [PATCH v2] regulator: fixed: Modify enable-active-high behavior

2019-10-12 Thread Tom Rini
On Mon, Aug 26, 2019 at 01:50:31PM +0200, Patrice Chotard wrote: > Regulator should not be enabled at probe time if regulator-boot-on > property is not in the dt node. > > "enable-active-high" property is only used to indicate the GPIO > polarity. > > See kernel documentation : > - Documentatio

Re: [U-Boot] [PATCH V3 08/10] dt: bcm6858: add hsspi controller

2019-10-12 Thread Tom Rini
On Wed, Aug 14, 2019 at 03:18:39PM +0200, Philippe Reynes wrote: > This commit add a hsspi controller in the bcm6858 device tree. > > Signed-off-by: Philippe Reynes > Reviewed-by: Kursad Oney Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] cmd: avoid decimal conversion

2019-10-12 Thread Tom Rini
On Wed, Sep 11, 2019 at 03:39:53PM +0200, Michal Simek wrote: > From: T Karthik Reddy > > This patch uses auto instead of decimal in simple_strtoul(). > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH v4 1/8] pci: mediatek: add PCIe controller support for MT7623

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:49PM +0200, Frank Wunderlich wrote: > From: Ryder Lee > > This adds PCIe controller support for MT7623. > This is adapted from the Linux version. > > Tested-by: Frank Wunderlich > Signed-off-by: Ryder Lee > Signed-off-by: Frank Wunderlich Applied to u-boot/mast

Re: [U-Boot] [PATCH 1/5] arm: omap: emif-common: Fix ecc address calculation

2019-10-12 Thread Tom Rini
On Mon, Sep 16, 2019 at 01:47:15PM +0530, Lokesh Vutla wrote: > ecc_address_range registers contains the start address and end address > of the DDR address space. But the ddr driver is assuming the register > contains the start address and size of the DDR address space. Because > of this the ecc e

Re: [U-Boot] [PATCH v2 09/26] remoteproc: Introduce K3 remoteproc driver for R5F subsystem

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:34PM +0530, Lokesh Vutla wrote: > SoCs with K3 architecture have an integrated Arm Cortex-R5F subsystem > that is comprised of dual-core Arm Cortex-R5F processor cores. This R5 > subsytem can be configured at boot time to be either run in a LockStep > mode or in an As

Re: [U-Boot] [PATCH v4 7/8] ahci-pci: ASM1061 report wrong class, but support AHCI.

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:55PM +0200, Frank Wunderlich wrote: > From: Oleksandr Rybalko > > Tested-by: Frank Wunderlich > Signed-off-by: Frank Wunderlich > Signed-off-by: Oleksandr Rybalko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH 3/4] board: ti: am43xx-idk: Configure the CDCE913 clock synthesizer

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 07:14:28PM +0300, Tero Kristo wrote: > AM43xx-IDK boards contain the CDCE913 clock synthesizer, and their > reset crystal capacitance load value of 10pF is wrong leading into > lost packets in certain networking tests. Add DT data for this > device, and probe it from the bo

Re: [U-Boot] [PATCH v2 4/5] configs: am65x_evm_a53: Enable DISPLAY_CPUINFO

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 01:32:14PM +0530, Lokesh Vutla wrote: > Enable CONFIG_DISPLAY_CPUINFO so that cpuinfo is printed during boot. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v4 6/8] dt-bindings: phy: add a document for MediaTek tphy

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:54PM +0200, Frank Wunderlich wrote: > From: Ryder Lee > > This adds a document for tphy which supports physical layer > functionality for a number of controllers on MediaTek SoCs, > such as, USB2.0, USB3.0, PCIe, and SATA. > > Signed-off-by: Ryder Lee > Signed-off

Re: [U-Boot] [PATCH] configs: am65x_evm_a53: Disable PSCI_RESET

2019-10-12 Thread Tom Rini
On Wed, Sep 25, 2019 at 02:38:05PM +0530, Lokesh Vutla wrote: > AM65x uses TISCI protocol to reset the device and does not > support PSCI reset. So disable PSCI reset. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH v2 14/26] arm: dts: k3-j721e-main: Add C66x DSP nodes

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:39PM +0530, Lokesh Vutla wrote: > The J721E SoCs have two TMS320C66x DSP Core Subsystems (C66x CorePacs) > in the MAIN voltage domain, each with a C66x Fixed/Floating-Point DSP > Core, and 32 KB of L1P & L1D configurable SRAMs/Cache and an additional > 288 KB of L2 co

Re: [U-Boot] [PATCH 1/4] clk: cdce9xx: add support for cdce9xx clock synthesizer

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 07:14:26PM +0300, Tero Kristo wrote: > Add support for CDCE913/925/937/949 family of devices. These are modular > PLL-based low cost, high performance, programmable clock synthesizers, > multipliers and dividers. They generate up to 9 output clocks from a > single input fre

Re: [U-Boot] [PATCH 4/4] board: ti: am335x-ice: Configure the CDCE913 clock synthesizer

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 07:14:29PM +0300, Tero Kristo wrote: > AM335x-ICE boards contain the CDCE913 clock synthesizer, and their > reset crystal capacitance load value of 10pF is wrong leading into > lost packets in certain networking tests. Add DT data for this > device, and probe it from the bo

Re: [U-Boot] [PATCH v2 24/26] armv8: K3: am65x: Update DDR address regions in MMU table

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:49PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > The A53 U-Boot code can load and boot the MCU domain R5F cores (either a > single core in LockStep mode or 2 cores in Split mode) to achieve various > early system functionalities. Change the memory attributes f

Re: [U-Boot] [PATCH v2 18/26] env: ti: j721e-evm: Add support to boot rprocs including R5Fs and DSPs

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:43PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Add support to boot some remoteprocs at U-boot prompt on the J721E EVM > boards by using the 'boot_rprocs' and other env variables defined in the > common environment file k3_rproc.h, and updating the 'DEFAULT_R

Re: [U-Boot] [PATCH 2/4] board: ti: am57xx-idk: Configure the CDCE913 clock synthesizer

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 07:14:27PM +0300, Tero Kristo wrote: > AM57xx-IDK boards contain the CDCE913 clock synthesizer, and their > reset crystal capacitance load value of 10pF is wrong leading into > lost packets in certain networking tests. Add DT data for this > device, and probe it from the bo

Re: [U-Boot] [PATCH v2 06/26] remoteproc: elf_loader: Introduce rproc_elf_get_boot_addr() api

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:31PM +0530, Lokesh Vutla wrote: > Introduce rproc_elf_get_boot_addr() that returns the entry point of > the elf file. This api auto detects the 64/32 bit elf file and returns > the boot addr accordingly. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, tha

Re: [U-Boot] [PATCH v4 5/8] dt-bindings: pcie: add a document for MT7623 PCIe controller

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:53PM +0200, Frank Wunderlich wrote: > From: Ryder Lee > > This adds a document for MT7623 PCIe controller. > > Signed-off-by: Ryder Lee > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v2 22/26] configs: am65x_evm_a53: Enable R5F remoteproc driver

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:47PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Enable the R5F remoteproc driver for the AM65x GP EVM so that the > MCU domain R5F cores can be booted from A53 U-boot. > > Signed-off-by: Suman Anna > Signed-off-by: Lokesh Vutla Applied to u-boot/master, t

Re: [U-Boot] [PATCH v2 17/26] env: ti: k3_rproc: Add common rproc environment variables

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:42PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Add a new file include/environment/ti/k3_rproc.h that defines > common environment variables useful for booting various remote > processors from U-Boot. This file is expected to be included in > the board config

Re: [U-Boot] [PATCH] mmc: am654_sdhci: Drop a redundant power_domain_on in probe

2019-10-12 Thread Tom Rini
On Tue, Sep 24, 2019 at 01:17:16PM +0530, Lokesh Vutla wrote: > Power-domain is enabled by default in device_probe. am654 mmc driver > is enabling power-domain again in probe. As the second call is > redundant, drop power_domain_on from probe. > > Tested-by: Suman Anna > Signed-off-by: Lokesh Vu

Re: [U-Boot] [PATCH v4 4/8] arm: dts: split mtk-reset.h into per-chip header

2019-10-12 Thread Tom Rini
On Thu, Aug 22, 2019 at 12:26:52PM +0200, Frank Wunderlich wrote: > From: Ryder Lee > > This follows the linux header rules to avoid conflict bitfields. > > Tested-by: Frank Wunderlich > Signed-off-by: Ryder Lee > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v2 1/5] arm: k3: Add support for printing CPUINFO

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 01:32:11PM +0530, Lokesh Vutla wrote: > Add support for printing CPU info for all K3 devices. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mail

Re: [U-Boot] [PATCH v2 16/26] arm: dts: k3-am65-mcu: Add MCU domain R5F DT nodes

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:41PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > The AM65x SoCs has a single dual-core Arm Cortex-R5F processor > subsystem/cluster (MCU_R5FSS0) within the MCU domain. This cluster > can be configured at boot time to be either run in a LockStep mode > or in an

Re: [U-Boot] [PATCH v2 04/26] remoteproc: elf-loader: Add 64 bit elf loading support

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:29PM +0530, Lokesh Vutla wrote: > The current rproc-elf-loader supports loading of only 32 bit elf files. > Introduce support for loading of 64 bit elf files in rproc-elf-loader. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Fabien Dessenne Applied to u-boot/mast

Re: [U-Boot] [PATCH v2 21/26] configs: j721e_evm_a72: Enhance bootcmd to start remoteprocs

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:46PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > The A72 U-boot can support early booting of any of the R5F or C66x > or C71x remote processors from U-boot prompt to achieve various system > usecases before booting the Linux kernel. Update the default BOOTCOMM

Re: [U-Boot] [PATCH 4/7] arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:29PM -0500, Andreas Dannenberg wrote: > In order to allow booting TI K3 family SoCs via Y-Modem add support for > loading System Firmware by tapping into the associated SPL core loader > function. > > In this context also make sure a console is available and if not g

Re: [U-Boot] [PATCH v2 01/26] dm: core: Add a function to count the children of a device

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:26PM +0530, Lokesh Vutla wrote: > Add a function to count the available children of a device. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boo

Re: [U-Boot] [PATCH 6/7] configs: am65x_evm_r5: Activate early console functionality

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:31PM -0500, Andreas Dannenberg wrote: > Activate early console functionality on AM654x devices to allow for an > alternate serial port to be used to support UART-based boot. This is so > that System Firmware (SYSFW) can get loaded over the serial port prior > to the m

Re: [U-Boot] [PATCH V2] spl: add a generic function board_init_f

2019-10-12 Thread Tom Rini
On Thu, Sep 19, 2019 at 04:18:39PM +0200, Philippe Reynes wrote: > This commit add a generic function board_init_f that > only initialize some device (for example serial). It > avoid to define a board function only to launch the > serial configuration. > > Signed-off-by: Philippe Reynes Applied

Re: [U-Boot] [PATCH v2 5/5] arm: k3: Use driver_name to get ti_sci handle

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 01:32:15PM +0530, Lokesh Vutla wrote: > Use the driver name to get ti_sci handle rather than relying > on just the FIRMWARE uclass. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH v2] tao3530: Fix usage of mmc rescan

2019-10-12 Thread Tom Rini
On Mon, Sep 30, 2019 at 08:42:21PM +0300, Jarkko Nikula wrote: > Currently "bootcmd" does not work as intended but instead prints MMC usage > information and goes directly to "nandboot". > > Follow what the commit 669681104daa ("configs: Fix usage of mmc rescan") > does for other boards prior to

Re: [U-Boot] [PATCH] configs: ti: Use addr_fit for run_fit environment variable

2019-10-12 Thread Tom Rini
On Tue, Sep 17, 2019 at 03:40:25PM -0400, Andrew F. Davis wrote: > When running 'run_fit' the FIT file should have been loaded at > 'addr_fit', although at this point they should be the same > use this variable instead of 'loadaddr'. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master,

Re: [U-Boot] [PATCH 5/7] armv7R: dts: k3: am654: Add MCU_UART0 related definitions

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:30PM -0500, Andreas Dannenberg wrote: > Although we currently use the MAIN_UART0 for R5 SPL console output there > are cases where we require access to the MCU_UART0 as well for example in > case of UART-based Y-Modem boot. To support these scenarios add related > DTS

Re: [U-Boot] [PATCH v2 13/26] arm: dts: k3-j721e-main: Add MAIN domain R5F cluster nodes

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:38PM +0530, Lokesh Vutla wrote: > The J721E SoCs have 3 dual-core Arm Cortex-R5F processor (R5FSS) > subsystems/clusters. One R5F cluster (MCU_R5FSS0) is present within > the MCU domain, and the remaining two clusters are present in the > MAIN domain (MAIN_R5FSS0 & MA

Re: [U-Boot] [PATCH 3/7] arm: K3: common: Allow for early console functionality

2019-10-12 Thread Tom Rini
On Thu, Aug 15, 2019 at 03:55:28PM -0500, Andreas Dannenberg wrote: > Implement an early console functionality in SPL that can be used before > the main console is being brought up. This helps in situations where the > main console is dependent on System Firmware (SYSFW) being up and running, > wh

Re: [U-Boot] [PATCH 1/2] am335x, guardian: update guardian board

2019-10-12 Thread Tom Rini
On Tue, Sep 17, 2019 at 02:25:37PM +, bollavarapumoses.christop...@in.bosch.com wrote: > From: Moses Christopher > > - add BOARD_LATE_INIT function calls in board.c > - add swi_status detection in board.c > - mux: add guardian interfaces to single pinmux structure > - am33xx, kconfi

Re: [U-Boot] [PATCH 1/1] arm64: print instructions leading to exception

2019-10-12 Thread Tom Rini
On Thu, Sep 12, 2019 at 07:09:26PM +0200, Heinrich Schuchardt wrote: > If an exception occurs in a loaded image and the relocation offset is > unknown, it is helpful to know the instructions pointed to by the > program counter. This patch adds the missing output. > > A possible output is: > C

Re: [U-Boot] [PATCH v2 03/26] remoteproc: elf_loader: Always check the validity of the image before loading

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:28PM +0530, Lokesh Vutla wrote: > rproc_elf32_load_image() rely on user to send a valid address for elf loading. > Instead do a sanity check on the address passed by user. This will help > all rproc elf users to not call sanity_check explicitly before calling > elf_lo

Re: [U-Boot] [PATCH 2/5] cmd: ti: ddr3: Fix ecc address calculation

2019-10-12 Thread Tom Rini
On Mon, Sep 16, 2019 at 01:47:16PM +0530, Lokesh Vutla wrote: > ecc_address_range registers contains the start address and end address > of the DDR address space. But the ddr cmd driver is assuming the register > contains the start address and size of the DDR address space. Because > of this some

Re: [U-Boot] [PATCH RESEND] cmd: itest: add support for .q size specifier

2019-10-12 Thread Tom Rini
On Wed, Oct 02, 2019 at 12:24:46PM +0200, Marek Szyprowski wrote: > Add support for quad (64bits) memory access specifier. > > Signed-off-by: Marek Szyprowski > Acked-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature _

Re: [U-Boot] [PATCH v2 11/26] remoteproc: Introduce K3 C66 and C71 remoteproc driver

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:36PM +0530, Lokesh Vutla wrote: > Certain SoCs with K3 architecture have integrated a C66 Corepac DSP > subsystem and an advanced C71 DSPs. Introduce a remoteproc driver > that that does take care of loading an elf to any of the specified > DSPs and start it. > > Sig

Re: [U-Boot] [PATCH v2 02/26] remoteproc: ops: Add elf section size as input parameter to device_to_virt api

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:27PM +0530, Lokesh Vutla wrote: > Introduce a new parameter "size" that accepts size of the region to > remoteproc ops callback device_to_virt(). This can enforce more checks > on the region that device_to_virt() is dealing with. > > Signed-off-by: Lokesh Vutla > Te

Re: [U-Boot] [PATCH 2/2] am335x, guardian: adapt guardian board to DM

2019-10-12 Thread Tom Rini
On Tue, Sep 17, 2019 at 02:25:38PM +, bollavarapumoses.christop...@in.bosch.com wrote: > From: Moses Christopher > > - update partition table - remove env partitions > - dts: add new interfaces (uart2, extra gpio-key) > remove unneeded entries > update nand timings for

Re: [U-Boot] [PATCH] configs: am43xx_evm: Enable USB support

2019-10-12 Thread Tom Rini
On Mon, Sep 30, 2019 at 06:24:06PM +0530, Lokesh Vutla wrote: > spl_dm_init is failing as usb to be probed with the following error: > "omap_dwc3@483c: ret=-2" > Enable usb to make spl boot on am43xx devices > > Reported-by: Tero Kristo > Signed-off-by: Lokesh Vutla Applied to u-boot/maste

Re: [U-Boot] [PATCH v2 08/26] dt-bindings: remoteproc: Add bindings for R5F subsystem on TI K3 SoCs

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:33PM +0530, Lokesh Vutla wrote: > From: Suman Anna > > The Texas Instruments K3 family of SoCs have one of more dual-core > Arm Cortex R5F processor subsystems/clusters (R5FSS). Add the device > tree bindings document for these R5F subsystem devices. These R5F > pro

Re: [U-Boot] [PATCH v2 05/26] remoteproc: elf_loader: Introduce a common elf loader and checker functions

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:30PM +0530, Lokesh Vutla wrote: > Introduce a common remoteproc elf loader and checker functions that > automatically detects the 64 bit elf file or 32 bit elf file and > loads/checks the sections accordingly. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Fabien De

  1   2   >