Custom Image advertising itself as Drive instead of USB drive

Hi,

I have an issue with the current custom image(kernel_version=4.1.20) where the image advertises itself as a disk image. I didn’t have this issue in the previous version of image(3.8.13-bone74.2). The previous version of image will present itself as a USB drive.

The 4.1.20 Image advertises itself as a disk, and when I plug into my Linux RedHat host, the /boot partition mounts, and a window pops open on my Linux host.Instead, it should present itself as a USB drive as done in previous image 3.8.13-bone74.2. My observations below are plugging the same Beagle board Black in the the same Linux host using the same bus powered USB port on the Linux host.

here is what I see on my Linux machine:

[root@cva-mp104 ~]# uname -a
Linux cva-mp104 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

**With my Current image(**4.1.20) - There is an issue:

my BeagleBoard Black plugged in:[root@cva-mp104 tmp]# lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 0461:4dfb Primax Electronics, Ltd
Bus 002 Device 004: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 067: ID 1d6b:0104 Linux Foundation Multifunction Composite Gadget

**With my previous image(**3.8.13-bone74.2) - There is no issue:

root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone74.2 #3 SMP Wed Dec 9 16:31:22 CLT 2015 armv7l GNU/Linux

here is what I see (Notice the “NetChip technology” … this work great for me to ssh in over USB:
[user@cva-mp104 part_table]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 0461:4dfb Primax Electronics, Ltd
Bus 002 Device 004: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 068: ID 048d:1336 Integrated Technology Express, Inc. SD/MMC Cardreader
Bus 003 Device 035: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget

Could you please help how to resolve this issue so that the image 4.1.20 present itself as a USB drive and not advertise itself as a disk.

Thanks,
Veera

So, based on the details you provided...

You messed up your 4.1.20 .config...

Regards,

Is it possible to update the 4.1.20 .config. How do I update the file to resolve the issue.

Thanks,

Veera