Hello, we have a project with nRF5340 and SDK v2.6.0, and we can not obtain the logs from the network core b0n bootloader, but we do receive properly all the other logs. Our project is structured as follows:
- only 1 project, with main application core firmware
- logs printed OK through UART
- network core firmware being built as a child image of the application core
- logs printed OK through UART
- mcuboot enabled in application core through prj.conf
- logs printed OK through UART
- mcuboot included in network core as described here
- logs are not being printed at all
Mcuboot configuration is included in our main project (application core) as follows: project_folder/child_image/mcuboot.conf, and without any specification on the log method in such file, the application core shows mcuboot logs as expected :
But the network core does not show any log related to bootloader, but only the following:
Both prj.conf files (application core and network core) include the following lines for enabling UART logs, and they are both logging OK the printk() from their respective firmwares:
CONFIG_NRF53_SYNC_RTC=n CONFIG_SERIAL=y CONFIG_LOG=y CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y CONFIG_LOG_MODE_MINIMAL=n CONFIG_LOG_BACKEND_UART=y
Including the exact same configuration in mcuboot.conf, does not show any change in network core logging, and with or without such configuration, mcuboot logging in the application core are working OK.
When the project is built, we can see that b0n seems to build OK in the network core child image build folder:
As an interesting detail, during the build, after === child image mcuboot - begin ===, we receive the following warning:
but despite that warning, we do see the mcuboot logs correctly in the appplication core.
We would like to know if there is anything we can do to configure b0n uart logging correctly, or at this point we may also need to ensure that b0n is effectively running in the network core, given we are trying to implement multi image firmware update and need to debug some current issues.
Thank you very much for your support.
Leopoldo