Re: [U-Boot] [PATCH v3] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-08-01 Thread Michal Simek
On 1.8.2016 03:03, Simon Glass wrote: > On 28 July 2016 at 01:06, Michal Simek wrote: >> Add new Kconfig option to disable arch_fixup_fdt() calls for cases where >> U-Boot shouldn't update memory setup in DTB file. >> One example of usage of this option is to boot OS with different memory >> setup

Re: [U-Boot] [PATCH v3] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-08-01 Thread Simon Glass
On 28 July 2016 at 01:06, Michal Simek wrote: > Add new Kconfig option to disable arch_fixup_fdt() calls for cases where > U-Boot shouldn't update memory setup in DTB file. > One example of usage of this option is to boot OS with different memory > setup than U-Boot use. > > Signed-off-by: Michal

[U-Boot] u-boot-imx: watchdog driver always asserts WDOG1_B?

2016-08-01 Thread Ross Parker
I've been hardening up hardware watchdog support on our custom i.MX6q based boards and think I have found a bug in the U-Boot imx watchdog driver (imx_watchdog.c). Currently in the function hw_watchdog_init(), the watchdog control register bits are explicitly initialised as follows: writew(WCR_WD

[U-Boot] [PATCH] ARM64: zynqmp: Do not enable DM_MMC by default

2016-08-01 Thread Michal Simek
The patch: "dm: mmc: zynq: Convert zynq to use driver model for MMC" (sha1: 329a449f2c289b4de8f892fca1d9379ce5fd81b8) added dependency on enabling some MMC options by default. There are minimal ZynqMP configurations which require only minimal configurations to be enabled to keep u-boot size as lowe

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

2016-08-01 Thread Michal Simek
On 27.7.2016 13:50, Daniel Schwierzeck wrote: > > > Am 27.07.2016 um 13:25 schrieb Zubair Lutfullah Kakakhel: >> 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.

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

2016-08-01 Thread Michal Simek
On 1.8.2016 06:49, Siva Durga Prasad Paladugu wrote: > Move config IDENT_STRING to defconfig for all > zynqmp boards. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes for v2: > - Appended revB in CONFIG_IDENT_ENTRY definition > for zcu102 RevB board > --- > configs/xilinx_zynqmp_z

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

2016-08-01 Thread Michal Simek
On 1.8.2016 06:49, Siva Durga Prasad Paladugu wrote: > Remove unnecessary board specific config file for DC4 > board. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes for v2: > - None > --- > configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 - > include/configs/xilinx_zynqmp_zc

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

2016-08-01 Thread Vignesh R
On Monday 01 August 2016 06:31 AM, Simon Glass wrote: > Hi, > > On 25 July 2016 at 07:10, Vignesh R wrote: >> 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 u

[U-Boot] [PATCH] Makefile: Remove tags file on mrproper

2016-08-01 Thread Vignesh R
make tags creates a symbolic link called tags to ctags. Remove this file on make mrproper or make distclean. Signed-off-by: Vignesh R --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 99cc8cf2f701..d1ad6c685442 100644 --- a/Makefile +++ b/

Re: [U-Boot] [PATCH 1/3] usb: add CONIFG_USB_OHCI_HCD in Kconfig

2016-08-01 Thread Alexey Brodkin
Hi Masahiro-san, On Sun, 2016-07-31 at 18:24 +0900, Masahiro Yamada wrote: > Add this option as a common config for all OHCI controllers.  Its > help message was copied from Linux.  Also, I moved it below EHCI > to respect the order in Linux's Kconfig. > > Add CONFIG_USB_OHCI_HCD=y to axs103_defc

Re: [U-Boot] SCSI is missing DM support?

2016-08-01 Thread Michal Simek
Hi, +u-boot On 1.8.2016 09:19, Alexander Graf wrote: > Hi guys, > > I tried to boot from SCSI on the Xilinx ZynqMP EP platform (the QEMU based > system) and turns out the scsi commands can’t find a scsi disk that is > attached to it. For an example command line, just run > > ./aarch64-softmm

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: set to INT_DATA_END when there are data

2016-08-01 Thread Lukasz Majewski
Dear All, > Hi All, > > On 07/12/2016 09:55 PM, Lukasz Majewski wrote: > > Hi Jaehoon, > > > >> There is no data, it doesn't needs to wait for completing data > >> transfer. (It seems that it can be removed.) > >> Almost all timeout error is occured from stop command without data. > >> After app

[U-Boot] [PATCH v4 00/11] MIPS Boston Development Board Support

2016-08-01 Thread Paul Burton
This series introduces initial support for the MIPS Boston, and FPGA based development board & successor to the older Malta board. Further peripheral work is needed but this introduces the basics. This can be tested in a currently out-of-tree QEMU port if desired, which can be found in the boston

[U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Keerthy
Hi Alexander, I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs which does not have LPAE support yet. Is it mandatory for LPAE to be enabled before enabling hypervisor for A15? I was looking at commit: commit d990f5c834f1b42293fb53e4fd7f3aa988184196 Author: Alexan

[U-Boot] [PATCH v4 02/11] dt-bindings: Add interrupt-controller/mips-gic.h header

2016-08-01 Thread Paul Burton
Import a copy of the dt-bindings/interrupt-controller/mips-gic.h header from Linux, such that we can use device trees which include it without modification. Signed-off-by: Paul Burton --- Changes in v4: None Changes in v3: None Changes in v2: None include/dt-bindings/interrupt-controller/mips-

[U-Boot] [PATCH v4 01/11] serial: ns16550: Support clocks via phandle

2016-08-01 Thread Paul Burton
Previously ns16550 compatible UARTs probed via device tree have needed their device tree nodes to contain a clock-frequency property. An alternative to this commonly used with Linux is to reference a clock via a phandle. This patch allows U-Boot to support that, retrieving the clock frequency by pr

[U-Boot] [PATCH v4 04/11] pci: Flip condition for detecting non-PCI parent devices

2016-08-01 Thread Paul Burton
In pci_uclass_pre_probe an attempt is made to detect whether the parent of a device is a PCI device and that the device is thus a bridge. This was being done by checking whether the parent of the device is of the UCLASS_ROOT class. This causes problems if the PCI controller is a child of some other

[U-Boot] [PATCH v4 03/11] pci: xilinx: Add a driver for Xilinx AXI to PCIe bridge

2016-08-01 Thread Paul Burton
This patch adds a driver for the Xilinx AXI bridge for PCI express, an IP block which can be used on some generations of Xilinx FPGAs. This is mostly a case of implementing PCIe ECAM specification, but with some quirks about what devices are valid to access. Signed-off-by: Paul Burton Reviewed-by

[U-Boot] [PATCH v4 05/11] net: pch_gbe: Use dm_pci_map_bar to discover MMIO base

2016-08-01 Thread Paul Burton
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 generic BAR-mapping function dm_pci_map_bar to discover the MMIO

[U-Boot] [PATCH v4 07/11] dm: regmap: Implement simple regmap_read & regmap_write

2016-08-01 Thread Paul Burton
The regmap_read & regmap_write functions were previously declared in regmap.h but not implemented anywhere. The regmap implementation & commit message of 6f98b7504f70 ("dm: Add support for register maps (regmap)") indicate that only memory mapped accesses are supported for now, so providing simple

[U-Boot] [PATCH v4 06/11] net: pch_gbe: Make 64 bit safe

2016-08-01 Thread Paul Burton
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 to keep track of addresses correctly at runtime. Fix the dr

[U-Boot] [PATCH v4 08/11] dm: core: Match compatible strings in order of priority

2016-08-01 Thread Paul Burton
Device model drivers have previously been matched to FDT nodes by virtue of being the first driver in the driver list to be compatible with the node. This ignores the fact that compatible strings in the device tree are listed in order of priority - that is, if we have a node with 2 compatible strin

[U-Boot] [PATCH v4 11/11] boston: Introduce support for the MIPS Boston development board

2016-08-01 Thread Paul Burton
This patch introduces support for building U-Boot to run on the MIPS Boston development board. This is a board built around an FPGA & an Intel EG20T Platform Controller Hub, used largely as part of the development of new CPUs and their software support. It is essentially the successor to the older

[U-Boot] [PATCH v4 09/11] dm: syscon: Provide a generic syscon driver

2016-08-01 Thread Paul Burton
Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver just as in Linux. Signed-off-by: Paul Burton --- Changes in v4: None Changes in v3: None Changes in v2: - New patch drivers/core/syscon-uc

Re: [U-Boot] [PATCH v2 08/10] dm: syscon: Provide a generic syscon driver

2016-08-01 Thread Paul Burton
On 01/08/16 03:20, Simon Glass wrote: Hi Paul, On 27 July 2016 at 08:26, Paul Burton wrote: Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver just as in Linux. Signed-off-by: Paul Burton

[U-Boot] [PATCH v4 10/11] clk: boston: Providea simple driver for Boston board clocks

2016-08-01 Thread Paul Burton
Add a simple driver for the clocks provided by the MIPS Boston development board. The system provides information about 2 clocks whose rates are fixed by the bitfile flashed in the boards FPGA, and this driver simply reads the rates of these 2 clocks. Signed-off-by: Paul Burton Reviewed-by: Simon

Re: [U-Boot] [PATCH v4 00/11] MIPS Boston Development Board Support

2016-08-01 Thread Michal Simek
On 1.8.2016 12:06, Paul Burton wrote: > This series introduces initial support for the MIPS Boston, and FPGA > based development board & successor to the older Malta board. Further > peripheral work is needed but this introduces the basics. > > This can be tested in a currently out-of-tree QEMU po

Re: [U-Boot] [PATCH v4 00/11] MIPS Boston Development Board Support

2016-08-01 Thread Paul Burton
On 01/08/16 11:46, Michal Simek wrote: On 1.8.2016 12:06, Paul Burton wrote: This series introduces initial support for the MIPS Boston, and FPGA based development board & successor to the older Malta board. Further peripheral work is needed but this introduces the basics. This can be tested in

Re: [U-Boot] [PATCH v4 00/11] MIPS Boston Development Board Support

2016-08-01 Thread Michal Simek
On 1.8.2016 14:09, Paul Burton wrote: > On 01/08/16 11:46, Michal Simek wrote: >> On 1.8.2016 12:06, Paul Burton wrote: >>> This series introduces initial support for the MIPS Boston, and FPGA >>> based development board & successor to the older Malta board. Further >>> peripheral work is needed bu

Re: [U-Boot] [PATCH v4 00/11] MIPS Boston Development Board Support

2016-08-01 Thread Paul Burton
On 01/08/16 13:41, Michal Simek wrote: On 1.8.2016 14:09, Paul Burton wrote: On 01/08/16 11:46, Michal Simek wrote: On 1.8.2016 12:06, Paul Burton wrote: This series introduces initial support for the MIPS Boston, and FPGA based development board & successor to the older Malta board. Further p

Re: [U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update the mmc maintainer

2016-08-01 Thread Pantelis Antoniou
Hi Jaehoon, > On Aug 1, 2016, at 06:35 , Jaehoon Chung wrote: > > Update the mmc maintainer from Pantelis to me. > > Signed-off-by: Jaehoon Chung Acked-by: Pantelis Antoniou Good job! > --- > MAINTAINERS| 2 +- > doc/git-mailrc | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-)

Re: [U-Boot] Network boot fallback usage/features

2016-08-01 Thread Wolfgang Denk
Dear Dragan, In message <39afb55812f6cf1f1f955c73c6f12d32.squir...@webmail.tu-dortmund.de> you wrote: > > I'm about to use U-Boot for an embedded project. I need a fallback You posted the very same question (three!) times within just a couple of hours. I highly recommend you to read [1], esp

[U-Boot] [PATCH v2 0/1] Fix U-Boot Prompt on CM-FX6 with enabled watchdog

2016-08-01 Thread Andreas J. Reichel
This patch fixes unwanted watchdog resets while the user enters a command at the U-Boot prompt. As found on the CM-FX6 board from Compulab, when having enabled the watchdog, a missing WATCHDOG_RESET call in _serial_tstc() in (/drivers/serial/serial-uclass.c) causes this and alike boards to reset

[U-Boot] [PATCH v2] watchdog: Fix Watchdog Reset while in U-Boot Prompt

2016-08-01 Thread Andreas J. Reichel
This patch fixes unwanted watchdog resets while the user enters a command at the U-Boot prompt. As found on the CM-FX6 board from Compulab, when having enabled the watchdog, a missing WATCHDOG_RESET call in _serial_tstc() in (/drivers/serial/serial-uclass.c) causes this and alike boards to reset w

[U-Boot] [PATCH v1] ppc4xx: Fix platform support

2016-08-01 Thread dirk . eibach
From: Dirk Eibach Commit "ecc3066 Fix board init code to respect the C runtime environment" broke platform support for ppc4xx. start.S prepares a stackframe that is later rendered unusable by appending the reserved space for global data. Instead the reserved space has to be put first. Then the st

Re: [U-Boot] [PATCH] Add a power domain framework/uclass

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:01 PM, Simon Glass wrote: Hi Stephen, On 25 July 2016 at 10:50, Stephen Warren wrote: On 07/24/2016 08:07 PM, Simon Glass wrote: Hi Stephen, On 14 July 2016 at 22:17, Simon Glass wrote: Hi Stephen, On 13 July 2016 at 13:45, Stephen Warren wrote: From: Stephen Warren

Re: [U-Boot] [PATCH] serial: bcm283x_mu: Detect disabled serial device

2016-08-01 Thread Stephen Warren
On 07/29/2016 03:49 PM, Alexander Graf wrote: On the raspberry pi, you can disable the serial port to gain dynamic frequency scaling which can get handy at times. However, in such a configuration the serial controller gets its rx queue filled up with zero bytes which then happily get transmitted

Re: [U-Boot] [PATCH 1/5] pci: tegra: port to standard clock/reset/pwr domain APIs

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:02 PM, Simon Glass wrote: Hi Stephen, On 27 July 2016 at 15:48, Stephen Warren wrote: From: Stephen Warren Tegra186 supports the new standard clock, reset, and power domain APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra PCIe driver so that it can operate wit

Re: [U-Boot] [PATCH 3/5] i2c: tegra: add standardized clk/reset API support

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:02 PM, Simon Glass wrote: Hi Stephen, On 27 July 2016 at 15:48, Stephen Warren wrote: From: Bryan Wu clk/reset API was tested on T186 platform and previous chip like T210/T124 will still use the old APIs. diff --git a/drivers/i2c/tegra_i2c.c b/drivers/i2c/tegra_i2c.c @

[U-Boot] [PATCH v2 1/2] cmd: Split 'bootz' and 'booti' out from 'bootm'

2016-08-01 Thread Tom Rini
The bootz and booti commands rely on common functionality that is found in common/bootm.c and common/bootm_os.c. They do not however rely on the rest of cmd/bootm.c to be implemented so split them into their own files. Have various Makefiles include the required infrastructure for CONFIG_CMD_BOOT

[U-Boot] [PATCH v2 2/2] cmd: booti: move CONFIG_CMD_BOOTI to Kconfig

2016-08-01 Thread Tom Rini
From: Masahiro Yamada This command is used to boot ARM64 Linux. I made DISTRO_DEFAULTS select this option for ARM64 to respect include/config_distro_defaults.h. Signed-off-by: Masahiro Yamada Signed-off-by: Tom Rini --- Changes in v2: - Move to default y so this isn't in the defconfig files -

Re: [U-Boot] [PATCH 2/9] ARM: tegra: add BPMP DT bindings

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:02 PM, Simon Glass wrote: On 27 July 2016 at 15:24, Stephen Warren wrote: From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks,

[U-Boot] [PATCH 1/4] Introduce CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE

2016-08-01 Thread Andrew F. Davis
Introduce CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE. An SPL which define this will panic() if the image it has loaded is not a FIT image. Signed-off-by: Andrew F. Davis --- Kconfig | 8 common/spl/spl.c | 4 2 files changed, 12 insertions(+) diff --git a/Kconfig b/Kconfig index e

[U-Boot] [PATCH 3/4] ARM: AM437x: Disable non-FIT based image loading for HS devices

2016-08-01 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM437x platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig in

[U-Boot] [PATCH 2/4] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2016-08-01 Thread Andrew F. Davis
Disable support for loading non-FIT images for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig in

[U-Boot] [PATCH 0/4] Allow disabling non-FIT image loading from SPL

2016-08-01 Thread Andrew F. Davis
Hello all, To address a needed feature brought up by Andreas[0], we need a way to disable SPL from loading non-FIT images. The function spl_parse_image_header is common to all SPL loading paths (common/spl/spl_(nand|net|nor|etc..)) so we add the check here, much like the existing CONFIG_SPL_PANIC

[U-Boot] [PATCH 4/4] ARM: DRA7xx: Disable non-FIT based image loading for HS devices

2016-08-01 Thread Andrew F. Davis
Disable support for loading non-FIT images for DRA7xx platforms using the high-security (HS) device variant. Signed-off-by: Andrew F. Davis --- configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig in

Re: [U-Boot] [PATCH] serial: bcm283x_mu: Detect disabled serial device

2016-08-01 Thread Alexander Graf
> On 01 Aug 2016, at 16:20, Stephen Warren wrote: > > On 07/29/2016 03:49 PM, Alexander Graf wrote: >> On the raspberry pi, you can disable the serial port to gain dynamic >> frequency >> scaling which can get handy at times. >> >> However, in such a configuration the serial controller gets it

Re: [U-Boot] [PATCH 4/9] misc: add Tegra BPMP driver

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:02 PM, Simon Glass wrote: On 27 July 2016 at 15:24, Stephen Warren wrote: From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks,

Re: [U-Boot] [PATCH 5/9] clock: add Tegra186 clock driver

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:02 PM, Simon Glass wrote: Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: From: Stephen Warren In Tegra186, on-SoC clocks are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. A tegra

Re: [U-Boot] [PATCH 8/9] mmc: tegra: port to standard clock/reset APIs

2016-08-01 Thread Stephen Warren
On 07/31/2016 08:20 PM, Simon Glass wrote: Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: From: Stephen Warren Tegra186 supports the new standard clock and reset APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra MMC driver so that it can operate with either set of

Re: [U-Boot] [PATCH 2/7] misc: Tegra BPMP: support child node devices

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:03 PM, Simon Glass wrote: On 29 July 2016 at 13:15, Stephen Warren wrote: From: Stephen Warren The BPMP bindings allow devices to be represented as child nodes of the BPMP node. This requires the driver to trigger scanning of its node for diff --git a/drivers/misc/tegra186

Re: [U-Boot] [PATCH 6/7] ARM: tegra: enable SD card on p2771-0000

2016-08-01 Thread Stephen Warren
On 07/31/2016 07:04 PM, Simon Glass wrote: Hi Stephen, On 29 July 2016 at 13:15, Stephen Warren wrote: From: Stephen Warren Now that clock and reset drivers exist for Tegra186, we can enable the SD card controller. Now that a BPMP I2C driver exists for Tegra186, we can communicate with the P

Re: [U-Boot] [PATCH] Makefile: Remove tags file on mrproper

2016-08-01 Thread Tom Rini
On Mon, Aug 01, 2016 at 02:41:08PM +0530, Vignesh R wrote: > make tags creates a symbolic link called tags to ctags. Remove this file > on make mrproper or make distclean. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH] powerpc/mpc85xx: Update erratum workaround for A006379

2016-08-01 Thread York Sun
Update erratum workaround for A006379 to set register CPCHDBCR0 with value 0x001e, replacing the old value 0x003c. Signed-off-by: York Sun Reported-by: Dave Liu --- arch/powerpc/include/asm/immap_85xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/inc

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

2016-08-01 Thread york sun
On 07/31/2016 08:20 PM, Zhiqiang Hou wrote: > Hi York, > > Thanks for your comments! > >> -Original Message- >> From: york sun >> Sent: 2016年7月29日 23:37 >> To: Zhiqiang Hou ; u-boot@lists.denx.de; >> albert.u.b...@aribaud.net; hdego...@redhat.com; w...@csie.org; Hongbo >> Zhang ; b.galv...@

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

2016-08-01 Thread Jagan Teki
On 1 August 2016 at 13:42, Michal Simek wrote: > On 1.8.2016 06:49, Siva Durga Prasad Paladugu wrote: >> Move config IDENT_STRING to defconfig for all >> zynqmp boards. >> >> Signed-off-by: Siva Durga Prasad Paladugu >> --- Acked-by: Jagan Teki -- Jagan. __

Re: [U-Boot] [PATCH 1/4] Introduce CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE

2016-08-01 Thread Tom Rini
On Mon, Aug 01, 2016 at 10:30:23AM -0500, Andrew F. Davis wrote: > Introduce CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE. An SPL which define > this will panic() if the image it has loaded is not a FIT image. > > Signed-off-by: Andrew F. Davis > --- > Kconfig | 8 > common/spl/spl.c | 4

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

2016-08-01 Thread Jagan Teki
On 1 August 2016 at 10:19, 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 fyi: I've Acked previously for the same patch, pls- add them in your patch if any such in previous ve

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Andreas Färber
Hi Keerthy, Am 01.08.2016 um 12:07 schrieb Keerthy: > I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of > SoCs which does not have LPAE support yet. > > Is it mandatory for LPAE to be enabled before enabling hypervisor for A15? On the Linux kernel side you can't enable KVM

Re: [U-Boot] [PATCH 1/4] Introduce CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE

2016-08-01 Thread Simon Glass
Hi, On 1 August 2016 at 11:30, Tom Rini wrote: > > On Mon, Aug 01, 2016 at 10:30:23AM -0500, Andrew F. Davis wrote: > > Introduce CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE. An SPL which define > > this will panic() if the image it has loaded is not a FIT image. > > > > Signed-off-by: Andrew F. Davis > >

[U-Boot] [PATCH V2] misc: Tegra BPMP: support child node devices

2016-08-01 Thread Stephen Warren
From: Stephen Warren The BPMP bindings allow devices to be represented as child nodes of the BPMP node. This requires the driver to trigger scanning of its node for those child nodes. Signed-off-by: Stephen Warren --- v2: Use dm_scan_fdt_dev() to scan sub-nodes. This function was just added. --

Re: [U-Boot] [PATCH v2 05/11] buildman: Improve the toolchain progress/error output

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:33, Simon Glass wrote: > Use colour to make it easier to see what is going on. Also print a message > before downloading a new toolchain. Mention --fetch-arch in the message that > is shown when there are no available toolchains, since this is the quickest > way to resolve th

Re: [U-Boot] [PATCH v2 07/11] buildman: Drop the toolchain error when downloading toolchains

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:33, Simon Glass wrote: > It doesn't make sense to complain about missing toolchains when the > --fetch-arch option is being used. The user is presumably aware that there > is a toolchain problem and is actively correcting it by running with this > option. > > Refactor the cod

Re: [U-Boot] [PATCH v2 06/11] buildman: Fix a typo in TestSettingsHasPath()

2016-08-01 Thread Simon Glass
On 27 July 2016 at 21:28, Tom Rini wrote: > On Wed, Jul 27, 2016 at 08:33:03PM -0600, Simon Glass wrote: > >> The function comment should say 'buildman'. Fix it. >> >> Signed-off-by: Simon Glass > > Reviewed-by: Tom Rini > > -- > Tom Applied to u-boot-dm

Re: [U-Boot] [PATCH v2 08/11] buildman: Avoid overwriting existing toolchain entries

2016-08-01 Thread Simon Glass
On 27 July 2016 at 21:28, Tom Rini wrote: > On Wed, Jul 27, 2016 at 08:33:05PM -0600, Simon Glass wrote: > >> The current code for setting up the toolchain config always writes the new >> paths to an item called 'toolchain'. This means that it will overwrite any >> existing toolchain item with the

Re: [U-Boot] [PATCH v2 09/11] buildman: Add a quick-start note

2016-08-01 Thread Simon Glass
On 27 July 2016 at 21:28, Tom Rini wrote: > On Wed, Jul 27, 2016 at 08:33:06PM -0600, Simon Glass wrote: > >> For those who just want to build a board, it is useful to see a quick hint >> right at the start of the documentation. Add a few commands showing how to >> download toolchains and build a

Re: [U-Boot] [PATCH v2 10/11] Drop the MAKEALL tool

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:33, Simon Glass wrote: > Buildman has been around for 3 years now. It has had a lot of use and > testing. Perhaps it is time to remove MAKEALL. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > --- > > Changes in v2: None > > MAKEALL | 850 > ---

Re: [U-Boot] [PATCH v2 11/11] Drop references to MAKEALL in the documentation

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:33, Simon Glass wrote: > It is confusing to mention MAKEALL when it is not the normal way of building > U-Boot anymore. Update the documentation to suit. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > --- > > Changes in v2: None > > README

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

2016-08-01 Thread Simon Glass
Hi Tom, Here's the buildman updates and an fdt patch. If you end up dropping the last two patches (MAKEALL removal) that's fine. But I've included them for now. The following changes since commit 26fb8db0f4d1e7c118b5e8f3a8849f359b91c166: Merge git://git.denx.de/u-boot-rockchip (2016-07-31 20:

Re: [U-Boot] [PATCH v2 02/11] buildman: Automatically create a config file if needed

2016-08-01 Thread Simon Glass
On 27 July 2016 at 21:28, Tom Rini wrote: > On Wed, Jul 27, 2016 at 08:32:59PM -0600, Simon Glass wrote: > >> If there is no ~/.buildman file, buildman currently complains and exists. To >> make things a little more friendly, create an empty one automatically. This >> will not allow things to be b

Re: [U-Boot] [PATCH V2] misc: Tegra BPMP: support child node devices

2016-08-01 Thread Simon Glass
On 1 August 2016 at 11:57, Stephen Warren wrote: > From: Stephen Warren > > The BPMP bindings allow devices to be represented as child nodes of the > BPMP node. This requires the driver to trigger scanning of its node for > those child nodes. > > Signed-off-by: Stephen Warren > --- > v2: Use dm_

Re: [U-Boot] [PATCH v2 04/11] buildman: Allow the toolchain error to be suppressed

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:33, Simon Glass wrote: > When there are no toolchains a warning is printed. But in some cases this is > confusing, such as when the user is fetching new toolchains. > > Adjust the function to supress the warning in this case. > > Signed-off-by: Simon Glass > --- > > Changes

Re: [U-Boot] [PATCH v2 03/11] buildman: Fix the 'help' test to use the correct path

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:33, Simon Glass wrote: > When buildman is run via a symlink, this test fails. Fix it to work the same > way as buildman itself. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > tools/buildman/func_test.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

Re: [U-Boot] [PATCH v2 01/11] buildman: Tidy up the README a little

2016-08-01 Thread Simon Glass
On 27 July 2016 at 20:32, Simon Glass wrote: > Tidy up some problems found by a recent review. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini > --- > > Changes in v2: None > > tools/buildman/README | 53 > +-- > 1 file changed, 30 inserti

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

2016-08-01 Thread Marek Vasut
On 07/31/2016 07:32 PM, Paul Burton wrote: > On 31/07/16 16:56, Marek Vasut wrote: >> On 07/29/2016 10:36 AM, Paul Burton wrote: >> [...] > +#ifndef __ASSEMBLY__ > + > +#include > + > +#define BUILD_PLAT_ACCESSORS(offset, name)\ > +static inline uint32_t rea

Re: [U-Boot] [PATCH v3] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-08-01 Thread Simon Glass
On 1 August 2016 at 00:37, Michal Simek wrote: > On 1.8.2016 03:03, Simon Glass wrote: >> On 28 July 2016 at 01:06, Michal Simek wrote: >>> Add new Kconfig option to disable arch_fixup_fdt() calls for cases where >>> U-Boot shouldn't update memory setup in DTB file. >>> One example of usage of th

Re: [U-Boot] [PATCH] armv8: ls2080a/ls1043a/ls1012a: enable support for booti

2016-08-01 Thread Stuart Yoder
> -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Saturday, July 30, 2016 9:03 AM > To: Stuart Yoder > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] armv8: ls2080a/ls1043a/ls1012a: enable support > for booti > > On Fri, Jul 29, 2016 at 03:59:18PM -0500

Re: [U-Boot] [PATCH 4/9] misc: add Tegra BPMP driver

2016-08-01 Thread Stephen Warren
On 08/01/2016 09:41 AM, Stephen Warren wrote: On 07/31/2016 07:02 PM, Simon Glass wrote: On 27 July 2016 at 15:24, Stephen Warren wrote: From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work,

Re: [U-Boot] Disable command at runtime

2016-08-01 Thread Wolfgang Denk
Dear Petr, In message <1f085e1d-378c-5f29-2f35-988b8d110...@elnico.cz> you wrote: > > 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 hacke

Re: [U-Boot] Disable command at runtime

2016-08-01 Thread Wolfgang Denk
Dear Petr, In message <9c257c71-97b6-a83e-3d9d-e3a8459fc...@elnico.cz> you wrote: > > 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

Re: [U-Boot] Disable command at runtime

2016-08-01 Thread Ladislav Michl
On Fri, Jul 29, 2016 at 05:57:58PM +0200, Petr Kubiz??ák wrote: > 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 woul

[U-Boot] [PATCH 2/2] fdt: allow fdtdec_get_addr_size_*() to translate addresses

2016-08-01 Thread Stephen Warren
From: Stephen Warren Some code may want to read reg values from DT, but from nodes that aren't associated with DM devices, so using dev_get_addr_index() isn't appropriate. In this case, fdtdec_get_addr_size_*() are the functions to use. However, "translation" (via the chain of ranges properties i

[U-Boot] [PATCH 1/2] fdt_support: fdt_translate_address() blob const correctness

2016-08-01 Thread Stephen Warren
From: Stephen Warren The next patch will call fdt_translate_address() from somewhere with a "const void *blob" rather than a "void *blob", so fdt_translate_address() must accept a const pointer too. Constify the minimum number of function parameters to achieve this. Signed-off-by: Stephen Warren

[U-Boot] [PATCH V2] misc: add Tegra BPMP driver

2016-08-01 Thread Stephen Warren
From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks, resets, power domains, PMIC I2C bus, etc. This driver provides the core low-level communication

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

2016-08-01 Thread Tom Rini
On Mon, Aug 01, 2016 at 04:10:47AM +0300, Max Filippov wrote: > Tom, Simon, > > On Mon, Aug 1, 2016 at 4:03 AM, Simon Glass wrote: > > On 27 July 2016 at 18:57, Max Filippov wrote: > >> print_std_bdinfo outputs typical set of board information entries: > >> boot params location, memory and flash

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Alexander Graf
> On 01 Aug 2016, at 11:07, Keerthy wrote: > > Hi Alexander, > > I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs > which does not have LPAE support yet. > > Is it mandatory for LPAE to be enabled before enabling hypervisor for A15? HYP mode shares the same page

[U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-08-01 Thread Tom Rini
As part of testing booting Linux kernels on Rockchip devices, it was discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for some cases incomplete isb definitions. This was causing a failure to boot of the Linux kernel. In order to solve this problem as well as cover any corner c

Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-08-01 Thread Ziyuan Xu
Hi Tom, On 2016年08月02日 06:54, Tom Rini wrote: As part of testing booting Linux kernels on Rockchip devices, it was discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for some cases incomplete isb definitions. This was causing a failure to boot of the Linux kernel. In order t

Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-08-01 Thread Tom Rini
On Tue, Aug 02, 2016 at 08:37:19AM +0800, Ziyuan Xu wrote: > Hi Tom, > > > On 2016年08月02日 06:54, Tom Rini wrote: > >As part of testing booting Linux kernels on Rockchip devices, it was > >discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for > >some cases incomplete isb definit

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Keerthy
On Tuesday 02 August 2016 03:16 AM, Alexander Graf wrote: On 01 Aug 2016, at 11:07, Keerthy wrote: Hi Alexander, I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs which does not have LPAE support yet. Is it mandatory for LPAE to be enabled before enabling hype

Re: [U-Boot] Question on Enabling hypervisor mode in u-boot

2016-08-01 Thread Keerthy
On Monday 01 August 2016 11:11 PM, Andreas Färber wrote: Hi Keerthy, Am 01.08.2016 um 12:07 schrieb Keerthy: I am trying to enable hypervisor in u-boot for DRA7(A15 based) family of SoCs which does not have LPAE support yet. Is it mandatory for LPAE to be enabled before enabling hypervisor f

[U-Boot] [PATCH] configs: rk3399: add gpt and fs support

2016-08-01 Thread Kever Yang
To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang --- include/configs/rk3399_common.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/configs/rk3399_common.h b/include/c

[U-Boot] [PATCH 1/3] clock: rk3399: add support for dwmmc 400K

2016-08-01 Thread Kever Yang
MMC core will use 400KHz for card initialize first and then switch to higher frequency like 50MHz, we need to support both 400KHz and about 50MHz for dwmmc controller. Signed-off-by: Kever Yang --- drivers/clk/clk_rk3399.c | 29 + 1 file changed, 21 insertions(+), 8

Re: [U-Boot] [PATCH] configs: rk3399: add gpt and fs support

2016-08-01 Thread Kever Yang
On 08/02/2016 10:29 AM, Kever Yang wrote: To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang --- include/configs/rk3399_common.h | 19 +++ 1 file changed, 19 insertions(+) diff --gi

[U-Boot] [PATCH 0/3] rk3399: enable dwmmc controller for sdcard

2016-08-01 Thread Kever Yang
rk3399 using dwmmc controller for sdcard, let's enable it. this patch set has been test on rk3399 evb. Kever Yang (3): clock: rk3399: add support for dwmmc 400K dts: rk3399: enable dwmmc for sdcard config: rk3399: enable dwmmc controller arch/arm/dts/rk3399-evb.dts | 4 arch/a

Re: [U-Boot] [PATCH] configs: rk3399: add gpt and fs support

2016-08-01 Thread Ziyuan Xu
Hi kever, On 2016年08月02日 10:29, Kever Yang wrote: To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang --- include/configs/rk3399_common.h | 19 +++ 1 file changed, 19 insertions(+)

[U-Boot] [PATCH 3/3] config: rk3399: enable dwmmc controller

2016-08-01 Thread Kever Yang
Signed-off-by: Kever Yang --- configs/evb-rk3399_defconfig| 1 + include/configs/rk3399_common.h | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index 3f9b47e..18f6ae6 100644 --- a/configs/evb-rk3399_defconfig +++ b/configs/ev

Re: [U-Boot] [PATCH] configs: rk3399: add gpt and fs support

2016-08-01 Thread Ziyuan Xu
On 2016年08月02日 10:56, Ziyuan Xu wrote: Hi kever, On 2016年08月02日 10:29, Kever Yang wrote: To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang --- include/configs/rk3399_common.h | 19 +++

Re: [U-Boot] [PATCH] configs: rk3399: add gpt and fs support

2016-08-01 Thread Ziyuan Xu
On 2016年08月02日 10:56, Ziyuan Xu wrote: Hi kever, On 2016年08月02日 10:29, Kever Yang wrote: To compatible with distro boot, we need to add gpt and fs support, including gpt table and vfat, ext2, ext4 support. Signed-off-by: Kever Yang --- include/configs/rk3399_common.h | 19 +++

  1   2   >