Arduino Portenta H7 Bootloader

Hi, I found out that my code runs like expected on an Arduino Portenta H7 Lite with bootloader v.23, but not on bootloader v.25.

What are the differences between these bootloaders and why does the command "dfu-util --list" show 3 flash spaces with bootloader v.23 (internal, external and flash) and 4 flash spaces with bootloader v.25?

Thanks in advance!