Re: [PATCH RFC 1/4] usb: add Marvell MVEBU USB support

2014-06-30 Thread Sebastian Hesselbarth
On 06/30/2014 08:30 AM, Sascha Hauer wrote: >> +if (usb->mode == USB_DR_MODE_HOST && >> +IS_ENABLED(CONFIG_USB_MVEBU_HOST)) { >> +ret = regulator_enable(usb->vbus); >> +if (ret) >> +return ret; >> +ret = ehci_register(dev, &usb->eh

[PATCH] regulator: fixed: add always-on property

2014-06-30 Thread Steffen Trumtrar
Support the "regulator-always-on" property for fixed regulators. The regulator gets enabled on probe and subsequent disable calls are ignored. Signed-off-by: Steffen Trumtrar --- drivers/regulator/fixed.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/regulator/fixed.c b/dr

[PATCH] usb: chipidea: imx: add vbus regulator support

2014-06-30 Thread Steffen Trumtrar
The chipidea binding describes the optional property of a regulator for vbus named "vbus-supply". Add support for this property to the driver so it can be used on boards with a gpio-controlled regulator. Signed-off-by: Steffen Trumtrar --- drivers/usb/imx/chipidea-imx.c | 15 ++- 1

Re: [PATCH] usb: chipidea: imx: add vbus regulator support

2014-06-30 Thread Sebastian Hesselbarth
On 06/30/2014 09:52 AM, Steffen Trumtrar wrote: > The chipidea binding describes the optional property of a regulator > for vbus named "vbus-supply". > > Add support for this property to the driver so it can be used on boards > with a gpio-controlled regulator. > > Signed-off-by: Steffen Trumtrar

Re: in sphinx docs, what is "@b barebox" markup supposed to do?

2014-06-30 Thread Holger Schurig
I found a Sphinx cheat sheet: http://openalea.gforge.inria.fr/doc/openalea/doc/_build/html/source/sphinx/rest_syntax.html (where you have all the important things on just one page). So you can convert "This is @b foo bar" to "This is **foo** bar". ___ b

Re: in sphinx docs, what is "@b barebox" markup supposed to do?

2014-06-30 Thread Robert P. J. Day
On Mon, 30 Jun 2014, Holger Schurig wrote: > I found a Sphinx cheat sheet: > http://openalea.gforge.inria.fr/doc/openalea/doc/_build/html/source/sphinx/rest_syntax.html > (where you have all the important things on just one page). > > So you can convert "This is @b foo bar" to "This is **foo** bar

Re: [RFC v3 1/5] PCI: initial commit

2014-06-30 Thread Lucas Stach
Hi Antony, nice to see a new revision of this PCI stuff. I've used v2 as a base for my Tegra PCI hacking during our Techweek. This revision looks really good and I think it removes most of the issues I've stumbled across. Some comments below. Regards, Lucas Am Donnerstag, den 26.06.2014, 02:32

Re: [RFC v3 2/5] commands: add 'lspci' command

2014-06-30 Thread Lucas Stach
Am Donnerstag, den 26.06.2014, 02:32 +0400 schrieb Antony Pavlov: > Signed-off-by: Antony Pavlov > --- > commands/Kconfig | 8 > commands/Makefile | 1 + > commands/lspci.c | 49 + > 3 files changed, 58 insertions(+) > create mode 1006

[PATCH] boot: show all boot sources

2014-06-30 Thread Rolf Evers-Fischer
This patch fixes the presentation of all bootsources with 'boot -m' and 'boot -l' command. Signed-off-by: Rolf Evers-Fischer ---  commands/boot.c |    4 ++--  1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/boot.c b/commands/boot.c index c8eae10..1a1856d 100644 --- a/comma

[PATCH] boot: fix typo

2014-06-30 Thread Rolf Evers-Fischer
Signed-off-by: Rolf Evers-Fischer ---  commands/boot.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/commands/boot.c b/commands/boot.c index a23ffb1..c8eae10 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -151,7 +151,7 @@ static int bootscript_scan_path(struct bl

[PATCH] Documentation: device tree bindings.

2014-06-30 Thread Robert P. J. Day
Adjusted Sphinx markup for devicetree bindings pages. Signed-off-by: Robert P. J. Day --- not completely confident in my markup here so i'm open to suggestions. diff --git a/Documentation/devicetree/bindings/barebox/barebox,environment.rst b/Documentation/devicetree/bindings/barebox/barebo

[PATCH] Documentation: Fix glossary entry, "FTD" -> "FDT"

2014-06-30 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- diff --git a/Documentation/glossary.rst b/Documentation/glossary.rst index a702859..8bad7dc 100644 --- a/Documentation/glossary.rst +++ b/Documentation/glossary.rst @@ -5,7 +5,7 @@ Glossary .. glossary:: :sorted: - FTD + FDT Flattened Device Tre

[PATCH] sdma.h: Typo, "interupt" -> "interrupt"

2014-06-30 Thread Robert P. J. Day
Fix only two "interupt" misspellings in entire barebox codebase. Signed-off-by: Robert P. J. Day --- diff --git a/arch/ppc/mach-mpc5xxx/include/mach/sdma.h b/arch/ppc/mach-mpc5xxx/include/mach/sdma.h index 5e7ff5f..6a25d79 100644 --- a/arch/ppc/mach-mpc5xxx/include/mach/sdma.h +++ b/arch/ppc/

Re: in sphinx docs, what is "@b barebox" markup supposed to do?

2014-06-30 Thread Robert P. J. Day
On Mon, 30 Jun 2014, Holger Schurig wrote: > I found a Sphinx cheat sheet: > http://openalea.gforge.inria.fr/doc/openalea/doc/_build/html/source/sphinx/rest_syntax.html > (where you have all the important things on just one page). > > So you can convert "This is @b foo bar" to "This is **foo** bar

Re: in sphinx docs, what is "@b barebox" markup supposed to do?

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 05:56:37AM -0400, Robert P. J. Day wrote: > On Mon, 30 Jun 2014, Holger Schurig wrote: > > > I found a Sphinx cheat sheet: > > http://openalea.gforge.inria.fr/doc/openalea/doc/_build/html/source/sphinx/rest_syntax.html > > (where you have all the important things on just on

[PATCH] Makefile: Add missing closing quote for "make help"

2014-06-30 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- definitely prevents "make help" frum running. diff --git a/Makefile b/Makefile index 6dad637..a8e57ee 100644 --- a/Makefile +++ b/Makefile @@ -1076,7 +1076,7 @@ help: @echo 'enough build support to build external modules'

Re: AM335x NAND

2014-06-30 Thread Jan Lübbe
On Thu, 2014-06-26 at 22:58 +0200, Stefan Müller-Klieser wrote: > So, should I port the features from the u-boot driver into barebox, > e.g. ELM and HW BCH16 support, or are there different plans from the > maintainer? I've seen that the Phytec AM335x BSPs contain patches which add support for the

[PATCH] Documentation: User manual, "barebox" section

2014-06-30 Thread Robert P. J. Day
Various grammar/font fixes to that section, including adding an additional section describing how to properly do "out of tree" configuration and building. Signed-off-by: Robert P. J. Day --- diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst index 70bdedc..6a679c0 100

recommendation for ARM cross-compiler for building for beaglebone black?

2014-06-30 Thread Robert P. J. Day
been a while since i've build barebox for my BBB ... anyone here doing that and can recommend a cross-compiler that's been working for them? i know there are several out there, just curious what anyone here is using for that particular board. thanks. rday -- =

Re: [PATCH] Documentation: device tree bindings.

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 08:23:43AM -0400, Robert P. J. Day wrote: > > Adjusted Sphinx markup for devicetree bindings pages. > > Signed-off-by: Robert P. J. Day > > --- > > not completely confident in my markup here so i'm open to > suggestions. Looks fine in the source code, so applied. I'

Re: [PATCH] Documentation: Fix glossary entry, "FTD" -> "FDT"

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 08:26:20AM -0400, Robert P. J. Day wrote: > > Signed-off-by: Robert P. J. Day > Applied, thanks Sascha > --- > > diff --git a/Documentation/glossary.rst b/Documentation/glossary.rst > index a702859..8bad7dc 100644 > --- a/Documentation/glossary.rst > +++ b/Documentati

Re: [PATCH] sdma.h: Typo, "interupt" -> "interrupt"

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 08:43:39AM -0400, Robert P. J. Day wrote: > > Fix only two "interupt" misspellings in entire barebox codebase. > > Signed-off-by: Robert P. J. Day Applied, thanks Sascha > > --- > > diff --git a/arch/ppc/mach-mpc5xxx/include/mach/sdma.h > b/arch/ppc/mach-mpc5xxx/inc

Re: [PATCH] Makefile: Add missing closing quote for "make help"

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 09:16:23AM -0400, Robert P. J. Day wrote: > > Signed-off-by: Robert P. J. Day Applied, thanks Sascha > > --- > > definitely prevents "make help" frum running. > > diff --git a/Makefile b/Makefile > index 6dad637..a8e57ee 100644 > --- a/Makefile > +++ b/Makefile > @

Re: [PATCH] Documentation: User manual, "barebox" section

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 10:41:58AM -0400, Robert P. J. Day wrote: > > Various grammar/font fixes to that section, including adding an > additional section describing how to properly do "out of tree" > configuration and building. > > Signed-off-by: Robert P. J. Day Thanks for documenting the out

Re: [PATCH] Documentation: User manual, "barebox" section

2014-06-30 Thread Robert P. J. Day
On Mon, 30 Jun 2014, Sascha Hauer wrote: > On Mon, Jun 30, 2014 at 10:41:58AM -0400, Robert P. J. Day wrote: > > > > Various grammar/font fixes to that section, including adding an > > additional section describing how to properly do "out of tree" > > configuration and building. > > > > Signed-off

Re: [PATCH] Documentation: User manual, "barebox" section

2014-06-30 Thread Robert P. J. Day
On Mon, 30 Jun 2014, Sascha Hauer wrote: > On Mon, Jun 30, 2014 at 10:41:58AM -0400, Robert P. J. Day wrote: > > > > Various grammar/font fixes to that section, including adding an > > additional section describing how to properly do "out of tree" > > configuration and building. > > > > Signed-off

Re: [RFC v3 2/5] commands: add 'lspci' command

2014-06-30 Thread Antony Pavlov
On Mon, 30 Jun 2014 12:21:50 +0200 Lucas Stach wrote: > Am Donnerstag, den 26.06.2014, 02:32 +0400 schrieb Antony Pavlov: > > Signed-off-by: Antony Pavlov > > --- > > commands/Kconfig | 8 > > commands/Makefile | 1 + > > commands/lspci.c | 49 ++

Re: [PATCH] Support for booting ELF images.

2014-06-30 Thread Owen Kirby
On 14-06-26 10:10 PM, Antony Pavlov wrote: Yes, my kexec series have not been checked in. I can fix it this weekend. The main problem of my series is that it's a MIPS series but barebox is essentially a ARM bootloader. It seems that I have to add kexec ARM support :) Which hardware platform do

[RFC v4 3/6] commands: add 'lspci' command

2014-06-30 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- commands/Kconfig | 8 commands/Makefile | 1 + commands/lspci.c | 52 3 files changed, 61 insertions(+) diff --git a/commands/Kconfig b/commands/Kconfig index eed6fbd..c98dbc5 100644 --- a/commands

[RFC v4 5/6] MIPS: add PCI support for GT64120-based Malta board

2014-06-30 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/mips/Kconfig| 1 + arch/mips/include/asm/gt64120.h | 53 + arch/mips/mach-malta/Makefile| 1 + arch/mips/mach-malta/include/mach/mach-gt64120.h | 2 + arch/mips/mach-malta/pci.c

[RFC v4 1/6] MIPS: add dma_alloc_coherent()

2014-06-30 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/mips/include/asm/dma-mapping.h | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/mips/include/asm/dma-mapping.h b/arch/mips/include/asm/dma-mapping.h new file mode 100644 index 000..555efa5 --- /dev/null +++ b/arch/mips/

[RFC v4 6/6] MIPS: qemu-malta_defconfig: enable PCI & network stuff

2014-06-30 Thread Antony Pavlov
qemu usage: # ifconfig br0:1 172.20.0.1 # qemu-system-mips -nodefaults -nographic -M malta -m 256 \ -serial stdio -monitor null \ -bios ./barebox-flash-image \ -net nic,vlan=0,model=rtl8139 \ -net tap,vlan=0,script=net_br0.sh ... barebox:/ eth0.ipaddr=172.20.0.2 barebox

[RFC v4 2/6] PCI: initial commit

2014-06-30 Thread Antony Pavlov
used shorten version of linux-2.6.39 pci_ids.h Signed-off-by: Antony Pavlov Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/Kconfig | 1 + drivers/Makefile| 1 + drivers/pci/Kconfig | 29 drivers/pci/Makefile| 8 ++

[RFC v4 4/6] net: add RealTek RTL-8139 PCI Ethernet driver

2014-06-30 Thread Antony Pavlov
This driver is based on Linux 2.6.39 8139too driver. Signed-off-by: Antony Pavlov Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/net/Kconfig | 8 + drivers/net/Makefile| 1 + drivers/net/rtl8139.c | 616 include/linux/p

[RFC v4 0/6] barebox PCI support

2014-06-30 Thread Antony Pavlov
ntroduce pci_resource_start(); * introduce pci_iomap(); * clean '#if 0'. This patchseries can be found on github: https://github.com/frantony/barebox/tree/pci.20140630 Antony Pavlov (6): MIPS: add dma_alloc_coherent() PCI: initial commit commands: add 'lspci' command

Re: recommendation for ARM cross-compiler for building for beaglebone black?

2014-06-30 Thread Robert Schwebel
On Mon, Jun 30, 2014 at 11:36:43AM -0400, Robert P. J. Day wrote: > been a while since i've build barebox for my BBB ... anyone here > doing that and can recommend a cross-compiler that's been working for > them? i know there are several out there, just curious what anyone > here is using for tha

Re: [PATCH 1/3] arm: imx6: move imx6_init_lowlevel to single initcall

2014-06-30 Thread Sascha Hauer
On Tue, Jun 24, 2014 at 09:17:49AM +0200, Sascha Hauer wrote: > On Tue, Jun 24, 2014 at 08:33:14AM +0200, Lucas Stach wrote: > > Instead of repeating the same lowlevel init for every board > > move it to it's own initcall. > > > > Avoids code bloat and shaves off almost 1.5kB of uncompressed > > b

Re: [PATCH] boot: fix typo

2014-06-30 Thread Sascha Hauer
Hi Rolf, On Mon, Jun 30, 2014 at 02:27:30PM +0200, Rolf Evers-Fischer wrote: > Signed-off-by: Rolf Evers-Fischer > --- >  commands/boot.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. I had to apply it manually. You mailer breaks lines and converts tabs into spa

Re: [PATCH] boot: show all boot sources

2014-06-30 Thread Sascha Hauer
On Mon, Jun 30, 2014 at 02:21:39PM +0200, Rolf Evers-Fischer wrote: > This patch fixes the presentation of all bootsources with 'boot -m' and > 'boot -l' command. > > Signed-off-by: Rolf Evers-Fischer > --- >  commands/boot.c |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) > > di