AnsweredAssumed Answered

Qoriq SDK-2.0: Audio issue on TWR-LS1021A-PB Bank-1

Question asked by srikanth krishnakar on Jun 24, 2016

Hello,

 

Going through the documentation of Qoriq SDK 2.0 SAI Manual instructions, it mentions about using "rcw_1000.bin" i.e ls1021atwr/RSR_PPS_70/rcw_1000.bin

This works on Bank-0 as expected, we can perform audio playback and audio record from this NOR Bank-0.

 

Since Bank-1 supports Graphics (2D-ACE) and testing video files with audio support will be impossible with non-functional audio card on this Bank-1.

 

However the audio card is probed as expected but there is no sound when a playback is performed via AUDIO JACK PLUG (Headphone) and returns with an error. See below logs:

 

root@ls1021atwr:~# aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: D2b50000saisgtl [2b50000.sai-sgtl5000], device 0: 2b50000.sai-sgtl5000 sgtl5000-0 []

  Subdevices: 1/1

  Subdevice #0: subdevice #0

root@ls1021atwr:~#

root@ls1021atwr:~# aplay test_stereo_44100Hz_16bit_PCM.wav

Playing WAVE 'test_stereo_44100Hz_16bit_PCM.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

aplay: pcm_write:2004: write error: Input/output error

root@ls1021atwr:~#

 

U-boot Log for reference:

----------------------

U-Boot 2016.01-19723-g43ce180-dirty (Jun 24 2016 - 20:06:18 +0530)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)

Clock Configuration:

       CPU0(ARMV7):1000 MHz,

       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),

Reset Configuration Word (RCW):

       00000000: 0608000a 00000000 00000000 00000000

       00000010: 30000000 00007900 e0025a00 21046000

       00000020: 00000000 00000000 00000000 20000000

       00000030: 00080000 481b7340 00000000 00000000

I2C:   ready

Model: LS1021A TWR Board

Board: LS1021ATWR

CPLD:  V2.0

PCBA:  V1.0

VBank: 1

DRAM:  1 GiB

Using SERDES1 Protocol: 48 (0x30)

Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0

QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1

Flash: 128 MiB

MMC:   FSL_SDHC: 0

EEPROM: NXID v16777216

PCIe1: Root Complex no link, regs @ 0x3400000

PCIe2: disabled

In:    serial

Out:   serial

Err:   serial

SEC0: RNG instantiated

SATA link 0 timeout.

AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode

flags: 64bit ncq pm clo only pmp fbss pio slum part ccc

Found 0 device(s).

SCSI:  Net:   eTSEC1 is in sgmii mode.

eTSEC2 is in sgmii mode.

eTSEC1, eTSEC2, eTSEC3

----------------------

 

Could anyone confirm that AUDIO via Headphone JACK (SGTL5000) on BANK-1 is supported on LS1021A-PB ?

 

Thanks,

Skrishna

Outcomes