All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel 3.19 on iMX6SL
@ 2015-02-14  1:10 John Tobias
  2015-02-14 18:28 ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: John Tobias @ 2015-02-14  1:10 UTC (permalink / raw)
  To: linux-mmc; +Cc: Aisheng Dong, Fabio Estevam, Shawn Guo, Dong Aisheng

Hello Guys,

I tried to use kernel 3.19 on my iMX6SL custom board and my eMMC is
running DDR50 mode.

Any available patch for this?.

Regards,

John


[   14.802775] mmc0: Timeout waiting for hardware interrupt.
[   14.808261] ------------[ cut here ]------------
[   14.812936] WARNING: CPU: 0 PID: 0 at drivers/mmc/host/sdhci.c:1013
sdhci_send_command+0x77c/0xfac()
[   14.822084] Modules linked in:
[   14.825190] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0 #16
[   14.831218] Hardware name: Freescale i.MX6 SoloLite (Device Tree)
[   14.837327] Backtrace:
[   14.839843] [<80012630>] (dump_backtrace) from [<8001284c>]
(show_stack+0x18/0x1c)
[   14.847429]  r7:803cd6b4 r6:80829eec r5:00000000 r4:00000000
[   14.853210] [<80012834>] (show_stack) from [<805bba1c>]
(dump_stack+0x8c/0xa4)
[   14.860476] [<805bb990>] (dump_stack) from [<8002ae10>]
(warn_slowpath_common+0x7c/0xb8)
[   14.868582]  r7:803cd6b4 r6:000003f5 r5:00000009 r4:00000000
[   14.874362] [<8002ad94>] (warn_slowpath_common) from [<8002aef0>]
(warn_slowpath_null+0x24/0x2c)
[   14.883162]  r8:9e5bbc80 r7:00000002 r6:00000001 r5:9e6ea680 r4:9e6ea64c
[   14.890010] [<8002aecc>] (warn_slowpath_null) from [<803cd6b4>]
(sdhci_send_command+0x77c/0xfac)
[   14.898827] [<803ccf38>] (sdhci_send_command) from [<803cf0f4>]
(sdhci_finish_data+0x124/0x378)
[   14.907541]  r10:9e5bbc80 r9:8007bae0 r8:9e5bbc80 r7:00000002
r6:00000001 r5:9e6ea680
[   14.915500]  r4:9e5bbc80
[   14.918083] [<803cefd0>] (sdhci_finish_data) from [<803cf55c>]
(sdhci_timeout_timer+0x78/0xc0)
[   14.926711]  r10:9e5bbc80 r9:8007bae0 r8:9e5bbc80 r7:00000100
r6:800f0113 r5:9e5bbdf8
[   14.934668]  r4:9e5bbc80
[   14.937264] [<803cf4e4>] (sdhci_timeout_timer) from [<8007bb50>]
(call_timer_fn+0x70/0xfc)
[   14.945544]  r7:00000100 r6:803cf4e4 r5:00000001 r4:80807df8
[   14.951326] [<8007bae0>] (call_timer_fn) from [<8007c844>]
(run_timer_softirq+0x1d0/0x268)
[   14.959606]  r9:803cf4e4 r8:00200200 r7:00000000 r6:80807e38
r5:81049940 r4:9e5bbeb0
[   14.967493] [<8007c674>] (run_timer_softirq) from [<8002e6a0>]
(__do_softirq+0x138/0x2c4)
[   14.975685]  r10:00000100 r9:80808080 r8:40000001 r7:80808080
r6:00000001 r5:80808084
[   14.983641]  r4:00000000
[   14.986221] [<8002e568>] (__do_softirq) from [<8002eb6c>]
(irq_exit+0xc4/0x138)
[   14.993545]  r10:00000000 r9:9e406000 r8:00000001 r7:00000000
r6:8080ed80 r5:00000000
[   15.001499]  r4:80803c74
[   15.004085] [<8002eaa8>] (irq_exit) from [<8006dfd8>]
(__handle_domain_irq+0x74/0xe8)
[   15.011930]  r5:00000000 r4:80803c74
[   15.015575] [<8006df64>] (__handle_domain_irq) from [<800087a0>]
(gic_handle_irq+0x28/0x68)
[   15.023941]  r9:808596d9 r8:808596d9 r7:a080e100 r6:8080eee4
r5:80807f18 r4:a080e10c
[   15.031821] [<80008778>] (gic_handle_irq) from [<800133a4>]
(__irq_svc+0x44/0x5c)
[   15.039323] Exception stack(0x80807f18 to 0x80807f60)
[   15.044396] 7f00:
    00000001 00000001
[   15.052600] 7f20: 00000000 80812038 80806000 8080e97c 8080e9c8
805c6854 808596d9 808596d9
[   15.060802] 7f40: 00000000 80807f6c 80807f30 80807f60 80061c34
8000f898 200f0013 ffffffff
[   15.068994]  r7:80807f4c r6:ffffffff r5:200f0013 r4:8000f898
[   15.074779] [<8000f870>] (arch_cpu_idle) from [<8005ccd8>]
(cpu_startup_entry+0x104/0x170)
[   15.083080] [<8005cbd4>] (cpu_startup_entry) from [<805b8e54>]
(rest_init+0xa8/0xd0)
[   15.090837]  r7:8080e8c0 r4:8081fe0c
[   15.094495] [<805b8dac>] (rest_init) from [<807b1c94>]
(start_kernel+0x35c/0x3d0)
[   15.101993]  r5:808598c0 r4:8080ea80
[   15.105641] [<807b1938>] (start_kernel) from [<80008074>] (0x80008074)
[   15.112188] ---[ end trace 6e256218d1342a6f ]---
[   15.122734] mmcblk0: error -110 sending status command, retrying
[   15.130269] mmcblk0: error -110 sending status command, retrying
[   15.136422] mmcblk0: error -110 sending status command, aborting
[   15.143632] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #34062: comm systemd-udevd: reading directory lblock 0
[   15.155299] EXT4-fs (mmcblk0p2): previous I/O error to superblock detected
[   15.162684] mmc0: card 0001 removed
[   15.474577] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.485447] EXT4-fs (mmcblk0p2): previous I/O error to superblock detected
[   15.504872] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.516960] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.530808] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.545607] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.563961] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.576783] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.593002] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.611407] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.627345] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.641492] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.660660] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.673743] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.685066] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.699344] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.710926] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.722999] EXT4-fs error (device mmcblk0p2): ext4_find_entry:1289:
inode #76: comm systemd: reading directory lblock 0
[   15.736645] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
[   15.756361] EXT4-fs warning (device mmcblk0p2):
__ext4_read_dirblock:674: error -5 reading directory block (ino 1641,
block 0)
Login incorrect

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 3.19 on iMX6SL
  2015-02-14  1:10 Kernel 3.19 on iMX6SL John Tobias
@ 2015-02-14 18:28 ` Fabio Estevam
  2015-02-15  7:00   ` John Tobias
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2015-02-14 18:28 UTC (permalink / raw)
  To: John Tobias; +Cc: linux-mmc, Aisheng Dong, Shawn Guo, Dong Aisheng

Hi John,

On Fri, Feb 13, 2015 at 11:10 PM, John Tobias <john.tobias.ph@gmail.com> wrote:
> Hello Guys,
>
> I tried to use kernel 3.19 on my iMX6SL custom board and my eMMC is
> running DDR50 mode.
>
> Any available patch for this?.

Dong's series that added mx6sl DDR50 support has been applied already:
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/205933.html

Make sure you have the 100 and 200MHz sdhc pinctrl entries in your dts
like it was done in this commit:

commit fa87dfd6d0b067bd962ab83754cf1991ee512c0c
Author: Dong Aisheng <b29396@freescale.com>
Date:   Wed Oct 9 19:20:07 2013 +0800

    ARM: dts: imx6sl: add pinctrl uhs states for usdhc

    This is needed for SD3.0 cards working on UHS mode.

    Signed-off-by: Dong Aisheng <b29396@freescale.com>
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 3.19 on iMX6SL
  2015-02-14 18:28 ` Fabio Estevam
@ 2015-02-15  7:00   ` John Tobias
  2015-02-17 19:01     ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: John Tobias @ 2015-02-15  7:00 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-mmc, Aisheng Dong, Shawn Guo, Dong Aisheng

Hi Fabio,

If I used kernel 3.13, it works fine. But, in kernel 3.19, it detect
and configured my eMMC in DDR50 mode. Sometimes, it boots okay and
able to login, but after few minutes it crashes.
Also, it happened during boot time.

Regards,

John

On Sat, Feb 14, 2015 at 10:28 AM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi John,
>
> On Fri, Feb 13, 2015 at 11:10 PM, John Tobias <john.tobias.ph@gmail.com> wrote:
>> Hello Guys,
>>
>> I tried to use kernel 3.19 on my iMX6SL custom board and my eMMC is
>> running DDR50 mode.
>>
>> Any available patch for this?.
>
> Dong's series that added mx6sl DDR50 support has been applied already:
> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/205933.html
>
> Make sure you have the 100 and 200MHz sdhc pinctrl entries in your dts
> like it was done in this commit:
>
> commit fa87dfd6d0b067bd962ab83754cf1991ee512c0c
> Author: Dong Aisheng <b29396@freescale.com>
> Date:   Wed Oct 9 19:20:07 2013 +0800
>
>     ARM: dts: imx6sl: add pinctrl uhs states for usdhc
>
>     This is needed for SD3.0 cards working on UHS mode.
>
>     Signed-off-by: Dong Aisheng <b29396@freescale.com>
>     Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 3.19 on iMX6SL
  2015-02-15  7:00   ` John Tobias
@ 2015-02-17 19:01     ` Fabio Estevam
  2015-02-17 19:20       ` John Tobias
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2015-02-17 19:01 UTC (permalink / raw)
  To: John Tobias; +Cc: linux-mmc, Aisheng Dong, Shawn Guo, Dong Aisheng

Hi John,

On Sun, Feb 15, 2015 at 5:00 AM, John Tobias <john.tobias.ph@gmail.com> wrote:
> Hi Fabio,
>
> If I used kernel 3.13, it works fine. But, in kernel 3.19, it detect
> and configured my eMMC in DDR50 mode. Sometimes, it boots okay and
> able to login, but after few minutes it crashes.
> Also, it happened during boot time.

At this moment I don't have anything else to suggest other than
running 'git bisect'.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel 3.19 on iMX6SL
  2015-02-17 19:01     ` Fabio Estevam
@ 2015-02-17 19:20       ` John Tobias
  0 siblings, 0 replies; 5+ messages in thread
From: John Tobias @ 2015-02-17 19:20 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: linux-mmc, Aisheng Dong, Shawn Guo, Dong Aisheng

Hi Fabio,

Thanks for the info. I will dig it once I started migrating from older
kernel to the latest one.

Regards,

John

On Tue, Feb 17, 2015 at 11:01 AM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi John,
>
> On Sun, Feb 15, 2015 at 5:00 AM, John Tobias <john.tobias.ph@gmail.com> wrote:
>> Hi Fabio,
>>
>> If I used kernel 3.13, it works fine. But, in kernel 3.19, it detect
>> and configured my eMMC in DDR50 mode. Sometimes, it boots okay and
>> able to login, but after few minutes it crashes.
>> Also, it happened during boot time.
>
> At this moment I don't have anything else to suggest other than
> running 'git bisect'.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-17 19:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-14  1:10 Kernel 3.19 on iMX6SL John Tobias
2015-02-14 18:28 ` Fabio Estevam
2015-02-15  7:00   ` John Tobias
2015-02-17 19:01     ` Fabio Estevam
2015-02-17 19:20       ` John Tobias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.