From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Date: Tue, 30 Oct 2007 08:11:34 -0500 Subject: [U-Boot-Users] Big Files? In-Reply-To: <20071029220231.317B12476F@gemini.denx.de> References: <20071029220231.317B12476F@gemini.denx.de> Message-ID: <47272D86.9020304@freescale.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 Denk wrote: > Dear Jon, > > 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? 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, > Submit the code as regular patch and the bit map file as part 2, > gzipped. Sounds good! Thanks, jdl