Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building edison-image BSP with Linux 3.19.x #2

Open
hh opened this issue Jan 10, 2015 · 13 comments
Open

Building edison-image BSP with Linux 3.19.x #2

hh opened this issue Jan 10, 2015 · 13 comments

Comments

@hh
Copy link
Member

hh commented Jan 10, 2015

This issues is to document my attempt to a build of linux kernel 3.19 to build as a yocto linux BSP layer on top of the Intel Edison BSP layer.

The intel/maker/edison forum post for this is at https://communities.intel.com/message/272467#272467

Edison - Software Downloads includes http://downloadmirror.intel.com/24389/eng/edison-image-rel1-maint-rel1-ww42-14.zip
Which I imported into github: https://github.com/instantinfrastructure/edison-src
and is the src of this github repo.

The recipe we need to override is here:
./device-software/meta-edison/recipes-kernel/linux/linux-yocto_3.10.bbappend

I haven't found any working examples of layers that build against 3.19.x?

I did find a layer that does not change the kernel version at richards-tech/meta-edison-rt

@hh
Copy link
Member Author

hh commented Jan 10, 2015

It looks like out of the box 3.17 is the highest integrated into the yocto / poky distribution builder... http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-kernel/linux/linux-yocto_3.17.bb

@hh
Copy link
Member Author

hh commented Jan 10, 2015

linux-yocto-contrib seems to be getting the 3.19 stream http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-contrib/log/

I just hope enough of the intel-mid stuff has been merged at this point!

@hh
Copy link
Member Author

hh commented Jan 10, 2015

Opened a new repo for the edison bsp layer https://github.com/instantinfrastructure/meta-edison-ii

@hh
Copy link
Member Author

hh commented Jan 10, 2015

@hh hh changed the title Building edison-image BSP with Linux 3.19.x? Building edison-image BSP with Linux 3.19.x Jan 10, 2015
@hh
Copy link
Member Author

hh commented Jan 10, 2015

I'm a bit worried that the platform/intel-mid is hugely different between 3.10.17 (with the intel patches) and what is in 3.19.0-rc4.... I'm going to wait until I hear something from the platform/intel-mid folks before I head down this route to far

@hh
Copy link
Member Author

hh commented Jan 17, 2015

From http://layers.openembedded.org/layerindex/branch/master/layer/meta-intel/

Official layer for Intel platform/board support. This layer itself (at the top level) contains common components, and then there are sub-layers for each BSP which are listed individually in this index.

Maintainer: Nitin A Kamble [email protected]

However I don't see any kernel stuff on there...

@hh
Copy link
Member Author

hh commented Jan 17, 2015

@nitinkamble do you know where the edison bsp community repos are? I've gotten very little public information out of Intel, and this seems to be the correct external location but I don't find the word edison in any of these sources.

@hh
Copy link
Member Author

hh commented Jan 22, 2015

It look like the kernel configuration and source for many embedded devices don't get updated often. if we want the latest gadgets on devices like the Edison and Raspberry Pi, we are going to have to backport.
I'm interested in the bold ones.

  • 3.19 midi, hid
  • 3.18 uvc, uac2, uac1
  • 3.14 fs
  • 3.13 mass_storage
  • 3.11 subset, rndis, phonet, ncm, eem, ecm
  • 3.10 serial, obex, acm

@hh
Copy link
Member Author

hh commented Jan 22, 2015

This gave me the idea to retarget the first port to a raspi, at they have a 3.18 kernel

http://wiki.openmoko.org/wiki/Building_Gadget_USB_Module gave me an idea of how to build it as a module out of tree... sort of out of tree.

@pklapperich
Copy link

I see there's a 3.19.5 branch in the edison-linux repo: https://github.com/01org/edison-linux/tree/edison-3.19.5 ... not sure if it's stable

@andy-shev
Copy link

@pklapperich
Vanilla kernel (v4.11-rc1) supports most of the important parts of Edison out-of-the-box.

@hh
Copy link
Member Author

hh commented Mar 7, 2017

Nice! Thanks for the info @andy-shev !

@andy-shev
Copy link

andy-shev commented Mar 7, 2017

v4.11-rc1 is a bit unstable (looks like a boot time regression bug that makes watchdog fired at boot time). I pushed back my v.4.10 based branch for Edison which works nicely stable now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants