2011-03-09 15:05:09     linux boot logo (230x230) and easylogo

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2011-03-09 15:05:09     linux boot logo (230x230) and easylogo

Mark Bishop (UNITED STATES)

Message: 98790   

 

I'm doing a little of looking around and I was looking at the header file that defines the boot image (include/asm/bfin_logo_230x230.h).  The corresponding image is (tools/easylogo/linux_blackfin.tga).  Just for grins I compiled easylogo (and by the way, the build script  fails as that it calls the target gcc and not the host gcc) and created a video_logo.h and compared it to bfin_logo230x230.h and I was expecting it to look pretty similar, but there are differences:

 

In the bfin_logo_230x230.h (2322 lines):

 

#define DEF_BFIN_LOGO_WIDTH             230

#define DEF_BFIN_LOGO_HEIGHT            230

#define DEF_BFIN_LOGO_PIXELS            52900

#define DEF_BFIN_LOGO_BPP               24

#define DEF_BFIN_LOGO_PIXEL_SIZE        3

#define DEF_BFIN_LOGO_SIZE              158700

 

In the generated one (6644 lines):

 

#define DEF_BFIN_LOGO_WIDTH             230

#define DEF_BFIN_LOGO_HEIGHT            230

#define DEF_BFIN_LOGO_PIXELS            52900

#define DEF_BFIN_LOGO_BPP               16

#define DEF_BFIN_LOGO_PIXEL_SIZE        2

#define DEF_BFIN_LOGO_SIZE              105800

 

Is this not the image that was used to create that file by using the easylogo utility?  Do I have to convert the .tga in that directory to support the increased pixel size and 24bpp?

QuoteReplyEditDelete

 

 

2011-03-09 15:11:58     Re: linux boot logo (230x230) and easylogo

Mike Frysinger (UNITED STATES)

Message: 98791   

 

you probably didnt specify the correct options.  like -r.

QuoteReplyEditDelete

 

 

2011-03-09 16:02:16     Re: linux boot logo (230x230) and easylogo

Mark Bishop (UNITED STATES)

Message: 98795   

 

I didn't notice that.

 

Now the #defines match but the file size is 9950 lines as opposed to 2377lines in the default file.  I'll get some time to just compile it in and see if it works in the next day, but I have my doubts that it will re-create the boot image.

QuoteReplyEditDelete

 

 

2011-03-09 16:04:09     Re: linux boot logo (230x230) and easylogo

Mike Frysinger (UNITED STATES)

Message: 98796   

 

i guess you didnt use -g

QuoteReplyEditDelete

 

 

2011-03-09 16:43:22     Re: linux boot logo (230x230) and easylogo

Mark Bishop (UNITED STATES)

Message: 98798   

 

Heh, I thought I was, but I was typing too fast (B below G).  *smacks head*

 

 

 

This looks much better.

Attachments

    Outcomes