Re: RaspberryPi "is this a real kernel?"

From: Austin S Hemmelgarn
Date: Tue May 26 2015 - 09:53:27 EST


On 2015-05-25 05:24, John Whitmore wrote:
On Sun, May 24, 2015 at 09:11:56PM -0400, Valdis.Kletnieks@xxxxxx wrote:
On Sun, 24 May 2015 11:32:36 +0100, John Whitmore said:

$ ./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.

Looks like they try to use 'tail' to skip over something, but the + sign
in your uname -r gives it indigestion. Try building with a version name
that doesn't include a + sign, and complain to the maintainers of mkknlimg
that they've probably got a parameter quoting problem (most likely, there's
someplace a

tail -this -that $foo

needs to be

tail -this -that "$foo"

Thanks a million for that help. I'll do a bit of looking into the scripts.

Actually, unless you are using ancient firmware (from prior to the first production revisions of the Model B), you should be able to boot the zImage directly, just drop it in /boot and edit config.txt to point to it.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature