We are currently preparing to transition our IoT Gateway project to the production phase and need to load the OS onto the SOM Module with our custom board.
The SOM specific details are as follows:
SOM Module Part Number: IMX6ULL 256MB V1.1A
Our custom board is equipped with the following interfaces: SDCARD and Ethernet.
Could you please advise if there is a method to load the OS onto the SOM Module using our custom board without relying on EVK Board support?
Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
For loading an OS onto the i.MX6ULL 256MB V1.1A SOM using your custom board, you can follow a general approach that involves using the U-Boot bootloader, which is pre-installed on Toradex modules. Given that your custom board is equipped with SDCARD and Ethernet interfaces, you have a couple of options for loading the OS:
Using an SD Card:
Prepare an SD card with the OS image. You can use the dd command on a Linux machine to write the image to the SD card. Ensure the image is compatible with the i.MX6ULL module.
Insert the SD card into your custom board.
Power on the module and interrupt the U-Boot process by pressing a key over the serial console during boot.
Use the U-Boot commands to copy the OS image from the SD card to the module’s internal flash memory. This usually involves setting the correct environment variables and executing commands like fatload (to load the image from the FAT filesystem on the SD card) and nand write (to write the image to the NAND flash), depending on your storage medium.
Using Ethernet (TFTP):
Set up a TFTP server on your network and place the OS image in the server’s root directory.
Connect your custom board to the same network via Ethernet.
Power on the module and interrupt the U-Boot process by pressing a key over the serial console during boot.
Configure the module’s U-Boot environment variables to set up the network and specify the TFTP server’s IP address.
Use U-Boot commands to load the OS image from the TFTP server and write it to the module’s internal flash memory. Commands like tftp (to load the image from the TFTP server) and appropriate flash memory write commands are used in this process.
Both methods require familiarity with U-Boot commands and the boot process of the i.MX6ULL module. It’s crucial to have a serial console connection to the module during this process for monitoring output and interacting with the U-Boot bootloader.
Please ensure that you have a backup and understand the implications of writing to the module’s flash memory, as incorrect operations can render the module unbootable.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Could you please specify the u-boot commands to copy the OS image from the sd-card to module’s internal flash memory using both fatload and nand write?