Problems building the kernel


2 posts
by keylevel » Tue Jun 26, 2012 7:33 am
I've been building kernel images using the 'Denzil' release of Yocto (see http://www.yoctoproject.org/). Some of the image run as expected, but the later commits fail to run and get the 'four-colour' boot failure screen.

One difference is the compiler version. 'Denzil' uses GCC 4.6.3. The development master of Yocto is now at GCC 4.7.0 and it seems as if no build work if this is used, which makes me think this may be an issue with the compiler version.

So, I reconfigured the build to use the previous release ('Edision'), which includes support for GCC 4.5.1. However, this gives similar results to those for 4.6.3 - i.e. the later images fail to run.

One thing I have spotted is the kernel images produced from my build system are half the size of the pre-built images at https://github.com/raspberrypi/linux.

Anyone seem anything like this before or have any ideas what may be going on?

I'm waiting to hear if the toolchain at https://github.com/raspberrypi/tools contains any patches to 4.5.1 and will update this thread when I know.
Posts: 13
Joined: Sun May 20, 2012 6:44 pm
by AndrewS » Tue Jun 26, 2012 1:40 pm
keylevel wrote:I'm waiting to hear if the toolchain at https://github.com/raspberrypi/tools contains any patches to 4.5.1 and will update this thread when I know.

Doesn't the GPL mean that the source code for the GCC binaries provided in that github is supposed to be made available somewhere? Once you have the source it'll be easy to tell what changes have been made...
User avatar
Posts: 3590
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK