Problems with SDCARD booting LS1021ATWR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with SDCARD booting LS1021ATWR

2,424 Views
khandavalli
Contributor I

Hi, I’m working on LS1021A-Twr hardware using QorIQ SDK-V1.7, according to Ls1021aatwr document SDboot is supported, I’m facing few issues w.r.t SDBOOT.

Following is my set-up description:

a) Hardware: LS1021A-TWR

b) Kernel-3.12.19, u-boot:2014.07

c) Booting u-boot,kernel and Rootfs are from the SD-CARD.

d) Rootfs uses Systemd

Problem Description:

1) With same kernel,rootfs booting from SDCARD, Audio card is not getting detected in case of u-boot compiled and booted from SDCARD, and is working perfectly with u-boot compiled and booted from NOR:

Sound Log Snippet when u-boot from NOR, Kernel & Rootfs SDCARD:

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

Sound Log Snippet when u-boot From SD, kernel & ROOTFS SDCARD:

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)

ALSA device list:

  No soundcards found.

2) Compared the rcw_1000.rcw and rcw_1000_sdboot.rcw important difference seemed to be in LVDD_SEL modified it accordingly but there wasn’t any change.

3) Understood that U-boot-spl-pbl.bin which is used for  SDBOOT is a combination of rcw+u-boot, can you let me know the process to independently flashing the rcw_1000_sdboot.bin with u-boot compiled for SDcard.

4) Also observed recursive crashes w.r.t CPU idle, when I left the board booted from SDCARD idle for 15-20mins when CPU trying to enter idle mode it was crashing,Please find below the crash log:

root@ls1021atwr:~# dmesg | grep -i sgtl

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

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

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

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

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

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

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

[<80301fdf>] (dump_stack+0x4b/0x60) from [<80052217>] (rcu_check_callbacks+0x121/0x3f2)

[<80052217>] (rcu_check_callbacks+0x121/0x3f2) from [<8001fa1b>] (update_process_times+0x2b/0x44)

[<8001fa1b>] (update_process_times+0x2b/0x44) from [<8004438b>] (tick_periodic+0x6b/0x88)

[<8004438b>] (tick_periodic+0x6b/0x88) from [<800444a9>] (tick_handle_periodic+0x19/0x64)

[<800444a9>] (tick_handle_periodic+0x19/0x64) from [<80258a17>] (arch_timer_handler_phys+0x1f/0x26)

[<80258a17>] (arch_timer_handler_phys+0x1f/0x26) from [<8003d48f>] (handle_percpu_devid_irq+0x3f/0x54)

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

[<8003b1e3>] (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 [<80304d5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d1eb0 to 0x804d1ef8)

1ea0:                                     00000001 00200000 00000100 00000000

1ec0: 804d0018 00000000 00000082 80511100 80003010 410fc075 0000000a 00000000

1ee0: 00000000 804d1ef8 8001b29f 8001b2de 400d0133 ffffffff

[<80304d5b>] (__irq_svc+0x3b/0x5c) from [<8001b2de>] (__do_softirq+0x52/0x120)

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

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

[<8001b93d>] (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 [<80304d5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d1f70 to 0x804d1fb8)

1f60:                                     ffffffed 00000000 00884000 00000000

1f80: 804d0000 804d0000 804c1510 80d4dcc0 80003010 410fc075 00000000 00000000

1fa0: 00000008 804d1fb8 8000cae5 8000cae6 600d0033 ffffffff

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

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

[<8003b17d>] (cpu_startup_entry+0x7d/0xc4) from [<804a1811>] (start_kernel+0x219/0x26c)

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

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

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

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

[<80301fdf>] (dump_stack+0x4b/0x60) from [<80052217>] (rcu_check_callbacks+0x121/0x3f2)

[<80052217>] (rcu_check_callbacks+0x121/0x3f2) from [<8001fa1b>] (update_process_times+0x2b/0x44)

[<8001fa1b>] (update_process_times+0x2b/0x44) from [<8004438b>] (tick_periodic+0x6b/0x88)

[<8004438b>] (tick_periodic+0x6b/0x88) from [<800444a9>] (tick_handle_periodic+0x19/0x64)

[<800444a9>] (tick_handle_periodic+0x19/0x64) from [<80258a17>] (arch_timer_handler_phys+0x1f/0x26)

[<80258a17>] (arch_timer_handler_phys+0x1f/0x26) from [<8003d48f>] (handle_percpu_devid_irq+0x3f/0x54)

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

[<8003b1e3>] (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 [<80304d5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d1eb0 to 0x804d1ef8)

1ea0:                                     00000001 00200000 00000100 00000000

1ec0: 804d0018 00000000 00000082 80511100 80003010 410fc075 0000000a 00000000

1ee0: 00000000 804d1ef8 8001b29f 8001b2de 400d0133 ffffffff

[<80304d5b>] (__irq_svc+0x3b/0x5c) from [<8001b2de>] (__do_softirq+0x52/0x120)

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

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

[<8001b93d>] (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 [<80304d5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d1f70 to 0x804d1fb8)

1f60:                                     ffffffed 00000000 00884000 00000000

1f80: 804d0000 804d0000 804c1510 80d4dcc0 80003010 410fc075 00000000 00000000

1fa0: 00000008 804d1fb8 8000cae5 8000cae6 600d0033 ffffffff

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

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

[<8003b17d>] (cpu_startup_entry+0x7d/0xc4) from [<804a1811>] (start_kernel+0x219/0x26c)

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

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

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

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

[<80301fdf>] (dump_stack+0x4b/0x60) from [<80052217>] (rcu_check_callbacks+0x121/0x3f2)

[<80052217>] (rcu_check_callbacks+0x121/0x3f2) from [<8001fa1b>] (update_process_times+0x2b/0x44)

[<8001fa1b>] (update_process_times+0x2b/0x44) from [<8004438b>] (tick_periodic+0x6b/0x88)

[<8004438b>] (tick_periodic+0x6b/0x88) from [<800444a9>] (tick_handle_periodic+0x19/0x64)

[<800444a9>] (tick_handle_periodic+0x19/0x64) from [<80258a17>] (arch_timer_handler_phys+0x1f/0x26)

[<80258a17>] (arch_timer_handler_phys+0x1f/0x26) from [<8003d48f>] (handle_percpu_devid_irq+0x3f/0x54)

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

[<8003b1e3>] (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 [<80304d5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d1eb0 to 0x804d1ef8)

1ea0:                                     00000001 00200000 00000100 00000000

1ec0: 804d0018 00000000 00000082 80511100 80003010 410fc075 0000000a 00000000

1ee0: 00000000 804d1ef8 8001b29f 8001b2de 400d0133 ffffffff

[<80304d5b>] (__irq_svc+0x3b/0x5c) from [<8001b2de>] (__do_softirq+0x52/0x120)

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

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

[<8001b93d>] (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 [<80304d5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d1f70 to 0x804d1fb8)

1f60:                                     ffffffed 00000000 00884000 00000000

1f80: 804d0000 804d0000 804c1510 80d4dcc0 80003010 410fc075 00000000 00000000

1fa0: 00000008 804d1fb8 8000cae5 8000cae6 600d0033 ffffffff

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

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

[<8003b17d>] (cpu_startup_entry+0x7d/0xc4) from [<804a1811>] (start_kernel+0x219/0x26c)

Labels (1)
Tags (2)
0 Kudos
7 Replies

1,673 Views
addiyi
NXP Employee
NXP Employee

2) 3) Please take a look on eSPI/SD/NAND Boot. Using QCVS PBL project will help you to create/modify PBL images.

Adrian

0 Kudos

1,673 Views
khandavalli
Contributor I

Hi Adrian,

I see that most of the examples are for Power-PC architecture, are the instructions similar for the LS1021 also? Also wanted to check whether complete booting via  SD is supported?

Regards,

Arun.

0 Kudos

1,673 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello khandavalli arun,


Sorry for the late reply.


Please check whether the above information would be helpful for you.


Thanks,

Yiping

0 Kudos

1,673 Views
khandavalli
Contributor I

Hi Yiping,

Sorry was struck up with something else, I have already tried both the solutions which you have given but there was no effect.

1) Audio Via SDCARD:

I have also compared the rcw_1000.rcw and rcw_1000_sd.rcw made changes accordingly and verifed, but still audio card wassnt getting detected.But I have seen that I2C2 is the adapter for both the sgtl-5000codec & SDHC_WP and SDHC_CD_N SD. Is the configuration not set properly when booted via SD? I also need to dig more further in the u-boot.

4)  RCU STALL:

ls1021atwr login: root

root@ls1021atwr:~# zcat /proc/con

config.gz  consoles  

root@ls1021atwr:~# zcat /proc/con

config.gz  consoles  

root@ls1021atwr:~# zcat /proc/config.gz | grep -i idle

# CONFIG_NO_HZ_IDLE is not set

CONFIG_GENERIC_SMP_IDLE_THREAD=y

CONFIG_GENERIC_IDLE_POLL_SETUP=y

# CPU Idle

CONFIG_CPU_IDLE=y

# CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set

CONFIG_CPU_IDLE_GOV_LADDER=y

CONFIG_CPU_IDLE_GOV_MENU=y

# ARM CPU Idle Drivers

# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

root@ls1021atwr:~#

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

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

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

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

[<80300ccf>] (dump_stack+0x4b/0x60) from [<80050fcb>] (rcu_check_callbacks+0x121/0x3f2)

[<80050fcb>] (rcu_check_callbacks+0x121/0x3f2) from [<8001f7e3>] (update_process_times+0x2b/0x44)

[<8001f7e3>] (update_process_times+0x2b/0x44) from [<800438d3>] (tick_periodic+0x6b/0x88)

[<800438d3>] (tick_periodic+0x6b/0x88) from [<800439f1>] (tick_handle_periodic+0x19/0x64)

[<800439f1>] (tick_handle_periodic+0x19/0x64) from [<80257703>] (arch_timer_handler_phys+0x1f/0x26)

[<80257703>] (arch_timer_handler_phys+0x1f/0x26) from [<8003c9d7>] (handle_percpu_devid_irq+0x3f/0x54)

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

[<8003a72b>] (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 [<80303a5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d3eb0 to 0x804d3ef8)

3ea0:                                     00000001 00200000 00000100 00000000

3ec0: 804d2018 00000000 00000082 80513100 80003010 410fc075 0000000a 00000000

3ee0: 00000000 804d3ef8 8001b263 8001b2a2 400e0133 ffffffff

[<80303a5b>] (__irq_svc+0x3b/0x5c) from [<8001b2a2>] (__do_softirq+0x52/0x120)

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

[<8001b3d5>] (do_softirq+0x2d/0x38) from [<8001b901>] (irq_exit+0x4f/0x6e)

[<8001b901>] (irq_exit+0x4f/0x6e) 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 [<80303a5b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804d3f70 to 0x804d3fb8)

3f60:                                     ffffffed 00000000 00883000 00000000

3f80: 804d2000 804d2000 804c44d0 80d4fd00 80003010 410fc075 00000000 00000000

3fa0: 804d2044 804d3fb8 8000cae5 8000cae6 600e0033 ffffffff

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

[<8000cae6>] (arch_cpu_idle+0x1a/0x20) from [<8003a6c9>] (cpu_startup_entry+0x79/0xbc)

[<8003a6c9>] (cpu_startup_entry+0x79/0xbc) from [<804a4811>] (start_kernel+0x219/0x26c)

INFO: rcu_sched self-detected stall on CPU { 0}  (t=8403 jiffies g=

0 Kudos

1,673 Views
khandavalli
Contributor I

Hi Yiping,

Regarding RCU Stall detecttion, I have further enabled the debugging configs, following is the debug trace for the same:

root@ls1021atwr:~# BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:0]

Modules linked in:

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

task: 804d3260 ti: 804c8000 task.ti: 804c8000

PC is at __do_softirq+0x52/0x120

LR is at __do_softirq+0x13/0x120

pc : [<8001af8a>]    lr : [<8001af4b>]    psr: 400f0133

sp : 804c9ef8  ip : 00000000  fp : 00000000

r10: 0000000a  r9 : 410fc075  r8 : 80003010

r7 : 8050c040  r6 : 00000082  r5 : 00000000  r4 : 804c8018

r3 : 00000000  r2 : 00000100  r1 : 00200000  r0 : 00000001

Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment kernel

Control: 70c53c7d  Table: bf1bf080  DAC: fffffffd

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

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

[<8000e3f7>] (show_stack+0xb/0xc) from [<802f7c37>] (dump_stack+0x4b/0x60)

[<802f7c37>] (dump_stack+0x4b/0x60) from [<8004cd65>] (watchdog_timer_fn+0xad/0xe8)

[<8004cd65>] (watchdog_timer_fn+0xad/0xe8) from [<8002b093>] (hrtimer_run_queues+0xcf/0x144)

[<8002b093>] (hrtimer_run_queues+0xcf/0x144) from [<8001f243>] (run_local_timers+0xf/0x34)

[<8001f243>] (run_local_timers+0xf/0x34) from [<8001f28b>] (update_process_times+0x23/0x44)

[<8001f28b>] (update_process_times+0x23/0x44) from [<80041a41>] (tick_periodic+0x5f/0x7e)

[<80041a41>] (tick_periodic+0x5f/0x7e) from [<80041b11>] (tick_handle_periodic+0x19/0x64)

[<80041b11>] (tick_handle_periodic+0x19/0x64) from [<80250197>] (arch_timer_handler_phys+0x1f/0x26)

[<80250197>] (arch_timer_handler_phys+0x1f/0x26) from [<8003b0b7>] (handle_percpu_devid_irq+0x3f/0x54)

[<8003b0b7>] (handle_percpu_devid_irq+0x3f/0x54) from [<80038e9f>] (generic_handle_irq+0x13/0x1c)

[<80038e9f>] (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 [<802fa61b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804c9eb0 to 0x804c9ef8)

9ea0:                                     00000001 00200000 00000100 00000000

9ec0: 804c8018 00000000 00000082 8050c040 80003010 410fc075 0000000a 00000000

9ee0: 00000000 804c9ef8 8001af4b 8001af8a 400f0133 ffffffff

[<802fa61b>] (__irq_svc+0x3b/0x5c) from [<8001af8a>] (__do_softirq+0x52/0x120)

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

[<8001b0bd>] (do_softirq+0x2d/0x38) from [<8001b5e1>] (irq_exit+0x4f/0x6e)

[<8001b5e1>] (irq_exit+0x4f/0x6e) 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 [<802fa61b>] (__irq_svc+0x3b/0x5c)

Exception stack(0x804c9f70 to 0x804c9fb8)

9f60:                                     ffffffed 00000000 0088d000 00000000

9f80: 804c8000 804c8000 804b8918 80d4fcc0 80003010 410fc075 00000000 00000000

9fa0: 804c8044 804c9fb8 8000cad5 8000cad6 600f0033 ffffffff

[<802fa61b>] (__irq_svc+0x3b/0x5c) from [<8000cad6>] (arch_cpu_idle+0x1a/0x20)

[<8000cad6>] (arch_cpu_idle+0x1a/0x20) from [<80038e3d>] (cpu_startup_entry+0x6d/0xb0)

[<80038e3d>] (cpu_startup_entry+0x6d/0xb0) from [<8049e811>] (start_kernel+0x219/0x26c)

mmc0: Timeout waiting for hardware interrupt.

INFO: rcu_sched self-detected stall on CPU

        0: (1 GPs behind) idle=f3f/2/0 softirq=0/0

         (t=2100 jiffies g=20 c=19 q=28)

0 Kudos

1,673 Views
eichest
Contributor I

Hi khandavalli arun


Did you find a solution for this problem, because I have exactly the same behavior if I boot from SD card.

Thanks in advice,

Stefan

0 Kudos

1,673 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello khandavalli arun,


1)2) I also found RCW[DVDD_VSEL] is different, probably this is the root cause.

3. In SDK 1.7, the file U-boot-spl-pbl.bin is built directly from u-boot source code, you could modify the file board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg.

If you use SDK build environment, you could use the following steps.

$ bitbake u-boot -c cleansstate

Modify the "UBOOT_CONFIG" as "sdcard" in meta-fsl-arm/conf/machine/ls1021atwr.conf.

$ bitbake u-boot -c patch

Go to the folder build_ls1021atwr_release/tmp/work/ls1021atwr-fsl-linux-gnueabi/u-boot-ls1/2013.10-r0/git and modify the file board/freescale/ls1021atwr/ls102xa_rcw_sd.cfg.

$ bitbake u-boot

After rebuild u-boot, you will get image u-boot-with-spl-pbl.bin in u-boot source folder.

4.  Please check whether it would be helpful to use "nohz=off" Kernel boot parameter to disable dyntick-idle mode.

This boot parameter "nohz=" that can be used to disable dyntick-idle mode in CONFIG_NO_HZ_IDLE=y kernel by specifying "nohz=off". By the default, the system boot with "nohz=on", enabling dyntick-idle mode.

An idle CPU that is not receiving scheduling-clock interrupts is said to be "dyntick-idle". The CONFIG_NO_HZ_IDLE=y Kconfig option causes the kernel to avoid sending scheduling-clock interrupts to idle CPUs, which is critically important both to battery-powered devices and to highly virtualized mainframes.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos