Re: serial port weird chars ...

2015-08-08 Thread Antony Pavlov
receiver? IMHO a logic analyzer can help you. Use it to compare output mini2440 UART waveform from USB Downloader with output UART waveform from barebox. On 08/07/2015 12:41 PM, Antony Pavlov wrote: On Fri, 07 Aug 2015 10:41:12 -0400 Roberto Alejandro Espi Munoz rae...@icid.cu wrote: Hi

Re: serial port weird chars ...

2015-08-07 Thread Antony Pavlov
the problem if you use your host computer motherboard serial port (no matter, Linux or Windows), isn't it? And no problem if you use USB-Serial dongle. So it looks like host serial port problem. Could you try to connect the board to another host computer? --  Best regards,   Antony Pavlov

[PATCH] mtd: nand_base: replace ifdef with IS_ENABLE

2015-08-05 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/mtd/nand/nand_base.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 2b3f9a9..bf4110a 100644 --- a/drivers/mtd/nand/nand_base.c

Re: [PATCH] mtd: nand_base: replace ifdef with IS_ENABLE

2015-08-05 Thread Antony Pavlov
On Wed, 5 Aug 2015 09:53:56 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Wed, Aug 05, 2015 at 09:10:34AM +0300, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/mtd/nand/nand_base.c | 14 +++--- 1 file changed, 7 insertions(+), 7

Re: [RFC v2 00/16] barebox picotcp integration (2015.07.19)

2015-07-23 Thread Antony Pavlov
On Mon, 20 Jul 2015 12:45:24 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 20, 2015 at 01:06:49PM +0300, Antony Pavlov wrote: On Mon, 20 Jul 2015 09:10:13 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Sun, Jul 19, 2015 at 11:07:07PM +0300, Antony

Re: [RFC v2 00/16] barebox picotcp integration (2015.07.19)

2015-07-20 Thread Antony Pavlov
On Mon, 20 Jul 2015 09:10:13 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Sun, Jul 19, 2015 at 11:07:07PM +0300, Antony Pavlov wrote: I have just published latest picotcp-enabled barebox. Please see my 20150719.picotcp branch in my github barebox repo (https

Re: [RFC v2 00/16] barebox picotcp integration (2015.07.19)

2015-07-20 Thread Antony Pavlov
On Mon, 20 Jul 2015 09:10:13 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Sun, Jul 19, 2015 at 11:07:07PM +0300, Antony Pavlov wrote: I have just published latest picotcp-enabled barebox. Please see my 20150719.picotcp branch in my github barebox repo (https

Re: [RFC v2 00/16] barebox picotcp integration (2015.07.19)

2015-07-20 Thread Antony Pavlov
On Mon, 20 Jul 2015 12:45:24 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 20, 2015 at 01:06:49PM +0300, Antony Pavlov wrote: On Mon, 20 Jul 2015 09:10:13 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Sun, Jul 19, 2015 at 11:07:07PM +0300, Antony

[PATCH] net: eth_send: Allow to use multiple network interfaces at once

2015-07-20 Thread Antony Pavlov
); + return edev-send(eth_current, packet, length); But we have to change the both eth_current occurrences to edev here! Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/eth.c b/net/eth.c index a090961

[PATCH] fixup! sandbox: Update defconfig

2015-07-19 Thread Antony Pavlov
--- arch/sandbox/configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig index 7e494a6..d82579b 100644 --- a/arch/sandbox/configs/sandbox_defconfig +++ b/arch/sandbox/configs/sandbox_defconfig

[RFC v2 16/16] sandbox_defconfig: switch to picotcp

2015-07-19 Thread Antony Pavlov
(T2) 525 DHCP client: lease time 496 DHCP client: IP assigned by the server: 192.168.1.26 Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/sandbox/configs/sandbox_defconfig | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/sandbox/configs

[RFC v2 09/16] picotcp: add barebox target support

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/picotcp/include/arch/pico_barebox.h | 76 + net/picotcp/include/pico_config.h | 2 + 2 files changed, 78 insertions(+) diff --git a/net/picotcp/include/arch/pico_barebox.h b/net/picotcp/include

[RFC v2 05/16] net: change UDP handler function API

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 4 +--- fs/tftp.c| 9 +++-- include/net.h| 15 +-- net/dhcp.c | 8 ++-- net/dns.c| 7 +++ net/net.c| 12 net/netconsole.c | 5 ++--- net/nfs.c

[RFC v2 14/16] net: picotcp: add ping command

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile| 1 + net/picotcp/Kconfig | 5 net/picotcp_ping.c | 85 + 3 files changed, 91 insertions(+) diff --git a/net/Makefile b/net/Makefile index d5b133b..04e347f

[RFC v2 07/16] net: introduce setudppeerport()

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 2 +- fs/tftp.c | 9 + include/net.h | 7 +++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/fs/nfs.c b/fs/nfs.c index 6c55b42..8910fd1 100644 --- a/fs/nfs.c +++ b/fs/nfs.c @@ -411,7 +411,7

[RFC v2 03/16] fs/nfs.c: use uint16_t for port numbers

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs.c b/fs/nfs.c index 5bff54a..0269814 100644 --- a/fs/nfs.c +++ b/fs/nfs.c @@ -132,8 +132,8 @@ struct nfs_priv { struct net_connection *con

[RFC v2 10/16] picotcp: switch to Kbuild

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/picotcp/.gitignore | 1 + net/picotcp/Kconfig | 34 ++ net/picotcp/Makefile | 30 ++ net/picotcp/modules/Makefile | 8 net/picotcp/stack

[RFC v2 13/16] net: picotcp: add ifconfig command

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile | 1 + net/picotcp/Kconfig| 5 +++ net/picotcp_ifconfig.c | 116 + 3 files changed, 122 insertions(+) diff --git a/net/Makefile b/net/Makefile index bfe74fb

[RFC v2 00/16] barebox picotcp integration (2015.07.19)

2015-07-19 Thread Antony Pavlov
of traditional ping command. Antony Pavlov (16): net_udp_bind(): use uint16_t type for source port fs/tftp.c: drop unused server_port variable fs/nfs.c: use uint16_t for port numbers fs/nfs.c: use SUNRPC_PORT remote port by default net: change UDP handler function API net: change

[RFC v2 02/16] fs/tftp.c: drop unused server_port variable

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/tftp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/tftp.c b/fs/tftp.c index 0de215e..56d4365 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -75,7 +75,6 @@ struct file_priv { uint16_t last_block; int state

[RFC v2 06/16] net: change net_udp_send() API

2015-07-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 2 +- fs/tftp.c| 9 + include/net.h| 2 +- net/dhcp.c | 4 ++-- net/dns.c| 2 +- net/net.c| 2 +- net/netconsole.c | 2 +- net/nfs.c| 3 ++- 8 files changed, 14 insertions

[RFC v2 04/16] fs/nfs.c: use SUNRPC_PORT remote port by default

2015-07-19 Thread Antony Pavlov
pico_socket_connect() needs remote_port != 0. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs.c b/fs/nfs.c index 0269814..3824752 100644 --- a/fs/nfs.c +++ b/fs/nfs.c @@ -1350,7 +1350,7 @@ static int

[RFC v2 12/16] net: picotcp: add test_picotcp command

2015-07-19 Thread Antony Pavlov
See original test_ipv4() from picotcp.git/test/unit/unit_ipv4.c. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile| 2 ++ net/picotcp/Kconfig | 7 net/picotcp_test_ipv4.c | 96 + 3 files changed, 105

[PATCH] fixup! Add new barebox logo to the tree

2015-07-18 Thread Antony Pavlov
--- lib/logo/.gitignore | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 lib/logo/.gitignore diff --git a/lib/logo/.gitignore b/lib/logo/.gitignore new file mode 100644 index 000..fd013c7 --- /dev/null +++ b/lib/logo/.gitignore @@ -0,0 +1,10 @@ +barebox-logo-w64.bblogo

Re: [RFC 04/12] WIP: fs/nfs.c: convert to picotcp

2015-07-17 Thread Antony Pavlov
On Thu, 16 Jul 2015 21:51:50 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Wed, Jul 15, 2015 at 11:13:42PM +0300, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 150

[PATCH] fixup! fonts: Add 7x14 font

2015-07-16 Thread Antony Pavlov
--- do as linux kernel does. --- include/linux/font.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/font.h b/include/linux/font.h index dad6dcc..62b1879 100644 --- a/include/linux/font.h +++ b/include/linux/font.h @@ -20,7 +20,8 @@ struct font_desc { };

Re: [RFC] commands: Add dhrystone

2015-07-16 Thread Antony Pavlov
mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox -- --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [RFC v2] WIP: fbconsole: not so dirty font selection via param_enum

2015-07-15 Thread Antony Pavlov
On Wed, 15 Jul 2015 07:45:32 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Tue, Jul 14, 2015 at 12:56:34PM +0300, Antony Pavlov wrote: Alas I can't find any tab-complition for param_enum, so addition 'fonts' command is introduced. Usage example

[RFC 01/12] picotcp: add barebox target support

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/picotcp/include/arch/pico_barebox.h | 76 + net/picotcp/include/pico_config.h | 2 + 2 files changed, 78 insertions(+) diff --git a/net/picotcp/include/arch/pico_barebox.h b/net/picotcp/include

[RFC 04/12] WIP: fs/nfs.c: convert to picotcp

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/nfs.c | 150 +++ 1 file changed, 133 insertions(+), 17 deletions(-) diff --git a/fs/nfs.c b/fs/nfs.c index 5bff54a..f4be54a 100644 --- a/fs/nfs.c +++ b/fs/nfs.c @@ -37,6 +37,10

[RFC 10/12] net: picotcp: add route command

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile| 1 + net/picotcp/Kconfig | 5 + net/picotcp_route.c | 37 + 3 files changed, 43 insertions(+) diff --git a/net/Makefile b/net/Makefile index 04e347f..6261454 100644 --- a/net

[RFC 06/12] WIP: net/dns: convert to picotcp

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/dns.c | 101 +- 1 file changed, 94 insertions(+), 7 deletions(-) diff --git a/net/dns.c b/net/dns.c index 0e16ea2..2a35e3b 100644 --- a/net/dns.c +++ b/net/dns.c @@ -29,6

[RFC 12/12] WIP: sandbox_defconfig: enable network testing-related stuff

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/sandbox/configs/sandbox_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig index 909969a..1c42721 100644 --- a/arch/sandbox/configs

[RFC 08/12] net: picotcp: add ifconfig command

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile | 1 + net/picotcp/Kconfig| 5 +++ net/picotcp_ifconfig.c | 116 + 3 files changed, 122 insertions(+) diff --git a/net/Makefile b/net/Makefile index bfe74fb

[RFC 11/12] sandbox_defconfig: switch to picotcp

2015-07-15 Thread Antony Pavlov
(T2) 525 DHCP client: lease time 496 DHCP client: IP assigned by the server: 192.168.1.26 Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/sandbox/configs/sandbox_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch

[RFC 02/12] picotcp: switch to Kbuild

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/picotcp/.gitignore | 1 + net/picotcp/Kconfig | 34 ++ net/picotcp/Makefile | 30 ++ net/picotcp/modules/Makefile | 8 net/picotcp/stack

[RFC 00/12] barebox picotcp integration (2015.07.15)

2015-07-15 Thread Antony Pavlov
: 48ms Warning: I have 122 timers Warning: I have 121 timers time: 53ms Warning: I have 122 timers Warning: I have 121 timers time: 54ms Antony Pavlov (12): picotcp: add barebox target support picotcp: switch to Kbuild net: add initial

[RFC 03/12] net: add initial picotcp support

2015-07-15 Thread Antony Pavlov
This commit adds initial picotcp support: * build stuff (Kbuild fixes and fake stdint.h); * pico_adapter code for connecting barebox ethernet interfaces to picotcp; * picotcp start initialization and necessary poller. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Signed-off

[RFC 05/12] WIP: fs/tftp.c: convert to picotcp

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/tftp.c | 199 ++ 1 file changed, 175 insertions(+), 24 deletions(-) diff --git a/fs/tftp.c b/fs/tftp.c index 0de215e..9d003b4 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -33,6

[RFC 09/12] net: picotcp: add ping command

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile| 1 + net/picotcp/Kconfig | 5 net/picotcp_ping.c | 85 + 3 files changed, 91 insertions(+) diff --git a/net/Makefile b/net/Makefile index d5b133b..04e347f

[RFC 07/12] net: picotcp: add test_picotcp command

2015-07-15 Thread Antony Pavlov
See original test_ipv4() from picotcp.git/test/unit/unit_ipv4.c. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/Makefile| 2 ++ net/picotcp/Kconfig | 7 net/picotcp_test_ipv4.c | 96 + 3 files changed, 105

[PATCH] sandbox_defconfig: enable 'echo -e' support as defenv uses it

2015-07-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/sandbox/configs/sandbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig index ec045f7..2ee1fa8 100644 --- a/arch/sandbox/configs

[RFC v2] WIP: fbconsole: not so dirty font selection via param_enum

2015-07-14 Thread Antony Pavlov
fb0: framebuffer console 160x80 activated barebox@barebox sandbox:/ fbconsole0.font=VGA8x16 Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/video/fbconsole.c | 60 +++ include/linux/font.h | 11 ++--- lib/fonts/fonts.c

Re: [RFC] WIP: fbconsole: very dirty font selection via param_enum

2015-07-14 Thread Antony Pavlov
On Tue, 14 Jul 2015 06:42:38 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 13, 2015 at 11:28:09PM +0300, Antony Pavlov wrote: Alas I can't find any tab-complition for param_enum, so addition 'fonts' command is introduced. There is no tab completion, but 'devinfo fbconsole0

[RFC] WIP: fbconsole: very dirty font selection via param_enum

2015-07-13 Thread Antony Pavlov
fb0: framebuffer console 160x80 activated barebox@barebox sandbox:/ fbconsole0.font=VGA8x16 Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/video/fbconsole.c | 55 +-- include/linux/font.h | 8 +++ lib/fonts/fonts.c

[PATCH] fixup! WIP: video: implement quick-n-dirty framebuffer console

2015-07-12 Thread Antony Pavlov
--- Sascha moved fbconsole registration to common fb code. So we can drop this supefluous code. --- drivers/video/sdl.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/sdl.c b/drivers/video/sdl.c index 5407a1a..a568340 100644 --- a/drivers/video/sdl.c +++

[PATCH] fixup! exitcall: Add exitcall infrastructure

2015-07-12 Thread Antony Pavlov
--- fix whitespaces --- arch/ppc/boards/pcm030/barebox.lds.S | 2 +- arch/ppc/mach-mpc85xx/barebox.lds.S | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/ppc/boards/pcm030/barebox.lds.S b/arch/ppc/boards/pcm030/barebox.lds.S index dc71464..0e08e05 100644 ---

[PATCH] fixup! exitcall: move arch_shutdown to exitcall infrastructure

2015-07-12 Thread Antony Pavlov
--- fix whitespaces --- arch/blackfin/include/asm/common.h | 2 -- arch/blackfin/lib/board.c | 1 - arch/nios2/lib/board.c | 1 - arch/openrisc/lib/board.c | 1 - 4 files changed, 5 deletions(-) diff --git a/arch/blackfin/include/asm/common.h

Re: [RFC] WIP: video: implement quick-n-dirty framebuffer console

2015-07-09 Thread Antony Pavlov
On Thu, 9 Jul 2015 10:16:39 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Wed, Jul 08, 2015 at 12:15:39PM +0300, Antony Pavlov wrote: This patch realizes very simple framebuffer console for barebox. Minimal ANSI/VT100 Escape Sequence parser is used to ignore color change commands

Re: [RFC] WIP: video: implement quick-n-dirty framebuffer console

2015-07-09 Thread Antony Pavlov
On Thu, 9 Jul 2015 08:49:20 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi Antony, On Wed, Jul 08, 2015 at 12:15:39PM +0300, Antony Pavlov wrote: This patch realizes very simple framebuffer console for barebox. Minimal ANSI/VT100 Escape Sequence parser is used to ignore color

[RFC-WIP 5/5] video: fbconsole: switch to MINI4x6 font: just for demo purposes

2015-07-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/video/fbconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbconsole.c b/drivers/video/fbconsole.c index 2675193..b72ae84 100644 --- a/drivers/video/fbconsole.c +++ b/drivers/video

[RFC-WIP 0/5] fbconsole: switch to lib/fonts framework

2015-07-09 Thread Antony Pavlov
Antony Pavlov (5): for-ammend: fbconsole: FBCONSOLE - FRAMEBUFFER_CONSOLE import lib/fonts framework from linux kernel for-ammend: video: fbconsole: switch to lib/fonts framework lib/fonts: add MINI4x6 font video: fbconsole: switch to MINI4x6 font: just for demo purposes drivers/video

[RFC-WIP 1/5] for-ammend: fbconsole: FBCONSOLE - FRAMEBUFFER_CONSOLE

2015-07-09 Thread Antony Pavlov
linux kernel uses FRAMEBUFFER_CONSOLE option name. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/video/Kconfig | 2 +- drivers/video/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 4a5b15b

[RFC-WIP 4/5] lib/fonts: add MINI4x6 font

2015-07-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- include/linux/font.h |3 +- lib/fonts/Kconfig |4 + lib/fonts/Makefile|1 + lib/fonts/font_mini_4x6.c | 2155 + lib/fonts/fonts.c |4 + 5 files changed

[RFC-WIP 3/5] for-ammend: video: fbconsole: switch to lib/fonts framework

2015-07-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/video/fbconsole.c | 44 +- include/video_font_data.h | 4627 - 2 files changed, 28 insertions(+), 4643 deletions(-) diff --git a/drivers/video/fbconsole.c b/drivers/video/fbconsole.c

[RFC] WIP: video: implement quick-n-dirty framebuffer console

2015-07-08 Thread Antony Pavlov
: * no visible cursor; * FIXME: /dev/fb0 is hardcoded; * FIXME: drop blanckchar() dirty hack; * Sascha Hauer: character set should be prerendered for the actual framebuffer format before printing a string. Signed-off-by: Antony Pavlov antonynpav...@gmail.com Cc

Re: [PATCH] net: Move library functions to net/lib.c

2015-07-02 Thread Antony Pavlov
(IPaddr_t x) +{ + puts(ip_to_string(x)); +} + +char *ip_to_string (IPaddr_t x) +{ + static char s[sizeof(xxx.xxx.xxx.xxx)]; + + x = ntohl (x); + sprintf (s, %d.%d.%d.%d, can we fix coding style here? --  Best regards,   Antony Pavlov

Re: [RFC V4 2/3] ddr_spd: add routune for printing SPD contents in human readable format

2015-07-02 Thread Antony Pavlov
(Planar\n); + if (s-voltage 7) use ARRAY_SIZE here --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

should we change 'extern inline' to 'static inline'?

2015-07-01 Thread Antony Pavlov
/atomic.h arch/ppc/include/asm/bitops.h arch/ppc/include/asm/io.h I can't fix it by myself because I have neither blackfin nor ppc cross-compiler to check result. --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org

big-endian sandbox issue

2015-06-30 Thread Antony Pavlov
to be used. Any suggestions? -- Best regards, Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] sandbox: asm/byteorder.h: fix guard macro name

2015-06-30 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/sandbox/include/asm/byteorder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/sandbox/include/asm/byteorder.h b/arch/sandbox/include/asm/byteorder.h index 37316f2..3d82bcb 100644 --- a/arch/sandbox

[PATCH] dns: handle incoming packets in the separate dns_recv() function

2015-06-30 Thread Antony Pavlov
The separation of incoming packets handling makes it much easier to run barebox dns client on top of picotcp network stack in the future. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- net/dns.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/net/dns.c

[PATCH] treewide: fix 'new blank line at EOF' formatting error

2015-06-30 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- commands/automount.c| 1 - commands/export.c | 1 - commands/false.c| 1 - commands/help.c | 1 - commands/net.c | 1 - commands/readline.c | 1

Fw: next: sandbox: arch/sandbox/os/common.c:31:18: fatal error: init.h: No such file or directory

2015-06-29 Thread Antony Pavlov
Sorry! I have forgotten to add bare...@list.infradead.org to CC. Begin forwarded message: Date: Mon, 29 Jun 2015 13:11:12 +0300 From: Antony Pavlov antonynpav...@gmail.com To: Sascha Hauer s.ha...@pengutronix.de, Juergen Borleis j...@pengutronix.de Subject: next: sandbox: arch/sandbox/os

Re: [RFC V3 2/3] ddr_spd: add routune for printing SPD contents in human readable format

2015-06-29 Thread Antony Pavlov
(). --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [RFC V3 2/3] ddr_spd: add routune for printing SPD contents in human readable format

2015-06-29 Thread Antony Pavlov
@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox -- --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH 1/3] fs/tftp: handle incoming packets in the separate tftp_recv() function

2015-06-28 Thread Antony Pavlov
The separation of incoming packets handling makes it much easier to run barebox tftp client on top of picotcp network stack in the future. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/tftp.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff

[PATCH 2/3] tftp_recv(): according to RFC1350 minimal tftp packet length is 4 bytes

2015-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/tftp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/tftp.c b/fs/tftp.c index d970c60..e36c1c8 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -259,7 +259,8 @@ static void tftp_recv(struct file_priv *priv

[PATCH 3/3] tftp_recv(): handle opcode field in a more natural way

2015-06-28 Thread Antony Pavlov
RFC1350 uses the 'opcode' term for the first 2-bytes field of TFTP packet. But the U-boot tftp code uses the 'proto' term for the same thing. The patch takes back original term and makes opcode calculation more clear. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- fs/tftp.c | 15

[PATCH 0/3] tftp: prepare for picotcp

2015-06-28 Thread Antony Pavlov
This patchseries makes it much easier to run barebox tftp client on top of picotcp network stack in the future. Antony Pavlov (3): fs/tftp: handle incoming packets in the separate tftp_recv() function tftp_recv(): according to RFC1350 minimal tftp packet length is 4 bytes tftp_recv

Re: v2015.06.0 ...and a new website

2015-06-26 Thread Antony Pavlov
On Thu, 25 Jun 2015 22:07:18 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Thu, Jun 25, 2015 at 03:27:14PM +0300, Antony Pavlov wrote: On Mon, 8 Jun 2015 20:40:33 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi all, We have a release for June, see below for a list

Re: v2015.06.0 ...and a new website

2015-06-25 Thread Antony Pavlov
, stressing barebox' use in the embedded world. Thanks Sandro for creating the logo. Sascha --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 1/2] PCI: rework BAR size calculation

2015-06-24 Thread Antony Pavlov
, bar, mask, size); if (last_mem + size -- 2.1.0 -- --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: barebox picotcp integration (2015.06.14)

2015-06-24 Thread Antony Pavlov
On Mon, 22 Jun 2015 08:00:22 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Sat, Jun 20, 2015 at 02:09:12PM +0300, Antony Pavlov wrote: On Wed, 17 Jun 2015 11:28:57 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jun 15, 2015 at 01:13:43AM +0300, Antony Pavlov wrote

Re: [RFC V2 3/3] add decode command (SPD EEPROM data decoder)

2015-06-24 Thread Antony Pavlov
. +BAREBOX_CMD_HELP_END + +BAREBOX_CMD_START(decode) + .cmd= do_decode, +BAREBOX_CMD_END -- 2.1.4 ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox -- --  Best regards,   Antony

Fw: [Qemu-devel] [PATCH v7 0/4] i.MX: Add i.MX25 support through the 3DS evaluation board.

2015-06-22 Thread Antony Pavlov
create mode 100644 hw/net/imx_fec.c create mode 100644 tests/ds1338-test.c create mode 100644 tests/libqos/i2c-imx.c -- 2.1.4 -- --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org

Re: [PATCH] serial: ns16550: Fix reading clock-frequency property

2015-06-22 Thread Antony Pavlov
is executed before the driver bails out due to the missing clk. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: barebox picotcp integration (2015.06.14)

2015-06-20 Thread Antony Pavlov
On Wed, 17 Jun 2015 11:28:57 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jun 15, 2015 at 01:13:43AM +0300, Antony Pavlov wrote: Hi! I have just published latest picotcp-enabled barebox. Please see my 20150614.picotcp branch in my github barebox repo (https://github.com

Re: [PATCH] mtd: m25p80: add Spansion S25FL204K support

2015-06-16 Thread Antony Pavlov
On Mon, 15 Jun 2015 23:22:37 +0300 Antony Pavlov antonynpav...@gmail.com wrote: Spansion S25FL204K is a 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kB Sectors. It looks that I have to recheck this patch with spi-nor framework. Signed-off-by: Antony Pavlov antonynpav...@gmail.com

Re: [PATCH v2 8/8] mtd: m25p80: use the SPI nor framework

2015-06-15 Thread Antony Pavlov
}, + +/* + * Generic support for SPI NOR that can be identified by the JEDEC READ + * ID opcode (0x9F). Use this, if possible. + */ +{nor-jedec}, { }, }; Please fix whitespaces here. Please use checkpatch.pl on your patches before submitting! --  Best regards,   Antony Pavlov

[PATCH] mtd: m25p80: add Spansion S25FL204K support

2015-06-15 Thread Antony Pavlov
Spansion S25FL204K is a 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kB Sectors. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/mtd/devices/m25p80.c | 2 +- drivers/mtd/spi-nor/spi-nor.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices

barebox picotcp integration (2015.06.14)

2015-06-14 Thread Antony Pavlov
copy operation is used for code simplification); 4. picotcp has dns support, but just now it is unused in barebox; 5. no nfs support in picotcp (should we can keep current barebox nfs support on top of barebox UDP support?). --  Best regards,   Antony Pavlov

[RFC] PCI: skip pci host bridge as early as possible

2015-06-09 Thread Antony Pavlov
targets? Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/pci/pci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 3a0e7a5..7953c55 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -331,6 +331,11

[PATCH] MIPS: asm/debug_ll_ns16550.h: use plain inline instead of __inline__

2015-06-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/include/asm/debug_ll_ns16550.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/debug_ll_ns16550.h b/arch/mips/include/asm/debug_ll_ns16550.h index a3e1c52..4a6562f 100644 --- a/arch/mips

[PATCH] PPC: asm/bitops.h: drp unused ext2* and minix* stuff

2015-06-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/ppc/include/asm/bitops.h | 63 --- 1 file changed, 63 deletions(-) diff --git a/arch/ppc/include/asm/bitops.h b/arch/ppc/include/asm/bitops.h index c4ed2de..e4572bc 100644 --- a/arch/ppc/include

[PATCH RESEND] PPC: asm/bitops.h: drop unused ext2* and minix* stuff

2015-06-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/ppc/include/asm/bitops.h | 63 --- 1 file changed, 63 deletions(-) diff --git a/arch/ppc/include/asm/bitops.h b/arch/ppc/include/asm/bitops.h index c4ed2de..e4572bc 100644 --- a/arch/ppc/include

[PATCH] .mailmap: add more Juergen Borleis' e-mail addresses

2015-06-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- .mailmap | 5 + 1 file changed, 5 insertions(+) diff --git a/.mailmap b/.mailmap index 09ecaeb..82631b2 100644 --- a/.mailmap +++ b/.mailmap @@ -13,6 +13,11 @@ Eric Bénard e...@eukrea.com Franck Jullien franck.jull...@gmail.com Jin

building sandbox barebox: too many 'BITS_PER_LONG redefined' warnings

2015-06-02 Thread Antony Pavlov
definition #define BITS_PER_LONG 64 ^ --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v2] include: introduce include/linux/io.h as a wrapper of asm/io.h

2015-05-17 Thread Antony Pavlov
@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox -- --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH 2/2] update dlink-dir-320_defconfig

2015-05-12 Thread Antony Pavlov
Just 'make defconfig mv defconfig arch/mips/configs/dlink-dir-320_defconfig'. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/configs/dlink-dir-320_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/mips/configs/dlink-dir-320_defconfig b

[PATCH 1/2] MIPS: bcm47xx: use PUTC_LL() from common debug_ll_ns16550.h header

2015-05-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/mach-bcm47xx/include/mach/debug_ll.h | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/arch/mips/mach-bcm47xx/include/mach/debug_ll.h b/arch/mips/mach-bcm47xx/include/mach/debug_ll.h index 9927b4d

are some ppc-related patches absent in May-2015 barebox-next?

2015-05-11 Thread Antony Pavlov
this patchseries to my private branch. May be these patches for not very long time were in the next branch and were skipped one day? --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org

[PATCH v2 4/5] MIPS: img-ci20: enable dm9000 ethernet controller

2015-05-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/dts/img-ci20.dts| 15 +++ arch/mips/mach-xburst/Kconfig | 1 + 2 files changed, 16 insertions(+) diff --git a/arch/mips/dts/img-ci20.dts b/arch/mips/dts/img-ci20.dts index f2022dd..da2a5bf 100644 --- a/arch/mips

[PATCH v2 2/5] net: dm9k: add device tree support

2015-05-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/net/dm9k.c | 103 - 1 file changed, 87 insertions(+), 16 deletions(-) diff --git a/drivers/net/dm9k.c b/drivers/net/dm9k.c index 5798e16..4251a91 100644 --- a/drivers/net/dm9k.c

[PATCH v2 0/5] dm9k fixups; img-ci20: enable dm9000 ethernet controller

2015-05-11 Thread Antony Pavlov
Changes since v1 (http://lists.infradead.org/pipermail/barebox/2014-September): * rework 'net: dm9k: add device tree support' completely; * add additional comments to 'net: dm9k: show only one phy on miibus'; * add img-ci20-related patches. Antony Pavlov (5): net: dm9k: show only one

[PATCH v2 1/5] net: dm9k: show only one phy on miibus

2015-05-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/net/dm9k.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/dm9k.c b/drivers/net/dm9k.c index abcb7ee..5798e16 100644 --- a/drivers/net/dm9k.c +++ b/drivers/net/dm9k.c @@ -359,6 +359,11 @@ static int

[PATCH v2 5/5] MIPS: img-ci20_defconfig: enable network stuff

2015-05-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/configs/img-ci20_defconfig | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/mips/configs/img-ci20_defconfig b/arch/mips/configs/img-ci20_defconfig index 6702c88..28319c5 100644 --- a/arch/mips

[PATCH v2 3/5] net: dm9k: fix reset routine

2015-05-11 Thread Antony Pavlov
, DM9000EP. Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/net/dm9k.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/net/dm9k.c b/drivers/net/dm9k.c index 4251a91..c3c2a80 100644 --- a/drivers/net/dm9k.c +++ b/drivers/net

barebox on i.MX 6SoloX

2015-05-07 Thread Antony Pavlov
no knowledge on i.MX family, so my question is: does barebox already support i.MX 6SoloX? --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: barebox on i.MX 6SoloX

2015-05-07 Thread Antony Pavlov
On Thu, 7 May 2015 20:02:51 -0300 Fabio Estevam feste...@gmail.com wrote: On Thu, May 7, 2015 at 7:59 PM, Antony Pavlov antonynpav...@gmail.com wrote: Hi! I have just readed about new RaspberyPi-like board: UDOO Neo. See https://www.kickstarter.com/projects/udoo/udoo-neo-raspberry-pi

<    4   5   6   7   8   9   10   11   12   13   >