[U-Boot-Users] u-boot hanging

Wolfgang Denk wd at denx.de
Fri Nov 17 22:12:40 CET 2006


In message <8bf247760611170016n2bc309dbhf0d44e10c03d2e01 at mail.gmail.com> you wrote:
>
>  I had posted a query regarding hanging of u-boot when a return is made from
> a standalone application.

Did you really follow the required steps? See the documentation!

>  Do we need to do something "Special" before returning back?.

Yes, you must initialize your app.

>  All im doing is
> 
>   while (!tstc())
>                 ;
>   ch = getc ( );
>   printf ("Returning\n") ;
> 
>   return (0) ;

I don't see any call to app_startup(), nor do I see any checking of
get_version() results...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A Freudian slip is when you say one thing but mean your mother.




More information about the U-Boot mailing list