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
Hi, all!
I have made some barebox ascii art based on design by Valery VILLARD.
Use monospace font to see it.
## ##
## ##
## ##
## ###### ## ## ### ####
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/
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
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
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
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
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
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
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 +
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
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
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
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
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
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
> >
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
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
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
>
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 ++
>
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
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
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
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
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 ++
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
---
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
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
__
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)
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
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;
> }
>
> -
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
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
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:/
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
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
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 |
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
-
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 +-
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
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
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.
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
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
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
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.
>
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
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
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
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
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
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
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
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
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
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
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
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
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)) {
> > +
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
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
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
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
63 matches
Mail list logo