Remember that you can always refer to the Easy Installer Documentation, there you can find a lot of relevant articles that might help you in the process of load and flashing an image on your module.
Toradex provides several ways of installing Embedded Linux on a module.
There are methods better suited for development and production.
This article intends to point to every available method and explain their differences.
There are preferred methods for creating your own custom image:
Even though the Toradex Easy Installer is fit for production programming on practically all scenarios, if you have decided to use the Torizon Platform Services for remote system updates and maintenance, you can also use it as a tool to prepare a computer on module for production.
Learn more on Deploying Container Images to TorizonCore.
The most straightforward way to install any OS or distro on a Toradex module is through the Toradex Easy Installer platform.
It comes pre-installed with new modules and is very intuitive to use.
There are a few caveats when dealing with production programming which will be explained.
Note: Please note that not every module is compatible with the Toradex Easy Installer. A list of compatible modules can be found on Toradex Easy Installer - Load Toradex Easy Installer.
A complete overview of how to use the Toradex Easy Installer can be found on its Detailed Manual.
If you have already flashed an OS into your Computer-on-Module, you can follow the Load Toradex Easy Installer steps to reload it into the RAM of the module, so you can flash it with the desired image.
To flash the module, it's possible to either use one of Toradex's available images (from our OS and Demo Images) or use your own build provided by a USB drive, SD card, or a local server as explained in the Detailed Manual.
There are a few extra tools that the Toradex Easy Installer provides to aid production programming. Namely:
It is possible to pre-select which image will be installed without choosing it manually.
The auto-installation section provides instructions on how to set this up, which can be done through images provided by USB sticks and SD Card.
As an additional tool for auto-installing images, it is possible to provide the image, from the host PC, through a web server (e.g. Nginx) along with a DNS server.
Together with the auto-install feature, the image is flashed as soon as the module connects to the local network and identifies the webserver.
For more detailed instructions, read the Unattended Flashing over Ethernet section.
For more information visit the Toradex Easy Installer Documentation, more specifically:
Using the Toradex Easy Installer is the most straightforward way to flash an image to a module, in development or production.
However, if your module doesn't support it, the Legacy Method must be used instead.
Note: Legacy flashing method does not imply that the embedded Linux image is legacy. Warning: If possible you should use Toradex Easy Installer and not this legacy methods. In newer images, the legacy methods won't be available anymore.
It is possible to flash either through Ethernet or from an SD Card/USB Drive.
The following methods are suited for both development and production.
An important article to read beforehand is How to Setup Networking for Embedded Linux Application Development. It explains the general concept, as well as sets up the TFTP/NFS server on your host computer to serve the client (module).
On a development environment, the Boot From a TFTP/NFS server article provides detailed information on how to setup U-Boot to boot from a server hosted on your development PC for rapid and dynamic prototyping.
Then, on the production environment, the Flashing Linux Over Ethernet article provides information on how to flash images from a TFTP server running on your local machine.
This method uses bash script to flash the image from a USB drive or SD Card to a module. Instructions are specific to each SoC, the following links provide more information regarding each one: