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

How to understand file structure in edison image source file

Hi there,

I got very much confused about the file structure in edison src image. I listed my understandings to the following table. Execute me for many erroneous interpretation.

I will not use ruby, python, java, webserver. For IOT stuff, most likely no. Arduino part is absolutely no. By the way, the default occupies SPI CS0 just for the ADC on arduino breakout board. This is really annoy because no official documentation mentioned that. In addition, my board uses SPI5CS0 to MCP2515....which bugs me especially. The goal now is to build an image with only essential components (as advertised by yocto project).

here is the list of my questions.

1. How the layer structure is organized in edison yocto build.

2. how to remove arduino support from image?

3. how to remove JAVA, python, ruby from image?

4. Could you correct my understanding in the following table?

5. Any comments to my questions in the following table?

I understand I put quite a few questions here, but I would think many others beginners might have the same questions as mine, so it will be good to have some edison image building 101 to the community. Thanks very much for any answers.

Folder under \poky\

My understandings

My questions

meta

the governing layer

Should I make modifications to this layer to exclude unused layers?

meta-intel

should be a BSP layer

meta-intel-edison

should be a edison specific BSP layer

What is the relationship to "meta-intel" ?

meta-intel-galileo

Execue me? Galileo?!

Does edison src recipe has anything to galileo?

meta-intel-iot-devkit

another BSP layer for iot-devkit

what is use of this layer? Can I remove this layer?

meta-intel-iot-middleware

another BSP layer for iot-middleware

what is use of this layer? Can I remove this layer?

meta-intel-quark

Again, quark? Execue me, are you going to the wrong folder?

Does edison src recipe has anything to quark? <...

0 Kudos
6 Replies
idata
Community Manager
99 Views

Hi AnteaterS,

Thanks for your interest in the Intel Edison Platform.

In order to achieve what you want, you will have to build your own image and select the packages that suit your needs. Here are several links that might be helpful:

1) https://cdn-shop.adafruit.com/datasheets/EdisonUG.pdf https://cdn-shop.adafruit.com/datasheets/EdisonUG.pdf

 

2) http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# creating-a-general-layer-using-the-yocto-layer-script Yocto Project Development Manual

 

3) http://www.hackgnar.com/2016/01/manually-building-yocto-images-for.html hackgnar: Manually Building Yocto Images for the Intel Edison Board from Source

Now regarding your questions of the metadata layers in this link you will find the source repositories of Yocto, where it explains the function of all the layers: (http://git.yoctoproject.org/cgit/cgit.cgi/ Source Repositories ).

I hope you find this information useful, have a nice day!

Best Regards,

 

-Jose.
NNath3
New Contributor II
99 Views

With Yocto, you don't need to worry about having extra layers in the repository. The only things that get built into the image that gets put on the device are what's called out in the image recipe (edison-image.bb).

It looks like you're using the main Yocto repository. I suggest that you just clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison. If you follow the instructions on the readme there, you will be able to build the basic edison-image easily, and you can go from there. You will want to create your own layer for adding or customizing recipes, and you will want to create your own image recipe, for sure.

Thanks,

idata
Community Manager
99 Views

Hi AnteaterS,

 

 

Do you have any more questions? Please let us know in order to assist you.

 

 

Have a nice day!

 

 

Best Regards,

 

-Jose.
YYS_S
New Contributor I
99 Views

Hi Jose,

Thanks for replying, I was able to reduce some of the layers and modules from the build process, However, I can not flash the image to edison for some reason. The error message is

dfu-util: Device has DFU interface, but has no DFU functional descriptor

dfu-util: Cannot open DFU device 8087:0a99

The OS is native Ubuntu 16.04 LTS. It seem there is no existing solution so far other than going to windows platform....

I will open a new thread for this question.

idata
Community Manager
99 Views

 

Hi AnteaterS,

I'm glad that you were able to customize your image!

I think that this link might be useful to you: https://software.intel.com/en-us/flashing-firmware-on-your-intel-edison-board-linux IoT - Flashing the firmware on a system with Linux* (manual process) | Intel® Software

We will be waiting for your other thread in order to help you!

Hope you have a nice day!

Best Regards,

 

-Jose.
idata
Community Manager
99 Views

Hi AnteaterS,

 

 

Do you have any more questions regarding your new built image? Please let us know in order to assist you.

 

 

We hope you have a nice day!

 

 

Best Regards,

 

-Jose.
Reply