I have kernel oops issue with i.MX6Q with LAN8720 (SMSC PHY), SSM2604 (Analog Device Audio Codec)
* Kernel Version is imx_4.1.15_2.0.0_ga from git://git.freescale.com/imx/linux-imx.git
* The ethernet phy interface is RMII.
So I modified arch/arm/mach-imx/clk-imx6q.c like this.
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c
index ad0897a..808213f 100644
--- a/arch/arm/mach-imx/clk-imx6q.c
+++ b/arch/arm/mach-imx/clk-imx6q.c
@@ -898,7 +898,9 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node)
}
/*Set enet_ref clock to 125M to supply for RGMII tx_clk */
- clk_set_rate(clk[IMX6QDL_CLK_ENET_REF], 125000000);
+ //clk_set_rate(clk[IMX6QDL_CLK_ENET_REF], 125000000);
+
+ clk_set_rate(clk[IMX6QDL_CLK_ENET_REF], 50000000);
#ifdef CONFIG_MX6_VPU_352M
/*
And modified imx6qdl.dtsi is like below.
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 522d017..53291fe 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -1026,9 +1026,14 @@
fec: ethernet@02188000 {
compatible = "fsl,imx6q-fec";
reg = <0x02188000 0x4000>;
+ /*
interrupts-extended =
<&gpc 0 118 IRQ_TYPE_LEVEL_HIGH>,
<&gpc 0 119 IRQ_TYPE_LEVEL_HIGH>;
+ */
+ interrupts-extended = <0 74 IRQ_TYPE_LEVEL_HIGH>,
+ <0 75 IRQ_TYPE_LEVEL_HIGH>;
+
clocks = <&clks IMX6QDL_CLK_ENET>,
<&clks IMX6QDL_CLK_ENET>,
<&clks IMX6QDL_CLK_ENET_REF>;
I cannot figure out the problems.
But u-boot works fine. I also ported the u-boot in a similar way like the kernel.
May I ask any kind of hints, please..?
Thank you.
And this is kernel boot logs built for MFG tools
U-Boot 2016.01-dirty (Jun 22 2017 - 02:17:01 +0900)
CPU: Freescale i.MX6Q rev1.5 at 792MHz
CPU: Industrial temperature grade (-40C to 105C) at 34C
Reset cause: POR
Board: MX6Q-Einsys
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environmentIn: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Warning: FEC (eth0) using random MAC address - ca:75:03:a2:87:68Hit any key to stop autoboot: 0
Kernel image @ 0x10800000 [ 0x000000 - 0x508620 ]
## Loading init Ramdisk from Legacy Image at 12c00000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8591032 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Loading Ramdisk to 4ed1b000, end 4f54c6b8 ... OK
Loading Device Tree to 4ed0e000, end 4ed1aab2 ... OKStarting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.1.15+ (mach@sip) (gcc version 5.4.1 20170404 (Linaro GCC 5.4-2017.05) ) #1 SMP PREEMPT Thu Jun 22 01:03:18 KST 2017
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 Quad Einsys Board
Reserved memory: created CMA memory pool at 0x3a000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @bf709000 s16768 r8192 d24192 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 692756K/1048576K available (6482K kernel code, 242K rwdata, 2196K rodata, 384K init, 413K bss, 28140K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80881cdc (8680 kB)
.init : 0x80882000 - 0x808e2000 ( 384 kB)
.data : 0x808e2000 - 0x8091e980 ( 243 kB)
.bss : 0x80921000 - 0x80988634 ( 414 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 16 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 1024 kB
L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
mxc_clocksource_init 3000000
Switching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x10008280 - 0x100082f0
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6Q, silicon rev 1.5
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 110000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 8392K (bed1b000 - bf54d000)
CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
mxc_sdc_fb fb@0: NO mxc display driver found!
mxc_sdc_fb fb@1: NO mxc display driver found!
mxc_sdc_fb fb@2: NO mxc display driver found!
mxc_sdc_fb fb@3: NO mxc display driver found!
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.3
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 25, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 292, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
spi_imx 2008000.ecspi: probed
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
mousedev: PS/2 mouse device common for all mice
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
imx2-wdt 20c0000.wdog: use WDOG_B to reboot.
imx2-wdt 20c0000.wdog: timeout 60 sec (nowayout=0)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 01:06:15 UTC (3975)
VGEN3: disabling
VGEN2: disabling
VGEN1: disabling
SWBST: disabling
SW4: disabling
hdmi-5v-supply: disabling
ssm2604-supply: disabling
usb_h1_vbus: disabling
usb_otg_vbus: disabling
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 384K (80882000 - 808e2000)
Unable to handle kernel paging request at virtual address 3ee51000
pgd = a8590000
[3ee51000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 3 PID: 64 Comm: linuxrc Not tainted 4.1.15+ #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: a80df6c0 ti: a8580000 task.ti: a8580000
PC is at __mod_zone_page_state+0x70/0xcc
LR is at __mod_zone_page_state+0x68/0xcc
pc : [<800c7248>] lr : [<800c7240>] psr: 20000193
sp : a8581d00 ip : 8091db4c fp : 60000113
r10: bf76e020 r9 : 00000003 r8 : 808e418c
r7 : 8091dbcc r6 : 808e24e4 r5 : 00000000 r4 : 808e24bc
r3 : 808e24e4 r2 : 3ee51000 r1 : 807dbeb0 r0 : 800c7248
Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 3859004a DAC: 00000015
Process linuxrc (pid: 64, stack limit = 0xa8580210)
Stack: (0xa8581d00 to 0xa8582000)
1d00: bf76e020 8091db44 00000000 00000001 8091d7c0 800bbf84 00000000 8091d7c0
1d20: 0000000b 000004c0 8091d7c0 bf72e9d0 bf76e020 800bc950 000000c0 bf72e9a0
1d40: 800bbeb4 00000000 00000fcc bf76e0a0 808dd9a0 3ee51000 bf72e9a0 a8581e20
1d60: 00031000 000d5000 808e44d4 800bcc9c bf76e0a0 00030000 bf76e0a0 00000000
1d80: a8581e20 800bcd00 a85640c0 00030000 bf76e0a0 800d15ec 10b8559f a84f98f0
1da0: a8584000 00000000 bfc61c9c a85561c0 000d5000 a8580000 a8584000 000d4fff
1dc0: 000004c0 ffffffe0 00000000 00000000 8091e600 a84f98f0 ffffffff a8581e20
1de0: 00000000 00000000 a8509000 a8588000 00000001 800d2568 00000000 a85561c0
1e00: a84f98f0 a85561c0 a8581e48 a80dfac8 a85561c0 800d845c 00000001 8062ff8c
1e20: a85561c0 00000001 00000000 00000000 ffffffff 00000000 00000100 00000020
1e40: 00000400 a859b000 20000113 a859a000 00000000 00000000 a85561c0 00000000
1e60: a8582000 a80dfac8 a85561c0 00000000 a8582000 80035c08 a85561c0 a80df6c0
1e80: a8582000 800f3414 a8599000 a859a0c0 a8597034 a8597000 a8509000 a8597034
1ea0: a8581eb8 a8598000 a8599000 a859a000 00000001 80132f6c a8509000 00000080
1ec0: a859a0c0 00000000 00000001 a8509000 ffffe000 a8581efc a8580000 00000005
1ee0: 00000000 800f22ac 00000017 a8581efc 00000000 7effff88 00000000 01370e80
1f00: bff41160 bf50bf88 00000006 a8509000 808f364c fffffff8 8096f858 00000001
1f20: 808f3abc 00000001 807a4834 800f2cd0 00000000 a80df6c0 00000040 013710f0
1f40: a8530000 a8509000 00000000 ffffe000 00000001 800f3ea8 a8582038 00000000
1f60: 00000000 a80df930 00000000 013702b0 013710f0 000e971c 0000000b 8000f644
1f80: a8580000 00000000 00000000 800f4260 00000000 00000000 76fa4694 01370f28
1fa0: 01370e60 8000f4c0 01370f28 01370e60 01370e60 013702b0 013710f0 000eab9c
1fc0: 01370f28 01370e60 000e971c 0000000b 013710f0 01370e60 01370e80 00000000
mmc3: MAN_BKOPS_EN bit is not set
1fe0: 76eba520 7ec25a84 0003c658 76eba52c 60070010 01370e60 eaf7bffb 7effffef
[<800c7248>] (__mod_zone_page_state) from [<800bbf84>] (__activate_page+0xd0/0x110)
mmc3: new DDR MMC card at address 0001
mmcblk3: mmc3:0001 MMC04G 3.60 GiB
mmcblk3boot0: mmc3:0001 MMC04G partition 1 16.0 MiB
mmcblk3boot1: mmc3:0001 MMC04G partition 2 16.0 MiB
mmcblk3rpmb: mmc3:0001 MMC04G partition 3 128 KiB
[<800bbf84>] (__activate_page) from [<800bc950>] (pagevec_lru_move_fn+0x8c/0xe8)
[<800bc950>] (pagevec_lru_move_fn) from [<800bcc9c>] (activate_page+0xd0/0xf4)
[<800bcc9c>] (activate_page) from [<800bcd00>] (mark_page_accessed+0x40/0x11c)
[<800bcd00>] (mark_page_accessed) from [<800d15ec>] (unmap_single_vma+0x46c/0x5a8)
[<800d15ec>] (unmap_single_vma) from [<800d2568>] (unmap_vmas+0x54/0x68)
[<800d2568>] (unmap_vmas) from [<800d845c>] (exit_mmap+0xd8/0x1d8)
[<800d845c>] (exit_mmap) from [<80035c08>] (mmput+0x44/0xf8)
[<80035c08>] (mmput) from [<800f3414>] (flush_old_exec+0x45c/0x5cc)
[<800f3414>] (flush_old_exec) from [<80132f6c>] (load_elf_binary+0x284/0x10bc)
[<80132f6c>] (load_elf_binary) from [<800f2cd0>] (search_binary_handler+0x80/0x1b4)
[<800f2cd0>] (search_binary_handler) from [<800f3ea8>] (do_execveat_common+0x4b4/0x5e0)
[<800f3ea8>] (do_execveat_common) from [<800f4260>] (SyS_execve+0x30/0x38)
[<800f4260>] (SyS_execve) from [<8000f4c0>] (ret_fast_syscall+0x0/0x3c)
Code: e59f005c eb07c165 e1a03006 ee1d2f90 (e7c35002)
---[ end trace 40d7db0c02e3f137 ]---
note: linuxrc[64] exited with preempt_count 3
random: nonblocking pool is initialized
Original Attachment has been moved to: imx6q_mfg_defconfig.zip
Original Attachment has been moved to: Schematics.zip
Original Attachment has been moved to: iMX6Q_dts.zip
I have removed ethernet, audio, video, mmc in dts file of our own.
Even Kernel itself, I removed the drivers.
But the same problem happens in around the same location.
There is a suspicious point.
After removing drivers, the location of oops is the same like below.
* In u-boot for mfg, #define CONFIG_BOOTCOMMAND "bootz 10800000 12c00000 18000000"
U-Boot 2016.01-dirty (Jun 22 2017 - 19:17:05 +0900)
CPU: Freescale i.MX6Q rev1.5 at 792MHz
CPU: Industrial temperature grade (-40C to 105C) at 37C
Reset cause: POR
Board: MX6Q-Einsys
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environmentIn: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Warning: FEC (eth0) using random MAC address - ca:75:03:a2:87:68Hit any key to stop autoboot: 0
Kernel image @ 0x10800000 [ 0x000000 - 0x4f3080 ]
## Loading init Ramdisk from Legacy Image at 12c00000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8591032 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Loading Ramdisk to 4ed1b000, end 4f54c6b8 ... OK
Loading Device Tree to 4ed0f000, end 4ed1aba3 ... OKStarting kernel ...
Booting Linux on physical CPU 0x0
Linux version 4.1.15+ (mach@sip) (gcc version 5.4.1 20170404 (Linaro GCC 5.4-2017.05) ) #1 SMP PREEMPT Thu Jun 22 20:52:08 KST 2017
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 Quad Einsys Board
Reserved memory: created CMA memory pool at 0x3a000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @bf70b000 s16768 r8192 d24192 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 rdinit=/linuxrc
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 692924K/1048576K available (6371K kernel code, 239K rwdata, 2156K rodata, 380K init, 413K bss, 27972K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x8085c1f4 (8529 kB)
.init : 0x8085d000 - 0x808bc000 ( 380 kB)
.data : 0x808bc000 - 0x808f7d00 ( 240 kB)
.bss : 0x808fa000 - 0x809615b4 ( 414 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 16 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 1024 kB
L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
mxc_clocksource_init 3000000
Switching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x10008280 - 0x100082f0
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6Q, silicon rev 1.5
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 110000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 8392K (bed1b000 - bf54d000)
CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.3
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 24, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 289, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
spi_imx 2008000.ecspi: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
udc-core: couldn't find an available UDC - added [g_mass_storage] to list of pending drivers
mousedev: PS/2 mouse device common for all mice
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
imx2-wdt 20c0000.wdog: use WDOG_B to reboot.
imx2-wdt 20c0000.wdog: timeout 60 sec (nowayout=0)
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 04:08:39 UTC (14919)
VGEN3: disabling
VGEN2: disabling
VGEN1: disabling
SWBST: disabling
SW4: disabling
ssm2604-supply: disabling
usb_h1_vbus: disabling
usb_otg_vbus: disabling
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 380K (8085d000 - 808bc000)
Unable to handle kernel paging request at virtual address bf7309c4
pgd = a8558000
[bf7309c4] *pgd=4f61141e(bad)
Internal error: Oops: 8000000d [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 3 PID: 61 Comm: linuxrc Not tainted 4.1.15+ #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: a8518000 ti: a8514000 task.ti: a8514000
PC is at 0xbf7309c4
LR is at rational_best_approximation+0x6c/0xb8
pc : [<bf7309c4>] lr : [<802b7854>] psr: 60000193
sp : a8515d30 ip : 808f6ecc fp : 808f6b40
r10: 000004c0 r9 : 00000008 r8 : 808f6b40
r7 : 00000000 r6 : 800bbf84 r5 : 808f6b40 r4 : 00000001
r3 : 800bc950 r2 : 807be5ac r1 : 00000000 r0 : 00000001
Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 3855804a DAC: 00000015
Process linuxrc (pid: 61, stack limit = 0xa8514210)
Stack: (0xa8515d30 to 0xa8516000)
5d20: bf76da80 800bc950 000000c0 bf7309a0
5d40: 800bbeb4 00000000 00000fcc bf76db60 808b89a0 3ee78000 bf7309a0 a8515e20
5d60: 00031000 000d5000 808be4d4 800bcc9c bf76db60 00030000 bf76db60 00000000
5d80: a8515e20 800bcd00 a84ea0c0 00030000 bf76db60 800d15ec 10b5b59f a84df8f0
5da0: a852c000 00000000 bfc60d5c a850a1c0 000d5000 a8514000 a852c000 000d4fff
5dc0: 000004c0 ffffffe0 00000000 00000000 808f7980 a84df8f0 ffffffff a8515e20
5de0: 00000000 00000000 a8516000 a8520000 00000001 800d2568 00000000 a850a1c0
5e00: a84df8f0 a850a1c0 a8515e48 a8518408 a850a1c0 800d845c 00000001 80614b44
5e20: a850a1c0 00000001 00000000 00000000 ffffffff 00000000 00000100 00000020
5e40: 00000400 a8563000 20000113 a8562000 00000000 00000000 a850a1c0 00000000
5e60: a8556000 a8518408 a850a1c0 00000000 a8556000 80035c08 a850a1c0 a8518000
5e80: a8556000 800f3414 a8561000 a85620c0 a855f034 a855f000 a8516000 a855f034
5ea0: a8515eb8 a8560000 a8561000 a8562000 00000001 80132f6c a8516000 00000080
5ec0: a85620c0 00000000 00000001 a8516000 ffffe000 a8515efc a8514000 00000005
5ee0: 00000000 800f22ac 00000017 a8515efc 00000000 7effff88 00000000 014d7e80
5f00: bff41420 bf521f88 00000006 a8516000 808cd64c fffffff8 80948858 00000001
5f20: 808cdabc 00000001 80782bcc 800f2cd0 00000000 a8518000 0000003d 014d80f0
5f40: a8530000 a8516000 00000000 ffffe000 00000001 800f3ea8 a8556038 00000000
5f60: 00000000 a8518270 00000000 014d72b0 014d80f0 000e971c 0000000b 8000f644
5f80: a8514000 00000000 00000000 800f4260 00000000 00000000 76fa4694 014d7f28
5fa0: 014d7e60 8000f4c0 014d7f28 014d7e60 014d7e60 014d72b0 014d80f0 000eab9c
5fc0: 014d7f28 014d7e60 000e971c 0000000b 014d80f0 014d7e60 014d7e80 00000000
5fe0: 76eba520 7ea3ea84 0003c658 76eba52c 60070010 014d7e60 dddff7fe 6f7bdbff
[<802b7854>] (rational_best_approximation) from [<a8515e20>] (0xa8515e20)
Code: bf76d9e0 bf76da00 bf76da20 bf76da60 (bf76da80)
---[ end trace 1b2c6870516c0976 ]---
note: linuxrc[61] exited with preempt_count 3
INFO: rcu_preempt detected stalls on CPUs/tasks:
3: (78 GPs behind) idle=841/140000000000000/0 softirq=11/17 fqs=2101
(detected by 0, t=2102 jiffies, g=-216, c=-217, q=127)
Task dump for CPU 3:
linuxrc R running 0 61 1 0x00000002
[<80611004>] (__schedule) from [<a8515efc>] (0xa8515efc)
random: nonblocking pool is initialized
INFO: rcu_preempt detected stalls on CPUs/tasks:
3: (78 GPs behind) idle=841/140000000000000/0 softirq=11/17 fqs=8404
(detected by 0, t=8407 jiffies, g=-216, c=-217, q=131)
Task dump for CPU 3:
linuxrc R running 0 61 1 0x00000002
[<80611004>] (__schedule) from [<a8515efc>] (0xa8515efc)
INFO: rcu_preempt detected stalls on CPUs/tasks:
3: (78 GPs behind) idle=841/140000000000000/0 softirq=11/17 fqs=14707
(detected by 0, t=14712 jiffies, g=-216, c=-217, q=131)
Task dump for CPU 3:
linuxrc R running 0 61 1 0x00000002
[<80611004>] (__schedule) from [<a8515efc>] (0xa8515efc)
INFO: rcu_preempt detected stalls on CPUs/tasks:
3: (78 GPs behind) idle=841/140000000000000/0 softirq=11/17 fqs=21010
(detected by 0, t=21017 jiffies, g=-216, c=-217, q=131)
Task dump for CPU 3:
linuxrc R running 0 61 1 0x00000002
[<80611004>] (__schedule) from [<a8515efc>] (0xa8515efc)
INFO: rcu_preempt detected stalls on CPUs/tasks:
3: (78 GPs behind) idle=841/140000000000000/0 softirq=11/17 fqs=27313
(detected by 0, t=27322 jiffies, g=-216, c=-217, q=131)
Task dump for CPU 3:
linuxrc R running 0 61 1 0x00000002
[<80611004>] (__schedule) from [<a8515efc>] (0xa8515efc)
INFO: rcu_preempt detected stalls on CPUs/tasks:
3: (78 GPs behind) idle=841/140000000000000/0 softirq=11/17 fqs=33616
(detected by 0, t=33627 jiffies, g=-216, c=-217, q=131)
Task dump for CPU 3:
linuxrc R running 0 61 1 0x00000002
[<80611004>] (__schedule) from [<a8515efc>] (0xa8515efc)
* MfgTool.log is
DLL version: 2.7.0
Thursday, June 22, 2017 21:08:38 Start new logging
ModuleID[2] LevelID[10]: CMyExceptionHandler thread is running
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C3D340]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C3E600]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C3E9C0]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C900A0]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C90758]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C90A10]
ModuleID[2] LevelID[1]: new MxHidDeviceClass
ModuleID[2] LevelID[10]: new MxHidDevice[06C90DD0]
ModuleID[2] LevelID[10]: Device Manager thread is running
ModuleID[2] LevelID[1]: Can't set m_hStopEvent before it initialized or it already stopModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0
ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is I:\Freescale\MFG_TOOL\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools\Profiles\Linux\OS Firmware\firmware\u-boot-imx6qeinsys_mfg.imx
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is I:\Freescale\MFG_TOOL\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools\Profiles\Linux\OS Firmware\firmware\zImage-einsys-mfg, address is 0x10800000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is I:\Freescale\MFG_TOOL\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools\Profiles\Linux\OS Firmware\firmware\fsl-image-mfgtool-initramfs-imx6qdlsolo.cpio.gz.u-boot, address is 0x12C00000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Load[WndIndex:0], File is I:\Freescale\MFG_TOOL\L4.1.15_2.0.0-ga_mfg-tools\mfgtools-with-rootfs\mfgtools\Profiles\Linux\OS Firmware\firmware\imx6q-einsys.dtb, address is 0x18000000
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0], skip current command, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: ExecuteCommand--Jump[WndIndex:0]
ModuleID[2] LevelID[10]: *********MxHidDevice[06C90DD0] Jump to Ramkernel successfully!**********
ModuleID[2] LevelID[10]: CmdOperation[0], current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed
ModuleID[2] LevelID[10]: CCmdOpreation[0] thread is Closed
ModuleID[2] LevelID[10]: DeviceManager::OnMsgDeviceEvent() - EVENT_KILL
ModuleID[2] LevelID[10]: CMyExceptionHandler::OnMsgExceptionEvent() - KillExceptionHandlerThread
ModuleID[2] LevelID[10]: Exception Handler thread is closed
ModuleID[2] LevelID[1]: delete MxHidDeviceClass
ModuleID[2] LevelID[10]: delete MxHidDevice[06C90DD0]
ModuleID[2] LevelID[10]: Device Manager thread is closed
I have the same problem, how to solve it
I also tried DDR calibrations.
But the kernel looks work incorrectly.
...
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 02:44:23 UTC (9863)
VGEN3: disabling
VGEN2: disabling
VGEN1: disabling
SWBST: disabling
SW4: disabling
hdmi-5v-supply: disabling
ssm2604-supply: disabling
usb_h1_vbus: disabling
usb_otg_vbus: disabling
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 384K (80882000 - 808e2000)
Unable to handle kernel paging request at virtual address 3ee51000
pgd = a8584000
[3ee51000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 3 PID: 64 Comm: mount Not tainted 4.1.15+ #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: a80dd580 ti: a8546000 task.ti: a8546000
PC is at legitimize_mnt+0x34/0xc4
LR is at mount_lock+0x0/0x40
pc : [<8010a914>] lr : [<808e4380>] psr: a00f0093
sp : a8547d88 ip : 885a8015 fp : fefefeff
r10: a8003ff0 r9 : 00000001 r8 : a8547e08
r7 : a84a0dc0 r6 : a6072b28 r5 : a00f0013 r4 : 3ee51000
r3 : 00000000 r2 : 00000000 r1 : 0000002e r0 : a8003ff0
Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 3858404a DAC: 00000015
Process mount (pid: 64, stack limit = 0xa8546210)
Stack: (0xa8547d88 to 0xa8548000)
7d80: a8547ea8 00000000 a6072b28 800f5d18 a8547ea8 00000000
7da0: 00000001 a8547e00 a8547e08 800f67ac a617cba8 00000004 a617cba8 00000000
7dc0: a8547ea8 885a8813 2f2f2f11 a8547e00 80808080 a8546000 fefefeff 800f8330
7de0: 00000000 000007fd 00000001 801024a4 00000001 aa6072b78 a6072b28 a8547ef0
This is what I did for DDR calibrations.
- execute DDR_Tester.exe and get ddr_calibration_xxxxx.log
- update u-boot mx6q_4x_mt41j128.cfg with MMDC registers updated from calibration
The interrupt part is suspicious. Especially SMSC PHY related.
But I cannot figure it out completely in dts files what is wrong.
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 80000005 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.15+ #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: a8072f80 ti: a80a2000 task.ti: a80a2000
PC is at 0x0
LR is at call_timer_fn+0x24/0x98
pc : [<00000000>] lr : [<8007e210>] psr: 20000113
sp : a80a3ea0 ip : 00000000 fp : 00000000
r10: 00000000 r9 : 808e4100 r8 : 00000000
r7 : 00200200 r6 : 00000000 r5 : 00000101 r4 : ffffe000
r3 : a80a2000 r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 1000404a DAC: 00000015
Process swapper/1 (pid: 0, stack limit = 0xa80a2210)
Stack: (0xa80a3ea0 to 0xa80a4000)
3ea0: 808e4100 80080060 bf715380 a83b8ed4 bf715380 a80a3ed0 00200200 8007e75c
3ec0: bf71539c bf715b9c bf715d9c bf715f9c a80a3ed0 a80a3ed0 bf716498 00000020
3ee0: 40000001 00000001 a80a2000 808e4084 808e4080 00000101 808e4080 8003b2a4
3f00: 808f8f40 00000010 a80a3f00 0000000a ffff8bfe 00200040 00000001 808ddbe8
3f20: 00000000 00000010 00000000 00000001 a80a3f88 a8008000 00000001 8003b678
3f40: 808ddbe8 8007004c f4a0010c a80a3f88 00000001 000003ff 808e4864 f4a00100
3f60: 808dc304 80009468 8000ffa4 60000113 ffffffff a80a3fbc 00000000 a80a3fd8
3f80: 808dc304 80013240 00000001 00000000 00000000 80020d60 a80a2000 808e45d0
3fa0: 80633afc 00000000 00000000 a80a3fd8 808dc304 00000001 01000000 a80a3fd0
3fc0: 8000ffa0 8000ffa4 60000113 ffffffff a80a2000 80067b70 808dedd0 808df740
3fe0: 808f2718 80014778 3808806a 80921320 00000000 1000954c ffff4fff ff77b63d
[<8007e210>] (call_timer_fn) from [<8007e75c>] (run_timer_softirq+0x1c0/0x258)
[<8007e75c>] (run_timer_softirq) from [<8003b2a4>] (__do_softirq+0xec/0x218)
[<8003b2a4>] (__do_softirq) from [<8003b678>] (irq_exit+0xb0/0xfc)
[<8003b678>] (irq_exit) from [<8007004c>] (__handle_domain_irq+0x70/0xe8)
[<8007004c>] (__handle_domain_irq) from [<80009468>] (gic_handle_irq+0x28/0x68)
[<80009468>] (gic_handle_irq) from [<80013240>] (__irq_svc+0x40/0x74)
Exception stack(0xa80a3f88 to 0xa80a3fd0)
3f80: 00000001 00000000 00000000 80020d60 a80a2000 808e45d0
3fa0: 80633afc 00000000 00000000 a80a3fd8 808dc304 00000001 01000000 a80a3fd0
3fc0: 8000ffa0 8000ffa4 60000113 ffffffff
[<80013240>] (__irq_svc) from [<8000ffa4>] (arch_cpu_idle+0x30/0x3c)
[<8000ffa4>] (arch_cpu_idle) from [<80067b70>] (cpu_startup_entry+0x250/0x308)
[<80067b70>] (cpu_startup_entry) from [<1000954c>] (0x1000954c)
Code: bad PC value
---[ end trace 4dc782b14773d130 ]---
Kernel panic - not syncing: Fatal exception in interrupt
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.1.15+ #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015cf4>] (unwind_backtrace) from [<800127a4>] (show_stack+0x10/0x14)
[<800127a4>] (show_stack) from [<8062a768>] (dump_stack+0x7c/0xc4)
[<8062a768>] (dump_stack) from [<80014b14>] (handle_IPI+0x15c/0x190)
[<80014b14>] (handle_IPI) from [<8000949c>] (gic_handle_irq+0x5c/0x68)
[<8000949c>] (gic_handle_irq) from [<80013240>] (__irq_svc+0x40/0x74)
Exception stack(0xa80a5f88 to 0xa80a5fd0)
5f80: 00000001 00000000 00000000 80020d60 a80a4000 808e45d0
5fa0: 80633afc 00000000 00000000 a80a5fd8 808dc304 00000001 01000000 a80a5fd0
5fc0: 8000ffa0 8000ffa4 60000113 ffffffff
[<80013240>] (__irq_svc) from [<8000ffa4>] (arch_cpu_idle+0x30/0x3c)
[<8000ffa4>] (arch_cpu_idle) from [<80067b70>] (cpu_startup_entry+0x250/0x308)
[<80067b70>] (cpu_startup_entry) from [<1000954c>] (0x1000954c)
SMP: failed to stop secondary CPUs
---[ end Kernel panic - not syncing: Fatal exception in interrupt
you can try to remove ethernet driver to check if oops are caused
by that driver.
Best regards
igor
Hi Mach
log "Unable to handle kernel paging request at virtual address"
may point to problems with memory, so one can try to run ddr test and
update uboot/../mx6sabresd/mx6q_4x_mt41j128.cfg file with new calibration
coefficients obtained from ddr test.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thank you for your prompt reply.
The file you mentioned uboot/../mx6sabresd/mx6q_4x_mt41j128.cfg is already in use for our u-boot porting.
And we got tests with i.MX6/7 DDR Stress Test Tool V2.60
This is the results.
============================================
DDR Stress Test (2.6.0)
Build: Oct 24 2016, 15:28:18
NXP Semiconductors.
============================================
============================================
Chip ID
CHIP ID = i.MX6 Dual/Quad (0x63)
Internal Revision = TO1.5
============================================
============================================
Boot Configuration
SRC_SBMR1(0x020d8004) = 0x00005860
SRC_SBMR2(0x020d801c) = 0x22000001
============================================
ARM Clock set to 1GHz
============================================
DDR configuration
BOOT_CFG3[5-4]: 0x00, Single DDR channel.
DDR type is DDR3
Data width: 64, bank num: 8
Row size: 14, col size: 10
Chip select CSD0 is used
Density per chip select: 1024MB
============================================
DDR Stress Test Iteration 1
Current Temperature: 50
============================================
DDR Freq: 352 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
DDR Freq: 365 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
DDR Freq: 380 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
DDR Freq: 396 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
DDR Freq: 413 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
DDR Freq: 432 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
DDR Freq: 452 MHz
t0.1: data is addr test
t0: memcpy10 SSN x64 test
t1: memcpy8 SSN x64 test
t2: byte-wise SSN x64 test
t3: memcpy11 random pattern test
t4: IRAM_to_DDRv2 test
t5: IRAM_to_DDRv1 test
t6: read noise walking ones and zeros test
Success: DDR Stress test completed!!!