buildroot/board/ci20
Johannes Schmitz 523688ae5c board/ci20: create a SD card image
Add a genimage.cfg to create a working sdcard.img for the ci20
hardware.  We also need a uboot-env.txt to create the partition for
the uboot environment.

Update the board/ci20/readme.txt with the related information. Remove
the tftp netboot description from the readme as it is already to
complicated for a basic bootable example.

Signed-off-by: Johannes Schmitz <johannes.schmitz1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2018-01-12 22:43:19 +01:00
..
genimage.cfg board/ci20: create a SD card image 2018-01-12 22:43:19 +01:00
readme.txt board/ci20: create a SD card image 2018-01-12 22:43:19 +01:00
uboot-env.txt board/ci20: create a SD card image 2018-01-12 22:43:19 +01:00

*********************
* MIPS Creator CI20 *
*********************

Introduction
============

The 'ci20_defconfig' will create a root filesystem and a kernel image
under the 'output/images/' directory. This document will try to explain how
to use them in order to run Buildroot in the MIPS Creator CI20 board.

How to build it
===============

Configure Buildroot
-------------------

  $ make ci20_defconfig

Build the rootfs
----------------

Note: you will need to have access to the network, since Buildroot will
download the packages' sources.

You may now build your rootfs with:

  $ make

(This may take a while, consider getting yourself a coffee ;-) )

How to write the SD card
========================

Once the build process is finished you will have an image called
"sdcard.img" in the output/images/ directory.

Make sure the SD card is not mounted then copy the bootable "sdcard.img" onto
it with "dd":

  $ sudo dd if=output/images/sdcard.img of=/dev/sdX

Insert the SDcard into your ci20, and power it up. Your new system
should come up now and start a console on the UART HEADER.

see: https://elinux.org/CI20_Hardware#Dedicated_UART_header