[U-Boot-Users] a problem when run u-boot on mips 4kec
zhuzhenhua
zzh.hust at gmail.com
Thu Nov 10 07:06:23 CET 2005
i am porting u-boot on our soc(mips 4KEC core),and the u-boot run into
the function board_init_f() and get some problem..
just for debug, i move the env_init after serial_init, so the init sequence in
board_init_f() will be timer_init,serial_init,env_init,...
and if i get rid of t he two line " __asm__ __volatile__("": : :"memory");
memset ((void *)gd, 0, sizeof (gd_t));",
the serial_init() run correctly, and puts the string on UART,but if i
recove these two lines, if will get nothing on UART.
i use the eldk as cross-compile, set CROSS_COMPILE = mips_4KCle-
can someone give me some hints?
thanks!
More information about the U-Boot
mailing list