Re: [U-Boot] [PATCH v2] axs10x: add support of generic ECHI USB 2.0 controller

2015-12-08 Thread Alexey Brodkin
Hi Alexey, On Tue, 2015-12-01 at 20:23 +0100, Marek Vasut wrote: > On Tuesday, December 01, 2015 at 08:08:10 PM, Alexey Brodkin wrote: > > Hi Marek, > > Hi! > > > On Mon, 2015-11-30 at 19:06 +0100, Marek Vasut wrote: > > > On Monday, November 30, 2015 at

[U-Boot] Please pull ARC changes

2015-12-08 Thread Alexey Brodkin
: axs10x: add support of generic EHCI USB 2.0 controller (2015-12-08 17:29:56 +0300) Alexey Brodkin (1): axs10x: add support of generic EHCI USB 2.0 controller arch/arc/dts/axs10x.dts | 6 ++ configs/axs101_defconfig | 6

[U-Boot] [PATCH v4] usb: add support for generic EHCI devices

2015-12-02 Thread Alexey Brodkin
From: Alexey Brodkin <alexey.brod...@synopsys.com> This driver is meant to be used with any EHCI-compatible host controller in case if there's no need for platform-specific glue such as setup of controller or PHY's power mode via GPIOs etc. Signed-off-by: Alexey Brodkin <abrod...@syn

Re: [U-Boot] [PATCH v3] usb: add support for generic EHCI devices

2015-12-01 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-11-30 at 19:21 +0100, Marek Vasut wrote: > On Monday, November 30, 2015 at 07:13:30 PM, Alexey Brodkin wrote: > > Hi Marek, > > Please check drivers/usb/host/Kconfig. > > The order there seems correct. But how is it possible that your driver > t

Re: [U-Boot] [PATCH v2] axs10x: add support of generic ECHI USB 2.0 controller

2015-12-01 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-11-30 at 19:06 +0100, Marek Vasut wrote: > On Monday, November 30, 2015 at 06:53:25 PM, Alexey Brodkin wrote: > > This commit adds support of USB 2.0 storage media on AXS10x boards. > > > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com&

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Alexey Brodkin
Hi Joe, On Thu, 2015-09-03 at 15:46 -0500, Joe Hershberger wrote: > Hi Moritz, > > On Thu, Sep 3, 2015 at 2:25 PM, Moritz Fischer > wrote: > > This patch fixes a bunch of deprecation warings that show up when using > > checkpatch.pl with Perl 5.22. > > > > Unescaped

[U-Boot] [PATCH] axs10x: add support of generic ECHI USB 2.0 controller

2015-11-30 Thread Alexey Brodkin
This commit adds support of USB 2.0 storage media on AXS10x boards. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/dts/axs10x.dts | 6 ++ configs/axs101_defconfig | 5 + configs/axs103_defconfig | 5 + 3 files changed, 16 insertions(+) diff --git a/arch/a

Re: [U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Alexey Brodkin
Hi Tom, On Mon, 2015-11-30 at 18:17 +0100, Marek Vasut wrote: > On Monday, November 30, 2015 at 05:40:11 PM, Tom Rini wrote: > > On Mon, Nov 30, 2015 at 01:33:56PM +0100, Marek Vasut wrote: > > > T > > +(ph1_sld8,ph1_sld3,ph1_ld4) > > build/../drivers/usb/host/ehci-generic.c:33: undefined

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Alexey Brodkin
Hi Tom, On Mon, 2015-11-30 at 11:02 -0500, Tom Rini wrote: > On Mon, Nov 30, 2015 at 03:57:12PM +0000, Alexey Brodkin wrote: > > Hi Tom, > > > > On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > > > On Mon, Nov 30, 2015 at 10:23:20AM +, Alexey

Re: [U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

2015-11-30 Thread Alexey Brodkin
Hi Tom, On Mon, 2015-11-30 at 10:56 -0500, Tom Rini wrote: > On Mon, Nov 30, 2015 at 10:23:20AM +0000, Alexey Brodkin wrote: > > Hi Joe, > > > > On Thu, 2015-09-03 at 15:46 -0500, Joe Hershberger wrote: > > > Hi Moritz, > > > > > > On Thu, Sep

[U-Boot] [PATCH v3] usb: add support for generic EHCI devices

2015-11-30 Thread Alexey Brodkin
From: Alexey Brodkin <alexey.brod...@synopsys.com> This driver is meant to be used with any EHCI-compatible host controller in case if there's no need for platform-specific glue such as setup of controller or PHY's power mode via GPIOs etc. Signed-off-by: Alexey Brodkin <abrod...@syn

Re: [U-Boot] [PATCH v3] usb: add support for generic EHCI devices

2015-11-30 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-11-30 at 19:05 +0100, Marek Vasut wrote: > On Monday, November 30, 2015 at 06:47:45 PM, Alexey Brodkin wrote: > > From: Alexey Brodkin <alexey.brod...@synopsys.com> > > +config USB_EHCI_GENERIC > > + bool "Support for generic EHCI

Re: [U-Boot] [PULL] u-boot-usb/master

2015-11-30 Thread Alexey Brodkin
Hi Tom, Marek, On Mon, 2015-11-30 at 12:26 -0500, Tom Rini wrote: > On Mon, Nov 30, 2015 at 05:23:15PM +0000, Alexey Brodkin wrote: > > Hi Tom, > > > > On Mon, 2015-11-30 at 18:17 +0100, Marek Vasut wrote: > > > On Monday, November 30, 2015 at 05:40:11 PM, Tom Rini

Re: [U-Boot] [PATCH v3] usb: add support for generic EHCI devices

2015-11-30 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-11-30 at 20:47 +0300, Alexey Brodkin wrote: > From: Alexey Brodkin <alexey.brod...@synopsys.com> > > This driver is meant to be used with any EHCI-compatible host > controller in case if there's no need for platform-specific > glue such as setup o

[U-Boot] [PATCH v2] axs10x: add support of generic ECHI USB 2.0 controller

2015-11-30 Thread Alexey Brodkin
This commit adds support of USB 2.0 storage media on AXS10x boards. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Marek Vasut <ma...@denx.de> Cc: Simon Glass <s...@chromium.org> --- Changes compared to v1: * Explicitly enable CONFIG_USB_EHCI_GENERIC arch/arc/d

Re: [U-Boot] [PATCH v2] usb: add support for generic EHCI devices

2015-11-30 Thread Alexey Brodkin
Hi Marek, On Fri, 2015-11-20 at 21:48 +0100, Marek Vasut wrote: > On Wednesday, November 18, 2015 at 04:26:21 PM, Alexey Brodkin wrote: > > This driver is meant to be used with any EHCI-compatible host > > controller in case if there's no need for platform-specific > &g

Re: [U-Boot] [PATCH] common: board_f: Dont relocate FDT incase of CONFIG_OF_EMBED

2015-11-26 Thread Alexey Brodkin
__Don't__ relocate fdt in__case of CONFIG_OF EMBED as the fdt is --->8--- Otherwise, Reviewed-by: Alexey Brodkin <abrod...@synopsys.com> -Alexey ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] usb: add support for generic EHCI devices

2015-11-20 Thread Alexey Brodkin
Hi Marek, On Fri, 2015-11-20 at 21:48 +0100, Marek Vasut wrote: > On Wednesday, November 18, 2015 at 04:26:21 PM, Alexey Brodkin wrote: > > This driver is meant to be used with any EHCI-compatible host > > controller in case if there's no need for platform-specific > &g

Re: [U-Boot] [PATCH v2] usb: add support for generic EHCI devices

2015-11-20 Thread Alexey Brodkin
Hi Simon, Marek, On Wed, 2015-11-18 at 18:26 +0300, Alexey Brodkin wrote: > This driver is meant to be used with any EHCI-compatible host > controller in case if there's no need for platform-specific > glue such as setup of controller or PHY's power mode via > GPIOs etc. >

[U-Boot] [PATCH v2] usb: add support for generic EHCI devices

2015-11-18 Thread Alexey Brodkin
This driver is meant to be used with any EHCI-compatible host controller in case if there's no need for platform-specific glue such as setup of controller or PHY's power mode via GPIOs etc. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Reviewed-by: Simon Glass <s...@chromium.org&

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-17 Thread Alexey Brodkin
Hi, On Mon, 2015-11-16 at 16:15 -0700, Stephen Warren wrote: > On 11/16/2015 03:15 PM, Alexey Brodkin wrote: > > Hi Stephen, > > > > On Mon, 2015-11-16 at 14:08 -0700, Simon Glass wrote: > > > Hi, > > > > > > On 16 November 2015 at 06:47, Alexey B

Re: [U-Boot] [PATCH] board: axs10x switch serial port and Ethernet to driver model

2015-11-17 Thread Alexey Brodkin
Hi, On Fri, 2015-11-13 at 19:04 -0700, Simon Glass wrote: > On 13 November 2015 at 11:26, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > With this change Synopsys DesignWare SDP board is switched to driver > > model for both serial port (serial_dw) and E

Re: [U-Boot] [PATCH] arc: add empty asm/processor.h to satisfy compilation of USB code

2015-11-17 Thread Alexey Brodkin
Hi, On Fri, 2015-11-13 at 00:57 +0300, Alexey Brodkin wrote: > common/usb.c unconditionally includes > And now to allow USB support on ARC boards we have to have that header. > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> > --- > arch/arc/incl

[U-Boot] Please pull ARC changes

2015-11-17 Thread Alexey Brodkin
: axs10x switch serial port and Ethernet to driver model (2015-11-18 00:39:22 +0300) Alexey Brodkin (3): arc: add stubs for map_physmem() and unmap_physmem() arc: add empty asm/processor.h to satisfy compilation of USB

Re: [U-Boot] [PATCH v4] Fix board init code to use a valid C runtime environment

2015-11-16 Thread Alexey Brodkin
Hi Albert, On Mon, 2015-11-16 at 14:34 +0100, Albert ARIBAUD wrote: > Hello Alexey, > > On Mon, 16 Nov 2015 13:12:15 +0000, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Albert, > > > > > > - /* Allocate and zero GD, update

Re: [U-Boot] [PATCH v4] Fix board init code to use a valid C runtime environment

2015-11-16 Thread Alexey Brodkin
Hi Albert, On Mon, 2015-11-16 at 15:15 +0100, Albert ARIBAUD wrote: > Hello Alexey, > > On Mon, 16 Nov 2015 13:43:19 +0000, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Albert, > > > > On Mon, 2015-11-16 at 14:34 +0100, Albe

Re: [U-Boot] [PATCH v4] Fix board init code to use a valid C runtime environment

2015-11-16 Thread Alexey Brodkin
ought. Otherwise build and run tested on free nSIM, see "Running U-Boot on ARC in Free nSIM" section in http://www.denx.de/wiki/U-Boot/ARCNotes if of any interest how to do it yourself. Feel free to add -->8-- Acked-by: Alexey Brodkin <abrod...@synopsys.com> -->8-- -Alexey ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-16 Thread Alexey Brodkin
Hi Simon, Stephen, On Fri, 2015-11-13 at 19:03 -0700, Simon Glass wrote: > On 13 November 2015 at 11:23, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Simon, > > > > On Fri, 2015-11-13 at 11:14 -0700, Simon Glass wrote: > > > Hi Alexey, &g

Re: [U-Boot] [PATCH] usb: add support for generic EHCI devices

2015-11-16 Thread Alexey Brodkin
Hi Simon, On Fri, 2015-11-13 at 19:05 -0700, Simon Glass wrote: > Hi, > > On 13 November 2015 at 11:10, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Similarly to Linux kernel it's nice to have generic driver for > > EHCI-compatible host controllers

Re: [U-Boot] [PATCH v5] Fix board init code to respect the C runtime environment

2015-11-16 Thread Alexey Brodkin
Hi Albert, On Mon, 2015-11-16 at 17:22 +0100, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it is actually already using. This is not a valid > behaviour within a C runtime environment. > > Split board_init_f_mem into C functions which do not alter > their

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-16 Thread Alexey Brodkin
Hi Stephen, On Mon, 2015-11-16 at 14:08 -0700, Simon Glass wrote: > Hi, > > On 16 November 2015 at 06:47, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Simon, Stephen, > > > > On Fri, 2015-11-13 at 19:03 -0700, Simon Glass wrote: > > >

[U-Boot] [PATCH] usb: add support for generic EHCI devices

2015-11-13 Thread Alexey Brodkin
AXS10x boards. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Stephen Warren <swar...@nvidia.com> Cc: Simon Glass <s...@chromium.org> Cc: Marek Vasut <ma...@denx.de> --- drivers/usb/host/Kconfig| 7 + drivers/usb/host/Makefile | 1 + drivers/usb/

[U-Boot] [PATCH] board: axs10x switch serial port and Ethernet to driver model

2015-11-13 Thread Alexey Brodkin
but only very few extracts of them are really used (those that are supported in U-Boot at the moment). Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Masahiro Yamada <yamada.masah...@socionext.com> Cc: Simon Glass <s...@chromium.org> --- arch/arc/dts/Makefile

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-13 Thread Alexey Brodkin
Hi Simon, On Fri, 2015-11-13 at 11:14 -0700, Simon Glass wrote: > Hi Alexey, > > On 12 November 2015 at 14:56, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Up until now there was no need in those stubs. > > > > But since following commit co

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-13 Thread Alexey Brodkin
Hi Stephen, On Thu, 2015-11-12 at 16:00 -0700, Stephen Warren wrote: > On 11/12/2015 02:56 PM, Alexey Brodkin wrote: > > Up until now there was no need in those stubs. > > > > But since following commit compilation of U-Boot on ARC is broken: > > commit 7861204c9af7f

[U-Boot] [PATCH] arc: add empty asm/processor.h to satisfy compilation of USB code

2015-11-12 Thread Alexey Brodkin
common/usb.c unconditionally includes And now to allow USB support on ARC boards we have to have that header. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/include/asm/processor.h | 12 1 file changed, 12 insertions(+) create mode 100644 arch/arc/inclu

[U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-12 Thread Alexey Brodkin
;s...@chromium.org> >8-- That's because CMD_ITEST is enabled by default in common/Kconfig and now map_physmem()/unmap_physmem() is used there. So this patch adds missing stubs for ARC. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Stephen Warren <

[U-Boot] [PATCH] board: axs10x - cap max SDIO clock value to bus/2

2015-10-07 Thread Alexey Brodkin
ype ** ->8--- With this change that problem is fixed. Note "Tran Speed" above doesn't match clock value set in DW MMC. It is max value for card's speed class. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- board/synopsys/axs101/axs101.c | 2 +- 1 file chan

[U-Boot] Please pull ARC fixes

2015-10-07 Thread Alexey Brodkin
to f6e27ba5b40a8861336f4e27a7b95cf60b0c8961: board: axs10x - cap max SDIO clock value to bus/2 (2015-10-07 18:16:13 +0300) Alexey Brodkin (1): board: axs10x - cap max SDIO clock value to bus/2 board/synopsys/axs101/axs101.c | 2 +- 1 file

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-14 Thread Alexey Brodkin
On Fri, 2015-09-11 at 23:45 +0200, Lukasz Majewski wrote: > Hi Alexey, > > FWIW I faced similar problem even reading data. > > At least on one of my boards reading of ~8Mb file > > took ~1.7 seconds and so 1 second timeout was interrupting data > > exchange. > > Was it SD card or eMMC device?

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-14 Thread Alexey Brodkin
Hi Marek, Lukasz, On Sun, 2015-09-13 at 16:00 +0200, Marek Vasut wrote: > On Sunday, September 13, 2015 at 12:03:18 PM, Lukasz Majewski wrote: > > Hi Marek, > > Hi, > > [...] > > > > > > Still we need to fix regression first with virtually infinite > > > > > timeout :) I would even thing that

Re: [U-Boot] [PATCH 2/4] mmc: dw_mmc: Zap endless timeout

2015-09-11 Thread Alexey Brodkin
Hi Marek, On Fri, 2015-09-11 at 13:49 +0200, Marek Vasut wrote: > On Friday, September 11, 2015 at 09:59:32 AM, Alexey Brodkin wrote: > > Hi Marek, > > Hi! > btw Is your mailer totally broken by any chance ? Hm, I'm not sure what happened but as I may see here https://pa

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-11 Thread Alexey Brodkin
Hi Marek, Lukasz, > On Wednesday, September 09, 2015 at 09:01:30 AM, Lukasz Majewski wrote: > > Hi, > > > > > The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 > > > "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for > > > end of dw mmc transfer. > > > > > > For some

Re: [U-Boot] [PATCH 2/4] mmc: dw_mmc: Zap endless timeout

2015-09-11 Thread Alexey Brodkin
Hi Marek, On Mon, 2015-07-27 at 22:39 +0200, Marek Vasut wrote: > Endless timeouts are bad, since if we get stuck in one, we have no > way out. Zap this one by implementing proper timeout. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] commit 620776d causes TFTP error: 'Unsupported option(s) requested' (8)

2015-09-10 Thread Alexey Brodkin
Hi Pavel, On Tue, 2015-08-25 at 14:19 +0200, Pavel Machek wrote: > On Tue 2015-08-25 14:13:17, Hannes Schmelzer wrote: > > Hi, > > > > i've same problem. > > > > Running tftp-hpa on Linux Mint 17. > > > > cat /etc/default/tftpd-hpa > > # /etc/default/tftpd-hpa > > RUN_DAEMON="yes" > >

Re: [U-Boot] [PATCH] arc: make AXS101 default platform

2015-09-07 Thread Alexey Brodkin
On Mon, 2015-08-24 at 19:00 +0300, Alexey Brodkin wrote: > This fixes building in automated flow that doesn't use defconfigs. > > See discussion on that topic here: > http://patchwork.ozlabs.org/patch/502558/ > > See similar patches for other architectures/platforms he

[U-Boot] please pull u-boot-arc master

2015-09-07 Thread Alexey Brodkin
to a883f83e6d62fef1830b1634ccb72535c43696f7: arc: make AXS101 default platform (2015-09-07 13:38:24 +0300) Alexey Brodkin (1): arc: make AXS101 default platform arch/arc/Kconfig | 2 +- configs/axs101_defconfig | 3 +-- configs/axs103_defconfig | 2

Re: [U-Boot] [PATCH] arc: make AXS101 default platform

2015-08-24 Thread Alexey Brodkin
Hi Tom, On Mon, 2015-08-24 at 12:09 -0400, Tom Rini wrote: On Mon, Aug 24, 2015 at 07:00:12PM +0300, Alexey Brodkin wrote: This fixes building in automated flow that doesn't use defconfigs. See discussion on that topic here: http://patchwork.ozlabs.org/patch/502558/ See similar

[U-Boot] [PATCH] arc: make AXS101 default platform

2015-08-24 Thread Alexey Brodkin
[2] http://git.denx.de/?p=u-boot.git;a=commit;h=589907e2c187ec69b351c38ccda36730d25ab5d6 And while at it add missing shell prompt to axs103. Cc: Tom Rini tr...@konsulko.com Cc: Joe Hershberger joe.hershber...@gmail.com Cc: Masahiro Yamada yamada.masah...@socionext.com Signed-off-by: Alexey

Re: [U-Boot] [PATCH v3 1/2] arch: Make board selection choices optional

2015-07-29 Thread Alexey Brodkin
Hi Joe, On Wed, 2015-05-13 at 10:11 +0900, Masahiro Yamada wrote: Hi Joe, 2015-05-13 7:12 GMT+09:00 Tom Rini tr...@konsulko.com: diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index c044ad4..85fddd2 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -132,6 +132,7 @@ config

Re: [U-Boot] [PATCH v3 1/2] arch: Make board selection choices optional

2015-07-29 Thread Alexey Brodkin
Hi Joe, Masahiro-san, On Wed, 2015-07-29 at 20:25 +0300, Alexey Brodkin wrote: Hi Joe, On Wed, 2015-05-13 at 10:11 +0900, Masahiro Yamada wrote: Hi Joe, 2015-05-13 7:12 GMT+09:00 Tom Rini tr...@konsulko.com: diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index c044ad4

Re: [U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-04 Thread Alexey Brodkin
Hi Joe, On Wed, 2015-07-01 at 18:02 -0400, Tom Rini wrote: On Wed, Jul 01, 2015 at 10:26:21AM -0500, Joe Hershberger wrote: Hi Alexey, On Wed, Jul 1, 2015 at 9:25 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: Hi Tom, Joe, On Wed, 2015-07-01 at 22:22 +0800, Bin Meng

[U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Alexey Brodkin
executed once in board_r sequence). But that's a bit of a different story and for now let's just get DW GMAC functional again. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Joe Hershberger joe.hershber...@ni.com Cc: Michal Simek michal.si...@xilinx.com Cc: Tom Rini tr...@konsulko.com

Re: [U-Boot] [PATCH] board: axs103 - add mainteiner information

2015-07-01 Thread Alexey Brodkin
On Wed, 2015-07-01 at 17:00 +0300, Alexey Brodkin wrote: Looks like I forgot to add myself as a maintainer for AXS103 defconfig. Fixing this now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board/synopsys/axs101/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] Please pull changes for ARC

2015-07-01 Thread Alexey Brodkin
: axs103 - add maintainer information (2015-07-01 17:19:33 +0300) Alexey Brodkin (3): arc: implement slave cores kick-start for Linux kernel arc: significant cache rework board: axs103 - add maintainer information

[U-Boot] [PATCH] arc: implement slave cores kick-start for Linux kernel

2015-07-01 Thread Alexey Brodkin
. But only core with ID 0 (master core) processes further while others are looping waiting for master core to complete some initialization. That means it's safe to un-pause slave cores and let them execute kernel - they will wait for master anyway. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc

Re: [U-Boot] ARM status or maintainer info currently missing

2015-07-01 Thread Alexey Brodkin
Hi Albert, On Wed, 2015-07-01 at 15:13 +0200, Albert ARIBAUD wrote: Hello all, I get the following when building current u-boot-arm/master with current u-boot/master: * WARNING: no status info for 'am43xx_evm_ethboot' * WARNING: no maintainers for 'am43xx_evm_ethboot' WARNING: no

[U-Boot] [PATCH] board: axs103 - add mainteiner information

2015-07-01 Thread Alexey Brodkin
Looks like I forgot to add myself as a maintainer for AXS103 defconfig. Fixing this now. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board/synopsys/axs101/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/synopsys/axs101/MAINTAINERS b/board/synopsys/axs101

Re: [U-Boot] [PATCH v2] arc: significant cache rework

2015-07-01 Thread Alexey Brodkin
On Wed, 2015-07-01 at 17:15 +0300, Alexey Brodkin wrote: From: Alexey Brodkin alexey.brod...@synopsys.com [1] Align cache management functions to those in Linux kernel. I.e.: a) Use the same functions for all cache ops (D$ Inv/Flush) b) Split cache ops in 3 sub-functions: before

Re: [U-Boot] [PATCH] arc: implement slave cores kick-start for Linux kernel

2015-07-01 Thread Alexey Brodkin
On Wed, 2015-07-01 at 17:03 +0300, Alexey Brodkin wrote: With new SMP-enabled CPUs with ARC HS38 cores and corresponding support in Linux kernel it's required to add basic SMP support in U-Boot. Currently we assume the one and only core starts execution after power-on. So most of things

Re: [U-Boot] [PATCH] net/designware: revert MAC-address setup on init

2015-07-01 Thread Alexey Brodkin
Hi Tom, Joe, On Wed, 2015-07-01 at 22:22 +0800, Bin Meng wrote: Hi Alexey, On Wed, Jul 1, 2015 at 9:59 PM, Alexey Brodkin alexey.brod...@synopsys.com wrote: http://git.denx.de/?p=u -boot.git;a=patch;h=f566c9949fbdce2e09a900c5343ca9986e5ba360 broke DW GMAC operation if !DM_ETH because

[U-Boot] [PATCH v2] arc: significant cache rework

2015-07-01 Thread Alexey Brodkin
From: Alexey Brodkin alexey.brod...@synopsys.com [1] Align cache management functions to those in Linux kernel. I.e.: a) Use the same functions for all cache ops (D$ Inv/Flush) b) Split cache ops in 3 sub-functions: before, lineloop and after. That way we may re-use before and after

Re: [U-Boot] [PATCH] arc: gitignore: ignore ARC DTBs

2015-05-18 Thread Alexey Brodkin
Hello Masahiro-san, On Thu, 2015-05-14 at 18:59 +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arc/dts/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/arc/dts/.gitignore diff --git a/arch/arc/dts/.gitignore

[U-Boot] [PATCH] arc: significant cache rework

2015-05-18 Thread Alexey Brodkin
in partucular for speed-up of relocation). Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/Kconfig | 10 ++ arch/arc/include/asm/arcregs.h | 5 +- arch/arc/include/asm/cache.h | 7 +- arch/arc/lib/cache.c | 378

[U-Boot] please pull u-boot-arc master

2015-05-18 Thread Alexey Brodkin
Hi Tom, The following changes since commit 3bfe3ce2a6e3b04da1d04dbc0520dcc26e17f98a: MAINTAINERS, git-mailrc: Update Jagan's name and e-mail (2015-05-16 07:34:26 -0400) are available in the git repository at: git://git.denx.de/u-boot-arc.git for you to fetch changes up to

[U-Boot] pritnf() in arch_cpu_init()

2015-05-18 Thread Alexey Brodkin
Hi Simon, I was looking at how to output error message from very early init and found IMHO senseless code in arch/x86/cpu/coreboot/coreboot.c: 8-- int arch_cpu_init(void) { int ret = get_coreboot_info(lib_sysinfo); if (ret != 0) {

Re: [U-Boot] [PATCH v2] arc: use more universal prefix for default CROSS_COMPILE

2015-05-13 Thread Alexey Brodkin
Hello Masahiro-san, On Wed, 2015-05-13 at 18:49 +0900, Masahiro Yamada wrote: As doc/README.ARC says, pre-build ARC toolchains are available at the Synopsys GitHub page. The bin files are prefixed with arc(eb)-buildroot-linux- for earlier releases, but with arc(eb)-snps-linux- for the

[U-Boot] [PATCH] arc: remove dummy target

2015-05-13 Thread Alexey Brodkin
. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Joe Hershberger joe.hershber...@ni.com --- arch/arc/Kconfig | 8 1 file changed, 8 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 85fddd2..67d28d3 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig

Re: [U-Boot] [PATCH] ARC: change the default CROSS_COMPILE for ARC

2015-05-13 Thread Alexey Brodkin
Hello Masahiro-san, On Mon, 2015-05-11 at 19:42 +0900, Masahiro Yamada wrote: As doc/README.ARC says, pre-build ARC toolchains are available at the Synopsys GitHub page. The bin files are prefixed with arc(eb)-buildroot-linux- for earlier releases, but with arc(eb)-snps-linux- for the

Re: [U-Boot] [PATCH] arc: remove dummy target

2015-05-13 Thread Alexey Brodkin
On Wed, 2015-05-13 at 13:50 +0300, Alexey Brodkin wrote: TARGET_DUMMY was introduced to resolve the same problem as commit arch: Make board selection choices optional http://git.denx.de/?p=u-boot.git;a=commit;h=a26cd04920dc069fd6e91abb785426cf6c29f45f Latter implementation is much cleaner

[U-Boot] please pull u-boot-arc master

2015-05-13 Thread Alexey Brodkin
to 4e31e5676f0158119783def2ab9851b6bc7e6648: arc: remove dummy target (2015-05-13 19:20:35 +0300) Alexey Brodkin (1): arc: remove dummy target Masahiro Yamada (1): arc: use more universal prefix for default CROSS_COMPILE arch/arc/Kconfig | 8

[U-Boot] [PATCH] board: axs10x - support v3 mother-board

2015-04-09 Thread Alexey Brodkin
width 8-bit in [1] and 16-bit in [2]. And for proper support of 16-bit data bus we have to pass NAND_BUSWIDTH_16 option to NAND driver core - which we do now knowing board type we're running on. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board/synopsys/axs101/axs101.c | 14

Re: [U-Boot] sun9i target support in u-boot?

2015-04-06 Thread Alexey Brodkin
Hello Alexander, On Sun, 2015-04-05 at 22:41 -0500, kallisti5 wrote: Good evening! I'm looking at a port of Haiku (haiku-os.org) to the A80 cubieboard4. I can't seem to figure out their u-boot from SD card process. Is there sun9i support in your branch / mainline? kallisti5@eris ~ :)

[U-Boot] please pull u-boot-arc master

2015-04-03 Thread Alexey Brodkin
: board: AXS10x - update SDIO clock value (2015-04-03 09:47:50 +0300) Alexey Brodkin (12): serial/serial_arc: set registers address during compilation arc: cache - build invalidate_icache_all() and invalidate_dcache_all

Re: [U-Boot] [PATCH v2 1/7] arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Make both invalidate_icache_all() and invalidate_dcache_all() available even if U-Boot is configured with CONFIG_SYS_DCACHE_OFF and/or CONFIG_SYS_ICACHE_OFF. This is useful because configuration of U-Boot may not match actual hardware

Re: [U-Boot] [PATCH v2 3/7] arc: move low-level interrupt and exception handlers in a separate file

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: This separation makes maintenance of code easier because those low-level interrupt- or exception handling routines are pretty static and usually require not much care while start-up code is a subject of modifications and enhancements

Re: [U-Boot] [PATCH v2 2/7] arc: merge common start-up code between ARC and ARCv2

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Even though ARCompact and ARCv2 are not binary compatible most of assembly instructions are used in both. With this change we'll get rid of duplicate code. Still IVTs are implemented differently so we're keeping them in separate files

Re: [U-Boot] [PATCH v2 4/7] arc: clean-up init procedure

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Intention behind this work was elimination of as much assembly-written code as it is possible. In case of ARC we already have relocation fix-up implemented in C so why don't we use C for U-Boot copying, .bss zeroing etc. It turned

Re: [U-Boot] [PATCH v2 5/7] arc: re-generate defconfigs

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: Before that moment our defconfigs were manually modified with addition of new options. That means once anybody wants to add another option and re-genarate defconfig with make defconfig there will be lots of differences. So to make future

Re: [U-Boot] [PATCH v2 7/7] arc: minor fixes in Kconfig

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: [1] Fix misspeling in ARC_CACHE_LINE_SHIFT dependency, now cache-line lenth selection is correctly enabled if either I$ or D$ are enabled. [2] Add dummy entry to target list to make sure target type is always mentioned in defconfig

Re: [U-Boot] [PATCH v2 6/7] arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote: As discussed on mailing list we're drifting away from CONFIG_SYS_GENERIC_GLOBAL_DATA in favour to use of board_init_f_mem() for global data. So do this for ARC architecture. Signed-off-by: Alexey Brodkin abrod...@synopsys.com

Re: [U-Boot] [PATCH] arc: add support for SLC (System Level Cache, AKA L2-cache)

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:25 +0300, Alexey Brodkin wrote: ARCv2 cores may have built-in SLC (System Level Cache, AKA L2-cache). This change adds functions required for controlling SLC: * slc_enable/disable * slc_flush/invalidate For now we just disable SLC to escape DMA coherency issues

Re: [U-Boot] [PATCH] serial-arc: switch to DM

2015-04-03 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:18 +0300, Alexey Brodkin wrote: Now when all infrastructure in ARC is ready for it let's switch ARC UART to driver model. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Simon Glass s...@chromium.org Applied

[U-Boot] [PATCH] board: AXS10x - update SDIO clock value

2015-04-02 Thread Alexey Brodkin
With the most recent board firmware correct SDIO clock is 50MHz as opposed to 25 MHz before. Also set max frequency of MMC data exchange equal to SDIO clock - because there's no way to transfer data faster than interface clock. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- board

Re: [U-Boot] [PATCH] arc: AXS101 - enable data cache

2015-04-02 Thread Alexey Brodkin
On Tue, 2015-03-31 at 13:20 +0300, Alexey Brodkin wrote: With recent changes in mother-board firmware DMA works properly with data cache enabled. So we enable data cache for the board in defconfig to gain significant improvement in performance. Even though NAND controller seem to work fine now

[U-Boot] [PATCH v2 0/7] ARC updates

2015-03-31 Thread Alexey Brodkin
() * Unconditionally disable caches on early start, if required enable them later in init_cache_f_r() * Fixed typo in commit message Alexey Brodkin (7): arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always arc: merge common start-up code between ARC and ARCv2 arc: move low

[U-Boot] [PATCH v2 1/7] arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always

2015-03-31 Thread Alexey Brodkin
contents of data cache gets flushed in RAM. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- Changes in v2: * This patch was introduced in v2 only --- arch/arc/lib/cache.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arc/lib/cache.c b/arch/arc/lib

[U-Boot] [PATCH v2 3/7] arc: move low-level interrupt and exception handlers in a separate file

2015-03-31 Thread Alexey Brodkin
This separation makes maintenance of code easier because those low-level interrupt- or exception handling routines are pretty static and usually require not much care while start-up code is a subject of modifications and enhancements. Signed-off-by: Alexey Brodkin abrod...@synopsys.com

[U-Boot] [PATCH v2 5/7] arc: re-generate defconfigs

2015-03-31 Thread Alexey Brodkin
away. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: * Fixed typo, thanks to Masahiro-san --- configs/arcangel4-be_defconfig | 4 ++-- configs/arcangel4_defconfig| 2 +- configs/axs101_defconfig | 6 +++--- configs

[U-Boot] [PATCH] arc: AXS101 - enable data cache

2015-03-31 Thread Alexey Brodkin
With recent changes in mother-board firmware DMA works properly with data cache enabled. So we enable data cache for the board in defconfig to gain significant improvement in performance. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- configs/axs101_defconfig | 1 - 1 file changed, 1

[U-Boot] [PATCH] board: Switch Abilis TB-100 board to Driver Model for serial port

2015-03-31 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Simon Glass s...@chromium.org --- arch/arc/dts/Makefile | 1 + arch/arc/dts/abilis_tb100.dts | 24 configs/tb100_defconfig | 5 + include/configs

[U-Boot] [PATCH v2 2/7] arc: merge common start-up code between ARC and ARCv2

2015-03-31 Thread Alexey Brodkin
Even though ARCompact and ARCv2 are not binary compatible most of assembly instructions are used in both. With this change we'll get rid of duplicate code. Still IVTs are implemented differently so we're keeping them in separate files. Signed-off-by: Alexey Brodkin abrod...@synopsys.com

[U-Boot] [PATCH v2 4/7] arc: clean-up init procedure

2015-03-31 Thread Alexey Brodkin
in board_f.c initially implemented for x86. Now assembly usage during init is limited to stack- and frame-pointer setup before and after relocation. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Simon Glass s...@chromium.org --- Changes in v2: * Unconditionally disable caches on early

[U-Boot] [PATCH v2 6/7] arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA

2015-03-31 Thread Alexey Brodkin
As discussed on mailing list we're drifting away from CONFIG_SYS_GENERIC_GLOBAL_DATA in favour to use of board_init_f_mem() for global data. So do this for ARC architecture. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- No changes in v2 --- arch/arc/include/asm/config.h | 1 - arch

[U-Boot] [PATCH v2 7/7] arc: minor fixes in Kconfig

2015-03-31 Thread Alexey Brodkin
will not have target name and later on with addition of the new target on top of the list in Kconfig will lead to corrupted configuration expanded from defconfig. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- No changes in v2 --- arch/arc/Kconfig | 10 +- 1 file changed, 9 insertions

[U-Boot] [PATCH] serial-arc: switch to DM

2015-03-31 Thread Alexey Brodkin
Now when all infrastructure in ARC is ready for it let's switch ARC UART to driver model. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Simon Glass s...@chromium.org --- arch/Kconfig | 1 + arch/arc/dts/Makefile

[U-Boot] [PATCH] arc: add support for SLC (System Level Cache, AKA L2-cache)

2015-03-31 Thread Alexey Brodkin
-Boot * hardware DMA coherency is implemented (that might be board specific so probably we'll need to have a separate Kconfig option for controlling SLC explicitly) Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/include/asm/arcregs.h | 4 arch/arc/include/asm/cache.h

Re: [U-Boot] [PATCH 6/6] arc: re-generate defconfigs

2015-03-30 Thread Alexey Brodkin
Hello Masahiro-san, On Sun, 2015-03-29 at 19:47 +0900, Masahiro Yamada wrote: Hi Alexey, 2015-03-17 21:13 GMT+09:00 Alexey Brodkin alexey.brod...@synopsys.com: Before that moment our defconfigs were manually modified with addition of new options. That means once anybody wants to addd

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 do

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 yamada.masah...@socionext.com 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.

<    1   2   3   4   5   6   7   8   >