Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:linux:toradex:loading [2023-07-07 14:18] – Urs Graf | software:linux:toradex:loading [2023-07-07 14:19] – Urs Graf | ||
---|---|---|---|
Zeile 7: | Zeile 7: | ||
If you are using our [[embedded_systems: | 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 ===== | ===== Accessing the UART's ===== | ||
Zeile 24: | Zeile 15: | ||
</ | </ | ||
- | ===== 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 ===== | ===== First steps with a newly flashed board ===== | ||
After loading your new rootfs run the '' | 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) | ||