[U-Boot-Users] SMC driver problem

Robert Kaiser rob at sysgo.de
Tue Apr 1 10:07:17 CEST 2003


Am Montag, 31. März 2003 19:44 schrieb Robert Schwebel:
> I've just tried to track down the SMSC driver problem which was recently
> reported on this list. After the MMU allocates a block for a sent packet
> in smc_send_packet() there is a FIXME comment in the sourcecode:
>
> - when I add puts("x"); after this comment it works.
> - when I remove it it hangs.
> - when I add the content of the putx() function (the register
>   operations) to the same location it hangs.
> - when I add a function containing the register operation and call this
>   function after the comment it hangs.
> - when I add a function which calls the function from the last step it
>   works - this is the same constellation as with the puts() call.
>
> All this looks like some kind of a memory management or stack problem
> for me;..

Either that or timing.

Could you try to replace the puts("x") with a sufficiently long delay ?

Rob


----------------------------------------------------------------
Robert Kaiser                         email: rkaiser at sysgo.de
SYSGO AG
Am Pfaffenstein 14                    phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany   fax:   (49) 6136 9948-10




More information about the U-Boot mailing list