Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hjo1
Beginner
1,349 Views

Intel CSI Tool with Galileo Gen 2

I programmed on Android platform before. But there is a limitation that I proceed a study.

So I'm going to measure the CSI with Galileo Gen 2.

But I don't have enough knowledge and understand. Just using simple command.

Of cource, I have to learn about Linux step-by-step but I don't have time..

I boot Galileo from SD card and I try to progress below Installation Instructions.

https://dhalperi.github.io/linux-80211n-csitool/installation.html Linux 802.11n CSI Tool — Installation Instructions

the first line is

sudo apt-get install gcc make linux-headers-$(uname -r) git-core.

'sudo' is not necessary and 'opkg' is used instead of 'apt-get'.

So I try to type command

opkg install gcc make linux-headers-$(uname -r) git-core

then error has occured.

mailto:root@clanton root@clanton:~# opkg install gcc make linux-headers-$(uname -r) git-core

Unknown package 'gcc'.

Unknown package 'make'.

Unknown package 'linux-headers-3.8.7-yocto-standard'.

Unknown package 'git-core'.

Collected errors:

* opkg_install_cmd: Cannot install package gcc.

* opkg_install_cmd: Cannot install package make.

* opkg_install_cmd: Cannot install package linux-headers-3.8.7-yocto-standard.

* opkg_install_cmd: Cannot install package git-core.

I don't know anything how can I start to use galileo..

Would you inform the page that I refer to?

Please, Help me..

Thank you.

0 Kudos
9 Replies
idata
Community Manager
117 Views

Hello JoyHJ,

 

 

Thanks for reaching out!

 

 

I noticed that your board is outputting root@clanton, this makes me think that your board is not booting from the SD-Card. This is the output it throws from the Linux image installed on the board itself. The expected output from a Galileo that boots from the SD-Card that has the latest image is root@galileo.

 

 

I must also mention that if you use the latest image, it will have by default gcc, make and git installed. So, I'd suggest you to booting from your SD-Card (the image can be downloaded from https://software.intel.com/en-us/iot/hardware/galileo/downloads) and make sure you set up the SD-Card to be bootable by following this guide: https://software.intel.com/en-us/get-started-galileo-windows-step1.

 

 

I hope this information helps you, let me know if you have any doubts.

 

Pedro M.
hjo1
Beginner
117 Views

Hello Pedro.

Thank you so much.

I don't doubt to boot OS.

The OS of my computer is Windows 10.

The output that I wrote to SD card is only 'boot' and 'bzImage'.

Is it able to progress the step using VirtualBox Linux OS?

Regard,

JoyHJ

idata
Community Manager
117 Views

I'm sorry, I don't understand your last reply. Could you please explain us what you mean? Just to be clear, I'm referring to the Galileo's OS, not your computer's.

What exactly do you want to load using Virtual Box?

In order to make sure you are booting from the SD-Card, in the beginning of the booting process, do you see a red screen? Or, is it blue? What we are looking for is a blue screen which means you are in fact booting from the SD-Card. You can also check the image version with the command cat /etc/version.

Let me know.

 

Pedro M.
hjo1
Beginner
117 Views

Sorry Pedro.

I got a output mailto:root@galileo root@galileo, but there are only 'boot' and 'bzImage' in SD card. Is it ok?

And I didn't see any colored screen just got below screen.

Then Galileo booted from SD card and I tried to type command 'opkg install gcc make linux-headers-$(uname -r) git-core'.

But I got errors again.

So, how can I solve this problems?

Regard,

Joy.

idata
Community Manager
117 Views

If you follow the instructions found in https://software.intel.com/en-us/get-started-galileo-windows-step1, the content that you will see in your SD-Card will indeed be only bzImage and boot. You will notice that your PC now detects your SD-Card as a much smaller size, this is normal and due to the partitioning of the SD-Card.

 

 

The colored screens (red or blue) will only be visible at the beginning of boot, so if you'd like to check them, make sure you open the serial port before powering the board.

 

 

I'd like to make sure that you are using the latest image, therefore we need the output of the command cat /etc/version.

 

 

Before trying to install any packages into your board, make sure your board is connected to the internet whether it is with a wired or wireless connection. Let me know if you need help connecting your board to the internet.

 

 

Assuming you indeed have the latest image on your board, make sure your repo is up to date, use the command opkg update. What the error message that you shared above is saying is that the packages linux-headers-3.8.7-yocto-standard and git-core do not exist. This may mean that they actually don't exist on the repo or that you are using the wrong name to install them.

 

 

The following link takes you to the latest Galileo repo: https://iotdk.intel.com/repos/3.5/iotdk/galileo/. There you can manually check what packages are available to download on your board. For example, if you check https://iotdk.intel.com/repos/3.5/iotdk/galileo/i586/, you'll see that indeed git is there but the correct command to install it is opkg install git. Nevertheless, if indeed try to run this command you will notice that, just like with gcc and make, it is already installed on the board.

 

 

That's why I asked you why you needed to install the kernel headers, as the tools that you need may already be included in the image. However, if you need to check for the kernel modules available in the repo, you can check https://iotdk.intel.com/repos/3.5/iotdk/galileo/quark/.

 

 

I hope this clears your doubts, let me know if you have any other question.

 

Pedro M.
idata
Community Manager
117 Views

Hello JoyHJ,

 

 

Do you have any updates about this?

 

 

Pedro M.
hjo1
Beginner
117 Views

Hello Pedro,

Sorry for late reply.

I checked your mention and understood what you mean.

Although it has a problem yet, but I try to solve it by myself.

If I can't solve the problem, then I ask you again. Maybe soon..

Thanks a lot for all you've done.

Joy,

idata
Community Manager
117 Views

You are very welcome, we are here to help. Please do let us know if you have any question or doubt, we'll do our best to help.

 

 

Pedro M.
FTinetti
Honored Contributor I
117 Views

Intel Corporation wrote:

If you follow the instructions found in https://software.intel.com/en-us/get-started-galileo-windows-step1 https://software.intel.com/en-us/get-started-galileo-windows-step1, the content that you will see in your SD-Card will indeed be only bzImage and boot. You will notice that your PC now detects your SD-Card as a much smaller size, this is normal and due to the partitioning of the SD-Card.

...

Just a detail: take into account that the link you referred to (which is the "standard" one, actually) refers to the page https://software.intel.com/en-us/iot/hardware/galileo/downloads Downloads for the Intel® Galileo Board | Intel® Software for downloading the latest image which, in turn, has a broken link to the https://software.intel.com/galileo-image/latest Latest Yocto* Poky Image (210 MB). Instead, you can find the latest Yocto image at

https://downloadcenter.intel.com/download/26418 Download Intel® Galileo - Board Support Package.

Reply