Update buidlroot to version 2016.08.1
This commit is contained in:
@@ -1,40 +1,32 @@
|
||||
Prepare the SD card for the Minnow Board
|
||||
========================================
|
||||
How to get started with the MinnowBoard (MAX)
|
||||
=============================================
|
||||
|
||||
1. Partition the SD card with a GPT partition table
|
||||
1. Build
|
||||
|
||||
sudo cgdisk /dev/mmcblk0
|
||||
Apply the defconfig:
|
||||
|
||||
Create two partitions:
|
||||
$ make minnowboard_defconfig
|
||||
|
||||
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).
|
||||
Or, for the Minnowboard MAX board:
|
||||
|
||||
b) Second partition of any size, which will be used to store the
|
||||
root filesystem. Type must be 8300 (Linux filesystem)
|
||||
$ make minnowboard_max_defconfig
|
||||
|
||||
2. Prepare the boot partition
|
||||
Add any additional packages required and build:
|
||||
|
||||
We will format it, mount it, copy the EFI data generated by
|
||||
Buildroot, and the kernel image.
|
||||
$ make
|
||||
|
||||
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
|
||||
2. Write the SD card
|
||||
|
||||
3. Prepare the root partition
|
||||
The build process will create a SD card image in output/images.
|
||||
Write the image to an mSD card, insert into the MinnowBoard
|
||||
and power the board on.
|
||||
|
||||
We will format it, mount it, and extract the root filesystem.
|
||||
$ dd if=output/images/sdcard.img of=/dev/mmcblk0; sync
|
||||
|
||||
sudo mkfs.ext3 -L root /dev/mmcblk0p2
|
||||
sudo mount /dev/mmcblk0p2 /mnt
|
||||
sudo tar -C /mnt -xf output/images/rootfs.tar
|
||||
sudo umount /mnt
|
||||
The system starts two consoles: one on the serial port
|
||||
and one on HDMI.
|
||||
|
||||
4. Enjoy
|
||||
3. Enjoy
|
||||
|
||||
Additional information about this board can be found at
|
||||
http://www.minnowboard.org/.
|
||||
|
||||
Reference in New Issue
Block a user