Re: [U-Boot] Splash screen problem

Dear =?iso-8859-2?Q?Radovan=20V=E1pen=EDk?=,
please make sure to keep the mailing list on Cc:
In message 56290.4066.1012-16596-130053893-1272541277@seznam.cz you wrote:
Yes, it is bad address :-) Settings of splashimage: splashimage=nand read 25000000 C0000 20000
Well, this cannot work.
As documented, "splashimage" is supposed to hold the address where the image is stored in memory.
The enviroment variable "splashimage" runs the command to read from NAND, but i don't know how to tell (return) to splashimage the address of bitmap after reading from NAND.
The command above reads the image to address 25000000 in RAM, so you should define
=> setenv splashimage 25000000
Of course the reading from NAND must be done somewhere else, for example as part of a "preboot" command.
Best regards,
Wolfgang Denk

The environment variable preboot runs after splashimage, which other env variablecan I use, which runs before splashimage?
Best regards Radovan Vapenik
------------ Původní zpráva ------------ Od: Wolfgang Denk wd@denx.de Předmět: Re: Re: [U-Boot] Splash screen problem Datum: 29.4.2010 13:54:16
Dear =?iso-8859-2?Q?Radovan=20V=E1pen=EDk?=,
please make sure to keep the mailing list on Cc:
In message 56290.4066.1012-16596-130053893-1272541277@seznam.cz you wrote:
Yes, it is bad address :-) Settings of splashimage: splashimage=nand read 25000000 C0000 20000
Well, this cannot work.
As documented, "splashimage" is supposed to hold the address where the image is stored in memory.
The enviroment variable "splashimage" runs the command to read from NAND, but i don't know how to tell (return) to splashimage the address of bitmap after reading from NAND.
The command above reads the image to address 25000000 in RAM, so you should define
=> setenv splashimage 25000000
Of course the reading from NAND must be done somewhere else, for example as part of a "preboot" command.
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@denx.de "The bad reputation UNIX has gotten is totally undeserved, laid on by people who don't understand, who have not gotten in there and tried anything." -- Jim Joyce, owner of Jim Joyce's UNIX Bookstore

Dear =?iso-8859-2?Q?Radovan=20V=E1pen=EDk?=,
In message 56295.4069.1007-22739-950867926-1272543145@seznam.cz you wrote:
The environment variable preboot runs after splashimage, which other env variablecan I use, which runs before splashimage?
You cannot. But you can fake the actions by using "nand read" and "bmp" as preboot command. Not perfect, but close.
Best regards,
Wolfgang Denk

Ok, i solved it witch preboot envinment variable. Thansk for advice.
Best Regards Radovan Vapenik
------------ Původní zpráva ------------ Od: Wolfgang Denk wd@denx.de Předmět: Re: Re: Re: [U-Boot] Splash screen problem Datum: 29.4.2010 22:57:31
Dear =?iso-8859-2?Q?Radovan=20V=E1pen=EDk?=,
In message 56295.4069.1007-22739-950867926-1272543145@seznam.cz you wrote:
The environment variable preboot runs after splashimage, which other env variablecan I use, which runs before splashimage?
You cannot. But you can fake the actions by using "nand read" and "bmp" as preboot command. Not perfect, but close.
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@denx.de People are always a lot more complicated than you think. It's very important to remember that. - Terry Pratchett, _Truckers_
participants (2)
-
Radovan Vápeník
-
Wolfgang Denk