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

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.

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

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

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

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

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

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
participants (5)
-
Clemens Koller
-
Detlev Zundel
-
Jerry Van Baren
-
Roger Williamson
-
Wolfgang Denk