Mcuboot fails to open flash on nrf52840dk

Hi!
I'm currently developing a project that uses mcuboot. For some evaluation purposes, I'm testing stuff on nrf5480dk and today I came across a strange error.

After flashing my project onto DK, i get such error.
I cannot share my whole project right now, however I managed to reproduce the same exact error by adding nrf52840dk_nrf52840.overlay to sample mesh light:

/ {
	chosen {
		nordic,pm-ext-flash = &mx25r64;
	};
};

I'm using sdk connect v2.6.0.

Steps to reproduce:
1. Create nrf52840dk_nrf52840.overlay file in bluetooth/mesh/light sample
2. Build light sample for nrf52840dk with created overlay and dfu-overlay.conf

Related