is there any way to transfer file over usb in linux

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

is there any way to transfer file over usb in linux

1,639 Views
ming_liao
Contributor I

Hi,

  my device use i.mx8m mini linux system,no ethernet or sdcard,is there anyway to transfer file over usb in linux like adb in android? UART is too slow and need extra hardware.

BR,

0 Kudos
4 Replies

1,432 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Liao,
You could also use the USB Host functionality enabled by default on the BSP, and with the MSD support, connect an external USB drive to the board, and exchange files between the board and the USB drive.


Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------

0 Kudos

1,432 Views
ming_liao
Contributor I

Hi Carlos,

We have only one usb port for power supply,and can't recognize external usb drive.

BR,

0 Kudos

1,432 Views
turker
Contributor IV

You can try to configure your board as a USB mass storage gadget if the controller has support. See this thread https://community.nxp.com/thread/460374 .

0 Kudos

1,432 Views
ming_liao
Contributor I

Hi,

We have enable g_webcam,g_webcam and g_mass_storage seems can not coexistence or i will receive "udc-core: couldn't find an available UDC" if i have already insmod another one.

BR,

0 Kudos