2008-02-07 15:08:22 USB mass storage device problems w/SL811 on BF561 custom board
Bill Fassler (UNITED STATES)
Message: 50835 I seem to have USB and HID working, although keyboard hasn't been tested beyond using event_test because I haven't enabled console on the frame buffer support yet.
However, I continue to have problems with USB flashsticks.
I have this working fine on the BF537-STAMP and BF537-EZKIT using R2007R1.1RC3 and the SL811 on the USB_ADD_ON daughter board.
I am now using custom hardware and an svn trunk checkout that is at least a couple months old. I.E.
kernel: Linux release 2.6.22.14-ADI-2007R2-pre-svn3937, build #390 Thu Feb 7
14:12:51 EST 2008
toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release svn-5700, build #92 Thu Feb 7 14:11:18 EST 2008
There are slight differences in menuconfig in some of the key areas between the release and my trunk src, however I am fairly confident I have the appropriate things selected. I compared the two config files and tried a few permutations of different settings with the same results and that is I get a stack dump just as the SCSI emulation kicks off:
I thought I could safely say that my hardware and USB driver were OK since I had HID devices working, but perhaps that is not the case. Any ideas as to why I am crashing and burnin' during the SCSI emulation. Could there possibly be any kernel issues surrounding SCSI in my particular check out?
Bill
QuoteReplyEditDelete
2008-02-07 16:18:53 Re: USB mass storage device problems w/SL811 on BF561 custom board
Michael Hennerich (GERMANY)
Message: 50837
This sounds like a bug I recently fixed.
The responsible fix is tracked here: http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&path=/&view=rev&root=linux-kernel&revision=4175
Tomorrow - I will check a similar fix into 2007R1 branch as well ...
Best regards, Michael
QuoteReplyEditDelete
2008-02-08 09:24:52 Re: USB mass storage device problems w/SL811 on BF561 custom board
Michael Hennerich (GERMANY)
Message: 50854 Should be fixed now.
Please update your 2007R1 svn branch.
-Michael
QuoteReplyEditDelete
2008-02-08 11:28:08 Re: USB mass storage device problems w/SL811 on BF561 custom board
Bill Fassler (UNITED STATES)
Message: 50858 Thanks Michael!
That did the trick. Luckily this fix appears to be limited to one file, setup.c which I was easily able to integrate into our trunk svn snapshot that is a few months old and all is well on that project now also.
Bill