[U-Boot] [PATCH] arc: Update data accessors with use of memory barriers

2016-06-09 Thread Alexey Brodkin
corruptions. This implementation was heavily borrowed from up to date Linux kernel. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/include/asm/io.h | 95 +++ 1 file changed, 79 insertions(+), 16 deletions(-) diff --git a/arch/arc/inclu

Re: [U-Boot] [PATCH] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Stefan, On Fri, 2016-06-10 at 12:39 +0200, Stefan Roese wrote: > Hi Alexey, > > On 10.06.2016 12:30, Alexey Brodkin wrote: > > > > Often during debugging session it's very interesting to see > > what data we were dealing with. For example what we write

[U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
->8 Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Reviewed-by: Stefan Roese <s...@denx.de> Cc: Tom Rini <tr...@konsulko.com> --- Changes v1 -> v2: * Move hexdump definitions to a separate he

[U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Alexey Brodkin
to introduction of a real implementation of print_hex_dump() we need those symbols to be defined as something real so we're taking them as they are from Linux kernel. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Stefan Roese <s...@denx.de> Cc: Tom Rini <tr...@kons

[U-Boot] [PATCH RESEND 0/2 v2] Introduce hexdump

2016-06-10 Thread Alexey Brodkin
functions. Note even though entire series is tagges as v2 Cc: Stefan Roese <s...@denx.de> Cc: Tom Rini <tr...@konsulko.com> Alexey Brodkin (2): linux-compat: Use original kern_levels.h for kernel debug levels lib: Add hexdump Changes v1 -> v2: * Introduced linux/kern_level

[U-Boot] [PATCH 1/2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Alexey Brodkin
to introduction of a real implementation of print_hex_dump() we need those symbols to be defined as something real so we're taking them as they are from Linux kernel. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Stefan Roese <s...@denx.de> Cc: Tom Rini <tr...@kons

[U-Boot] [PATCH 0/2 v2] Introduce hexdump

2016-06-10 Thread Alexey Brodkin
gges as v2 Cc: Stefan Roese <s...@denx.de> Cc: Tom Rini <tr...@konsulko.com> Alexey Brodkin (2): linux-compat: Use original kern_levels.h for kernel debug levels lib: Add hexdump Changes v1 -> v2: * Introduced linux/kern_levels.h so KERNEL_XXX symbols are really defined *

[U-Boot] [PATCH] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
4 40 65 30 30 31 38 fdtcontret@e0018 --->8 Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- include/common.h | 57 + include/linux/compat.h | 1 - lib/Kconfig

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
г. 18:32 пользователь "Langer, Thomas" <thomas.lan...@intel.com> написал: Hello Alexey, This feature is already available in u-boot, please look for 'print_buffer'. Best regards, Thomas > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] O

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:22 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:42:31PM +0300, Alexey Brodkin wrote: > > > > > Often during debugging session it's very interesting to see > > what data we were dealing with. For example what we write or

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:37 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:31:30PM +, Langer, Thomas wrote: > > > > > Hello Alexey, > > > > This feature is already available in u-boot, please look for 'print_buffer'. > > ... make this a candidate for moving over to the linux

[U-Boot] [PATCH] arc/cache: really do invalidate_dcache_all() even if IOC exists

2016-06-09 Thread Alexey Brodkin
we need to care ourselves about data used only by CPU cores and so remove dependency on IOC from invalidate_dcache_all() and always do real invalidation. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/cache.c | 7 ++- 1 file changed, 2 insertions(+), 5 del

[U-Boot] [PATCH] arc/cache: Flush & invalidate all caches right before enabling IOC

2016-06-09 Thread Alexey Brodkin
flushing and invalidating it. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/cache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c index a27499e..b6ec831 100644 --- a/arch/arc/lib/cache.c +++ b/arch/arc/lib/cache.c @@

[U-Boot] [PATCH 2/2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
->8 Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Reviewed-by: Stefan Roese <s...@denx.de> Cc: Tom Rini <tr...@konsulko.com> --- Changes v1 -> v2: * Move hexdump definitions to a separate he

[U-Boot] [PATCH] axs103: Bump CPU frequency from 50MHz to 100MHz

2016-06-10 Thread Alexey Brodkin
In the upcoming release of axs103 v1.1 CPU will run @100MHz which we support with that change. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- configs/axs103_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/axs103_defconfig b/c

[U-Boot] Please pull ARC changes

2016-06-13 Thread Alexey Brodkin
to fc1e8fbbb2ea73139c2eadf2f174d6c3fc4ee03f:   axs103: Bump CPU frequency from 50MHz to 100MHz (2016-06-13 14:38:05 +0200) Alexey Brodkin (5):   arc/cache: really do invalidate_dcache_all() even if IOC exists   arc/cache: Flush & invalidate all caches r

Re: [U-Boot] arc: axs103 compile broken ?

2016-06-14 Thread Alexey Brodkin
Hi Heiko, On Tue, 2016-06-14 at 07:07 +0200, Heiko Schocher wrote: > Hello Sjoerd, > > as I just write a tbot testcase, which checks patches, which moves > a config option to Kconfig, I tested also to compile arc boards, and > the first try immediately failed with: > > pollux:u-boot-dxr2 hs

Re: [U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-13 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:20 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:42:30PM +0300, Alexey Brodkin wrote: > > > > Even currently in U-Boot we don't really use kernel debug levels > > we do have quite a lot of code that was copy-pasted from Linux kerne

Re: [U-Boot] Unaligned flush_dcache_range in axs101.c

2016-05-26 Thread Alexey Brodkin
Hi Marek, On Fri, 2016-04-15 at 15:49 +0200, Marek Vasut wrote: > On 04/15/2016 03:00 PM, Alexey Brodkin wrote: > > Cache management functions should be implemented per arch or platform and so > > that they match requirements of underlying hardware. If hardware may only > &

[U-Boot] [PATCH] arc: Use "-mcpu=archs" instead of deprecated "-marchs" for ARC HS

2016-06-16 Thread Alexey Brodkin
Newer ARC toolchains don't support "-marchs" option any longer. Instead "-mcpu=archs" should be used. What's also important older toiolchains that support ARC HS cores will also happily accept "-mcpu=archs" so that's a very safe move. Signed-off-by: Alexey

Re: [U-Boot] [PATCH 2/7] arc: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-11 Thread Alexey Brodkin
. > > > > Signed-off-by: Thomas Chou <tho...@wytron.com.tw> > > Cc: Alexey Brodkin <alexey.brod...@synopsys.com> > > --- > > arch/arc/dts/Makefile | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH] net: phy: genphy: Allow overwriting features

2016-01-11 Thread Alexey Brodkin
Hi Joe, On Mon, 2016-01-11 at 10:54 -0600, Joe Hershberger wrote: > Hi Alexey, > > On Mon, Jan 11, 2016 at 3:45 AM, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Joe, > > > > On Wed, 2015-12-23 at 19:44 +0300, Alexey Brodkin wrote: > > &g

[U-Boot] [PATCH] net/designware: add support of max-speed device tree property

2016-01-11 Thread Alexey Brodkin
in Linux kernel these days and some boards do already use it in their device tree descriptions. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Joe Hershberger <joe.hershber...@gmail.com> --- drivers/net/designware.c | 14 +- drivers/net/designware.h | 1 + 2 files

Re: [U-Boot] [PATCH] net: phy: genphy: Allow overwriting features

2016-01-11 Thread Alexey Brodkin
Hi Joe, On Mon, 2016-01-11 at 11:55 -0600, Joe Hershberger wrote: > Hi Alexey, > > On Mon, Jan 11, 2016 at 11:50 AM, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Joe, > > > > On Mon, 2016-01-11 at 10:54 -0600, Joe Hershberger wrote: > >

Re: [U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-18 Thread Alexey Brodkin
Hi Joe, On Wed, 2016-01-13 at 16:59 +0300, Alexey Brodkin wrote: > In some cases Ethernet PHY and network itself might support speeds > which are not supported by Ethernet controller (MAC). > > To support that kind of situation it is required to force limit > PHY so it is

Re: [U-Boot] arc: axs103 compile broken ?

2016-06-16 Thread Alexey Brodkin
Hi Simon, On Wed, 2016-06-15 at 18:39 -0600, Simon Glass wrote: > Hi Alexey, > > On 14 June 2016 at 01:15, Alexey Brodkin <alexey.brod...@synopsys.com> wrote: > > > > Hi Heiko, > > > > On Tue, 2016-06-14 at 07:07 +0200, Heiko Schocher wrote: > >

Re: [U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-27 Thread Alexey Brodkin
Hi Joe, On Tue, 2016-01-19 at 07:02 +, Alexey Brodkin wrote: > Hi Joe, > > On Wed, 2016-01-13 at 16:59 +0300, Alexey Brodkin wrote: > > In some cases Ethernet PHY and network itself might support speeds > > which are not supported by Ethernet controller (MAC). > >

Re: [U-Boot] [PATCH v2 0/7] net: add support for phy speed limitation

2016-01-27 Thread Alexey Brodkin
Hi Joe, On Wed, 2016-01-27 at 12:48 -0600, Joe Hershberger wrote: > On Wed, Jan 27, 2016 at 10:23 AM, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > Hi Joe, > > > > On Tue, 2016-01-19 at 07:02 +, Alexey Brodkin wrote: > > > Hi Joe, > &g

Re: [U-Boot] [PATCH 2/5] usb: ehci: Use map_physmem in ehci-generic

2016-01-27 Thread Alexey Brodkin
gmail.com> > Cc: Hans de Goede <hdego...@redhat.com> > Cc: Masahiro Yamada <yamada.masah...@socionext.com> > Cc: Alexey Brodkin <abrod...@synopsys.com> > --- Probably I'm missing something but I cannot apply it on top of current master: -&g

[U-Boot] Please pull ARC changes

2016-02-20 Thread Alexey Brodkin
to db6ce2312dcae87619136457d1f9df56789f630a:   arc: cache - utilize IO coherency (AKA IOC) engine (2016-02-20 11:20:05 +0300) Alexey Brodkin (2):   arc: cache - accommodate different L1 cache line lengths   arc: cache - utilize IO coherency (AKA IOC

[U-Boot] [PATCH] arc: get rid of running_on_hw

2016-02-20 Thread Alexey Brodkin
ISS is obsolete now and nSIM is used for simulation instead. In its turn nSIM properly handles baud-rate settings so get rid of now useless check. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/include/asm/global_data.h | 1 - arch/arc/lib/cpu.c

[U-Boot] [PATCH] arc: Add virt_to_phys() stub

2016-04-08 Thread Alexey Brodkin
oard could be built again. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Marek Vasut <ma...@denx.de> Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Cc: Hans de Goede <hdego...@redhat.com> --- arch/arc/include/asm/io.h | 5 + 1 file changed, 5 in

Re: [U-Boot] [PATCH] arc: Add virt_to_phys() stub

2016-04-08 Thread Alexey Brodkin
Hi Marek, On Fri, 2016-04-08 at 19:05 +0200, Marek Vasut wrote: > On 04/08/2016 07:00 PM, Alexey Brodkin wrote: > > > > Commit cf7c93cdd755 "usb: ehci: Implement V2P mapping" > > introduced usage of virt_to_phys() in ehci-hcd. > > > > Since there was

Re: [U-Boot] [PATCH] arc: Add virt_to_phys() stub

2016-04-08 Thread Alexey Brodkin
Hi Marek, On Fri, 2016-04-08 at 19:23 +0200, Marek Vasut wrote: > On 04/08/2016 07:08 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2016-04-08 at 19:05 +0200, Marek Vasut wrote: > > > > > > On 04/08/2016 07:00 PM, Alexey Br

Re: [U-Boot] [PATCH] arc: get rid of running_on_hw

2016-04-11 Thread Alexey Brodkin
Hi, On Sat, 2016-02-20 at 11:33 +0300, Alexey Brodkin wrote: > ISS is obsolete now and nSIM is used for simulation instead. > In its turn nSIM properly handles baud-rate settings so get rid > of now useless check. > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com&

Re: [U-Boot] [PATCH] arc: Add virt_to_phys() stub

2016-04-11 Thread Alexey Brodkin
Hi, On Fri, 2016-04-08 at 19:27 +0200, Marek Vasut wrote: > On 04/08/2016 07:00 PM, Alexey Brodkin wrote: > > > > Commit cf7c93cdd755 "usb: ehci: Implement V2P mapping" > > introduced usage of virt_to_phys() in ehci-hcd. > > > > Since there was

Re: [U-Boot] Unaligned flush_dcache_range in axs101.c

2016-04-11 Thread Alexey Brodkin
Hi Alex, On Mon, 2016-04-04 at 09:38 +0200, Alexander Graf wrote: > Hi Alexey, > > Marek just pointed out to me the fact that flush_dcache_range on arm > expects cache line aligned arguments. However, it seems like in axs101.c > we have an unaligned cache flush: > >  

[U-Boot] Please pull ARC changes

2016-04-11 Thread Alexey Brodkin
  for you to fetch changes up to 53637c911b7a2397b50690cd67b7d59145bcae9c:   arc: Add virt_to_phys() stub (2016-04-11 10:20:38 -0700) Alexey Brodkin (2):   arc: get rid of running_on_hw   arc: Add virt_to_phys() stub  arch

Re: [U-Boot] Unaligned flush_dcache_range in axs101.c

2016-04-11 Thread Alexey Brodkin
Hi Marek, On Mon, 2016-04-11 at 19:54 +0200, Marek Vasut wrote: > On 04/11/2016 07:48 PM, Alexey Brodkin wrote: > > > > Hi Alex, > > > > On Mon, 2016-04-04 at 09:38 +0200, Alexander Graf wrote: > > > > > > Hi Alexey, > > > > > >

[U-Boot] Please pull ARC changes

2016-04-21 Thread Alexey Brodkin
/cache: really do flush_dcache_all() even if IOC exists (2016-04-21 20:09:59 +0300) Alexey Brodkin (1):   arc/cache: really do flush_dcache_all() even if IOC exists  arch/arc/lib/cache.c | 7 ++-  1 file changed, 2 insertions

Re: [U-Boot] [PATCH] arc/cache: really do flush_dcache_all() even if IOC exists

2016-04-21 Thread Alexey Brodkin
Hi, On Mon, 2016-04-18 at 13:28 +0300, Alexey Brodkin wrote: > flush_dcache_all() is used in the very end of U-Boot self relocation > to write back all copied and then patched code and data to their > new location in the very end of available memory space. > > Since that ha

[U-Boot] [PATCH] arc/cache: really do flush_dcache_all() even if IOC exists

2016-04-18 Thread Alexey Brodkin
to write back data cache contents manually. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/cache.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c index 56988dd..d1fb661 100644 --- a/arch/arc/lib/c

Re: [U-Boot] Unaligned flush_dcache_range in axs101.c

2016-04-15 Thread Alexey Brodkin
Hi Marek, On Mon, 2016-04-11 at 20:48 +0200, Marek Vasut wrote: > On 04/11/2016 08:13 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Mon, 2016-04-11 at 19:54 +0200, Marek Vasut wrote: > > > > > > On 04/11/2016 07:48 PM, Alexey Bro

Re: [U-Boot] [PATCH 1/3] usb: add CONIFG_USB_OHCI_HCD in Kconfig

2016-08-01 Thread Alexey Brodkin
Hi Masahiro-san, On Sun, 2016-07-31 at 18:24 +0900, Masahiro Yamada wrote: > Add this option as a common config for all OHCI controllers.  Its > help message was copied from Linux.  Also, I moved it below EHCI > to respect the order in Linux's Kconfig. > > Add CONFIG_USB_OHCI_HCD=y to

[U-Boot] [PATCH] arc: Add debug messages during relocation fixups

2016-08-04 Thread Alexey Brodkin
This might be useful to make sure relocation fixups really happen. And since this info gets printed only in DEBUG build it doesn't really hurt normal execution. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/relocate.c | 7 +++ 1 file changed, 7 insertions(+)

[U-Boot] [PATCH] arc: Update exception & interrupt handling for ARCv2

2016-08-04 Thread Alexey Brodkin
implemented properly and extened to all possible 240 items. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/cpu/arcv2/ivt.S | 31 ++- arch/arc/lib/interrupts.c | 26 ++ arch/arc/lib/ints_low.S | 28 +

[U-Boot] [PATCH] arc: Rename AXS101 board to more generic AXS10x

2016-08-04 Thread Alexey Brodkin
generic board could be used for both. While at it: * Recreated defconfigs with savedefconfig * In include/configs/axs10x.h numerical sizes replaced with defines from linux/sizes.h for better readability. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Tom Rini <tr...@kon

[U-Boot] [PATCH] arc: No need in sections defined in sources with newer tools

2016-08-04 Thread Alexey Brodkin
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longer required, dump them. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/cpu/u-boot.lds

[U-Boot] [PATCH] arc: Rename ARCangel4 board to nSIM

2016-08-04 Thread Alexey Brodkin
defconfigs with ARC HS38 cores * Recreated all defconfigs with savedefconfig Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/Kconfig | 4 ++-- arch/arc/dts/Makefile| 2 +- arch/arc/dts/{arcange

[U-Boot] [PATCH] net: designware: Make driver independent from DM_GPIO again

2016-06-27 Thread Alexey Brodkin
IO (that's the case for Synopsys AXS10x boards) we're shielding all DM_GPIO things by ifdefs. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Simon Glass <s...@chromium.org> Cc: Beniamino Galvani <b.galv...@gmail.com> Cc: Joe Hershberger <joe.hershber...@ni.com

Re: [U-Boot] Wandboard: u-boot.img is getting too large

2016-07-05 Thread Alexey Brodkin
Hi Wolfgang, On Tue, 2016-07-05 at 08:11 +0200, Wolfgang Denk wrote: Dear Alexey, In message <1467694422.3144.32.ca...@synopsys.com> you wrote: According to http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout Wandboard's

[U-Boot] Wandboard: u-boot.img is getting too large

2016-07-04 Thread Alexey Brodkin
Hello, Recently I started to notice that u-boot.img built for Wandboard by some toolchains becomes so large that it basically overlaps with U-Boot environment area on SD-card. According to  http://wiki.wandboard.org/index.php/Boot-process#sdcard_boot_data_layout Wandboard's SD-card layout is as

[U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-09 Thread Alexey Brodkin
l partition on the SD-card. This patch will follow 8fb9eea5653796 ("mx6sabre_common: Fix U-Boot corruption after 'saveenv'"). So env is still not in the very end of the gap (obviously 256kb is way too much for U-Boot's env) but at least we have now the same partitioning for i.MX6 boards. Sig

Re: [U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-11 Thread Alexey Brodkin
Hi Otavio, On Sat, 2016-07-09 at 10:02 -0300, Otavio Salvador wrote: > On Sat, Jul 9, 2016 at 9:42 AM, Alexey Brodkin > <alexey.brod...@synopsys.com> wrote: > > > > Recently I started to notice that u-boot.img built for Wandboard > > by some toolchains becomes so la

[U-Boot] Please pull ARC changes

2016-08-05 Thread Alexey Brodkin
repository at:   git://git.denx.de/u-boot-arc.git  for you to fetch changes up to 65fcba1251dcb1fc2c48966406145a69fee3a817:   arc: Rename AXS101 board to more generic AXS10x (2016-08-05 12:50:33 +0300) Alexey Brodkin (5):   arc: Add

Re: [U-Boot] [PATCH] arc: Rename AXS101 board to more generic AXS10x

2016-08-05 Thread Alexey Brodkin
Hi Tom, On Thu, 2016-08-04 at 11:02 -0400, Tom Rini wrote: > On Thu, Aug 04, 2016 at 03:14:34PM +0300, Alexey Brodkin wrote: > > > > > As of now we have 2 flavors of ARC SDP boards: > >  1) AXS101 - with ARC770 in ASIC > >  2) AXS103 - with ARC HS38 in FPGA >

Re: [U-Boot] [PATCH] arc: Add debug messages during relocation fixups

2016-08-05 Thread Alexey Brodkin
Hi, On Thu, 2016-08-04 at 14:08 +0300, Alexey Brodkin wrote: > This might be useful to make sure relocation fixups really > happen. And since this info gets printed only in DEBUG > build it doesn't really hurt normal execution. > > Signed-off-by: Alexey Brodkin <abrod...@syno

Re: [U-Boot] [PATCH] arc: Update exception & interrupt handling for ARCv2

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 14:09 +0300, Alexey Brodkin wrote: > Initially IVT for ARCv2 was simply copypasted from ARCompact > with some selected fixes so basic stuff works. > > Now we update it with more ARCv2 specific vectors like >  * Software Interrupt >  * Division by ze

Re: [U-Boot] [PATCH] arc: Rename AXS101 board to more generic AXS10x

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 15:14 +0300, Alexey Brodkin wrote: > As of now we have 2 flavors of ARC SDP boards: >  1) AXS101 - with ARC770 in ASIC >  2) AXS103 - with ARC HS38 in FPGA > > Both options share exactly the same base-board and only differ with > CPU-tiles in u

Re: [U-Boot] [PATCH] arc: No need in sections defined in sources with newer tools

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 14:09 +0300, Alexey Brodkin wrote: > Starting from arc-2016.03 GNU tools linker properly works with > symbols defined in linker script and so external declarations > are no longer required, dump them. > > Signed-off-by: Alexey Brodkin <abrod...@syno

Re: [U-Boot] [PATCH] arc: Rename ARCangel4 board to nSIM

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 14:51 +0300, Alexey Brodkin wrote: > ARCangel was one of the main development boards back in the day but > now it's gone and replaced by other boards like ARC SDP. > > But we also used to have simulation platform very similar to ARCangel4 > in terms

Re: [U-Boot] [PATCH] net: designware: Make driver independent from DM_GPIO again

2016-07-04 Thread Alexey Brodkin
Hi Joe, On Mon, 2016-06-27 at 13:17 +0300, Alexey Brodkin wrote: > Commit 90b7fc924adf "net: designware: support phy reset device-tree > bindings" made DW GMAC driver dependent on DM_GPIO by unconditional > usage of purely DM_GPIO stuff like: >  * dm_gpio_XXX() >

[U-Boot] Please pull ARC changes

2016-07-04 Thread Alexey Brodkin
oot-arc.git  for you to fetch changes up to c7dea6e259d68cc0645daf3fe2188e077748ef9e:   arc: make global_data.h usable in assembly files (2016-07-04 11:43:41 +0300) ------------ Alexey Brodkin (2):   arc: Use "-mcpu=archs" in

[U-Boot] [PATCH] splash: Introduce default_splash_locations

2016-07-01 Thread Alexey Brodkin
as well. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Nikita Kiryanov <nik...@compulab.co.il> Cc: Simon Glass <s...@chromium.org> Cc: Jeroen Hofstee <jer...@myspectrum.nl> Cc: Anatolij Gustschin <ag...@denx.de> Cc: Robert Winkler <robert.wink...@boundary

[U-Boot] [PATCH] splash: Accommodate DM_USB in splash_init_usb()

2016-07-01 Thread Alexey Brodkin
Current implementation of splash_init_usb() requires usb_stor_scan() which doesn't exist in case of DM_USB simply because real probing happens right in usb_init(). So disable usage of usb_stor_scan() in case of DM_USB. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Nikita Ki

Re: [U-Boot] [PATCH 1/3] drivers: timer: Introduce ARC timer driver

2017-01-31 Thread Alexey Brodkin
Hi Simon, On Tue, 2017-01-31 at 14:44 +, Vlad Zakharov wrote: > Hi Simon, > > On Fri, 2017-01-20 at 20:51 -0700, Simon Glass wrote: > > > > > > > > +   switch (priv->timer_id) { > > > +   case 0: > > > +   /* Disable timer if CPU is halted */ > > > +  

Re: [U-Boot] [PATCH 1/3] drivers: timer: Introduce ARC timer driver

2017-02-06 Thread Alexey Brodkin
Hi Simon, On Mon, 2017-02-06 at 07:33 -0800, Simon Glass wrote: > Hi Alexey, > > On 31 January 2017 at 07:35, Alexey Brodkin <alexey.brod...@synopsys.com> > wrote: > > > > Hi Simon, > > > > On Tue, 2017-01-31 at 14:44 +, Vlad Zakharov wrote:

[U-Boot] [PATCH] buildman: Update link to the most recent prebuilt ARC toolachin

2017-01-26 Thread Alexey Brodkin
To troubleshoot unexpected bhavior during building and what's more important during execution it is strongly recommended to use recent ARC toolchain, and so we're now referring to arc-2016.09 which is the latest as of today. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> ---

[U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-02-10 Thread Alexey Brodkin
to it now. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Marek Vasut <ma...@denx.de> Cc: Simon Glass <s...@chromium.org> Cc: Mateusz Kulikowski <mateusz.kulikow...@gmail.com> --- drivers/usb/host/ehci.h | 10 -- 1 file changed, 4 insertions(+), 6

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-03-01 Thread Alexey Brodkin
Hi Marek, On Fri, 2017-02-10 at 21:33 +0100, Marek Vasut wrote: > On 02/10/2017 09:23 PM, Alexey Brodkin wrote: > > > > Current implementation doesn't allow utilization of platform-specific > > reads and writes. > > > > But some arches or platforms may wa

[U-Boot] [PATCH] arc: Use -mcpu=XXX instead of obsolete -marcXXX

2016-09-16 Thread Alexey Brodkin
With newer ARC tools old way of CPU specification gets obsolete, so we're switching to newer and more common way of setting "-mcpu". Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Anton Kolesov <akole...@synopsys.com> --- arch/arc/config.mk | 6 +++--- 1 file

Re: [U-Boot] [PATCH 2/8] Remove arch/${ARCH}/include/asm/errno.h

2016-09-21 Thread Alexey Brodkin
we just have to care about the > consistency in the U-Boot tree. > > Now all of include directives for are gone. > Deprecate . > > Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> > --- > >  arch/arc/include/asm/errno.h| 1 - Ac

Re: [U-Boot] [RESEND PATCH 04/10] Remove arch/${ARCH}/include/asm/errno.h

2016-09-22 Thread Alexey Brodkin
t; > > Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> > > > Alexey gave Acked-by to the superseded version > (http://patchwork.ozlabs.org/patch/672513/), > so I am repeating it here just in case. > > Acked-by: Alexey Brodkin <abrod...@synopsys.com> T

[U-Boot] Please pull ARC changes

2016-09-16 Thread Alexey Brodkin
to fetch changes up to 7c8d81605302e7d7fdd3e7d8eb69302bddc64a2c:   arc: Use -mcpu=XXX instead of obsolete -marcXXX (2016-09-16 12:12:26 +0300) Alexey Brodkin (1):   arc: Use -mcpu=XXX instead of obsolete -marcXXX  arch/arc

Re: [U-Boot] [PATCH 02/27] arc: Use asm-generic/io.h

2016-10-03 Thread Alexey Brodkin
; Feedback from architecture maintainers is welcome. > > Signed-off-by: Paul Burton <paul.bur...@imgtec.com> > Cc: Alexey Brodkin <alexey.brod...@synopsys.com> > --- This is a very welcome patch really! I've been thinking about it since the submission of ARC port but was so la

Re: [U-Boot] [PATCH v2] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-10-20 Thread Alexey Brodkin
Hello Masahiro-san, On Thu, 2016-10-20 at 09:15 +0900, Masahiro Yamada wrote: > Commit e2f88dfd2d96 ("libfdt: Introduce new ARCH_FIXUP_FDT option") > allows us to skip memory setup of DTB, but a problem for ARM is that > spin_table_update_dt() and psci_update_dt() are skipped as well if >

Re: [U-Boot] [PATCH v2] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-10-21 Thread Alexey Brodkin
Hello Masahiro-san, On Fri, 2016-10-21 at 10:58 +0900, Masahiro Yamada wrote: > Hi Alexey, > > 2016-10-20 20:55 GMT+09:00 Alexey Brodkin <alexey.brod...@synopsys.com>: > > > > Hello Masahiro-san, > > > > On Thu, 2016-10-20 at 09:15 +0900, Masahiro Yamada

Re: [U-Boot] [PATCH v4 2/2] arc: use timer driver instead of arch/arc/lib/timer.c

2016-11-24 Thread Alexey Brodkin
Hi Vlad, On Tue, 2016-11-22 at 18:54 +0300, Vlad Zakharov wrote: > This commit replaces legacy timer code with usage of arc timer > driver. > > Also it adds timer0 device tree node with corresponding > "clock-frequency" property. > > Therefore we remove legacy CONFIG_SYS_TIMER_RATE config

Re: [U-Boot] [PATCH v2 0/2] drivers: timer: inroduce ARC timer driver

2016-11-21 Thread Alexey Brodkin
Hi Tom, Simon, On Thu, 2016-11-03 at 18:52 +0300, Vlad Zakharov wrote: > This patch series replaces legacy approach to access ARC timer > via specific code in "arch/arc/lib/time.c" and uses timer > driver instead. > > ARC cores may have up to 2 built-in timers: timer0 and timer1, > usually at

Re: [U-Boot] [PATCH v2 0/2] drivers: timer: inroduce ARC timer driver

2016-11-21 Thread Alexey Brodkin
Tom, Simon, Opps, there's actually v3 already, pls refer to it here: http://patchwork.ozlabs.org/patch/696114/ http://patchwork.ozlabs.org/patch/696115/ And sorry for the noise! Thanks to Vlad for catching this SNAFU. -Alexey On Mon, 2016-11-21 at 17:15 +0300, Alexey Brodkin wrote: > Hi

Re: [U-Boot] [PATCH v2 0/2] drivers: timer: inroduce ARC timer driver

2016-11-21 Thread Alexey Brodkin
Hi Tom, On Mon, 2016-11-21 at 09:19 -0500, Tom Rini wrote: > On Mon, Nov 21, 2016 at 02:16:25PM +0000, Alexey Brodkin wrote: > > > > Hi Tom, Simon, > > > > On Thu, 2016-11-03 at 18:52 +0300, Vlad Zakharov wrote: > > > > > > This patch series

Re: [U-Boot] [PATCH 1/1] Adding MSCC PHY-VSC8530-VSC8531-VSC8540-VSC8541

2016-12-08 Thread Alexey Brodkin
Hi John, First of all I'm wondering if there was a real need to add that many people in Cc? Normally sybsystem maintainer and active contributors to code you modified are good options here. Then have you run your patch through checkpatch? Obviously it was not the case because it says me:

Re: [U-Boot] [PATCH 1/1] Adding MSCC PHY-VSC8530-VSC8531-VSC8540-VSC8541

2016-12-09 Thread Alexey Brodkin
Hi Joe, > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: Thursday, December 08, 2016 8:05 PM > To: Alexey Brodkin <alexey.brod...@synopsys.com> > Cc: john.haech...@microsemi.com; u-boot@lists.denx.de; joe.hershber...@ni.com &

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-03-24 Thread Alexey Brodkin
Hi Marek, On Sun, 2017-03-05 at 02:09 +0100, Marek Vasut wrote: > On 03/03/2017 02:22 PM, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2017-03-03 at 00:57 +0100, Marek Vasut wrote: > > > > > > On 03/01/2017 01:52 PM, Alexey Brod

Re: [U-Boot] [PATCH v3 0/3] arc: introduce timer driver and update device tree

2017-03-24 Thread Alexey Brodkin
Hi Vlad, On Tue, 2017-03-21 at 14:49 +0300, Vlad Zakharov wrote: > ARC cores may have up to 2 built-in timers: timer0 and timer1, > usually at least one of them exists. They both are driven by the > same core clock. > > They are controlled through auxiliary registers and so we > don't have to

[U-Boot] Please pull ARC changes

2017-03-24 Thread Alexey Brodkin
Hi Tom, Please pull changes which introduce ARC built-in timer support in U-Boot. This replaces legacy arch/arc/lib/timer.c implementation and allows us to describe ARC Timers in Device Tree. Among other things that way we may properly inherit Timer's clock from CPU's clock s they really run

[U-Boot] [PATCH] arcv2: Halt non-master cores

2017-03-31 Thread Alexey Brodkin
application that want to see all cores of SMP SoC up and running. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/start.S | 16 1 file changed, 16 insertions(+) diff --git a/arch/arc/lib/start.S b/arch/arc/lib/start.S index 90ee7e0fe406..b2ba7683097f

[U-Boot] [PATCH 0/2] axs103: Add support of v1.1 firmware

2017-03-31 Thread Alexey Brodkin
Even though from software developer PoV not much has changed in v1.1 firmware for axs103 board still there's an important modification introduced by SNPS hardware team: slave cores kick-start procedure now differs and we need to accommodate this change in U-Boot. Alexey Brodkin (2): axs103

[U-Boot] [PATCH 1/2] axs103: Clean-up smp_kick_all_cpus()

2017-03-31 Thread Alexey Brodkin
t pulse with START=1 Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- board/synopsys/axs10x/axs10x.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c index a5e774b2cf7b..57c790220f71 100644 -

[U-Boot] [PATCH 2/2] axs103: Support slave core kick-start on axs103 v1.1 firmware

2017-03-31 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- board/synopsys/axs10x/axs10x.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/board/synopsys/axs10x/axs10x.c b/board/synopsys/axs10x/axs10x.c index 57c790220f71..912764a3d807 100644 --- a/board

[U-Boot] Please pull ARC changes

2017-03-31 Thread Alexey Brodkin
) are available in the git repository at:   git://git.denx.de/u-boot-arc.git  for you to fetch changes up to 6cba327bd96f90818a8beede51405228c54a5251:   arcv2: Halt non-master cores (2017-03-31 22:09:36 +0300) Alexey Brodkin (3):   axs103

[U-Boot] Please pull ARC changes

2017-04-11 Thread Alexey Brodkin
at:   git://git.denx.de/u-boot-arc.git  for you to fetch changes up to 40a808f173008729a0c631ab84693b6a2b0dcfc9:   ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (2017-04-11 17:54:31 +0300) Alexey Brodkin (1):   ARCv2

[U-Boot] [PATCH] arc: arcv1: Disable master/slave check

2017-04-11 Thread Alexey Brodkin
with other ARC cores and ARC770 happens to be the last node in JTAG chain with ARCNUM = 4. And existing check halts the one and only core we want keep running. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/start.S | 4 1 file changed, 4 insertions(+) diff

[U-Boot] [PATCH] ehci-ppc4xx: Prepare for usage of readl()/writel() accessors

2017-04-17 Thread Alexey Brodkin
adl(&(*hccr)->cr_capbase))); ^ >8--- Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Tom Rini <tr...@konsulko.com> Cc: Marek Vasut <ma...@denx.de> Cc: Stefan Roese <s...@denx.de> --- drivers/usb/host/ehci-ppc4xx.c | 1 + 1 fil

Re: [U-Boot] [PATCH] drivers/usb/ehci: Use platform-specific accessors

2017-04-17 Thread Alexey Brodkin
Hi Tom, Marek, On Fri, 2017-04-14 at 16:06 -0400, Tom Rini wrote: > On Fri, Apr 14, 2017 at 05:16:11PM +0000, Alexey Brodkin wrote: > > > > Hi Marek, > > > > On Fri, 2017-04-14 at 16:44 +0200, Marek Vasut wrote: > > > > > &

[U-Boot] [PATCH] arc: arcv1: Disable master/slave check

2017-04-21 Thread Alexey Brodkin
with other ARC cores and ARC770 happens to be the last node in JTAG chain with ARCNUM = 4. And existing check halts the one and only core we want keep running. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- arch/arc/lib/start.S | 4 1 file changed, 4 insertions(+) diff

[U-Boot] [PATCH] axs101: Enable data cache

2017-04-21 Thread Alexey Brodkin
There's no reason to keep data cache disabled in axs101 board any longer, enabling it. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- configs/axs101_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/axs101_defconfig b/configs/axs101_defconfig index 1af505

[U-Boot] [PATCH] axs10x: Add support of Ext2/4 FS

2017-04-21 Thread Alexey Brodkin
Those could be easily used on USB flash drives or on SD/MMC cards. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- configs/axs101_defconfig | 3 +++ configs/axs103_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/axs101_defconfig b/configs/axs101_def

[U-Boot] [PATCH] boards: axs10x, nsim, tb100: Enable cmdline history

2017-04-21 Thread Alexey Brodkin
Enable shell commands history on ARC boards for more convenience of users. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- include/configs/axs10x.h | 1 + include/configs/nsim.h | 1 + include/configs/tb100.h | 1 + 3 files changed, 3 insertions(+) diff --git a/include/c

[U-Boot] [PATCH] travisci: Add support for ARC

2017-04-21 Thread Alexey Brodkin
Finally adding support for ARC boards in TravisCI. To build for ARC boards we need to install Synopsys prebuilt toolchain which we do here. Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> Cc: Tom Rini <tr...@konsulko.com> --- .travis.yml | 8 1 file changed, 8 inserti

<    1   2   3   4   5   6   7   8   >