Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-26 Thread Sascha Hauer
On Wed, Jun 25, 2014 at 02:40:08PM +0200, Alexander Aring wrote: Hi, I resend this mail. My last one was malformed, because I tried to answert this mail via smartphone while boring lecture at university. On Wed, Jun 25, 2014 at 08:56:15AM +0200, Sascha Hauer wrote: On Tue, Jun 24, 2014

Re: [PATCH FIXUP] pinctrl: mvebu: fixup mpp_base check

2014-06-26 Thread Sascha Hauer
On Wed, Jun 25, 2014 at 03:52:16PM +0200, Sebastian Hesselbarth wrote: Sascha, unfortunately, your dev_request_mem_region fixup introduced a typo (map_base instead of mpp_base). I took the chance to also add a corresponding check for dove's pinctrl stub. Please squash into commmit

Re: [PATCH 1/4] arm: add errata workarounds

2014-06-26 Thread Sascha Hauer
On Wed, Jun 25, 2014 at 09:18:18AM +0200, Lucas Stach wrote: From: Lucas Stach l.st...@pengutronix.de Header only implementation, so they can be pulled into the individual SoC cpu init functions. Signed-off-by: Lucas Stach l.st...@pengutronix.de Applied, thanks Sascha ---

[PATCH] kconfig: Fix compiler warning

2014-06-26 Thread Sascha Hauer
gcc-4.9 is too silly to recognize that *jump cannot be used uninitialized and issues a warning. Explicitly initialize *jump to avoid the warning. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- scripts/kconfig/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-26 Thread Sebastian Hesselbarth
On 06/26/2014 06:27 AM, Alexander Aring wrote: On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote: On 06/22/2014 10:34 PM, Alexander Aring wrote: This patch add a basic support for the D-Link DNS-325. Currently only booting via uart with kwboot is supported. The barebox

[PATCH 3/4] sandbox: add bit manipulation stuff

2014-06-26 Thread Holger Schurig
The functions are already in the sandbox, just the #defines are missing. Signed-off-by: Holger Schurig holgerschu...@gmail.com --- arch/sandbox/include/asm/bitops.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/sandbox/include/asm/bitops.h

[PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Holger Schurig
... and it's defined only when CONFIG_OFTREE_MEM_GENERIC is on. Signed-off-by: Holger Schurig holgerschu...@gmail.com --- drivers/of/base.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index c440a69..818d76e 100644 --- a/drivers/of/base.c +++

[PATCH 4/4] sandbox: allow make ARCH=sandbox allyesconfig

2014-06-26 Thread Holger Schurig
Compiling the tree with allyesconfig is helpful because different compilers (gcc, clang) or static checkers (e.g. clang's scan-build) can then process and check more code. This patch introduces two new configuration symbols that Kconfig files can depend on. That way, code that is only working

[PATCH 1/4] commands: include missing header

2014-06-26 Thread Holger Schurig
When compiled for ARCH=sandbox, we get a compiler warning if we don't include the needed header file as well. Signed-off-by: Holger Schurig holgerschu...@gmail.com --- commands/linux_exec.c |1 + 1 file changed, 1 insertion(+) diff --git a/commands/linux_exec.c b/commands/linux_exec.c index

[PATCH 0/4] sandbox: prepare for static checkers

2014-06-26 Thread Holger Schurig
I want to use different compilers and static checkers (e.g. clang's scan-build) on Barebox. As a preparatory step I want to maximize code coverage in an non-crosscompilation environment. This patch set prepares the tree so that make ARCH=sandbox allyesconfig followed by make ARCH=sandbox works

[PATCH 5/7] Documentation: remove remaining documentation

2014-06-26 Thread Sascha Hauer
This removes the documentation texts in Documentation/. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- Documentation/console.txt | 13 Documentation/devices_drivers.txt | 72 --

[PATCH 2/7] automount: fix description typo

2014-06-26 Thread Sascha Hauer
From: Jan Luebbe j...@pengutronix.de Signed-off-by: Jan Luebbe j...@pengutronix.de --- commands/automount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/automount.c b/commands/automount.c index 0afe4d2..a29f286 100644 --- a/commands/automount.c +++

[PATCH 1/7] ubiformat: avoid macros in help text

2014-06-26 Thread Sascha Hauer
From: Jan Luebbe j...@pengutronix.de To simplify parsing of the help strings, we need to avoid using macros there. Signed-off-by: Jan Luebbe j...@pengutronix.de --- commands/ubiformat.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/ubiformat.c

[PATCH 6/7] Documentation: remove devicetree docs

2014-06-26 Thread Sascha Hauer
Remove the barebox devicetree documentation. It will be replaced with sphinx based documentation later. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- Documentation/devicetree/bindings/README | 6 -- Documentation/devicetree/bindings/barebox.txt | 10 -

[PATCH 3/7] commands: addpart: Improve description

2014-06-26 Thread Sascha Hauer
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- commands/partition.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/commands/partition.c b/commands/partition.c index 946cf2d..51988df 100644 --- a/commands/partition.c +++ b/commands/partition.c @@

New Documentation for barebox

2014-06-26 Thread Sascha Hauer
Hi all, I am happy to announce new documentation for barebox. The following series removes the in-tree documentation and replaces it with completely rewritten sphinxs based documentation. As of now we have a more or less complete user manual. There surely is room for improvements but we think

Re: [PATCH] kconfig: Fix compiler warning

2014-06-26 Thread Alexander Aring
to NULL - Alex [0] http://www.spinics.net/lists/linux-kbuild/msg08898.html [1] https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/scripts/kconfig/menu.c?id=refs/tags/next-20140626 ___ barebox mailing list barebox@lists.infradead.org

Re: New Documentation for barebox

2014-06-26 Thread Holger Schurig
Hi, nice ! I merged remotes/origin/doc into my local checkout of remotes/origin/next and did make docs. I got one warning: schurig@laptop:~/d/mkarm/barebox$ make docs Making output directory... Running Sphinx v1.1.2 loading pickled environment... not yet created building [html]: targets for

Re: New Documentation for barebox

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 11:02:56AM +0200, Holger Schurig wrote: Hi, nice ! I merged remotes/origin/doc into my local checkout of remotes/origin/next and did make docs. I got one warning: schurig@laptop:~/d/mkarm/barebox$ make docs Making output directory... Running Sphinx v1.1.2

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-26 Thread Alexander Aring
Hi, On Thu, Jun 26, 2014 at 08:53:02AM +0200, Sebastian Hesselbarth wrote: On 06/26/2014 06:27 AM, Alexander Aring wrote: On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote: On 06/22/2014 10:34 PM, Alexander Aring wrote: This patch add a basic support for the D-Link

Re: New Documentation for barebox

2014-06-26 Thread Holger Schurig
Some random annotations. Please comment, after feedback I'll provide a bunch of patches for this. I don't do the patches right away, because you may still work currently in that area, so it would only produce conflicts. User manuel 2. System setup should be in an appendix. Nothing here is really

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
Hi Holger, can you please check if this is also a solution for this? diff --git a/include/of.h b/include/of.h index e6993fd..76845e7 100644 --- a/include/of.h +++ b/include/of.h @@ -227,7 +227,14 @@ int of_parse_partitions(struct cdev *cdev, struct device_node *node); int

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
On Thu, Jun 26, 2014 at 11:37:01AM +0200, Alexander Aring wrote: Hi Holger, can you please check if this is also a solution for this? diff --git a/include/of.h b/include/of.h index e6993fd..76845e7 100644 --- a/include/of.h +++ b/include/of.h @@ -227,7 +227,14 @@ int

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Holger Schurig
Your patch alone isn't all that's needed, the definition must still be uncommented. Otherwise we'll get: drivers/of/base.c:1700:5: error: redefinition of 'of_add_memory' include/of.h:233:50: note: previous definition of 'of_add_memory' was here ___

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
On Thu, Jun 26, 2014 at 11:37:01AM +0200, Alexander Aring wrote: Hi Holger, can you please check if this is also a solution for this? diff --git a/include/of.h b/include/of.h index e6993fd..76845e7 100644 --- a/include/of.h +++ b/include/of.h @@ -227,7 +227,14 @@ int

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
On Thu, Jun 26, 2014 at 11:43:10AM +0200, Holger Schurig wrote: Your patch alone isn't all that's needed, the definition must still be uncommented. Otherwise we'll get: drivers/of/base.c:1700:5: error: redefinition of 'of_add_memory' include/of.h:233:50: note: previous definition of

Re: New Documentation for barebox

2014-06-26 Thread Holger Schurig
Oh, and I just noticed that two chapters Getting barebox are contained: 1. Getting barebox 3.1. Getting barebox I'd also think that long-term the user manual thingy inside the documention could vanish. Everything could/should/is the user manual, or?

Re: New Documentation for barebox

2014-06-26 Thread Lucas Stach
Am Donnerstag, den 26.06.2014, 11:54 +0200 schrieb Holger Schurig: Oh, and I just noticed that two chapters Getting barebox are contained: 1. Getting barebox 3.1. Getting barebox I'd also think that long-term the user manual thingy inside the documention could vanish. Everything

Booting barebox on i.MX6 from SDCARD?

2014-06-26 Thread Holger Schurig
Hi all, In the Freescale i.MX6Q Reference manual they say in 8. System Boot near the end of 8.5.3.1 Expansion Device eFUSE configuration that the processor can load from SDCARD, but only up to 32 MB. Did any one of you succeeded in booting barebox from SDCARD, maybe with a trampoline code? Or

Re: New Documentation for barebox

2014-06-26 Thread Holger Schurig
No, we would like to clearly separate user docs But still it is unfortunate that two Getting Barebox chapters are there at all, and that they are very near to each. Also, I think that (necessarily!) the design desicions are now mostly in the user manual, e.g. device parameters. In the

Re: Booting barebox on i.MX6 from SDCARD?

2014-06-26 Thread Lucas Stach
Am Donnerstag, den 26.06.2014, 12:04 +0200 schrieb Holger Schurig: Hi all, In the Freescale i.MX6Q Reference manual they say in 8. System Boot near the end of 8.5.3.1 Expansion Device eFUSE configuration that the processor can load from SDCARD, but only up to 32 MB. Did any one of you

Re: New Documentation for barebox

2014-06-26 Thread Antony Pavlov
On Thu, 26 Jun 2014 10:51:31 +0200 Sascha Hauer s.ha...@pengutronix.de wrote: Hi all, I am happy to announce new documentation for barebox. Ag! All my mips documentation have gone away! I'm ready to convert old dox-files to new rst-files by myself, but I need some recomendations.

Re: New Documentation for barebox

2014-06-26 Thread Robert P. J. Day
On Thu, 26 Jun 2014, Sascha Hauer wrote: Hi all, I am happy to announce new documentation for barebox. The following series removes the in-tree documentation and replaces it with completely rewritten sphinxs based documentation. As of now we have a more or less complete user manual. There

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

2014-06-26 Thread Holger Schurig
Hmm, I have removed the imx6_init_lowlevel() from my (out-of-tree) board.c file. Still I get this warning: __request_region: 0x1000:0x4fff conflicts with 0x1000:0x4fff Could this be related to your patchset? In the log below, the text ahs2_postcore_init, after

Re: [PATCH RFC 0/4] MVEBU SoC full USB support

2014-06-26 Thread Sebastian Hesselbarth
On 06/25/2014 09:27 PM, Sebastian Hesselbarth wrote: On 06/25/2014 09:18 PM, Jason Cooper wrote: On Wed, Jun 25, 2014 at 04:08:44PM +0200, Sebastian Hesselbarth wrote: This *RFC* adds a driver stub for ChipIdea USB dual role controllers found on Marvell MVEBU SoCs. Although, I consider this

[PATCH] imx6:phyFLEX: Fix ENTRY_FUNCTION

2014-06-26 Thread Christian Hemp
For some phyFLEX-i.MX6 modules the call __barebox_arm_head() was not removed. With this function the barebox does not start. Signed-off-by: Christian Hemp christian.h...@gmail.com --- arch/arm/boards/phytec-phyflex-imx6/lowlevel.c |6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH] imx6:phyFLEX: Fix ENTRY_FUNCTION

2014-06-26 Thread Alexander Aring
Hi, On Thu, Jun 26, 2014 at 04:09:17PM +0200, Christian Hemp wrote: For some phyFLEX-i.MX6 modules the call __barebox_arm_head() was not removed. With this function the barebox does not start. Signed-off-by: Christian Hemp christian.h...@gmail.com ---

Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-26 Thread Alexander Aring
Hi, On Thu, Jun 26, 2014 at 07:56:58AM +0200, Sascha Hauer wrote: On Wed, Jun 25, 2014 at 02:40:08PM +0200, Alexander Aring wrote: Hi, I resend this mail. My last one was malformed, because I tried to answert this mail via smartphone while boring lecture at university. On Wed, Jun

a couple consistent misspellings that could be fixed

2014-06-26 Thread Robert P. J. Day
being the pedant that i am, i notice the following widespread misspellings in the barebox codebase: * existance (should be existence) actually, not that widespread, only three, all comments so easy to fix * persistant (should be persistent) this one is much uglier -- a couple dozen,

Re: New Documentation for barebox

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 06:31:10AM -0400, Robert P. J. Day wrote: On Thu, 26 Jun 2014, Sascha Hauer wrote: ... snip ... couple quick observations before i put on my editor hat and go through all this. first, on my fedora rawhide system, running make docs generates quite a few

Re: a couple consistent misspellings that could be fixed

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 02:28:21PM -0400, Robert P. J. Day wrote: being the pedant that i am, i notice the following widespread misspellings in the barebox codebase: * existance (should be existence) actually, not that widespread, only three, all comments so easy to fix *

Re: [PATCH 4/4] sandbox: allow make ARCH=sandbox allyesconfig

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 10:49:17AM +0200, Holger Schurig wrote: Compiling the tree with allyesconfig is helpful because different compilers (gcc, clang) or static checkers (e.g. clang's scan-build) can then process and check more code. This patch introduces two new configuration symbols that

Re: [PATCH 1/4] commands: include missing header

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 10:49:14AM +0200, Holger Schurig wrote: When compiled for ARCH=sandbox, we get a compiler warning if we don't include the needed header file as well. Signed-off-by: Holger Schurig holgerschu...@gmail.com Applied this one, thanks SAscha --- commands/linux_exec.c |

Re: [PATCH 3/4] sandbox: add bit manipulation stuff

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 10:49:16AM +0200, Holger Schurig wrote: The functions are already in the sandbox, just the #defines are missing. Signed-off-by: Holger Schurig holgerschu...@gmail.com Applied this one, thanks Sascha --- arch/sandbox/include/asm/bitops.h |7 +++ 1 file

Re: [PATCH] imx6:phyFLEX: Fix ENTRY_FUNCTION

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 04:09:17PM +0200, Christian Hemp wrote: For some phyFLEX-i.MX6 modules the call __barebox_arm_head() was not removed. With this function the barebox does not start. Signed-off-by: Christian Hemp christian.h...@gmail.com Applied, thanks (and fixed the whitespaces while

Re: Booting barebox on i.MX6 from SDCARD?

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 12:11:30PM +0200, Lucas Stach wrote: Am Donnerstag, den 26.06.2014, 12:04 +0200 schrieb Holger Schurig: Hi all, In the Freescale i.MX6Q Reference manual they say in 8. System Boot near the end of 8.5.3.1 Expansion Device eFUSE configuration that the processor

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 10:49:15AM +0200, Holger Schurig wrote: ... and it's defined only when CONFIG_OFTREE_MEM_GENERIC is on. Signed-off-by: Holger Schurig holgerschu...@gmail.com --- drivers/of/base.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/of/base.c

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

2014-06-26 Thread Sascha Hauer
On Thu, Jun 26, 2014 at 02:02:07PM +0200, Holger Schurig wrote: Hmm, I have removed the imx6_init_lowlevel() from my (out-of-tree) board.c file. Still I get this warning: __request_region: 0x1000:0x4fff conflicts with 0x1000:0x4fff Could this be related to your patchset?

AM335x NAND

2014-06-26 Thread Stefan Müller-Klieser
Dear list, I am working on TI's AM335x SoCs and want to add support for the missing NAND controller features in the driver. As the NAND interface of the barebox is not in sync with the kernel, it is difficult for me to decide which way to go. Is there already work going on to update the barebox

[PATCH] Support for booting ELF images.

2014-06-26 Thread Owen Kirby
From 1edc77c7b960d5b42ac3c03000ac5063018195f9 Mon Sep 17 00:00:00 2001 From: Owen Kirby o...@exegin.com Date: Thu, 26 Jun 2014 13:40:06 -0700 Subject: [PATCH] Support for booting ELF images. This patch adds a bootelf command to load and execute OS kernels from the ELF format. Signed-off-by:

where is Documentation/parameters.txt?

2014-06-26 Thread Robert P. J. Day
in the file Documentation/devices_drivers.txt, one reads: See Documentation/parameters.txt for more info. is this file supposed to exist? rday -- Robert P. J. Day Ottawa, Ontario,

where is cpu/arm920t/imx/interrupts.c?

2014-06-26 Thread Robert P. J. Day
the Doc file timekeeping.txt refers to the file cpu/arm920t/imx/interrupts.c. what is this supposed to point at? rday -- Robert P. J. Day Ottawa, Ontario, CANADA

Re: [PATCH] Support for booting ELF images.

2014-06-26 Thread Antony Pavlov
On Thu, 26 Jun 2014 14:11:32 -0700 Owen Kirby o...@exegin.com wrote: Have you seen the '[RFC 00/10] MIPS: use kexec to load ELF linux images' series? http://lists.infradead.org/pipermail/barebox/2014-April/018651.html This series is kexec-based so it has relocator. The relocator make it

[PATCH 4/4] MIPS: ritmix-rzx50_defconfig: enable gpio stuff

2014-06-26 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/configs/ritmix-rzx50_defconfig | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/arch/mips/configs/ritmix-rzx50_defconfig b/arch/mips/configs/ritmix-rzx50_defconfig index

[PATCH 1/4] gpio: add jz4740-gpio driver for Ingenic MIPS SoCs

2014-06-26 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-jz4740.c | 140 + 3 files changed, 147 insertions(+) diff --git a/drivers/gpio/Kconfig

[PATCH 2/4] MIPS: XBurst: use gpiolib

2014-06-26 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 077586c..d4e9e1c 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -89,6 +89,7 @@ config MACH_MIPS_XBURST

[PATCH 0/4] MIPS: XBurst: add gpio support

2014-06-26 Thread Antony Pavlov
Antony Pavlov (4): gpio: add jz4740-gpio driver for Ingenic MIPS SoCs MIPS: XBurst: use gpiolib MIPS: dts: jz4755.dtsi: add gpio MIPS: ritmix-rzx50_defconfig: enable gpio stuff arch/mips/Kconfig| 1 + arch/mips/configs/ritmix-rzx50_defconfig | 28 ---

[PATCH 3/4] MIPS: dts: jz4755.dtsi: add gpio

2014-06-26 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/mips/dts/jz4755.dtsi | 42 ++ 1 file changed, 42 insertions(+) diff --git a/arch/mips/dts/jz4755.dtsi b/arch/mips/dts/jz4755.dtsi index 44ff912..0e655b6 100644 --- a/arch/mips/dts/jz4755.dtsi

Re: [PATCH] Support for booting ELF images.

2014-06-26 Thread Owen Kirby
I had not seen that patch series. It doesn't seem to have been checked in, are you still working on it? kexec seems like a really fancy method of loading the images, but it seems like quite a large patch set just to support another image format. I guess this means that kexec would need to be

Re: where is Documentation/parameters.txt?

2014-06-26 Thread Sascha Hauer
Robert, On Thu, Jun 26, 2014 at 05:27:03PM -0400, Robert P. J. Day wrote: in the file Documentation/devices_drivers.txt, one reads: See Documentation/parameters.txt for more info. is this file supposed to exist? Please don't waste your time with the old documentation. The new docs are

Re: [PATCH] Support for booting ELF images.

2014-06-26 Thread Antony Pavlov
On Thu, 26 Jun 2014 16:09:35 -0700 Owen Kirby o...@exegin.com wrote: I had not seen that patch series. It doesn't seem to have been checked in, are you still working on it? kexec seems like a really fancy method Yes, my kexec series have not been checked in. I can fix it this weekend. The

Re: [PATCH] Support for booting ELF images.

2014-06-26 Thread Antony Pavlov
On Thu, 26 Jun 2014 14:11:32 -0700 Owen Kirby o...@exegin.com wrote: Here are some ELF-unrelated comments on your patch: 1. please use 'git send-email' for sending patches; 2. please use scripts/checkpatch.pl on your patches before sending them to maillist; My checkpatch.pl reports about