Thank you for your interest in the Intel Aero Ready to Fly drone.
Could you please let me know if you have tested the USB Hub on another device?
If it works, I would recommend to flash the latest Yocto image on your drone. Link to download here: https://downloadcenter.intel.com/download/27833/Intel-Aero-Platform-for-UAVs-Installation-Files?v=t and follow the instructions from here: https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-setup#flashing-intel-aero-linux-distribution
Looking forward to your reply!
I tried two 3.0 USB hubs and I direct attached a USB key using a USB 3.0 adapte with not results.
The only mode I have to communicate wi the Drone is SSH.
So, to update the OS and BIOS I can only try to transget data using Putty and execute them from the Drone’s OS comman line.
Please, do you have any suggestion?
or do you have some instructions to update the Drone by SSH?
Thank you for the information.
It is possible that your USB access is disabled in BIOS.
You can access the BIOS to revert that back using the UART on the power connector, but first you will need to program the FPGA to disconnect that UART from the flight controller or disconnect it (not recommended if you never disassembled it). I came across this thread on GitHub that might help you. Link here: https://github.com/intel-aero/meta-intel-aero/issues/363
Thank you in advance,
So, if I well understand, I have to:
-1 execute the script:
-2 access the BIOS to revert that back using the UART on the power connector.
Is it right?
Please, do you have more details about the point 2?
Indeed, this should solve your issue.
Please keep the micro HDMI to HDMI cable connected to the monitor and watch the progress. You can use the commands described here: https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-setup#flashing-the-bios
Could you please do that and let me know the outcome?
Thank you in advance,
I successfully saved the file aero-bios-01.00.16-r1.corei7_64.rpm in the home/root/sdcard using SSH transfer file.
I have executed the command:
rpm -ivh aero-bios-01.00.16-r1.corei7_64.rpm that returned the following output:
warning: package aero-bios-01.00.16-r1.corei7_64 is intended for a corei7_64-unknown-linux platform
Please, do you have a suggestion?
Or do I have to transfer the ISO (1.6GB) within the Aero Drone and execute that as the last option?
below the output to the command aero-get-version.py via SSH:
-sh: aero-get-version.py: command not found
root@intel-aero:/# python aero-get-version.py
python: can't open file 'aero-get-version.py': [Errno 2] No such file or directory
I executed the following commands to know the OS version:
root@intel-aero:/# uname -r
root@intel-aero:/# rpm -qa | grep openssl
Below, you can find the image of my Intel Aero RTF Drone (formally Intel Aero Platform for UAVs)
It's new! It's really particular that it was shipped without test it with USB disabled or damaged!
Or it seems, the Drone was already used.
1- can you let me know the path where I have to execute the aero-get-version.py command?
2- It seems the Drone has a port for micro SSD card (image 3), could I use it to upload the ISO?
3- Where I can find the existing Bios RPM package that I have to remove before install the news one following the instruction?
4- Can you send me more details about the procedure to revert back the BIOS using the UART on the Power Connector?
Otherwise, Please, let me know your suggestions to reset the Bios via Hardware instead software.
Many thanks for your commitment!
Thank you very much for everything.
I will take your questions one by one.
1. It should work directly from: root@intel-aero:/# or any other folder - but if it doesn't open there is no issue.
2. No please, this SSD card is used for stocking the flight logs
3. Try please with rpm -ev aero-bios-01.00.11-r1.corei7_64 instead of the 01.00.13. It should be on root@intel-aero:/#
Please run the below commands:rpm -ev aero-bios-01.00.11-r1.corei7_64
(navigate to home/root/sdcard) rpm -i aero-bios-01.00.16-r1.corei7_64.rpm
In case you will receive a similar error message as before, I would recommend to do try the below commands from the folder where you have stored aero-bios-01.00.16-r1.corei7_64.rpm - home/root/sdcard (Found them here:https://github.com/intel-aero/meta-intel-aero/wiki/90-(References)-OS-user-Installation#bios)
rpm2cpio aero-bios-01.00.16-r1.corei7_64.rpm | cpio -idmv
sudo mv BIOSUPDATE.fv /boot
4. If you have successfully send the .jam file to Aero RTF (https://github.com/intel-aero/meta-intel-aero/blob/master/recipes-support/jam-stapl/jam-stapl/aero-compute-board.jam) execute :
jam -aprogram aero-compute-board.jam
Please let me know the outcome after that.
Looking forward to hear from you!
Thank you very much in advance,
I executed the mentioned steps, below the results:
rpm -ev aero-bios-01.00.11-r1.corei7_64
no results as in my previous experiences:
warning: package aero-bios-01.00.11-r1.corei7_64 is intended for a corei7_64-unknown-linux platform
I tried also other versions 01.00.10 or 01.00.12 and 01.00.13 -> same error
root@intel-aero:~/sdcard# rpm2cpio aero-bios-01.00.16-r1.corei7_64.rpm
-sh: rpm2cpio: command not found
Point 4 (.jam file):
within /etc there was not the folder "fpga"
Why? Where could be the original fpga folder?
Anyway, to proceed, I created it within /etc and I executed the command with a result (finally!)
root@intel-aero:/etc/fpga# jam -aprogram aero-compute-board.jam
Jam STAPL Player Version 2.5 (20040526)
Copyright (C) 1997-2004 Altera Corporation
Device #1 IDCODE is 031820DD
full-chip erasing Max 10 FPGA device(s) ...
programming Max 10 FPGA CFM0 block at sector 4 ...
programming Max 10 FPGA CFM0 block at sector 5 ...
programming Max 10 FPGA UFM block at sector 1 ...
programming Max 10 FPGA UFM block at sector 2 ...
programming Max 10 FPGA UFM block at sector 3 ...
verifying Max 10 FPGA CFM0 block at sector 4 ...
verifying Max 10 FPGA CFM0 block at sector 5 ...
verifying Max 10 FPGA UFM block at sector 1 ...
verifying Max 10 FPGA UFM block at sector 2 ...
verifying Max 10 FPGA UFM block at sector 3 ...
programming Max 10 FPGA DSM block ...
Exit code = 0... Success
Please, let me know the next step with some details to reset the Bios.
Thank you again
This is great news that you got the .jam file!
In order to update the BIOS and make sure that the latest version is updated and working, the error message from the rpm commands needs to be resolved. Please run in home/root/sdcard the below commands:
sudo alien -i package_file.rpm
sudo alien package_file.rpm
sudo dpkg -i package_file.debI would recommend to check out this thread: https://communities.intel.com/thread/124337 as it contains more information on this topic.
Please let me know the outcome!
Thank you in advance,
the alien commands are not found.
it seems this procedure is for Ubuntu OS, on my Drone is running Yocto 4.4.3
please, can you send me the procedure to access the Bios to revert that back using UART on the power connector?
it was what you have previously suggested to reset the Bios to factory.
there is a great news, I updated the Bios to 01.00.16-r1
Unfortunately, the USB still disabled (otherwise the USB port hardware is damaged) and I cannot use Keyboard & Mouse.
To update the Bios, I have applied the following procedure:
I decided to use a rpm2cpio packaged from:
On the Drone via SSH:
root@intel-aero:~/sdcard/rpm2cpio-master# python rpm2cpio.py < aero-bios-01.00.16-r1.corei7_64.rpm | cpio -idmv
LICENSE README etc rpm2cpio.py
Makefile aero-bios-01.00.16-r1.corei7_64.rpm rpm2cpio.1
root@intel-aero:~/sdcard/rpm2cpio-master/etc/bios# sudo mv BIOSUPDATE.fv /boot
BIOSUPDATE.fv EFI vmlinuz
root@intel-aero:/boot# sudo reboot
See the image below:
Unfortunately, the USB still disabled and I cannot use the keyboard & Mouse with an external powered USB hub, image below:
The LEDs of the Intel Aero RTF Drone are green.
Please, do you have any suggestions to enable the USB?
from grep USB command with external USB hub connected with Keyboard and Mouse + Video HDMI connected:
root@intel-aero:/var/log# dmesg | grep USB
[ 0.315091] ACPI: Power Resource [USBC] (on)
[ 0.417469] ACPI: bus type USB registered
[ 1.762959] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.762999] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.763030] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.763356] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 1.765449] hub 1-0:1.0: USB hub found
[ 1.767410] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 1.767872] hub 2-0:1.0: USB hub found
[ 1.769699] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.769853] usbserial: USB Serial support registered for generic
[ 1.769889] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.769960] usbserial: USB Serial support registered for pl2303
[ 2.883939] usbhid: USB HID core driver
[ 2.956106] usb 2-4: new SuperSpeed USB device number 2 using xhci_hcd
[ 3.353552] pmic_ccsm wcove_ccsm: SOC-Internal-USBPHY used
[ 3.365096] pmic_ccsm wcove_ccsm: USB VBUS Detected. Notifying OTG driver
[ 3.900039] USB Video Class driver (1.1.1)
[ 3.970353] intel-cht-otg intel-cht-otg.0: USB_EVENT_VBUS vbus valid
[ 5.937697] usb 2-4: USB disconnect, device number 2
[ 6.366005] pmic_ccsm wcove_ccsm: USB VBUS Removed. Notifying OTG driver
[ 6.367621] intel-cht-otg intel-cht-otg.0: USB_EVENT_NONE cable disconnected
[ 6.440038] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
In /etc folder there are the following files:
Could they be helpful?
in the OS image within the Drone, it seems there are not other aero-... files excepted the .jam and Bios rpm files I have sent by SSH.
In the OS image there was NOT the folder etc/fpga . I have created that manually.
In my opinion this drone was not delivered with the right configuration and test.
Please, let me know you opinion and suggestions to solve the USB issue and to upgrade the OS to the last version.
Many thanks for your support.