Re: [U-Boot] [PATCH] common: Fix logic in fpga programming

2016-12-20 Thread Michal Simek
Dear Wolfgang, On 21.12.2016 00:19, Wolfgang Denk wrote: > Dear Michal, > > In message <0e8b363f-f84f-cea2-7784-8cc10e1e7...@xilinx.com> you wrote: >> >>> Good old U-Boot style says we print a message when we start an >>> operation, and then an OK / failed when done. When the system crashes >>>

[U-Boot] [PATCH RESEND v2 1/2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-12-20 Thread Vignesh R
According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit data interface writes until the last word of an indirect transfer otherwise indirect writes is known to fails sometimes. So, make sure that QSPI indirect writ

[U-Boot] [PATCH v2 2/2] spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible

2016-12-20 Thread Vignesh R
According to Section 11.15.4.9.1 Indirect Read Controller of K2G SoC TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit data interface reads until the last word of an indirect transfer So, make sure that QSPI indirect reads are 32 bit sized except for the final read. If the rxbu

Re: [U-Boot] [PATCH 10/10] arm: socfpga: arria10: Added Arria10 critical HW initialization to spl

2016-12-20 Thread Chee, Tien Fong
On Sel, 2016-12-20 at 09:17 -0600, Dinh Nguyen wrote: > > On 12/06/2016 02:11 AM, Chee Tien Fong wrote: > > > > From: Tien Fong Chee > > > > This patch adding the Arria10 critical hardware initialization > > before > > enabling console print out in spl. > > > > Signed-off-by: Tien Fong Chee >

Re: [U-Boot] [GIT PULL] Xilinx fixes

2016-12-20 Thread Tom Rini
On Tue, Dec 20, 2016 at 09:45:29AM +0100, Michal Simek wrote: > Hi Tom, > > here are minumum number of patches I would like to get to 2017.01. > It is fixing several issues > - multiple ethernet controllers. > - usb/sata together on zcu102 (by moving to DM) > - logic in fpga boot via bootm > - Fi

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

2016-12-20 Thread Tom Rini
On Tue, Dec 20, 2016 at 01:19:29AM -0700, Simon Glass wrote: > Hi Tom, > > Here is the binman tool as well as conversion of x86 and sunxi to use it. > > > The following changes since commit 0b4bc1b3ab1850fccbade3e6103f2036f6bdb364: > > Merge branch 'master' of git://git.denx.de/u-boot-spi (2

Re: [U-Boot] Please pull from u-boot-i2c

2016-12-20 Thread Tom Rini
On Tue, Dec 20, 2016 at 06:47:57AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit 0b4bc1b3ab1850fccbade3e6103f2036f6bdb364: > > Merge branch 'master' of git://git.denx.de/u-boot-spi (2016-12-16 18:32:43 > -0500) >

Re: [U-Boot] [PATCH] common: Fix logic in fpga programming

2016-12-20 Thread Wolfgang Denk
Dear Michal, In message <0e8b363f-f84f-cea2-7784-8cc10e1e7...@xilinx.com> you wrote: > > > Good old U-Boot style says we print a message when we start an > > operation, and then an OK / failed when done. When the system crashes > > in this command, you can see at last where it crashed, i. e. what

Re: [U-Boot] [PATCH] common: Fix logic in fpga programming

2016-12-20 Thread Michal Simek
On 20.12.2016 18:30, Wolfgang Denk wrote: > Dear Michal... > > In message > <1e029d3a67722c20d8b6194d3388efe5ca92f5bf.1481881501.git.michal.si...@xilinx.com> > you wrote: >> Stop boot process if fpga programming fails. >> >> Signed-off-by: Michal Simek >> --- >> >> common/image.c | 7 +++ >

Re: [U-Boot] [PATCH v2] powerpc: Retain compatible property for L2 cache

2016-12-20 Thread york sun
On 12/02/2016 12:22 AM, Chris Packham wrote: > When setting the compatible property for the L2 cache ensure that we > follow the documented binding by setting both > "-l2-cache-controller" and "cache" as values. > > Signed-off-by: Chris Packham > --- > > Changes in v2: > - extract a helper functio

Re: [U-Boot] [PATCH] common: Fix logic in fpga programming

2016-12-20 Thread Wolfgang Denk
Dear Michal... In message <1e029d3a67722c20d8b6194d3388efe5ca92f5bf.1481881501.git.michal.si...@xilinx.com> you wrote: > Stop boot process if fpga programming fails. > > Signed-off-by: Michal Simek > --- > > common/image.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > d

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Update MC memory allocation code

2016-12-20 Thread york sun
On 12/19/2016 10:57 PM, Priyanka Jain wrote: > > >> -Original Message- >> From: york sun >> Sent: Monday, December 19, 2016 10:43 PM >> To: Priyanka Jain ; u-boot@lists.denx.de >> Subject: Re: [PATCH] driver: net: fsl-mc: Update MC memory allocation code >> >> On 12/18/2016 09:11 PM, Priyan

[U-Boot] Please pull u-boot-mpc85xx master

2016-12-20 Thread york sun
Tom, The following changes since commit 0b4bc1b3ab1850fccbade3e6103f2036f6bdb364: Merge branch 'master' of git://git.denx.de/u-boot-spi (2016-12-16 18:32:43 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git for you to fetch changes up to 01b25d42c157e91

[U-Boot] [PATCH v2 1/2] Convert CONFIG_SPL_RAM_DEVICE to defconfig

2016-12-20 Thread Stefan Agner
From: Stefan Agner This converts the following to Kconfig: CONFIG_SPL_RAM_DEVICE Signed-off-by: Stefan Agner --- Changes in v2: None common/spl/Kconfig | 8 configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/card

[U-Boot] [PATCH v2 2/2] spl: move RAM boot support in separate file

2016-12-20 Thread Stefan Agner
From: Stefan Agner Add a new top-level config option so support booting an image stored in RAM. This allows to move the RAM boot support into a sparate file and having a single condition to compile that file. Signed-off-by: Stefan Agner --- The series has been build tested using buildman. $ ./

[U-Boot] Fixed - Re: Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Robert Moskowitz
uboot on F26 works: U-Boot 2016.11 (Nov 29 2016 - 23:22:13 +) Allwinner Technology See end for full console boot log On 12/20/2016 10:21 AM, Robert Moskowitz wrote: On 12/20/2016 09:58 AM, Jagan Teki wrote: On Tue, Dec 20, 2016 at 3:55 PM, Robert Moskowitz wrote: On 12/20/2016 09:14

Re: [U-Boot] FIT Image Crashing

2016-12-20 Thread Jagan Teki
On Mon, Dec 19, 2016 at 10:23 PM, Kipper, Matthew wrote: > Hi all, > > I'm working on a Zynq-7000 system that currently performs a "legacy" boot - > the kernel, device tree and initramfs are loaded independently into RAM, and > then they're all loaded by passing their addresses into 'bootm'. I'd

[U-Boot] Accessing nested device tree nodes via phandle

2016-12-20 Thread Vlad Zakharov
Hi everybody,  I am working on reorganization of device trees for ARC boards in U-Boot in order to create a common device tree blob for both Linux and U-Boot. And I've struggled with a kind of problem and need some help. On AXS10x motherboard clocks for various peripherals are managed by one h

Re: [U-Boot] [PATCH v2 1/5] arm: tegra: initial support for apalis tk1

2016-12-20 Thread Tom Warren
Marcel, > -Original Message- > From: Marcel Ziswiler [mailto:mar...@ziswiler.com] > Sent: Monday, December 19, 2016 6:11 PM > To: Tom Warren ; u-boot@lists.denx.de > Cc: Max Krummenacher ; Stefan Agner > ; Heiko Schocher ; Simon Glass > ; Masahiro Yamada ; > York Sun ; Lokesh Vutla ; Ian >

Re: [U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Robert Moskowitz
On 12/20/2016 09:58 AM, Jagan Teki wrote: On Tue, Dec 20, 2016 at 3:55 PM, Robert Moskowitz wrote: On 12/20/2016 09:14 AM, Jagan Teki wrote: On Tue, Dec 20, 2016 at 2:41 PM, Robert Moskowitz wrote: Dear listers, It has been over a year since I have built a new system and tried to set up

Re: [U-Boot] [PATCH 10/10] arm: socfpga: arria10: Added Arria10 critical HW initialization to spl

2016-12-20 Thread Dinh Nguyen
On 12/06/2016 02:11 AM, Chee Tien Fong wrote: From: Tien Fong Chee This patch adding the Arria10 critical hardware initialization before enabling console print out in spl. Signed-off-by: Tien Fong Chee Cc: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See Cc: Tien Fong --- arch/arm/mach-s

[U-Boot] [PATCH v2 1/2] libfdt: Correct fdt handling of overlays without fixups and base trees without symbols

2016-12-20 Thread Stefan Agner
From: David Gibson The fdt_overlay_apply() function purports to support the edge cases where an overlay has no fixups to be applied, or a base tree which has no symbols (the latter can only work if the former is also true). However it gets it wrong in a couple of small ways: * In the no fixup

Re: [U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Jagan Teki
On Tue, Dec 20, 2016 at 3:55 PM, Robert Moskowitz wrote: > > > On 12/20/2016 09:14 AM, Jagan Teki wrote: >> >> On Tue, Dec 20, 2016 at 2:41 PM, Robert Moskowitz >> wrote: >>> >>> Dear listers, >>> >>> It has been over a year since I have built a new system and tried to set >>> up >>> to boot from

Re: [U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Robert Moskowitz
On 12/20/2016 09:58 AM, Jagan Teki wrote: On Tue, Dec 20, 2016 at 3:55 PM, Robert Moskowitz wrote: On 12/20/2016 09:14 AM, Jagan Teki wrote: On Tue, Dec 20, 2016 at 2:41 PM, Robert Moskowitz wrote: Dear listers, It has been over a year since I have built a new system and tried to set up

Re: [U-Boot] [PATCH] sunxi: fix SID read on H3

2016-12-20 Thread Jagan Teki
On Tue, Dec 20, 2016 at 9:12 AM, Maxime Ripard wrote: > On Tue, Dec 20, 2016 at 02:03:36AM +0800, Icenowy Zheng wrote: >> H3 SID controller has some bug, which makes the initial SID value at >> SUNXI_SID_BASE wrong when boot. >> >> Change the SID retrieve code to call the SID Controller directly o

[U-Boot] [PATCH v2 2/2] cmd: fdt: Print error message when fdt application fails

2016-12-20 Thread Stefan Agner
From: Stefan Agner There are lots of reason why a FDT application might fail, the error code might give an indication. Let the error code translate in a error string so users can try to understand what went wrong. Signed-off-by: Stefan Agner Acked-by: Maxime Ripard Acked-by: Simon Glass --- C

Re: [U-Boot] [PATCH 1/2] sunxi: add proper device tree for Orange Pi Zero boards

2016-12-20 Thread Jagan Teki
On Mon, Dec 19, 2016 at 6:20 PM, Jagan Teki wrote: > On Mon, Dec 19, 2016 at 5:23 PM, Icenowy Zheng wrote: >> >> >> 16.12.2016, 22:52, "Jagan Teki" : >>> On Fri, Dec 16, 2016 at 3:35 PM, Icenowy Zheng wrote: Add a proper device tree file for Orange Pi Zero boards from Xunlong, which

Re: [U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Robert Moskowitz
On 12/20/2016 09:14 AM, Jagan Teki wrote: On Tue, Dec 20, 2016 at 2:41 PM, Robert Moskowitz wrote: Dear listers, It has been over a year since I have built a new system and tried to set up to boot from sata. What I did in the past was to use a small mSD card with only the uboot bin and no p

Re: [U-Boot] [PATCH 2/2] sunxi: add orangepi zero defconfig

2016-12-20 Thread Jagan Teki
On Fri, Dec 16, 2016 at 3:52 PM, Jagan Teki wrote: > On Fri, Dec 16, 2016 at 3:35 PM, Icenowy Zheng wrote: >> Orange Pi Zero is a board designed by Xunlong. It has an Allwinner H2+ >> SoC (similar to H3, which shares the same SoC ID), 256MB/512MB RAM, >> Allwinner XR819 SDIO Wi-Fi, a MicroUSB por

Re: [U-Boot] [PATCH 10/10] arm: socfpga: arria10: Added Arria10 critical HW initialization to spl

2016-12-20 Thread Dinh Nguyen
On 12/18/2016 10:15 PM, Chee, Tien Fong wrote: On Sel, 2016-12-06 at 16:11 +0800, Chee Tien Fong wrote: From: Tien Fong Chee This patch adding the Arria10 critical hardware initialization before enabling console print out in spl. Signed-off-by: Tien Fong Chee Cc: Marek Vasut Cc: Dinh Nguy

Re: [U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Jagan Teki
On Tue, Dec 20, 2016 at 2:41 PM, Robert Moskowitz wrote: > Dear listers, > > It has been over a year since I have built a new system and tried to set up > to boot from sata. > > What I did in the past was to use a small mSD card with only the uboot bin > and no partitions. > > All my partitions fo

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-12-20 Thread Michal Simek
Hi Mugunthan, 2016-04-12 12:34 GMT+02:00 Mugunthan V N : > Hi Simon > > On Monday 11 April 2016 08:27 PM, Simon Glass wrote: > > Hi Mugunthan, > > > > On 11 April 2016 at 08:52, Mugunthan V N wrote: > >> On Monday 11 April 2016 05:50 PM, Simon Glass wrote: > >>> +Mugunthan, who seems to have bee

[U-Boot] Cubieboard2 uboot 2016.09.01 not supporting booting from sata

2016-12-20 Thread Robert Moskowitz
Dear listers, It has been over a year since I have built a new system and tried to set up to boot from sata. What I did in the past was to use a small mSD card with only the uboot bin and no partitions. All my partitions for either Fedrora25 or Centos7 are on the sata. I should boot up, th

Re: [U-Boot] [PATCH v3 16/26] sunxi: H3: add DRAM controller single bit delay support

2016-12-20 Thread Maxime Ripard
On Mon, Dec 19, 2016 at 10:53:32AM +, Andre Przywara wrote: > Hi, > > On 19/12/16 09:57, Maxime Ripard wrote: > > On Mon, Dec 19, 2016 at 01:50:06AM +, Andre Przywara wrote: > >> From: Jens Kuske > >> > >> So far the DRAM driver for the H3 SoC (and apparently boot0/libdram as > >> well) o

Re: [U-Boot] [PATCH 1/3] ARM: revive CONFIG_USE_ARCH_MEMCPY/MEMSET for UniPhier and Tegra

2016-12-20 Thread Tom Rini
On Tue, Dec 20, 2016 at 01:39:40PM +0900, Masahiro Yamada wrote: > 2016-12-20 6:59 GMT+09:00 Tom Rini : > > On Mon, Dec 19, 2016 at 07:31:02PM +0900, Masahiro Yamada wrote: > >> Commit be72591bcd64 ("Kconfig: Move USE_ARCH_MEMCPY/MEMSET to > >> Kconfig") is misconversion. > >> > >> The original log

Re: [U-Boot] [PATCH 2/2] spl: move RAM boot support in separate file

2016-12-20 Thread Stefan Agner
On 2016-12-16 06:08, Stefan Roese wrote: > On 16.12.2016 03:00, Stefan Agner wrote: >> From: Stefan Agner >> >> Add a new top-level config option so support booting an image stored >> in RAM. This allows to move the RAM boot support into a sparate file >> and having a single condition to compile t

Re: [U-Boot] [PATCH] tools: mkimage: Call fclose in error path

2016-12-20 Thread Michal Simek
On 20.12.2016 12:01, Ladislav Michl wrote: > Hi Michal, > > On Tue, Dec 20, 2016 at 09:58:31AM +0100, Michal Simek wrote: >> This patch is fixing missing fclose() calls >> in error patch introduced by: >> "tools: mkimage: Use fstat instead of stat to avoid malicious hacks" >> (sha1: ebe0f53f48e8f9

Re: [U-Boot] [linux-sunxi] Problems to Allwinner H3's eFUSE/SID

2016-12-20 Thread Bernhard Nortmann
Hi all! This is rather interesting stuff. Actually it's possible to find partial documentation for this method (of reading SID/efuse values) even for older SoCs. There's an early version of the A20 User Manual (Revision 1.0 - Feb. 18, 2013) available on the net, where chapter 1.18 describes the r

Re: [U-Boot] [PATCH] tools: mkimage: Call fclose in error path

2016-12-20 Thread Ladislav Michl
Hi Michal, On Tue, Dec 20, 2016 at 09:58:31AM +0100, Michal Simek wrote: > This patch is fixing missing fclose() calls > in error patch introduced by: > "tools: mkimage: Use fstat instead of stat to avoid malicious hacks" > (sha1: ebe0f53f48e8f9ecc823e533a85b05c13638c350) > > Reported-by: Coverit

Re: [U-Boot] [PATCH v3 19/26] sunxi: H3/A64: fix non-ODT setting

2016-12-20 Thread Maxime Ripard
On Mon, Dec 19, 2016 at 03:32:31PM +0100, Jens Kuske wrote: > On 19.12.2016 11:33, Andre Przywara wrote: > > Hi, > > > > On 19/12/16 10:01, Maxime Ripard wrote: > >> On Mon, Dec 19, 2016 at 01:50:09AM +, Andre Przywara wrote: > >>> According to Jens disabling the on-die-termination should set

Re: [U-Boot] [linux-sunxi] Re: [RFC PATCH 0/3] sunxi: video: Add support for HDMI output on H3

2016-12-20 Thread Maxime Ripard
Hi, On Wed, Dec 14, 2016 at 11:37:38AM +0200, Alexander Graf wrote: > > > > Am 14.12.2016 um 11:25 schrieb Maxime Ripard > > : > > > >> On Wed, Dec 14, 2016 at 11:02:33AM +0800, Chen-Yu Tsai wrote: > >>> On Wed, Dec 14, 2016 at 5:16 AM, Icenowy Zheng wrote: > >>> > >>> > >>> 14.12.2016, 04:

[U-Boot] [PATCH] tools: mkimage: Call fclose in error path

2016-12-20 Thread Michal Simek
This patch is fixing missing fclose() calls in error patch introduced by: "tools: mkimage: Use fstat instead of stat to avoid malicious hacks" (sha1: ebe0f53f48e8f9ecc823e533a85b05c13638c350) Reported-by: Coverity (CID: 155064, 155065) Signed-off-by: Michal Simek --- tools/zynqimage.c | 8 +++

[U-Boot] [GIT PULL] Xilinx fixes

2016-12-20 Thread Michal Simek
Hi Tom, here are minumum number of patches I would like to get to 2017.01. It is fixing several issues - multiple ethernet controllers. - usb/sata together on zcu102 (by moving to DM) - logic in fpga boot via bootm - Fix ddr init code leaking for zynq and zynqmp - two trivial changes - empty lin

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Update MC memory allocation code

2016-12-20 Thread Priyanka Jain
> -Original Message- > From: york sun > Sent: Monday, December 19, 2016 10:43 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Subject: Re: [PATCH] driver: net: fsl-mc: Update MC memory allocation code > > On 12/18/2016 09:11 PM, Priyanka Jain wrote: > > Firmware of Management Complex (MC

Re: [U-Boot] [PATCH] rockchip: Fix veyron-minnie's Kconfig description

2016-12-20 Thread Simon Glass
On 17 December 2016 at 18:40, Martin Michlmayr wrote: > The veyron-minnie Kconfig referred to jerry by mistake. > > Signed-off-by: Martin Michlmayr > --- > arch/arm/mach-rockchip/rk3288/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass __

Re: [U-Boot] Problem: the build does not recurse into subdirectory

2016-12-20 Thread Simon Glass
Hi Maxim, On 19 December 2016 at 10:52, Maxim Sloyko wrote: > On Sat, Dec 17, 2016 at 2:46 PM, Simon Glass wrote: >> Hi Maxim, >> >> On 16 December 2016 at 17:18, Maxim Sloyko wrote: >>> Greetings, >>> >>> I'm working on adding new platform to U-Boot and right now I'm trying >>> to clean up the

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

2016-12-20 Thread Simon Glass
Hi Tom, Here is the binman tool as well as conversion of x86 and sunxi to use it. The following changes since commit 0b4bc1b3ab1850fccbade3e6103f2036f6bdb364: Merge branch 'master' of git://git.denx.de/u-boot-spi (2016-12-16 18:32:43 -0500) are available in the git repository at: git://gi

Re: [U-Boot] [PATCH] sunxi: fix SID read on H3

2016-12-20 Thread Maxime Ripard
On Tue, Dec 20, 2016 at 02:03:36AM +0800, Icenowy Zheng wrote: > H3 SID controller has some bug, which makes the initial SID value at > SUNXI_SID_BASE wrong when boot. > > Change the SID retrieve code to call the SID Controller directly on H3, > which can get the correct value, and also fix the SI

[U-Boot] Targets for BeagleBones

2016-12-20 Thread Kristian Amlie
I assume that the most appropriate configuration target for BeagleBone Black is am335x_boneblack_config. But what about BeagleBone White? Up until now we've been using am335x_evm_config, but are considering switching to the former. This discussion started after the commit 80b24fcd3 in U-Boot broke