MCUBOOT LOGS

HI,

   Am using west tool to build and flash .and am following this link. https://docs.zephyrproject.org/3.0.0/guides/west/sign.html . they mentioned in that link after the cmd west flash -d build-hello-signed , it supposed to give the mcuboot logs as well as application prints. But after doing that i didn't get the mcuboot logs but am able to see the print msg from application . I need to see the mcuboot logs once application is running. Kindy help me what am i missing here. ( note -  am using windows environment )

  • Hi Shikamaru, 

    I don't see the relation between west flash -d build-hello-signed  and the log from MCUBoot. 

    What make build-hello-signed different is the -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE which mean a custom signature key is provided and will be used to sign the image. It has nothing to do with logging in MCUBoot. 

    Which log do you have when you boot ? 
    Have you configured (if you plan to send log to UART): 

    CONFIG_LOG=y
    CONFIG_LOG_BACKEND_UART=y
    In the prj.conf for MCUBoot project or in the overlay mcuboot.conf if you are in your application project. 
    If you do the overlay you should put it in something like this:



    mcuboot.conf file , inside child_image folder inside your project. 
Related