This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to make usb gadget driver to load into the mass storage board on a custom am335x board

I would like to know what modules are needed on kernel, driver and filesystem to boot my board to automatically enter a mass storage mode where I can access my emmc on my pc as if my board is an mmc/sd card. I will then perform file transfer over usb. Do I have to manually load anything or run commands to change the mode.