Hi Dennis Lee, Thank You very much for the guidance.
Based on the information provided by You, once more I built Kernel. Earlier I was using default kernel build Configuration. This time I changed some values as per http://processors.wiki.ti.com/index.php/UserGuideUsbDriver_PSP_04_02_00_07. But still lsmod | grep usb_f* shows the same results as previous. So I tried to include the modules g_mass_storage. It was successful. I also included the module g_multi. So with this now lsmod | grep usb_f* shows the following debian@arm:~$ lsmod | grep usb_f* usb_f_mass_storage 40983 2 g_mass_storage,g_multi usb_f_acm 7202 2 u_serial 11889 3 usb_f_acm usb_f_ecm 9635 2 usb_f_rndis 22162 3 g_multi u_ether 11743 3 usb_f_ecm,g_multi,usb_f_rndis libcomposite 42938 21 usb_f_ecm,g_mass_storage,usb_f_acm,usb_f_mass_storage,g_multi,usb_f_rndis debian@arm:~$ But even after this ssh [email protected] is not working. So I reboot and checked. But after rebooting, all this newly added modules disappears. How can I include the modules in such a way that, it is available even after reboot? I feel, if the Beaglebone drive appears, in Ubuntu Host, if BBB connect to it through USB cable, then ssh [email protected] also will work. But so far Beaglebone drive does not appear. With the addition of all the required modules, now there is no difference between minimal image and the latest image (in terms of usb gadget). Why still ssh through USB not working? Thanks in advance for the help. Thanks & Regards, Sajeevan.K On Friday, April 14, 2017 at 9:07:51 PM UTC+5:30, Dennis Lee Bieber wrote: > > On Thu, 13 Apr 2017 21:40:27 -0700 (PDT), sajeevan k > <[email protected] <javascript:>> declaimed the > following: > > >Here I have two SD cards. One with minimal image > > ( prepared from rootfs obtained from > > https: > >// > rcn-ee.com/rootfs/eewiki/minfs/debian-8.7-minimal-armhf-2017-03-02.tar.xz > > > >, > > > >bootloader and kernel as per the procedure in > > > https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSDcard. > > > > > >With this SD card, ssh through USB port is not working. > > > > > >The other SD card is having the latest image > >"bone-debian-8.7-lxqt-4gb-armhf-2017-03-19-4gb.img" from > >https://beagleboard.org/latest-images. In this SD card, the total image > is > >written with software "mksub" or "Startup Disk Creator". > > > >With this SD card, ssh through USB port is working. > > > > Out of curiosity -- since that is the full X-window environment > version... Does the Jessie IoT release just below that one function with > SSH<>USB? It would, at least, be closer in terms of package lists (the > compressed file is half the size of the lxqt image, though that does still > make it 3X the size of your minimal... > > From your earlier description the minimal is setting up an IP for > USB > connection -- but it is not enumerating to the host as a network device. > That probably means needing kernel driver modules of some form, so that > when the host probes the USB bus, the device responds with the codes for > network device. Building kernels is something out of my realm (heck, the > device tree is still a cryptic mish-mash to me). Comparing device trees > might reveal something... > > Don't recall if this site was mentioned in the prior messages... > > https://developer.ridgerun.com/wiki/index.php/How_to_use_USB_device_networking > > (granted -- that is focused on using the RidgeRun SDK to do the > development, but might identify some of what is needed). > > For a different board: http://linux-sunxi.org/USB_Gadget/Ethernet > > PI-Zero -- appears to assume the needed parts are in the SD card, > and > just needs to be enabled: > > https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget > > > And another one -- Since I've not built kernels, I'm only guessing > that > the "config" section is some sort of file/menu for selecting options... > https://blackfin.uclinux.org/doku.php?id=linux-kernel:usb-gadget:ethernet > > > > > -- > Wulfraed Dennis Lee Bieber AF6VN > [email protected] <javascript:> HTTP://wlfraed.home.netcom.com/ > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/9227cc8d-fe07-4dce-bf72-5619df113e24%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
