[U-Boot] BMP display.

Tuma chernigovskiy at spb.gs.ru
Mon Aug 3 15:03:28 CEST 2009


Hello, all!
Detlev, thank for oyur reply.
So I don't need environment file parser any more.

But now I have new question - how can I display a Bitmap picture on the 
board's LCD? I know there is the "bmp" command, but how should I configure 
and build U-Boot to have this command in prompt? My board is OMAP3EVM.

Thank you.


On Thursday 30 July 2009 19:29:27 you wrote:
> Hi Tuma,
>
> > Hello All!
>
> Hiya.
>
> > I develop some "upgrade" tool based on the U-Boot booted from SD card.
> > I want to boot from SD card, and execute some simple script which is
> > stored in bootcmd environment variable:
> > "echo Hello! ; mmcinit ; sleep 10 ; reset; " etc...
> > So I need to generate some environment file.
>
> Sorry, but I do not understand why you need to generate an environment
> image if you only eant to run some scripts.  Can we please step back
> again and talk about what you want to achieve?  Pretty likely there is a
> different and cleaner solution to your problem.
>
> > I find source from tools/env very
> > useful (I try to get variables from correct file I already have), but I
> > can't find any description of environment file (or flash partition) at
> > all (which I need to write tool for generating environment file).
> > Can someone explain me the structure of the file, please.
> > Something like:
> > 0-4 - CRC
>
> Well the problem is that environment can be in a different format,
> depending on configuration options.  If for example you enable redundand
> environments, you will have another byte after the crc signalling which
> of the two copies is the active one.
>
> > 5-... - (Environment)\0(Environment)\0...
> > ... Environment End Mark...
> > and so on.
> >
> > Or tell me in what file should I see from U-Boot source.
>
> A good start would be to read /include/environment.h - but only after
> you are really sure that you want to generate an environment after all
>
> :)
> :
> > And is there any difference between content of OneNAND flash
> > environment-partition and file on SD card?
>
> I can parse the sentence syntactically, but I have no clue what you are
> asking here...
>
> Cheers
>   Detlev



-- 
Software Developer
General Satellite Corp.


More information about the U-Boot mailing list