Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| software:linux:toradex:colibri [2015-06-30 13:16] – angelegt abajric | software: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: | ||
| - | |||
| - | < | ||
| - | $ cd path/ | ||
| - | $ export WD=$(pwd) | ||
| - | </ | ||
| - | |||
| - | * [[ .:toolchain | Toolchain (for the kernel and modules) ]] | ||
| - | * [[ .: | ||
| - | * [[ .:kernel | Kernel ]] | ||
| - | * [[ .:eim | EIM driver ]] | ||
| - | * [[ .:rootfs | Root FS ]] | ||
| - | * [[ .: | ||
| - | |||
| - | |||
| - | After the first complete build, the environment variables can be set by a script (env.sh): | ||
| - | |||
| - | < | ||
| - | export WD=/ | ||
| - | export PATH=$WD/ | ||
| - | export PATH=$WD/ | ||
| - | export ARCH=arm | ||
| - | export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf- | ||
| - | export KERNELDIR=$EFS/ | ||
| - | </ | ||
| - | |||
| - | Source this script to load the variables: | ||
| - | |||
| - | < | ||
| - | $ . env.sh | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | ==== 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: | ||
| - | |||
| - | < | ||
| - | uboot> tftp $loadaddr colibri_imx6/ | ||
| - | </ | ||
| - | |||
| - | The u-boot variable " | ||
| - | |||
| - | Override the existing uImage with the new one: | ||
| - | |||
| - | < | ||
| - | uboot> fatwrite mmc 0:1 $loadaddr uImage $filesize | ||
| - | </ | ||
| - | |||
| - | Load the DTB: | ||
| - | |||
| - | < | ||
| - | uboot> tftp $loadaddr colibri_imx6/ | ||
| - | </ | ||
| - | |||
| - | Write DTB to flash: | ||
| - | |||
| - | < | ||
| - | uboot> fatwrite mmc 0:1 $loadaddr imx6dl-colibri-efs.dtb $filesize | ||
| - | </ | ||