Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision |
software:linux:toradex:toradex-easy-installer [2020-04-20 12:52] – mlammerich | software:linux:toradex:toradex-easy-installer [2023-07-21 09:29] – Urs Graf |
---|
====== Toradex Easy Installer ====== | ====== Toradex Easy Installer ====== |
| |
The Toradex Easy Installer is Toradex's recommended option for flashing images onto their modules. It can be downloaded from the [[ https://developer.toradex.com/software/toradex-easy-installer#os-and-demo-images | Toradex Wiki ]]. | The Toradex Easy Installer is Toradex's recommended option for flashing images onto their modules. The method described below loads the installer into RAM, boots from there and allows to flash a new image. We were currently not able to boot from our current image into the Toradex Easy Installer sitting on a USB stick, see [[software:linux:toradex:boot_from_usb|software:linux:toradex:boot_from_usb]]. |
| |
===== Booting into Toradex Easy Installer ===== | |
| |
Download the Toradex Easy Installer from the [[ https://developer.toradex.com/software/toradex-easy-installer#os-and-demo-images | Toradex Wiki ]] and extract the downloaded archive onto a SD Card or USB Stick. Insert the into the Board's SD Card slot or USB port and power it on. | ===== Getting Toradex Easy Installer ===== |
| You need the Colibri evaluation module, see [[embedded_systems:imx6:evm|Colibri Evaluation Board from Toradex]]. Follow instructions on [[https://developer.toradex.com/easy-installer/toradex-easy-installer/loading-toradex-easy-installer|Loading Toradex Easy Installer]] to get the installer and load it via USB OTG into the RAM. First, you have to enter recovery mode, see //Using a command in the bootloader//. If there is no longer any bootloader on the board, follow instructions under //Using hardware mechanism//. Next, load the installer with [[https://developer.toradex.com/easy-installer/toradex-easy-installer/loading-toradex-easy-installer#load-toradex-easy-installer-through-the-usb-otg-interface|these instructions]]. It will now automatically boot into the Toradex Easy Installer. |
| |
Interrupt the boot process (hit any key) to boot into [[ .:uboot | uboot]]. Now run ''run bootcmd_mmc1'' to boot from the SD Card or ''run bootcmd_usb0'' to boot from USB. | |
| |
Note that while Toradex recommends using the ''run_distro_bootcmd'' this will boot from the modules internal flash if a bootable image is present. | |
| |
If you get an error along the lines of ''bootcmd_usb0 no found'' chances are that the board runs an older version of uboot that does not come with distroboot. In that case the bootloader can be updated by flashing a new toradex image [[ https://developer.toradex.com/knowledge-base/flashing-linux-on-imx6-modules | as described here ]]. | |
| |
===== Installing an Image ===== | ===== Installing an Image ===== |
</code> | </code> |
| |
The connect to the installer using | Then connect to the installer with |
<code> | <code> |
vncviewer <ip address> | vncviewer <ip address> |
</code> | </code> |
| |
The follwing window should appear: | The following window should appear: |
| |
{{:software:linux:toradex:tezi.png?400|}} | {{:software:linux:toradex:tezi.png?400|}} |
| |
Now select the desired image and click install. | Now select the desired image and click install. |
| |
| ===== Booting into Toradex Easy Installer ===== |
| |
| Download the Toradex Easy Installer from the [[ https://developer.toradex.com/software/toradex-easy-installer#download-toradex-easy-installer | Toradex Wiki ]] and extract the downloaded archive onto a SD Card or USB Stick (FAT32). Insert the into the Board's SD Card slot or USB port and power it on. |
| |
| Interrupt the boot process (hit any key) to boot into uBoot. Now run ''run bootcmd_mmc1'' to boot from the SD Card or ''run bootcmd_usb0'' to boot from USB. |
| |
| Note that while Toradex recommends using the ''run distro_bootcmd'' this will boot from the modules internal flash if a bootable image is present. |
| |
| If you get an error along the lines of ''bootcmd_usb0 no found'' chances are that the board runs an older version of uboot that does not come with distroboot. In that case the bootloader can be updated by flashing a new toradex image [[ https://developer.toradex.com/knowledge-base/flashing-linux-on-imx6-modules | as described here ]]. |
| |
| Note that if Toradex's ''update.sh'' script fails with ''not space left on device'', you can try increasing the |
| ''MIN_PARTITION_FREE_SIZE'' in ''update.sh'' to work around the issue. |
| |
| === Images Feeds === |
| |
| Images can be browsed on the [[ software:linux:images:start| Images Page]]. By adding the webserver address provided on the [[ software:linux:images:start| Images Page]] to the feeds, the images can be installed directly over the web. |
| |
=== Image not showing up === | === Image not showing up === |