Re: RaspberryPi "is this a real kernel?"

From: John Whitmore
Date: Mon May 25 2015 - 05:28:17 EST


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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/