[U-Boot] [PATCH 05/16] ARM: zynq: Fix bootargs in board dtsi

2016-04-07 Thread Michal Simek
- Sync with Linux kernel - Remove rootfs - Remove earlyprintk Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 2 +- arch/arm/dts/zynq-zc706.dts | 2 +- arch/arm/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/dts/zynq-zc770-xm012.dts

[U-Boot] [PATCH 07/16] ARM: zynq: zc702: Add adv7511 on i2c bus

2016-04-07 Thread Michal Simek
From: Christian Kohn Add bindings for adv7511. Signed-off-by: Christian Kohn Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index ee050aa12faf..8ad1db28

[U-Boot] [PATCH 10/16] ARM: zynq: Create empty line below headers

2016-04-07 Thread Michal Simek
Sync with others zynq DTS files. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm011.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynq-zc770-xm011.dts b/arch/arm/dts/zynq-zc770-xm011.dts index 858d0e2bc25e..463b14b5ea15 100644 --- a/arch/arm/dts/zynq-zc770-xm0

[U-Boot] [PATCH 08/16] ARM: zynq: zc706: Add adv7511 on i2c bus

2016-04-07 Thread Michal Simek
From: Christian Kohn Add missing adv7511 and configure to match Base TRD. Signed-off-by: Christian Kohn Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc706.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/zynq-zc706.dts b/arch/arm/dts/zynq-zc706.dts i

[U-Boot] [PATCH 09/16] ARM: zynq: Align spi and qspi node locations

2016-04-07 Thread Michal Simek
Keep nodes alphabelitally sorted. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 10 +- arch/arm/dts/zynq-zc706.dts | 10 +- arch/arm/dts/zynq-zc770-xm010.dts | 42 +++ arch/arm/dts/zynq-zed.dts | 6 +++---

[U-Boot] [PATCH 12/16] ARM: zynq: Extend microzed board support

2016-04-07 Thread Michal Simek
Add missing DT nodes and enable USB. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-microzed.dts | 38 +- configs/zynq_microzed_defconfig | 4 include/configs/zynq_microzed.h | 2 ++ 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/ar

[U-Boot] [PATCH 11/16] ARM: zynq: Add missing qspi for xm013

2016-04-07 Thread Michal Simek
Add missing qspi node and make qspi as spi0. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm013.dts | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-xm013.dts index 40a3601d22c4..d5bb4efcc58a 100644

[U-Boot] [PATCH 13/16] ARM: zynq: Fix usb phy node for Zybo

2016-04-07 Thread Michal Simek
Compatible property should be the first. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zybo.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynq-zybo.dts b/arch/arm/dts/zynq-zybo.dts index f32923f5d25d..f8dcf1d6995c 100644 --- a/arch/arm/dts/zynq-zybo.dt

[U-Boot] [PATCH 14/16] ARM: zynq: Use memory initialization based on DTS file

2016-04-07 Thread Michal Simek
Remove hardcoded memory sizes. Use information from DT memory node. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index d8e3fa4e5a44..aac1

[U-Boot] [PATCH 16/16] ARM: zynq: Do not perform reset at the end of thor

2016-04-07 Thread Michal Simek
Setup reset off for lthor. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 2d941a7192c5..c96b9c52500f 100644 --- a/include/configs/zynq-common.h +++ b/include/co

[U-Boot] [PATCH 15/16] ARM: zynq: Support systems with more memory banks

2016-04-07 Thread Michal Simek
This is example how to change u-boot to support more memory banks read from DT. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 132 ++ include/configs/zynq-common.h | 4 +- 2 files changed, 123 insertions(+), 13 deletions(-) diff --git

[U-Boot] [PATCH 01/33] ARM64: zynqmp: Move kernel and fdt offsets and sizes to board config file

2016-04-07 Thread Michal Simek
From: Siva Durga Prasad Paladugu Move kernel and fdt offsets and sizes to board config file as the flash size varies across boards Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h| 3 +-- include/configs/xilinx_zynqmp_ep.h | 7

[U-Boot] [PATCH 03/33] ARM64: zynqmp: Add missing mmc aliases

2016-04-07 Thread Michal Simek
Add missing mmc aliases. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts index d952de189f3a..f34555a0a44a 100644 --- a/arch/arm/dts/zynqmp-ep108.dts +++ b/arch/arm/d

[U-Boot] [PATCH 02/33] ARM64: zynqmp: Use C pre-processor for includes in dts

2016-04-07 Thread Michal Simek
From: Alistair Francis Change the dtsi include code to use the C pre-processor #include instead of the device tree /include/. This brings all ZynqMP device trees inline with each other. Signed-off-by: Alistair Francis Reviewed-by: Sören Brinkmann Signed-off-by: Michal Simek --- arch/arm/dts

[U-Boot] [PATCH 04/33] ARM64: zynqmp: dt: Change qspi node compatible string

2016-04-07 Thread Michal Simek
From: Ranjit Waghmode This patch makes compatible string as "m25p80" for qspi node in ep108 device tree file Signed-off-by: Ranjit Waghmode Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-ep

[U-Boot] [PATCH 05/33] ARM64: zynqmp: Add 8-bit bus width property.

2016-04-07 Thread Michal Simek
From: P L Sai Krishna This patch add 8-bit bus width property to eMMC node. Signed-off-by: P L Sai Krishna Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts index b6d

[U-Boot] [PATCH 08/33] ARM64: zynqmp: Sync GEM nodes with Linux

2016-04-07 Thread Michal Simek
Remove jumbo properties which are handled in the driver directly and use mainline compatible string which is already handled by the driver. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts

[U-Boot] [PATCH 09/33] ARM64: zynqmp: Added broken-tuning property to SD, eMMC nodes

2016-04-07 Thread Michal Simek
From: P L Sai Krishna This patch adds broken-tuning property to SD and eMMC nodes. Signed-off-by: P L Sai Krishna Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 7ac21f2f8

[U-Boot] [PATCH 07/33] ARM64: zynqmp: Hook up the GEMs to the SMMU

2016-04-07 Thread Michal Simek
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 4cfecec85a75..66abe6fe0bcf 100644 --- a/arch/arm/dts/zynqmp

[U-Boot] [PATCH 13/33] ARM64: zynqmp: Added clocks to DT

2016-04-07 Thread Michal Simek
From: VNSL Durga ZynqMP DMA's main clock and apb clock are added in zynqmp DT. Signed-off-by: VNSL Durga Signed-off-by: Michal Simek Acked-by: Punnaiah Choudary Kalluri --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/a

[U-Boot] [PATCH 10/33] ARM64: zynqmp: DT: Add power domains

2016-04-07 Thread Michal Simek
From: Soren Brinkmann Add power-domains to the DT and attach devices to them. The power-domains are all logical domains as understood by firmware. Each PD is identified by a unique identifier that the platform firmware understands. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 06/33] ARM64: zynqmp: Correct IRQ nr for the SMMU

2016-04-07 Thread Michal Simek
From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 8733604a5738..4cfecec85a75 100644 --- a/

[U-Boot] [PATCH 11/33] ARM64: zynqmp: Add missing interrupt-parent to PMU node

2016-04-07 Thread Michal Simek
ZynqMP is not using global interrupt-parent setting that's why it has to be listed in every node separately. PMU node missed it and this patch is adding it. Reported-by: John Linn Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/

[U-Boot] [PATCH 14/33] ARM64: zynqmp: Add ddrc node in dts

2016-04-07 Thread Michal Simek
From: Naga Sureshkumar Relli This patch adds ddrc memory controller node in dts. size mentioned in dts is 0x3, because we need to access DDR_QOS INTR registers located at fd090208 from this driver. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.

[U-Boot] [PATCH 12/33] ARM64: zynqmp: Add CCI-400 node

2016-04-07 Thread Michal Simek
Add CCI-400 node to DTSI. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index a09bbbfa4373..48505fa6daff 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/d

[U-Boot] [PATCH 15/33] ARM64: zynqmp: Add interrupt-controller property to gpio nodes

2016-04-07 Thread Michal Simek
GPIO driver supports an input interrupt that's why gpio node itself can be labeled as interrupt controller. Reported-by: John Linn Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi

[U-Boot] [PATCH 02/16] ARM: dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.

2016-04-07 Thread Michal Simek
From: Moritz Fischer Signed-off-by: Moritz Fischer Signed-off-by: Olof Johansson Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index a352bc87114e..55eae614630a 1

[U-Boot] [PATCH 18/33] ARM64: zynqmp: Add backward compatible string for uart

2016-04-07 Thread Michal Simek
Mainline kernel has no r1p12 compatible string that's why console stops to work with the latest DTS files. Append generic compatible string. Keep in your mind that using this generic compatible string not all uart features will be available. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.d

[U-Boot] [PATCH 16/33] ARM64: zynqmp: Extend pcie node to support legacy interrupts

2016-04-07 Thread Michal Simek
From: Bharat Kumar Gogada Modifying device tree node to support legacy interrupts. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/zyn

[U-Boot] [PATCH 17/33] ARM64: zynqmp: Fix coding style for pcie

2016-04-07 Thread Michal Simek
Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index ec6fc6a66841..98c07dcc8d6e 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -619,1

[U-Boot] [PATCH 19/33] ARM64: zynqmp: Align node address with parent node for dpdma

2016-04-07 Thread Michal Simek
Use right addresses for channel names Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index f9249aa7b076..2690aa2afa26 100644 --- a/arch/arm/dts/zynqmp.d

[U-Boot] [PATCH 20/33] ARM64: zynqmp: Use correct addresses in node names

2016-04-07 Thread Michal Simek
From: Hyun Kwon Reflect actual silicon addresses in DT node names. Signed-off-by: Hyun Kwon Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 2690aa2afa26.

[U-Boot] [PATCH 21/33] ARM64: zynqmp: dp: Add default properties to zynqmp.dtsi

2016-04-07 Thread Michal Simek
From: Hyun Kwon Add some default properties to zynqmp.dtsi. Signed-off-by: Hyun Kwon Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 5001ccc8d8f0..a1804b8da31d 100644 ---

[U-Boot] [PATCH 25/33] ARM64: zynqmp: Use 64bit size cell format for memory node

2016-04-07 Thread Michal Simek
Enable option to support more then 4GB memories in single size block. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 2 +- arch/arm/dts/zynqmp.dtsi | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqm

[U-Boot] [PATCH 23/33] ARM64: zynqmp: Add serdes address space dp driver

2016-04-07 Thread Michal Simek
For run time serdes adjustment. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index e2f7b53858a3..324d71b98902 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/ar

[U-Boot] [PATCH 22/33] ARM64: zynqmp: Align register description

2016-04-07 Thread Michal Simek
Separate register space and put it on more lines. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index a1804b8da31d..e2f7b53858a3 100644 --- a/arch/arm/dts/zy

[U-Boot] [PATCH 24/33] ARM64: zynqmp: Fix DWC3 binding with the kernel

2016-04-07 Thread Michal Simek
Use the same binding as is used in mainline Linux kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 10 ++ arch/arm/dts/zynqmp.dtsi | 42 -- 2 files changed, 42 insertions(+), 10 deletions(-) diff --git a/arch/arm/dts/z

[U-Boot] [PATCH 27/33] ARM64: zynqmp: Add missing nand node for ep108

2016-04-07 Thread Michal Simek
From: Punnaiah Choudary Kalluri Add missing nand node for ep108. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108-clk.dtsi | 4 arch/arm/dts/zynqmp-ep108.dts | 31 +++ 2 files changed, 35 insertions(+)

[U-Boot] [PATCH 28/33] ARM64: zynqmp: Do not setup DM_ETH/GPIO/MMC by default for all boards

2016-04-07 Thread Michal Simek
There are mini configurations which need to be fit to OCM that's why these options shouldn't be enabled by default. Signed-off-by: Michal Simek --- arch/arm/Kconfig | 2 -- configs/xilinx_zynqmp_ep_defconfig | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 26/33] ARM64: zynqmp: Added OOB timing settings in zynqmp-ep108.dts

2016-04-07 Thread Michal Simek
From: Anurag Kumar Vulisha This patch adds the sata port phy OOB timing values in the sata device-tree node. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/zynqmp-ep10

[U-Boot] [PATCH 29/33] ARM64: zynqmp: Extend early malloc space to be able to run DM drivers

2016-04-07 Thread Michal Simek
DM drivers need more malloc space for early DM models allocation. Use 4k instead of 1k. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_ep_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig index c6e75d444

[U-Boot] [PATCH 30/33] ARM64: zynqmp: Make DDR detection code work on 32bit system

2016-04-07 Thread Michal Simek
Define u64 types to be usable on 32bit system because of 64bit address and size cells and 32bit shifts in the code. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/

[U-Boot] [PATCH 32/33] ARM64: zynqmp: Add support for zc1751 with DC cards

2016-04-07 Thread Michal Simek
Support ZynqMP zc1751 with DC cards. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile| 5 +- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 211 arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 236 +++ arch/arm/d

[U-Boot] [PATCH 31/33] ARM64: zynqmp: Add support for ZCU102 platform

2016-04-07 Thread Michal Simek
Add new board support. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 4 +- arch/arm/dts/zynqmp-clk.dtsi | 202 +++ arch/arm/dts/zynqmp-zcu102-revB.dts| 42 +++ arch/arm/dts/zynqmp-zcu102.dts | 630 + con

[U-Boot] [PATCH 33/33] ARM64: zynqmp: Clean header after moving stuff to Kconfig

2016-04-07 Thread Michal Simek
Moving stuff to Kconfig by script is keep some empty lines or comment in the file. Remove them. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index a60325517

[U-Boot] [RFC PATCH] powerpc: Disable flush or invalidate dcache by range for some SoCs

2016-04-07 Thread York Sun
Commit ac337168a unified functions to flush and invalidate dcache by range. These two functions were no-op for SoCs other than 4xx and MPC86xx. Adding these functions seemed to be correct but introduced issues when the dcache is flushed. While the root cause is under investigation, disable these fu

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Steve Rae
Hi Sam, On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko wrote: > On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski > wrote: > > Hi Steve, > > > >> No -- I do not believe that this issue is caused by different fastboot > >> (client) versions (the executable that runs on the host computer - > >> Lin

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-04-07 Thread Tim Chick
Please see below: > > > Hi Tim, > > 2016-04-05 0:16 GMT+09:00 Tim Chick : >> Hi Masahiro, >> >> This patch breaks the debug_uart on my MIPS board. It means printascii now >> uses the stack, and my board does not have a stack when debug_uart_init is >> called. debug_uart_init calls printascii

Re: [U-Boot] [PATCH] debug_uart: output CR along with LF

2016-04-07 Thread Tim Chick
Sorry for top posting. Not in the office at the moment. Yes, I call debug_uart_init() before I have SDRAM, in lowlevel_init(). I need the debug uart to help me debug lowlevel_init! Thanks, Tim -Original Message- From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com] Sent: 07 A

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Marek Vasut
On 04/07/2016 06:46 PM, Sam Protsenko wrote: > On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski > wrote: >> Hi Steve, >> >>> No -- I do not believe that this issue is caused by different fastboot >>> (client) versions (the executable that runs on the host computer - >>> Linux, Windows, Mac, etc.)

[U-Boot] Potential memory corruption in drivers/net/sh_eth.c ?

2016-04-07 Thread Wolfgang Denk
Dear Nobuhiro, while tracking down a memory corruption bug in other code, I ran over these lines in drivers/net/sh_eth.c : ... 194 /* 195 * Allocate rx descriptors. They must be aligned to size of struct 196 * tx_desc_s. 197 */ 198 port_info->tx_desc_al

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread Marek Vasut
On 04/07/2016 03:14 PM, George Broz wrote: > On 6 April 2016 at 19:05, Marek Vasut wrote: >> On 04/07/2016 03:42 AM, George Broz wrote: >> >> Hi, >> > U-Boot SPL 2016.03 (Apr 05 2016 - 17:57:23) > drivers/ddr/altera/sequencer.c: Preparing to start memory calibration > drivers/ddr/alter

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Sam Protsenko
On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae wrote: > Hi Sam, > > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko > wrote: >> >> On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski >> wrote: >> > Hi Steve, >> > >> >> No -- I do not believe that this issue is caused by different fastboot >> >> (client) v

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Steve Rae
On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko wrote: > On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae wrote: > > Hi Sam, > > > > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko < > semen.protse...@linaro.org> > > wrote: > >> > >> On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski < > l.majew...@samsung.c

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Sam Protsenko
On Fri, Apr 8, 2016 at 12:39 AM, Steve Rae wrote: > > > On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko > wrote: >> >> On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae wrote: >> > Hi Sam, >> > >> > On Thu, Apr 7, 2016 at 9:46 AM, Sam Protsenko >> > >> > wrote: >> >> >> >> On Thu, Apr 7, 2016 at 10:36 AM

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Steve Rae
On Thu, Apr 7, 2016 at 4:11 PM, Sam Protsenko wrote: > On Fri, Apr 8, 2016 at 12:39 AM, Steve Rae wrote: > > > > > > On Thu, Apr 7, 2016 at 2:16 PM, Sam Protsenko < > semen.protse...@linaro.org> > > wrote: > >> > >> On Thu, Apr 7, 2016 at 8:07 PM, Steve Rae > wrote: > >> > Hi Sam, > >> > > >> >

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread George Broz
On 7 April 2016 at 13:39, Marek Vasut wrote: > On 04/07/2016 03:14 PM, George Broz wrote: >> On 6 April 2016 at 19:05, Marek Vasut wrote: >>> On 04/07/2016 03:42 AM, George Broz wrote: >>> >>> Hi, >>> >> U-Boot SPL 2016.03 (Apr 05 2016 - 17:57:23) >> drivers/ddr/altera/sequencer.c: Prepar

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread Marek Vasut
On 04/08/2016 01:31 AM, George Broz wrote: > On 7 April 2016 at 13:39, Marek Vasut wrote: >> On 04/07/2016 03:14 PM, George Broz wrote: >>> On 6 April 2016 at 19:05, Marek Vasut wrote: On 04/07/2016 03:42 AM, George Broz wrote: Hi, >>> U-Boot SPL 2016.03 (Apr 05 2016 - 17:

[U-Boot] [PATCH] USB: g_dnl: Change device class

2016-04-07 Thread John Tobias
The USB Mass Storage (ums) works in Windows, Linux and OS X (EL Capitan). But, not in OS X (Yosemite). By applying the said patch, it extends the ums support. Signed-off-by: John Tobias --- drivers/usb/gadget/g_dnl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread George Broz
On 7 April 2016 at 16:36, Marek Vasut wrote: > On 04/08/2016 01:31 AM, George Broz wrote: >> On 7 April 2016 at 13:39, Marek Vasut wrote: >>> On 04/07/2016 03:14 PM, George Broz wrote: On 6 April 2016 at 19:05, Marek Vasut wrote: > On 04/07/2016 03:42 AM, George Broz wrote: > >

[U-Boot] [PATCH] odroid: Update README with correct firmware link and XU4 support

2016-04-07 Thread Shawn Guo
The firmware from link [1] only works with U-Boot image that is no bigger than 328KiB. Using it with the default mainline U-Boot today which is already around 500KiB is just not working. Correct the link to be hardkernel_1mb_uboot one [2], so that users can get mainline U-Boot work out of box. W

Re: [U-Boot] [PATCH 08/16] ARM: zynq: zc706: Add adv7511 on i2c bus

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > From: Christian Kohn > > Add missing adv7511 and configure to match Base TRD. > > Signed-off-by: Christian Kohn > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-zc706.dts | 15 +++ > 1 file

Re: [U-Boot] [PATCH 09/16] ARM: zynq: Align spi and qspi node locations

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > Keep nodes alphabelitally sorted. > > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-zc702.dts | 10 +- > arch/arm/dts/zynq-zc706.dts | 10 +- > arch/arm/dts/zynq-zc770-xm010.d

Re: [U-Boot] [PATCH 12/16] ARM: zynq: Extend microzed board support

2016-04-07 Thread Nathan Rossi
On Fri, Apr 8, 2016 at 3:01 AM, Michal Simek wrote: > Add missing DT nodes and enable USB. > > Signed-off-by: Michal Simek Reviewed-by: Nathan Rossi > --- > > arch/arm/dts/zynq-microzed.dts | 38 +- > configs/zynq_microzed_defconfig | 4 > include/co

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread Stefan Roese
On 08.04.2016 01:51, George Broz wrote: Try with the attached patch (and probably with dcache off) >>> >>> The patch applied cleanly. The behavior is unchanged with both >>> dcache on and off. The "good" sticks still work, and "bad" sticks still >>> don't. >> >> OK. Then I should probably

Re: [U-Boot] [PATCH] odroid: Update README with correct firmware link and XU4 support

2016-04-07 Thread Przemyslaw Marczak
Hello Shawn, On 04/08/2016 05:06 AM, Shawn Guo wrote: The firmware from link [1] only works with U-Boot image that is no bigger than 328KiB. Using it with the default mainline U-Boot today which is already around 500KiB is just not working. Correct the link to be hardkernel_1mb_uboot one [2],

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-07 Thread Scott Wood
On 04/07/2016 04:11 AM, Huan Wang wrote: > Hi, Scott, > >> On 04/05/2016 09:16 PM, Huan Wang wrote: >>> Hi, York and Scott, >>> On 04/05/2016 05:11 AM, Alison Wang wrote: > For LS1021A Secure Boot, SPARE2 register is used and modified by the > IBR. To avoid the conflict, SPARE4 is use

[U-Boot] [PATCH v2 00/11] ARMv7: PSCI: add PSCI v1.0 support

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang This patch set contains two parts: ARMv7 PSCI common framework: fix some issues and add v1.0 support NXP (was Freescale) LS102XA: codes enhancement and add v1.0 implementation Changes since v1: - re-organize psci_cpu_on_common, this code should be called by each platform's psc

[U-Boot] [PATCH v2 03/11] ARMv7: PSCI: update function psci_get_cpu_stack_top

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang There are issues of legacy fuction psci_get_cpu_stack_top: First, because the stack grows in descending address order, it is better the stack starts from page end or some similiar address, but currently the algorithm is based on address of page start, if so some stack starts a

[U-Boot] [PATCH v2 02/11] ARM: PSCI: change PSCI related macros definition style

2016-04-07 Thread macro . wave . z
From: Wang Dongsheng Since we are already under the directory of arch/arm/, the prefix ARM_ for macros isn't so necessary, and with more PSCI interfaces being added later, there will be much more redundant ARM_ prefixes, what's more, there are no ARM_/arm_ prefixes for other PSCI variables and fu

[U-Boot] [PATCH v2 01/11] ARM: PSCI: change PSCI function IDs base and offsets

2016-04-07 Thread macro . wave . z
From: Wang Dongsheng According to PSCI specification v1.0, the PSCI functions should start from 0x8400 for SMC32, this patch changes this base value as well as other function offset values. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang --- arch/arm/include/asm/psci.h | 10

[U-Boot] [PATCH v2 04/11] ARMv7: PSCI: update the place of saving target PC

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang The legacy code reserves one word in each stack for saving target PC, but it isn't used, the target PC is still saved to where the stack top pointer points. This patch relocates the place for saving target PC to the lowest address of each stack, convinience is that we can save

[U-Boot] [PATCH v2 05/11] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang According to latest PSCI specification, the context ID is needed by CPU_ON. This patch saves context ID to the second lowest address of the stack (next to where target PC is saved), and restores it to r0 when needed while target CPU booting up. This patch in current format is

[U-Boot] [PATCH v2 06/11] ARMv7: PSCI: factor out reusable psci_cpu_on_common

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang There are codes for saving target PC and target context ID in each platform psci_cpu_on routines, these can be factored out as psci_cpu_on_common. Signed-off-by: Hongbo Zhang Signed-off-by: Wang Dongsheng --- arch/arm/cpu/armv7/ls102xa/psci.S | 12 +--- arch/arm

[U-Boot] [PATCH v2 09/11] ARMv7: PSCI: ls102xa: check ALREADY_ON or ON_PENDING for CPU_ON

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang For the robustness of codes, while powering on a CPU, it is better to check if the target CPU is already on or in the process of power on, if yes the power on routine shouldn't be executed further and should return with the corresponding status immediately. Signed-off-by: Hong

[U-Boot] [PATCH v2 07/11] ARMv7: PSCI: add PSCI v1.0 functions skeleton

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang This patch adds all the PSCI v1.0 functions in to the common framework, with all the functions returning "not sopported" by default, as a common framework all the functions are added here, it is up to every platform developer to decide which version of PSCI and which functions

[U-Boot] [PATCH v2 08/11] ARMv7: PSCI: ls102xa: check target CPU ID before further operations

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang The input parameter CPU ID needs to be validated before furher oprations such as CPU_ON, this patch introduces the function to do this. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv7/ls102xa/psci.S | 34 +- 1

[U-Boot] [PATCH v2 10/11] ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention

2016-04-07 Thread macro . wave . z
From: Hongbo Zhang This patch implements PSCI functions for ls102xa SoC following PSCI v1.0, they are as the list: psci_version, psci_features, psci_cpu_suspend, psci_affinity_info, psci_system_reset, psci_system_off. Tested on LS1021aQDS, LS1021aTWR. Signed-off-by: Wang

[U-Boot] [PATCH v2] armv8/ls2080ardb: Update DDR timing to support more UDIMMs

2016-04-07 Thread Shengzhou Liu
Optimize DDR timing for good margins to support new Transcend and Apacer DDR4 UDIMM besides current Micron UDIMM. Verified 1333MT/s, 1600MT/s, 1866MT/s, 2133MT/s rate with following UDIMM on LS2080ARDB. - Micron UDIMM: MTA18ASF1G72AZ-2G1A1Z - Apacer UDIMM: 78.C1GM4.AF10B - Transcend UDIMM: TS1G

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > you mentioned you have problems with DRAM init on your AV, right ? > Try this u-boot-socfpga/ddr branch [1] , see if it works for you and > please let me know. The more testing the better. > > [1] > http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads/ddr Are you a

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Lukasz Majewski
Hi Steve, > No -- I do not believe that this issue is caused by different fastboot > (client) versions (the executable that runs on the host computer - > Linux, Windows, Mac, etc.) > I have personally attempted three (3) different versions, and the > results are consistent. > > And no I don't thi

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-07 Thread Lukasz Majewski
Hi Marek, > On 04/06/2016 10:45 PM, Steve Rae wrote: > > Thanks for the reply, Marek > > > > On Wed, Apr 6, 2016 at 12:53 PM, Marek Vasut > > wrote: > > > > On 04/06/2016 07:18 PM, Steve Rae wrote: > > > No -- I do not believe that this issue is caused by diffe

[U-Boot] [PATCH v2] armv8/ls1043: Add workaround for DDR erratum A-008850

2016-04-07 Thread Shengzhou Liu
Barrier transactions from CCI400 need to be disabled till the DDR is configured, otherwise it may lead to system hang. The patch adds workaround to fix the erratum. Signed-off-by: Shengzhou Liu --- v2: moved part 2 of 2 to public soc.c arch/arm/cpu/armv8/fsl-layerscape/soc.c | 36 ++

[U-Boot] [PATCH 2/2] arm: mvebu: theadorable: Add bootcounter support

2016-04-07 Thread Stefan Roese
This patch adds bootcount support to the MVEBU theadorable board. Since no reset-safe registers seem to be available, it uses the last 4KiB of SDRAM for the bootcounter location. Signed-off-by: Stefan Roese --- include/configs/theadorable.h | 8 1 file changed, 8 insertions(+) diff --g

[U-Boot] [PATCH 1/2] arm: mvebu: theadorable: Add USB power toggle and tweak USB PHY register

2016-04-07 Thread Stefan Roese
This patch adds an USB power toggle for theadorable. Additionally, the USB PHY RX Channel Control 0 Register is changed to fix some issues noticed while accessing some specific USB sticks. Signed-off-by: Stefan Roese --- board/theadorable/theadorable.c | 32 1 fi

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-07 Thread Huan Wang
Hi, Scott, > On 04/05/2016 09:16 PM, Huan Wang wrote: > > Hi, York and Scott, > > > >> On 04/05/2016 05:11 AM, Alison Wang wrote: > >>> For LS1021A Secure Boot, SPARE2 register is used and modified by the > >>> IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to > >>> store the entry p

Re: [U-Boot] Mainline u-boot installation on Odroid-UX4

2016-04-07 Thread Przemyslaw Marczak
Hello Shawn. On 04/07/2016 11:35 AM, Shawn Guo wrote: Hi Przemyslaw, Anand, I just got a Odroid-UX4 board to play. I installed firmware (bl1, bl2, tzsw, u-boot) from hardkernel using sd_fusing.sh, and the board boots fine. But when I install mainline u-boot v2016.03 by following doc/README.od

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Marek Vasut
On 04/07/2016 09:32 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> you mentioned you have problems with DRAM init on your AV, right ? >> Try this u-boot-socfpga/ddr branch [1] , see if it works for you and >> please let me know. The more testing the better. >> >> [1] >> http://g

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
> Just check if the mainline SPL generated from this branch works on your > platform please. Ok. I will test it but probably during the weekend. Because it requires me to merge my configuration to it. I will write back once I will have some results. Best regards, Denis Bakhvalov _

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-07 Thread Marek Vasut
On 04/07/2016 02:05 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: >> Just check if the mainline SPL generated from this branch works on your >> platform please. > > Ok. I will test it but probably during the weekend. > Because it requires me to merge my configuration to it. > I will write back

Re: [U-Boot] [PATCH] board: ge: bx50v3: Update display setup

2016-04-07 Thread Fabio Estevam
On Thu, Apr 7, 2016 at 2:10 AM, Akshay Bhat wrote: > Appreciate the feedback. I will break up the commits and resubmit the patch, > moving the function to common code. > > Fabio, does the errata apply to all i.MX6 based processors? If not, which > ones should use the errata? mx6 quad/dl/solo. __

Re: [U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig

2016-04-07 Thread Ricardo Ribalda Delgado
Hi Michal You are right, OF_CONTROL (on arch/powerpc/cpu/ppc4xx/Kconfig ) selects OF_LIBFDT by default (on lib/Kconfig) So no need for my changes Thanks! On Thu, Apr 7, 2016 at 8:06 AM, Michal Simek wrote: > Hi, > > On 6.4.2016 22:34, Ricardo Ribalda Delgado wrote: >> Hi Michal >> >> xilinx

Re: [U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig

2016-04-07 Thread Michal Simek
On 7.4.2016 14:37, Ricardo Ribalda Delgado wrote: > Hi Michal > > You are right, > > OF_CONTROL (on arch/powerpc/cpu/ppc4xx/Kconfig ) selects OF_LIBFDT by > default (on lib/Kconfig) > > So no need for my changes ok. Your Tested-by or Reviewed-by flag would help. Thanks, Michal __

Re: [U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig

2016-04-07 Thread Ricardo Ribalda Delgado
For xilinx-ppc405-generic and xilinx-ppc440-generic: Reviewed-by: Ricardo Ribalda Delgado I have access to my hardware again from the 20th of April. I can give you a tested-by by them if you want ;) regards! On Thu, Apr 7, 2016 at 2:39 PM, Michal Simek wrote: > On 7.4.2016 14:37, Ricardo Riba

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-07 Thread George Broz
On 6 April 2016 at 19:05, Marek Vasut wrote: > On 04/07/2016 03:42 AM, George Broz wrote: > > Hi, > U-Boot SPL 2016.03 (Apr 05 2016 - 17:57:23) drivers/ddr/altera/sequencer.c: Preparing to start memory calibration drivers/ddr/altera/sequencer.c: CALIBRATION PASSED drivers/ddr/a

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-07 Thread Michal Simek
On 7.4.2016 08:43, Lukasz Majewski wrote: > Hi Michal, > >> On 6.4.2016 15:59, Lukasz Majewski wrote: >>> Hi Semen, >>> Hi All, This patch series move next options to Kconfigs/defconfigs: - CONFIG_USB_DWC3* - CONFIG_USB_GADGET_VBUS_DRAW - CONFIG_USB_GADGET_DUA

[U-Boot] Mainline u-boot installation on Odroid-UX4

2016-04-07 Thread Shawn Guo
Hi Przemyslaw, Anand, I just got a Odroid-UX4 board to play. I installed firmware (bl1, bl2, tzsw, u-boot) from hardkernel using sd_fusing.sh, and the board boots fine. But when I install mainline u-boot v2016.03 by following doc/README.odroid, the board refuses to boot with nothing appearing on

Re: [U-Boot] Mainline u-boot installation on Odroid-UX4

2016-04-07 Thread Anand Moon
Hi Shwan, On 7 April 2016 at 15:50, Przemyslaw Marczak wrote: > Hello Shawn. > > On 04/07/2016 11:35 AM, Shawn Guo wrote: >> >> Hi Przemyslaw, Anand, >> >> I just got a Odroid-UX4 board to play. I installed firmware (bl1, bl2, >> tzsw, u-boot) from hardkernel using sd_fusing.sh, and the board bo

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-07 Thread Lukasz Majewski
Hi Michal, > On 7.4.2016 08:43, Lukasz Majewski wrote: > > Hi Michal, > > > >> On 6.4.2016 15:59, Lukasz Majewski wrote: > >>> Hi Semen, > >>> > > Hi All, > > This patch series move next options to Kconfigs/defconfigs: > - CONFIG_USB_DWC3* > - CONFIG_USB_GADGET_VBU

Re: [U-Boot] Mainline u-boot installation on Odroid-UX4

2016-04-07 Thread Shawn Guo
On Thu, Apr 07, 2016 at 12:20:06PM +0200, Przemyslaw Marczak wrote: > There were two variants of boot chain with U-Boot for XU3/XU4, which > differs in U-Boot size - originally U-Boot was 328K, but for the > mainline we assume 1MB of size. > > So for mainline, you need a prober version of BL2, whi

  1   2   >