[U-Boot] [PATCH v2 2/8] net: asix: fix operation without eeprom

2015-07-08 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining parts initially implemented by Antmicro. Signed-off-by: Marcel

[U-Boot] [PATCH v2 5/8] colibri_vf: remove spurious new line

2015-07-08 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com Remove spurious new line in configuration file. Signed-off-by: Marcel Ziswiler marcel.ziswi...@toradex.com Tested-by: Marek Vasut ma...@denx.de Acked-by: Marek Vasut ma...@denx.de --- Changes in v2: none include/configs/colibri_vf.h | 1 - 1

[U-Boot] [PATCH v2 3/8] generic-board: allow showing custom board info

2015-07-08 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed not taking any CONFIG_CUSTOM_BOARDINFO into account. Signed-off-by:

[U-Boot] [PATCH v2 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-07-08 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108 ERROR: v7_dcache_inval_range -

[U-Boot] [PATCH v2 6/8] image-fdt.c: store returned error value

2015-07-08 Thread Marcel Ziswiler
From: Max Krummenacher max.krummenac...@toradex.com This fixes the following warning (and the runtime error reporting): ../common/image-fdt.c:491:4: warning: 'fdt_ret' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Max Krummenacher max.krummenac...@toradex.com

[U-Boot] [PATCH v2 8/8] tftp.c: fix CONFIG_TFTP_TSIZE for small files

2015-07-08 Thread Marcel Ziswiler
From: Max Krummenacher max.krummenac...@toradex.com CONFIG_TFTP_TSIZE should limit a tftp downloads progress to 50 '#' chars. Make this work also for small files. If the file size is small, i.e. smaller than 2 tftp block sizes the number of '#' can get much larger. i.e. with a 1 byte file 65000

[U-Boot] [PATCH v2 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-07-08 Thread Marcel Ziswiler
From: Max Krummenacher max.krummenac...@toradex.com http://lists.denx.de/pipermail/u-boot/2012-September/134347.html allows for reading files in chunks from the shell. When this feature is used to read past the end of a file an error was returned instead of returning the bytes read up to the end

[U-Boot] [PATCH v2 0/8] assortment of fixes/enhancements

2015-07-08 Thread Marcel Ziswiler
From: Marcel Ziswiler marcel.ziswi...@toradex.com This patch set is an assortment of fixes/enhancements distilled straight from our downstream integration work. Marcel Ziswiler (4): net: asix: fix operation without eeprom generic-board: allow showing custom board info colibri_vf: remove

[U-Boot] [PATCH v2 4/8] logos: add Toradex logo

2015-07-08 Thread Marcel Ziswiler
From: Stefan Agner stefan.ag...@toradex.com Use the boot loader splash screen from WinCE which matches our wallpapers position wise. Although the logo is an 8-bit indexed BMP as well colours looked odd at first in U-Boot. After converting to full RGB palette and converting back to an indexed BMP

Re: [U-Boot] [PATCH v2] x86: baytrail: Configure FSP UPD from device tree

2015-07-08 Thread Andrew Bradford
Hi Bin, On 07/08 11:18, Bin Meng wrote: Hi Andrew, On Wed, Jul 8, 2015 at 3:16 AM, and...@bradfordembedded.com wrote: From: Andrew Bradford andrew.bradf...@kodakalaris.com Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built

Re: [U-Boot] [PATCH 1/3] dm: serial: Do not panic if no serial ports are found

2015-07-08 Thread Hans de Goede
Hi Simon, On 07-07-15 09:00, Hans de Goede wrote: Hi, On 06-07-15 18:39, Simon Glass wrote: Hi Hans, On 5 July 2015 at 12:56, Hans de Goede hdego...@redhat.com wrote: Some boards simply do not have any serial ports. Also no one will see the panic message as there is no where to print it if

Re: [U-Boot] [PATCH 1/2] pci: Add function to find an extended capability

2015-07-08 Thread Bin Meng
Hi Minghuan, On Tue, Jul 7, 2015 at 7:55 PM, Minghuan Lian minghuan.l...@freescale.com wrote: PCIe extends device's configuration space to 4k and provides extended capability. The patch adds function to find them. The code is ported from Linux PCIe driver. Signed-off-by: Minghuan Lian

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Albert ARIBAUD
Hello Sharma, On Wed, 8 Jul 2015 07:31:47 +, Sharma Bhupesh bhupesh.sha...@freescale.com wrote: -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wang Haikun On 7/8/2015 3:13 PM, Bin Meng wrote: Hi, On Wed, Jul 8, 2015 at 2:51 PM, Wang

Re: [U-Boot] warning: override: reassigning to symbol OF_CONTROL

2015-07-08 Thread Bin Meng
On Wed, Jul 8, 2015 at 5:05 PM, Bin Meng bmeng...@gmail.com wrote: Hi Simon, I've rebased my git repo on u-boot-x86/master branch and found one warning popped up: $ make crownbay_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Sharma Bhupesh
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wang Haikun On 7/8/2015 3:13 PM, Bin Meng wrote: Hi, On Wed, Jul 8, 2015 at 2:51 PM, Wang Haikun haikun.w...@freescale.com wrote: On 6/26/2015 7:53 PM, Haikun Wang wrote: From: Haikun Wang

Re: [U-Boot] [PATCH 1/2] pci: Add function to find an extended capability

2015-07-08 Thread Lian M . H .
Hi Bin, Thanks for your comments. Please see my reply inline. -Original Message- From: Bin Meng [mailto:bmeng...@gmail.com] Sent: Wednesday, July 08, 2015 4:14 PM To: Lian Minghuan-B31939 Cc: U-Boot Mailing List; Hu Mingkai-B21284; Sun York-R58495 Subject: Re: [U-Boot] [PATCH 1/2]

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Sharma Bhupesh
Hi Albert -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Wednesday, July 08, 2015 2:50 PM To: Sharma Bhupesh-B45370 Cc: Wang Haikun-B53464; Bin Meng; Russell King; Mark Rutland; Sun York- R58495; Kushwaha Prabhakar-B32579; u-boot@lists.denx.de

[U-Boot] warning: override: reassigning to symbol OF_CONTROL

2015-07-08 Thread Bin Meng
Hi Simon, I've rebased my git repo on u-boot-x86/master branch and found one warning popped up: $ make crownbay_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED

Re: [U-Boot] [PATCH v2 2/8] net: asix: fix operation without eeprom

2015-07-08 Thread Marek Vasut
On Wednesday, July 08, 2015 at 01:58:47 PM, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com This patch fixes operation of our on-board AX88772B chip without EEPROM but with a ethaddr coming from the regular U-Boot environment. This is a forward port of some remaining

Re: [U-Boot] [PATCH v2 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-07-08 Thread Simon Glass
On 8 July 2015 at 05:58, Marcel Ziswiler mar...@ziswiler.com wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range -

Re: [U-Boot] [PATCH v2 3/8] generic-board: allow showing custom board info

2015-07-08 Thread Simon Glass
On 8 July 2015 at 05:58, Marcel Ziswiler mar...@ziswiler.com wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Allow showing custom board info from a checkboard() function being implemented if CONFIG_CUSTOM_BOARDINFO is specified. Previously the device tree model was always displayed

[U-Boot] [PATCH] x86: Eliminate make defconfig warning for Crown Bay and Minnowmax

2015-07-08 Thread Bin Meng
Remove duplicated entry of OF_CONTROL in crownbay_defconfig and minnowmax_defconfig which causes a warning when making defconfig. The updated defconfig files are generated by 'make savedefconfig'. Signed-off-by: Bin Meng bmeng...@gmail.com --- configs/crownbay_defconfig | 14 ++

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Albert ARIBAUD
Hello Sharma, On Wed, 8 Jul 2015 10:31:45 +, Sharma Bhupesh bhupesh.sha...@freescale.com wrote: Hi Albert -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Wednesday, July 08, 2015 2:50 PM To: Sharma Bhupesh-B45370 Cc: Wang Haikun-B53464;

Re: [U-Boot] [PATCH v3 22/54] dm: Correct the missing method check in cpu_get_info()

2015-07-08 Thread Simon Glass
On 23 June 2015 at 15:38, Simon Glass s...@chromium.org wrote: This is checking the wrong method. Fix it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None drivers/cpu/cpu-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] imx: imximage: add new CHECK/CLR BIT command

2015-07-08 Thread Stefano Babic
Hi Peng, On 30/06/2015 10:02, Peng Fan wrote: The reason to add different commands but not one CHECK_DATA_COMMAND is that compatible with current implementation. Current DCD supports DATA 4 addr value. If want to use one CHECK_DATA_COMMAND to cover CHECK_BITS_SET/CLR, we need another

Re: [U-Boot] [PATCH 1/3] dm: serial: Do not panic if no serial ports are found

2015-07-08 Thread Simon Glass
+Masahiro Hi Hans, On 8 July 2015 at 05:56, Hans de Goede hdego...@redhat.com wrote: Hi Simon, On 07-07-15 09:00, Hans de Goede wrote: Hi, On 06-07-15 18:39, Simon Glass wrote: Hi Hans, On 5 July 2015 at 12:56, Hans de Goede hdego...@redhat.com wrote: Some boards simply do not have

Re: [U-Boot] [PATCH v2 2/4] usb: s3c-otg: support 8-bit interface

2015-07-08 Thread Lukasz Majewski
Hi Steve, On 15-07-07 06:27 AM, Lukasz Majewski wrote: Hi Steve, Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None drivers/usb/gadget/s3c_udc_otg.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/s3c_udc_otg.c

Re: [U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-08 Thread Marek Vasut
On Wednesday, July 08, 2015 at 04:22:14 PM, Lukasz Majewski wrote: Hi Steve, Hi! b/drivers/usb/gadget/bcm_udc_otg.h new file mode 100644 index 000..81a1fc0 --- /dev/null +++ b/drivers/usb/gadget/bcm_udc_otg.h @@ -0,0 +1,17 @@ +/* + * Copyright 2015 Broadcom Corporation.

[U-Boot] Please pull u-boot-sunxi master (bugfix for v2015.07)

2015-07-08 Thread Hans de Goede
Hi Tom, One of the sunxi dts files for a new board got merged into the upstream kernel under a different name than that it was originally submitted with. This pull-req contains a single patch adjusting the name in u-boot, so that we do not end up shipping a u-boot which looks for a differently

Re: [U-Boot] [PATCH] sunxi: usb-phy: Never power off the usb ports

2015-07-08 Thread Marek Vasut
On Wednesday, July 08, 2015 at 04:54:07 PM, Hans de Goede wrote: USB devices are not really designed to get the power bounced off and on at them. Esp. USB powered harddisks do not like this. Currently we power off the USB ports both on a usb reset and when booting the kernel, causing the

Re: [U-Boot] [PATCH v3 00/25] dm: Introduce Rockchip RK3288 support

2015-07-08 Thread Simon Glass
+ML Hi Ulrich, On 7 July 2015 at 08:32, Ulrich Prinz ulrich.pr...@googlemail.com wrote: Am 24.06.2015 um 01:28 schrieb Simon Glass: The Rockchip RK3288 is based on a quad-core Cortex-A17 CPU and has a good set of peripherals. Various full-featured U-Boot ports are available and this is an

Re: [U-Boot] [PATCH 1/3] dm: serial: Do not panic if no serial ports are found

2015-07-08 Thread Hans de Goede
Hi, On 08-07-15 16:08, Simon Glass wrote: +Masahiro Hi Hans, On 8 July 2015 at 05:56, Hans de Goede hdego...@redhat.com wrote: Hi Simon, On 07-07-15 09:00, Hans de Goede wrote: Hi, On 06-07-15 18:39, Simon Glass wrote: Hi Hans, On 5 July 2015 at 12:56, Hans de Goede

Re: [U-Boot] [PATCH] sunxi: usb-phy: Never power off the usb ports

2015-07-08 Thread Ian Campbell
On Wed, 2015-07-08 at 16:54 +0200, Hans de Goede wrote: USB devices are not really designed to get the power bounced off and on at them. Esp. USB powered harddisks do not like this. Currently we power off the USB ports both on a usb reset and when booting the kernel, causing the usb-power to

[U-Boot] [PATCH] sunxi: usb-phy: Never power off the usb ports

2015-07-08 Thread Hans de Goede
USB devices are not really designed to get the power bounced off and on at them. Esp. USB powered harddisks do not like this. Currently we power off the USB ports both on a usb reset and when booting the kernel, causing the usb-power to bounce off and then back on again. This patch removes the

Re: [U-Boot] [PATCH v2 3/4] usb: gadget: bcm_udc_otg files

2015-07-08 Thread Lukasz Majewski
Hi Steve, Hi, Lukasz On 15-07-07 06:33 AM, Lukasz Majewski wrote: Hi Steve, From: JD (Jiandong) Zheng jdzh...@broadcom.com Add the required files for the Broadcom UDC OTG interface. Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v2: None

[U-Boot] [PATCH] keystone2: add wfi in to the core_spin loop

2015-07-08 Thread Vitaly Andrianov
When core A turning of core B, via tetris DPSC it places the core B DPSC into transitional state. The core B has to execute wfi instruction to move its DPSC to the OFF state. This patch add such instruction. Signed-off-by: Vitaly Andrianov vita...@ti.com --- arch/arm/mach-keystone/cmd_mon.c | 9

[U-Boot] [PATCH v2 4/6] mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller.

2015-07-08 Thread Peter Griffin
This patch adds the glue code for hi6220 SoC which has 2x synopsis dw_mmc controllers. This will be used by the hikey board support in subsequent patches. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/include/asm/arch-hi6220/dwmmc.h | 8 + drivers/mmc/Makefile

[U-Boot] [PATCH v2 6/6] ARM64: hikey: Add a README for this board.

2015-07-08 Thread Peter Griffin
To help others with compiling and flashing ATF and u-boot add a README for this board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- board/hisilicon/hikey/README | 160 +++ 1 file changed, 160 insertions(+) create mode 100644

[U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Vitaly Andrianov
K2L and L2E have different from K2HK EthSS version, which uses tag_info field for destination slave port. This commit adds the dest_port_info field to the struct pktdma_cfg, to configure which HD filed tag_info or pkt_info shall be used to configure descriptor. Before that commit the swinfo[2]

[U-Boot] [PATCH v2 1/6] dm: gpio: hi6220: Add a hi6220 GPIO driver model driver.

2015-07-08 Thread Peter Griffin
This patch adds support for the GPIO perif found on hi6220 SoC. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/include/asm/arch-hi6220/gpio.h | 29 ++ drivers/gpio/Makefile | 2 + drivers/gpio/hi6220_gpio.c | 95

[U-Boot] [PATCH v2 0/6] Add support for hi6220 SoC and HiKey 96boards CE board.

2015-07-08 Thread Peter Griffin
Hi Folks, This series adds support for the first 96boards consumer edition HiKey board. More information can be found about this board at the following link https://www.96boards.org/products/hikey/. This initial port adds support for: - 1) Serial 2) eMMC and sd card 3) USB 4) GPIO It has been

[U-Boot] [PATCH] keystone2: add high memory test

2015-07-08 Thread Vitaly Andrianov
Keystone2 SOC physical DDR3 address range is outside the first 4GB and cannot be entirely accessible without MMU enabled. Only first 2GB of the physical memory have 32-bits aliased addresses. This patch adds u-boot shell command that allows to enable/disable MMU and map the 1GB of 36bits physical

[U-Boot] [PATCH] keystone2: net: add mcast function to keyston2 Ethernet driver

2015-07-08 Thread Vitaly Andrianov
The MCAST_TFTP support requires that network drivers has mcast functon implemented. This commit adds dummy keystone2_eth_bcast_addr() to meet the requirement. As far as the driver doesn't use ALE and doesn't filter any incoming packets, the function is empty. Signed-off-by: Vitaly Andrianov

[U-Boot] [PATCH v2 3/6] hi6553: Add register definition and bitfield header for 6553 pmic

2015-07-08 Thread Peter Griffin
This pmic is used on the 96boards consumer edition HiKey board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/include/asm/arch-hi6220/hi6553.h | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 arch/arm/include/asm/arch-hi6220/hi6553.h

[U-Boot] [PATCH v2 5/6] ARM64: hikey: hi6220: Add u-boot support for the 96boards CE HiKey board.

2015-07-08 Thread Peter Griffin
HiKey is the first 96boards consumer edition compliant board. It features a hi6220 SoC which has eight ARM A53 cpu's. This initial port adds support for: - 1) Serial 2) eMMC / sd card 3) USB 4) GPIO It has been tested with Arm Trusted Firmware running u-boot as the BL33 executable. Notes:

[U-Boot] [PATCH v2 2/6] ARM: hi6220: Add register and bitfield definition header files.

2015-07-08 Thread Peter Griffin
This patch adds the header files which will be used in the subsquent board / drivers to enable support for hi6220 hikey board. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/include/asm/arch-hi6220/hi6220.h | 324 +++

Re: [U-Boot] [RFC PATCH 12/12] devres: add debug command to dump devres

2015-07-08 Thread Masahiro Yamada
2015-07-08 13:29 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: diff --git a/drivers/core/devres.c b/drivers/core/devres.c index f24bcac..71f2f67 100644 --- a/drivers/core/devres.c +++ b/drivers/core/devres.c @@ -13,6 +13,7 @@ #include linux/kernel.h #include linux/list.h

Re: [U-Boot] [PATCH v3 17/25] rockchip: rk3288: Add pinctrl driver

2015-07-08 Thread Masahiro Yamada
Hi Simon, 2015-07-07 2:32 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 6 July 2015 at 11:24, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, 2015-06-24 8:29 GMT+09:00 Simon Glass s...@chromium.org: + +static int rk3288_pinctrl_get_periph_id(struct

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Vitaly Andrianov
On 07/08/2015 01:50 PM, ivan.khoronzhuk wrote: Vitaly, On 08.07.15 20:26, Vitaly Andrianov wrote: On 07/08/2015 01:05 PM, Ivan Khoronzhuk wrote: Vitaly, On 08.07.15 20:05, Vitaly Andrianov wrote: On 07/08/2015 12:38 PM, Ivan Khoronzhuk wrote: Hi, Vitaly I suppose it's better to

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Vitaly Andrianov
On 07/08/2015 12:38 PM, Ivan Khoronzhuk wrote: Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communicating between different IPs, and each of them decide how to

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Vitaly Andrianov
On 07/08/2015 01:05 PM, Ivan Khoronzhuk wrote: Vitaly, On 08.07.15 20:05, Vitaly Andrianov wrote: On 07/08/2015 12:38 PM, Ivan Khoronzhuk wrote: Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator

Re: [U-Boot] Please pull u-boot-sunxi master (bugfix for v2015.07)

2015-07-08 Thread Tom Rini
On Wed, Jul 08, 2015 at 04:52:43PM +0200, Hans de Goede wrote: Hi Tom, One of the sunxi dts files for a new board got merged into the upstream kernel under a different name than that it was originally submitted with. This pull-req contains a single patch adjusting the name in u-boot, so

Re: [U-Boot] net: designware: Program MAC address to hardware after soft reset

2015-07-08 Thread Tom Rini
On Mon, Jun 15, 2015 at 06:40:19PM +0800, Bin Meng wrote: commit f566c99 net: Update hardware MAC address if it changes in env removes writing MAC address to designware controller after soft reset. This makes designware ethernet port fail to work. Actually the MAC address should always be

Re: [U-Boot] [PATCH 1/1] net: lpc32xx: improve download rate in RMII phy mode

2015-07-08 Thread LEMIEUX, SYLVAIN
Hi Vladimir, Thanks for taking the time to test this patch. After further investigation, the issue was with our internal Micrel KSZ8031RNL phy implementation. The extra 10ms delay is not require. This patch should be discard. Thanks for the feedback regarding the mail system; - for an internal

Re: [U-Boot] [PATCH] sunxi: usb-phy: Never power off the usb ports

2015-07-08 Thread Hans de Goede
Hi, On 08-07-15 17:02, Marek Vasut wrote: On Wednesday, July 08, 2015 at 04:54:07 PM, Hans de Goede wrote: USB devices are not really designed to get the power bounced off and on at them. Esp. USB powered harddisks do not like this. Currently we power off the USB ports both on a usb reset and

Re: [U-Boot] [PATCH 0/5] dcache support for Raspberry Pi 1

2015-07-08 Thread Alexander Stein
Hello Albert, On Monday 06 July 2015, 23:26:41 wrote Albert ARIBAUD: On Mon, 06 Jul 2015 20:24:31 +0200, Alexander Stein alexander...@web.de wrote: Hello Albert, On Monday 06 July 2015, 09:39:40 wrote Albert ARIBAUD: On Sat, 4 Jul 2015 11:48:39 +0200, Alexander Stein

[U-Boot] [PATCH 2/3] crypto/fsl: fix snooping for write transactions

2015-07-08 Thread Horia Geantă
HW coherency won't work properly for CAAM write transactions if AWCACHE is left to default (POR) value - 4'b0001. It has to be programmed to 4'b0010. For platforms that have HW coherency support: -PPC-based: the update has no effect; CAAM coherency already works due to the IOMMU (PAMU) driver

Re: [U-Boot] [PATCH 01/20] dm: net: Support usbethaddr environment variable

2015-07-08 Thread Simon Glass
+Hans Hi Joe, On 7 July 2015 at 22:04, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Tue, Jul 7, 2015 at 9:53 PM, Simon Glass s...@chromium.org wrote: For USB Ethernet devices we need to use the usbethaddr environment variable (instead of ethaddr) the Ethernet hardware

Re: [U-Boot] [PATCH 1/3] dm: serial: Do not panic if no serial ports are found

2015-07-08 Thread Simon Glass
Hi Hans, On 8 July 2015 at 08:16, Hans de Goede hdego...@redhat.com wrote: Hi, On 08-07-15 16:08, Simon Glass wrote: +Masahiro Hi Hans, On 8 July 2015 at 05:56, Hans de Goede hdego...@redhat.com wrote: Hi Simon, On 07-07-15 09:00, Hans de Goede wrote: Hi, On 06-07-15 18:39,

Re: [U-Boot] [PATCH] sunxi: usb-phy: Never power off the usb ports

2015-07-08 Thread Marek Vasut
On Wednesday, July 08, 2015 at 07:49:37 PM, Hans de Goede wrote: Hi, Hi! On 08-07-15 17:02, Marek Vasut wrote: On Wednesday, July 08, 2015 at 04:54:07 PM, Hans de Goede wrote: USB devices are not really designed to get the power bounced off and on at them. Esp. USB powered harddisks do

Re: [U-Boot] [PATCH 03/13] apalis/colibri_t20/t30: integrate recovery mode detection

2015-07-08 Thread Stephen Warren
On 07/07/2015 12:04 AM, Marcel Ziswiler wrote: On 6 July 2015 18:38:21 CEST, Simon Glass s...@chromium.org wrote: Out of interest, is this just a message for the user? Why is it useful? Well, we or customers might do other interesting things on entering rcm like stopping autoboot or

[U-Boot] [PATCH 3/3] crypto/fsl: clean-up - use fdt_setprop_u32 helper

2015-07-08 Thread Horia Geantă
Signed-off-by: Horia Geantă horia.gea...@freescale.com --- drivers/crypto/fsl/sec.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/crypto/fsl/sec.c b/drivers/crypto/fsl/sec.c index b25b1a4052d2..0940faf768cc 100644 --- a/drivers/crypto/fsl/sec.c +++

[U-Boot] [PATCH 1/3] crypto/fsl: fix era property value on LE platforms

2015-07-08 Thread Horia Geantă
Use fdt_setprop_u32() instead of fdt_setprop(). Fixes: 0181937fa371a (crypto/fsl: Add fixup for crypto node) Signed-off-by: Horia Geantă horia.gea...@freescale.com Reviewed-by: Mingkai Hu mingkai...@freescale.com --- drivers/crypto/fsl/sec.c | 3 +-- 1 file changed, 1 insertion(+), 2

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communicating between different IPs, and each of them decide how to use swinfo fields. It's protocol specific

Re: [U-Boot] [PATCH] x86: Eliminate make defconfig warning for Crown Bay and Minnowmax

2015-07-08 Thread Simon Glass
Hi Bin, On 8 July 2015 at 07:50, Bin Meng bmeng...@gmail.com wrote: Remove duplicated entry of OF_CONTROL in crownbay_defconfig and minnowmax_defconfig which causes a warning when making defconfig. The updated defconfig files are generated by 'make savedefconfig'. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
On 08.07.15 22:22, ivan.khoronzhuk wrote: Vitaly, On 08.07.15 21:28, Vitaly Andrianov wrote: On 07/08/2015 01:50 PM, ivan.khoronzhuk wrote: Vitaly, On 08.07.15 20:26, Vitaly Andrianov wrote: On 07/08/2015 01:05 PM, Ivan Khoronzhuk wrote: Vitaly, On 08.07.15 20:05, Vitaly Andrianov

Re: [U-Boot] [PATCH 01/20] dm: net: Support usbethaddr environment variable

2015-07-08 Thread Simon Glass
Hi Joe, On 8 July 2015 at 14:43, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Wed, Jul 8, 2015 at 3:31 PM, Simon Glass s...@chromium.org wrote: +Hans Hi Joe, On 7 July 2015 at 22:04, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Simon, On Tue, Jul 7, 2015 at 9:53

[U-Boot] [PATCH] dfu: Delete superfluous initialization of the dfu_buf_size static variable

2015-07-08 Thread Lukasz Majewski
After extension of the dfu_get_buf() to also setup (implicitly) the dfu_buf_size variable it is not needed to set dfu_buf_size to CONFIG_SYS_DFU_DATA_BUF_SIZE. This variable is set in the dfu_get_buf() by not only considering CONFIG_SYS_DFU_DATA_BUF but more importantly the dfu_bufsiz env

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communicating between different IPs, and each of them decide how to use swinfo fields. It's protocol specific

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread Ivan Khoronzhuk
Vitaly, On 08.07.15 20:05, Vitaly Andrianov wrote: On 07/08/2015 12:38 PM, Ivan Khoronzhuk wrote: Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like in drivers/net/keystone_net.c The keystone navigator supposed to be used as a tool for communicating

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread ivan.khoronzhuk
Vitaly, On 08.07.15 21:28, Vitaly Andrianov wrote: On 07/08/2015 01:50 PM, ivan.khoronzhuk wrote: Vitaly, On 08.07.15 20:26, Vitaly Andrianov wrote: On 07/08/2015 01:05 PM, Ivan Khoronzhuk wrote: Vitaly, On 08.07.15 20:05, Vitaly Andrianov wrote: On 07/08/2015 12:38 PM, Ivan

Re: [U-Boot] [PATCH] keystone2: use appropriate HD field for destination port

2015-07-08 Thread ivan.khoronzhuk
Vitaly, On 08.07.15 20:26, Vitaly Andrianov wrote: On 07/08/2015 01:05 PM, Ivan Khoronzhuk wrote: Vitaly, On 08.07.15 20:05, Vitaly Andrianov wrote: On 07/08/2015 12:38 PM, Ivan Khoronzhuk wrote: Hi, Vitaly I suppose it's better to decide in upper driver how to use swinfo field. Like

Re: [U-Boot] [PATCH v3 17/25] rockchip: rk3288: Add pinctrl driver

2015-07-08 Thread Simon Glass
Hi Masahiro, On 8 July 2015 at 03:35, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, 2015-07-07 2:32 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 6 July 2015 at 11:24, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, 2015-06-24 8:29

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Wang Haikun
On 6/26/2015 7:53 PM, Haikun Wang wrote: From: Haikun Wang haikun.w...@freescale.com Bring in required device tree files for ls2085a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Hi Simon, I got below comment when review this patch internal.

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Bin Meng
Hi, On Wed, Jul 8, 2015 at 2:51 PM, Wang Haikun haikun.w...@freescale.com wrote: On 6/26/2015 7:53 PM, Haikun Wang wrote: From: Haikun Wang haikun.w...@freescale.com Bring in required device tree files for ls2085a from Linux. These are initially unchanged and have a number of pieces not

Re: [U-Boot] [PATCH 1/3] dm: dts: ls2085a: Bring in ls2085a dts files from linux kernel

2015-07-08 Thread Wang Haikun
On 7/8/2015 3:13 PM, Bin Meng wrote: Hi, On Wed, Jul 8, 2015 at 2:51 PM, Wang Haikun haikun.w...@freescale.com wrote: On 6/26/2015 7:53 PM, Haikun Wang wrote: From: Haikun Wang haikun.w...@freescale.com Bring in required device tree files for ls2085a from Linux. These are initially

Re: [U-Boot] [PATCH 2/8] net: asix: fix operation without eeprom

2015-07-08 Thread Marcel Ziswiler
Hi Joe On 8 July 2015 05:55:28 CEST, Joe Hershberger joe.hershber...@gmail.com wrote: Definitely use checkpatch.pl on this series. Yeah, it's been late and I somehow forgot about it. I already run v2 about to be posted through it now. I recommend patman. So far I have not used that one yet

Re: [U-Boot] [PATCH 1/3] arm: baltos: enable CMD_NET and FIT support in defconfig

2015-07-08 Thread Yegor Yefremov
On Wed, Jul 8, 2015 at 12:54 AM, Simon Glass s...@chromium.org wrote: On 6 July 2015 at 09:28, Yegor Yefremov yegorsli...@googlemail.com wrote: Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- configs/am335x_baltos_defconfig | 4 ++-- include/configs/baltos.h| 2 -- 2

Re: [U-Boot] hang: ARM64/Relocating u-boot from u-boot

2015-07-08 Thread Albert ARIBAUD
Hello Wolfgang, On Wed, 08 Jul 2015 00:36:52 +0200, Wolfgang Denk w...@denx.de wrote: Dear Jagan, In message CAD6G_RQnrBWyPp1CyiDxkZ4vme4PB5fNHDX-f2Sf=9cvrod...@mail.gmail.com you wrote: I'm running u-boot from u-boot prompt, just like a standalone application with

Re: [U-Boot] [PATCH 13/13] apalis/colibri_t20/t30: increase tftp blocksize

2015-07-08 Thread Stephen Warren
On 07/06/2015 02:20 AM, Marcel Ziswiler wrote: From: Max Krummenacher max.krummenac...@toradex.com Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty

Re: [U-Boot] [PATCH 0/5] dcache support for Raspberry Pi 1

2015-07-08 Thread Albert ARIBAUD
Hello Alexander, On Wed, 08 Jul 2015 20:15:42 +0200, Alexander Stein alexander...@web.de wrote: Hello Albert, On Monday 06 July 2015, 23:26:41 wrote Albert ARIBAUD: On Mon, 06 Jul 2015 20:24:31 +0200, Alexander Stein alexander...@web.de wrote: Hello Albert, On Monday 06 July

[U-Boot] [PATCH] ls1021a: etsec: Enable Tx Data and TxBD snooping

2015-07-08 Thread Alison Wang
To improve eTSEC performance on LS1021A Rev2.0, snooping of all transmit frames from memory and all transmit BD memory accesses in enabled. Signed-off-by: Alison Wang alison.w...@freescale.com --- include/tsec.h | 4 1 file changed, 4 deletions(-) diff --git a/include/tsec.h

[U-Boot] [PATCH] arm: ls1021a: allow OCRAM access permission as R/W in SPL

2015-07-08 Thread Alison Wang
On LS1021A Rev2.0, OCRAM's security level needs to be changed to non-secure access for SD boot. This patch will allow OCRAM access permission as R/W in SPL. Signed-off-by: Alison Wang alison.w...@freescale.com --- board/freescale/ls1021aqds/ls1021aqds.c | 178 +---

Re: [U-Boot] [PATCH v2 4/6] mmc: hi6220_dw_mmc: Add hi6220 glue code for dw_mmc controller.

2015-07-08 Thread Jaehoon Chung
On 07/09/2015 12:57 AM, Peter Griffin wrote: This patch adds the glue code for hi6220 SoC which has 2x synopsis dw_mmc controllers. This will be used by the hikey board support in subsequent patches. Signed-off-by: Peter Griffin peter.grif...@linaro.org ---

Re: [U-Boot] [RFC PATCH 06/12] devres: introduce Devres (Managed Device Resource) framework

2015-07-08 Thread Masahiro Yamada
Hi Simon, 2015-07-09 9:22 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: In U-Boot's driver model, memory is basically allocated and freed in the core framework. So, low level drivers generally only have

[U-Boot] [PATCH] thermal: imx_thermal: fix busywait if IMX6 temp 0C

2015-07-08 Thread Tim Harvey
The temperature calculation must be typecasted to keep the compiler from sign extending a negative value prior to division. This fixes an issue where if the CPU temperature is 0C it will get stuck in the busywait loop until the CPU heats up to 0C. Cc: Ye Li b37...@freescale.com Cc: Jason Liu

Re: [U-Boot] [PATCH] x86: Eliminate make defconfig warning for Crown Bay and Minnowmax

2015-07-08 Thread Simon Glass
Hi Bin, On 8 July 2015 at 18:17, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Thu, Jul 9, 2015 at 4:28 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 8 July 2015 at 07:50, Bin Meng bmeng...@gmail.com wrote: Remove duplicated entry of OF_CONTROL in crownbay_defconfig and

Re: [U-Boot] [PATCH RESEND 0/7] spi: cadence_qspi: optimize fix indirect rd-writes

2015-07-08 Thread Vikas MANOCHA
Hi Stefan, -Original Message- From: Vikas MANOCHA Sent: Wednesday, July 01, 2015 9:25 AM To: 'Stefan Roese' Cc: 'u-boot@lists.denx.de'; 'grmo...@opensource.altera.com'; 'dingu...@opensource.altera.com'; 'jt...@openedev.com' Subject: RE: [PATCH RESEND 0/7] spi: cadence_qspi:

Re: [U-Boot] [U-Boot, v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-08 Thread Tom Rini
On Tue, Jul 07, 2015 at 03:48:26PM +0800, tang yuantian wrote: From: Tang Yuantian yuantian.t...@freescale.com When compling under 64bit platforms, there are lots of warnings, like: drivers/block/ahci.c:114:18: warning: cast to pointer from integer of different size

Re: [U-Boot] [PATCH v2 7/8] mtd/nand/ubi: assortment of alignment fixes

2015-07-08 Thread Scott Wood
On Wed, 2015-07-08 at 13:58 +0200, Marcel Ziswiler wrote: From: Marcel Ziswiler marcel.ziswi...@toradex.com Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer alignment into account which led to failures of the following form: ERROR: v7_dcache_inval_range - start

Re: [U-Boot] [PATCH] thermal:imx_thermal: enter busywait cooling loop when over max CPU temp

2015-07-08 Thread Tim Harvey
On Tue, Jun 9, 2015 at 6:40 AM, Tim Harvey thar...@gateworks.com wrote: Remove the check for temperature being within the min/max range and enter the busywait cooling loop whenever the CPU temperature is over the critical temp. This fixes the issue where if a board was booted at a temp greater

Re: [U-Boot] [PATCH] x86: Eliminate make defconfig warning for Crown Bay and Minnowmax

2015-07-08 Thread Bin Meng
Hi Simon, On Thu, Jul 9, 2015 at 4:28 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 8 July 2015 at 07:50, Bin Meng bmeng...@gmail.com wrote: Remove duplicated entry of OF_CONTROL in crownbay_defconfig and minnowmax_defconfig which causes a warning when making defconfig. The updated

Re: [U-Boot] [RFC PATCH 02/12] linux_compat: remove cpu_relax() define

2015-07-08 Thread Simon Glass
On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: The macro cpu_relax() is defined by several headers in different ways. arch/{arm,avr32,mips}/include/asm/processor.h defines it as follows: #define cpu_relax() barrier() On the other hand,

Re: [U-Boot] [RFC PATCH 04/12] linux_compat: handle __GFP_ZERO in kmalloc()

2015-07-08 Thread Simon Glass
On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: Currently, kzalloc() returns zero-filled memory, while kmalloc() simply ignores the second argument and never fills the memory area with zeros. I want kmalloc(size, __GFP_ZERO) to behave as kzalloc() does, which

Re: [U-Boot] [RFC PATCH 06/12] devres: introduce Devres (Managed Device Resource) framework

2015-07-08 Thread Simon Glass
Hi Masahiro, On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: In U-Boot's driver model, memory is basically allocated and freed in the core framework. So, low level drivers generally only have to specify the size of needed memory with .priv_auto_alloc_size,

Re: [U-Boot] [RFC PATCH 07/12] devres: add devm_kmalloc() and friends (managed memory allocation)

2015-07-08 Thread Simon Glass
On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: devm_kmalloc() is identical to kmalloc() except that the memory allocated with it is managed and will be automatically released when the device is removed/unbound. Likewise for the other variants. Signed-off-by:

Re: [U-Boot] [RFC PATCH 01/12] x86: delete unneeded declarations of disable_irq() and enable_irq()

2015-07-08 Thread Simon Glass
On 7 July 2015 at 22:46, Bin Meng bmeng...@gmail.com wrote: On Wed, Jul 8, 2015 at 12:29 PM, Masahiro Yamada yamada.masah...@socionext.com wrote: These two declarations in arch/x86/include/asm/interrupt.h conflict with ones in include/linux/compat.h, so x86 boards cannot include

Re: [U-Boot] [RFC PATCH 03/12] linux_compat: move vzalloc() to header file as an inline function

2015-07-08 Thread Simon Glass
On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: The vzalloc(size) is equivalent to kzalloc(size, 0). Move it to include/linux/compat.h as an inline function in order to avoid the function call overhead. Signed-off-by: Masahiro Yamada

Re: [U-Boot] [RFC PATCH 05/12] dm: add DM_FLAG_BOUND flag

2015-07-08 Thread Simon Glass
Hi Masahiro, On 7 July 2015 at 22:29, Masahiro Yamada yamada.masah...@socionext.com wrote: Currently, we only have DM_FLAG_ACTIVATED to indicate the device status, but we still cannot know in which stage is in progress, binding or probing. This commit introduces a new flag, DM_FLAG_BOUND,

Re: [U-Boot] [RFC PATCH 06/12] devres: introduce Devres (Managed Device Resource) framework

2015-07-08 Thread Albert ARIBAUD
Hello Masahiro, On Thu, 9 Jul 2015 14:16:33 +0900, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, 3. How do we handle things like gpio_exynos_bind() which allocs some data and passes it to a device it creates, as platform data? At present we don't free it. So,

  1   2   >