Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RKura
New Contributor I
1,309 Views

Intel Aero Drone Linux Distribution Yocto

Hello,

I just ordered an Intel Aero compute board that comes with the Yocto Project* 2.1. I hooked it up to a display and the shell prompt showed. I am wondering, how do I get started from here ? What Linux distribution comes with this compute board ? How do I go about using it ? Any details will be much appreciated.

best

Rohan

Tags (1)
0 Kudos
19 Replies
RKura
New Contributor I
139 Views

I connected the drone via HDMI and get this prompt as expected

sh-4.3#

"uname -a" shows the Linux generic 4.4.3 yocto-standard installed.

I am confused as to how to proceed from here to install packages (git, gcc and so on). I see Yocto uses 'smart' package manager.

best

Rohan

idata
Community Manager
139 Views

Hello Rohan,

 

 

Thank you for your interest in the Intel® Aero Compute Board.

 

 

The best way to learn about the Aero Compute Board is through this link https://github.com/intel-aero/meta-intel-aero/wiki. That site contains the latest official information.

 

 

Checking the Initial Setup section helps you understand the steps that need to be followed to flash the compute board.

 

 

The guide is a work in progress, so please keep visiting it to get the latest information.

 

 

The Developing on Intel Aero section shows how to work with Git repositories.

 

 

If you have any other question, don't hesitate to contact us.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
RKura
New Contributor I
139 Views

Hi Andres,

I did try that.

Once I got to the shell prompt, I tried to flash the BIOS followed by a reboot. I did not find any aer-get-version.py script to run. Can you please give step by step instructions here starting from the first time connecting th board ?

best

Rohan

RKura
New Contributor I
139 Views

Hi Andres,

Where are all the aero-* commands to be run from?

best

Rohan

RKura
New Contributor I
139 Views

Hi Andres,

When I tried to flash the BIOS and now the Linux distro, I am getting the same issues running the aero-* commands. Please help me out here.

Here is the linux distro flash steps:

sh-4.3# mkdir -p /tmp/{iso,newroot}

sh-4.3# mount -o ro /dev/sda1 /tmp/iso

sh-4.3# mount -o loop,ro /tmp/iso/rootfs.img /tmp/newroot

sh-4.3# /tmp/newroot/usr/sbin/aero-reboot-update.py --> command not found (same for aero-get-version.py)

When and where do these scripts get installed ?

best

Rohan

SOpte
New Contributor II
139 Views

Hi Rohan.

As mentioned here : https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-Setup# flash-intel-aero-linux-distribution 02 Initial Setup · intel-aero/meta-intel-aero Wiki · GitHub

"If you already have a system with firmware v1.2 or more recent, type the command". I guess you have OS version before 1.2 (I think v01.00.04) so you do not have that scripts "aero-update-reboot.py".

You have to put the OS ISO file in bootable flash drive like here : https://github.com/intel-aero/meta-intel-aero/wiki/02-Initial-Setup# different-parts-of-the-drone-to-flash 02 Initial Setup · intel-aero/meta-intel-aero Wiki · GitHub

and plug it with Aero board using hub with external power supply. After turning on the drone, press ESC and boot from the flash and install the new OS. Do not forget to check the md5 hash for ios file.

Regards,

Soubhi

RKura
New Contributor I
139 Views

Hi Soubhi,

Here are the steps I am following to do today:

1. download the iso and rpm files from https://downloadcenter.intel.com/download/26389/UAV-installation-files-for-Intel-Aero-Platform?v=t downloadcenter.intel.com page to download the .rpm UEFI-BIOS file and .iso linux image.

2. format my usb drive

3. check the md5 hash

4. copy the rpm file onto the usb drive

5. plug the usb drive into the aero and power the aero on

6. this should come up with a shell prompt. issue the following:

sh-4.3# mount /dev/sda1 /mnt # we mount the drive

sh-4.3# rpm -ivh /mnt/capsule*.rpm # install rpm

sh-4.3# reboot

7. The reboot should flash the BIOS and update it. At this point I should be able to issue any "aero-*.py" commands. If I do not, what should I do ? You mentioned once I plug the ucb into the aero using the hub, I should press ESC and choose to boot from flash (is that an option that will show up ?) - right now, the only option I see is "boot" and I press enter there. Is "boot from flash" an option that shows up when I press ESC when the Aero comes up on the display ?

Once this is done, I believe the next step is to flash the OS by doing the following :

If you already have a system with firmware v1.2 or more recent, type the command:

aero-update-reboot.py --> This should run if the BIOS update from flash was successful , correct ?

If this command does not work, it means you have an older version. Type:

mkdir -p /tmp/{iso,newroot}

 

mount -o ro /dev/sda1 /tmp/iso

 

mount -o loop,ro /tmp/iso/rootfs.img /tmp/newroot

 

/tmp/newroot/usr/sbin/aero-reboot-update.py

 

 

Please let me know if I am missing any steps before I continue.

 

 

best

 

Rohan
RKura
New Contributor I
139 Views

Hi Soubhi,

Thanks for your reply. I am downloading the latest iso image from https://downloadcenter.intel.com/download/26748/Intel-Aero-Platform-for-UAVs-Installation-Files?v=t Download Intel® Aero Platform for UAVs Installation Files which shows v1.3.1 for the .iso .

When I plug the usb into the hub and turn on the power for the aero, the display shows me a screen with just the "boot" option. At this point, are you suggesting I press ESC and that will present me a "boot from flash" option which I need to select ?

I have verified the md5 hash as well.

best

Rohan

RKura
New Contributor I
139 Views

Hi Soubhi,

I have gotten a bit further along. I installed from the USB. Also the command in the documentation is wrong - it is aero-reboot-update.py and not aero-update-reboot.py/ That was throwing me off a bit. I am going to set up the networknext following https://github.com/intel-aero/meta-intel-aero/wiki/08-Aero-Network-and-System-Administration# internet-access 08 Aero Network and System Administration · intel-aero/meta-intel-aero Wiki · GitHub .

I need help with the smart package manager. Like how do I install git and other packages using smart ? The documentation was not very helpful. Look forward to talking with you soon.

best

Rohan

RKura
New Contributor I
139 Views

I am trying to connect the aero to the Wifi. I have the 2 antennas on the board. I then run the /etc/init.d/aero-supplicant.sh start script and that seems to take forever to finish. It comes back with messages such as:

p2p-dev-wlan0: BSS: Remove id 143 BSSID SSID 'wifi name' due to wpa_bss_flush_by_age

Any idea what I am doing wrong ?

best

Rohan

RKura
New Contributor I
139 Views

Hi Soubhi,

I tried running the script /etc/init.d/autostart-supplicant.sh start and at first it seems to Add new networks but then proceeds to remove them. The script does not seem to work for me. Have you had this problem ? Please let me now how you got past this issue. Once the script finishes, I can try connecting to a Wifi network.

As a side note,

ifconfig deoes show me entries for wlan0 (wifi) and usb. I am not sure what network I am connected to via wlan0 but my workstation is not on the same network and subnet so I cannot ssh into the Aero board from my workstation.

best

Rohan

RKura
New Contributor I
139 Views

Hello Andres/Soubhi,

What is the expected output (can you paste it here) from the /etc/init.d/auostart-suplicant.sh script ? Also, can you send pics of how the antennas should look if I only have the compute board i.e do I need to remove the stickers ?

best

Rohan

RKura
New Contributor I
139 Views

Here is a picture of the board with the wifi antennas. I had to tape one of them because it seemed to break when I removed the sticker. I have not removed the sticker for the other.

The autostart-supplicant.sh script does a can of BSSes. returns a list, Adds them and then proceeds to removes them due to SSID mistmatch, wpa_bss_flush_by_age or disabled. Let me know what I need to do to overcome this.

idata
Community Manager
139 Views

Hello Rohan,

I followed the steps that appear in the guide Networking: Internet Access (https://github.com/intel-aero/meta-intel-aero/wiki/08-Aero-Network-and-System-Administration https://github.com/intel-aero/meta-intel-aero/wiki/08-Aero-Network-and-System-Administration) and I could connect to a Wifi, could you please share the commands you are introducing? (Perhaps share some screenshots of the process?) Once you run the /etc/init.d/autostart-supplicant.sh start command, you will see multiple processes taking place (too much for a single screenshot), after that, just continue with the wpa_cli –iwlan0 command.

These are the commands that I entered to connect via Wifi to a network called Work, and password 1234.

sh-4.4# /etc/init.d/autostart-supplicant.sh start

 

wpa_cli –iwlan0

 

scan

 

scan_res

 

add_net

 

set_net 1 ssid "Work"

 

set_net 1 psk "1234"

 

enable_net 1

 

select_net 1

 

save_config

 

quit

 

ifconfig wlan0

I'll be waiting for your response.

Also, please don't remove the antenna stickers.

Have a nice day.

Regards,

 

Andres V.
RKura
New Contributor I
139 Views

Hi Andres,

For some reason my last comment did not post. I was able to connect to the wifi. I can ssh between the board and my laptop.

Can you tell me how I can install packages such as git and others next ? Can you send me the command lines.

best

Rohan

idata
Community Manager
139 Views

Hello Rohan,

I'm glad to hear that you could connect your Aero Compute Board to a Wifi Network.

Regarding the package installation, unfortunately, it is not possible to include packages, the reason behind this is that there isn't a package manager installed in the Aero image.

In order to include the package manager of your choice, you have two options, both are not supported by our technical support team, but I present them in case you want to consider them:

 

• create a custom image for the Aero Custom Boardo https://wiki.yoctoproject.org/wiki/How_do_I https://wiki.yoctoproject.org/wiki/How_do_I

o https://community.nxp.com/docs/DOC-328199 https://community.nxp.com/docs/DOC-328199

o https://github.com/intel-aero/meta-intel-aero/wiki/Developing-on-Intel-Aero https://github.com/intel-aero/meta-intel-aero/wiki/Developing-on-Intel-Aero

• Installing Ubuntu in the Aero Compute Board

Sorry for the inconvenience this may cause.

Have a nice day.

Regards,

 

Andres V.
RKura
New Contributor I
139 Views

Hi Andres,

I tried using the smart package manager and it seems very limited in its use. I tried copying some of the shared libraries over to the board.

Can you tell me if its possible to open multiple terminal windows on the board console ? Right now I am ssh'ing into the board from my laptop and have multiple windows here. I was wondering if I can have more than 1 terminals on the board console. A right click on mouse does not show anything. Neither does it seem to have xterm.

best

Rohan

idata
Community Manager
139 Views

Hello rohanK23,

 

 

Unfortunately, you can't open multiple terminal windows on the board console.

 

 

Perhaps if you explain what you are trying to accomplish I may be able to provide an alternative.

 

 

I'll be waiting for your response.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
RKura
New Contributor I
139 Views

Hi Andres,

I would like to have multiple terminal windows on the console. I can easily ssh into it from my laptop and have multiple screens there. I have multiple things in different windows going on which is why I want the extra windows. If I can't open more than 1 window on the Intel board console, that's fine. I just wanted to be sure.

best

Rohan

Reply