NORA-B126 flash overflow

Hi,

we are trying to make the NORA-B126 (specifically its onboard LNA) work with nrf sdk 2.3.0 by modifying the 5340dk dts and defconfig files as specified in the NORA-B1_SIM_UBX-20027617.pdf

But it looks like the firmware won't fit anymore in the flash, and even trying to increase the flash sizes in the QKAA files has zero effects on the overflow reported.

zephyr\zephyr_pre0.elf section `text' will not fit in region `FLASH'
region `FLASH' overflowed by 12540 bytes
modules/nrf/lib/multithreading_lock/lib..__nrf__lib__multithreading_lock.a(multithreading_lock.c.obj): in function `k_mutex_lock':
build\multiprotocol_rpmsg\b0n/zephyr/include/generated/syscalls/kernel.h:955: undefined reference to `z_impl_k_mutex_lock'
modules/nrf/lib/multithreading_lock/lib..__nrf__lib__multithreading_lock.a(multithreading_lock.c.obj): in function `k_mutex_unlock':
b0n/zephyr/include/generated/syscalls/kernel.h:971: undefined reference to `z_impl_k_mutex_unlock'
modules/nrf/subsys/mpsl/init/lib..__nrf__subsys__mpsl__init.a(mpsl_init.c.obj): in function `mpsl_low_prio_irq_handler':
undefined reference to `k_work_submit_to_queue'
modules/nrf/subsys/mpsl/init/lib..__nrf__subsys__mpsl__init.a(mpsl_init.c.obj): in function `mpsl_low_prio_init':
undefined reference to `k_work_queue_start'
undefined reference to `k_work_init'
in function `k_sem_give':
undefined reference to `z_impl_k_sem_give'
in function `nrf_flash_sync_init':
undefined reference to `z_impl_k_sem_init'
in function `k_sem_take':
undefined reference to `z_impl_k_sem_take'
in function `k_sem_reset':
undefined reference to `z_impl_k_sem_reset'
collect2.exe: error: ld returned 1 exit status

Parents Reply Children
  • I am having the same exact issue with the same error message, and the same unchanged number of bytes overflowing regardless of whatever changes I make with the partitions. I am using nrf5340 with a different lna. I did not have this issue until I enabled mcuboot. I had the app working with the lna and zigbee, and lte-modem. but when i added mcuboot, everything broke. If i get a solution to this i will let you know.

Related