[U-Boot-Users] Creating a valid bmp file

Roger Williamson Williamson.Roger at orbital.com
Mon Nov 5 22:40:24 CET 2007


Hello again Detlev,

      A small question before I get to the rest of my response: how much
has the bmp handling changed over the past 2 years?

Detlev Zundel <dzu at denx.de> wrote on 10/25/2007 07:38:13 PM:

> Hi Roger,
>
> > Currently I'm attempting to make my u-boot display a splash screen.
> > Currently, the display dirver is being uncooperative, so I decided to
focus
> > my attention on creating a bitmap image that will be considered
acceptable
> > to the u-boot system.
> >
> > I've read through the brief descriptions about the bmp command and
> > transfering data into the flash, but I'm having some issue getting
u-boot
> > to recognize my bitmaps.  All I'm getting out of the system is that
"There
> > is no valid bmp file at the given address."  I know that the address I
give
> > is the address of the bitmap in flash, and I am able to transfer new
> > bitmaps over to the flash, I am just perplexed on how to create a
suitable
> > bitmap image.  What am I missing.
>
> I cannot say what you are missing, but you probably can check for
> yourself.  The first check the bitmap code does is to see whether it
> can find 'B' and 'M' as the first two bytes of the image.  That's the
> magic number for bmp files[1].

      All of the files I've tried do have the tel-tale "BM" as the first
two characters, I'm glad that I'm not totally off with respect to the files
that I've tried to load.

>
> Given the error message you get, you probably do not use the "Windows
> Bitmap (BMP)" file format.  Also be aware that currently only 1 or 8
> bit per pixel formats are supported.

      Hmm... Do you or any of the U-booters know any programs for Windows,
or that'll run under cygwin that will produce OS independed bitmaps?

>
> Cheers
>   Detlev
>
> [1] http://en.wikipedia.org/wiki/Windows_bitmap
>


You've been quite helpful so far.

Thank you,
Roger.


NOTE: just disregard the legalese attached to this message, if you are
reading this... odds are you should be reading this.


-----------------------------------------
Notice:  This e-mail is intended solely for use of the individual
or entity to which it is addressed and may contain information that
is proprietary, privileged and exempt from disclosure under
applicable law.  If the reader is not the intended recipient or
agent responsible for delivering the message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly
prohibited.  This communication may also contain data subject to
U.S. export laws.  If so, that data subject to the International
Traffic in Arms Regulation cannot be disseminated, distributed or
copied to foreign nationals, residing in the U.S. or abroad, absent
the express prior approval of the U.S. Department of State.   If
you have received this communication in error, please notify the
sender by reply e-mail and destroy the e-mail message and any
physical copies made of the communication.  Thank you.




More information about the U-Boot mailing list