RPi2 image of Second Snappy Ubuntu Core 15.04 stable release now available!

Paolo Pisati paolo.pisati at canonical.com
Wed Aug 19 18:22:54 UTC 2015

On Wed, Aug 19, 2015 at 05:26:44PM +0200, Víctor Mayoral Vilches wrote:
>    Thanks for putting time into this. I've spent some time trying to
>    reproduce your work with the aim of having a custom kernel on the
>    Snappy image for the RPi2.
>    My approach has been:
>      * Tried compiling the kernel from
>        [1]http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/
>      * Config (fetched from the Snappy image from the pi itself)
>        [2]https://github.com/vmayoral/ubuntu-vivid/blob/6048e721da04db6fe5
>        e024166bb5e65aa57b8b90/arch/arm/configs/config-3.19.0-23-generic_ha
>        cked_defconfig after removing the CONFIG_STRICT_DEVMEM=y option.
>      * Replaced the kernel (vmlinuz) in the appropriate partition.
>    The result is that the kernel does not boot. Gets stuck at
>    [3]https://gist.github.com/vmayoral/5c99fe85fbfc284740fd. Am i using
>    the right tree? Any tips on how to recreate the kernel Oliver included
>    on the last image?

-generic doesn't work on rpi2, don't even try it - the specific BSP kernel for
the rpi2 is hosted in the 'snappy_raspi2' branch of the git tree you mentioned

git checkout snappy_raspi2
export $(dpkg-architecture -aarmhf); export CROSS_COMPILE=arm-linux-gnueabihf-
fdrc && debian/rules build && fdr binary-generic-bcm2709

where fdr is an alias for 'fakeroot debian/rules' and fdrc is 'fdr clean'.

If you are hacking on the kernel source code, rapid prototyping, etcetc,
you can skip the entire .deb creation and just compile the kernel like this:

fdr prepare-generic-bcm2709
cp debian/build/build-generic-bcm2709/.config .
make etcetc...


More information about the snappy-devel mailing list