Opened 4 years ago

Closed 4 years ago

Last modified 20 months ago

#12096 closed defect (fixed)

XO-4 Q7A13 audio test impulse response flatlined with loopback cable

Reported by: Quozl Owned by: Quozl
Priority: blocker Milestone:
Component: ofw - open firmware Version: Development build as of this date
Keywords: Cc: Chia-Hsiu.Chang@…
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no


The audio test fails both channels in loopback mode, with the impulse response plot showing a flat line on both channels.


 ok select /audio 1 to plot?
 ok 5 to test-station diag-mode test /audio

The first and second impulse response curves are not flat.

Change History (14)

comment:1 Changed 4 years ago by chia-hsiu

duplicate with B-stage pre-build machine, OFW is Q7B01.
Fail rate is 50%, 10 of 20 times audio test.

comment:2 Changed 4 years ago by chia-hsiu

I'm testing Q7B03 and find it still may get failure when using automatic method to test audio jacks(loopback cable). I feel it's sensitively. Headphone jack first then mic jack seems better.

comment:3 Changed 4 years ago by Quozl

  • Action Needed changed from never set to diagnose
  • Milestone set to 4-firmware
  • Priority changed from normal to blocker

comment:4 Changed 4 years ago by Quozl

Symptom still occurs with SVN head. The symptom is missing if the startup sound volume is set to zero.

comment:5 Changed 4 years ago by Quozl

#12109 may relate.

comment:6 Changed 4 years ago by chia-hsiu

My test result as below

  1. when get-saved-volume is 0, 8/10 fail, 2/10 pass
  2. when get-saved-volume is ffffffce, 2/10 fail, 8/10 pass

comment:7 Changed 4 years ago by Quozl

  • Action Needed changed from diagnose to test in build
  • Blocked By 12109 added

Please test again with which is based on svn 3395. I've tested and the symptom no longer occurs.

comment:8 Changed 4 years ago by chia-hsiu

I have tested with Q7B04jc, it looks good when test-station is 4 or 5. I set volume large and tried about 20 times, only one failure appear.
But the failure rate still high when test-station is 1 (SMT). SMT audio test need a special fixture, so please skip speaker test by below command, and help to check again, thanks.

select /audio[[BR]]
patch noop acoustic-test automatic-test[[BR]]
1 to test-station diag-mode[[BR]]
test /audio

comment:9 Changed 4 years ago by Quozl

  • Action Needed changed from test in build to diagnose
  • Blocked By 12109 removed

Thanks, I see failure too. My testing was too brief. Investigating.

comment:10 Changed 4 years ago by chia-hsiu

I original think it may caused by different insert technique, but after continue test 10 times loopback without inserting loopback, it still have failure.
Test with svn head 3416.

dev /audio
patch noop acoustic-test automatic-test
patch noop connect-loopback loopback-test
patch noop disconnect-loopback loopback-test
1 to test-station
test /audio

test 10 times manually.

comment:11 Changed 4 years ago by wmb@…

Please test

That version passed 100 times in a row.

I gave up on trying to make the Marvell hardware work correctly, and instead changed the test so that it passes if the channel data is in the wrong order in memory.

Here is a way to run the test repeatedly, after doing the patches in the previous comment:

  ok 0
  ok dup .d 1+  test /audio  many

It will run the test until you type a key.

In over 300 runs, I saw 2 instances of "Right channel failure". In previous versions, the failure rate was about 1 in 6.

comment:12 Changed 4 years ago by chia-hsiu

Thanks! It's better than fail in production line.
I got three boards replaced with B1 version SoC(1Ghz & 1.2Ghz), the symptom is the same, failure rate is still high.
After flashing to q7b05ma, they all passed 100 times by previous cmd.

comment:13 Changed 4 years ago by Quozl

  • Action Needed changed from diagnose to no action
  • Resolution set to fixed
  • Status changed from new to closed

comment:14 Changed 20 months ago by Quozl

  • Milestone 4-firmware deleted

Milestone 4-firmware deleted

Note: See TracTickets for help on using tickets.