Verdin AM62 torizon core docker not booting from SD

Hello,

I am trying to run the torizon-core-docker image on the verdin AM62 module on a custom carrierboard. I want to boot via a SD card, so i have followed the following guides to build and install the OS

I have set up the yocto environment with the correct MACHINE selected and i used bitbake torizon-core-docker to build the image. This generated a lot of files in ./build-torizon/deploy/images/verdin-am62. I created a SD card with a boot and a rootfs partition. On the rootfs partition, I unpacked the following tar file:
torizon-core-docker-verdin-am62.tar.xz
And on the boot partition I copied Overlays, overlays.txt, all k3-am625 dtb files and finally the Image.gz file.

I inserted the SD card in the board and looked at the serial output which is inserted below.
Screenshot from 2024-10-16 14-09-35

Am I not copying the correct files to the SD or is something else going wrong?

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the context provided, it seems you have followed the general procedure for booting from an SD card using the Toradex modules. However, there are a few things you might want to verify or try:

  1. U-Boot Configuration: Ensure that the U-Boot environment is correctly set to boot from the SD card. You should interrupt the boot process by pressing any key within the first 2 seconds and then execute the appropriate command (run bootcmd_mmc1 for SD card) to boot from the SD card.

  2. Correct Files: Double-check that you have copied all necessary files to the correct partitions. The boot partition should contain the kernel image (Image.gz), device tree files (k3-am625 dtb files), and any overlays if used. The root filesystem should be unpacked into the rootfs partition.

  3. Partition Labels: Ensure that the partitions are correctly labeled as boot and rootfs or as required by your setup.

  4. Serial Output: Review the serial output for any specific error messages that might indicate what is going wrong during the boot process. This can provide clues if there are missing files or incorrect configurations.

  5. Compatibility: Verify that the image and files you are using are compatible with the Verdin AM62 module and your custom carrier board.

If these steps do not resolve the issue, it might be helpful to consult the Toradex community forums or support for more specific guidance, as the context provided does not include detailed error messages or logs from the serial output.

Please, also check if these links can help you solve your problem:

Boot MCU from U-Boot on AM62X.

Hi @Jens0501!

First, just a couple of questions to understand your needs. Is there a project requirement for the USB boot? Why not install the image directly on the module?

Best regards.
Lucas Azeituno

Hi Lucas,

Installing the image directly on the module (via VNC viewer etc) works perfectly. However, we wanted to work with SD cards since we will not always have a reliable internet connection. So it seemed easier for modifying and swapping the images via yocto and an SD card.

Best regards,
Jens

Hi @Jens0501!

You can use Toradex Easy Installer with VNC viewer to install images even offline. Now, you are trying to boot from an SD Card (which we do not support right now), but you can use the same SD Card to install the image directly on the module.

Please refer to this article and click on the drop-down called “Preparation for Offline installation”. It will teach you how to install images offline using SD Cards (or USB Sticks).

Best regards.
Lucas Azeituno

Hi lucas,

Ok so booting from an SD is simply not supported. That then answers my question.

Thanks

Hi @Jens0501!

May I mark my answer as a solution then and consider this topic closed?

Best regards.
Lucas Azeituno