Re: [U-Boot] [PATCH] arm: atmel: Add SAMA5D2 Xplained board

2015-10-26 Thread Yang, Wenyou
Hi Andreas, > > -Original Message- > > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > > Sent: 2015年10月24日 6:42 > > To: Yang, Wenyou; U-Boot Mailing List > > Subject: Re: [PATCH] arm: atmel: Add SAMA5D2 Xplained board > > > > Dear Wenyou Yang, > > > > On 22.09.15 09:59, Weny

[U-Boot] [PATCH v3] arm: atmel: Add SAMA5D2 Xplained board

2015-10-26 Thread Wenyou Yang
The board supports following features: - Boot media support: SD card/e.MMC/SPI flash, - Support LCD display (optional, disabled by default), - Support ethernet, - Support USB mass storage. Signed-off-by: Wenyou Yang --- The patch is based on the following patches sent in mailing list.

Re: [U-Boot] [PATCH v2] arm: atmel: Add SAMA5D2 Xplained board

2015-10-26 Thread Yang, Wenyou
Hi Shen Bo, Thank you very much for your review. > -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: 2015年10月27日 11:09 > To: Yang, Wenyou; andreas.de...@googlemail.com > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH v2] arm: atmel: Add SAMA5D2 Xplained boa

Re: [U-Boot] [PATCH v2 00/28] dm: input: Move keyboard drivers to driver model

2015-10-26 Thread Bin Meng
Hi Simon, On Mon, Oct 19, 2015 at 11:17 AM, Simon Glass wrote: > This series adds a new uclass for keyboards and converts some drivers > over to use it. > > This series includes some work to remove code duplication in the keyboard > drivers by updating them to use the input library (input.c). Thi

Re: [U-Boot] [PATCH V2 01/14] mxs: add parameter base_addr for mxs_set_lcdclk

2015-10-26 Thread Peng Fan
Hi Stefano, On Mon, Oct 26, 2015 at 04:52:59PM +0100, Stefano Babic wrote: >Hi Peng, > >On 26/10/2015 03:57, Peng Fan wrote: >> Hi Stefano, >> >> Sorry for this late reply. >> >> On Tue, Oct 20, 2015 at 03:05:05PM +0200, Stefano Babic wrote: >>> Hi Peng, >>> >>> >>> On 20/10/2015 13:39, Peng Fan

[U-Boot] [PATCH v2] ARM: at91: sama5: change the environment address to 0x6000

2015-10-26 Thread Josh Wu
As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5 boards is bigger than 16k (0x4000). That will overlap the U-Boot environment. So I move environment to 0x6000. And reduce its size as well. Following shows the size of the spl binaries (v2015.04 vs v2015.07): % ls v2015.04/*

Re: [U-Boot] [PATCH] ARM: at91: sama5: change the environment address to 0x6000

2015-10-26 Thread Josh Wu
On 10/27/2015 9:55 AM, Bo Shen wrote: Hi Josh, On 10/26/2015 16:41 PM, Josh Wu wrote: Hi, Bo On 10/26/2015 2:43 PM, Bo Shen wrote: Hi Josh, On 10/23/2015 17:18 PM, Josh Wu wrote: As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5 boards is bigger than 16k (0x4000). Th

Re: [U-Boot] [PATCH 0/2] Enable DFU for RAM on Allwinner devices

2015-10-26 Thread Siarhei Siamashka
On Mon, 26 Oct 2015 12:18:35 +0100 Piotr Król wrote: > On Sun, Oct 25, 2015 at 06:44:45AM +0200, Siarhei Siamashka wrote: > > Hello, > > > > DFU allows to transfer large files (such as initrd images) much > > faster than FEL. > > > > Siarhei Siamashka (2): > > sunxi: Enable DFU for RAM > >

Re: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2015-10-26 Thread maitysanchayan
Hello, On 15-10-26 20:19:42, Marek Vasut wrote: > On Monday, October 26, 2015 at 01:58:49 PM, Sanchayan Maity wrote: > > The current ehci-vf USB driver for Vybrid hardcodes the USB host > > and client functionality. Remove this. > > > > Reported-by: Santhosh Kumar Janardhanam > > Signed-off-by:

[U-Boot] [PATCH] nios2: use common sequence for reserve_uboot

2015-10-26 Thread Thomas Chou
Use common sequence for reserve_uboot, as the result is the same. Signed-off-by: Thomas Chou --- common/board_f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index d88ada3..64c33b3 100644 --- a/common/board_f.c +++ b/common/board_f.

Re: [U-Boot] [PATCH v2] arm: atmel: Add SAMA5D2 Xplained board

2015-10-26 Thread Bo Shen
Hi Wenyou, + Andreas On 10/27/2015 08:59 AM, Wenyou Yang wrote: The board supports following features: - Boot media support: SD card/e.MMC/SPI flash, - Support LCD display (optional, disabled by default), - Support ethernet, - Support USB mass storage. Signed-off-by: Wenyou Yang ---

Re: [U-Boot] arm: ls1021a: Ensure Generic Timer disabled before jumping into the OS

2015-10-26 Thread Huan Wang
Hi, Mark and Alexander, Do you have any comment about this patch? Thanks. Best Regards, Alison Wang > > On Tuesday 04 August 2015 09:55:37, Alison Wang wrote: > > > This patch addresses a problem mentioned recently on this mailing > > list: > > > [1]. > > > > > > In that posting

Re: [U-Boot] [PATCH v4 12/16] nios2: Use the generic bitops headers

2015-10-26 Thread Thomas Chou
Hi Fabio, On 10/27/2015 12:11 AM, Fabio Estevam wrote: The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- Changes since v3: - Newly introduced in this version arch/nios2/include/asm/bitops.h | 5 + 1 file chang

Re: [U-Boot] [PATCH v5 03/23] spi: altera_spi: Use BIT macro

2015-10-26 Thread Thomas Chou
Hi Jagan, On 10/24/2015 11:38 AM, Jagan Teki wrote: Replace numerical bit shift with BIT macro in altera_spi :%s/(1 << nr)/BIT(nr)/g where nr = 0, 1, 2 31 Cc: Marek Vasut Reviewed-by: Tom Rini Signed-off-by: Jagan Teki --- drivers/spi/altera_spi.c | 26 +- 1

[U-Boot] [PATCH v2] nios2: use dram bank in board info

2015-10-26 Thread Thomas Chou
Use dram bank in board info, so that it displays correct memory values in bdinfo command. Signed-off-by: Thomas Chou --- v2 change to use dram bank. common/cmd_bdinfo.c | 9 +++-- include/configs/nios2-generic.h | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --g

Re: [U-Boot] [PATCH] ARM: at91: sama5: change the environment address to 0x6000

2015-10-26 Thread Bo Shen
Hi Josh, On 10/26/2015 16:41 PM, Josh Wu wrote: Hi, Bo On 10/26/2015 2:43 PM, Bo Shen wrote: Hi Josh, On 10/23/2015 17:18 PM, Josh Wu wrote: As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5 boards is bigger than 16k (0x4000). That will overlap the U-Boot Just curiou

Re: [U-Boot] [PATCH] arm: at91: Change the Chip ID registers' addresses

2015-10-26 Thread Yang, Wenyou
> -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2015年10月24日 5:11 > To: Yang, Wenyou; U-Boot Mailing List > Subject: Re: [PATCH] arm: at91: Change the Chip ID registers' addresses > > > > On 08.09.15 08:38, Wenyou Yang wrote: > > Provide the s

[U-Boot] [PATCH] nios2: change virt_to_phys to use physaddr_mask in global data

2015-10-26 Thread Thomas Chou
As virt_to_phys() is used a lot in DMA transfer, change it to use physaddr_mask in global data. This will save an "if" statement and get a little faster. Signed-off-by: Thomas Chou --- arch/nios2/cpu/cpu.c | 1 + arch/nios2/include/asm/global_data.h | 1 + arch/nios2/include/asm/

[U-Boot] [PATCH] nios2: fix map_physmem to do real cache mapping

2015-10-26 Thread Thomas Chou
Fix the map_physmem() to do real cache mapping. Signed-off-by: Thomas Chou --- arch/nios2/cpu/cpu.c | 3 ++- arch/nios2/include/asm/global_data.h | 1 + arch/nios2/include/asm/io.h | 8 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/nios2/cp

[U-Boot] [PATCH v2] arm: atmel: Add SAMA5D2 Xplained board

2015-10-26 Thread Wenyou Yang
The board supports following features: - Boot media support: SD card/e.MMC/SPI flash, - Support LCD display (optional, disabled by default), - Support ethernet, - Support USB mass storage. Signed-off-by: Wenyou Yang --- The patch is based on the following patches sent in mailing list.

Re: [U-Boot] [PATCH] nios2: add memory to board info

2015-10-26 Thread Thomas Chou
Hi Marek, On 10/27/2015 04:24 AM, Marek Vasut wrote: On Monday, October 26, 2015 at 10:19:32 AM, Thomas Chou wrote: Run setup_board_part1/2 and add memory information to board info structure. So that it can display correct values in bdinfo command. Signed-off-by: Thomas Chou --- common/boar

Re: [U-Boot] [PATCH v1 01/12] rockchip: define SUPPORT_SPL and SPL config in RK3288 config

2015-10-26 Thread hl
Hi Simon, On 26/10/15 12:12, Simon Glass wrote: Hi, On Oct 22, 2015 7:22 PM, "hl" > wrote: > > Hi Simon, > > > On 23/10/15 09:04, Simon Glass wrote: >> >> Hi Eddie, >> >> On 22 October 2015 at 18:54, Eddie Cai > wrote: >>> >>> Hi S

[U-Boot] Monster boot

2015-10-26 Thread Stefan Agner
Hi Richard, Just looked through the slides of your ELCE talk "Current challenges in UBIFS". I would like to elaborate the issues wrt moster boot. I did not attend the talk (sorry) and also was not able to find a video of it so far, hence I don't know what has been said at the talk... So, the last

Re: [U-Boot] [PATCH v3] Tegra: DT: add device tree binding doc for QSPI

2015-10-26 Thread Stephen Warren
On 10/26/2015 03:36 PM, Tom Warren wrote: Stephen Warren wrote at Monday, October 26, 2015 2:04 PM: On 10/26/2015 02:34 PM, Tom Warren wrote: This patch adds the device tree binding doc for the Tegra QSPI controller on Tegra210. diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra

Re: [U-Boot] [PATCH v3] Tegra: DT: add device tree binding doc for QSPI

2015-10-26 Thread Tom Warren
Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, October 26, 2015 2:04 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Stephen Warren ; > tomcwarren3...@gmail.com; jt...@openedev.com; robh...@kernel.org; > pawel.m...@arm.com; mark.rutl...

Re: [U-Boot] [PATCH v3] Tegra: DT: add device tree binding doc for QSPI

2015-10-26 Thread Stephen Warren
On 10/26/2015 02:34 PM, Tom Warren wrote: This patch adds the device tree binding doc for the Tegra QSPI controller on Tegra210. diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-qspi.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra210-qspi.txt +- clock-names : Mus

Re: [U-Boot] [PATCH v3] Tegra: T210: Add QSPI driver

2015-10-26 Thread Tom Warren
Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Saturday, October 24, 2015 8:15 PM > To: Yen Lin > Cc: Tom Warren ; u-boot@lists.denx.de; Stephen > Warren ; Tom Warren > Subject: Re: [U-Boot] [PATCH v3] Tegra: T210: Add QSPI driver > > Hi Yen, > > On

[U-Boot] [PATCH v5] Tegra: T210: Add QSPI driver

2015-10-26 Thread Tom Warren
This is the normal Tegra SPI driver modified to work with the QSPI controller in Tegra210. It does not do 2x/4x transfers or any other QSPI protocol. Signed-off-by: Yen Lin Signed-off-by: Tom Warren --- Changes in v2: - Drop defconfig and pinmux files, this is a driver-only patch. - If/when pinm

[U-Boot] [PATCH v3] Tegra: DT: add device tree binding doc for QSPI

2015-10-26 Thread Tom Warren
This patch adds the device tree binding doc for the Tegra QSPI controller on Tegra210. Signed-off-by: Tom Warren --- Changes in v2: - based it more on kernel's nvidia,tegra114-spi.txt binding - changes based on prelim review by swar...@nvidia.com Changes in v3: - renamed to 'nvidia,tegra210-qspi.

Re: [U-Boot] [PATCH] arm: socfpga: Add SoCFPGA SR1500 board

2015-10-26 Thread Marek Vasut
On Monday, October 26, 2015 at 09:17:41 AM, Stefan Roese wrote: > Hi Marek, Hi, > On 23.10.2015 20:40, Marek Vasut wrote: > > On Friday, October 23, 2015 at 09:26:53 AM, Stefan Roese wrote: > >> The SR1500 > > > > Does SR mean Stefan Roese ? :-) > > Not really. I had no influence on this board

Re: [U-Boot] [PATCH] nios2: add memory to board info

2015-10-26 Thread Marek Vasut
On Monday, October 26, 2015 at 10:19:32 AM, Thomas Chou wrote: > Run setup_board_part1/2 and add memory information to board info > structure. So that it can display correct values in bdinfo command. > > Signed-off-by: Thomas Chou > --- > common/board_f.c | 4 ++-- > 1 file changed, 2 insertions

Re: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2015-10-26 Thread Marek Vasut
On Monday, October 26, 2015 at 01:58:49 PM, Sanchayan Maity wrote: > The current ehci-vf USB driver for Vybrid hardcodes the USB host > and client functionality. Remove this. > > Reported-by: Santhosh Kumar Janardhanam > Signed-off-by: Sanchayan Maity Is this a V2 or why did I receive this patc

Re: [U-Boot] [PATCH v2] spi: Tegra: add device tree binding doc for SPI/QSPI

2015-10-26 Thread Tom Warren
Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, October 26, 2015 9:33 AM > To: Tom Warren ; u-boot@lists.denx.de > Cc: Stephen Warren ; tomcwarren3...@gmail.com; > jt...@openedev.com; robh...@kernel.org; pawel.m...@arm.com; > mark.rutl...

Re: [U-Boot] [PATCH] arm: atmel: Add SAMA5D2 Xplained board

2015-10-26 Thread Yang, Wenyou
Dear Andreas, Thank you very much for your review. > -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2015年10月24日 6:42 > To: Yang, Wenyou; U-Boot Mailing List > Subject: Re: [PATCH] arm: atmel: Add SAMA5D2 Xplained board > > Dear Wenyou Yang, > >

Re: [U-Boot] [PATCH v2] spi: Tegra: add device tree binding doc for SPI/QSPI

2015-10-26 Thread Stephen Warren
On 10/23/2015 05:30 PM, Tom Warren wrote: This patch adds the device tree binding doc for the Tegra SPI/QSPI controllers on Tegra114 and Tegra210. diff --git a/doc/device-tree-bindings/spi/spi-tegra.txt b/doc/device-tree-bindings/spi/spi-tegra.txt Since this is a patch to the Linux kernel,

[U-Boot] [PATCH v4 16/16] spi: Add SPI NOR protection mechanism

2015-10-26 Thread Fabio Estevam
Many SPI flashes have protection bits (BP2, BP1 and BP0) in the status register that can protect selected regions of the SPI NOR. Take these bits into account when performing erase operations, making sure that the protected areas are skipped. Tested on a mx6qsabresd: => sf probe SF: Detected M25

[U-Boot] [PATCH v4 14/16] powerpc: Remove __ilog2_u64 and ffs4 from bitops

2015-10-26 Thread Fabio Estevam
Remove __ilog2_u64 and ffs4 from powerpc bitops to align with the kernel implementation. Use the generic __ffs64 instead of a custom powerpc implementation. Cc: York Sun Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/powerpc/

[U-Boot] [PATCH v4 15/16] spi: sf_ops: Add SPI protection mechanism from the kernel

2015-10-26 Thread Fabio Estevam
Add the SPI NOR protection mechanism from the kernel. This code is based on the work from Brian Norris https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/mtd/spi-nor/spi-nor.c?id=62593cf40b23b523b9fc9334ca61ba6c595ebb09 Signed-off-by: Fabio Estevam Reviewed-by: Tom

[U-Boot] [PATCH v4 10/16] openrisc: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- Changes since v3: - Newly introduced in this version arch/openrisc/include/asm/bitops.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/openrisc/include/as

[U-Boot] [PATCH v4 09/16] sparc: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- Changes since v3: - Newly introduced in this version arch/sparc/include/asm/bitops.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/sparc/include/asm/bit

[U-Boot] [PATCH v4 12/16] nios2: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- Changes since v3: - Newly introduced in this version arch/nios2/include/asm/bitops.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/nios2/include/asm/bit

[U-Boot] [PATCH v4 13/16] compat: Remove is_power_of_2() definition

2015-10-26 Thread Fabio Estevam
Use the is_power_of_2() definition from log2.h to align with the kernel implementation. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None, just reorder it so that we avoid to break bisectability. arch/arm/mach-mvebu/mbus.c | 2 +- driv

[U-Boot] [PATCH v4 11/16] nds32: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- Changes since v3: - Newly introduced in this version arch/nds32/include/asm/bitops.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/nds32/include/asm/bito

[U-Boot] [PATCH v4 06/16] blackfin: bitops: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/blackfin/include/asm/bitops.h | 4 1 file changed, 4 insertions(+) diff --git a/

[U-Boot] [PATCH v4 05/16] m68k: bitops: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/m68k/include/asm/bitops.h | 4 1 file changed, 4 insertions(+) diff --git a/arch

[U-Boot] [PATCH v4 08/16] sandbox: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/sandbox/include/asm/bitops.h | 4 1 file changed, 4 insertions(+) diff --git a/a

[U-Boot] [PATCH v4 07/16] sh: bitops: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/microblaze/include/asm/bitops.h | 4 arch/sh/include/asm/bitops.h | 5 +++

[U-Boot] [PATCH v4 02/16] include: Add generic bitops headers

2015-10-26 Thread Fabio Estevam
Use the generic bitops header files from the kernel. Imported from kernel 4.2.3. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None include/asm-generic/bitops/__ffs.h | 43 ++ include/asm-generic/bit

[U-Boot] [PATCH v4 01/16] include: Add log2 header from the kernel

2015-10-26 Thread Fabio Estevam
Use the log2 header files from the kernel. Imported from kernel 4.2.3. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None include/linux/log2.h | 205 +++ 1 file changed, 205 insertions(+)

[U-Boot] [PATCH v4 04/16] x86: bitops: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
Use the generic bitops and also add custom __ffs() implementation as per the kernel. Also align the ffs() implementation with the kernel. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/x86/include/asm/bitops.h | 21 +++

[U-Boot] [PATCH v4 03/16] ARM: bitops: Use the generic bitops headers

2015-10-26 Thread Fabio Estevam
The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v3: - None arch/arm/include/asm/bitops.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch

Re: [U-Boot] [PATCH V2 01/14] mxs: add parameter base_addr for mxs_set_lcdclk

2015-10-26 Thread Stefano Babic
Hi Peng, On 26/10/2015 03:57, Peng Fan wrote: > Hi Stefano, > > Sorry for this late reply. > > On Tue, Oct 20, 2015 at 03:05:05PM +0200, Stefano Babic wrote: >> Hi Peng, >> >> >> On 20/10/2015 13:39, Peng Fan wrote: >>> Change mxs_set_lcdclk prototype to add a new parameter >>> base_addr. There

Re: [U-Boot] [PATCH 0/2] Enable DFU for RAM on Allwinner devices

2015-10-26 Thread Piotr Król
On Sun, Oct 25, 2015 at 06:44:45AM +0200, Siarhei Siamashka wrote: > Hello, > > DFU allows to transfer large files (such as initrd images) much > faster than FEL. > > Siarhei Siamashka (2): > sunxi: Enable DFU for RAM > musb: sunxi: Implement dfu_usb_get_reset() > > drivers/usb/musb-new/sun

Re: [U-Boot] u-boot device model SPI + SPI Flash

2015-10-26 Thread Michal Simek
On 10/23/2015 12:20 PM, Jagan Teki wrote: > On 23 October 2015 at 15:42, Hoefle Marco wrote: >> Maybe somebody has a valid u-boot dts file for a microblaze system with an >> SPI core? That would helpful. >> We want to move from a parallel nor flash to a SPI flash for FPGA config, >> u-boot, Linu

Re: [U-Boot] [PATCH 03/13] compat: Remove is_power_of_2() definition

2015-10-26 Thread Heiko Schocher
Hello Fabio, Am 26.10.2015 um 15:29 schrieb Fabio Estevam: Hi Heiko, On Mon, Oct 26, 2015 at 8:39 AM, Heiko Schocher wrote: I think the aristainetos or aristainetos2 board will fail ... Could you please try to compile them? If not, I try to find time to do it. Sure, both boards build fine

Re: [U-Boot] [PATCH 03/13] compat: Remove is_power_of_2() definition

2015-10-26 Thread Fabio Estevam
On Mon, Oct 26, 2015 at 12:29 PM, Fabio Estevam wrote: > Hi Heiko, > > > On Mon, Oct 26, 2015 at 8:39 AM, Heiko Schocher wrote: > >> I think the aristainetos or aristainetos2 board will fail ... Could you >> please try to compile them? If not, I try to find time to do it. > > Sure, both boards bu

Re: [U-Boot] [PATCH v7 5/9] arm: serial: Add ability to use pre-initialized UARTs

2015-10-26 Thread Simon Glass
Hi Rob, On 23 October 2015 at 12:35, Rob Herring wrote: > On Mon, Oct 19, 2015 at 5:09 PM, Simon Glass wrote: >> Hi Rob, >> >> On 19 October 2015 at 14:14, Rob Herring wrote: >>> On Wed, Oct 14, 2015 at 11:55 AM, Sergey Temerkhanov >>> wrote: On some systems, UART initialization is perfor

Re: [U-Boot] [PATCH 03/13] compat: Remove is_power_of_2() definition

2015-10-26 Thread Fabio Estevam
Hi Heiko, On Mon, Oct 26, 2015 at 8:39 AM, Heiko Schocher wrote: > I think the aristainetos or aristainetos2 board will fail ... Could you > please try to compile them? If not, I try to find time to do it. Sure, both boards build fine with all this patch series applied: Building aristainetos

Re: [U-Boot] [PATCH v5 09/23] spi: ich: Use BIT macro

2015-10-26 Thread Simon Glass
On 23 October 2015 at 21:38, Jagan Teki wrote: > Replace numerical bit shift with BIT macro > in ich > > :%s/(1 << nr)/BIT(nr)/g > where nr = 0, 1, 2 31 > > Cc: Simon Glass > Reviewed-by: Tom Rini > Signed-off-by: Jagan Teki > --- > drivers/spi/ich.c | 4 ++-- > 1 file changed, 2 insertio

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

2015-10-26 Thread Simon Glass
Hi Tom, The following changes since commit 9f13b6d147dc74f2400ce18d9d4005ba53f21fd3: ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio (2015-10-22 14:44:03 -0400) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to fetch changes up to 4ea5243a3a2

Re: [U-Boot] [PATCH] fdt: fix fdtdec_get_pci_addr() for CONFIG_PHYS_64BIT

2015-10-26 Thread Simon Glass
On 21 October 2015 at 14:42, Simon Glass wrote: > > Hi Stephen, > > On 21 October 2015 at 10:31, Stephen Warren wrote: > > > > On 10/03/2015 08:30 AM, Simon Glass wrote: > >> > >> On 3 October 2015 at 00:44, Stephen Warren wrote: > >>> > >>> From: Stephen Warren > >>> > >>> PCI addresses are al

[U-Boot] [PATCH 3/3] colibri_vf: Add board_usb_phy_mode function

2015-10-26 Thread Sanchayan Maity
Add board_usb_phy_mode function for detecting whether a port is being used as host or client using a GPIO. On Colibri Vybrid we provide the GPIO 102 for the very same purpose. Signed-off-by: Sanchayan Maity --- board/toradex/colibri_vf/colibri_vf.c | 19 ++- 1 file changed, 18 in

[U-Boot] [PATCH 2/3] usb: host: ehci-vf: Implement board_usb_phy_mode weak function

2015-10-26 Thread Sanchayan Maity
Add board_usb_phy_mode weak function on similar lines to ehci-mx6. However since Vybrid USB does not have a true OTG, make this weak functon just return 0. The function is supposed to be implemented by the individual boards using a GPIO for providing the OTG pin functionality. Signed-off-by: Sanch

[U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration

2015-10-26 Thread Sanchayan Maity
The current ehci-vf USB driver for Vybrid hardcodes the USB host and client functionality. Remove this. Reported-by: Santhosh Kumar Janardhanam Signed-off-by: Sanchayan Maity --- drivers/usb/host/ehci-vf.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/usb/host/ehci-vf.c b/driv

Re: [U-Boot] [PATCH 3/5] splash_source: add support for filesystem formatted usb

2015-10-26 Thread Nikita Kiryanov
On Fri, Oct 23, 2015 at 04:12:01PM +0300, Igor Grinberg wrote: > On 10/23/15 13:23, Nikita Kiryanov wrote: > > On Wed, Oct 21, 2015 at 04:01:46PM +0300, Igor Grinberg wrote: > >> On 08/30/15 11:42, Nikita Kiryanov wrote: > >>> Add support for loading splash image from USB drive formatted with a > >

[U-Boot] [Patch V8 17/17] armv8/ls1043a: Enable secondary cores

2015-10-26 Thread Gong Qianyu
From: Hou Zhiqiang After the secondary cores enter U-Boot, use CONFIG_ARMV8_MULTIENTRY to make secondary cores excute in spin loop. Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - New patch. arch/arm/Kconfig

[U-Boot] [Patch V8 15/17] armv8/ls1043ardb: esdhc: Add esdhc support for ls1043ardb

2015-10-26 Thread Gong Qianyu
From: Yangbo Lu This patch adds esdhc support for ls1043ardb. Signed-off-by: Yangbo Lu Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - No change. V5: - No change. V4: - Use CONFIG_FSL_ESDHC to enable get_sdhc_freq(). - Merge lsch2 and lsch3 into layerscape. V3: -

[U-Boot] [Patch V8 13/17] armv8/ls1043ardb: Add nand boot support

2015-10-26 Thread Gong Qianyu
Signed-off-by: Gong Qianyu Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu --- V8: - No changes. V7: - No change. V6: - No change. V5: - No change. V4: - Add enable_layerscape_ns_access() in fsl-layerscape/spl.c V3: - No change. V2: - Removed unecessary N

[U-Boot] [Patch V8 16/17] armv8/ls1043ardb: Add sd boot support

2015-10-26 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - No change. V5: - No change. V4: - No change. V3: - Squash the add cpld command patch to it. V2: - No change. board/freescale/ls1043ardb/README| 1 + board/freescale/ls1043ardb/cpld.c|

[U-Boot] [Patch V8 14/17] armv8/ls1043a: Add Fman support

2015-10-26 Thread Gong Qianyu
From: Shaohui Xie Signed-off-by: Hou Zhiqiang Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - No change. V5: - No change. V4: - Change arch to layerscape. V3: - No change. V2: - No change. arch/arm/cpu/armv8

[U-Boot] [Patch V8 11/17] armv8/fsl_lsch2: Add fsl_lsch2 SoC

2015-10-26 Thread Gong Qianyu
From: Mingkai Hu Freescale LayerScape with Chassis Generation 2 is a set of SoCs with ARMv8 cores and 2rd generation of Chassis. Signed-off-by: Li Yang Signed-off-by: Hou Zhiqiang Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - Remove GIC

[U-Boot] [Patch V8 12/17] armv8/ls1043ardb: Add LS1043ARDB board support

2015-10-26 Thread Gong Qianyu
From: Mingkai Hu LS1043ARDB Specification: - Memory subsystem: * 2GByte DDR4 SDRAM (32bit bus) * 128 Mbyte NOR flash single-chip memory * 512 Mbyte NAND flash * 16 Mbyte high-speed SPI flash * SD connector to interface with the SD memory card Ethernet: * XFI 10G por

[U-Boot] [Patch V8 10/17] armv8/fsl_lsch3: Change arch to fsl-layerscape

2015-10-26 Thread Gong Qianyu
From: Mingkai Hu There are two LS series processors are built on ARMv8 Layersacpe architecture currently, LS2085A and LS1043A. They are based on ARMv8 core although use different chassis, so create fsl-layerscape to refactor the common code for the LS series processors which also paves the way fo

[U-Boot] [Patch V8 09/17] net/fm: fix MDIO controller base on FMAN2

2015-10-26 Thread Gong Qianyu
From: Shaohui Xie MDIO controller base on FMAN2 was defined as CONFIG_SYS_FSL_FM2_ADDR plus offset, but CONFIG_SYS_FSL_FM2_ADDR only defined when there are two FMANs, so we should only define MDIO controller base on FMAN2 when there is FMAN2. Signed-off-by: Shaohui Xie Signed-off-by: Mingkai Hu

[U-Boot] [Patch V8 07/17] net: Move some header files to include/

2015-10-26 Thread Gong Qianyu
From: Shaohui Xie The fsl_dtsec.h & fsl_tgec.h & fsl_fman.h can be shared on both ARM and PPC, move it out of ppc to include/, and change the path in drivers accordingly. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - No change. V5: - No

[U-Boot] [Patch V8 08/17] net/fm: Add QSGMII PCS init

2015-10-26 Thread Gong Qianyu
From: Shaohui Xie QSGMII PCS needed to be programmed same as SGMII PCS, and there are four ports in QSGMII PCS, port 0, 1, 2, 3, all the four ports shared port 0's MDIO controller, so when programming port 0, we continue to program other three ports. Signed-off-by: Shaohui Xie Signed-off-by: Mi

[U-Boot] [Patch V8 06/17] net: fm: bug fix when CONFIG_PHYLIB not defined

2015-10-26 Thread Gong Qianyu
From: Shaohui Xie codes related to phylib operations should be wrapped by CONFIG_PHYLIB. Signed-off-by: Shaohui Xie Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - Fix all codes related to phylib to be wrapped by CONFIG_PHYLIB. V5: - No change. V4: - No change. V3:

[U-Boot] [Patch V8 04/17] net/fm: Add support for 64-bit platforms

2015-10-26 Thread Gong Qianyu
From: Hou Zhiqiang The FMan IM driver is developed for 32-bit platfroms and isn't friendly to 64-bit platforms, so do the minimal refactor: 1. Refine the MURAM management and access. 2. Correct the initialization and operations for QDs and BDs. Signed-off-by: Hou Zhiqiang Signed-off-by: Gong Q

[U-Boot] [Patch V8 05/17] net/fm: Make the return value logic consistent with convention

2015-10-26 Thread Gong Qianyu
From: Hou Zhiqiang In convention, the '0' is a normal return value indicating there isn't an error. While some functions of FMan IM driver treat '0' as an error return value. Signed-off-by: Hou Zhiqiang Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - No change. V6: - No change. V5:

[U-Boot] [Patch V8 02/17] armv7/ls1021a: move ns_access to common file

2015-10-26 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch specific directory. Signed-off-by: Mingkai Hu Signed-off-by: Hou Zhiqiang Signed-off-by: Gong Qianyu --- V8: - No changes. V7: - Fix the macro for ls1021atwr

[U-Boot] [Patch V8 03/17] net/fm: Fix the endian issue to support both endianness platforms

2015-10-26 Thread Gong Qianyu
From: Hou Zhiqiang The Frame Manager(FMan) is a big-endian peripheral, so the registers, internal MURAM and BDs, which are allocated in main memory and used to communication between core and FMan, should be accessed in big-endian. The big-endian platforms can access them directly as the code impl

[U-Boot] [Patch V8 01/17] common/board_f.c: change the macro name and remove it for PPC platforms

2015-10-26 Thread Gong Qianyu
For most PPC platforms, they will call the first get_clocks() in init_sequence_f[] as they define CONFIG_PPC. CONFIG_SYS_FSL_CLK is then defined to call the second get_clocks(), which should be redundant for PPC. Signed-off-by: Gong Qianyu --- V8: - New patch. Base on latest U-Boot code. commo

[U-Boot] [Patch V8 00/17] add LS1043A platform support

2015-10-26 Thread Gong Qianyu
Hi all, Here are the changes for V8 patchset. Please help to review them. - Update the patch based on the latest U-Boot code. - Remove "net/fm/eth: Use mb() to be compatible for both ARM" [Patch V8 01/17] common/board_f.c: change the macro name and remove [Patch V8 02/17] armv7/ls1021a: move n

Re: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset()

2015-10-26 Thread Albert ARIBAUD
Hello Ian, On Mon, 26 Oct 2015 10:07:24 +, Ian Campbell wrote: > On Sun, 2015-10-25 at 22:16 +0100, Albert ARIBAUD wrote: > > Hello Ian, > > > > On Sun, 25 Oct 2015 19:22:00 +, Ian Campbell > > wrote: > > > On Sun, 2015-10-25 at 14:22 +0100, Albert ARIBAUD wrote: > > > > On Sun, 25 Oct

Re: [U-Boot] [PATCH] vexpress64: use 2nd DRAM bank only on juno

2015-10-26 Thread Liviu Dudau
On Fri, Oct 23, 2015 at 04:47:04PM +0100, Ryan Harkin wrote: > This patch makes the 2nd DRAM bank available on Juno only and not on > other vexpress64 targets, eg. the FVP models. > > The commit below added a 2nd bank of NOR flash for Juno, but also for > all vexpress64 targets: > > commit 2d

[U-Boot] u-boot hangs

2015-10-26 Thread Andrea Di Chiara
Hi, I'm working on a var-som-mx6 board with an original kernel version 3.0.35 that I have updated to a 3.14.28 version builded with Yocto Dizzy. It seems all ok but, sometimes, after software or hardware reboot the system hangs on u-boot. It seems some issue with environment variables cause, when

[U-Boot] turn-off verbose in U-boot 2013.01

2015-10-26 Thread ian c
Hi Experts, I am new to U-boot. I would like to run u-boot 2013.01 in silent mode. Could you possibly tell me how to set the uboot into silent mode? I would appreciate for your quick reply. Thanks. -ian ___ U-Boo

[U-Boot] [PATCH v2] vexpress64: use 2nd DRAM bank only on juno

2015-10-26 Thread Ryan Harkin
This patch makes the 2nd DRAM bank available on Juno only and not on other vexpress64 targets, eg. the FVP models. The commit below added a 2nd bank of NOR flash for Juno, but also for all vexpress64 targets: commit 2d0cee1ca2b9d977fa3214896bb2e30cfec77059 Author: Liviu Dudau Date:

Re: [U-Boot] [PATCH v5 14/23] spi: ti_qspi: Use BIT macro

2015-10-26 Thread Vignesh R
On 10/24/2015 09:09 AM, Jagan Teki wrote: > Replace numerical bit shift with BIT macro > in ti_qspi > > :%s/(1 << nr)/BIT(nr)/g > where nr = 0, 1, 2 31 > > Cc: Vignesh R > Reviewed-by: Tom Rini > Signed-off-by: Jagan Teki > --- Acked-by: Vignesh R > drivers/spi/ti_qspi.c | 10 +-

Re: [U-Boot] [PATCH] vexpress64: use 2nd DRAM bank only on juno

2015-10-26 Thread Ryan Harkin
On 26 October 2015 at 10:18, Liviu Dudau wrote: > On Fri, Oct 23, 2015 at 04:47:04PM +0100, Ryan Harkin wrote: >> This patch makes the 2nd DRAM bank available on Juno only and not on >> other vexpress64 targets, eg. the FVP models. >> >> The commit below added a 2nd bank of NOR flash for Juno, but

Re: [U-Boot] [PATCH 03/13] compat: Remove is_power_of_2() definition

2015-10-26 Thread Heiko Schocher
Hello Fabio, Am 26.10.2015 um 11:22 schrieb Fabio Estevam: Hi Heiko, On Mon, Oct 26, 2015 at 3:11 AM, Heiko Schocher wrote: diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 41763a1..eaae5fb 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -31,7 +31,7 @@ #include #include

Re: [U-Boot] [PATCH 03/13] compat: Remove is_power_of_2() definition

2015-10-26 Thread Fabio Estevam
Hi Heiko, On Mon, Oct 26, 2015 at 3:11 AM, Heiko Schocher wrote: >> diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c >> index 41763a1..eaae5fb 100644 >> --- a/fs/ubifs/super.c >> +++ b/fs/ubifs/super.c >> @@ -31,7 +31,7 @@ >> #include >> #include >> #include >> -#include >> +#include

Re: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset()

2015-10-26 Thread Ian Campbell
On Sun, 2015-10-25 at 22:16 +0100, Albert ARIBAUD wrote: > Hello Ian, > > On Sun, 25 Oct 2015 19:22:00 +, Ian Campbell > wrote: > > On Sun, 2015-10-25 at 14:22 +0100, Albert ARIBAUD wrote: > > > On Sun, 25 Oct 2015 12:40:45 +, Ian Campbell > > > > Doesn't the bool return type already caus

Re: [U-Boot] [PATCH 1/3] arm: mvebu: a38x: Remove unsupported topologies

2015-10-26 Thread Stefan Roese
On 23.10.2015 19:53, Kevin Smith wrote: A lot of extra configuration information was left over in the Marvell serdes and DDR3 initialization code for boards that U-boot does not support. Remove this extra config information, and the concept of fixing up board topologies with information loaded f

[U-Boot] [PATCH] nios2: add memory to board info

2015-10-26 Thread Thomas Chou
Run setup_board_part1/2 and add memory information to board info structure. So that it can display correct values in bdinfo command. Signed-off-by: Thomas Chou --- common/board_f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index d

Re: [U-Boot] [PATCH] ARM: at91: sama5: change the environment address to 0x6000

2015-10-26 Thread Josh Wu
Hi, Bo On 10/26/2015 2:43 PM, Bo Shen wrote: Hi Josh, On 10/23/2015 17:18 PM, Josh Wu wrote: As sama5 board has 32k sram size, so the at91bootstrap and spl for sama5 boards is bigger than 16k (0x4000). That will overlap the U-Boot Just curious about from which commit the spl binary size bigg

[U-Boot] [PATCH v2] arm: socfpga: Add SoCFPGA SR1500 board

2015-10-26 Thread Stefan Roese
The SR1500 board is a CycloneV based board, similar to the EBV SoCrates, equipped with the following devices: - SPI NOR - eMMC - Ethernet Signed-off-by: Stefan Roese Cc: Marek Vasut Cc: Pavel Machek Cc: Dinh Nguyen --- v2: - Addressed various review comments from Marek: - Added chapter about

[U-Boot] Pull request: u-boot-ubi/master

2015-10-26 Thread Heiko Schocher
Hello Tom I think, it is good to have the sync ubi/ubifs with linux 4.2 patches as fast as possible in mainline, so we have time to get feedback if it works on other boards too, so: please pull from u-boot-ubi master The following changes since commit 677f970bc62a661690b3431543d5a5d5e682ba70:

Re: [U-Boot] [PATCH] arm: socfpga: Add SoCFPGA SR1500 board

2015-10-26 Thread Stefan Roese
Hi Marek, On 23.10.2015 20:40, Marek Vasut wrote: On Friday, October 23, 2015 at 09:26:53 AM, Stefan Roese wrote: The SR1500 Does SR mean Stefan Roese ? :-) Not really. I had no influence on this board naming. But I really like it! ;) Anyway, shouldn't you place this device under board/ve

Re: [U-Boot] [Patch V7 04/18] net/fm/eth: Use mb() to be compatible for both ARM and PowerPC

2015-10-26 Thread Gong Q . Y .
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, October 23, 2015 9:42 PM > To: Hou Zhiqiang-B48286 > Cc: Gong Qianyu-B52263; u-boot@lists.denx.de; Hu Mingkai-B21284; Sun > York-R58495; Xie Shaohui-B21989; Song Wenbin-B53747; Kushwaha Prabhakar- > B32579; Wang Huan-B18965 > S

  1   2   >