From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Zedeck Date: Thu, 21 May 2009 05:27:58 -0700 (PDT) Subject: [U-Boot] Uboot bitmap utility In-Reply-To: <23265072.post@talk.nabble.com> References: <23217619.post@talk.nabble.com> <23217700.post@talk.nabble.com> <20090424180341.8275E83420E8@gemini.denx.de> <23265072.post@talk.nabble.com> Message-ID: <23652400.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang, I resolved my issue. I am now able to write bitmaps to the framebuffer. Thanks, Steve ----- Steven Zedeck wrote: > > Wolfgang, > Yes, I do see what U-boot is doing. I looked at bmp_logo.c and its output. > It seems that the color palette entries are all 16 bits (unsigned short). > For my application, I have 24 bit color, which expects each pixel to be 32 > bits, of which only 24 bits are used. So the palette, I assume, should be > unsigned longs for each color entry. Correct or am I missing something? > > Did I interpret the code correctly? Does it expect 16 bits per color? > Thanks, > Steve > ----- > > wd wrote: >> >> Dear Steven Zedeck, >> >> In message <23217700.post@talk.nabble.com> you wrote: >>> >>> I'm referring to the palatte and bitmap structs. >>> thanks again, >> >> Are you talking about the logo support? Noite that this is different >> from plain bitmap support. >> >>> > It seems that UBoot needs two data structures to display a bitmap in >>> the >>> > framebuffer. Is there a utility that converts a Windows bitmap (BMP?) >>> file >>> > and creates the 2 data structures that I can embedd in my code? >> >> Did you have a look at what U-Boot is doing? For example, how it uses >> the tools in the (he!) tools/ directory, for example tools/bmp_logo ? >> >> 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 >> HR Manager to job candidate "I see you've had no computer training. >> Although that qualifies you for upper management, it means you're >> under-qualified for our entry level positions." >> _______________________________________________ >> U-Boot mailing list >> U-Boot at lists.denx.de >> http://lists.denx.de/mailman/listinfo/u-boot >> >> > > -- View this message in context: http://www.nabble.com/Uboot-bitmap-utility-tp23217619p23652400.html Sent from the Uboot - Users mailing list archive at Nabble.com.