Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751065AbbEXKfp (ORCPT ); Sun, 24 May 2015 06:35:45 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:33218 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750927AbbEXKfn (ORCPT ); Sun, 24 May 2015 06:35:43 -0400 Date: Sun, 24 May 2015 11:32:36 +0100 From: John Whitmore To: linux-kernel@vger.kernel.org Subject: RaspberryPi "is this a real kernel?" Message-ID: <20150524103235.GA7663@bamboo.electronicsoup> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1507 Lines: 34 I tried to subscribe to the RaspberryPi Kernel mailing list a few days ago but I guess that my request has not been accepted as yet. Maybe it was missed so I re-tried a moment ago. Since I can't get in there I thought I'd try here. Apologies, bit of a panic. So I'm trying to make a few changes to the Ubuntu Mate kernel for the RaspberryPi V2. The Ubuntu kernel is 3.18.0-22 so I checked out, what I thought was the last version of 3.18.0 from the RaspberryPi Kernel git repo, did a make oldconfig, make menuconfig, to include CAN and stuff and then built the kernel without any issues. Now I'm not fully understanding the rest of the process but there's a utility in the RaspberryPi tools to actually take the output from the build and produce the image file for your SD card. It's questioning the integrity of my built kernel and I've no idea why. (I think it's lovely and can't see why anybody could question it!) $ ./mkknlimg ../../linux/arch/arm/boot/zImage 3.18.0-can+.img tail: +: invalid number of bytes * Is this a valid kernel? In pass-through mode. I'm using "mkknlimg" as the other utility "imagetool-uncompressed.py" is just giving me a data file. So can anybody help me to understand what it is that's going wrong with this process. John -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/