Skip to contentSkip to conversation

Big Files?

U-Boot-Users Jon Loeliger 2 participants 3 messages Oct 29, 2007 – Oct 30, 2007

lore
Share & tools
lore
#0 lore raw

Wolfgang,

I have a display driver that I would like to add to the 8610HPCD board port. The driver itself is pretty small (about 30K of source), but there is a logo bitmap file that can be used to display on the display as well. That file alone is about 160K even though it is a smallish bitmap (340 x 128 x 4bpp).

How would you like to handle this situation?

I could post the basic driver, code, of course. Should I do that, and throw it all into the -mpc86xx custodian tree along with the bitmap file? Or would you prefer to see a URL to some HTTP: site with it? Or an encoded gzip file on list?

Thanks,
jdl

#1 lore raw

Dear Jon,

Quoted 7 lines · in message <1193692082.1462.28.camel@ld0161-tx32> you wrote:

I have a display driver that I would like to add to the 8610HPCD board port. The driver itself is pretty small (about 30K of source), but there is a logo bitmap file that can be used to display on the display as well. That file alone is about 160K even though it is a smallish bitmap (340 x 128 x 4bpp).

340x128x4 = 174,080 bit = 21,760 byte = 21.25 KiB. Where is the other 138 KiB of data coming from?

Quoted 1 line

How would you like to handle this situation?

Like any other patch...

[I have to admit that I am not really happy to have such big image data in the public repo, but I probably have to keep my mouth shut because I did not notice when Stefan Roese sneaked in much bigger bitmap file :-( ]

Quoted 5 lines

I could post the basic driver, code, of course. Should I do that, and throw it all into the -mpc86xx custodian tree along with the bitmap file? Or would you prefer to see a URL to some HTTP: site with it? Or an encoded gzip file on list?

Submit the code as regular patch and the bit map file as part 2, gzipped.

Best regards,

Wolfgang Denk

Signature · 6 lines
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
Far back in the mists of ancient time, in the great and glorious days
of the former Galactic Empire, life was wild, rich  and  largely  tax
free.         - Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
#2 lore raw
Quoted 10 lines · Wolfgang Denk

Dear Jon,

Quoted 6 lines · in message <1193692082.1462.28.camel@ld0161-tx32> you wrote:

I have a display driver that I would like to add to the 8610HPCD board port. The driver itself is pretty small (about 30K of source), but there is a logo bitmap file that can be used to display on the display as well. That file alone is about 160K even though it is a smallish bitmap (340 x 128 x 4bpp).

Quoted 2 lines

340x128x4 = 174,080 bit = 21,760 byte = 21.25 KiB. Where is the other 138 KiB of data coming from?

unsigned int FSL_Logo_BMP[] = {
0x424d765c, 0x00000000,0x00007600,0x00002800,0x00006c01,0x00008000,0x00000100,0x04000000, 0x0000005c,0x0000130b,0x0000130b,0x00001000,0x00000000,0x00000402,0x04000d91, 0xbc000b51,0x67001536,0x9a000f2a,0x4b005050,0x50009090,0x90000c70,0x92002e2f,

Quoted 2 lines

Submit the code as regular patch and the bit map file as part 2, gzipped.

Sounds good!

Thanks,
jdl