Environment Variable

HB_VP_LOG_LEVEL // Set the VP module log level, the value is 0, 1, 2, 3, 4, 5, corresponding to Verbose, Debug, Info, Warn, Error, Fatal, the default is Warn HB_DSP_LOG_LEVEL // Set the DSP module ARM side log level, the value is 0, 1, 2, 3, 4, 5, corresponding to Verbose, Debug, Info, Warn, Error, Fatal, the default is Warn HB_DSP_VDSP_LOG_LEVEL // Set the DSP module DSP side log level, the value is 1, 2, 3, 4, 5, corresponding to Debug, Info, Warn, Error, Fatal, the default is Warn
Note

DSP side logs can be obtained by following the steps as belows:

  • Configure environment variables to enable DSP logging outputs.

    export HB_DSP_ENABLE_CONFIG_VDSP=true export HB_DSP_WRITE_VDSP_LOG_TO_ARM=true
  • Start the log listening service.

    # VDSP0's logging service: /usr/bin/hrut_remoteproc_log -b dsp0 # VDSP1's logging service: /usr/bin/hrut_remoteproc_log -b dsp1