Unsuccessful deployment when target is booting from emmc

Hi,

I have a successful deployment when the target is booting from sdcard but it fails when the target is booting from emmc. Is there anything I need to do?

2021-08-04 04:37:38 +0000 UTC info: Running Mender client version: 2.6.0
2021-08-04 04:37:40 +0000 UTC info: State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]
2021-08-04 04:37:40 +0000 UTC info: No public key was provided for authenticating the artifact
2021-08-04 04:37:40 +0000 UTC error: Artifact install failed: Payload: can not install Payload: hero-secc-firmware-release-hero-secc.ext4: No match between boot and root partitions.: exit status 1
2021-08-04 04:37:40 +0000 UTC info: State transition: update-store [Download_Enter] -> cleanup [Error]
2021-08-04 04:37:40 +0000 UTC info: State transition: cleanup [Error] -> update-status-report [none]

Kind regards,
Marizonne

I fixed this by setting

fw_setenv mender_boot_part 2
fw_setenv mender_boot_part_hex 2