[PATCH v2 2/4] GUI: Add code to draw simple graphics

2016-06-23 Thread Andrey Smirnov
Add code to draw simple graphics, namely lines(solid or dashed) and circles. Signed-off-by: Andrey Smirnov --- include/gui/2d-primitives.h | 15 lib/gui/2d-primitives.c | 199 lib/gui/Kconfig | 3 +

[PATCH] commands/Kconfig: Fix a typo

2016-06-23 Thread Andrey Smirnov
Signed-off-by: Andrey Smirnov --- commands/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Kconfig b/commands/Kconfig index cf71289..652fced 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -238,7 +238,7 @@ config CMD_VERSION

[PATCH v2 4/4] video/edid: Move int_sqrt() out

2016-06-23 Thread Andrey Smirnov
Move int_sqrt() out of drivers/video/edid.c so that it is availible to other parts of Barebox. Signed-off-by: Andrey Smirnov --- drivers/video/edid.c | 29 - include/int_sqrt.h | 22 ++ lib/Makefile | 1 +

[PATCH v2 1/4] GUI: Add a function to draw vertical/horizontal bars

2016-06-23 Thread Andrey Smirnov
Add a function to draw solid vertical or horizontal bars. Signed-off-by: Andrey Smirnov --- include/gui/graphic_utils.h | 3 +++ lib/gui/graphic_utils.c | 26 ++ 2 files changed, 29 insertions(+) diff --git a/include/gui/graphic_utils.h

[PATCH v2 3/4] GUI: Add fbtest command

2016-06-23 Thread Andrey Smirnov
Add 'fbtest' - a command to produce test patterns on a screen Signed-off-by: Andrey Smirnov Signed-off-by: Andrey Gusakov --- commands/Kconfig | 9 +++ commands/Makefile | 1 + commands/fbtest.c | 201

Re: [PATCH 1/3] GUI: Add a function to draw solid rectangles

2016-06-23 Thread Andrey Smirnov
On Thu, Jun 23, 2016 at 12:28 AM, Holger Schurig wrote: > Hi, > > is it rectanges or circles? :-) > Oops, my bad. Thanks for noticing! >> Subject: Re: [PATCH 1/3] GUI: Add a function to draw solid rectangles >

Re: [PATCH 2/3] GUI: Add code to draw simple graphics

2016-06-23 Thread Andrey Smirnov
On Thu, Jun 23, 2016 at 12:30 AM, Holger Schurig wrote: >> +config 2D_PRIMITIVES >> + bool >> + > > Why no help text? With help text, it will be discoverable in "make > xconfig". It's an internal configuration symbol meant to be specified as a dependency of other

Re: [PATCH 3/3] GUI: Add fbtest command

2016-06-23 Thread Andrey Smirnov
On Thu, Jun 23, 2016 at 12:31 AM, Holger Schurig wrote: > I'm unsure if an "fbtest" command will be helpful. > > Why don't you expose the various primitives (lines, circles, lines) with > some commands? Then people could use this in their boot scripts, > including the

Re: [PATCH 3/3] GUI: Add fbtest command

2016-06-23 Thread Andrey Smirnov
On Wed, Jun 22, 2016 at 3:49 AM, Antony Pavlov wrote: > On Tue, 21 Jun 2016 21:39:29 -0700 > Andrey Smirnov wrote: > >> Add 'fbtest' - a command to produce test patterns on a screen >

Re: [PATCH 3/3] GUI: Add fbtest command

2016-06-23 Thread Andrey Smirnov
On Wed, Jun 22, 2016 at 11:22 PM, Sascha Hauer wrote: > On Tue, Jun 21, 2016 at 09:39:29PM -0700, Andrey Smirnov wrote: >> Add 'fbtest' - a command to produce test patterns on a screen >> >> Signed-off-by: Andrey Smirnov >> Signed-off-by: Andrey

Re: [PATCH v2 01/12] arm: add armv8 Kconfig entries

2016-06-23 Thread Raphaël Poggi
2016-06-15 8:33 GMT+02:00 Sascha Hauer : > Hi Raphael, > > On Tue, Jun 14, 2016 at 09:06:35AM +0200, Raphael Poggi wrote: >> Signed-off-by: Raphael Poggi >> --- >> arch/arm/Kconfig | 23 +++ >> arch/arm/cpu/Kconfig | 29

[PATCH 1/2] defaultenv-2: select BOOTM

2016-06-23 Thread Lucas Stach
defualtenv-2 selects CMD_BOOT, which in turn needs BOOTM. Signed-off-by: Lucas Stach --- common/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Kconfig b/common/Kconfig index 679954e4db2e..e17e54b6fe5d 100644 --- a/common/Kconfig +++ b/common/Kconfig

[PATCH 2/2] mtd: fix mtdraw_erase stub signature

2016-06-23 Thread Lucas Stach
Commit 81737c1d436a (mtd: Fix erasing of devices >4GiB) changed the prototype of the erase function, but fogot to fix up the stub function used when no MTD write support is built in. Signed-off-by: Lucas Stach --- drivers/mtd/mtdraw.c | 2 +- 1 file changed, 1

Re: [PATCH 3/4] commands: ubi: Add ubiupdatevol command

2016-06-23 Thread Teresa Remmet
Hello Sascha, Am Donnerstag, den 23.06.2016, 08:43 +0200 schrieb Sascha Hauer: > On Wed, Jun 22, 2016 at 11:02:40AM +0200, Teresa Remmet wrote: > > Add ubiupdatevol command. This is to update static > > and dynamic volumes. > > > > Signed-off-by: Teresa Remmet > > --- > >

Re: [RFC 0/1] am335x kernel not booting

2016-06-23 Thread Sascha Hauer
On Wed, Jun 22, 2016 at 04:49:03PM +0200, Stefan Müller-Klieser wrote: > Dear list, > > this is more of a request for help, as I am not sure if my current > analysis is correct. The problem I am having is that the kernel current > master does not boot and fails with: > > Error:

Re: [PATCH 3/3] GUI: Add fbtest command

2016-06-23 Thread Sascha Hauer
On Thu, Jun 23, 2016 at 09:31:44AM +0200, Holger Schurig wrote: > I'm unsure if an "fbtest" command will be helpful. > > Why don't you expose the various primitives (lines, circles, lines) with > some commands? Then people could use this in their boot scripts, > including the equivalent of an

Re: [PATCH 3/3] GUI: Add fbtest command

2016-06-23 Thread Holger Schurig
I'm unsure if an "fbtest" command will be helpful. Why don't you expose the various primitives (lines, circles, lines) with some commands? Then people could use this in their boot scripts, including the equivalent of an fbtest program. ___ barebox

Re: [PATCH 2/3] GUI: Add code to draw simple graphics

2016-06-23 Thread Holger Schurig
> +config 2D_PRIMITIVES > + bool > + Why no help text? With help text, it will be discoverable in "make xconfig". ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 1/3] GUI: Add a function to draw solid rectangles

2016-06-23 Thread Holger Schurig
Hi, is it rectanges or circles? :-) > Subject: Re: [PATCH 1/3] GUI: Add a function to draw solid rectangles ^^ > Add a routine implementing midpoint circle algorithm ___ barebox

Re: [PATCH 3/4] commands: ubi: Add ubiupdatevol command

2016-06-23 Thread Sascha Hauer
On Wed, Jun 22, 2016 at 11:02:40AM +0200, Teresa Remmet wrote: > Add ubiupdatevol command. This is to update static > and dynamic volumes. > > Signed-off-by: Teresa Remmet > --- > commands/ubi.c | 52 > 1 file changed, 52

Re: [PATCH 2/4] mtd: UBI: Add support for updating static volumes

2016-06-23 Thread Sascha Hauer
Hi Teresa, On Wed, Jun 22, 2016 at 11:02:39AM +0200, Teresa Remmet wrote: > Added support to update UBI static volumes in barebox. > This is mainly realized with adding the ioctl UBI_IOCVOLUP. > > Signed-off-by: Teresa Remmet > --- > drivers/mtd/ubi/barebox.c | 56 >

Re: [PATCH 3/3] GUI: Add fbtest command

2016-06-23 Thread Sascha Hauer
On Tue, Jun 21, 2016 at 09:39:29PM -0700, Andrey Smirnov wrote: > Add 'fbtest' - a command to produce test patterns on a screen > > Signed-off-by: Andrey Smirnov > Signed-off-by: Andrey Gusakov > --- > commands/Kconfig | 9 +++ >

Re: [PATCH] ppc: fix USPRG0 define

2016-06-23 Thread Sascha Hauer
On Tue, Jun 21, 2016 at 11:05:51PM -0400, J. Tang wrote: > The #define USPRG0 aliases SPRN_USPRG, but it should refer to > SPRN_USPRG0. There is no register SPRN_USPRG on PowerPC. > > Signed-off-by: Jason Tang > --- > arch/ppc/include/asm/processor.h |2 +- > 1 file changed,

Re: [PATCH] mtd: nand: simplify nand_block_checkbad

2016-06-23 Thread Sascha Hauer
On Mon, Jun 20, 2016 at 10:30:17AM +0200, Uwe Kleine-König wrote: > if (A) { > if (!B) > return C; > return D; > } > > return C; > > can be simplified to: > > if (A && B) > return D; > > return C; >

Re: [PATCH 1/2] aiodev: imx_thermal: remove empty include

2016-06-23 Thread Sascha Hauer
On Mon, Jun 20, 2016 at 11:28:13AM +0200, Lucas Stach wrote: > This file doesn't hold any content any more, so there is no > need to include it. > > Signed-off-by: Lucas Stach > --- > drivers/aiodev/imx_thermal.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks

Re: [PATCH 1/2] state: Refactor state framework

2016-06-23 Thread Markus Pargmann
Hi, On Friday 17 June 2016 11:14:34 Markus Pargmann wrote: > The state framework grew organically over the time. Unfortunately the > architecture and abstractions disappeared during this period. > > This patch refactors the framework to recreate the abstractions. The > main focus was the backend