public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Creating a valid bmp file
@ 2007-10-25 21:19 Roger Williamson
  2007-10-25 23:38 ` Detlev Zundel
  0 siblings, 1 reply; 7+ messages in thread
From: Roger Williamson @ 2007-10-25 21:19 UTC (permalink / raw)
  To: u-boot


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.


Thank you,
Roger Williamson
Orbital TMS -- Colombia
CE Software Engineer
(443) 259-7320

Note:  the disclaimer at the bottom is something that our outbound mail
server attaches to our emails.
The intended audience of this e-mail is the public domain, therefore if you
are reading this message
you are one of the intended recipients.  (don't you love inane legal
dribble?)


-----------------------------------------
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Creating a valid bmp file
  2007-10-25 21:19 [U-Boot-Users] Creating a valid bmp file Roger Williamson
@ 2007-10-25 23:38 ` Detlev Zundel
  2007-11-05 21:40   ` Roger Williamson
  0 siblings, 1 reply; 7+ messages in thread
From: Detlev Zundel @ 2007-10-25 23:38 UTC (permalink / raw)
  To: u-boot

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].  

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.

Cheers
  Detlev

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

-- 
I've been examining the existing [linux]  kernel configuration system, and I
have about concluded that the best favor we could do everybody involved with
it is to take it out behind the barn and shoot it through the head.
                           -- Eric S. Raymond on linux-kbuild Mar 2000
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Creating a valid bmp file
  2007-10-25 23:38 ` Detlev Zundel
@ 2007-11-05 21:40   ` Roger Williamson
  2007-11-05 22:15     ` Jerry Van Baren
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Roger Williamson @ 2007-11-05 21:40 UTC (permalink / raw)
  To: u-boot

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@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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Creating a valid bmp file
  2007-11-05 21:40   ` Roger Williamson
@ 2007-11-05 22:15     ` Jerry Van Baren
  2007-11-06  6:37     ` Wolfgang Denk
  2007-11-06 12:08     ` Clemens Koller
  2 siblings, 0 replies; 7+ messages in thread
From: Jerry Van Baren @ 2007-11-05 22:15 UTC (permalink / raw)
  To: u-boot

Roger Williamson wrote:
> 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@denx.de> wrote on 10/25/2007 07:38:13 PM:
> 
>> Hi Roger,

[snip]

>> 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?

You mean like Microsoft Paint?  See Detlev's hint (above) about saving 
in 1 bit per pixel (monochrome) or 8 bits per pixel (256 color) formats.

>> 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.

In the Hitchhiker's Guide to the Galaxy says that, when the revolution 
comes, the lawyer wannabes that write email disclaimer drivel will be 
the first to be lined up against the wall...

gvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Creating a valid bmp file
  2007-11-05 21:40   ` Roger Williamson
  2007-11-05 22:15     ` Jerry Van Baren
@ 2007-11-06  6:37     ` Wolfgang Denk
  2007-11-06 12:37       ` Jerry Van Baren
  2007-11-06 12:08     ` Clemens Koller
  2 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2007-11-06  6:37 UTC (permalink / raw)
  To: u-boot

In message <OF870B63B5.7D50724B-ON8525738A.00768F45-8525738A.00770EE3@orbital.com> you wrote:
> 
> NOTE: just disregard the legalese attached to this message, if you are
> reading this... odds are you should be reading this.

No, we cannot ignore this. By posting such a  message  to  a  mailing
list  which gets internationally distributed without restrictions you
are violating your own company's regulations, and we are supposed  to
report you for that to your managemen.

Please turn this off. If necessary, use a different mail account  for
posting to mailing lists.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
READ THIS BEFORE OPENING PACKAGE: According to Certain Suggested Ver-
sions of the Grand Unified Theory, the Primary Particles Constituting
this Product May Decay to Nothingness Within the  Next  Four  Hundred
Million Years.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Creating a valid bmp file
  2007-11-05 21:40   ` Roger Williamson
  2007-11-05 22:15     ` Jerry Van Baren
  2007-11-06  6:37     ` Wolfgang Denk
@ 2007-11-06 12:08     ` Clemens Koller
  2 siblings, 0 replies; 7+ messages in thread
From: Clemens Koller @ 2007-11-06 12:08 UTC (permalink / raw)
  To: u-boot

Roger Williamson schrieb:

 > 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?

I don't really use bitmaps... But I would also perfer using The Gimp
for that purpose. Yes, that's breaking a fly on the wheel, but there
are some plugins available which dump the image as C code. And there
is also a PSPTex Plugin which I use to create my splash screens:

http://registry.gimp.org/plugin?id=7855

Regards,

Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Stra?e 45/1
Linhof Werksgel?nde
D-81379 M?nchen
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot-Users] Creating a valid bmp file
  2007-11-06  6:37     ` Wolfgang Denk
@ 2007-11-06 12:37       ` Jerry Van Baren
  0 siblings, 0 replies; 7+ messages in thread
From: Jerry Van Baren @ 2007-11-06 12:37 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> In message <OF870B63B5.7D50724B-ON8525738A.00768F45-8525738A.00770EE3@orbital.com> you wrote:
>> NOTE: just disregard the legalese attached to this message, if you are
>> reading this... odds are you should be reading this.
> 
> No, we cannot ignore this. By posting such a  message  to  a  mailing
> list  which gets internationally distributed without restrictions you
> are violating your own company's regulations, and we are supposed  to
> report you for that to your managemen.
> 
> Please turn this off. If necessary, use a different mail account  for
> posting to mailing lists.
> 
> Best regards,
> Wolfgang Denk

Dear Wolfgang,

While I agree with you in principle and believe that those disclaimers 
are a bunch of worthless drivel (and I cannot see how they possibly 
could be useful from a legal standpoint), I have to empathize with Roger.

In big companies those disclaimers are auto-attached to all email 
(!!!inside!!! as well as outside).  Not only that, but many companies 
(my own included) block access to all of the common "free" email 
services (gmail, yahoo, juno, etc.).  The only alternative is to not 
subscribe to the list at work, which would hurt information flow on the 
u-boot list.

In my case, it is only an oversight by the IT department that this email 
doesn't have a stupid pseudo-legal disclaimer on it - the mail handling 
path I use bypasses the primary corporate Exchange servers.  I would not 
be surprised if this bypass goes away in a matter of months as a side 
effect of our cutover of our IT resources to our new overlords.

By the way, the disclaimer drivel is very likely part of the Microsoft 
conspiracy to allow self-important idiots to control vital company 
resources - I suspect Exchange is involved in most, if not all, of the 
disclaimer attachment crimes.  Note that the people that control these 
disclaimers are the same ones that habitually send 500KB-2.2MB Word 
documents as attachments... said 500KB document containing *one page* of 
actual text.

Best regards,
gvb

P.S. Years ago, when the stupid disclaimers became the rage and one was 
implemented locally, I noticed that IT was smart enough to not put 
second and third disclaimers on email replies (we've since lost even 
that minimal level of intelligence).  I experimented and found that they 
implemented keyword matching to trigger the disclaimer or not.  As a 
result, I was able to put my own cut down version that was about half 
the size of the original (and made twice as much sense ;-). 
Unfortunately, eventually the IT department caught on, probably as a 
result of bounces, and switched to a full match, making my subterfuge 
ineffective. :-/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-06 12:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 21:19 [U-Boot-Users] Creating a valid bmp file Roger Williamson
2007-10-25 23:38 ` Detlev Zundel
2007-11-05 21:40   ` Roger Williamson
2007-11-05 22:15     ` Jerry Van Baren
2007-11-06  6:37     ` Wolfgang Denk
2007-11-06 12:37       ` Jerry Van Baren
2007-11-06 12:08     ` Clemens Koller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox