Re: [U-Boot] [PATCH v4 1/5] fs: export fs_close()

2019-10-12 Thread Heinrich Schuchardt
On 10/7/19 7:59 AM, AKASHI Takahiro wrote: fs_close() closes the connection to a file system which opened with either fs_set_blk_dev() or fs_set_dev_with_part(). Many file system functions implicitly call fs_close(), e.g. fs_closedir(), fs_exist(), fs_ln(), fs_ls(), fs_mkdir(), fs_read(),

Re: [U-Boot] [PATCH v4 2/5] fs: clean up around fs_type

2019-10-12 Thread Heinrich Schuchardt
On 10/7/19 7:59 AM, AKASHI Takahiro wrote: fs_ls(), fs_mkdir() and fs_unlink() sets fs_type to FS_TYPE_ANY explicitly, but it is redundant as they call fs_close(). So just remove those lines. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [U-Boot] [PATCH 074/126] pci: Add support for p2sb uclass

2019-10-12 Thread Simon Glass
Hi Bin, On Fri, 11 Oct 2019 at 21:37, Simon Glass wrote: > > Hi Bin, > > On Wed, 9 Oct 2019 at 22:57, Bin Meng wrote: > > > > Hi Simon, > > > > On Wed, Sep 25, 2019 at 10:59 PM Simon Glass wrote: > > > > > > The Primary-to-Sideband bus (P2SB) is used to access various peripherals > > > through

Re: [U-Boot] [PATCH 4/5] arm: omap: emif-common: Fix memory priming for ECC

2019-10-12 Thread Tom Rini
On Mon, Sep 16, 2019 at 01:47:18PM +0530, Lokesh Vutla wrote: > From: Krunal Bhargav > > Before the priming begins, we need to disable RMW (Read Modify Write) > and disable ECC verification for read accesses. By default, the EMIF > tool enables RMW and read accesses in the EMIF_ECC_CTRL_REG. >

Re: [U-Boot] [PATCH 5/5] cmd: ti: ddr3: Move the print statement after test

2019-10-12 Thread Tom Rini
On Mon, Sep 16, 2019 at 01:47:19PM +0530, Lokesh Vutla wrote: > From: Krunal Bhargav > > If the ECC is enabled over the entire memory region, we need to ensure > the printf/put calls do not modify the stack after ECC is disabled. > Moved the printf/put statements after ECC is enabled. > >

Re: [U-Boot] [PATCH 2/2] arm: dra7xx: Hang on any failure during IOdelay recalibration

2019-10-12 Thread Tom Rini
On Tue, Oct 01, 2019 at 10:41:01AM +0530, Lokesh Vutla wrote: > If there is any failure during IOdelay recalibration sequence, IOs are > not guaranteed to behave as expected. So hang on any failure during the > sequence. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH] arm: dts: k3-j721e-common-proc-board: Mark main_uart0 as shared device

2019-10-12 Thread Tom Rini
On Sun, Sep 29, 2019 at 05:37:58PM +0530, Lokesh Vutla wrote: > Main uart0 is used as debug console by both R5SPL and A72 bootloader and > Linux. So mark it as shared device so that power-domain request is > successful by both cores. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master,

Re: [U-Boot] [PATCH 2/2] fs: fat: get_contents() always returns -1 for errors

2019-10-12 Thread Tom Rini
On Thu, Sep 12, 2019 at 07:19:30PM +0200, Heinrich Schuchardt wrote: > If out of memory, return -1 and not -ENOMEM from get_contents(). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 2/5] board: am65x: Print board name and version during boot

2019-10-12 Thread Tom Rini
On Fri, Sep 27, 2019 at 01:32:12PM +0530, Lokesh Vutla wrote: > Print the board name and ver along with the DT Model. > While at it print the ver for all the detected daughter cards. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [PATCH 1/2] arm: dra7xx: Fix error path in iodelay recalibration

2019-10-12 Thread Tom Rini
On Tue, Oct 01, 2019 at 10:41:00AM +0530, Lokesh Vutla wrote: > When an error is reported in __recalibrate_iodelay_start(), de-isolation > of IO doesn't happen. Because of this, undefined behaviour is observed > on many peripherals without any error. So make sure io is out of isolation > at the

Re: [U-Boot] [PATCH 1/2] fs: fat: treat invalid FAT clusters as errors

2019-10-12 Thread Tom Rini
On Thu, Sep 12, 2019 at 07:19:29PM +0200, Heinrich Schuchardt wrote: > When hitting an invalid FAT cluster while reading a file always print an > error message and return an error code. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 3/5] arm: omap: emif-common: Disable interleaving

2019-10-12 Thread Tom Rini
On Mon, Sep 16, 2019 at 01:47:17PM +0530, Lokesh Vutla wrote: > From: Krunal Bhargav > > If ECC is enabled, we need to ensure interleaving is disabled for higher > address space. > > Signed-off-by: Krunal Bhargav > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v2 15/26] arm: dts: k3-j721e-main: Add C71x DSP node

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:40PM +0530, Lokesh Vutla wrote: > The J721E SoCs have a single TMS320C71x DSP Subsystem in the MAIN > voltage domain containing the next-generation C711 CPU core. The > subsystem has 32 KB of L1D configurable SRAM/Cache and 512 KB of > L2 configurable SRAM/Cache.

Re: [U-Boot] [PATCH v2 25/26] armv8: K3: j721e: Updated ddr address regions in MMU table

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:50PM +0530, Lokesh Vutla wrote: > From: Kedar Chitnis > > The A72 U-Boot code loads and boots a number of remote processors > including the C71x DSP, both the C66_0 and C66_1 DSPs, and the various > Main R5FSS Cores. In order to view the code loaded by the U-Boot

Re: [U-Boot] [PATCH v2 12/26] arm: dts: k3-j721e-mcu: Add MCU domain R5F cluster node

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:37PM +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 &

Re: [U-Boot] [PATCH v2 26/26] board: j721e: Add README

2019-10-12 Thread Tom Rini
On Wed, Sep 04, 2019 at 04:01:51PM +0530, Lokesh Vutla wrote: > Add README file explaining the build and boot procedure for J721E evm. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

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

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

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 >

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

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 >

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

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 >

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

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,

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 &

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

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 >

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

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

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 ___

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

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

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

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

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

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

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,

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,

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

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

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

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

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

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

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

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 >

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

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

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

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

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

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

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

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

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

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

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

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

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 ___

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

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

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

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

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

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

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

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] 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! --

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

[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

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

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

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

  1   2   >