Flash image imx8QM

Hi,
I deployed my first image, and I’m trying to flash it on my SOM/Carrier.
Following this gui Flashing Embedded Linux over Ethernet
I’m having some trouble since I can’t find update.sh in any location.

Can someone please tell me where to find it?
I also accept suggestions if exists an easier way to do this.

Am I obliged to use Toradex Easy Installer?

Thanks,

Dear @Merlin,

Greetings and thank you for contacting the Toradex Community!

As you mentioned you are open to alternative methods of flashing, I would like to recommend you the USB ‘Auto-Flash method’. Please edit the image.json file and set the auto-install flag to ‘True’. Plug the USB device with the image in the carrier board and reboot the module. And now the image should automatically be installed.

You can also check the Boot-up messages by connecting the device to your serial console.

Hope this method works for you.

Best Regards,
Janani.

Hi Janani,
Thanks for your help. We Solved this problem thanks to your suggestion and now we are working on our custom image.
We are not new to Yocto so we can manage recipes and so on, but now I have another little question.

In the past we always used tftpboot command in u-boot also to re-write the kernel image.
Is there a fast way to flash only the kernel image to the module? This would be an easy way to test our kernel customization. Then, when we find the definitive configuration, we can create a patch and compile the whole Yocto image.

Best regards.

You may e.g. use U-Boot’s USB mass storage aka UMS feature to mount the entire eMMC user area on your Linux workstation and directly e.g. replace the Linux kernel binary in its BOOT partition:

Apalis iMX8 # ums 0 mmc 0

And please remember to ask new questions in our community if changing the topic. Thanks!