>
> *When I connect my Mac to the small port, the Mac reports a USB download
> gadget, not a mass storage device. When I try to connect that to the Linux
> VM, I don't see anything (but don't know where to look).*


It's not easy using USB gadget devices through a vm. I've done it once, a
long time ago. I was checking out g_ether speeds, and it was so bad I did
not even document my steps. Literally, g_ether speeds from vm to host was
around 200-300K /s.

Can't really help with the MAC, except I've read in the past that mountain
lion( i think ) has issues with g_ether.related to horndns or whatever it's
called


On Sat, Sep 26, 2015 at 4:48 AM, Philip Polstra <[email protected]> wrote:

> What OS are you running on the BBB?  In most cases the BBB will export a
> Linux USB gadget which is a composite device with mass storage and Ethernet
> enabled by default.  Your Mac may need a driver.  Also passing USB devices
> through to VM is not automatic.
>
> On Sat, Sep 26, 2015, 5:17 AM Rick Mann <[email protected]> wrote:
>
>> I'm unable to get the USB Mass Storage thing to work on my Mac, or my
>> Ubuntu 14.04 VM. It's the little port, right, the mini-USB connector?
>> Anyway, when I interrupt U-Boot, I did this:
>>
>> > => setenv umsmedia 0; gpio set 53; run findfdt; setenv mmcdev 1; setenv
>> bootpart 1:1; run mmcboot
>> >
>> > FAILSAFE: U-Boot UMS (USB Mass Storage) enabled, media now available
>> over the usb slave port ...
>> > UMS: disk start sector: 0x0, count: 0x734000
>> > musb-hdrc: peripheral reset irq lost!
>>
>> When I connect my Mac to the small port, the Mac reports a USB download
>> gadget, not a mass storage device. When I try to connect that to the Linux
>> VM, I don't see anything (but don't know where to look).
>>
>> Alternatively, how do I change the dyndbg setting that U-Boot is loading?
>>
>> The problem:
>>
>> I updated my uEnv.txt to turn on more debugging output, and I think it
>> hosed part of the boot process, which times out now (it just repeats the
>> last bit over and over):
>>
>> > Loading, please wait...
>> > fsck from util-linux 2.25.2
>> > BEAGLEBONE: recovering journal
>> > BEAGLEBONE: clean, 43481/236176 files, 285892/943872 blocks
>> > [    9.931380] rtlwifi: Firmware rtlwifi/rtl8192cufw_TMSC.bin not
>> available
>> > [   10.860147] libphy: PHY 4a101000.mdio:01 not found
>> > [   10.864972] net eth0: phy 4a101000.mdio:01 not found on slave 1
>> >          Starting Journal Service...
>> > [ TIME ] Timed out waiting for device dev-ttyGS0.device.
>> > [   95.707797] systemd[1]: Timed out waiting for device
>> dev-ttyGS0.device.
>> > [DEPEND] Dependency failed for Serial Getty on ttyGS0.
>> > [   95.727835] systemd[1]: Dependency failed for Serial Getty on ttyGS0.
>> >          Starting Journal Service...
>> > [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
>> >          Stopping Journal Service...
>> > [  OK  ] Stopped Journal Service.
>> >          Starting Journal Service...
>> > [  OK  ] Started Journal Service.
>> >          Starting Trigger Flushing of Journal to Persistent Storage...
>> > [  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
>> > [ ***  ] A start job is running for LSB: Raise network interf...13s /
>> no limit)
>>
>> These variables don't seem to be loaded into the environment, and I don't
>> see an obvious command for adjusting them:
>>
>> > Running uname_boot ...
>> > loading /boot/vmlinuz-4.1.4-ti-r9 ...
>> > 8259336 bytes read in 473 ms (16.7 MiB/s)
>> > loading /boot/dtbs/4.1.4-ti-r9/am335x-boneblack-emmc-overlay.dtb ...
>> > 55644 bytes read in 28 ms (1.9 MiB/s)
>> > loading /boot/initrd.img-4.1.4-ti-r9 ...
>> > 4496957 bytes read in 272 ms (15.8 MiB/s)
>> >
>> > debug: [console=ttyO0,115200n8 dyndbg=file drivers/of* +pflm; file
>> drivers/i2c* +pflm; file drivers/remoteproc +pflm; file sound* +pflm; file
>> pinctrl/* +pflm; file drivers/gpio/* +pflm; file drivers/regulator* +pflm;
>> file *cape* +pflm root=UUID=69f859b1-c308-41c9-8ca7-a3d0042031e8 ro
>> rootfstype=ext4 rootwait fixrtc coherent_pool=1M quiet] ...
>> >
>> > debug: [bootz 0x82000000 0x88080000:449e3d 0x88000000] ...
>>
>>
>> Thanks…
>>
>> --
>> Rick Mann
>> [email protected]
>>
>>
>> --
>> 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].
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to