USB Storage is not mount in IMX8QM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Storage is not mount in IMX8QM

Jump to solution
3,722 Views
vinothkumars
Senior Contributor IV

Dear NXP,

I am working on IMX8QM with Android 9. Currently, I am using imx-p9.0.0_2.1.1-auto-ga source.

USB Stick not mounting, 

 

When Connect usb storage to usb otg of Board,

mek_8q:/  # [ 4039.174753] usb 1-1: USB disconnect, device number 6
[ 4041.812527] usb 1-1: new high-speed USB device number 7 using cdns-usb3
[ 4041.967925] usb 1-1: New USB device found, idVendor=054c, idProduct=05ba
[ 4041.974663] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 4041.982009] usb 1-1: Product: Storage Media
[ 4041.986222] usb 1-1: Manufacturer: Sony
[ 4041.990093] usb 1-1: SerialNumber: CB0000FFFFFFFC306000A
[ 4041.999244] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 4042.005632] scsi host0: usb-storage 1-1:1.0
[ 4043.042168] scsi 0:0:0:0: Direct-Access Sony Storage Media 0009 PQ: 0 ANSI: 4
[ 4043.057857] sd 0:0:0:0: [sda] 60620800 512-byte logical blocks: (31.0 GB/28.9 GiB)
[ 4043.067017] sd 0:0:0:0: [sda] Attached SCSI removable disk

mek_8q:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 007: ID 054c:05ba
Bus 002 Device 001: ID 1d6b:0003 

But, If I check, I unable to get usb stick mount point.

mek_8q:/  # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 1777588 1214116 563472 69% /
tmpfs 2919020 472 2918548 1% /dev
tmpfs 2919020 0 2919020 0% /mnt
/dev/block/mmcblk0p12 249828 58940 190888 24% /vendor
/dev/block/mmcblk0p14 9086336 86140 9000196 1% /data
/data/media 9086336 86140 9000196 1% /mnt/runtime/default/emulated

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
1 Solution
3,284 Views
bernhardfink
NXP Employee
NXP Employee

On the i.MX 8QuadMax board from NXP there is only one USB brought out, this is the one you need for the Serial Download Protocol (Type-C connector). The second USB is not on there, but you get it when you have the baseboard. On this baseboard there is an USB Mini connector and with a converter you can connect a USB stick. And on this USB port Android can see a mass storage device.

Regards,

Bernhard.

View solution in original post

0 Kudos
9 Replies
3,284 Views
vinothkumars
Senior Contributor IV
I am using imx-p9.0.0_2.1.1-auto-ga default images. usb does not work by this default images. Is there any configuration , Do we need to do ? 
Thanks & Regards,
VinothS.
Regards,
Vinothkumar Sekar
0 Kudos
3,283 Views
xuantambk
Contributor II

Hi Vinoth,

Do you found full solution for this issue?

I faced same... but i dont want to manually do mount via shell or native deamon.

0 Kudos
3,284 Views
vinothkumars
Senior Contributor IV

Hi Tam Nguyen,

As per Bernhard solutions. Carrier board don't have the usb mass storage support. Only baseboard have the usb mass storage functionality.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
3,284 Views
xuantambk
Contributor II

I have base board here.. 

but when i connect usb to base board nothing detected?

What else i can do?

0 Kudos
3,284 Views
bernhardfink
NXP Employee
NXP Employee

But it should, I tested it with the baseboard and the USB Mini OTG plug.

Finally, it's just software. If in this NXP Android image version the other USB is not supported for connecting mass storage, then you could change this in the source code and make your own Android image.

Regards,

Bernhard.

0 Kudos
3,284 Views
vinothkumars
Senior Contributor IV

Hi,

Verify the connection with carrier board and please use micro USB Converter to detect USB Mass Storage.

Best Regards,

Vinoth S.

Regards,
Vinothkumar Sekar
0 Kudos
3,285 Views
bernhardfink
NXP Employee
NXP Employee

On the i.MX 8QuadMax board from NXP there is only one USB brought out, this is the one you need for the Serial Download Protocol (Type-C connector). The second USB is not on there, but you get it when you have the baseboard. On this baseboard there is an USB Mini connector and with a converter you can connect a USB stick. And on this USB port Android can see a mass storage device.

Regards,

Bernhard.

0 Kudos
3,284 Views
vinothkumars
Senior Contributor IV

Thank you Bernhard,

Is there any possible to make usb storage in that type c connector.

Because, I tested with Linux (Linux - 4.14.62) predefined images, it's working. 

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
3,284 Views
vinothkumars
Senior Contributor IV

Hi,

I fixed this problem temporarily,

If sda,

mount /dev/block/sda /mnt/media_rw/

mount -o rw,remount /

But, I needs to integrate with source instead of doing by manual. 

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos