Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,769 Views

No kernel src in Galileo toolchain

I used the approach from https://software.intel.com/en-us/blogs/2015/03/04/creating-a-yocto-image-for-the-intel-galileo-board... IoT - Creating a Yocto image for the Intel® Galileo board using split layers | Intel® Developer Zone to build iot-devkit-prof-dev-image and then rum bitbake -c poulate-sdk to generate a toolchain.

 

When I looked into the toolchain, there is no Linux src, which should be in /opt/iot-devkit/1.7.3/sysroots/i586-poky-linux/usr/src. I noticed that kernel-devsrc package is not installed in the bitbake build toolchain. In fact, kernel-devsrc.bb cannot be found in the dizzy branch of openembedded-core layer.

Here are my questions:

1. Is therea way to generate linux src in the iotdk toolchain?

2. Can I just cp iotdk/build/tmp/sysroots/quark/usr/src/linux into the toolchain and use it as the kernel directory for kernel module development?

Any help is appreciated!

Tags (1)
5 Replies
Highlighted
Employee
11 Views

Hello rtestp-06,

Why do you want to build the Galileo's image using split layers? I mean, I'm asking you if there is a specific reason why you don't want to build the image normally, because if there's not, then I would suggest you to build the image by using Quark's BSP.

If that's the case, I would suggest you to read:

http://www.intel.com/content/www/us/en/support/processors/embedded-processors/000007128.html Intel® Quark™ SoC BSP 1.0.1 Build and Software User Guide

Or

http://www.intel.com/content/www/us/en/embedded/products/quark/quark-x1000-bsp-build-sw-rel-user-gui... Intel® Quark™ SoC X1000 BSP 1.2.1 Build & SW User Guide

The first one is for the Quark's BSP 1.0.1, which is the latest version that was specifically for Galileo. The second one is for Quark's BSP 1.2.1, which is the latest version. 1.2.1 is Galileo compatible but not Galileo specific and has fixed some issues present in version 1.0.1 as well as added some features.

Peter.

0 Kudos
Highlighted
Beginner
11 Views

Peter,

Thanks for the quick response.

I did try both BSP sources and the building guides. Unfortunately, the builds failed. For instance, when building Quark's BSP 1.2.1 in a Ubuntu 15.10 machine, the error was:

 

ERROR: Layer 'networking-layer' depends on layer 'meta-python', but this layer is not enabled in your configuration

 

 

0 Kudos
Highlighted
Employee
11 Views

As you can see in http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html# detailed-supported-distros Yocto Project Reference Manual, Ubuntu 15.X is not officially supported by the Yocto project yet, so this problem might be related to that. However a user found a workaround for building Edison's BSP on Ubuntu 15, you might be interested in checking it:

Peter.

0 Kudos
Highlighted
Beginner
11 Views

Hi Peter

What's difference between BSP1.2.0 and 1.2.1?

What's add new function and any update in BSP1.2.1?

Thanks

Clayder

0 Kudos
Highlighted
Employee
11 Views

0 Kudos