Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
software:linux:toradex:loading [2023-07-07 14:18] – Urs Graf | software:linux:toradex:loading [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Toradex Colibri i.MX6 ====== | ||
- | |||
- | ===== Loading Image to a Board ===== | ||
- | ==== 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.\\ | ||
- | If you are using our [[embedded_systems: | ||
- | |||
- | |||
- | ===== Crossdeveloping Applications ===== | ||
- | If you use our standard rootfs as described above, you have GCC 5.3 installed. For crossdevelopment you need the same toolchain (same gcc and library version) on the host and the target. Download this toolchain from out FTP: '' | ||
- | < | ||
- | $ tar –xzvf host_tc_arm_gcc5_3_RT.zip | ||
- | </ | ||
- | To build an application for that system, provide CMake the path to the CMake toolchainfile. This file can be found in your toolchain folder and from there navigate to ''/ | ||
- | |||
- | * [[ .: | ||
- | |||
- | ===== Accessing the UART's ===== | ||
- | UART-A (used for console, see above) and UART-B can be accessed on the cb20 board. Both can be written to with | ||
- | < | ||
- | echo "hello world" | sudo tee / | ||
- | echo "hello world" | sudo tee / | ||
- | </ | ||
- | |||
- | ===== Build new System Images ===== | ||
- | ==== 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) ]] | ||
- | * [[ .: | ||
- | * [[ .: | ||
- | * [[ .: | ||
- | * [[ .:eim | EIM driver ]] | ||
- | * [[ .:rootfs | Root FS ]] | ||
- | * [[ .:wifi | WiFi on iMX6]] | ||
- | |||
- | |||
- | 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 | ||
- | </ | ||
- | |||
- | ===== First steps with a newly flashed board ===== | ||
- | |||
- | After loading your new rootfs run the '' | ||
- | |||
- | ===== Device tree ===== | ||
- | |||
- | The device tree binary for the cb20 and evaluation board can be found on the NTB FTP server (\\inf004\ftp) | ||
- | |||
- | |||
- | |||