Re: [U-Boot] [PATCH v2 1/2] rk3399: add basic soc driver

2016-07-29 Thread Jaehoon Chung
Hi Kever, On 07/29/2016 11:35 AM, Kever Yang wrote: > This patch add driver for: > - clock driver including set_rate for cpu, mmc, vop, I2C. > - sysreset driver > - grf syscon driver > > Signed-off-by: Kever Yang I don't have a knowledge for rockchip..So i don't add the comments relevant to ro

Re: [U-Boot] [PATCH v2 2/2] mmc: rockchip: add clock init

2016-07-29 Thread Jaehoon Chung
Hi Kever, On 07/29/2016 03:42 PM, Kever Yang wrote: > Init clock for eMMC controller. Sorry for too often requesting something. If you add the commit msg in more detail, then it's more great.:) "Initialize the maximum clock with CMU, before setting the rockchip sdhci host controller." And when

Re: [U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-07-29 Thread Paul Burton
On 28/07/16 13:06, Marek Vasut wrote: +++ b/board/imgtec/boston/boston-regs.h @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2016 Imagination Technologies + * + * SPDX-License-Identifier:GPL-2.0 + */ + +#ifndef __BOARD_BOSTON_REGS_H__ +#define __BOARD_BOSTON_REGS_H__ + +#define BOSTON_PLAT_BASE

Re: [U-Boot] [PATCH] configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR

2016-07-29 Thread Mugunthan V N
On Thursday 28 July 2016 05:27 PM, Vignesh R wrote: > AM437x SK and AM437x IDK EVMs have 64MB flash, therefore enable > CONFIG_SPI_FLASH_BAR to access flash regions above 16MB. > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N __

Re: [U-Boot] [PATCH 2/4] spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock

2016-07-29 Thread Mugunthan V N
On Monday 25 July 2016 03:45 PM, Vignesh R wrote: > According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update > the driver to use the same. > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N ___ U-Boot mailing

Re: [U-Boot] [PATCH 1/4] ARM: dra7xx: Change DPLL_PER_HS13 divider value

2016-07-29 Thread Mugunthan V N
On Monday 25 July 2016 03:45 PM, Vignesh R wrote: > From: Lokesh Vutla > > According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, hence > update QSPI input clock divider value (DPLL_PER_HS13) to provide 76.8MHz > clock, so that driver can use the same. > > Signed-off-by: Vignesh R > --

Re: [U-Boot] [PATCH 3/4] configs: dra7xx: Update QSPI speed to 76.8MHz

2016-07-29 Thread Mugunthan V N
On Monday 25 July 2016 03:45 PM, Vignesh R wrote: > Now that QSPI driver can support 76.8MHz, update the > CONFIG_SF_DEFAULT_SPEED to the same value. > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N ___ U-Boot mailing li

Re: [U-Boot] [PATCH 4/4] ARM: dts: dra7xx: Update spi-max-frequency for QSPI

2016-07-29 Thread Mugunthan V N
On Monday 25 July 2016 03:45 PM, Vignesh R wrote: > According to AM572x DM SPRS953A, QSPI max bus speed is 76.8MHz. > Therefore update the spi-max-frequency value of QSPI node for DRA74 and > DRA72 evm. This increase flash read speed by ~2MB/s. > > Signed-off-by: Vignesh R > --- Reviewed-by: Mug

[U-Boot] [PATCH v2 0/2] AM57xx-IDK: Add QSPI support:wq

2016-07-29 Thread Vignesh R
This series adds support for QSPI for am571x-idk and am572x-idk. The flash is same as the one present on DRA74 EVM. Tested on am572x-idk and am571x-idk. Vignesh R (2): ARM: am57xx_evm: Enable QSPI support ARM: dts: am57xx-idk-common: Enable support for QSPI arch/arm/dts/am57xx-idk-common.d

[U-Boot] [PATCH v2 2/2] ARM: dts: am57xx-idk-common: Enable support for QSPI

2016-07-29 Thread Vignesh R
AM571x and AM572x IDK have a spansion s25fl256s QSPI flash on the board connected to TI QSPI over CS0. Hence, add QSPI and flash slave DT nodes. Signed-off-by: Vignesh R --- v2: No changes arch/arm/dts/am57xx-idk-common.dtsi | 49 + 1 file changed, 49 insert

[U-Boot] [PATCH v2 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Vignesh R
AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the board connected to TI QSPI IP over CS0. Therefore enable QSPI support. Signed-off-by: Vignesh R --- v2: Add entries for am57xx_hs_evm_defconfig and am57xx_evm_nodt_defconfig configs/am57xx_evm_defconfig | 5 +

Re: [U-Boot] [PATCH 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 12:03 PM, Vignesh R wrote: > AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the > board connected to TI QSPI IP over CS0. Therefore enable QSPI support. > > Signed-off-by: Vignesh R > --- > configs/am57xx_evm_defconfig | 5 + > include/configs/am

Re: [U-Boot] [PATCH 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Vignesh R
On Friday 29 July 2016 02:24 PM, Mugunthan V N wrote: > On Friday 29 July 2016 12:03 PM, Vignesh R wrote: >> AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the >> board connected to TI QSPI IP over CS0. Therefore enable QSPI support. >> >> Signed-off-by: Vignesh R >> --- >>

Re: [U-Boot] [PATCH 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 02:27 PM, Vignesh R wrote: > > > On Friday 29 July 2016 02:24 PM, Mugunthan V N wrote: >> On Friday 29 July 2016 12:03 PM, Vignesh R wrote: >>> AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the >>> board connected to TI QSPI IP over CS0. Therefore ena

Re: [U-Boot] [PATCH v2 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 02:22 PM, Vignesh R wrote: > AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the > board connected to TI QSPI IP over CS0. Therefore enable QSPI support. > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [U-Boot] [PATCH v2 2/2] ARM: dts: am57xx-idk-common: Enable support for QSPI

2016-07-29 Thread Mugunthan V N
On Friday 29 July 2016 02:22 PM, Vignesh R wrote: > AM571x and AM572x IDK have a spansion s25fl256s QSPI flash on the board > connected to TI QSPI over CS0. Hence, add QSPI and flash slave > DT nodes. > > Signed-off-by: Vignesh R Reviewed-by: Mugunthan V N Regards Mugunthan V N ___

[U-Boot] [PATCH V3] net: NFS: Add NFSv3 support

2016-07-29 Thread Guillaume GARDET
This patch enables NFSv3 support. If NFSv2 is available use it as usual. If NFSv2 is not available, but NFSv3 is available, use NFSv3. If NFSv2 and NFSv3 are not available, print an error message since NFSv4 is not supported. Tested on iMX6 sabrelite with 4 Linux NFS servers: * NFSv2 + NFSv3 +

Re: [U-Boot] [PATCH 2/2] mips: xilfpga: Add device tree files

2016-07-29 Thread Zubair Lutfullah Kakakhel
On 27/07/16 13:02, Daniel Schwierzeck wrote: Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock-f

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-29 Thread Hans de Goede
Hi, On 27-07-16 21:14, Siarhei Siamashka wrote: Hello Hans, I just realized I forgot to reply to this bit: Also changing the MAC address generation algorithm is an invasive change, which is affecting the end users. Agreed, which is why I'm only changing it for the H3 and why I'm changing

Re: [U-Boot] [PATCH 1/2] mips: Add MIPSfpga platform support

2016-07-29 Thread Zubair Lutfullah Kakakhel
Hi, On 27/07/16 13:13, Daniel Schwierzeck wrote: Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: MIPSfpga is an FPGA based dev platform. In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks The FPGA dev board used is the Nexys4DDR board by Digilent. For more inf

[U-Boot] [PATCH] ARM64: zynqmp: Fix stack pointer initialization

2016-07-29 Thread Michal Simek
From: Soren Brinkmann This partly reverts commit: "ARM64: zynqmp: Add SPL support support" (sha1: e6a9ed04e78cf87ec97e306fa4e7a1669ef98df6) Stack can rewrite ATF code. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 3 ++- 1 file changed, 2 i

[U-Boot] [PATCH v2] sun8i: On H3 Use words 1-3 instead of just word 3 from the SID

2016-07-29 Thread Hans de Goede
It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID are always 0 on H3 making it a poor candidate to use as source for the serialnr / mac-address, and the other non constant words (1 and 2) also have quite a few bits which are the same for some boards, This commits switches to

[U-Boot] [PATCH v2] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-29 Thread Hans de Goede
This fixes the following CACHE warnings when using sun8i_emac: => dhcp BOOTP broadcast 1 BOOTP broadcast 2 CACHE: Misaligned operation at range [7bf594a8, 7bf59628] BOOTP broadcast 3 CACHE: Misaligned operation at range [7bf59c90, 7bf59e10] CACHE: Misaligned operation at range [7bf5a478, 7bf5a5f8]

[U-Boot] [PATCH 3/3] zynqmp: Remove unnnecessary board config file for dc4

2016-07-29 Thread Siva Durga Prasad Paladugu
Remove unnecessary board specific config file for DC4 board. Signed-off-by: Siva Durga Prasad Paladugu --- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 - include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 15 --- 2 files changed, 16 deletions(-) delete mode 100644 include/

[U-Boot] [PATCH 1/3] Kconfig: zynqmp: Move config IDENT_STRING to Kconfig

2016-07-29 Thread Siva Durga Prasad Paladugu
Move the config IDENT_STRING to Kconfig for ZynqMP. Signed-off-by: Siva Durga Prasad Paladugu --- common/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 46e7173..011f9b3 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -198,6 +198,11 @@ c

[U-Boot] [PATCH 2/3] zynqmp: Move config IDENT_STRING to defconfig

2016-07-29 Thread Siva Durga Prasad Paladugu
Move config IDENT_STRING to defconfig for all zynqmp boards. Signed-off-by: Siva Durga Prasad Paladugu --- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 + configs/xilinx_zynqmp

Re: [U-Boot] [PATCH v2] sun8i: On H3 Use words 1-3 instead of just word 3 from the SID

2016-07-29 Thread Ian Campbell
On Fri, 2016-07-29 at 11:49 +0200, Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the > SID > are always 0 on H3 making it a poor candidate to use as source for > the > serialnr / mac-address, and the other non constant words (1 and 2) > also > have quite a f

Re: [U-Boot] [PATCH v2] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-29 Thread Ian Campbell
On Fri, 2016-07-29 at 12:01 +0200, Hans de Goede wrote: > This fixes the following CACHE warnings when using sun8i_emac: > > => dhcp > BOOTP broadcast 1 > BOOTP broadcast 2 > CACHE: Misaligned operation at range [7bf594a8, 7bf59628] > BOOTP broadcast 3 > CACHE: Misaligned operation at range [7bf59

Re: [U-Boot] [PATCH 2/3] zynqmp: Move config IDENT_STRING to defconfig

2016-07-29 Thread Jagan Teki
On 29 July 2016 at 15:31, Siva Durga Prasad Paladugu wrote: > Move config IDENT_STRING to defconfig for all > zynqmp boards. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + > configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + > c

Re: [U-Boot] [PATCH 1/3] Kconfig: zynqmp: Move config IDENT_STRING to Kconfig

2016-07-29 Thread Jagan Teki
On 29 July 2016 at 15:31, Siva Durga Prasad Paladugu wrote: > Move the config IDENT_STRING to Kconfig for ZynqMP. Didn't understand, from where IDENT_STRING kconfig option is moved from to common/Kconfig or added new kconfig entry help for IDENT_STRING.? > > Signed-off-by: Siva Durga Prasad Pala

[U-Boot] [PATCH 3/3] arm/PSCI: Added support for creating ARMv7 PSCI version 1.0 DT node

2016-07-29 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- arch/arm/lib/psci-dt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c index af49c24..baf6d70 100644 --- a/arch/arm/lib/psci-dt.c +++ b/arch/arm/lib/psci-dt.c @@ -65,6 +65,8 @@ int fdt_psci(

[U-Boot] [PATCH 2/3] arm/PSCI: Fixed the backward compatiblity issue

2016-07-29 Thread Zhiqiang Hou
From: Hou Zhiqiang Appended the compatible strings of old version PSCI to the latest version supported. And there are some psci functions' property must be added to DT only for psci version 0.1, such as 'cpu_on' 'cpu_off' etc. Note: The PSCI version 0.1 isn't supported by ARMv8 Secure Firmware F

Re: [U-Boot] [PATCH 3/3] zynqmp: Remove unnnecessary board config file for dc4

2016-07-29 Thread Jagan Teki
On 29 July 2016 at 15:31, Siva Durga Prasad Paladugu wrote: > Remove unnecessary board specific config file for DC4 > board. > > Signed-off-by: Siva Durga Prasad Paladugu Acked-by: Jagan Teki ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.d

Re: [U-Boot] [PATCH 1/2] net: fm: fix spi flash probe for using driver model

2016-07-29 Thread Qianyu Gong
Hi Jagan, Thanks. I'll fix it in the next version. Regards, Qianyu > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Thursday, July 28, 2016 9:36 PM > To: Qianyu Gong > Cc: york sun ; u-boot@lists.denx.de; Prabhakar Kushwaha > ; Zhiqiang Hou ; > Wenbin So

[U-Boot] [PATCH 1/3] arm/PSCI: Removed unused code

2016-07-29 Thread Zhiqiang Hou
From: Hou Zhiqiang Identify the PSCI node only by its name, so removed the code finding it by compatible string. Signed-off-by: Hou Zhiqiang --- arch/arm/lib/psci-dt.c | 17 - 1 file changed, 17 deletions(-) diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c index 8d

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-29 Thread Siarhei Siamashka
Hi, On Thu, 28 Jul 2016 20:35:21 +0200 Hans de Goede wrote: > Hi, > > On 28-07-16 05:13, Chen-Yu Tsai wrote: > > Hi, > > > > On Thu, Jul 28, 2016 at 3:14 AM, Siarhei Siamashka > > wrote: > >> Hello Hans, > >> > >> On Wed, 27 Jul 2016 18:10:34 +0200 > >> Hans de Goede wrote: > >> > >>> It

Re: [U-Boot] [PATCH 2/3] zynqmp: Move config IDENT_STRING to defconfig

2016-07-29 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Friday, July 29, 2016 4:14 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu > Subject: Re: [U-Boot] [PATCH 2/3] zynqmp: Move config IDENT

Re: [U-Boot] [PATCH v2] sun8i: On H3 Use words 1-3 instead of just word 3 from the SID

2016-07-29 Thread Siarhei Siamashka
On Fri, 29 Jul 2016 11:49:45 +0200 Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID > are always 0 on H3 making it a poor candidate to use as source for the > serialnr / mac-address, and the other non constant words (1 and 2) also > have quite a few b

Re: [U-Boot] [PATCH 1/3] Kconfig: zynqmp: Move config IDENT_STRING to Kconfig

2016-07-29 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Friday, July 29, 2016 4:21 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu > Subject: Re: [U-Boot] [PATCH 1/3] Kconfig: zynqmp: Move con

[U-Boot] [PATCH v2 0/4] Add support for TI PCF8575 I2C GPIO expander

2016-07-29 Thread Vignesh R
This series adds support for TI's PCF8575 I2C GPIO expander[1] based on Linux Kernel driver for the same. Also adds support for ethernet to use new PCF8575 driver to select appropriate cpsw slaves on dra72. Depends on I2C DM support [2] Tested on DRA72 EVM. [1]http://www.ti.com/lit/ds/symlink/p

[U-Boot] [PATCH v2 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-29 Thread Vignesh R
On DRA72 EVM, cpsw slaves may be muxed with other modules. This selection is controlled by a pcf gpio line. Add support for cpsw driver to acquire mode-gpios and select the appropriate slave using gpio APIs. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- v2: Drop extra blank line drivers/

[U-Boot] [PATCH v2 1/4] gpio: Add driver for TI PCF8575 I2C GPIO expander

2016-07-29 Thread Vignesh R
TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a 16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can be used as an input or output without the use of a data-direction control signal. The I/Os should be high before being used as inputs. Read the device documentatio

[U-Boot] [PATCH v2 2/4] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-07-29 Thread Vignesh R
On DRA7, pcf chip present at address 0x21 on i2c1, is used to switch between cpsw slave0 and slave1. Hence, enable PCF driver for the same. Signed-off-by: Vignesh R --- v2: No change include/configs/dra7xx_evm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/dra7xx_ev

[U-Boot] [PATCH v2 4/4] ARM: dts: dra72-evm: Add mode-gpios entry for mac node

2016-07-29 Thread Vignesh R
On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw slave0 for ethernet. This is controlled by pcf gpio line. Add appropriate mode-gpios DT entry so that driver can select the required slave. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- v2: no change arch/arm/dts/dra72-e

Re: [U-Boot] [PATCH 2/3] zynqmp: Move config IDENT_STRING to defconfig

2016-07-29 Thread Michal Simek
On 29.7.2016 13:14, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Friday, July 29, 2016 4:14 PM >> To: Siva Durga Prasad Paladugu >> Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga >> Prasad Paladug

Re: [U-Boot] [PATCH 1/3] Kconfig: zynqmp: Move config IDENT_STRING to Kconfig

2016-07-29 Thread Jagan Teki
On 29 July 2016 at 16:48, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Friday, July 29, 2016 4:21 PM >> To: Siva Durga Prasad Paladugu >> Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga >> Prasad P

Re: [U-Boot] [PATCH v2 02/13] dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev()

2016-07-29 Thread Michal Simek
Hi Simon, 2016-07-17 22:59 GMT+02:00 Simon Glass : > On 5 July 2016 at 17:10, Simon Glass wrote: > > This new function is more convenient for callers, and handles > pre-relocation > > situations automatically. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v2: > > - Add new patch

[U-Boot] [PATCH] ARM64: zynqmp: Add u-boot, dm-pre-reloc to clk nodes

2016-07-29 Thread Michal Simek
Serial driver is getting clk information via DT that's why also clk node needs to have this flag. Different behavior was introduced by: "dm: Use dm_scan_fdt_dev() directly where possible" (sha1: 911954859d6dece49c3e4835faea004cfe392506) where simple-bus driver starts to call dm_scan_fdt_dev() whic

[U-Boot] [PATCH] ARMv8/fsl-ppa: Consolidate PPA image stored-media flag for XIP

2016-07-29 Thread Zhiqiang Hou
From: Hou Zhiqiang The PPA binary may be stored on QSPI flash instead of NOR. So, deprecated CONFIG_SYS_LS_PPA_FW_IN_NOR in favour of CONFIG_SYS_LS_PPA_FW_IN_XIP to prevent fragmentation of code by addition of a new QSPI specific flag. Signed-off-by: Hou Zhiqiang Signed-off-by: Abhimanyu Saini

Re: [U-Boot] [PATCH v2 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-29 Thread Keerthy
On Friday 29 July 2016 11:59 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode after it jumps to boot loader. Patch 1: Introduces a weak function which can be overridden specific to SoCs

[U-Boot] [PATCH] move: rockchip: move clock drivers into a subdirectory

2016-07-29 Thread Heiko Stuebner
With the number of Rockchip clock drivers increasing, don't clutter up the core drivers/clk directory with them and instead move them out of the way into a separate subdirectory. Suggested-by: Simon Glass Signed-off-by: Heiko Stuebner --- drivers/clk/Makefile| 3 +-- drivers

Re: [U-Boot] [U-Boot, 3/3] stm32: Change USART port to USART6 for stm32f746 discovery board

2016-07-29 Thread NISHINAGA Toshifumi
Hi Vikas, 2016-07-21 6:59 GMT+09:00 Vikas MANOCHA : > Hi Tom, > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Tom Rini > > Sent: Saturday, July 16, 2016 6:51 AM > > To: tnishinaga@gmail.com > > Cc: u-boot@lists.denx.de; gre...@linuxfoundati

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

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 01:56:16PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx (master), thanks! > > > The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: > > Prepare v2016.07 (2016-07-11 15:01:01 -0400) > > are available in the git reposit

Re: [U-Boot] [PATCH] configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 05:27:57PM +0530, Vignesh R wrote: > AM437x SK and AM437x IDK EVMs have 64MB flash, therefore enable > CONFIG_SPI_FLASH_BAR to access flash regions above 16MB. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 3/7] cmd/bdinfo: extract print_bi_dram

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:20AM +0300, Max Filippov wrote: > print_bi_dram outputs start address and size for each DRAM bank. > > Signed-off-by: Max Filippov Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [PATCH v2 4/7] cmd/bdinfo: extract print_bi_flash

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:21AM +0300, Max Filippov wrote: > print_bi_flash outputs flashstart, flashsize and flashoffset lines. > > Signed-off-by: Max Filippov Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Bo

Re: [U-Boot] [PATCH] common: image: Add support for post-processing of images

2016-07-29 Thread Tom Rini
On Wed, Jul 27, 2016 at 12:12:39PM -0500, Andreas Dannenberg wrote: > This commit allows injecting a board/platform/device-specific post- > processing function into the FIT image data loading process, which can > include modifying the size and altering the starting source address of > an image dat

Re: [U-Boot] [PATCH v2 7/7] cmd/bdinfo: extract print_std_bdinfo

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:24AM +0300, Max Filippov wrote: > print_std_bdinfo outputs typical set of board information entries: > boot params location, memory and flash addresses and sizes, network > interfaces information and configured serial baud rate. > > Signed-off-by: Max Filippov Revi

Re: [U-Boot] [PATCH v2 6/7] cmd/bdinfo: extract print_baudrate

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:23AM +0300, Max Filippov wrote: > print_baudrate outputs serial baud rate. > > Signed-off-by: Max Filippov Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH v2 2/7] cmd/bdinfo: extract print_bi_mem

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:19AM +0300, Max Filippov wrote: > print_bi_mem outputs memstart and memsize lines. > > Signed-off-by: Max Filippov Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH v2 1/7] cmd/bdinfo: extract print_bi_boot_params

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:18AM +0300, Max Filippov wrote: > print_bi_boot_params outputs boot parameters structure location. > > Signed-off-by: Max Filippov Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] Disable command at runtime

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 04:40:29AM -0700, kubiznak.petr wrote: > Hello, > > I wonder whether it is possible to dynamically enable/disable a command. > Since u-boot does not provide any secure authentication method, it is > dangerous to keep some commands available to a potential hacker. E.g. >

Re: [U-Boot] [PATCH v2 5/7] cmd/bdinfo: extract print_eth_ip_addr

2016-07-29 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:22AM +0300, Max Filippov wrote: > print_eth_ip_addr outputs eth configurations for up to 6 interfaces and > configured IP address. > > Signed-off-by: Max Filippov Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH] move: rockchip: move clock drivers into a subdirectory

2016-07-29 Thread Simon Glass
On 29 July 2016 at 06:47, Heiko Stuebner wrote: > > With the number of Rockchip clock drivers increasing, don't clutter up > the core drivers/clk directory with them and instead move them out of > the way into a separate subdirectory. > > Suggested-by: Simon Glass > Signed-off-by: Heiko Stuebner

Re: [U-Boot] NXP QorIQ LS1021A-IoT board support

2016-07-29 Thread Tim Harvey
On Thu, Jul 28, 2016 at 9:53 PM, Tapani wrote: > On Thu, 28 Jul 2016 17:50:56 + > york sun wrote: > >> On 07/28/2016 10:42 AM, Tim Harvey wrote: >> > Greetings, >> > >> > I don't see U-Boot support for the TechNexion designed/built >> > LS1021A-IoT. I've got one on my desk and am still muddli

Re: [U-Boot] [PATCH v2 1/2] ARM: am57xx_evm: Enable QSPI support

2016-07-29 Thread Tom Rini
On Fri, Jul 29, 2016 at 02:22:30PM +0530, Vignesh R wrote: > AM571x IDK and AM572x IDK EVMs have spansion s25fl256s QSPI flash on the > board connected to TI QSPI IP over CS0. Therefore enable QSPI support. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description

Re: [U-Boot] [PATCH] common: image: Add support for post-processing of images

2016-07-29 Thread Simon Glass
On 27 July 2016 at 11:12, Andreas Dannenberg wrote: > This commit allows injecting a board/platform/device-specific post- > processing function into the FIT image data loading process, which can > include modifying the size and altering the starting source address of > an image data artifact. This

Re: [U-Boot] [PATCH v2 2/4] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-07-29 Thread Tom Rini
On Fri, Jul 29, 2016 at 04:50:23PM +0530, Vignesh R wrote: > On DRA7, pcf chip present at address 0x21 on i2c1, is used to > switch between cpsw slave0 and slave1. Hence, enable PCF > driver for the same. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v2 2/2] ARM: dts: am57xx-idk-common: Enable support for QSPI

2016-07-29 Thread Tom Rini
On Fri, Jul 29, 2016 at 02:22:31PM +0530, Vignesh R wrote: > AM571x and AM572x IDK have a spansion s25fl256s QSPI flash on the board > connected to TI QSPI over CS0. Hence, add QSPI and flash slave > DT nodes. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Descript

Re: [U-Boot] [PATCH V3] net: NFS: Add NFSv3 support

2016-07-29 Thread Joe Hershberger
On Fri, Jul 29, 2016 at 4:31 AM, Guillaume GARDET wrote: > This patch enables NFSv3 support. > If NFSv2 is available use it as usual. > If NFSv2 is not available, but NFSv3 is available, use NFSv3. > If NFSv2 and NFSv3 are not available, print an error message since NFSv4 is > not supported. > >

Re: [U-Boot] [PATCH v2 05/10] net: pch_gbe: Use dm_pci_map_bar to discover MMIO base

2016-07-29 Thread Joe Hershberger
On Wed, Jul 27, 2016 at 9:26 AM, Paul Burton wrote: > Reading the PCI BAR & converting the result to a physical address is not > safe across all architectures. For example on MIPS the virtual:physical > mapping is not 1:1, so we cannot directly make use of the physical > address. > > Use the more

Re: [U-Boot] [PATCH v2 06/10] net: pch_gbe: Make 64 bit safe

2016-07-29 Thread Joe Hershberger
On Wed, Jul 27, 2016 at 9:26 AM, Paul Burton wrote: > The pch_gbe driver previously casted pointers to & from unsigned 32 bit > integers in many locations. This breaks the driver on 64 bit systems, > producing streams of compiler warnings about mismatched pointer & > integer sizes and then failing

[U-Boot] [PATCH_v2 1/2] mips: xilfpga: Add device tree files

2016-07-29 Thread Zubair Lutfullah Kakakhel
Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock-frequency passed directly in the node Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: Paul Burton Revi

[U-Boot] [PATCH_v2 0/2] MIPS: Add MIPSfpga u-boot port

2016-07-29 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform by Imagination Technologies Ltd. DDR is already initialized before u-boot. And the peripherals supported in the u-boot port are an n16550 uart and a xilinx ethernet IP (axi_emaclite) which already have drivers in u-boot. Hence the port is mostly DT + config

Re: [U-Boot] [PATCH 1/3] net: emaclite: Use ioremap_nocache

2016-07-29 Thread Joe Hershberger
On Wed, Jul 27, 2016 at 6:25 AM, Zubair Lutfullah Kakakhel wrote: > Virtual to physical mapping isn't necessarily 1:1 for all architectures > > Using ioremap_nocache allows for the arch code to translate the > physical address to a virtual address. > > Signed-off-by: Zubair Lutfullah Kakakhel > R

Re: [U-Boot] [PATCH 2/3] net: emaclite: use __raw_readl/writel instead of weird define

2016-07-29 Thread Joe Hershberger
On Wed, Jul 27, 2016 at 6:25 AM, Zubair Lutfullah Kakakhel wrote: > out_be32 and in_be32 are actually #defined to little endian > writel/readl in arch/microblaze. > > Just use __raw_writel/readl instead. That is also what is used > in the Linux kernel driver for this IP block > > Tested on MIPSfpg

Re: [U-Boot] [PATCH 3/3] net: emaclite: Enable driver for MIPS

2016-07-29 Thread Joe Hershberger
On Wed, Jul 27, 2016 at 6:25 AM, Zubair Lutfullah Kakakhel wrote: > Signed-off-by: Zubair Lutfullah Kakakhel > Reviewed-by: Paul Burton Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boo

Re: [U-Boot] [PATCH v2 3/4] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-07-29 Thread Joe Hershberger
On Fri, Jul 29, 2016 at 6:20 AM, Vignesh R wrote: > On DRA72 EVM, cpsw slaves may be muxed with other modules. This > selection is controlled by a pcf gpio line. Add support for cpsw driver > to acquire mode-gpios and select the appropriate slave using gpio APIs. > > Signed-off-by: Vignesh R > Re

[U-Boot] [PATCH_v2 2/2] mips: Add MIPSfpga platform support

2016-07-29 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform. In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks The FPGA dev board used is the Nexys4DDR board by Digilent. For more information, check the Readme file in board/imgtec/xilfpga Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: P

Re: [U-Boot] [PATCH] common: image: Add support for post-processing of images

2016-07-29 Thread Andreas Dannenberg
On Fri, Jul 29, 2016 at 07:51:53AM -0600, Simon Glass wrote: > On 27 July 2016 at 11:12, Andreas Dannenberg wrote: > > This commit allows injecting a board/platform/device-specific post- > > processing function into the FIT image data loading process, which can > > include modifying the size and a

Re: [U-Boot] Disable command at runtime

2016-07-29 Thread Tom Rini
On Fri, Jul 29, 2016 at 04:37:31PM +0200, Petr Kubizňák wrote: > Hi Tom, thanks for your reply. > > Such way is of course possible, but you surely know I'm rather > interested in more clever solutions. Besides the understandable fact > that I don't want to maintain two u-boot variants and flash i

Re: [U-Boot] Disable command at runtime

2016-07-29 Thread Petr Kubizňák
Hi Tom, thanks for your reply. Such way is of course possible, but you surely know I'm rather interested in more clever solutions. Besides the understandable fact that I don't want to maintain two u-boot variants and flash it twice, I also believe it can be useful to lock "almost everything" a

Re: [U-Boot] [PATCH v2] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-29 Thread Akshay Bhat
On 07/28/2016 07:53 AM, Stefano Babic wrote: Hi Akshay, On 28/07/2016 12:12, Stefano Babic wrote: Hi Akshay, this looks good to me. I apply it, and I let you think about an upgrade to SPL for this board. The patch breaks most of i.MX6 boards because it redefines IMX_CONFIG. In fact: T

Re: [U-Boot] [PATCH v2] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-29 Thread Stefano Babic
On 29/07/2016 17:07, Akshay Bhat wrote: > > > On 07/28/2016 07:53 AM, Stefano Babic wrote: >> Hi Akshay, >> >> >> On 28/07/2016 12:12, Stefano Babic wrote: >>> Hi Akshay, >>> >>> this looks good to me. I apply it, and I let you think about an upgrade >>> to SPL for this board. >>> >> >> The patch

[U-Boot] timing_cfg_2 register in FSL DDR driver

2016-07-29 Thread Thomas Schaefer
Hi York, with commit 5605dc6135f6f26560ef3b0c6ebc5141c531179a you fix wr_lat bits of timing_cfg_2 register for FSL ddr driver. Unfortunately this fix is wrong as (wr_lat & 0x10) is already 5 bits. To make things clearer maybe it is better to set wr_lat this way diff --git a/drivers/ddr/fsl/ctr

[U-Boot] [U-BOOT] [ERROR] Trouble Building uboot for A10s Allwinner red-brick

2016-07-29 Thread Dennis Eberstein
Hey U-Boot list, I have some trouble with building U-BOOT for my Tinkerforge RED-Brick. Its an Allwinner A10s powered little development SoC. http://www.tinkerforge.com/de/doc/Hardware/Bricks/RED_Brick.html thats all german. I just made myself a Configuration, you will find it in the attachm

Re: [U-Boot] [PATCH 2/3] arm/PSCI: Fixed the backward compatiblity issue

2016-07-29 Thread york sun
On 07/29/2016 03:37 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Appended the compatible strings of old version PSCI to the latest version > supported. And there are some psci functions' property must be added to DT > only for psci version 0.1, such as 'cpu_on' 'cpu_off' etc. > > Note: > The P

[U-Boot] [PATCH v3] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-29 Thread Akshay Bhat
Add support for Advantech DMS-BA16 board. The board is based on Advantech BA16 module which has a i.MX6D processor. The board supports: - FEC Ethernet - USB Ports - SDHC and MMC boot - SPI NOR - LVDS and HDMI display Basic information about the module: - Module manufacturer: Advantech - CPU

Re: [U-Boot] [PATCH] armv8: mmu: Detect page table overflow in emergency pt creation

2016-07-29 Thread york sun
On 07/28/2016 11:50 PM, Alexander Graf wrote: > We create 2 sets of page tables: One for normal operation, one for > emergency (used while modifying the former). > > Because the page tables grow dynamically, we have code that checks > for overflow. Unfortunately we didn't adjust the available space

Re: [U-Boot] timing_cfg_2 register in FSL DDR driver

2016-07-29 Thread york sun
On 07/29/2016 08:19 AM, Thomas Schaefer wrote: > Hi York, > > with commit 5605dc6135f6f26560ef3b0c6ebc5141c531179a you fix wr_lat bits of > timing_cfg_2 register for FSL ddr driver. Unfortunately this fix is wrong as > (wr_lat & 0x10) is already 5 bits. To make things clearer maybe it is better

[U-Boot] [PATCH] driver/ddr/fsl: Fix timing_cfg_2

2016-07-29 Thread York Sun
Commit 5605dc6 tried to fix wr_lat bit in timing_cfg_2, but the change was wrong. wr_lat has 5 bits with MSB at [13] and lower 4 bits at [9:12], in big-endian convention. Signed-off-by: York Sun Reported-by: Thomas Schaefer --- drivers/ddr/fsl/ctrl_regs.c | 2 +- 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-29 Thread Stephen Warren
On 07/28/2016 01:28 PM, Benjamin Tietz wrote: Hello Vikas, hello Simon, the new clk-API leaves me with a problem. Previously there was a seperate way to access the clock-device itself (using clk_[gs]et_rate) and the peripherals connected (clk_[gs]et_periph_rate). The former case now isn't availa

Re: [U-Boot] Disable command at runtime

2016-07-29 Thread Petr Kubizňák
Ok, I get it, then I'll have to deal with two defconfigs and reflashing for now. Anyway, at least a user feedback / feature request... I believe it would be useful for many users to have a manufacturing mode, which they would escape permanently by e.g. executing some command. In normal mode, s

Re: [U-Boot] NXP QorIQ LS1021A-IoT board support

2016-07-29 Thread york sun
On 07/29/2016 06:47 AM, Tim Harvey wrote: > On Thu, Jul 28, 2016 at 9:53 PM, Tapani wrote: >> On Thu, 28 Jul 2016 17:50:56 + >> york sun wrote: >> >>> On 07/28/2016 10:42 AM, Tim Harvey wrote: Greetings, I don't see U-Boot support for the TechNexion designed/built LS1021A-

[U-Boot] [PATCH] board/freescale: Update MAINTAINERS files

2016-07-29 Thread York Sun
Update maintainers for secure boot targets. Signed-off-by: York Sun --- board/freescale/b4860qds/MAINTAINERS | 2 +- board/freescale/bsc9132qds/MAINTAINERS | 2 +- board/freescale/corenet_ds/MAINTAINERS | 2 +- board/freescale/ls1021atwr/MAINTAINERS | 4 board/freescale/ls1043ardb/MAINTA

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-29 Thread Benjamin Tietz
Hello Stephen, On Fri, Jul 29, 2016 at 10:04:56AM -0600, Stephen Warren wrote: > On 07/28/2016 01:28 PM, Benjamin Tietz wrote: > >Hello Vikas, hello Simon, > > > >the new clk-API leaves me with a problem. Previously there was a > >seperate way to access the clock-device itself (using clk_[gs]et_ra

[U-Boot] [Resend again PATCH] board/freescale: Update MAINTAINERS files

2016-07-29 Thread york sun
Update maintainers for secure boot targets. Signed-off-by: York Sun --- This is second resend. Somehow original mails weren't received by mailing list. board/freescale/b4860qds/MAINTAINERS | 2 +- board/freescale/bsc9132qds/MAINTAINERS | 2 +- board/freescale/corenet_ds/MAINTAINERS | 2

Re: [U-Boot] NXP QorIQ LS1021A-IoT board support

2016-07-29 Thread york sun
On 07/29/2016 07:58 AM, york@nxp.com wrote: > On 07/29/2016 06:47 AM, Tim Harvey wrote: >> On Thu, Jul 28, 2016 at 9:53 PM, Tapani wrote: >>> On Thu, 28 Jul 2016 17:50:56 + >>> york sun wrote: >>> On 07/28/2016 10:42 AM, Tim Harvey wrote: > Greetings, > > I don't see U-Bo

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-29 Thread Stephen Warren
On 07/29/2016 11:26 AM, Benjamin Tietz wrote: Hello Stephen, On Fri, Jul 29, 2016 at 10:04:56AM -0600, Stephen Warren wrote: On 07/28/2016 01:28 PM, Benjamin Tietz wrote: Hello Vikas, hello Simon, the new clk-API leaves me with a problem. Previously there was a seperate way to access the cloc

Re: [U-Boot] [PATCH 1/4] ARM: dra7xx: Change DPLL_PER_HS13 divider value

2016-07-29 Thread Jagan Teki
On 29 July 2016 at 14:12, Mugunthan V N wrote: > On Monday 25 July 2016 03:45 PM, Vignesh R wrote: >> From: Lokesh Vutla >> >> According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, hence >> update QSPI input clock divider value (DPLL_PER_HS13) to provide 76.8MHz >> clock, so that driver

  1   2   >