[U-Boot] [PATCH 4/4] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-27 Thread Hans de Goede
vbus-usable may not get set if power is provided through both the power barrel connector and external 5v is also present on the otg connector, at least on boards where vbus is also controlled through the axp221-pmic. One way to reproduce this is to bootup an Ippo-q8h board with a usb-host cable pl

[U-Boot] [PATCH] usb: dwc2: detect device speed correctly

2015-03-27 Thread Stephen Warren
This doesn't make my LS keyboard work any better, but it does at least report the correct speed in "usb tree". Signed-off-by: Stephen Warren --- drivers/usb/host/dwc2.c | 6 +- drivers/usb/host/dwc2.h | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/dwc

Re: [U-Boot] [PATCH v2] mii: add read-modify-write option to mii command

2015-03-27 Thread Joe Hershberger
Hi Tim, On Wed, Mar 25, 2015 at 6:55 AM, Tim James wrote: > > When accessing PHY registers it is often desirable to only update > selected bits, so it is necessary to first read the current value > before writing back an modified value with the relevant bits > updated. > > To simplify this and to

Re: [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX

2015-03-27 Thread Joe Hershberger
Hi Luca, On Tue, Mar 24, 2015 at 5:32 AM, Luca Ellero wrote: > > This patch adds a support for KSZ8081MNX in MII mode. > > Signed-off-by: Luca Ellero Applied to net/next, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailma

[U-Boot] [PATCH 1/4] sunxi: musb: Fix some lo speed devices not working with musb host

2015-03-27 Thread Hans de Goede
The usb0 / otg phy on sunxi boards has a bug where it wrongly detects a high speed squelch on usb reset deassert when a lo speed device is plugged in. The android kernel has a work around for this in the form of temporary disabling the phy's squelch detection on reset deassert, this commit adds th

[U-Boot] [PATCH 3/4] sunxi: usbc: Wait for vbus to fall after disabling it

2015-03-27 Thread Hans de Goede
When u-boot boots the board may be powering vbus, we turn off vbus in sunxi_usbc_request_resources, if we are too quick with reading vusb-detect after this we may see a residual charge and assume we've an external vusb connected even though we do not. So when we see an external vusb wait a bit and

[U-Boot] [PATCH 2/4] sunxi: usbc: Initialize vusb value on request_resources

2015-03-27 Thread Hans de Goede
On boards which use the pmic to enable/disable vbus on the otg port, the vbus value is not reset to 0 on reset, as reset only resets the SoC and not the pmic, so explicitly set vbus to 0 on init (request_resources) by moving the gpio_direction_output call into request_resources. For consistency al

Re: [U-Boot] [PATCHv2 15/20] arm: socfpga: spl: adjust SPL_MALLOC_SIZE to 256

2015-03-27 Thread Dinh Nguyen
Hi Marek, On 03/04/2015 07:16 AM, Marek Vasut wrote: > On Monday, March 02, 2015 at 05:28:03 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Signed-off-by: Dinh Nguyen > > Why did you do this change please ? > Sorry that it's taken me a while to get back to you on this

[U-Boot] [PATCH 0/4] sunxi: various musb host related fixes

2015-03-27 Thread Hans de Goede
Hi All, Here is a bunch of sunxi musb fixes, note I plan to send a pull-req for the first patch for inclusion in v2015.04 as soon as it is acked, the other 3 depend on the axp vbus-det / vbus-ctrl -> gpio changes currently in next, and since they fix only a few corner cases I plan to add them to n

[U-Boot] [PATCH] Fix compiler error when build common/cmd_gpio.c for mpc85xx (p1020) when CONFIG_CMD_GPIO is defined

2015-03-27 Thread Oleksandr G Zhadan
From 33dc654a90fd648d070513d640b161fcd3eda9bd Mon Sep 17 00:00:00 2001 From: Oleksandr Zhadan Date: Fri, 27 Mar 2015 16:59:11 -0400 Fix compiler error when build common/cmd_gpio.c for mpc85xx (p1020) when CONFIG_CMD_GPIO is defined and incompatibility in functions gpio_free() and gpio_set_valu

Re: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

2015-03-27 Thread Hans de Goede
Hi, On 23-03-15 17:38, Hans de Goede wrote: Hi, On 23-03-15 17:33, Paul Kocialkowski wrote: Le lundi 23 mars 2015 à 17:28 +0100, Hans de Goede a écrit : vbus-usable does not get set if power is provided through the power barrel connector, even if external 5v is also present on the otg connect

Re: [U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on

2015-03-27 Thread Masahiro Yamada
Hi Tom, Can you apply this series to u-boot/master soon? It's got some Reviewed-by and Acked-by credits, and also, Alexey wants to use 5/7 to enable DM for ARC. Thanks. 2015-03-28 5:10 GMT+09:00 Alexey Brodkin : > Hello Masahiro-san, > > On Mon, 2015-03-23 at 15:33 -0600, Simon Glass wrote:

Re: [U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on

2015-03-27 Thread Alexey Brodkin
Hello Masahiro-san, On Mon, 2015-03-23 at 15:33 -0600, Simon Glass wrote: > On 19 March 2015 at 04:42, Masahiro Yamada > wrote: > > This option has a bool type, not hex. > > Fix it and enable it if CONFIG_DM is on because Driver Model always > > requires malloc memory. Devices are scanned twice,

Re: [U-Boot] [PATCH] arm: implement find_next_zero_bit function

2015-03-27 Thread Albert ARIBAUD
Hello Vitaly, On Fri, 27 Mar 2015 15:06:15 -0400, Vitaly Andrianov wrote: > Hello Albert, > > On 03/27/2015 11:54 AM, Albert ARIBAUD wrote: > > Hello Vitaly, > > > > On Wed, 11 Feb 2015 14:11:12 -0500, Vitaly Andrianov > > wrote: > >> > >> > >> On 02/05/2015 12:52 PM, Albert ARIBAUD wrote: > >>

Re: [U-Boot] [PATCH] arm: implement find_next_zero_bit function

2015-03-27 Thread Vitaly Andrianov
Hello Albert, On 03/27/2015 11:54 AM, Albert ARIBAUD wrote: Hello Vitaly, On Wed, 11 Feb 2015 14:11:12 -0500, Vitaly Andrianov wrote: On 02/05/2015 12:52 PM, Albert ARIBAUD wrote: Hello Vitaly, On Thu, 5 Feb 2015 11:24:46 -0500, Vitaly Andrianov wrote: This commit copies implementation

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-27 Thread York Sun
On 03/27/2015 11:27 AM, Oleksandr G Zhadan wrote: > Hi York, > > I add explanation and re-send the same patch. Whenever you make changes to the patch, please add a change log under the --- line. Please also see my comments on previous patch sent 5 minutes before this. York ___

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-27 Thread Marek Vasut
On Friday, March 27, 2015 at 07:15:18 PM, Tom Rini wrote: > On Fri, Mar 27, 2015 at 11:23:08PM +0530, Dileep Katta wrote: > > Experts, > > Please send your valuable comments if this patch needs any change. > > Assuming everything has acks I'll pick it up for the next release, > thanks. Lukasz can

Re: [U-Boot] [PATCH 2/2] Add new Arcturus Networks Inc. board support - uCP1020

2015-03-27 Thread York Sun
Oleks, On 03/27/2015 11:21 AM, Oleksandr G Zhadan wrote: > Hi York, > New, with fixed errors and much less warnings, patch is here. It should be a new email. Otherwise, anything above the --- under signed-off-by will be treated as commit message. > > On 03/26/2015 05:25 PM, York Sun wrote: >> >>

Re: [U-Boot] [PATCH] mmc: fix OCR Polling

2015-03-27 Thread Pantelis Antoniou
Hi Andrew, Peng, > On Mar 23, 2015, at 01:23 , Andrew Gabbasov > wrote: > > Hi Peng, > >> From: Peng Fan [mailto:peng@freescale.com] >> Sent: Saturday, March 21, 2015 1:34 PM >> To: Gabbasov, Andrew; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH] mmc: fix OCR Polling >> >> [skipped

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-27 Thread Oleksandr G Zhadan
Hi York, I add explanation and re-send the same patch. On 03/26/2015 05:20 PM, York Sun wrote: On 03/26/2015 02:16 PM, Oleksandr G Zhadan wrote: From: Oleksandr Zhadan Please add commit message to explain why and what you are changing. Signed-off-by: Oleksandr Zhadan Signed-off-by: Mi

Re: [U-Boot] [PATCH 2/2] Add new Arcturus Networks Inc. board support - uCP1020

2015-03-27 Thread Oleksandr G Zhadan
Hi York, New, with fixed errors and much less warnings, patch is here. On 03/26/2015 05:25 PM, York Sun wrote: On 03/26/2015 02:14 PM, Oleksandr G Zhadan wrote: From: Oleksandr Zhadan Please add commit message to explain what you are doing. Please run checkpatch before sending it. You ha

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-27 Thread Tom Rini
On Fri, Mar 27, 2015 at 11:23:08PM +0530, Dileep Katta wrote: > Experts, > Please send your valuable comments if this patch needs any change. Assuming everything has acks I'll pick it up for the next release, thanks. > > Regards, Dileep > > On 14/03/2015, Lukasz Majewski wrote: > > On Sat, 14

Re: [U-Boot] [PATCH v4 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-27 Thread Tom Rini
On Fri, Mar 27, 2015 at 11:06:57PM +0530, Dileep Katta wrote: > Implemented fb_set_reboot_flag() for OMAP5 to set > an environment variable 'dofastboot' when reboot-bootloader called. > > This environment variable will be checked in boot command and fastboot > will be called if the variable is se

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-27 Thread Dileep Katta
Experts, Please send your valuable comments if this patch needs any change. Regards, Dileep On 14/03/2015, Lukasz Majewski wrote: > On Sat, 14 Mar 2015 00:58:51 +0530 > Dileep Katta wrote: > >> Hi Lukasz, >> >> On 13 March 2015 at 13:23, Lukasz Majewski >> wrote: >> >> > Hi Dileep, >> > >> > >

[U-Boot] [PATCH v4 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-27 Thread Dileep Katta
Implemented fb_set_reboot_flag() for OMAP5 to set an environment variable 'dofastboot' when reboot-bootloader called. This environment variable will be checked in boot command and fastboot will be called if the variable is set. If the bootcmd env variable of OMAP5 common is overwritten with board-

[U-Boot] [PATCH V2 3/3] dm: i2c: add i2c-gpio driver

2015-03-27 Thread Przemyslaw Marczak
This commit adds driver model support to software emulated i2c bus driver. The device-tree node is compatible with the kernel i2c-gpio driver. It means, that boards device-tree "i2c-gpio" node, should be the same as in the kernel. For operating, it requires proper compatible and gpio pins dts descr

[U-Boot] [PATCH V2 1/3] dm: gpio: request list: return the count if requests max_count reached

2015-03-27 Thread Przemyslaw Marczak
The function gpio_request_list_by_name_nodev() returned -ENOSPC error, when the loop count was greater than requested count. This was wrong, because function should return the requested gpio count, when meets the call request without errors. Now, the loop ends on requested max_count. Signed-off-by

[U-Boot] [PATCH V2 0/3] dm: i2c: enable driver model for i2c gpio

2015-03-27 Thread Przemyslaw Marczak
This patchset enables driver model support for software i2c bus driver. It was tested on Trats2 and Odroid U3 devices. It can be tested on any other device by just modifying the dts file, first by disabling the hardware i2c bus and then, as it is described in the doc binding file, add i2c-gpio nod

[U-Boot] [PATCH V2 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-27 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc: Mike Frysinger Cc: Simon Glass Cc: Heiko Schocher Changes V2: - add i2c uclass description --- drivers/i2c/Kconfig | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/Kconfig b/drivers/i2

Re: [U-Boot] [PATCH v3 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-27 Thread Dileep Katta
On 27/03/2015, Tom Rini wrote: > On Wed, Mar 25, 2015 at 04:04:52AM +0530, Dileep Katta wrote: > >> Implemented fb_set_reboot_flag() for OMAP5 to set >> an environment variable 'dofastboot' when reboot-bootloader called. >> >> This environment variable will be checked in boot command and fastboot

[U-Boot] [PATCH] T104xD4RDB: Enable L2 Switch on T104xD4RDB board

2015-03-27 Thread Codrin Ciubotariu
This patch enables L2 Switch support for board T104xRDB by defining CONFIG_VSC9953(_CMD) and the addresses for QSGMII Ethernet PHYs. This patch depends on patch: mpc85xx/T104xD4RDB: Add T104xD4RDB boards support Signed-off-by: Codrin Ciubotariu --- include/configs/T104xRDB.h | 7 ++- 1 file

Re: [U-Boot] [PATCH v2] ARM: move -march=* and -mtune= options to arch/arm/Makefile

2015-03-27 Thread Albert ARIBAUD
Hello Masahiro, On Fri, 27 Feb 2015 02:40:33 +0900, Masahiro Yamada wrote: > My main motivations for this commit are: > > [1] Follow the arch/arm/Makefile style of Linux Kernel > > [2] Maintain compiler options systematically > Currently, we give -march=* and -mtune=* options inconsistently:

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-27 Thread Oleksandr G Zhadan
Yes, here locally we have some additional changes/fixes in some places as well. And if talk about mpc85xx gpio support it's better to have driver in drivers/gpio vs static definitions in header file and I have it. But currently I need this minimal patch to be accepted to send our board support

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-27 Thread Kim Phillips
On Thu, 26 Mar 2015 18:57:02 -0500 Rivera Jose-B46482 wrote: > > From: Kim Phillips [mailto:kim.phill...@freescale.com] > > Sent: Wednesday, March 25, 2015 4:13 PM > > > > On Tue, 24 Mar 2015 21:32:56 -0500 > > Stuart Yoder wrote: > > > > > On a system with the MC running with caches on, u-boo

Re: [U-Boot] [PATCH] arm: implement find_next_zero_bit function

2015-03-27 Thread Albert ARIBAUD
Hello Vitaly, On Wed, 11 Feb 2015 14:11:12 -0500, Vitaly Andrianov wrote: > > > On 02/05/2015 12:52 PM, Albert ARIBAUD wrote: > > Hello Vitaly, > > > > On Thu, 5 Feb 2015 11:24:46 -0500, Vitaly Andrianov > > wrote: > >> This commit copies implementation of the find_next_zero_bit() from > >> gi

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-27 Thread mar.krzeminski
Hi Stefan, I've changed malloc pool size to 2MiB and nothing changed. I've also disabled UBIFS support and that does not make any changes. Still after qemu restart u-boot can not attach to ubi device. Regards, Marcin W dniu 27.03.2015 o 16:01, Stefan Roese pisze: Hi Marcin, On 27.03.2015 13:5

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-27 Thread Joakim Tjernlund
On Fri, 2015-03-27 at 10:51 -0400, Oleksandr G Zhadan wrote: > Extra gpio bank argument at low level may be discussable, but IMPO we > should not brake standard int gpio_set_value(unsigned gpio, int value) > definition. > > And the reason of this patch is to fix: > > 1. Incompatibility in funct

Re: [U-Boot] [PATCH] ARM: HYP/non-sec: relocation before enable secondary cores

2015-03-27 Thread Albert ARIBAUD
Hello Tom, On Fri, 13 Feb 2015 13:09:33 -0500, Tom Rini wrote: > On Fri, Feb 13, 2015 at 09:37:23AM +0800, Peng Fan wrote: > > Hi, Albert and Tom > > > > On 2/4/2015 7:02 PM, Marc Zyngier wrote: > > >On 04/02/15 10:15, Peng Fan wrote: > > >>If CONFIG_ARMV7_PSCI is not defined and CONFIG_ARMV7_SE

Re: [U-Boot] [PATCH] ARMv8: bug fix of mmu setup and code optimization

2015-03-27 Thread Albert ARIBAUD
Hello feng...@phytium.com.cn, On Sat, 31 Jan 2015 17:02:17 +0800, feng...@phytium.com.cn wrote: > From: David Feng > > 1. Fix a bug of mmu_setup that variable i and j should be >type long instead of int. > 2. Give mmu_setup weak attribute so that other implementation >can redfine it. >

Re: [U-Boot] [PATCH 2/2] ARMv8: enable DM in vexpress64 board

2015-03-27 Thread Albert ARIBAUD
Hello feng...@phytium.com.cn, On Sat, 31 Jan 2015 11:55:29 +0800, feng...@phytium.com.cn wrote: > From: David Feng > > Signed-off-by: David Feng > --- > board/armltd/vexpress64/vexpress64.c | 13 + > include/configs/vexpress_aemv8a.h| 14 -- > 2 files changed,

Re: [U-Boot] [PATCH 1/2] ARMv8: enable pre-allocation malloc

2015-03-27 Thread Albert ARIBAUD
Hello feng...@phytium.com.cn, On Sat, 31 Jan 2015 11:55:28 +0800, feng...@phytium.com.cn wrote: > From: David Feng > > Allocate memory space for pre-allocation malloc and zero global data. > This code is partly from crt0.S. > > Signed-off-by: David Feng > --- > arch/arm/include/asm/config.h

Re: [U-Boot] [PATCH v2] powerpc/t2080rdb: update ddr to support 1866MT/s

2015-03-27 Thread York Sun
Shengzhou, On 03/27/2015 12:53 AM, Shengzhou Liu wrote: > Support SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB. > Enable CONFIG_CMD_MEMTEST as well. Did you find this test helpful? FYI, I have new test for DDR4. It is DDR controller built-in test. It catches more issues than memtest. But still it

[U-Boot] [RFC] powerpc: add 2 common dcache assembly functions

2015-03-27 Thread Valentin Longchamp
This patch defines the 2 flush_dcache_range and invalidate_dcache_range functions for all the powerpc architecture. Their implementation is borrowed from the kernel's misc_32.S file and replace the ones from mpc86xx and ppc4xx since they were equivalent. This is a fix for the problem introduced by

Re: [U-Boot] U-boot and UBI problem with vexpress board.

2015-03-27 Thread Stefan Roese
Hi Marcin, On 27.03.2015 13:59, Marcin Krzemiński wrote: I want to test some UBI fs behavior in U-Boot using qemu and vexpress_ca9x4 board ( U-Boot 2015.1) To tst UBI I added lines to vexpress_ca9x4.h: #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define CONFIG_MTD_PARTITIONS

Re: [U-Boot] [PATCH 1/2] mpc85xx gpio related header files changes to compile common cmd_gpio.c

2015-03-27 Thread Oleksandr G Zhadan
Extra gpio bank argument at low level may be discussable, but IMPO we should not brake standard int gpio_set_value(unsigned gpio, int value) definition. And the reason of this patch is to fix: 1. Incompatibility in functions gpio_free() and gpio_set_value() definitions between and (void vs

[U-Boot] U-boot and UBI problem with vexpress board.

2015-03-27 Thread Marcin Krzemiński
Hi, I want to test some UBI fs behavior in U-Boot using qemu and vexpress_ca9x4 board ( U-Boot 2015.1) To tst UBI I added lines to vexpress_ca9x4.h: #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ #define CONFIG_MTD_PARTITIONS /* needed for UBI */ #define CONFIG_FLASH_CFI_MTD #de

[U-Boot] [PATCH] Fix mxc_hab documenation for DEK blob generation

2015-03-27 Thread Ulises.Cardenas
From: Ulises Cardenas Include/fsl_sec.h defines sec_in and sec_out, according to the platform's endianess. Therefore, CONFIG_SYS_FSL_LE needs to be declared in the configuration file of the target, in order to use enable the DEK blob generation command. This requirement is not explicit in the REA

Re: [U-Boot] [PATCH v3 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-27 Thread Tom Rini
On Wed, Mar 25, 2015 at 04:04:52AM +0530, Dileep Katta wrote: > Implemented fb_set_reboot_flag() for OMAP5 to set > an environment variable 'dofastboot' when reboot-bootloader called. > > This environment variable will be checked in boot command and fastboot > will be called if the variable is se

Re: [U-Boot] [PATCH v3 1/3] ARM: DRA7XX: Enable Fastboot

2015-03-27 Thread Tom Rini
On Wed, Mar 25, 2015 at 04:04:50AM +0530, Dileep Katta wrote: > - Fastboot is enable by default for DRA7XX > - This is based on following patch modified accordingly > http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b > > Signed-off-by: An

Re: [U-Boot] [PATCH v3 2/3] ARM: DRA7: Set serial number environment variable

2015-03-27 Thread Tom Rini
On Wed, Mar 25, 2015 at 04:04:51AM +0530, Dileep Katta wrote: > This patch populates serial number environment variable from > die_id_0 and die_id_1 register values for DRA7xx boards. > > The function is added in omap common code so that this can be re-used. > > Serial# environment variable will

Re: [U-Boot] Please pull u-boot-x86.git

2015-03-27 Thread Tom Rini
On Wed, Mar 25, 2015 at 04:33:00PM -0600, Simon Glass wrote: > Hi Tom, > > These are improvements to a new board and some code clean-ups that I > requested, so I think it is probably reasonable to take these now. > > > The following changes since commit b81bdf62e0cf9b5c64d30284d01658a851f142f7:

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

2015-03-27 Thread Tom Rini
On Wed, Mar 25, 2015 at 04:45:52PM -0600, Simon Glass wrote: > Hi Tom, > > The following changes since commit b81bdf62e0cf9b5c64d30284d01658a851f142f7: > > bav335x: Update defconfigs and fix typo in EEPROM config format > (2015-03-24 10:56:35 -0400) > > are available in the git repository at:

Re: [U-Boot] Please pull u-boot-sunxi master

2015-03-27 Thread Tom Rini
On Thu, Mar 26, 2015 at 01:24:44PM +0100, Hans de Goede wrote: > Hi Tom, > > Please pull u-boot-sunxi/master into master for a small 2 bugfixes > for v2015.04: > > The following changes since commit f643d9294f45487f22e8f33d6572530f17eff4e9: > > config_distro_bootcmd.h: Prefer booting from boo

Re: [U-Boot] bootcount: Add dcache flush to bootcount_store()

2015-03-27 Thread Nitin Garg
Hi Stefan, On 03/27/2015 08:18 AM, Stefan Roese wrote: > Hi! > > (added a few more people to the Cc list) > > On 17.03.2015 10:00, Holger Brunck wrote: >> Hi Tom, >> >> On 03/13/2015 03:34 PM, Tom Rini wrote: >>> On Fri, Mar 13, 2015 at 09:48:56AM -0400, Tom Rini wrote: On Wed, Mar 11, 2015

Re: [U-Boot] [RFC PATCH] ARM: Merge v7 and v8 outer cache operations

2015-03-27 Thread Albert ARIBAUD
Hello Mark, On Thu, 12 Feb 2015 15:56:52 +, Mark Rutland wrote: > On Sat, Jan 31, 2015 at 03:08:54AM +, feng...@phytium.com.cn wrote: > > From: David Feng > > > > Armv7 and Armv8 allow outer cache exist, it is outside of the architecture > > defined cache hierarchy and can not be manipu

Re: [U-Boot] [PATCH 1/3] sunxi: sun4i: add missing 912MHz clock divisors

2015-03-27 Thread Ian Campbell
On Fri, 2015-03-27 at 00:10 +, Iain Paton wrote: > clock divisors table was missing an entry for 912MHz. The same table is > used for sun7i where the default boot clock is 912MHz, resulting in A20 > boards being overclocked to 960MHz Apart from the missing entry, should it not be the case that

Re: [U-Boot] [PATCH 2/3] sunxi: promote CONFIG_CLK_FULL_SPEED to be selectable through Kconfig

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 01:12, Iain Paton wrote: in order to allow for this to be set differently per board, remove the define from the associated soc headers and allow the user to choose a value through a Kconfig setting Signed-off-by: Iain Paton Thanks, but if we're going to do this, then can you

Re: [U-Boot] bootcount: Add dcache flush to bootcount_store()

2015-03-27 Thread Stefan Roese
Hi! (added a few more people to the Cc list) On 17.03.2015 10:00, Holger Brunck wrote: > Hi Tom, > > On 03/13/2015 03:34 PM, Tom Rini wrote: >> On Fri, Mar 13, 2015 at 09:48:56AM -0400, Tom Rini wrote: >>> On Wed, Mar 11, 2015 at 09:51:38AM +0100, Stefan Roese wrote: >>> Without this dcache

Re: [U-Boot] NAND Flash with Internal Hardware ECC

2015-03-27 Thread Rajiv Dave
Hi Josh, That worked! Many thanks. The next issue is that the Kernel now needs to be re-built, we are using 2.6.xx, do you have any ideas on what to change in the Kernel to make it work with the HW ECC NAND? Regards Rajiv Dave Disign Consultants t: +44 (0) 207 544 8486 w: www.disignconsultant

Re: [U-Boot] Adding support for red pitaya zynq board; is zynq working?

2015-03-27 Thread Michal Simek
Hi, On 03/27/2015 11:58 AM, Jeremy Herbert wrote: > Hi Michal, > > Yes, it's a shame that the software is lagging so far behind, as it is an > interesting board for DSP experiments. yes - it is quite interesting board. > I will work on this next week. Could you please tell me what you mean by

Re: [U-Boot] Adding support for red pitaya zynq board; is zynq working?

2015-03-27 Thread Jeremy Herbert
Hi Michal, Yes, it's a shame that the software is lagging so far behind, as it is an interesting board for DSP experiments. I will work on this next week. Could you please tell me what you mean by "revup"? Do you mean I should use vivado to generate an updated DTS for the board? Thanks, Jeremy

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-27 Thread Paul Kocialkowski
Le jeudi 26 mars 2015 à 23:30 -0500, Rob Herring a écrit : > On Thu, Mar 26, 2015 at 4:11 AM, Paul Kocialkowski wrote: > > Le jeudi 26 mars 2015 à 09:53 +0100, Hans de Goede a écrit : > >> Hi, > >> > >> On 25-03-15 23:35, Paul Kocialkowski wrote: > >> > Le mardi 24 mars 2015 à 09:01 +0100, Hans de

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 09:42, Iain Paton wrote: On 26/03/15 19:08, Hans de Goede wrote: Perhaps someone can test the reproducer on another board with usb: on an A20-OLinuXino-lime2 U-Boot SPL 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 U

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-27 Thread Iain Paton
On 26/03/15 19:08, Hans de Goede wrote: > Perhaps someone can test the reproducer on another board > with usb: on an A20-OLinuXino-lime2 U-Boot SPL 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 U-Boot 2015.04-rc4-00073-g07d8f86 (Mar 27 2

Re: [U-Boot] serial atag tag in devicetree ?

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 05:30, Rob Herring wrote: On Thu, Mar 26, 2015 at 4:11 AM, Paul Kocialkowski wrote: Le jeudi 26 mars 2015 à 09:53 +0100, Hans de Goede a écrit : Hi, On 25-03-15 23:35, Paul Kocialkowski wrote: Le mardi 24 mars 2015 à 09:01 +0100, Hans de Goede a écrit : Hi, On 24-03-15 00:

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 07:36, Bo Shen wrote: Hi Hans, On 03/27/2015 03:08 AM, Hans de Goede wrote: Hi, First of all I'm not sure this is a regression, but I'm afraid I do not have time to dig deeper so I thought I should report it anyways and then others can try to reproduce it. I'm seeing the foll

[U-Boot] [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

2015-03-27 Thread Shengzhou Liu
T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC. T1023RDB board Overview --- - T1023 SoC integrating two 64-bit e5500 cores up to 1.4GHz - CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation - Me

Re: [U-Boot] Adding support for red pitaya zynq board; is zynq working?

2015-03-27 Thread Michal Simek
Hi Jeremy, First of all please send the patch via git send-email command. On 03/26/2015 10:08 AM, Jeremy Herbert wrote: > Hi all, > > I just tried to build the latest master mainline u-boot for a xilinx zynq > 7010 board called the red pitaya. I'm not affiliated at all with the board, > just try

[U-Boot] [PATCH v4 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-27 Thread Hannes Petermaier
From: Hannes Petermaier Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degrees, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we int

[U-Boot] [PATCH v4 0/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-27 Thread Hannes Petermaier
Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degree, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we introduce the feature called "

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-27 Thread Jose Rivera
> -Original Message- > From: Kim Phillips [mailto:kim.phill...@freescale.com] > Sent: Wednesday, March 25, 2015 4:13 PM > To: Stuart Yoder > Cc: Rivera Jose-B46482; Sun York-R58495; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware > loading for

[U-Boot] [PATCH 8/8] m68k: merge per-CPU config.mk into arch/m68k/Makefile

2015-03-27 Thread Masahiro Yamada
Collect CPU specific flags into the single place. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Dureghello --- arch/m68k/Makefile | 29 + arch/m68k/cpu/mcf5227x/config.mk | 12 arch/m68k/cpu/mcf523x/config.mk| 12 -

[U-Boot] [PATCH 7/8] m68k: mcf547x_8x: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
Move the CPU type config options from include/configs/*.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf547x_8x/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Dureghello --- arch/m68k/Kconfig | 13 + arch/m68k/cpu

[U-Boot] [PATCH 3/8] m68k: mcf532x: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
This commit intends to stop grepping CPU type in arch/m68k/cpu/mcf532x/config.mk. Move the CPU type config options from include/configs/*.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf532x/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Duregh

[U-Boot] [PATCH 4/8] m68k: mcf5445x: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
This commit intends to stop grepping CPU type in arch/m68k/cpu/mcf5445x/config.mk. Move the CPU type config options from include/configs/*.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf5445x/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Dure

[U-Boot] [PATCH 5/8] m68k: mcf5227x: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
Move the CPU type config options from include/configs/M52277EVB.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf5227x/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Dureghello --- arch/m68k/Kconfig| 8 arch/m68k/cpu/m

[U-Boot] [PATCH 0/8] m68k: stop grepping and refactor CPU flags

2015-03-27 Thread Masahiro Yamada
arch/m68k/cpu/mcf52x2/config.mk arch/m68k/cpu/mcf530x/config.mk arch/m68k/cpu/mcf532x/config.mk are not very nice. They use "grep" to decide the CPU type. They can be tidied up by moving the CPU type CONFIGs to Kconfig. I built all the M68k boards and compared MD5SUM for each of them. I confirme

[U-Boot] [PATCH 2/8] m68k: mcf530x: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
This commit intends to stop grepping CPU type in arch/m68k/cpu/mcf530x/config.mk. Move the CPU type config options from include/configs/amcore.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf530x/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo D

[U-Boot] [PATCH 1/8] m68k: mcf52x2: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
This commit intends to stop grepping CPU type in arch/m68k/cpu/mcf52x2/config.mk. Move the CPU type config options from include/configs/*.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf52x2/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Duregh

[U-Boot] [PATCH 6/8] m68k: mcf523x: move CPU type to Kconfig and refactor config.mk

2015-03-27 Thread Masahiro Yamada
Move the CPU type config options from include/configs/M5235EVB.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf523x/config.mk. Signed-off-by: Masahiro Yamada Cc: Alison Wang Cc: Angelo Dureghello --- arch/m68k/Kconfig | 8 arch/m68k/cpu/mcf5

[U-Boot] [PATCH v2] powerpc/t2080rdb: update ddr to support 1866MT/s

2015-03-27 Thread Shengzhou Liu
Support SODIMM D3XP12081XL10AA 1866MT/s on T2080RDB. Enable CONFIG_CMD_MEMTEST as well. Signed-off-by: Shengzhou Liu --- v2: refined commit description. board/freescale/t208xrdb/ddr.h | 4 ++-- include/configs/T208xRDB.h | 5 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --gi

Re: [U-Boot] [PATCH] common/board_f: move board_init_f_mem() from #else CONFIG_X86

2015-03-27 Thread Alexey Brodkin
Hi Simon, Tom, On Tue, 2015-03-24 at 11:12 +0300, Alexey Brodkin wrote: > Purpose of this change is to make it possible to re-use code currently > used on X86 solely for other architectures. For example: > * init_sequence_f_r > * board_init_f_r > > Even though board_init_f_mem() has nothing to

[U-Boot] m68k: 3 boards are broken

2015-03-27 Thread Masahiro Yamada
Hi Alison, Angelo I found 3 m68k boards are broken: eb_cpu5282_defconfig eb_cpu5282_internal_defconfig M53017EVB_defconfig LD u-boot common/built-in.o: In function `reserve_video': /home/yamada/workspace/u-boot/common/board_f.c:501: undefined reference to `video_setmem' make: *** [u-boot

[U-Boot] [PATCH v4 2/4] common/lcd_console: ask only one-time for bg/fg-color per call

2015-03-27 Thread Hannes Petermaier
From: Hannes Petermaier Don't call the lcd_getfgcolor and lcd_getbgcolor within the "draw-loop", this only wastes time. Signed-off-by: Hannes Petermaier Signed-off-by: Hannes Petermaier --- Changes in v4: None Changes in v3: None Changes in v2: None common/lcd_console.c |7 ++- 1 fi

[U-Boot] [PATCH v4 3/4] common/lcd_console: move single static variables into common (static) structure

2015-03-27 Thread Hannes Petermaier
From: Hannes Petermaier For coming implementation of lcd_console rotation, we will need some more variables for holding information about framebuffer size, rotation, ... For better readability we catch all them into a common structure. Signed-off-by: Hannes Petermaier Signed-off-by: Hannes Pet

[U-Boot] [PATCH v4 1/4] common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy

2015-03-27 Thread Hannes Petermaier
From: Hannes Petermaier the capability of drawing some *str with count from lcd_drawchars is unnary. It is always called from lcd_putc_xy with one character of and count = 1. So we simply rename lcd_drawchars into lcd_putc_xy and remove the loops inside. Signed-off-by: Hannes Petermaier Signed