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?
To enable automatic booting from the SD card (mmc1) on your Apalis iMX8 QuadMax, you need to modify the U-Boot environment variables to set the SD card as the default boot source. Here’s how you can do it:
-
Interrupt the U-Boot boot process by pressing any key within the first 2 seconds after powering on the board.
-
Set the environment variables to load the kernel and device tree from the SD card and set the appropriate boot arguments. You can do this by running the following commands in the U-Boot console:
setenv bootcmd 'load mmc 1:1 $loadaddr Image.gz; load mmc 1:1 $fdt_addr_r imx8qm-apalis-v1.1-eval.dtb; unzip $loadaddr $kernel_addr_r; setenv bootargs "root=/dev/mmcblk1p2"; booti $kernel_addr_r - $fdt_addr_r' saveenv
-
Save the environment variables to make the changes persistent across reboots. The
saveenv
command will store the modified environment variables in the non-volatile storage. -
Reboot the board to test the new boot configuration:
reset
After performing these steps, your Apalis iMX8 QuadMax should automatically boot from the SD card (mmc1) without requiring manual intervention.
If you need to revert to the default boot configuration (booting from mmc0), you can interrupt the boot process again and reset the bootcmd
variable to its original value or use the env default -a
command to reset all environment variables to their default values.