[U-Boot] USB mass storage gadget patch

victor
2012-11-06T06:46:25Z

Hi,

>On further research into this, when receiving the SCSI_MODE_SELECT_6
command, in bulk_out_complete(), the bh pointer is 0x1b872e4
>
>====== debug statement from console ======
>0x43425355 0x507bc10 0x18 0x15060000 0x18000010 0x0 0x0 bulk_out_complete
0x1b872e4
>
>Then, in get_next_command(), before calling start_transfer(), the bh
pointer becomes 0x1b87304.
>
>This changes in bh pointer can cause data not to be processed by the usb
mass storage gadget code.

Is there any feedback on the buffer management problem in the U-boot usb
mass storage gadget patch? Thanks.