[U-Boot-Users] strange problem on lib_mips/board.c

Wolfgang Denk wd at denx.de
Fri Nov 11 15:33:20 CET 2005


In message <50c9a2250511110328u4776d4cnfc369cc5c374d8f9 at mail.gmail.com> you wrote:
> i am porting u-boot on our board, and in function board_init_f of board.c
> i remove the line
>  	__asm__ __volatile__("": : :"memory");
> and change the
> init_fnc_t *init_sequence[] = {
...
> and it will output string on uart and it can finish the init_fnc_t
> *init_sequence[]  correctly,
> but if i do not remove the "__asm__.." line or not change the
> init_sequence, it will get nothing output on uart.
> 
> can someone give some possible reason for this situation?

Your toolchain might be broken.

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
The price one pays for pursuing any profession,  or  calling,  is  an
intimate knowledge of its ugly side.                  - James Baldwin




More information about the U-Boot mailing list