Error while creating signed bootloader for omnibusf4

i need help to resolve this error. i was creating bootloader and signed firmware for board name " Omnibusf4" but when i tried to sign it i got the following error:

[212/224] Compiling Tools/AP_Bootloader/bl_protocol.cpp

[213/224] Compiling Tools/AP_Bootloader/md5.cpp

[214/224] Compiling Tools/AP_Bootloader/can.cpp

[215/224] Compiling Tools/AP_Bootloader/network.cpp

[216/224] Compiling Tools/AP_Bootloader/custom.cpp

[217/224] Compiling Tools/AP_Bootloader/flash_from_sd.cpp

[218/224] Linking build/omnibusf4pro/lib/libAP_Bootloader_libs.a

[219/224] Linking build/omnibusf4pro/Tools/AP_Bootloader/liblibcanard.a

[220/224] Linking build/omnibusf4pro/bootloader/AP_Bootloader

/opt/homebrew/Cellar/arm-none-eabi-gcc/10.3-2021.10/gcc/bin/…/lib/gcc/arm-none-eabi/10.3.1/…/…/…/…/arm-none-eabi/bin/ld:common.ld:202 cannot move location counter backwards (from 0000000008006900 to 0000000008004000)

collect2: error: ld returned 1 exit status

Waf: Leaving directory `/Users/anshadlakha/ardupilot/build/omnibusf4pro’

Build failed

→ task in ‘bootloader/AP_Bootloader’ failed (exit status 1):

{task 4403132272: cxxprogram AP_Bootloader.cpp.7.o,bl_protocol.cpp.7.o,can.cpp.7.o,custom.cpp.7.o,flash_from_sd.cpp.7.o,md5.cpp.7.o,network.cpp.7.o,support.cpp.7.o → AP_Bootloader}

(run with -v to display more information)

Build failed: ./waf bootloader

Failed boards: [‘omnibusf4pro’]

Note: i tried changing the Hal storage size and flash reserve size but nothing worked. if i create normal bootloader(without signing it with public key) it works normally but as soon as i try to sign it i get the error.