[U-Boot-Users] unexpected behaviour !!!

Peter Menzebach pm-ub at mw-itcon.de
Tue Jan 31 13:05:42 CET 2006


Maximus wrote:
...
> void myrecieve_handler (uchar * pkt, unsigned dest, unsigned src, unsigned len)
> {
...
> 
> As, soon as seqnum = * (int *) pkt - is executed my board prints the message:
> 

One idea without further investigation....

if the pointer pkt is *not* on an 4 byte aligned address, you will get 
an alignment trap on arm.

Best regards
Peter




More information about the U-Boot mailing list