ostroproject / ostro-os

Ostro OS
Other
93 stars 43 forks source link

Intel Galileo Gen 2 #123

Open pksm opened 8 years ago

pksm commented 8 years ago

Does any of the provided images support Arduino IDE? If not, is it possible to build an image on Ostro that supports Arduino?

gvancuts commented 8 years ago

@tripzero , is this something you have looked into?

tripzero commented 8 years ago

i have looked into this. In a nutshell, what you have to do is build a multi-arch image and add a daemon package.

I can give you more details if it sounds like something you want to do.

pksm commented 8 years ago

Oh nice...Could you please give me more details? Thanks

2016-06-20 15:21 GMT-03:00 Kevron Rees notifications@github.com:

i have looked into this. In a nutshell, what you have to do is build a multi-arch image and add a daemon package.

I can give you more details if it sounds like something you want to do.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ostroproject/ostro-os/issues/123#issuecomment-227225786, or mute the thread https://github.com/notifications/unsubscribe/ASZu680x-iqDef4TR12potcaI6MXRHoKks5qNtougaJpZM4I2WVx .

tripzero commented 8 years ago

I thought I had written a guide somewhere, but I can't seem to find it. Also note that I haven't tested this in a while, so I don't know if it works. If it doesn't for you, let us know.

add the following to your build/conf/local.conf include conf/ostro-multilib.conf

Then you need the recipe from the meta-intel-galileo layer:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-galileo/tree/recipes-galileo/galileo-target

add that package to

OSTRO_IMAGE_EXTRA_INSTALL += " \ galileo-target \ "

After building and booting, you should be able to use the Arduino IDE as per a normal galileo.

pksm commented 8 years ago

Hi, thanks for the tip

I did not understand where I have to add the link (i've cloned it from http://git.yoctoproject.org/meta-intel-galileo and placed it along with the other meta directories). And in the line OSTRO_IMAGE_EXTRA_INSTALL...it will be OSTRO_IMAGE_EXTRA_INSTALL += "galileo-target" ?

Thanks

2016-06-21 1:12 GMT-03:00 Kevron Rees notifications@github.com:

I thought I had written a guide somewhere, but I can't seem to find it. Also note that I haven't tested this in a while, so I don't know if it works. If it doesn't for you, let us know.

add the following to your build/conf/local.conf include conf/ostro-multilib.conf

Then you need the recipe from the meta-intel-galileo layer:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-galileo/tree/recipes-galileo/galileo-target

add that package to

OSTRO_IMAGE_EXTRA_INSTALL += " \ galileo-target \ "

After building and booting, you should be able to use the Arduino IDE as per a normal galileo.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ostroproject/ostro-os/issues/123#issuecomment-227336124, or mute the thread https://github.com/notifications/unsubscribe/ASZu6_oROk_XhOTaevxluwSv7VfoOt5Iks5qN2THgaJpZM4I2WVx .

gvancuts commented 8 years ago

Where exactly you place the meta-intel-galileo does not matter too much. You will need to add it to your build system though, the easiest for that is to run "bitbake-layers add-layer <path/to/meta-intel-galileo>".

Make sure you have these two extra lines in your conf/local.conf file: include conf/ostro-multilib.conf OSTRO_IMAGE_EXTRA_INSTALL += "galileo-target"

HTH

pksm commented 8 years ago

Hey Geoffroy,

I did what you said, but still got this error: "ERROR: No recipes available for: ~/ostro-os/meta-intel-galileo/recipes-core/images/iot-devkit%.bbappend". Can you help me solve this? Thanks.

2016-06-28 7:42 GMT-03:00 Geoffroy Van Cutsem notifications@github.com:

Where exactly you place the meta-intel-galileo does not matter too much. You will need to add it to your build system though, the easiest for that is to run "bitbake-layers add-layer ".

Make sure you have these two extra lines in your conf/local.conf file: include conf/ostro-multilib.conf OSTRO_IMAGE_EXTRA_INSTALL += "galileo-target"

HTH

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ostroproject/ostro-os/issues/123#issuecomment-229014451, or mute the thread https://github.com/notifications/unsubscribe/ASZu6_1VcPGFTKds8YL9R--Nhtkazlkgks5qQPqSgaJpZM4I2WVx .

gvancuts commented 8 years ago

Hopefully @tripzero can, I have not tried this myself yet. Maybe what Kevron was suggesting is to not copy the entire layer but just transfer the recipe in one of your existing layers.

mythi commented 8 years ago

@pksm hi, are you still playing with this?