Re: [PATCH 09/10] beautify PHY driver names

2014-05-30 Thread Alexander Aring
On Fri, May 30, 2014 at 11:30:27AM +0200, Holger Schurig wrote: > I changed them because (before my patches) the driver list in > "devinfo" looked ugly, with my drvinfo command that one looked ugly. > Those driver names sticked out like a sore thumb. > > Now, if I do "diff linux/driver/net/phy/mic

[PATCH] oftree, of_dump: fix help texts

2014-05-30 Thread Holger Schurig
* don't use for options * don't use \n in BAREBOX_CMD_HELP_OPT * harmonize Kconfig help text with command help text Signed-off-by: Holger Schurig --- commands/Kconfig | 11 ++- commands/of_dump.c |6 +++--- commands/oftree.c |4 ++-- 3 files changed, 11 insertions(+), 10 de

Re: [PATCH 02/10] devinfo: reduce indentation

2014-05-30 Thread Antony Pavlov
On Fri, 30 May 2014 11:08:01 +0200 Holger Schurig wrote: > barebox:/ devinfo > devices: > `-- global > `-- platform >`-- mem0 > `-- 0x-0x3fff (1 GiB): /dev/ram0 >`-- a01000.interrupt-controller >`-- soc.0 > `-- 11.dma-apbh > `-- a00600.timer > `

Re: [PATCH 06/10] meminfo: purely cosmetical changes

2014-05-30 Thread Holger Schurig
Use another directory then :-) http://www.dict.cc/deutsch-englisch/kosmetisch.html ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [RFC] net: picoping: try to make it asynchronious: fail

2014-05-30 Thread Holger Schurig
> Has anybody any ideas how to improve the situation? AFAIK barebox doesn't have the concept of aborting something. e.g. you cannot do "msleep 2" and then press Ctrl-C. The you see when you press Ctrl-C is from hush, and it is internal to hush.c (see struct in_str, member interrupt). ___

Re: [PATCH 06/10] meminfo: purely cosmetical changes

2014-05-30 Thread Antony Pavlov
On Fri, 30 May 2014 11:07:32 +0200 Holger Schurig wrote: "cosmetic"? I can't find the word "cosmetical" in my dictionary. P.S. I by myself often write "unificate" instead of "unify" :) > Signed-off-by: Holger Schurig > --- > common/dlmalloc.c|8 > common/tlsf_malloc.c |2

Re: [PATCH 09/10] beautify PHY driver names

2014-05-30 Thread Holger Schurig
I changed them because (before my patches) the driver list in "devinfo" looked ugly, with my drvinfo command that one looked ugly. Those driver names sticked out like a sore thumb. Now, if I do "diff linux/driver/net/phy/micrel.c barebox/driver/net/phy/micrel.c", I can see that those files are a b

Re: [PATCH 09/10] beautify PHY driver names

2014-05-30 Thread Alexander Aring
Hi, On Fri, May 30, 2014 at 11:07:35AM +0200, Holger Schurig wrote: > Some device names where texts like "Atheros 8035 ethernet" or similar. They > now got a prefix "phy-" and just their name and look now much more like the > other driver names. > these names are taken from linux kernel code to h

[RFC] net: picoping: try to make it asynchronious: fail

2014-05-30 Thread Antony Pavlov
Picotcp tends to work in an asynchronious way. E.g. for ping we have to use "pico_icmp4_ping()" (to start ping task) and the special icmp4 handler (callback function) "cb_ping()". But the ping command in barebox works in very simple way: * user types 'ping ' in the barebox shell command line;

Re: [PATCH 04/10] parameters: only show possible enumerations if there are any

2014-05-30 Thread Holger Schurig
Before this patch, "drvinfo fb0" displayed (beside other things): Parameters: enable: 0 mode_name: hsd100pxn1 ("hsd100pxn1") Now it shows: Parameters: enable: 0 mode_name: hsd100pxn1 ___ barebox mailing list barebox@lis

Re: [PATCH 01/10] drvlist: factor the driver list out of 'devinfo'

2014-05-30 Thread Holger Schurig
barebox:/ drvinfo Driver Device(s) --- imx-gpio 209c000.gpio 20a.gpio 20a4000.gpio 20a8000.gpio 20ac000.gpio 20b.gpio 20b4000.gpio imx6-ccm 20c4000.ccm imx-iomuxv3 20e.iomuxc imx-gpt 2098000

Re: [PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer

2014-05-30 Thread Holger Schurig
Example output before of "devinfo fb0": resources: num : 0 start : 0x4c242000 size : 0x0030 driver: none bus: none available modes: hsd100pxn1 1024x768@0 Parameters: enable = 0 mode_name = hsd100pxn1 ("hsd100pxn1") E

Re: [PATCH 02/10] devinfo: reduce indentation

2014-05-30 Thread Holger Schurig
barebox:/ devinfo devices: `-- global `-- platform `-- mem0 `-- 0x-0x3fff (1 GiB): /dev/ram0 `-- a01000.interrupt-controller `-- soc.0 `-- 11.dma-apbh `-- a00600.timer `-- a02000.l2-cache ... ___ barebox m

[RFC] picotcp.20140530

2014-05-30 Thread Antony Pavlov
Hi All! My new barebox with picotcp support brunch is pushed to github: https://github.com/frantony/barebox/tree/picotcp.20140530 For this version reworked content of Daniele Lacamera's push request is used (see https://github.com/frantony/barebox/pull/1). Changes since picotcp.201

Re: [PATCH 08/10] bootm: beautify output

2014-05-30 Thread Holger Schurig
The output is now ... Without -v: Loading ARM Linux zImage '/mnt/linux/arch/arm/boot/zImage' commandline: console=ttymxc0,115200n8 quiet root=/dev/ram rdinit=/sbin/init With -v: Loading ARM Linux zImage '/mnt/linux/arch/arm/boot/zImage' OS image not yet relocated Loading ini

Re: [PATCH 00/10] miscelleanous beautification patches

2014-05-30 Thread Holger Schurig
Oh, while converting quilt-patches to git some patch comments (behind ---") were lost. As they are only explanatory, nothing bad happens, but I'll send them as e-mails now. ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/m

Re: [PATCH v2 2/7] ARM: uemd: add DEBUG_LL support

2014-05-30 Thread Holger Schurig
Oops, you're of course right! ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH 10/10] device drivers: harmonize underscore in driver names

2014-05-30 Thread Holger Schurig
Some device names were in the form "imx_spi", others in the form "imx-gpt". As most device names used the dash and not the underscore, this device driver harmonizes them all. Signed-off-by: Holger Schurig --- arch/arm/boards/at91rm9200ek/init.c |8 arch/arm/boards/at91sa

[PATCH 07/10] misc: upper-case some abbreviations

2014-05-30 Thread Holger Schurig
Signed-off-by: Holger Schurig --- arch/arm/Kconfig |4 ++-- arch/arm/cpu/cpu.c |2 +- arch/arm/lib/bootm.c |4 ++-- commands/Kconfig | 20 ++-- common/bootm.c |4 ++-- common/filetype.c| 20 ++-- lib/d

[PATCH 08/10] bootm: beautify output

2014-05-30 Thread Holger Schurig
* fix indentation of options in 'help bootm' * add missing help for -m * put some output into debug/verbose mode Signed-off-by: Holger Schurig --- arch/arm/lib/armlinux.c |2 +- commands/Kconfig| 15 ++- commands/bootm.c| 15 --- common/bootm.c

[PATCH 09/10] beautify PHY driver names

2014-05-30 Thread Holger Schurig
Some device names where texts like "Atheros 8035 ethernet" or similar. They now got a prefix "phy-" and just their name and look now much more like the other driver names. Signed-off-by: Holger Schurig --- drivers/net/phy/at803x.c |6 +++--- drivers/net/phy/lxt.c |2 +- drivers/ne

[PATCH 06/10] meminfo: purely cosmetical changes

2014-05-30 Thread Holger Schurig
Signed-off-by: Holger Schurig --- common/dlmalloc.c|8 common/tlsf_malloc.c |2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/dlmalloc.c b/common/dlmalloc.c index f006206..d831e90 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -1942,13 +1

[PATCH 00/10] miscelleanous beautification patches

2014-05-30 Thread Holger Schurig
The following patches mostly change the output of various commands. Holger Schurig (10): drvlist: factor the driver list out of 'devinfo' devinfo: reduce indentation devinfo: make the output of "devinfo DEVICE" nicer parameters: only show possible enumerations if there are any net: show

[PATCH 01/10] drvlist: factor the driver list out of 'devinfo'

2014-05-30 Thread Holger Schurig
The command 'devinfo' was first spitting out all devices, and then also all drivers. This patch separates them into two commands, 'devinfo' as before, and also the new command 'drvinfo' Signed-off-by: Holger Schurig --- commands/Kconfig |9 - commands/Makefile |1 + commands/d

[PATCH 04/10] parameters: only show possible enumerations if there are any

2014-05-30 Thread Holger Schurig
Enumeration values will only be shown if there are at least two of them. With only one enumeration, it was just repeating what was previously printed anyway. Signed-off-by: Holger Schurig --- lib/parameter.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/parameter.c b/lib/paramete

[PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer

2014-05-30 Thread Holger Schurig
* some output sections started with "foo: bar", some with "foo = bar". Unify this. * there was a fixed size to the "foo =" parameters, which wasn't fitting, this was especially visible at "devinfo global" * don't output "resources:", "driver:" and "bus:" lines if there are none resources, driv

[PATCH 02/10] devinfo: reduce indentation

2014-05-30 Thread Holger Schurig
This patch reduces the indentation of "devinfo", to reduce the amount of overly long lines. And while we're at it, also remove the fixed-size of the human-readable area. As entries didn't align anyway (because of indentation), this was just eating more space without giving much more readability.

[PATCH 05/10] net: show enetaddr in lowercase

2014-05-30 Thread Holger Schurig
"ifconfig" and "ip" from normal Linux userspace shows ethernet addresses normally in lowercase. And the %pM format specifier in Linux does that, too. Conform to this custom formatting. Signed-off-by: Holger Schurig --- net/net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

Re: [PATCH v2 2/7] ARM: uemd: add DEBUG_LL support

2014-05-30 Thread Antony Pavlov
On Fri, 30 May 2014 08:09:21 +0200 Holger Schurig wrote: > 2014-05-22 21:48 GMT+02:00 Antony Pavlov : > > --- a/arch/arm/Kconfig > > +++ b/arch/arm/Kconfig > > @@ -203,6 +203,7 @@ config ARCH_UEMD > > select OFDEVICE > > select OFTREE > > select CLOCKSOURCE_UEMD > > +