1 2 Previous Next 21 Replies Latest reply on Aug 13, 2018 9:18 AM by Cosma

    Intel Aero RTF do NOT see USB periferals

    Cosma

      Hello,

      I just started my Intel Aero RTF Drone.

      Versions

      BIOS Aero-01.00.11 10/24/2016

      Yocto 4.3

       

      I have connected Keyboard & Mouse to the Drone using an external USB 3.0 Hub and Video by Mini USB to HDMI adapter to the dedicated port.

      All following the instruction.

      The Aero RTF do not detect the Keyboard and Mouse.

       

      Video output by HDMI is ok, I can see the boot process but I cannot interact.

      The SSH works, ok.

       

      I tried to connect only an USB Key to the USB 3.0 port to the Drone but again it do not see the External drive, below the Fdisk -l result:

       

      Device        Start  End  Sectors  Size Type
      /dev/mmcblk0p1 20485939157344   28M EFI System
      /dev/mmcblk0p259392 58019839 57960448 27.7G Linux filesystem

      /dev/mmcblk0p3 58019840 61069311  3049472  1.5G Linux swap

       

      I connected and removed the external USB Key with the same result below (no additional device is available!

       

      root@intel-aero:/# ls /dev/ | grep sd

      ptysd

      sda

      sda1

      sda2

      ttysd

       

      Could the USB be disabled by factory?

       

      Please, do you have some suggestions to solve this issue?

       

      Thank you

        • 1. Re: Intel Aero RTF do NOT see USB periferals
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello Cosma,

           

          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!

           

          Thank you,
          Eliza

          • 2. Re: Intel Aero RTF do NOT see USB periferals
            Cosma

            Hi Eliza,

            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

            • 3. Re: Intel Aero RTF do NOT see USB periferals
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hello Cosma,

              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,
              Eliza

              • 4. Re: Intel Aero RTF do NOT see USB periferals
                Cosma

                Hi Eliza,

                So, if I well understand, I have to:

                 

                -1 execute the script:

                aero/blob/master/recipes-support/jam-stapl/jam-stapl/aero-compute-board.jam

                 

                -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?

                 

                Thank you

                • 5. Re: Intel Aero RTF do NOT see USB periferals
                  Cosma

                  Hi Eliza,

                  I have anothere question:

                  I have transferred the last bios version (.rpm file) to the Drone by SSH.

                  If I execute the Bios upgrade, can this operation reset the Bios enabling again the USB ports?

                   

                  thank you

                  • 6. Re: Intel Aero RTF do NOT see USB periferals
                    Intel Corporation
                    This message was posted on behalf of Intel Corporation

                    Hello Cosma,

                    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,
                    Eliza

                    • 7. Re: Intel Aero RTF do NOT see USB periferals
                      Cosma

                      Hi Eliza,

                      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?

                       

                      Thank you

                      • 8. Re: Intel Aero RTF do NOT see USB periferals
                        Cosma

                        Hi Eliza,

                        below the output to the command aero-get-version.py via SSH:

                         

                        root@intel-aero:/# aero-get-version.py

                        -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:/# 4.4.3-yocto-standard

                         

                        root@intel-aero:/# rpm -qa | grep openssl

                         

                        openssl-conf-1.0.2h-r0.core2_64

                        openssl-1.0.2h-r0.core2_64

                        openssl-dev-1.0.2h-r0.core2_64

                         

                        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.

                         

                        Questions, please:

                        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!

                         

                         

                        image1.jpeg

                        image2.jpeg

                        image3.jpeg

                        image4.jpeg

                        • 9. Re: Intel Aero RTF do NOT see USB periferals
                          Intel Corporation
                          This message was posted on behalf of Intel Corporation

                          Hello Cosma,

                          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
                          aero-bios-update

                          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
                          sudo reboot

                          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 :

                          cd /etc/fpga/
                          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,
                          Eliza
                          • 10. Re: Intel Aero RTF do NOT see USB periferals
                            Cosma

                            Hello Eliza,

                            I executed the mentioned steps, below the results:

                             

                            point 3:

                            rpm -ev aero-bios-01.00.11-r1.corei7_64

                             

                            no results as in my previous experiences:

                            output:

                            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 ...

                            DONE

                            Exit code = 0... Success

                            root@intel-aero:/etc/fpga#

                             

                            Please, let me know the next step with some details to reset the Bios.

                             

                            Thank you again

                            • 11. Re: Intel Aero RTF do NOT see USB periferals
                              Intel Corporation
                              This message was posted on behalf of Intel Corporation

                              Hello Cosma,

                              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.deb 
                              I 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,
                              Eliza
                               
                              • 12. Re: Intel Aero RTF do NOT see USB periferals
                                Cosma

                                Hello Eliza,

                                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.

                                 

                                Many thanks

                                 

                                 

                                 

                                • 13. Re: Intel Aero RTF do NOT see USB periferals
                                  Cosma

                                  Hi Eliza,

                                  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:

                                  https://github.com/ruda/rpm2cpio

                                   

                                  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

                                  ./etc

                                  ./etc/bios

                                  ./etc/bios/BIOSUPDATE.fv

                                  16585 blocks

                                   

                                  root@intel-aero:~/sdcard/rpm2cpio-master# ls

                                  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

                                   

                                  root@intel-aero:/boot# ls

                                  BIOSUPDATE.fv  EFI  vmlinuz

                                   

                                  root@intel-aero:/boot# sudo reboot

                                   

                                  See the image below:

                                  firmware upgrade.jpeg

                                   

                                  Unfortunately, the USB still disabled and I cannot use the keyboard & Mouse with an external powered USB hub, image below:

                                   

                                  usb30externalpower.jpeg

                                   

                                  The LEDs of the Intel Aero RTF Drone are green.

                                   

                                  Please, do you have any suggestions to enable the USB?

                                   

                                  Thank you

                                  • 14. Re: Intel Aero RTF do NOT see USB periferals
                                    Cosma

                                    Hi Eliza,

                                    additional informations:

                                     

                                    1)

                                    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

                                     

                                    2)

                                    In /etc folder there are the following files:

                                    aero_RTF_kit_fpga.jam         

                                    aero_compute_board_only_fpga.jam

                                     

                                    Could they be helpful?

                                     

                                    3)

                                    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.

                                    Best Regards

                                    1 2 Previous Next