Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:toradex:loading [2023-07-07 14:18] Urs Grafsoftware: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:imx6:cb|Controller Board (cb20)]] you need a special USB/TTL-Serial-UART converter cable. The connector on the board is a 6-pin SIL connector, e.g. [[http://ch.farnell.com/ftdi/ttl-232r-3v3/kabel-usb-ttl-pegel-seriell-umsetzung/dp/1329311]]  
- 
- 
-===== 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: ''inf004/ftp/colibri_imx6/RT/host_tc_arm_gcc5_3_RT.zip'' and extract with 
-<code> 
-$ tar –xzvf host_tc_arm_gcc5_3_RT.zip 
-</code> 
-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 ''/usr/share/buildroot/toolchainfile.cmake''. 
- 
-  * [[ .:ubuntu_toolchain | Toolchain (for applications) ]] 
- 
-===== 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 
-<code> 
-echo "hello world" | sudo tee /dev/ttymxc0    # for console 
-echo "hello world" | sudo tee /dev/ttymxc1    # for UART-B 
-</code> 
- 
-===== 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: 
- 
-<code> 
-$ cd path/to/working/dir 
-$ export WD=$(pwd) 
-</code> 
- 
-  * [[ .:toolchain | Toolchain (for the kernel and modules) ]] 
-  * [[ .:bootloader | Bootloader ]] 
-  * [[ .:kernel_old | Kernel ]] 
-  * [[ .:devicetree | Device Tree ]] 
-  * [[ .: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): 
- 
-<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> 
- 
-===== First steps with a newly flashed board ===== 
- 
-After loading your new rootfs run the ''initial-setup.sh'' script in ''/opt/cb20/bin'' to allow the generation of SSH-Keys. Also the read-write partition mounted at /mnt/data is formatted. 
- 
-===== Device tree ===== 
- 
-The device tree binary for the cb20 and evaluation board can be found on the NTB FTP server (\\inf004\ftp) 
- 
- 
-