Hello. I am trying to flash .swu to device and swupdate is throwing errors at me. The firmware was built using core-image-base-swu recipe and image check (swupdate -i -c) proved that it is not corrupted, yet it throws me errors like this:
SWUpdate v2022.12-dirty
Licensed under GPLv2. See source distribution for detailed copyright notices.
[INFO ] : SWUPDATE started : Software Update started !
[ERROR] : SWUPDATE failed [0] ERROR : cannot attach mtd0 - maybe not a NAND or raw device
[ERROR] : SWUPDATE failed [0] ERROR : cannot attach mtd2 - maybe not a NAND or raw device
[ERROR] : SWUPDATE failed [0] ERROR : cannot attach mtd6 - maybe not a NAND or raw device
[ERROR] : SWUPDATE failed [0] ERROR : cannot attach mtd8 - maybe not a NAND or raw device
[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file
[ERROR] : SWUPDATE failed [0] ERROR : Error: Cannot read default environment from file
[ERROR] : SWUPDATE failed [0] ERROR : cannot open UBI volume "/dev/ubi0_0"
[ERROR] : SWUPDATE failed [0] ERROR : Error streaming core-image-base-ccimx6ulstarter.boot.ubifs
swupdate_image_write failed: Connection reset by peer
[ERROR] : SWUPDATE failed [0] ERROR : SWUpdate *failed* !
I assume there might be something wrong with my system configuration, yet I am not sure where to look. Any tips would be much appreciated