path: root/board
diff options
authorGravatar Peter Korsgaard <peter@korsgaard.com>2014-11-02 21:59:47 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-11-02 22:04:22 +0100
commit8bc1b60a23a10ce197a33f6ed107c2d0a60f68b0 (patch)
tree7e63710cd9360a3796600f493c7f9207098c5e21 /board
parent99e149d7078c441a782ebbe72e268c2ecbbaed96 (diff)
board: add support for Minnowboard MAX
Very similar to the older Minnowboard, except that it works with mainline Linux, uses 64bit firmware and a realtek NIC needing firmware. The Linux configuration is based on the configuration fragment on elinux: http://elinux.org/Minnowboard:MinnowMaxLinuxKernel Many thanks to Circuitco for sponsoring a board. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
4 files changed, 95 insertions, 0 deletions
diff --git a/board/minnowboard-max/grub.cfg b/board/minnowboard-max/grub.cfg
new file mode 100644
index 0000000000..f38db8f62b
--- /dev/null
+++ b/board/minnowboard-max/grub.cfg
@@ -0,0 +1,6 @@
+set default="0"
+set timeout="5"
+menuentry "Buildroot" {
+ linux /bzImage root=/dev/mmcblk0p2 rootwait console=tty0 console=ttyS0,115200
diff --git a/board/minnowboard-max/linux-3.17.config b/board/minnowboard-max/linux-3.17.config
new file mode 100644
index 0000000000..d13f49282f
--- /dev/null
+++ b/board/minnowboard-max/linux-3.17.config
@@ -0,0 +1,47 @@
diff --git a/board/minnowboard-max/post-build.sh b/board/minnowboard-max/post-build.sh
new file mode 100755
index 0000000000..9f86d390f2
--- /dev/null
+++ b/board/minnowboard-max/post-build.sh
@@ -0,0 +1,2 @@
+cp board/minnowboard-max/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg
diff --git a/board/minnowboard-max/readme.txt b/board/minnowboard-max/readme.txt
new file mode 100644
index 0000000000..f865b663e9
--- /dev/null
+++ b/board/minnowboard-max/readme.txt
@@ -0,0 +1,40 @@
+Prepare the SD card for the Minnow Board MAX
+ 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.ext4 -L root /dev/mmcblk0p2
+ sudo mount /dev/mmcblk0p2 /mnt
+ sudo tar -C /mnt -xf output/images/rootfs.tar
+ sudo umount /mnt
+ 4. Enjoy
+Additional information about this board can be found at
+http://www.minnowboard.org/ or http://elinux.org/Minnowboard:MinnowMax.