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
  • Hello,

    trying to increase the flash sizes in the QKAA files has zero effects on the overflow reported.

    Well that is strange for a completely different reason, but lets stick to the main problem for now.

    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

    Could you try generating a memory report and see if you need everything that you have there? 

    And could you try uploading that pdf again? It didn't seem to work.

    Regards,

    Elfving

  • NORA-B1_SIM_UBX-20027617.pdf

    Here is the file, I think there is an underlying issue as even trying to remove unneeded code doesn't influence that overflow number by a bit: region `FLASH' overflowed by 12540 bytes.

  • 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.

Reply
  • 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.

Children
No Data
Related