On 12/06/15 02:29, Johnny Hughes wrote:
On 06/10/2015 11:44 AM, Mandar Joshi wrote:
Do you mind sharing how you created the disk image and kernel .. did you write it to nand or sd card.
I generated it using the RootFS Build Factory I am developing along with Ian for GSoC. The repositories used are the ones created by Fabian http://armv7.dev.centos.org/repodir/c7-buildroot/ http://armv7.dev.centos.org/repodir/c7-pass-1/ http://armv7.dev.centos.org/repodir/comps/
The development code is on Github. You can try if it works for you. I have generated the images on Fedora 21 ARM running on the Cubietruck. I've tested generating images for Raspberry Pi 2 and Cubietruck. There is a provision in the RootFS Build Factory to extend support for boards using simple Bash scripts. But I'll not get into the details of that right now.
The generated image has to be written to a microSD card using dd/dcfldd The README.md on github has everything to get you started.
I used RBF to generate a CentOS-7 image for the cubietruck and it works. Mandar, this is going to be a great GSoC project .. I am impressed with RBF so far !!!
I did the build using this Fedora 20 image from dl.cubieboard.org in the nand:
http://dl.cubieboard.org/software/a20-cubietruck/fedora/ct-fedora20-lxde-v2/
File: fedora20-nand-lxde-vga.img.gz in the above link.
My generated image is 4 GB is size. 1GB for swap, 2 GB for root partition, 500MB for /boot
Is swapping onto cheap SD card really a viable option? Would someting like zram be of more practical use?
Gordan