Other Parts Discussed in Thread: UNIFLASH
Tool/software: Linux
Hello,
I am testing the am335x processors using a Beaglebone Black. I am trying to boot using RNDIS and tftp to do an initial dataload. It would make life easier if this could be managed from a VirtualBox linux machine.
On the beaglebone, I have zeroed out the eMMC so there is nothing on the board. When the USB mini cable is plugged in, I get a USB RNDIS device on my Linux Host. I can see DHCP requests over the USB network device.
To move this to Virtualbox, I have used vagrant to configure a virtual machine like this:
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.box_check_update = false
config.ssh.forward_agent = true
config.vm.synced_folder "../../tisdk/build/arago-tmp-external-linaro-toolchain/deploy", "/yocto_deploy"
config.vm.provider "virtualbox" do |vb|
vb.memory = '256'
vb.customize ['modifyvm', :id, '--usb', 'on', '--usbehci', 'on']
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'Texas Instruments AM335x USB', '--vendorid', '0x0451', '--productid', '0x6141']
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get dist-upgrade -y
apt-get install -y tftpd-hpa tftp isc-dhcp-server
SHELL
end
But when the Beaglebone Black is plugged in, the VirtualBox log file says:
00:09:35.220858 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR)}, preserve=false aResultDetail=0
Other USB devices can be inserted into the virtual machine without any issues. It's just the AM335x processor in USB boot mode that has an issue.
vboxmanage list usbhost
UUID: 8424bdc3-bbf3-4be4-bb8e-7d691bb91b2a
VendorId: 0x0451 (0451)
ProductId: 0x6141 (6141)
Revision: 0.0 (0000)
Port: 2
USB version/speed: 2/Full
Manufacturer: Texas Instruments
Product: AM335x USB
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3//device:/dev/vboxusb/001/044
Current State: Available
Has anyone managed to get USB boot working with an AM335x processor under VirtualBox?
Thanks,
Matt
