Skip to content

sof-logger error  #642

Closed
Closed

Description

@keqiaozhang

Today I tried the new sof-logger( in sof repo, under /tools/logger/sof-logger), but run to the following error:

chronos@localhost ~ $ sudo sof-logger -l sof-apl.ldc
Error: abi version in sof-apl.ldc file does not coincide with abi version used by logger.
chronos@localhost ~ $ sudo sof-logger -l sof-apl.ldc -t
Error: abi version insof-apl.ldc file does not coincide with abi version used by logger.

But sof-logger in soft repo is working well.

Tested with:
kernel-cros-sof-v4.14-rebase: f8f388ef
sof-master: 31cde1
tplg-master: ad3f3e4

Activity

  1. added
    bugSomething isn't working as expected
    APLApplies to Apollolake platform
    GLKApplies to Gemini Lake platform
    on Nov 28, 2018
  2. cujomalainey commented on Nov 28, 2018

    @cujomalainey
    Contributor

    The logger should be exactly the same with the same history as the top of SOFT. I think something is a little strange here.

  3. keyonjie commented on Nov 28, 2018

    @keyonjie
    Contributor

    yes I see the same issue today.

  4. bkokoszx commented on Nov 28, 2018

    @bkokoszx
    Collaborator

    Hi @keqiaozhang @keyonjie
    Could you try to rebuild rimage, then sof and try to reproduce issue?

  5. self-assigned this
    on Nov 28, 2018
  6. markyang commented on Nov 29, 2018

    @markyang

    Summary:
    This issue can be reproduced on BYT with ALC5651.
    but it works fine in Non-GUI Mode (Command Line mode)

    sudo ./sof-logger -l ./sof-byt.ldc
     CORE  LEVEL      COMP_ID                TIMESTAMP            DELTA                FILE_NAME    CONTENT
        0      1          DMA          67623255.729167  67623256.000000             dw-dma.c:1310   dw-dma: 1 status block 0x4 not cleared
        0      1          DMA          69323255.572917   1699999.875000             dw-dma.c:1310   dw-dma: 1 status block 0x4 not cleared
    sudo ./sof-logger -l ./sof-byt.ldc -t
     CORE  LEVEL      COMP_ID                TIMESTAMP            DELTA                FILE_NAME    CONTENT
    

    Test env:
    sof master: 920a3bc
    sof tool: ad3f3e4
    kernel sof-dev: 405e866
    tplg: test-ssp2-mclk-0-I2S-volume-s16le-s16le-48k-19200k-codec.tplg-ad3f3e4f

  7. markyang commented on Nov 29, 2018

    @markyang

    Because the version changed in abi.h, if the following steps are done, it will be OK:

    1. git clean -dxf

    2. rebuild rimage:
      auotgen.sh
      ./configure --enable-rimage
      make
      sudo make install

    3: rebuild sof-apl.ldc

  8. keqiaozhang commented on Nov 29, 2018

    @keqiaozhang
    CollaboratorAuthor

    Thanks @markyang and @bkokoszx
    This issue can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

APLApplies to Apollolake platformGLKApplies to Gemini Lake platformbugSomething isn't working as expectedverifiedQA/Bug reporter verifies solution worked.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions