[PATCH] ARM: atmel: sama5d3xek: let emac auto detect phy addr

2015-01-21 Thread Bo Shen
On the SAMA5D35 the EMAC phy addr is 1 while not 0. So, let the EMAC auto detect phy addr, or else hard code to 0, the ethernet can not work on SAMA5D35 board. Signed-off-by: Bo Shen --- arch/arm/boards/sama5d3xek/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/a

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-21 Thread Bo Shen
Hi J, On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 11:07 PM, Sascha Hauer wrote: On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:54 Mon 19 Jan , Bo Shen wrote: On the SAMA5D33 and SAMA5D35 the GMAC PHY ID i

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-21 Thread Bo Shen
On 01/22/2015 01:12 PM, Bo Shen wrote: Hi J, On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 11:07 PM, Sascha Hauer wrote: On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:54 Mon 19 Jan , Bo Shen wrote: On the

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 21, 2015, at 11:07 PM, Sascha Hauer wrote: > > On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 17:54 Mon 19 Jan , Bo Shen wrote: >>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7. >>> So, let the GMAC auto detect phy id, or

Re: [PATCH 1/2] ARM: pxa: RAM and console fixes for zylonite

2015-01-21 Thread Robert Jarzmik
Sascha Hauer writes: > Squashed these into the original commits. Thanks. I will retest this week-end just to be sure on my zylonite board. Cheers. -- Robert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/list

Re: [PATCH] ARM: remove unused code from __v7_mmu_cache_flush_invalidate

2015-01-21 Thread Masahiro YAMADA
Hi Sascha, 2015-01-21 22:56 GMT+09:00 Sascha Hauer : > On Wed, Jan 21, 2015 at 01:24:14PM +0900, Masahiro Yamada wrote: >> This code is unnecessary (wrong) for the following reasons. >> >> [1] As ARM ARM clearly says, the entire Level 1 cache maintenance >> operations are not supported for AR

Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id

2015-01-21 Thread Sascha Hauer
On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:54 Mon 19 Jan , Bo Shen wrote: > > On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7. > > So, let the GMAC auto detect phy id, or else hard code to 7, > > it can not work on these two boards.

Re: [PATCH 0/5] rafactor _*MAX, *_MIN macros

2015-01-21 Thread Sascha Hauer
On Wed, Jan 21, 2015 at 02:09:14PM +0900, Masahiro Yamada wrote: > > > > Masahiro Yamada (5): > fs: ubifs: remove redundant macro defines > lib: decompress: remove redundant INT_MAX define > linux/kernel.h: move *_MAX, *_MIN macros > linux/kernel.h: rename USHORT_MAX, SHORT_MAX, SHORT_MI

Re: [PATCH] ARM: remove unused code from __v7_mmu_cache_flush_invalidate

2015-01-21 Thread Sascha Hauer
On Wed, Jan 21, 2015 at 01:24:14PM +0900, Masahiro Yamada wrote: > This code is unnecessary (wrong) for the following reasons. > > [1] As ARM ARM clearly says, the entire Level 1 cache maintenance > operations are not supported for ARMv7, i.e. the bit19-16 of > the ID_MMFR1 is always 0b000

Re: [PATCH] debug_ll: change the argument type of putc_ll()

2015-01-21 Thread Sascha Hauer
On Wed, Jan 21, 2015 at 01:36:08PM +0900, Masahiro Yamada wrote: > Most of the implementations of PUTC_LL() takes "char" > (some take "int"), not "unsigned char". > Moreover, puts_ll() takes an argument with "const char *" type. > > Let's drop "unsigned" from the prototype of putc_ll(). > > Signe

Re: [PATCH] sandbox: get malloc_size from .config

2015-01-21 Thread Sascha Hauer
On Wed, Jan 21, 2015 at 04:02:39AM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > arch/sandbox/os/Makefile | 2 ++ > arch/sandbox/os/common.c | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. |

Re: [PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

2015-01-21 Thread Bo Shen
Hi J, On 01/21/2015 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On Jan 21, 2015, at 5:41 PM, Sascha Hauer wrote: On Tue, Jan 20, 2015 at 03:31:25PM +0800, Bo Shen wrote: As the 1-wire and LED d2 use the same pin (PE25) on the EK board. So, make LED enable only when the 1-wire is disab

Re: [PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

2015-01-21 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 21, 2015, at 5:41 PM, Sascha Hauer wrote: > > On Tue, Jan 20, 2015 at 03:31:25PM +0800, Bo Shen wrote: >> As the 1-wire and LED d2 use the same pin (PE25) on the EK board. >> So, make LED enable only when the 1-wire is disabled. >> >> Signed-off-by: Bo Shen >> --- >> >> arch/arm/boar

Re: [PATCH] ARM: atmel: sama5d3xek: fix conflict between w1 and led

2015-01-21 Thread Sascha Hauer
On Tue, Jan 20, 2015 at 03:31:25PM +0800, Bo Shen wrote: > As the 1-wire and LED d2 use the same pin (PE25) on the EK board. > So, make LED enable only when the 1-wire is disabled. > > Signed-off-by: Bo Shen > --- > > arch/arm/boards/sama5d3xek/init.c | 8 > 1 file changed, 8 insertion

Re: [PATCH] ARM: atmel: sama5d4 xplained: fix mci1 power pin

2015-01-21 Thread Sascha Hauer
On Tue, Jan 20, 2015 at 03:28:16PM +0800, Bo Shen wrote: > Correct the mci1 power pin from PE15 to PE4. > > Signed-off-by: Bo Shen Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.peng

Re: sandbox: splash command does not works

2015-01-21 Thread Antony Pavlov
On Wed, 21 Jan 2015 04:12:36 +0400 Antony Pavlov wrote: > Hi All! > > I have compiled sandbox barebox with CONFIG_VIDEO=y and > CONFIG_DRIVER_VIDEO_SDL=y. > > I can't show any png picture (e.g. png logos from barebox logo/ dir) > in the sdl frambuffer window using the 'splash' command. > The s