2009-03-31 08:31:23     USB Mass storage test on BF527

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-03-31 08:31:23     USB Mass storage test on BF527

razia razia (INDIA)

Message: 71877   

 

Hi,

 

Has anyone tested the USB Mass Storage(USB FLash Disk) on the following set up

 

kernel : 2008R1.5

 

Board : ADSP BF527 EzKitLite Silicon Rev 0.2

 

but kernel compiled with silicon revision 0.1

 

 

 

 

 

 

QuoteReplyEditDelete

 

 

2009-03-31 09:49:03     Re: USB Mass storage test on BF527

Robin Getz (UNITED STATES)

Message: 71880   

 

Razia:

 

No - that combination of things is not supported. Use trunk for 0.2 silicon.

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-31 11:29:24     Re: USB Mass storage test on BF527

Appalayagari Sreedhar (INDIA)

Message: 71888   

 

Hi Robin,

 

I am Sreedhar colleague of Razia, we both are working on the same issue.  we downloaded the following distribution from the release   3-Alpha   uclinux-dist-trunk-svn.src.tar.bz2 size 496.68Mb

 

We tried to build the trunk distribution but it gave compilation errors. below are the errors.

 

compr_lzo.c:29:23: error: lzo/lzo1x.h: No such file or directory

compr_lzo.c: In function âjffs2_lzo_cmprâ:

compr_lzo.c:51: error: âlzo_uintâ undeclared (first use in this function)

compr_lzo.c:51: error: (Each undeclared identifier is reported only once

compr_lzo.c:51: error: for each function it appears in.)

compr_lzo.c:51: error: expected â;â before âcompress_sizeâ

compr_lzo.c:54: warning: implicit declaration of function âlzo1x_999_compressâ

compr_lzo.c:54: error: âcompress_sizeâ undeclared (first use in this function)

compr_lzo.c:56: error: âLZO_E_OKâ undeclared (first use in this function)

compr_lzo.c:49: warning: unused parameter âmodelâ

compr_lzo.c: In function âjffs2_lzo_decompressâ:

compr_lzo.c:72: error: âlzo_uintâ undeclared (first use in this function)

compr_lzo.c:72: error: expected â;â before âdlâ

compr_lzo.c:74: warning: implicit declaration of function âlzo1x_decompress_safeâ

compr_lzo.c:74: error: âdlâ undeclared (first use in this function)

compr_lzo.c:76: error: âLZO_E_OKâ undeclared (first use in this function)

compr_lzo.c:69: warning: unused parameter âmodelâ

compr_lzo.c: At top level:

compr_lzo.c:84: warning: initialization discards qualifiers from pointer target type

compr_lzo.c: In function âjffs2_lzo_initâ:

compr_lzo.c:95: error: âLZO1X_999_MEM_COMPRESSâ undeclared (first use in this function)

 

 

Can you please tell us how to solve these issue, what toolchain exactly we need to apply can you please direct us to the path of the tool chain.

 

Best Regards, Sreedhar

QuoteReplyEditDelete

 

 

2009-03-31 13:40:02     Re: USB Mass storage test on BF527

Robin Getz (UNITED STATES)

Message: 71891   

 

Sreedhar:

 

Go read the FAQ:

 

https://docs.blackfin.uclinux.org/doku.php?id=faq

 

Why do I need to use the same version of toolchain/kernel/uClibc/U-boot/uClinux-dist?

 

then read:

 

https://docs.blackfin.uclinux.org/doku.php?id=developing_with_blackfin_live_sources

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-31 15:09:09     Re: USB Mass storage test on BF527

Mike Frysinger (UNITED STATES)

Message: 71896   

 

also as the documentation says, you need to install the lzo development packages on your host

QuoteReplyEditDelete

 

 

2009-04-01 05:03:40     Re: USB Mass storage test on BF527

razia razia (INDIA)

Message: 71945   

 

Hi Robin,

 

              On trunk, I am able to get the USB Flah Disk detected.

 

When I plug in the USB Memeory Stick, I am getting the following message in my serial console,

 

usb 1-1: new high speed USB device using musb_hdrc and address 2

usb 1-1: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

usb 1-1: New USB device found, idVendor=0411, idProduct=0111

usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 1-1: Product: USB Flash Disk

usb 1-1: Manufacturer: BUFFALO

usb 1-1: SerialNumber: 078918A71342

scsi 0:0:0:0: Direct-Access     BUFFALO  USB Flash Disk   3.10 PQ: 0 ANSI: 0 CCS

sd 0:0:0:0: [sda] 15663104 512-byte hardware sectors: (8.01 GB/7.46 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 15663104 512-byte hardware sectors: (8.01 GB/7.46 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI removable disk

 

 

 

I want to do USB Host Performance test

 

I gave the following command as in the document in

 

https://docs.blackfin.uclinux.org/doku.php?id=usb_peripherals#sample_configuration

 

But I am getting this message,

 

mkfs:not found

 

Please tell me how to do R/W to the disk?

QuoteReplyEditDelete

 

 

2009-04-01 10:29:37     Re: USB Mass storage test on BF527

Robin Getz (UNITED STATES)

Message: 71961   

 

Razia:

 

Did you mount the drive?

 

If you didn't select the file system utilities in the config system - they are not built by default.

 

-Robin

Attachments

    Outcomes