Re: [PATCH] watchdog: imx: error out on negative timeouts

2015-02-02 Thread Sascha Hauer
On Tue, Feb 03, 2015 at 03:14:41PM +0900, Masahiro Yamada wrote: > Please let me ask one more question. > > Is there any pach tracking tool used for barebox, like PatchWork? No, there is no such tool at the moment. Sascha -- Pengutronix e.K. |

Re: Modifying Barebox variables from Linux

2015-02-02 Thread Sascha Hauer
On Mon, Feb 02, 2015 at 09:20:18PM +, Boulais, Marc-Andre wrote: > Hi, > I am working on an Phytec Phycore-OMAP4460 platform with a Linux BSP > (provided by Phytec) which uses Barebox 2013.1.0 to boot the OMAP4. Our > application previously ran in a Linux system where U-Boot was used. We coul

Re: [PATCH] watchdog: imx: error out on negative timeouts

2015-02-02 Thread Masahiro Yamada
On Mon, 2 Feb 2015 13:16:32 +0100 Sascha Hauer wrote: > On Mon, Feb 02, 2015 at 08:50:38PM +0900, Masahiro Yamada wrote: > > > > On Mon, 2 Feb 2015 12:04:32 +0100 > > Sascha Hauer wrote: > > > > > On Mon, Feb 02, 2015 at 11:49:57AM +0100, Uwe Kleine-Konig wrote: > > > > Hello, > > > > > > >

Re: [PATCH] Import missing linkage.h from Linux 3.19-rc6

2015-02-02 Thread Masahiro Yamada
Hi Sascha, On Thu, 29 Jan 2015 09:54:31 +0100 Sascha Hauer wrote: > > + > > diff --git a/arch/mips/include/asm/linkage.h > > b/arch/mips/include/asm/linkage.h > > new file mode 100644 > > index 000..2767dda > > --- /dev/null > > +++ b/arch/mips/include/asm/linkage.h > > @@ -0,0 +1,13 @@ >

Re: [RFC] [JUST DEMO] commands: implement 'fbputs' command

2015-02-02 Thread Alexander Aring
Hi, On Sun, Jan 25, 2015 at 05:21:30PM +0300, Antony Pavlov wrote: > Mainline barebox at the moment has no framebuffer > console support. > The 'fbputs' demo command displays a text string > on fb device. > > This quick-n-dirty patch demonstates that barebox > framebuffer console can be easely re

Modifying Barebox variables from Linux

2015-02-02 Thread Boulais, Marc-Andre
Hi, I am working on an Phytec Phycore-OMAP4460 platform with a Linux BSP (provided by Phytec) which uses Barebox 2013.1.0 to boot the OMAP4. Our application previously ran in a Linux system where U-Boot was used. We could change U-boot variables from the Linux command line as follows: fw_setenv

Re: [PATCH v2 1/3] net: smc1111: add 16 bits accessors, allow address shift

2015-02-02 Thread Robert Jarzmik
Sascha Hauer writes: > Applied all, thanks > > Sascha Thanks Sascha, I noticed that in my patchset I moved the "struct smc9_accessors {...}" from smc9111.c to include/net/smc9.h. This was when I thought the accessors would be settable from platform code. Do you want me to send an increm

Passing kernel arguments - SAMA5D4EK

2015-02-02 Thread Doug Brainard
Hello all, I've been following barebox for a few months and working with the SAMA5D4EK and barebox for about a week now. I'm trying to successfully boot into Android with it. I am able to do so with u-boot, and so I'm trying to figure out how to match the bootargs, so that I can transfer over to

Re: [PATCH] watchdog: imx: error out on negative timeouts

2015-02-02 Thread Sascha Hauer
On Mon, Feb 02, 2015 at 08:50:38PM +0900, Masahiro Yamada wrote: > > On Mon, 2 Feb 2015 12:04:32 +0100 > Sascha Hauer wrote: > > > On Mon, Feb 02, 2015 at 11:49:57AM +0100, Uwe Kleine-Konig wrote: > > > Hello, > > > > > > On Tue, Jan 27, 2015 at 02:41:01PM +0100, Uwe Kleine-Konig wrote: > > > >

v2015.02.0

2015-02-02 Thread Sascha Hauer
Here's barebox-2015.02.0. Worth noting for this release is that we now have console support in the PBL, so printf and friends can be used, though currently only with the help of puts_ll. This can be a good debugging aid. Also we can now generate first stage images for MXS which makes the infamous

Re: [PATCH] watchdog: imx: error out on negative timeouts

2015-02-02 Thread Masahiro Yamada
On Mon, 2 Feb 2015 12:04:32 +0100 Sascha Hauer wrote: > On Mon, Feb 02, 2015 at 11:49:57AM +0100, Uwe Kleine-Konig wrote: > > Hello, > > > > On Tue, Jan 27, 2015 at 02:41:01PM +0100, Uwe Kleine-Konig wrote: > > > I'm not sure where a negative timeout could come from but making the > > > code mo

Re: [PATCH] watchdog: imx: error out on negative timeouts

2015-02-02 Thread Sascha Hauer
On Mon, Feb 02, 2015 at 11:49:57AM +0100, Uwe Kleine-König wrote: > Hello, > > On Tue, Jan 27, 2015 at 02:41:01PM +0100, Uwe Kleine-König wrote: > > I'm not sure where a negative timeout could come from but making the > > code more robust for no additional runtime cost is good nevertheless. > > >

Re: [PATCH] watchdog: imx: error out on negative timeouts

2015-02-02 Thread Uwe Kleine-König
Hello, On Tue, Jan 27, 2015 at 02:41:01PM +0100, Uwe Kleine-König wrote: > I'm not sure where a negative timeout could come from but making the > code more robust for no additional runtime cost is good nevertheless. > > Signed-off-by: Uwe Kleine-König > --- > drivers/watchdog/imxwd.c | 2 +- >

Re: [PATCH] ARM: use an easier way to create the empty built-in.o

2015-02-02 Thread Sascha Hauer
On Mon, Feb 02, 2015 at 02:10:15PM +0900, Masahiro Yamada wrote: > We do not have to build an unneeded file to create the built-in.o. > Just add a dummy string to "obj-". > (dummy.c does not need to exist.) Ah, nice. Adding files just to make the make process happy felt awkward. Applied, thanks

Re: [PATCH] pinctrl: remove unnecessary error check

2015-02-02 Thread Sascha Hauer
On Sun, Feb 01, 2015 at 11:58:26AM +0900, Masahiro Yamada wrote: > The file drivers/pinctrl/pinctrl.c is compiled only when > CONFIG_PINCTRL is defined. "IS_ENABLED(CONFIG_PINCTRL)" is > always evaluated as 1 in this function. > (Although the compiler would optimize it, the source file does > not

Re: [PATCH v2 1/2] ARM: pxa: add pxa25x support

2015-02-02 Thread Sascha Hauer
On Sat, Jan 31, 2015 at 02:15:33PM +0100, Robert Jarzmik wrote: > Add support for the PXA25X SoC family, the oldest of the PXA serie. > > Signed-off-by: Robert Jarzmik > --- > arch/arm/mach-pxa/Kconfig| 21 +++ > arch/arm/mach-pxa/Makefile | 1 + >

Re: [PATCH v2 1/3] net: smc1111: add 16 bits accessors, allow address shift

2015-02-02 Thread Sascha Hauer
On Sat, Jan 31, 2015 at 02:10:08PM +0100, Robert Jarzmik wrote: > Smc network IPs can be wired up in different funny ways. For example the > lubbock pxa25x development platform wires all address lines shifted by > 2, ie. bus A2 is smc91c96 A0, bus A3 is smc91c96 A1 etc ... > > In order to cope wit

Re: Access to first 0x1000 byte on imx53/imx6

2015-02-02 Thread Sascha Hauer
On Fri, Jan 30, 2015 at 07:51:19PM +0100, Robert Jarzmik wrote: > Sascha Hauer writes: > > > On Thu, Jan 29, 2015 at 08:25:54PM +0100, Robert Jarzmik wrote: > >> Sascha Hauer writes: > >> I think the solution in arch/arm/boards/mioa701/board.c (remapping the 0x0 > >> address) should work here :

Re: [RFC] [JUST DEMO] commands: implement 'fbputs' command

2015-02-02 Thread Antony Pavlov
On Mon, 26 Jan 2015 16:55:40 +0800 Jean-Christophe PLAGNIOL-VILLARD wrote: > > > On Jan 26, 2015, at 4:14 PM, Sascha Hauer wrote: > > > > On Sun, Jan 25, 2015 at 05:21:30PM +0300, Antony Pavlov wrote: > >> Mainline barebox at the moment has no framebuffer > >> console support. > >> The 'fbputs