buildroot/board/minnowboard
Thomas Petazzoni 6104cc4f10 board: add support for the MinnowBoard
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-19 23:29:10 +01:00
..
grub.cfg board: add support for the MinnowBoard 2014-02-19 23:29:10 +01:00
linux-3.8.config board: add support for the MinnowBoard 2014-02-19 23:29:10 +01:00
post-build.sh board: add support for the MinnowBoard 2014-02-19 23:29:10 +01:00
readme.txt board: add support for the MinnowBoard 2014-02-19 23:29:10 +01:00

Prepare the SD card for the Minnow Board
========================================

 1. Partition the SD card with a GPT partition table

    sudo cgdisk /dev/mmcblk0

    Create two partitions:

     a) First partition of a few dozens of megabytes, which will be
        used to store the bootloader and the kernel image. Type must
        be EF00 (EFI partition).

     b) Second partition of any size, which will be used to store the
        root filesystem. Type must be 8300 (Linux filesystem)

 2. Prepare the boot partition

    We will format it, mount it, copy the EFI data generated by
    Buildroot, and the kernel image.

    sudo mkfs.vfat -F 32 -n boot /dev/mmcblk0p1
    sudo mount /dev/mmcblk0p1 /mnt
    sudo cp -a output/images/efi-part/* /mnt/
    sudo cp output/images/bzImage /mnt/
    sudo umount /mnt

 3. Prepare the root partition

    We will format it, mount it, and extract the root filesystem.

    sudo mkfs.ext3 -L root /dev/mmcblk0p2
    sudo mount /dev/mmcblk0p2 /mnt
    sudo tar -C /mnt -xf output/images/rootfs.tar
    sudo umount /mnt

 4. Enjoy

Additional informations about this board can be found at
http://www.minnowboard.org/.