Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

software:linux:toradex:colibri [2015-06-30 13:16] – angelegt abajricsoftware:linux:toradex:colibri [2015-06-30 16:15] (aktuell) – gelöscht abajric
Zeile 1: Zeile 1:
-====== Toradex Colibri i.MX6 ====== 
- 
-==== System Setup ==== 
- 
-Environment variables are used for building the components. On the first time, everything has to be build in the correct order. The first variable is the working directory: 
- 
-<code> 
-$ cd path/to/working/dir 
-$ export WD=$(pwd) 
-</code> 
- 
-  * [[ .:toolchain | Toolchain (for the kernel and modules) ]] 
-  * [[ .:bootloader | Bootloader ]] 
-  * [[ .:kernel | Kernel ]] 
-  * [[ .:eim | EIM driver ]] 
-  * [[ .:rootfs | Root FS ]] 
-  * [[ .:ubuntu_toolchain | Toolchain (for applications) ]] 
- 
- 
-After the first complete build, the environment variables can be set by a script (env.sh): 
- 
-<code> 
-export WD=/home/userXY/path/to/working/dir 
-export PATH=$WD/buildroot/output/host/usr/bin:$PATH 
-export PATH=$WD/u-boot/tools:$PATH 
-export ARCH=arm 
-export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf- 
-export KERNELDIR=$EFS/linux 
-</code> 
- 
-Source this script to load the variables: 
- 
-<code> 
-$ . env.sh 
-</code> 
- 
- 
- 
-==== RS232 Console ==== 
- 
-A login shell can be accessed through UART A on the Colibri Evaluation board with a null modem cable. The communication settings are: 115200 8N1. 
- 
- 
- 
-==== Loading new Kernel ==== 
- 
-Copy the uImage and the DTB on a FTP server. Turn the evaluation board on and interrupt autoboot by hitting any key. Load and save the uImage from the FTP server: 
- 
-<code> 
-uboot> tftp $loadaddr colibri_imx6/uImage-v3.10-2613-g667566e-27f54a31 
-</code> 
- 
-The u-boot variable "serverip" has to be set for this to work. 
- 
-Override the existing uImage with the new one: 
- 
-<code> 
-uboot> fatwrite mmc 0:1 $loadaddr uImage $filesize 
-</code> 
- 
-Load the DTB: 
- 
-<code> 
-uboot> tftp $loadaddr colibri_imx6/imx6dl-colibri-efs.dtb-b34079af 
-</code> 
- 
-Write DTB to flash: 
- 
-<code> 
-uboot> fatwrite mmc 0:1 $loadaddr imx6dl-colibri-efs.dtb $filesize 
-</code>