Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ztian3
Novice
1,525 Views

upgrade mraa in eidson development environment(Ubuntu 12.04.2)

Jump to solution

hi,all

i wanna to upgrade the mraa in my development environment by using cmd line so that i can make a edison image contain the newest mraa.

i have tried many ways,but not available. can you give me any ideas.

(it's different from the "Installing on your board" which showed in https://github.com/intel-iot-devkit/mraa https://github.com/intel-iot-devkit/mraa)

1 Solution
ztian3
Novice
50 Views

hi, all

I have solved the problem in a unofficial way:

1) put mraa_0.9.0_i586.ipk into edison image

2) add the following code in my our application

system("opkg remove libmraa0 --force-depends");

system("opkg install /etc/opkg/mraa_0.9.0_i586.ipk");

system("reboot");

3) flashing the image which contains the mraa_0.9.0_i586.ipk

View solution in original post

4 Replies
Pedro_M_Intel
Employee
50 Views

Hello cein_sky,

Do you need to build it on your image or can you download it after it has already been built? Because you can download it from the IoT repo as an .ipk and simply install it. It can be easily done with the following commands:

echo src iotkit http://iotdk.intel.com/repos/2.0/intelgalactic http://iotdk.intel.com/repos/2.0/intelgalactic > /etc/opkg/iotkit.conf

opkg update

opkg install mraa

This will install version 0.9.0 of mraa (which is the latest version as of today). Does this help you?

Peter.

ztian3
Novice
50 Views

hi, Peter,

I need to make a image which's used for Mass-Production,so it's almost impossible for us to upgrade the mraa one by one. And we perhaps use the edison without internet after flashing image.

Thinks Anyway!

Sky.

ztian3
Novice
51 Views

hi, all

I have solved the problem in a unofficial way:

1) put mraa_0.9.0_i586.ipk into edison image

2) add the following code in my our application

system("opkg remove libmraa0 --force-depends");

system("opkg install /etc/opkg/mraa_0.9.0_i586.ipk");

system("reboot");

3) flashing the image which contains the mraa_0.9.0_i586.ipk

View solution in original post

ztian3
Novice
50 Views

this method does work till now.

Any one has any other idea, please tell me!

Thank you very much!

Reply