public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [patch] tools/bmp_logo.c using incorrect offset to pixel data
@ 2005-02-01  0:58 Andrew Dyer
  2005-09-25 13:40 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Dyer @ 2005-02-01  0:58 UTC (permalink / raw)
  To: u-boot

The attached patch makes bmp_logo.c use the header information about
the start of pixel data  in the bmp file instead of trying to find the
start itself.  If someone wants a test case bmp file that will 
produce incorrect output with the current code e-mail me and I can
send it along.  The bug was seen with the tool compiled/running under
redhat 7.3 on x86 arch.  The visual indication was that the bitmap was
shifted to the right with a section of garbage displayed in the lower
left corner.  The source bmp displays fine with Win2000.

I would suggest it's worth noting in the somewhere in docs that
include/bmp_logo.h is overwritten by the default build environment
(with the Denx logo :-( ).  I added a line like this to my board
config.mk file to override this behavior.

#logo bitmap
LOGO_BMP = ../board/eldorado/rht_small_logo.bmp


-- 
Hardware, n.:
        The parts of a computer system that can be kicked.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uboot-bmp_logo-patch.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050131/73d71123/attachment.txt 

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

* [U-Boot-Users] [patch] tools/bmp_logo.c using incorrect offset to pixel data
  2005-02-01  0:58 [U-Boot-Users] [patch] tools/bmp_logo.c using incorrect offset to pixel data Andrew Dyer
@ 2005-09-25 13:40 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-09-25 13:40 UTC (permalink / raw)
  To: u-boot

In message <c166aa9f05013116587509e637@mail.gmail.com> you wrote:
> 
> The attached patch makes bmp_logo.c use the header information about
> the start of pixel data  in the bmp file instead of trying to find the
> start itself.  If someone wants a test case bmp file that will 
> produce incorrect output with the current code e-mail me and I can
> send it along.  The bug was seen with the tool compiled/running under
> redhat 7.3 on x86 arch.  The visual indication was that the bitmap was
> shifted to the right with a section of garbage displayed in the lower
> left corner.  The source bmp displays fine with Win2000.

Added, thanks. But please provide a CHANGELOG entry  next  time.  And
make sure to use TAB for indentation.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When a man sits with a pretty girl for  an  hour,  it  seems  like  a
minute.  But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity.              -- Albert Einstein

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

end of thread, other threads:[~2005-09-25 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-01  0:58 [U-Boot-Users] [patch] tools/bmp_logo.c using incorrect offset to pixel data Andrew Dyer
2005-09-25 13:40 ` Wolfgang Denk

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