Re: [U-Boot] Splash screen problem
Ok, i solved it witch preboot envinment variable. Thansk for advice. Best Regards Radovan Vapenik > Původní zpráva > Od: Wolfgang Denk > 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-1272543...@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: w...@denx.de > People are always a lot more complicated than you think. It's very > important to remember that. - Terry Pratchett, _Truckers_ > > > ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Splash screen problem
Dear =?iso-8859-2?Q?Radovan=20V=E1pen=EDk?=, In message <56295.4069.1007-22739-950867926-1272543...@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: w...@denx.de People are always a lot more complicated than you think. It's very important to remember that. - Terry Pratchett, _Truckers_ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Splash screen problem
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 > 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-1272541...@seznam.cz> you wrote: > > Yes, it is bad address :-) > > Settings of splashimage: > > splashimage=nand read 2500 C 2 > > 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 2500 in RAM, so you > should define > > => setenv splashimage 2500 > > 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: w...@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 > > > ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
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-1272541...@seznam.cz> you wrote: > Yes, it is bad address :-) > Settings of splashimage: > splashimage=nand read 2500 C 2 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 2500 in RAM, so you should define => setenv splashimage 2500 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: w...@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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Splash screen problem
Dear =?iso-8859-2?Q?Radovan=20V=E1pen=EDk?=, In message <56283.4061.1017-16955-880731597-1272534...@seznam.cz> you wrote: > Hello, > i am new in uboot. I have already configured and compiled uboot (i am using > version 2009.11), but i have problem with splash image. I am using > AT91SAM9263 processor witch connected NAND flash and some RAM. I can save > image to nand or read it back withou > t problems, but i can't load image and show it to display. When I use and > save "setenv splashimage 'nand read 2500 C 2'", during next boot > shows me warning "Error: no valid bmp image at 0". How to solve this problem. > Thanks for advice. "0" is obviously a bad address for this purpose - what exactly is your setting of the "splashimage" environment variable? 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: w...@denx.de A stone was placed at a ford in a river with the inscription: "When this stone is covered it is dangerous to ford here." ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] Splash screen problem
Hello, i am new in uboot. I have already configured and compiled uboot (i am using version 2009.11), but i have problem with splash image. I am using AT91SAM9263 processor witch connected NAND flash and some RAM. I can save image to nand or read it back without problems, but i can't load image and show it to display. When I use and save "setenv splashimage 'nand read 2500 C 2'", during next boot shows me warning "Error: no valid bmp image at 0". How to solve this problem. Thanks for advice. Radovan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot