[U-Boot-Users] i had some problem in uboot1.1.1

Wolfgang Denk wd at denx.de
Tue Nov 1 17:16:43 CET 2005


In message <8ff569fd0511010627x1a82d946k at mail.gmail.com> you wrote:
>
> i was a freshman in developing sbc8260 board.
>   i got a led_light program for testing boot ,and set some register right in
> cpu_init_f. Why the uboot could not boot successed?
> another questions:what purpose about env_init?
>  Thanks!
>  static int led_light(void)
>  {
> int i,j;
> char *k=0x21000000;

What do you think is at physical address 0x21000000 ?

And why do you think the compiler will not optimize away your delay
loops?

And why do you post code which is corrupted and unreadable?

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
If you want strict real-time behavior, run in the real  time  schedu-
ling class.  But there are no seatbelts or airbags;  main(){for(;;);}
can hard hang your system.                          -- Bart Smaalders




More information about the U-Boot mailing list