net core cant output log

my net core only output the boot information and i enable config_log that uart console will put some strange info

CONFIG_LOG_DEFAULT_LEVEL=3

appcore output to ttyACM1 and netcore is ttyACM0

another question : appcore uart console will make wrong while i use mcumgr command

Parents
  • Hi there,

    Could you share your project config file?

    regards

    Jared 

  • hi Jared 

    yeah ! as you know the netboot can output log  but  i don't care about netboot  ,  i only care  the hci_rpmsg sample   .

    the ttyACM0 should output hci_rpmsg sample's log  after netboot,  

    So I'm curious about why HCI sample don't have log output?

  • Hi,

    Ok.

    wangrj said:

    the ttyACM0 should output hci_rpmsg sample's log  after netboot,  

    So I'm curious about why HCI sample don't have log output?

    The project config file you shared earlier, was that for the HCI sample?

    I want to look at the prj.conf file that you use for the HCI sample on the netcore. 

    Did you add CONFIG_LOG=y to the prj.conf file of the hci_rpmsg sample and do a pristine build?

    Can you share the config file from the build folder? It should be at <sample>/build/hci_rpmsg/zephyr/.config after doing a pristine build. 

    regards

    Jared 

  • hi Jared  

    let me show you detail  

    there are one father image (hello sample) and three child image  (mcuboot hci_rpmsg b0n)

    1. this is father image prj.conf   that include CONFIG_BT and CONFIG_BOOTLOADER_MCUBOOT

    2.  b0n image   , i  already added CONFIG_LOG

    3.hci image  that  added CONFIG_LOG

    4 mcuboot image 

     

    final  let us to see the putty console ,   in the netcore ttyACM0 only shows "boot zephyr (b0n)"   ,not show hci_image log

    i would like to know  why  netcore can not completly output log 

Reply
  • hi Jared  

    let me show you detail  

    there are one father image (hello sample) and three child image  (mcuboot hci_rpmsg b0n)

    1. this is father image prj.conf   that include CONFIG_BT and CONFIG_BOOTLOADER_MCUBOOT

    2.  b0n image   , i  already added CONFIG_LOG

    3.hci image  that  added CONFIG_LOG

    4 mcuboot image 

     

    final  let us to see the putty console ,   in the netcore ttyACM0 only shows "boot zephyr (b0n)"   ,not show hci_image log

    i would like to know  why  netcore can not completly output log 

Children
Related