Re: [PATCH] [OpenRISC] Add __ashrdi3 and remove link to libgcc

2012-09-05 Thread Sascha Hauer
Hi Franck, On Wed, Sep 05, 2012 at 10:37:26PM +0200, Franck Jullien wrote: > In a previous patch, Sascha needed to add __ashrdi3 and then linked to > libgcc. This patch add the ashrdi3 function in the arch/openrisc/lib > directory and remove the libgcc link. Does this fix any regressions or is it

barebox ascii art

2012-09-05 Thread Antony Pavlov
Hi, all! I have made some barebox ascii art based on design by Valery VILLARD. Use monospace font to see it. ## ## ## ## ## ## ## ###### ## ## ### ####

[PATCH 09/12] graphic_utils: add rgba support

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
this will allow to render rgba image with or without hw support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- include/graphic_utils.h |4 ++ lib/graphic_utils.c | 116 +-- 2 files changed, 116 insertions(+), 4 deletions(-) diff --git a/

[PATCH 12/12] png: add picoPNG lib support

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
This is an alternative to LodePNG take from http://forge.voodooprojects.org/ which is base on picoPNG C++ wrote by Lode Vandevenne. The same author as LodePNG. PicoPNG only support RGBA PNG8 The source code of picopng.c was just adapat to be compliant to C89 and drop the interanal ZLIB support. C

[PATCH 08/12] Introduce graphic utils

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
to Factorise pixel rendering Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/splash.c| 61 +- include/graphic_utils.h | 13 include/image_renderer.h | 20 --- lib/Makefile |1 + lib/bmp.c

[PATCH 10/12] filetype: add PNG support

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- common/filetype.c |3 +++ include/filetype.h |1 + 2 files changed, 4 insertions(+) diff --git a/common/filetype.c b/common/filetype.c index 5710394..0eaf119 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -71,6 +71,7 @@ stat

[PATCH 02/12] bmp: rename it to splash

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
so be can add more format support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- Documentation/commands.dox |2 +- arch/arm/boards/eukrea_cpuimx25/env/bin/init_board |4 ++-- arch/arm/boards/eukrea_cpuimx27/env/bin/init |4 ++-- arch/arm/boards/eukr

[PATCH 06/12] splash/bmp: switch to image_renderer

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/Kconfig |1 + commands/splash.c | 10 +++ lib/Kconfig |1 + lib/bmp.c | 63 + {include => lib}/bmp_layout.h |0 5

[PATCH 07/12] splash: add support to set a background color

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to reset the screen to a default color when using transparent PNG. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/splash.c | 79 +++-- 1 file changed, 76 insertions(+), 3 deletions(-) diff --git a/commands/splash.c

[PATCH 04/12] introduce image_renderer framework

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to support bmp and png Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- include/image_renderer.h | 62 +++ lib/Kconfig |3 ++ lib/Makefile |1 + lib/image_renderer.c | 73 +

[PATCH 03/12] bmp: split bmp rending in lib/bmp.c

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
So we can add other format support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/Kconfig |1 + commands/splash.c| 124 +-- include/bmp_layout.h | 11 + lib/Kconfig |3 ++ lib/Makefile |1 + lib

[PATCH 01/12] add barebox logo

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
in logo/ you will found the barebox logo with color or white in: - bmp (black background) - png24 (transparent or black background) - png8 (black background) for the following size - 100x100 - 200x200 - 400x400 - 600x600 - 800x800 - 900x900 The logo are origanize in a way to be able to i

[PATCH 05/12] filetype: add BMP support

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- common/filetype.c |2 ++ include/filetype.h |1 + 2 files changed, 3 insertions(+) diff --git a/common/filetype.c b/common/filetype.c index e736d43..5710394 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -101,6 +101,8 @@ enu

[PATCH 00/12] add PNG support

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, please pull The following changes since commit f77269a819b1306aa9e0721a2159693fe307142d: Merge branch 'for-next/usb' (2012-09-05 12:59:59 +0200) are available in the git repository at: git://git.jcrosoft.org/barebox.git tags/png for you to fetch changes up to 8e19449313dd5f5c8d7819448

[PATCH] [OpenRISC] Add __ashrdi3 and remove link to libgcc

2012-09-05 Thread Franck Jullien
In a previous patch, Sascha needed to add __ashrdi3 and then linked to libgcc. This patch add the ashrdi3 function in the arch/openrisc/lib directory and remove the libgcc link. Signed-off-by: Franck Jullien --- arch/openrisc/Makefile |4 +- arch/openrisc/lib/Makefile |1 + arch/op

Re: [PATCH 2/8] Makefile: add target to produce a SPL compatible uimage

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:10 Wed 05 Sep , Jan Luebbe wrote: > On Wed, Sep 05, 2012 at 08:05:16PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 17:52 Wed 05 Sep , Jan Luebbe wrote: > > > +barebox.img: barebox.bin FORCE > > > + $(call if_changed,barebox_mkimage) > > this will not work whit the PBL > >

Re: [PATCH 2/8] Makefile: add target to produce a SPL compatible uimage

2012-09-05 Thread Jan Luebbe
On Wed, Sep 05, 2012 at 08:05:16PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:52 Wed 05 Sep , Jan Luebbe wrote: > > +barebox.img: barebox.bin FORCE > > + $(call if_changed,barebox_mkimage) > this will not work whit the PBL > > please fix it PBL is the preloader for the compress

Re: [PATCH 1/2] mtd: fix compiler warnings

2012-09-05 Thread Alexander Aring
Hi, I saw it on sandbox platform. Does this depend on 32 bit or 64 bit system? I found this for __kernel_size_t: arch/sandbox/include/asm/posix_types.h:18:typedef unsigned long __kernel_size_t; so we need to change this to: typedef unsigned int__kernel_size_t; but in mips arch there is unsi

Re: [PATCH 2/8] Makefile: add target to produce a SPL compatible uimage

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:52 Wed 05 Sep , Jan Luebbe wrote: > Signed-off-by: Jan Luebbe > --- > Makefile | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/Makefile b/Makefile > index c6264d3..69e28e3 100644 > --- a/Makefile > +++ b/Makefile > @@ -680,6 +680,16 @@ ifndef CONFIG_PBL_IMAGE >

Re: [PATCH 8/8] drivers/spi: add driver for the Multichannel SPI controller found in TI SoCs

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:52 Wed 05 Sep , Jan Luebbe wrote: > Also create devices for OMAP3. > > Signed-off-by: Jan Luebbe Again NACK Drop the struct on the reg Best Regards, J. > --- > arch/arm/mach-omap/include/mach/mcspi.h | 11 + > arch/arm/mach-omap/include/mach/omap3-devices.h | 32 ++ >

Re: [PATCH 6/8] drivers/net: add driver for the EMAC device found in some TI SoCs

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:52 Wed 05 Sep , Jan Luebbe wrote: > Signed-off-by: Jan Luebbe Again NACK drop the struct on hte reg Best Regards, J. > --- > arch/arm/mach-omap/include/mach/emac_defs.h | 53 +++ > drivers/net/Kconfig |5 + > drivers/net/Makefile

[PATCH 6/8] drivers/net: add driver for the EMAC device found in some TI SoCs

2012-09-05 Thread Jan Luebbe
Signed-off-by: Jan Luebbe --- arch/arm/mach-omap/include/mach/emac_defs.h | 53 +++ drivers/net/Kconfig |5 + drivers/net/Makefile|1 + drivers/net/davinci_emac.c | 615 +++ drivers/net/davinci_ema

[PATCH 3/8] scripts: add tool to create image for SPI boot on AM35xx

2012-09-05 Thread Jan Luebbe
Booting from SPI on an AM35xx (and possibly other TI SOCs) requires a special format: - 32 bit image size in big-endian - 32 bit load address in big-endian - binary image converted from little- to big-endian The mk-am35xx-spi-image tool converts barebox.bin to this format. Signed-off-by: Jan Lue

[PATCH 8/8] drivers/spi: add driver for the Multichannel SPI controller found in TI SoCs

2012-09-05 Thread Jan Luebbe
Also create devices for OMAP3. Signed-off-by: Jan Luebbe --- arch/arm/mach-omap/include/mach/mcspi.h | 11 + arch/arm/mach-omap/include/mach/omap3-devices.h | 32 ++ drivers/spi/Kconfig |6 + drivers/spi/Makefile|1 + dr

[PATCH 5/8] drivers/net/ksz8864rmn: add driver for Micrel KSZ8864RMN Ethernet Switch

2012-09-05 Thread Jan Luebbe
It starts the switch and provides basic access to the registers. This driver could also work with some other Micrel switches, possibly with some small changes. Signed-off-by: Jan Luebbe --- drivers/net/Kconfig |7 ++ drivers/net/Makefile |1 + drivers/net/ksz8864rmn.c | 233 ++

[PATCH 7/8] omap3: remove unused coded for clock configuration

2012-09-05 Thread Jan Luebbe
Signed-off-by: Jan Luebbe --- arch/arm/mach-omap/Kconfig | 17 - arch/arm/mach-omap/omap3_clock.c | 14 +- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig index a781287..98750c4 100644 ---

[PATCH 4/8] common: split out meminfo output and make it optional

2012-09-05 Thread Jan Luebbe
Signed-off-by: Jan Luebbe --- common/Kconfig |4 common/Makefile |1 + common/meminfo.c | 23 +++ common/startup.c | 21 - include/common.h |4 ++-- 5 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 common/meminf

Prepare support for TI AM35xx

2012-09-05 Thread Jan Luebbe
Hi all, these patches prepare for TI AM35xx support and have have been tested together with the board code. The patches should apply individually to the current master (=next). Thanks again to Jean-Christophe Plagniol-Villard and Sacha Hauer for their reviews. Best regards, Jan __

[PATCH 2/8] Makefile: add target to produce a SPL compatible uimage

2012-09-05 Thread Jan Luebbe
Signed-off-by: Jan Luebbe --- Makefile | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index c6264d3..69e28e3 100644 --- a/Makefile +++ b/Makefile @@ -680,6 +680,16 @@ ifndef CONFIG_PBL_IMAGE $(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE)

[PATCH 1/8] drivers/nor/m25p80: add JEDEC ID for Micron/Numonyx SPI NOR flash

2012-09-05 Thread Jan Luebbe
Signed-off-by: Jan Luebbe --- drivers/nor/m25p80.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/nor/m25p80.c b/drivers/nor/m25p80.c index 5713ad5..61f2195 100644 --- a/drivers/nor/m25p80.c +++ b/drivers/nor/m25p80.c @@ -648,6 +648,9 @@ static const struct spi_device_id m25p_i

Re: [PATCH 1/2] mtd: fix compiler warnings

2012-09-05 Thread Jan Lübbe
Hi, On Mon, 2012-09-03 at 07:58 +0200, Alexander Aring wrote: > Fix some compiler warnings. > --- a/drivers/mtd/core.c > +++ b/drivers/mtd/core.c > @@ -79,7 +79,7 @@ static ssize_t mtd_write(struct cdev* cdev, const void > *buf, size_t _count, > return -EINVAL; > } > > -

[PATCH 1/1] uncompress: drop wrong BUG(uncompress_size)

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
As uncompress_size is a static and will set if call uncompress_size multiple time. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- lib/uncompress.c |2 -- 1 file changed, 2 deletions(-) diff --git a/lib/uncompress.c b/lib/uncompress.c index cdfebe9..3cf98dd 100644 --- a/lib/uncompress.c

v2012.09.0

2012-09-05 Thread Sascha Hauer
Got it. We have a september release. Thank you all for working on barebox and making this bootloader better. Have fun! Sascha Alexander Shiyan (7): PCM970: Add MMC support PCM038: Read UID from fuses and pass this valu

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Norbert Roos
On 09/05/2012 01:46 PM, Jan Weitzel wrote: I used gcc-linaro-4.5 with gcc-4.6.2 it stops working here also. I will try it with an older version then. Thank you all for your help! Norbert ___ barebox mailing list barebox@lists.infradead.org http:/

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Norbert Roos
On 09/05/2012 01:18 PM, Anand Gadiyar wrote: What is the size of the generated MLO file? 38312, so it's not a size problem. Norbert ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Norbert Roos
On 09/05/2012 01:15 PM, Sascha Hauer wrote: Maybe you could try an older toolchain. There are some dark memories in my mind, but it could also be that my mind is fooling me... Ok, i will try this.. The MLO is generated from barebox.bin with the omap_signGP tool. It seems the header is 520byt

[PATCH 7/7] defaultenv-2: add boot sequence

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Boot will boot run sequentially the script in /env/boot.d drop global.boot.default as we start the boot sequence by default update the current board using the defaultenv-2 at the sametime Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- .../arm/boards/crystalfontz-cfa10036/env/boot.d/01 |

[PATCH 4/7] defaultenv-2: boot reset linux.bootargs.dyn. and bootm. globarvar

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
This is need for boot sequence to do not have the previous boot param. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- defaultenv-2/base/bin/boot |4 1 file changed, 4 insertions(+) diff --git a/defaultenv-2/base/bin/boot b/defaultenv-2/base/bin/boot index 4ebda3f..103eb87 100644 -

[PATCH 3/7] defaultenv-2: boot use global.linux.bootargs.dyn for dynamic globarvar

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
linux.bootargs.dyn.* will be clearer at the beginning of boot This is need for boot sequence to do not have the previous boot param. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- defaultenv-2/base/bin/bootargs-ip |4 ++-- defaultenv-2/base/bin/bootargs-ip-barebox |2 +-

[PATCH 6/7] defaultenv-2/ansi-colors: export color only if enable

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to do not check it everywhere Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- defaultenv-2/base/data/ansi-colors |4 defaultenv-2/menu/menu/mainmenu|4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/defaultenv-2/base/data/ansi-colors b/d

[PATCH 2/7] globalvar: add support to set a value to of all globalvars beginning with 'match'

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
via c global_reset_match and global -r Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/global.c | 58 --- common/globalvar.c | 10 + include/globalvar.h |3 +++ 3 files changed, 64 insertions(+), 7 deletions(-) diff

[PATCH 5/7] echo: always allow to pass -e option

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to do not taint if not enabled Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/echo.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/echo.c b/commands/echo.c index a19d992..566f5c2 100644 --- a/commands/echo.c +++ b/commands/echo.

[PATCH 1/7] globalbar: add inline when not enabled

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- include/globalvar.h | 20 1 file changed, 20 insertions(+) diff --git a/include/globalvar.h b/include/globalvar.h index 7cc3976..a127a05 100644 --- a/include/globalvar.h +++ b/include/globalvar.h @@ -1,6 +1,7 @@ #ifndef

[PATCH 0/7 v2] defaultenv-2: add boot sequence

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, v2: drop global.boot.default as we start the boot sequence by default update ansi-colors allow to always pass -e to echo this patch series depends on fs-symlink send previously please pull The following changes since commit b65e60792376bb209adfa

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:15 Wed 05 Sep , Sascha Hauer wrote: > On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > > > >What gcc version do you have? > > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Maybe you could try an older toolchain

Re: Suspected ##SPAM## -:Re: [PATCH v4] xload: get barebox size from barebox_arm_head

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:37 Wed 05 Sep , Jan Weitzel wrote: > Am Mittwoch, den 05.09.2012, 12:34 +0200 schrieb Jean-Christophe > PLAGNIOL-VILLARD: > > On 10:22 Wed 05 Sep , Jan Weitzel wrote: > > > Add functions to read the barebox_arm_head, check barebox magicword > > > and read out the barebox image size. >

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Jan Weitzel
Am Mittwoch, den 05.09.2012, 13:15 +0200 schrieb Sascha Hauer: > On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > > > >What gcc version do you have? > > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Maybe you could try a

Re: Suspected ##SPAM## -:Re: [PATCH v4] xload: get barebox size from barebox_arm_head

2012-09-05 Thread Jan Weitzel
Am Mittwoch, den 05.09.2012, 12:34 +0200 schrieb Jean-Christophe PLAGNIOL-VILLARD: > On 10:22 Wed 05 Sep , Jan Weitzel wrote: > > Add functions to read the barebox_arm_head, check barebox magicword > > and read out the barebox image size. > > Create a inital partion of 1Mb to access the barebox

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Anand Gadiyar
On Wed, Sep 5, 2012 at 4:31 PM, Norbert Roos wrote: > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > What gcc version do you have? >> > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Is there something which i could quickly check in the MLO, a checksum for > example? Only if you know som

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Sascha Hauer
On Wed, Sep 05, 2012 at 01:01:54PM +0200, Norbert Roos wrote: > On 09/05/2012 12:53 PM, Sascha Hauer wrote: > > >What gcc version do you have? > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Maybe you could try an older toolchain. There are some dark memories in my mind, but it could also b

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Norbert Roos
On 09/05/2012 12:53 PM, Sascha Hauer wrote: What gcc version do you have? gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Is there something which i could quickly check in the MLO, a checksum for example? Only if you know something, otherwise i can look it up in the OMAP manual, what he is

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Sascha Hauer
On Wed, Sep 05, 2012 at 12:00:56PM +0200, Norbert Roos wrote: > On 09/05/2012 11:41 AM, Jan Weitzel wrote: > > >I just test it here it works. > > Did another test - still doesn't work: > > tar xfj barebox-2012.08.0.tar.bz2 > cd barebox-2012.08.0 > export ARCH=arm > export CROSS_COMPILE=arm-linux

Re: [PATCH v4] xload: get barebox size from barebox_arm_head

2012-09-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:22 Wed 05 Sep , Jan Weitzel wrote: > Add functions to read the barebox_arm_head, check barebox magicword > and read out the barebox image size. > Create a inital partion of 1Mb to access the barebox image on nand. > > Signed-off-by: Jan Weitzel > --- > v2: remove fall back if header rea

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Norbert Roos
On 09/05/2012 11:41 AM, Jan Weitzel wrote: I just test it here it works. Did another test - still doesn't work: tar xfj barebox-2012.08.0.tar.bz2 cd barebox-2012.08.0 export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabi- make pcm049_xload_defconfig make cp MLO barebox.bin Did you use pcm

Re: [PATCH v4 0/2] Add stmpe mfd

2012-09-05 Thread Sascha Hauer
On Wed, Sep 05, 2012 at 10:23:51AM +0200, Steffen Trumtrar wrote: > Hi, > > another day, another patch version. This version includes the following > requests by > Sascha and Marc (Thanks again): > - remove all the iomem stuff in add_generic_device in stmpe-i2c.c > - allocate stmpe_cl

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Jan Weitzel
Am Mittwoch, den 05.09.2012, 11:25 +0200 schrieb Norbert Roos: > On 09/05/2012 08:12 AM, Jan Weitzel wrote: > > >> I just wanted to try the freshly generated MLO and barebox.bin on my > >> Phytec PCM049 board (OMAP4 based). Copied both files to the FAT > >> partition on the SD card. > >> > >> Unfo

Re: [PATCH 09/10] omap3: allow enabling clocks for UART3, MMC1 and SPI

2012-09-05 Thread Jan Lübbe
On Tue, 2012-09-04 at 10:48 +0200, Sascha Hauer wrote: > On Mon, Sep 03, 2012 at 01:46:04PM +0200, Jan Luebbe wrote: > > Signed-off-by: Jan Luebbe > > --- > > arch/arm/mach-omap/Kconfig |4 > > arch/arm/mach-omap/omap3_clock.c | 35 +-- > > 2 files

Re: MLO doesn't work, rest is ok

2012-09-05 Thread Norbert Roos
On 09/05/2012 08:12 AM, Jan Weitzel wrote: I just wanted to try the freshly generated MLO and barebox.bin on my Phytec PCM049 board (OMAP4 based). Copied both files to the FAT partition on the SD card. Unfortunately it doesn't boot, after trying to boot from SD card the ROM boot loader oviously

Re: [PATCH 10/10] drivers/spi: add driver for the Multichannel SPI controller found in TI SoCs

2012-09-05 Thread Jan Lübbe
Hi, On Tue, 2012-09-04 at 10:58 +0200, Sascha Hauer wrote: > > + for (i = 0; i < len; i++) { > > + /* wait till TX register is empty (TXS == 1) */ > > + while > (!(readl(®s->channel[spi->chip_select].chstat) & > > + OMAP3_MCSPI_CHSTAT_TXS)) { > > +

[PATCH v4 1/2] mfd: add stmpe-i2c driver

2012-09-05 Thread Steffen Trumtrar
The stmpe mfds can be connected via i2c and spi. This driver provides the basic infrastructure for the i2c kind. It can be added as a normal i2c-device in the board code. To enable functions a platform_data struct has to be provided, that describes what parts of the chip are to be used. Signed-off

[PATCH v4 2/2] gpio: add driver for stmpe io-expander

2012-09-05 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar --- drivers/Kconfig |1 + drivers/gpio/Kconfig |9 +++ drivers/gpio/Makefile |2 + drivers/gpio/gpio-stmpe.c | 161 + 4 files changed, 173 insertions(+) create mode 100644 drivers/gpio/Kco

[PATCH v4 0/2] Add stmpe mfd

2012-09-05 Thread Steffen Trumtrar
Hi, another day, another patch version. This version includes the following requests by Sascha and Marc (Thanks again): - remove all the iomem stuff in add_generic_device in stmpe-i2c.c - allocate stmpe_client_info for every device, not just one - remove unused struct fiel

[PATCH v4] xload: get barebox size from barebox_arm_head

2012-09-05 Thread Jan Weitzel
Add functions to read the barebox_arm_head, check barebox magicword and read out the barebox image size. Create a inital partion of 1Mb to access the barebox image on nand. Signed-off-by: Jan Weitzel --- v2: remove fall back if header read fail v3: fix header check, rebase master v4: factorize