The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / minnowboard / readme.txt
1 Prepare the SD card for the Minnow Board
2 ========================================
3
4  1. Partition the SD card with a GPT partition table
5
6     sudo cgdisk /dev/mmcblk0
7
8     Create two partitions:
9
10      a) First partition of a few dozens of megabytes, which will be
11         used to store the bootloader and the kernel image. Type must
12         be EF00 (EFI partition).
13
14      b) Second partition of any size, which will be used to store the
15         root filesystem. Type must be 8300 (Linux filesystem)
16
17  2. Prepare the boot partition
18
19     We will format it, mount it, copy the EFI data generated by
20     Buildroot, and the kernel image.
21
22     sudo mkfs.vfat -F 32 -n boot /dev/mmcblk0p1
23     sudo mount /dev/mmcblk0p1 /mnt
24     sudo cp -a output/images/efi-part/* /mnt/
25     sudo cp output/images/bzImage /mnt/
26     sudo umount /mnt
27
28  3. Prepare the root partition
29
30     We will format it, mount it, and extract the root filesystem.
31
32     sudo mkfs.ext3 -L root /dev/mmcblk0p2
33     sudo mount /dev/mmcblk0p2 /mnt
34     sudo tar -C /mnt -xf output/images/rootfs.tar
35     sudo umount /mnt
36
37  4. Enjoy
38
39 Additional information about this board can be found at
40 http://www.minnowboard.org/.