Re: [PATCH] Adding minimal support for the UDOO board.

2014-02-17 Thread Alexander Shiyan
Понедельник, 17 февраля 2014, 8:48 +01:00 от Sascha Hauer s.ha...@pengutronix.de: Hi Raphaël, On Sun, Feb 16, 2014 at 02:20:08PM -0800, Raphaël POGGI wrote: From: Raphael Poggi poggi.r...@gmail.com For more information about the board: http://www.udoo.org/ Signed-off-by: Raphael

Re: [PATCH] Adding minimal support for the UDOO board.

2014-02-17 Thread Sascha Hauer
On Mon, Feb 17, 2014 at 09:00:20AM +0100, Raphaël Poggi wrote: Ok I will do this today.� By the way, can you tell me how I can reply to this thread using git send-email to submit patch ? Like that I don't have to open a new thread in the mailing list.� I am a beginner in open

Re: [PATCH] read_file: Use read_full

2014-02-17 Thread Uwe Kleine-König
On Thu, Feb 13, 2014 at 10:12:53AM +0100, Sascha Hauer wrote: At least NFS does not fulfill read requests 1024 bytes at once. Use read_full in read_file as read doesn't guarantee that the whole request can be read at once. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Acked-by: Uwe

[PATCH 2/2] ARM: i.MX6: sabresd: switch to multi-image

2014-02-17 Thread Lucas Stach
Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/Makefile | 1 - arch/arm/boards/freescale-mx6-sabresd/Makefile | 3 +- arch/arm/boards/freescale-mx6-sabresd/board.c | 33 ++ .../flash-header-mx6-sabresd.imxcfg| 128

[PATCH 1/2] ARM: i.MX6: saresd: set USB PHY and DR mode

2014-02-17 Thread Lucas Stach
Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/dts/imx6qdl-sabresd.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabresd.dtsi b/arch/arm/dts/imx6qdl-sabresd.dtsi index 346e32a22c56..78c9fd54ebd3 100644 --- a/arch/arm/dts/imx6qdl-sabresd.dtsi

Re: [PATCH 2/7] tegra: add break to switch statements

2014-02-17 Thread Lucas Stach
Am Montag, den 17.02.2014, 07:53 +0100 schrieb Sascha Hauer: On Thu, Feb 13, 2014 at 11:32:46PM +0100, Lucas Stach wrote: Avoids a possible miscompilation. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/lowlevel.h | 10 ++ 1 file changed, 10

Re: [PATCH] Adding minimal support for the UDOO board.

2014-02-17 Thread Alexander Shiyan
Hello. Понедельник, 17 февраля 2014, 19:34 +01:00 от Raphaël Poggi raphi...@gmail.com: Hi Alexander, I do not understand the problem with compatible : +#include imx6qdl-udoo.dtsi + +/ { +       model = Freescale i.MX6 Quad UDOO Board; +       compatible = fsl,imx6q-udoo,

Re: [PATCH] Adding minimal support for the UDOO board.

2014-02-17 Thread Raphaël Poggi
Hum I think I have understand, in fact there is 2 differents type of UDOO board, one quad and one dual. So I think it is a good idea to add in imx6qdl-udoo.dtsi a compatible string like udoo,imx6qdl and in the imx6q-udoo.dts a compatible string like udoo,imx6q is this right ? Thanks. Raphaël

Re: Devicetree Maintenance in barebox

2014-02-17 Thread Jason Cooper
On Fri, Feb 07, 2014 at 08:13:32AM +0100, Sascha Hauer wrote: Hi All, It's becoming more obvious that devicetree maintenance is painful because we have to sync them to the kernel regularly. My hope was that this would get simpler once the devicetrees get their own repository outside the

Re: [PATCH 1/2] ARM: i.MX6: saresd: set USB PHY and DR mode

2014-02-17 Thread Robert Schwebel
Typo in subject (sabre). rsc On Mon, Feb 17, 2014 at 01:04:11PM +0100, Lucas Stach wrote: Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/dts/imx6qdl-sabresd.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx6qdl-sabresd.dtsi

[PATCH v2 4/8] tegra: add lowlevel delay function

2014-02-17 Thread Lucas Stach
For proper startup we need to give clocks and IO signals some time to stabilize. Tegra2 got away without them, but Tegra3 seems to be a bit pickier. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/lowlevel.h | 44 +

[PATCH v2 2/8] tegra: lowlevel: switch to __always_inline macro

2014-02-17 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/lowlevel.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h b/arch/arm/mach-tegra/include/mach/lowlevel.h index 472348a..fb06e4f 100644

[PATCH v2 1/8] tegra: add -fno-jump-tables to lowlevel code

2014-02-17 Thread Lucas Stach
Lowlevel code runs when not relocated yet, so we have to make extra sure not to emit jump-tables with absolute adresses when evaluating switch statements. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 0/8] Lowlevel Tegra3 support

2014-02-17 Thread Lucas Stach
This is the very basic Tegra3 support. All highlevel things like pinmux and other drivers still missing. Allows to start the high performance CPU cluster on Tegra3 and start executing code there. v2: Use __always_inline compiler macro. Lucas Stach (8): tegra: add -fno-jump-tables to lowlevel

[PATCH v2 3/8] tegra: add break to switch statements

2014-02-17 Thread Lucas Stach
Avoids a possible miscompilation. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/lowlevel.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h b/arch/arm/mach-tegra/include/mach/lowlevel.h index

[PATCH v2 5/8] tegra: add Tegra3 to relevant lowlevel functions

2014-02-17 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/lowlevel.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h b/arch/arm/mach-tegra/include/mach/lowlevel.h index 85ab7ef..b39e30e 100644 ---

[PATCH v2 6/8] tegra: add lowlevel DVC

2014-02-17 Thread Lucas Stach
Allows to talk to external PMIC devices to bring up CPU rail. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/lowlevel-dvc.h | 72 + arch/arm/mach-tegra/include/mach/lowlevel.h | 7 ++- arch/arm/mach-tegra/include/mach/tegra20-car.h |

[PATCH v2 7/8] tegra: set AHB clock rate early

2014-02-17 Thread Lucas Stach
Avoids glitches in later starup phases. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/tegra20-car.h | 4 arch/arm/mach-tegra/tegra_avp_init.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/mach-tegra/include/mach/tegra20-car.h

[PATCH v2 8/8] tegra: add Tegra3 startup

2014-02-17 Thread Lucas Stach
Sets up MSELECT to let main CPUs talk to peripheral devices and starts high performance A9 CPU cluster. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/include/mach/tegra30-car.h | 31 arch/arm/mach-tegra/include/mach/tegra30-flow.h | 23 +++

[PATCH 2/2] ARM: Rework device tree of UDOO Board to be more flexible.

2014-02-17 Thread Raphaël POGGI
Device tree of UDOO Board have to be more flexible. There are a dual imx6 and a quad imx6 boards, with this patch we can have a same device tree file as a base: arch/arm/dts/imx6qdl-udoo.dtsi and an other device tree file for specific configuration depending of the board. Signed-off-by: Raphael

[PATCH v2 1/2] ARM: add minimal support for the Freescale Quad UDOO Board

2014-02-17 Thread Raphaël POGGI
Adding minimal support for the UDOO board. For more information about the board: http://www.udoo.org/ Signed-off-by: Raphael Poggi poggi.r...@gmail.com --- arch/arm/boards/Makefile | 1 + arch/arm/boards/udoo/Makefile | 3 +