2014-11-28 17:43:29 +01:00
|
|
|
*********************
|
|
|
|
* MIPS Creator CI20 *
|
|
|
|
*********************
|
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
2014-11-28 17:43:29 +01:00
|
|
|
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.
|
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
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.
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
You may now build your rootfs with:
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
$ make
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
(This may take a while, consider getting yourself a coffee ;-) )
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
How to write the SD card
|
|
|
|
========================
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
Once the build process is finished you will have an image called
|
|
|
|
"sdcard.img" in the output/images/ directory.
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
Make sure the SD card is not mounted then copy the bootable "sdcard.img" onto
|
|
|
|
it with "dd":
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
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.
|
2014-11-28 17:43:29 +01:00
|
|
|
|
2018-01-09 17:08:28 +01:00
|
|
|
see: https://elinux.org/CI20_Hardware#Dedicated_UART_header
|