Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: Faruk on October 30, 2018, 03:34:38 PM

Title: How can I compile kernel ?
Post by: Faruk on October 30, 2018, 03:34:38 PM
Hello guys. I work for embedded Linux and I want compile kernel core. My harware is Olixonio A 13. Does anyone have done this before with Olinuxio? I searched document for this. Also if anyone can help for this please connect me. Thanks your time. Regards
Title: Re: How can I compile kernel ?
Post by: JohnS on October 30, 2018, 04:13:01 PM
What's wrong with the Olimex wiki?

John
Title: Re: How can I compile kernel ?
Post by: LubOlimex on October 31, 2018, 08:15:07 AM
https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A13/A13-build
Title: Re: How can I compile kernel ?
Post by: Faruk on November 01, 2018, 07:30:57 AM
Quote from: JohnS on October 30, 2018, 04:13:01 PM
What's wrong with the Olimex wiki?

John

I am new this job so I searched simple way. It is look like difficult for me. Thanks for you reply. If you have any suggestion please share with me.
Title: Re: How can I compile kernel ?
Post by: satilla on November 08, 2018, 11:51:17 AM
I am trying to compile the kernel according to github. First thing first I get an error while trying to install gcc-4.7. I changed sources.list on ubuntu.
If I install gcc-7, I get error on kernel compile stage. Error message shows that there are some missing files for gcc.

I think I have a problem with gcc-7. How can I install gcc-4.7 on Ubuntu?
Title: Re: How can I compile kernel ?
Post by: LubOlimex on November 08, 2018, 01:12:35 PM
Different versions of Ubuntu require different steps to install older versions of GCC. Try searching for installation instructions for the specific Ubuntu version that you have installed.

You might try this answer which seems to cover most scenarios: https://stackoverflow.com/questions/48398475/fail-to-install-gcc-4-9-in-ubuntu17-04