Hi,
while trying to boot linux via sdcard, sound card is not getting detected, where as the same kernel when booted via NOR is getting detected without any issues. Followed instructions provided in QorIQ SDK 1.7 Documentation > Linux Kernel Drivers > Audio SAI section to enable Soundcard
Scenario1 Log Snippet (u-boot from NOR flash):
sgtl5000 1-000a: sgtl5000 revision 0x11
mmc0: new high speed SDHC card at address aaaa
sgtl5000 1-000a: Failed to get supply 'VDDD': -19
mmcblk0: mmc0:aaaa SU08G 7.40 GiB
1-000a: 1200 mV normal
sgtl5000 1-000a: Using internal LDO instead of VDDD
mmcblk0: p1 p2
vf610-sgtl5000 sound.9: sgtl5000 <-> 2b50000.sai mapping ok ()
oprofile: using timer interrupt.
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
Key type dns_resolver registered
regulator-dummy: disabling
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
#0: FSL-VF610-TWR-BOARD
Scenario2 (u-boot from SDCARD, same kernel)
sgtl5000: probe of 1-000a failed with error -110
vf610-sgtl5000 sound.9: ASoC: CODEC (null) not registered
vf610-sgtl5000 sound.9: TWR-AUDIO-SGTL board required :-517
platform sound.9: Driver vf610-sgtl5000 requests probe deferral
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
Key type dns_resolver registered
regulator-dummy: disabling
vf610-sgtl5000 sound.9: ASoC: CODEC (null) not registered
vf610-sgtl5000 sound.9: TWR-AUDIO-SGTL board required :-517
platform sound.9: Driver vf610-sgtl5000 requests probe deferral
ALSA device list:
No soundcards found.
Are there any clock or regulator settings to be made in u-boot or have to be passed when using bootloader from the SDCARD?
Hi Khandavalli
Can you compare RCW[SYS_PLL_CFG] and RCW[SYS_PLL_RAT]
values in two RCWs you are using for the case of NOR boot and
SDCARD boot.
Regards
Sinan Akman
Hi,
RCW{SYS_PLL_RAT} is 3 incase of NOR and RCW{SYS_PLL_CFG} is not availabe. Im using u-boot-spl-pbl for SDCARD which seems to be combination of RCW+pbl+u-boot. can you please let me know how can we check the values of SYS_PLL_RAT in this case.
Im using 2014.07 u-boot.
Regards,
Arun
Hi Arun
I don't know why you mention some of the RCW values (e.g. RCW{SYS_PLL_CFG}) are not available.
I use mainline u-boot and not the SDK. I recommend you use mainline u-boot
as well. TWR-LS1021 is supported. The latest mainline u-boot shows the
RCW values during boot up. Here is what I see on my board with mainline
u-boot :
Booting from SD :
-----------------------
U-Boot 2015.01-00293-gb56f6e2 (Jan 21 2015 - 21:24:19)
CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)
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: 20000000 00407900 60040a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00080000 881b7340 00000000 00000000
Booting fro NOR :
-----------------------
U-Boot 2015.01-00293-gb56f6e2-dirty (Jan 23 2015 - 00:25:40)
CPU: Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)
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: 70000000 00407900 e0025a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00080000 881b7340 00000000 00000000
So perhaps you can just give mainline u-boot a try. I am not
familiar with SDKs and I personally prefer we all work out
of mainline u-boot. Let me know if you need further help
with this.
Regards
Sinan Akman