Vicente Olivert Riera | 51a9555 | 2014-11-28 16:43:29 +0000 | [diff] [blame] | 1 | ********************* |
| 2 | * MIPS Creator CI20 * |
| 3 | ********************* |
| 4 | |
| 5 | The 'ci20_defconfig' will create a root filesystem and a kernel image |
| 6 | under the 'output/images/' directory. This document will try to explain how |
| 7 | to use them in order to run Buildroot in the MIPS Creator CI20 board. |
| 8 | |
| 9 | Assuming you are at the U-Boot prompt of the MIPS Creator CI20, you have to |
| 10 | load the generated kernel image by using the 'tftpboot' command. In |
| 11 | order to do that, you will need to get the network working. Here you |
| 12 | have the instructions to set the ip address, netmask and gateway: |
| 13 | |
| 14 | setenv ipaddr x.x.x.x |
| 15 | setenv netmask x.x.x.x |
| 16 | setenv gatewayip x.x.x.x |
| 17 | |
| 18 | Now you have to set the ip for the TFTP server you are going to load the |
| 19 | kernel image from, and also the name of the kernel image file (we use |
| 20 | 'uImage' as a filename in this example): |
| 21 | |
| 22 | setenv serverip x.x.x.x |
| 23 | setenv bootfile uImage |
| 24 | |
| 25 | And finally load the kernel image: |
| 26 | |
| 27 | tftpboot |
| 28 | |
| 29 | Now you have to extract the generated root filesystem into a USB drive |
| 30 | or SD-Card. Here you have the instructions to boot from the two of them. |
| 31 | You have to choose the one your prefer: |
| 32 | |
| 33 | From USB |
| 34 | setenv bootargs console=ttyS4,115200 console=tty0 mem=256M@0x0 |
| 35 | mem=768M@0x30000000 root=/dev/sda1 |
| 36 | |
| 37 | From SD-Card |
| 38 | setenv bootargs console=ttyS4,115200 console=tty0 mem=256M@0x0 |
| 39 | mem=768M@0x30000000 root=/dev/mmcblk0p1 |
| 40 | |
| 41 | And finally run this command to boot the board: |
| 42 | bootm |