Hi Remy, I experience unaligned exceptions when using the USB stack in u-boot on SPARC/LEON. I believe that there are many places in the code that must be updated since many structures are declared with the GCC attribute PACKED and still use 16-bit or 32-bit fields. However, I have so far only needed to patch one C-line to make it work. I'm not sure why the packed attribute is used in so many structures, I guess it is bacause of the layout of the USB information headers read from USB devices.
Please see commit 5b6bc53e4c3eadd04f2ecb94bbb596dca306236a in u-boot sparc repoistory, usb branch: http://git.denx.de/?p=u-boot/u-boot-sparc.git;a=commit;h=5b6bc53e4c3eadd04f2ecb94bbb596dca306236a What do you think? Best Regards, Daniel Hellstrom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot