Hello,
We are using Dart MX8M module with Yocto Sumo and we have added some of our own custom drivers for the some camera sensor modules that we use with it.
Now we followed the procedure mentioned in
https://variwiki.com/index.php?title=SWUpdate_Guide&release=RELEASE_SUMO_V2.2_DART-MX8M
to update the kernel over Ethernet and at step 2.4 when we upload a new software update image, we have the following error:
Software Update started !
[extract_file_to_tmp] : Found file: filename sw-description size 412
[parse_cfg] : Version 0.1.0
[parse_hw_compatibility] : Accepted Hw Revision : 1.0
[parse_files] : Found compressed File: var-image-swupdate-imx8m-var-dart.tar.gz --> / (/dev/update)
[parse_scripts] : Found Script: update.sh
[check_hw_compatibility] : Hardware imx8m-var-dart Revision: 1.0
[check_hw_compatibility] : Hardware compatibility verified
[extract_files] : Found file: filename update.sh size 1164 required
[extract_files] : Found file: filename var-image-swupdate-imx8m-var-dart.tar.gz size 579006930 required
[network_initializer] : Valid image found: copying to FLASH
ERROR bootloader/uboot.c : bootloader_env_set : 64 : Error: environment not initialized, No such file or directory
Installation in progress
[execute_shell_script] : Calling shell script /tmp/scripts/update.sh preinst : return with 0
[install_single_image] : Found installer for stream var-image-swupdate-imx8m-var-dart.tar.gz archive
ERROR handlers/archive_handler.c : install_archive_image : 165 : Device /dev/update with filesystem ext4 cannot be mounted
[install_single_image] : Installer for archive not successful !
ERROR bootloader/uboot.c : bootloader_env_set : 64 : Error: environment not initialized, No such file or directoryInstallation failed ![network_initializer] : Main thread sleep again !Waiting for requests...
[network_initializer] : Main loop Daemon
Can anyone please help?
Also are there any other methods of updating kernel over ethernet for Yocto?
Any helpful links or documents are very appreciated!
Thank you,
Best regards,
Sourodeep Biswas,
Hello Sourodeep,
I guess this is wrong download try to download the file again, or let´s see is someone of variscite can help?
Regards