Here are the instructions, culled from my notes:

Feel free to put this on the Wiki. I am not good at formating things nicely. Just some notes

==========================================


This Cookbook is written for the Pogo v2 black.

The first step is to gain control of your pogoplug. And prepare to be able to boot Fedora 18. The instructions for this are at:

https://fedoraproject.org/wiki/Architectures/ARM/PogoplugUSBDisk

Having a serial console is valuable.  I used:

http://blog.qnology.com/2013/10/pogoplug-e02-v2-serial-connection.html

That and a USB to TTL converter and you are set with your serial console.

Build your Fedora 18 USB drive per the instructions and boot into F18.

Now on to Redsleeve 7.

First from your F18 boot image build the necessary boot tarballs:


tar -cJf f18-uboot.tar.xz -C  /boot .
tar -cJf f18-firmware.tar.xz -C  /lib/firmware .
tar -cJf f18-modules.tar.xz -C  /lib/modules .

Then move them to your work system.

From http://www.redsleeve.org/ get the Raspberry Pi2 image and make a USB drive:

xzcat /home/me/arm/RSEL/raspi-redsleeve7.1-cli-0.4.img.xz > /dev/sdb; sync

mount the rootfs partition and make a tarball from it, for example:

tar -cJf RSEL7-rootfs.tar.xz -C /run/media/me/fb43b218-b40e-4189-ae28-222e6b800079 .

Next use parted to make a clean USB drive.  For example:

parted /dev/sdb mklabel msdos
parted /dev/sdb mkpart primary ext3 4 211
parted /dev/sdb mkpart primary linux-swap 211 735
parted /dev/sdb mkpart primary ext4 735 8020
mke2fs -t ext3 -L uboot /dev/sdb1
mkswap /dev/sdb2
mke2fs -t ext4 -L rootfs /dev/sdb3

Mount the partitions and untar the tarballs you made:

tar -C /run/media/me/rootfs/ -Jxvf /home/me/arm/RSEL/RSEL-rootfs.tar.xz
tar -C /run/media/me/rootfs/lib/modules -Jxvf /home/me/arm/RSEL/f18-modules.tar.xz tar -C /run/media/me/rootfs/lib/firmware -Jxvf /home/me/arm/RSEL/f18-firmware.tar.xz
tar -C /run/media/me/uboot/ -Jxvf /home/me/arm/RSEL/f18-uboot.tar.xz

Change rootfs to:

/dev/sda3    /               ext4    defaults,noatime        0 0
/dev/sda2    swap        swap    defaults,noatime    0 0
/dev/sda1    /boot        ext3    defaults,noatime    0 0

You are now ready to put this usb drive into your pogoplug and enjoy running RSEL7 on it.

The current RPi2 image needs a little work to get yum working:

yum update http://ftp.redsleeve.org/pub/el7/packages/base/RPMS/changed/redsleeve-release-7-1.1503.el7.1.armv5tel.rpm
yum erase raspberrypi-config

If you don't want utc time, try something like:

timedatectl set-timezone America/Detroit # or whatever your favorite timezone is.

Enjoy!


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

Reply via email to