I'm using a ccimx6ulstarter (dey-2.2-r3) with a customized dey-image-tiny.
I want to perform a firmware update.
For this I created a dey-image-tiny-swu.bb file as the one of core-image-base-swu.bb .
Then I loaded a fw_env.config to the device under /etc containing the following:
# NAND example
# MTD device name Device offset Env. size Flash sector size Number of sectors
#/dev/mtd0 0x4000 0x4000 0x20000 2
/dev/mtd0 0x300000 0x20000 0x20000 1
When I perform this command:
# update-firmware /mnt/update/dey-image-tiny-swu-ccimx6ulstarter.swu
I've got this error:
Too few good blocks within range
Error: getenv 'recovery_command'
Could you please tell me what I'm missing ? Since the firmware update procedure is planned for core-image-base and not for dey-image-tiny.
Thanks in advance.