Finally got the Raspberry Pi 2, and installed Fedora 21 (armv7hl) with no problems.. Temporarily used object code 3.18.7-v7+ from the repository, and then tested kernel compile options..
The system seems (so far..) to be relatively sluggish compared to my other quad-core armv7 systems.. Compiling on the Pi 2 itself seemed relatively slow, but at least it was a realistic option..!
I got the latest (3.19.0) kernel from https://github.com/raspberrypi/linux/tree/rpi-3.19.y
Compiling the kernel + device tree was somewhat different from the Classic armv6 Pi… As usual, there are other ways of doing this, but this works, for me..
First time, run # make bcm2709_defconfig to get correct Pi 2 config..
Create config from (running) /proc/config.gz
make xconfig (if necessary..) make make modules_install make firmware_install cp System.map /boot cp arch/arm/boot/dts/bcm2709-rpi-2-b.dtb /boot rm -f /boot/kernel7.img.old mv /boot/kernel7.img /boot/kernel7.img.old (save the old/good kernel, just in case..) cp arch/arm/boot/Image /boot/kernel7.img
One thing to remember is that kernel7.img is just a copy of arch/arm/boot/Image, and there is no longer a requirement for tools/imagetool-uncompressed.py
If you want to call the kernel7.img file something else, just put a kernel=xxxxxx parameter in /boot/config.txt
If all goes well, you should see a clean boot…
$ uname -a Linux rgpi2 3.19.0-v7 #2 SMP PREEMPT Wed Feb 18 19:31:57 PST 2015 armv7l armv7l armv7l GNU/Linux
I did get the kernel compile to crash gcc at one point, but when I re-ran it, all was well.. I did check the cpu temperature while compiling, and it was around 41C..
Robert Gadsdon. February 18, 2015.