On 2015-04-08 14:35, Mark Campbell wrote:

Out of curiosity, how does one install the RPi2 kernel on the RS6
image?  Boot it up first on a regular Pi, and install the RPi2 kernel
RPM?  Does that then mean it could boot on both?  Kinda like how
Raspbian works on both Pis now?

If you have a working ARM machine (any distro), you can mount
the RS image into a subdirectory and use it as a chroot for
purpose of installing the package. Mount the relevant
partition somewhere sensible like /mnt/ and do something
along the lines of:

mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys

cp new-kernel.rpm /mnt
chroot /mnt
rpm -ivh new-kernel.rpm
exit
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt

and you should now have an image containing the kernel you
wanted.

If you don't have an existing working ARM machine, you
can use QEMU to emulate one on an x86 machine, I seem
to recall there are instructions on how to get RS6
running in a QEMU emulated ARM machine on the wiki.

Gordan
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to