AnsweredAssumed Answered

TWR-LS1021A: No sound card available in SD_BOOT mode with Kernel Panic in idle mode

Question asked by srikanth krishnakar on Feb 5, 2015

Hello All,

 

I am booting SDK-v1.7 on TWR-LS1021A (x3) board in SD_BOOT mode. Unfortunately I am seeing that "vf610-sgtl5000" sound card is failing to register. This is default kernel and u-boot from sdk-v1.7 (rebuilt with SD_BOOT support).

 

Logs:

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

U-Boot SPL 2014.07-sdk-v1.7.x+g659b6a2 (Feb 05 2015 - 20:55:16)

 

 

U-Boot 2014.07-sdk-v1.7.x+g659b6a2 (Feb 05 2015 - 20:55:16)

 

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

Board: LS1021ATWR

CPLD:  V2.3

PCBA:  V4.0

VBank: 1

I2C:   ready

DRAM:  1 GiB

Using SERDES1 Protocol: 32 (0x20)

Flash: 128 MiB

MMC:   FSL_SDHC: 0

In:    serial

...

...

Starting kernel ...

 

Booting Linux on physical CPU 0xf00

Initializing cgroup subsys cpuset

Initializing cgroup subsys cpuacct

Linux version 3.12.19-rt30+ (root@lenovo) (gcc version 4.9.1 (Sourcery CodeBench 2014.11-36) ) #2 SMP Thu Feb 5 21:51:04 IST 2015

CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c73c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale LS1021A, model: LS1021A TWR Board

Memory policy: ECC disabled, Data cache writealloc

PERCPU: Embedded 7 pages/cpu @80d72000 s8192 r8192 d12288 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096

...

...

hw-breakpoint: maximum watchpoint size is 8 bytes.

bio: create slab <bio-0> at 0

3P3V: 3300 mV

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c i2c-0: IMX I2C adapter registered

i2c i2c-1: IMX I2C adapter registered

i2c i2c-2: of_i2c: modalias failure on /soc/i2c@21a0000/ltc2945@67

i2c i2c-2: IMX I2C adapter registered

 

...

...

hub 2-1:1.0: 4 ports detected

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

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

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

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

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

libphy: mdio@2d24000:02 - Link is Down

..

root@ls1021atwr:~# cat /proc/asound/cards

--- no soundcards ---


Followed with kernel panic, in idle mode:


root@ls1021atwr:~# INFO: rcu_sched self-detected stall on CPU { 0}  (t=2100 jiffies g=107 c=106 q=7)

CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.12.19-rt30+ #2

[<80010899>] (unwind_backtrace+0x1/0x8c) from [<8000e3ff>] (show_stack+0xb/0xc)

[<8000e3ff>] (show_stack+0xb/0xc) from [<803146cf>] (dump_stack+0x4b/0x60)

[<803146cf>] (dump_stack+0x4b/0x60) from [<8005686f>] (rcu_check_callbacks+0x121/0x3f2)

[<8005686f>] (rcu_check_callbacks+0x121/0x3f2) from [<8001fc53>] (update_process_times+0x2b/0x44)

[<8001fc53>] (update_process_times+0x2b/0x44) from [<80044b7b>] (tick_periodic+0x6b/0x88)

[<80044b7b>] (tick_periodic+0x6b/0x88) from [<80044c99>] (tick_handle_periodic+0x19/0x64)

[<80044c99>] (tick_handle_periodic+0x19/0x64) from [<8026928f>] (arch_timer_handler_phys+0x1f/0x26)

[<8026928f>] (arch_timer_handler_phys+0x1f/0x26) from [<8003dc6f>] (handle_percpu_devid_irq+0x3f/0x54)

[<8003dc6f>] (handle_percpu_devid_irq+0x3f/0x54) from [<8003b9c3>] (generic_handle_irq+0x13/0x1c)

[<8003b9c3>] (generic_handle_irq+0x13/0x1c) from [<8000c8fd>] (handle_IRQ+0x3d/0x60)

[<8000c8fd>] (handle_IRQ+0x3d/0x60) from [<800083d3>] (gic_handle_irq+0x2b/0x44)

[<800083d3>] (gic_handle_irq+0x2b/0x44) from [<8031745b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804edeb0 to 0x804edef8)

dea0:                                     00000001 00200000 00000100 00000000

dec0: 804ec018 00000000 00000082 8052ee00 80003010 410fc075 0000000a 00000000

dee0: 00000000 804edef8 8001b4c7 8001b506 400e0133 ffffffff

[<8031745b>] (__irq_svc+0x3b/0x5c) from [<8001b506>] (__do_softirq+0x52/0x120)

[<8001b506>] (__do_softirq+0x52/0x120) from [<8001b639>] (do_softirq+0x2d/0x38)

[<8001b639>] (do_softirq+0x2d/0x38) from [<8001bb65>] (irq_exit+0x4f/0x8e)

[<8001bb65>] (irq_exit+0x4f/0x8e) from [<8000c901>] (handle_IRQ+0x41/0x60)

[<8000c901>] (handle_IRQ+0x41/0x60) from [<800083d3>] (gic_handle_irq+0x2b/0x44)

[<800083d3>] (gic_handle_irq+0x2b/0x44) from [<8031745b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804edf70 to 0x804edfb8)

df60:                                     ffffffed 00000000 00889000 00000000

df80: 804ec000 804ec000 804ddf00 80d6fd40 80003010 410fc075 00000000 00000000

dfa0: 00000008 804edfb8 8000cae5 8000cae6 600e0033 ffffffff

[<8031745b>] (__irq_svc+0x3b/0x5c) from [<8000cae6>] (arch_cpu_idle+0x1a/0x20)

[<8000cae6>] (arch_cpu_idle+0x1a/0x20) from [<8003b95d>] (cpu_startup_entry+0x7d/0xc4)

[<8003b95d>] (cpu_startup_entry+0x7d/0xc4) from [<804be819>] (start_kernel+0x221/0x274)

nfs: server 134.86.60.179 not responding, still trying

INFO: rcu_sched self-detected stall on CPU { 0}  (t=8403 jiffies g=107 c=106 q=7)

CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.12.19-rt30+ #2

[<80010899>] (unwind_backtrace+0x1/0x8c) from [<8000e3ff>] (show_stack+0xb/0xc)

[<8000e3ff>] (show_stack+0xb/0xc) from [<803146cf>] (dump_stack+0x4b/0x60)

[<803146cf>] (dump_stack+0x4b/0x60) from [<8005686f>] (rcu_check_callbacks+0x121/0x3f2)

[<8005686f>] (rcu_check_callbacks+0x121/0x3f2) from [<8001fc53>] (update_process_times+0x2b/0x44)

[<8001fc53>] (update_process_times+0x2b/0x44) from [<80044b7b>] (tick_periodic+0x6b/0x88)

[<80044b7b>] (tick_periodic+0x6b/0x88) from [<80044c99>] (tick_handle_periodic+0x19/0x64)

[<80044c99>] (tick_handle_periodic+0x19/0x64) from [<8026928f>] (arch_timer_handler_phys+0x1f/0x26)

[<8026928f>] (arch_timer_handler_phys+0x1f/0x26) from [<8003dc6f>] (handle_percpu_devid_irq+0x3f/0x54)

[<8003dc6f>] (handle_percpu_devid_irq+0x3f/0x54) from [<8003b9c3>] (generic_handle_irq+0x13/0x1c)

[<8003b9c3>] (generic_handle_irq+0x13/0x1c) from [<8000c8fd>] (handle_IRQ+0x3d/0x60)

[<8000c8fd>] (handle_IRQ+0x3d/0x60) from [<800083d3>] (gic_handle_irq+0x2b/0x44)

[<800083d3>] (gic_handle_irq+0x2b/0x44) from [<8031745b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804edeb0 to 0x804edef8)

dea0:                                     00000001 00200000 00000100 00000000

dec0: 804ec018 00000000 00000082 8052ee00 80003010 410fc075 0000000a 00000000

dee0: 00000000 804edef8 8001b4c7 8001b506 400e0133 ffffffff

[<8031745b>] (__irq_svc+0x3b/0x5c) from [<8001b506>] (__do_softirq+0x52/0x120)

[<8001b506>] (__do_softirq+0x52/0x120) from [<8001b639>] (do_softirq+0x2d/0x38)

[<8001b639>] (do_softirq+0x2d/0x38) from [<8001bb65>] (irq_exit+0x4f/0x8e)

[<8001bb65>] (irq_exit+0x4f/0x8e) from [<8000c901>] (handle_IRQ+0x41/0x60)

[<8000c901>] (handle_IRQ+0x41/0x60) from [<800083d3>] (gic_handle_irq+0x2b/0x44)

[<800083d3>] (gic_handle_irq+0x2b/0x44) from [<8031745b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804edf70 to 0x804edfb8)

df60:                                     ffffffed 00000000 00889000 00000000

df80: 804ec000 804ec000 804ddf00 80d6fd40 80003010 410fc075 00000000 00000000

dfa0: 00000008 804edfb8 8000cae5 8000cae6 600e0033 ffffffff

[<8031745b>] (__irq_svc+0x3b/0x5c) from [<8000cae6>] (arch_cpu_idle+0x1a/0x20)

[<8000cae6>] (arch_cpu_idle+0x1a/0x20) from [<8003b95d>] (cpu_startup_entry+0x7d/0xc4)

[<8003b95d>] (cpu_startup_entry+0x7d/0xc4) from [<804be819>] (start_kernel+0x221/0x274)

INFO: rcu_sched self-detected stall on CPU { 0}  (t=14706 jiffies g=107 c=106 q=7)

CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.12.19-rt30+ #2

[<80010899>] (unwind_backtrace+0x1/0x8c) from [<8000e3ff>] (show_stack+0xb/0xc)

[<8000e3ff>] (show_stack+0xb/0xc) from [<803146cf>] (dump_stack+0x4b/0x60)

[<803146cf>] (dump_stack+0x4b/0x60) from [<8005686f>] (rcu_check_callbacks+0x121/0x3f2)

[<8005686f>] (rcu_check_callbacks+0x121/0x3f2) from [<8001fc53>] (update_process_times+0x2b/0x44)

[<8001fc53>] (update_process_times+0x2b/0x44) from [<80044b7b>] (tick_periodic+0x6b/0x88)

[<80044b7b>] (tick_periodic+0x6b/0x88) from [<80044c99>] (tick_handle_periodic+0x19/0x64)

[<80044c99>] (tick_handle_periodic+0x19/0x64) from [<8026928f>] (arch_timer_handler_phys+0x1f/0x26)

[<8026928f>] (arch_timer_handler_phys+0x1f/0x26) from [<8003dc6f>] (handle_percpu_devid_irq+0x3f/0x54)

[<8003dc6f>] (handle_percpu_devid_irq+0x3f/0x54) from [<8003b9c3>] (generic_handle_irq+0x13/0x1c)

[<8003b9c3>] (generic_handle_irq+0x13/0x1c) from [<8000c8fd>] (handle_IRQ+0x3d/0x60)

[<8000c8fd>] (handle_IRQ+0x3d/0x60) from [<800083d3>] (gic_handle_irq+0x2b/0x44)

[<800083d3>] (gic_handle_irq+0x2b/0x44) from [<8031745b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804edeb0 to 0x804edef8)

 

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

 

Any inputs on sound card issue and kernel panic in idle mode are really appreciated.

 

Regards,

Srikanth

Outcomes