MCIMX6DL-SDP SCH-27417 REV B3 RUN L3.0.35_4.0.0_130424 Linux and android_jb4.2.2_1.0.0 kernel crash

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

MCIMX6DL-SDP SCH-27417 REV B3 RUN L3.0.35_4.0.0_130424 Linux and android_jb4.2.2_1.0.0 kernel crash

Jump to solution
2,371 Views
Jiandong_li
Contributor I

MCIMX6DL-SDP  SCH-27417 REV B3  RUN L3.0.35_4.0.0_130424 Linux  and android_jb4.2.2_1.0.0 kernel crash, the other Rev. Linux and Android4.0.4 work well,

if the newest version linux and android 4.2.2 not support on old version MX6D/DL-SDP/B Borad? Thanks

U-Boot 2009.08 (Apr 25 2013 - 01:36:51)

CPU: Freescale i.MX6 family TO1.0 at 792 MHz
Temperature:   can't get valid data!
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 198000000Hz
emi_slow clock: 99000000Hz
ddr clock     : 396000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 24000000Hz
Board: i.MX6DL/Solo-SABRESD: RevC Board: 0x61310 [POR ]
Boot Device: MMC
I2C:   ready
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
In:    serial
Out:   serial
Err:   serial
i2c: I2C3 SDA is low, start i2c recovery...
I2C3 Recovery success
Found PFUZE100! deviceid=10,revid=10
Net:   got MAC address from IIM: 00:04:9f:02:30:f1
FEC0 [PRIME]
Hit any key to stop autoboot:  0
mmc3(part 0) is current device

MMC read: dev # 3, block # 2048, count 8192 ... 8192 blocks read: OK
## Booting kernel from Legacy Image at 10800000 ...
   Image Name:   Linux-3.0.35-2508-g54750ff
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3860964 Bytes =  3.7 MB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-2508-g54750ff (lucid@ubuntu) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #3 SMP PREEMPT Tue Jun 25 18:42:30 PDT 2013
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6DL/SOLO, silicon rev 1.0
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227328
Kernel command line: console=ttymxc0,115200 ip=dhcp root=/dev/mmcblk0p1 rootwait
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: 640MB 256MB = 896MB total
Memory: 896908k/896908k available, 151668k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
    vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x8003b000   ( 204 kB)
      .text : 0x8003b000 - 0x80a8d874   (10571 kB)
      .data : 0x80a8e000 - 0x80af1c00   ( 399 kB)
       .bss : 0x80af1c24 - 0x80b3fb4c   ( 312 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
Set periph_clk's parent to pll2_pfd_400M!
arm_max_freq=800MHz
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
Brought up 2 CPUs
SMP: Total of 2 processors activated (3162.11 BogoMIPS).
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1100 mV fast normal
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02050000, Cache size: 524288 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: SPKVDD: 4200 mV
print_constraints: vmmc: 3300 mV
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
mc_pfuze 1-0008: ID: 0,Full lay: 1 ,Metal lay: 0
mc_pfuze 1-0008: FAB: 0 ,FIN: 0
PF100 1.0 chip found!
print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV
print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV
print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV
print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV
print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV
print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV
print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 3000 mV
print_constraints: PFUZE100_VREFDDR: at 750 mV
print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2800 mV
print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV
print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 3000 mV
print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
max17135 2-0048: PMIC MAX17135 for eInk display
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
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.
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is enabled for i.MX6
cpaddr = c0820000 suspend_iram_base=c08bc000
PM driver module loaded
IMX usb wakeup probe
add wake up source irq 75
IMX usb wakeup probe
cpu regulator mode:ldo_bypass
_regulator_get: get() with no identifier
mx6_cpu_regulator_init: failed to get pu regulator
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 1751
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 128x48
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
loop: module loaded
m25p80 spi0.0: found m25p32, expected sst25vf016b
m25p80 spi0.0: m25p32 (4096 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000100000 : "bootloader"
0x000000100000-0x000000400000 : "kernel"
GPMI NAND driver registered. (IMX)
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
FEC Ethernet Driver
fec_enet_mii_bus: probed
Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_10 = 0x00100000
imx-ipuv3 imx-ipuv3.0: IPU Warning - IPU_INT_STAT_5 = 0x00800000
Modules linked in:
CPU: 1    Not tainted  (3.0.35-2508-g54750ff #3)
PC is at check_unsafe_exec+0xa0/0xec
LR is at check_unsafe_exec+0x4c/0xec
pc : [<800f7058>]    lr : [<800f7004>]    psr: 60000013
sp : bfc41f30  ip : 00000004  fp : 00000000
r10: bfc41f78  r9 : 00000000  r8 : bffb0000
r7 : 00000000  r6 : 00000001  r5 : bffb0000  r4 : 00000000
r3 : bfd3a0a0  r2 : 00000001  r1 : 00000000  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 1000404a  DAC: 00000015
Process kworker/u:0 (pid: 1269, stack limit = 0xbfc402f0)
Stack: (0xbfc41f30 to 0xbfc42000)
1f20:                                     bfc40000 bfd3a204 80ac9ee0 bff8be3c
1f40: bffed000 800f7104 00000000 00000000 bfd395c0 bff8be3c 80ac9ee0 bfc41f78
1f60: bffed000 00000000 00000000 00000000 00000000 800440b0 00000000 00000000
1f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1fc0: ffffffff bfe97980 bfda9120 00000000 ffffffff 00000000 00000000 80087250
1fe0: 00000000 bfe97980 80087154 80041aa4 00000013 80041aa4 7567613f 5ffeed3f
[<800f7058>] (check_unsafe_exec+0xa0/0xec) from [<800f7104>] (do_execve+0x60/0x268)
[<800f7104>] (do_execve+0x60/0x268) from [<800440b0>] (kernel_execve+0x38/0x7c)
[<800440b0>] (kernel_execve+0x38/0x7c) from [<80087250>] (____call_usermodehelper+0xfc/0x124)
[<80087250>] (____call_usermodehelper+0xfc/0x124) from [<80041aa4>] (kernel_thread_exit+0x0/0x8)
Code: bfb66408 bff07060 00000001 000041ed (000032d0)
---[ end trace 834dcbf045cfa199 ]---
note: kworker/u:0[1269] exited with preempt_count 1
Internal error: Oops - undefined instruction: 0 [#2] PREEMPT SMP
Modules linked in:
CPU: 0    Tainted: G      D      (3.0.35-2508-g54750ff #3)
PC is at check_unsafe_exec+0xa0/0xec
LR is at check_unsafe_exec+0x4c/0xec
pc : [<800f7058>]    lr : [<800f7004>]    psr: 60000013
sp : ba143f30  ip : 00000004  fp : 00000000
r10: ba143f78  r9 : 00000000  r8 : bfe95100
r7 : 00000000  r6 : 00000001  r5 : bfe95100  r4 : 00000000
r3 : bfd39d00  r2 : 00000001  r1 : 00000000  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 1000404a  DAC: 00000015
Process kworker/u:0 (pid: 1270, stack limit = 0xba1422f0)
Stack: (0xba143f30 to 0xba144000)
3f20:                                     ba142000 bfd39e64 80ac9ee0 bff8be3c
3f40: bffed000 800f7104 00000000 00000000 bfdb4ae0 bff8be3c 80ac9ee0 ba143f78
3f60: bffed000 00000000 00000000 00000000 00000000 800440b0 00000000 00000000
3f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3fc0: ffffffff bfe97980 bfdc1360 00000000 ffffffff 00000000 00000000 80087250
3fe0: 00000000 bfe97980 80087154 80041aa4 00000013 80041aa4 80203140 00544103
[<800f7058>] (check_unsafe_exec+0xa0/0xec) from [<800f7104>] (do_execve+0x60/0x268)
[<800f7104>] (do_execve+0x60/0x268) from [<800440b0>] (kernel_execve+0x38/0x7c)
[<800440b0>] (kernel_execve+0x38/0x7c) from [<80087250>] (____call_usermodehelper+0xfc/0x124)
[<80087250>] (____call_usermodehelper+0xfc/0x124) from [<80041aa4>] (kernel_thread_exit+0x0/0x8)
Code: bfb66408 bff07060 00000001 000041ed (000032d0)
---[ end trace 834dcbf045cfa19a ]---
note: kworker/u:0[1270] exited with preempt_count 1

Labels (1)
0 Kudos
Reply
1 Solution
1,428 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

The new DDR parameters in uboot is tuned for RevC boards, but your board is old RevB board, so I think you can use old version workable UBoot; or replace the "/uboot-imx/board/freescale/mx6q_sabresd/flash_header.S" with the old one.

By the way, "add "enable_wait_mode=off" in the kernel command" is also needed.

View solution in original post

0 Kudos
Reply
4 Replies
1,428 Views
YixingKong
Senior Contributor IV

JaingDong, please see if the answer from Qiang fixes your problem. If yes, please Correct Answer/Helpful Answer.

Thanks,

Yixing

0 Kudos
Reply
1,428 Views
isaac_ng
NXP Employee
NXP Employee

please try to add "enable_wait_mode=off" in the kernel command.

0 Kudos
Reply
1,428 Views
brucecheng
Contributor II

It does NOT worked. On the MCIMX6DL-SDP, android 4.2 still can not run stable. Sometimes it can boot into android desktop but after a while, android die and reboot by watchdog; sometimes it can NOT boot into android desktop even.

On the same board, android 4.0 worked well. In our project, we want use android 4.2.

0 Kudos
Reply
1,429 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

The new DDR parameters in uboot is tuned for RevC boards, but your board is old RevB board, so I think you can use old version workable UBoot; or replace the "/uboot-imx/board/freescale/mx6q_sabresd/flash_header.S" with the old one.

By the way, "add "enable_wait_mode=off" in the kernel command" is also needed.

0 Kudos
Reply