[U-Boot] arm: imx: Kernel not booting when environment is in QSPI

Nitin Garg nitin.garg at freescale.com
Tue Jun 9 17:24:38 CEST 2015


On 06/09/2015 10:02 AM, Fabio Estevam wrote:
> Adding some FSL folks in case they have some suggestions.
> 
> Regards,
> 
> Fabio Estevam
> 
> On Tue, Jun 9, 2015 at 11:41 AM, Matthias Weißer <m.weisser.m at gmail.com> wrote:
>> Hi
>>
>> I work with an imx6sx sdb. I observed that placing u-boot in QSPI
>> flash and also having the environment in QSPI the linux kernel doesn't
>> boot. The backtrace from the kernel contains 'fsl_qspi_probe'. If only
>> u-boot resides in QSPI and the environment is on mmc then the kernel
>> boots successfully.
>>
>> Some more investigation showed that even when u-boot and the
>> environment is on mmc a simple
>> => sf probe 1:0
>> causing the kernel not to boot.
>>
>> So I suspect a problem with u-boot not leaving the QSPI hardware in a
>> sane state for the kernel driver to take over control. If no serial
>> flash operations are executed in u-boot I can access the flash in
>> linux via mtd.
>>
>> Kernel and u-boot are both current git HEAD with minor changes. Anyone
>> with an idea?
>>
>> Regards
>> Matthias
>>
>> Kernel output:
>> Starting kernel ...
>>
>> [    0.000000] Booting Linux on physical CPU 0x0
>> [    0.000000] Linux version 4.1.0-rc7-00047-g5879ae5-dirty
>> (mweisser at ldev) (gcc version 4.9.2 (crosstool-NG 1.20.0) ) #2 Tue Jun
>> 9 09:40:49 CEST 2015
>> [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
>> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
>> instruction cache
>> [    0.000000] Machine model: Freescale i.MX6 SoloX SDB RevB Board
>> [    0.000000] cma: Reserved 16 MiB at 0xbf000000
>> [    0.000000] Memory policy: Data cache writeback
>> [    0.000000] CPU: All CPU(s) started in SVC mode.
>> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
>> Total pages: 260096
>> [    0.000000] Kernel command line: console=ttymxc0,115200 ip=dhcp
>> root=/dev/nfs nfsroot=192.168.1.60:/data/users/mweisser/tgt-fs/linux-fs
>> consoleblank=0
>> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
>> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
>> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
>> [    0.000000] Memory: 1006056K/1048576K available (6035K kernel code,
>> 321K rwdata, 1960K rodata, 232K init, 8310K bss, 26136K reserved,
>> 16384K cma-reserved, 0K highmem)
>> [    0.000000] Virtual kernel memory layout:
>> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>> [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
>> [    0.000000]     vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
>> [    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
>> [    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
>> [    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
>> [    0.000000]       .text : 0x80008000 - 0x807d7044   (7997 kB)
>> [    0.000000]       .init : 0x807d8000 - 0x80812000   ( 232 kB)
>> [    0.000000]       .data : 0x80812000 - 0x808624e0   ( 322 kB)
>> [    0.000000]        .bss : 0x808624e0 - 0x8107ff88   (8311 kB)
>> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
>> [    0.000000] Running RCU self tests
>> [    0.000000] NR_IRQS:16 nr_irqs:16 16
>> [    0.000000] L2C-310 erratum 769419 enabled
>> [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
>> [    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
>> [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
>> [    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
>> [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
>> [    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76430001
>> [    0.000000] Switching to timer-based delay loop, resolution 333ns
>> [    0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns,
>> wraps every 715827882841ns
>> [    0.000035] clocksource mxc_timer1: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 637086815595 ns
>> [    0.000888] Console: colour dummy device 80x30
>> [    0.000918] Lock dependency validator: Copyright (c) 2006 Red Hat,
>> Inc., Ingo Molnar
>> [    0.000927] ... MAX_LOCKDEP_SUBCLASSES:  8
>> [    0.000934] ... MAX_LOCK_DEPTH:          48
>> [    0.000941] ... MAX_LOCKDEP_KEYS:        8191
>> [    0.000948] ... CLASSHASH_SIZE:          4096
>> [    0.000955] ... MAX_LOCKDEP_ENTRIES:     32768
>> [    0.000961] ... MAX_LOCKDEP_CHAINS:      65536
>> [    0.000968] ... CHAINHASH_SIZE:          32768
>> [    0.000975]  memory used by lock dependency info: 5167 kB
>> [    0.000983]  per task-struct memory footprint: 1152 bytes
>> [    0.001006] Calibrating delay loop (skipped), value calculated
>> using timer frequency.. 6.00 BogoMIPS (lpj=30000)
>> [    0.001023] pid_max: default: 32768 minimum: 301
>> [    0.001180] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> [    0.001196] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
>> [    0.002704] CPU: Testing write buffer coherency: ok
>> [    0.003382] Setting up static identity map for 0x80008200 - 0x80008258
>> [    0.006410] devtmpfs: initialized
>> [    0.028795] VFP support v0.3: implementor 41 architecture 3 part 30
>> variant 9 rev 4
>> [    0.029434] clocksource jiffies: mask: 0xffffffff max_cycles:
>> 0xffffffff, max_idle_ns: 19112604462750000 ns
>> [    0.031015] pinctrl core: initialized pinctrl subsystem
>> [    0.034119] NET: Registered protocol family 16
>> [    0.037054] DMA: preallocated 256 KiB pool for atomic coherent allocations
>> [    0.084444] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1
>> watchpoint registers.
>> [    0.084460] hw-breakpoint: maximum watchpoint size is 4 bytes.
>> [    0.085511] imx6sx-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
>> [    0.108246] vgaarb: loaded
>> [    0.108833] SCSI subsystem initialized
>> [    0.109471] usbcore: registered new interface driver usbfs
>> [    0.109628] usbcore: registered new interface driver hub
>> [    0.109804] usbcore: registered new device driver usb
>> [    0.112113] i2c i2c-0: IMX I2C adapter registered
>> [    0.112141] i2c i2c-0: can't use DMA
>> [    0.113113] i2c i2c-3: IMX I2C adapter registered
>> [    0.113138] i2c i2c-3: can't use DMA
>> [    0.113328] Linux video capture interface: v2.00
>> [    0.113607] pps_core: LinuxPPS API ver. 1 registered
>> [    0.113620] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
>> Rodolfo Giometti <giometti at linux.it>
>> [    0.113673] PTP clock support registered
>> [    0.114475] Advanced Linux Sound Architecture Driver Initialized.
>> [    0.117569] Switched to clocksource mxc_timer1
>> [    0.142874] NET: Registered protocol family 2
>> [    0.144438] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
>> [    0.144658] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
>> [    0.147122] TCP: Hash tables configured (established 8192 bind 8192)
>> [    0.147351] UDP hash table entries: 512 (order: 3, 40960 bytes)
>> [    0.147784] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
>> [    0.149190] NET: Registered protocol family 1
>> [    0.150109] RPC: Registered named UNIX socket transport module.
>> [    0.150126] RPC: Registered udp transport module.
>> [    0.150137] RPC: Registered tcp transport module.
>> [    0.150146] RPC: Registered tcp NFSv4.1 backchannel transport module.
>> [    0.151177] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
>> [    0.151253] hw perfevents: enabled with armv7_cortex_a9 PMU driver,
>> 7 counters available
>> [    0.154082] futex hash table entries: 256 (order: 1, 11264 bytes)
>> [    0.174336] squashfs: version 4.0 (2009/01/31) Phillip Lougher
>> [    0.176828] NFS: Registering the id_resolver key type
>> [    0.177055] Key type id_resolver registered
>> [    0.177069] Key type id_legacy registered
>> [    0.178174] fuse init (API version 7.23)
>> [    0.183245] io scheduler noop registered
>> [    0.183277] io scheduler deadline registered
>> [    0.183366] io scheduler cfq registered (default)
>> [    0.184065] imx-weim 21b8000.weim: Driver registered.
>> [    0.190595] backlight supply power not found, using dummy regulator
>> [    0.199558] mxsfb 2220000.lcdif: initialized
>> [    0.201326] imx-sdma 20ec000.sdma: Direct firmware load for
>> imx/sdma/sdma-imx6q.bin failed with error -2
>> [    0.201353] imx-sdma 20ec000.sdma: external firmware not found,
>> using ROM firmware
>> [    0.208749] imx-sdma 20ec000.sdma: initialized
>> [    0.211200] pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1
>> [    0.211907] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
>> [    0.211923] pfuze100-regulator 0-0008: pfuze200 found.
>> [    0.230551] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20,
>> base_baud = 5000000) is a IMX
>> [    0.882112] console [ttymxc0] enabled
>> [    0.887822] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 290,
>> base_baud = 5000000) is a IMX
>> [    0.920412] brd: module loaded
>> [    0.936503] loop: module loaded
>> [    0.944576] INFO: trying to register non-static key.
>> [    0.949553] the code is fine but needs lockdep annotation.
>> [    0.955040] turning off the locking correctness validator.
>> [    0.960534] CPU: 0 PID: 1 Comm: swapper Not tainted
>> 4.1.0-rc7-00047-g5879ae5-dirty #2
>> [    0.968367] Hardware name: Freescale i.MX6 SoloX (Device Tree)
>> [    0.974202] Backtrace:
>> [    0.976684] [<80012d28>] (dump_backtrace) from [<80012f48>]
>> (show_stack+0x18/0x1c)
>> [    0.984257]  r6:00000000 r5:be070000 r4:80987f7c r3:00000000
>> [    0.989988] [<80012f30>] (show_stack) from [<805e4fc8>]
>> (dump_stack+0x24/0x28)
>> [    0.997221] [<805e4fa4>] (dump_stack) from [<80054b94>]
>> (__lock_acquire+0x1e4c/0x2120)
>> [    1.005145] [<80052d48>] (__lock_acquire) from [<80055780>]
>> (lock_acquire+0x74/0x94)
>> [    1.012888]  r10:80861ec8 r9:be10ac00 r8:00000121 r7:00000001
>> r6:00000080 r5:60000193
>> [    1.020794]  r4:00000000
>> [    1.023352] [<8005570c>] (lock_acquire) from [<805ea80c>]
>> (_raw_spin_lock_irqsave+0x48/0x5c)
>> [    1.031790]  r7:00000000 r6:8004ed18 r5:20000193 r4:be02ff7c
>> [    1.037514] [<805ea7c4>] (_raw_spin_lock_irqsave) from [<8004ed18>]
>> (complete+0x1c/0x4c)
>> [    1.045605]  r6:00000000 r5:be02ff78 r4:be02ff7c
>> [    1.050273] [<8004ecfc>] (complete) from [<8039cf14>]
>> (fsl_qspi_irq_handler+0x54/0x5c)
>> [    1.058191]  r6:00000000 r5:08010001 r4:be02f010 r3:c0a18000
>> [    1.063916] [<8039cec0>] (fsl_qspi_irq_handler) from [<8005f2f0>]
>> (handle_irq_event_percpu+0x80/0x14c)
>> [    1.073222]  r5:be10ac60 r4:be34fec0
>> [    1.076832] [<8005f270>] (handle_irq_event_percpu) from
>> [<8005f400>] (handle_irq_event+0x44/0x64)
>> [    1.085705]  r10:be7e02c4 r9:8083e1f8 r8:be008000 r7:00000000
>> r6:be34fec0 r5:be10ac60
>> [    1.093607]  r4:be10ac00
>> [    1.096166] [<8005f3bc>] (handle_irq_event) from [<80061a38>]
>> (handle_fasteoi_irq+0xb0/0x180)
>> [    1.104691]  r6:80819d10 r5:be10ac60 r4:be10ac00 r3:00000000
>> [    1.110413] [<80061988>] (handle_fasteoi_irq) from [<8005e9f8>]
>> (generic_handle_irq+0x34/0x44)
>> [    1.119025]  r6:00000000 r5:00000121 r4:00000121 r3:80061988
>> [    1.124746] [<8005e9c4>] (generic_handle_irq) from [<8005eca0>]
>> (__handle_domain_irq+0x5c/0xb0)
>> [    1.133444]  r4:808298c8 r3:00000125
>> [    1.137054] [<8005ec44>] (__handle_domain_irq) from [<800093f4>]
>> (gic_handle_irq+0x2c/0x5c)
>> [    1.145406]  r8:c080e100 r7:be067cf0 r6:8081436c r5:0000007d
>> r4:c080e10c r3:be067cf0
>> [    1.153226] [<800093c8>] (gic_handle_irq) from [<80013a44>]
>> (__irq_svc+0x44/0x5c)
>> [    1.160713] Exception stack(0xbe067cf0 to 0xbe067d38)
>> [    1.165772] 7ce0:                                     be7e02c4
>> 8076d8e4 00000000 c0a18000
>> [    1.173955] 7d00: be02f010 be120410 be120400 be34fe40 00000000
>> 8083e1f8 be7e02c4 be067d44
>> [    1.182137] 7d20: be067d48 be067d38 8046b4ec 8046b460 60000113 ffffffff
>> [    1.188752]  r8:00000000 r7:be067d24 r6:ffffffff r5:60000113
>> r4:8046b460 r3:00037a18
>> [    1.196579] [<8046b4dc>] (of_get_property) from [<8039d720>]
>> (fsl_qspi_probe+0x284/0x524)
>> [    1.204765] [<8039d49c>] (fsl_qspi_probe) from [<8033c164>]
>> (platform_drv_probe+0x4c/0xac)
>> [    1.213030]  r10:00000000 r9:807d85f0 r8:00000000 r7:fffffdfb
>> r6:8083e0f0 r5:be120410
>> [    1.220934]  r4:81061364
>> [    1.223494] [<8033c118>] (platform_drv_probe) from [<8033a778>]
>> (driver_probe_device+0x17c/0x2c0)
>> [    1.232367]  r7:8083e0f0 r6:00000000 r5:be120410 r4:81061364
>> [    1.238092] [<8033a5fc>] (driver_probe_device) from [<8033a9a4>]
>> (__driver_attach+0x9c/0xa0)
>> [    1.246530]  r8:0000009a r7:00000000 r6:be120444 r5:8083e0f0
>> r4:be120410 r3:00000000
>> [    1.254351] [<8033a908>] (__driver_attach) from [<80338a94>]
>> (bus_for_each_dev+0x70/0xa4)
>> [    1.262529]  r6:8033a908 r5:8083e0f0 r4:00000000 r3:be11025c
>> [    1.268251] [<80338a24>] (bus_for_each_dev) from [<8033a1cc>]
>> (driver_attach+0x24/0x28)
>> [    1.276255]  r6:808327b8 r5:be354880 r4:8083e0f0
>> [    1.280922] [<8033a1a8>] (driver_attach) from [<80339e68>]
>> (bus_add_driver+0x150/0x1f8)
>> [    1.288934] [<80339d18>] (bus_add_driver) from [<8033b024>]
>> (driver_register+0x80/0x100)
>> [    1.297025]  r7:be34f580 r6:808175e0 r5:807f85d8 r4:8083e0f0
>> [    1.302748] [<8033afa4>] (driver_register) from [<8033c0a8>]
>> (__platform_driver_register+0x5c/0x64)
>> [    1.311794]  r5:807f85d8 r4:808175e0
>> [    1.315407] [<8033c04c>] (__platform_driver_register) from
>> [<807f85f4>] (fsl_qspi_driver_init+0x1c/0x20)
>> [    1.324896] [<807f85d8>] (fsl_qspi_driver_init) from [<80009618>]
>> (do_one_initcall+0x94/0x1e0)
>> [    1.333519] [<80009584>] (do_one_initcall) from [<807d8e20>]
>> (kernel_init_freeable+0x128/0x1cc)
>> [    1.342217]  r10:8080a330 r9:807d85f0 r8:0000009a r7:80862500
>> r6:80862500 r5:00000006
>> [    1.350120]  r4:80810978
>> [    1.352676] [<807d8cf8>] (kernel_init_freeable) from [<805e1b0c>]
>> (kernel_init+0x18/0xf0)
>> [    1.360854]  r10:00000000 r9:00000000 r8:00000000 r7:00000000
>> r6:00000000 r5:805e1af4
>> [    1.368756]  r4:80862500
>> [    1.371310] [<805e1af4>] (kernel_init) from [<8000f798>]
>> (ret_from_fork+0x14/0x3c)
>> [    1.378880]  r4:00000000 r3:00000000
>> [    3.257489] BUG: spinlock lockup suspected on CPU#0, swapper/1
>> [    3.263329]  lock: 0xbe02ff7c, .magic: 00000000, .owner: <none>/-1,
>> .owner_cpu: 0
>> [    3.270817] CPU: 0 PID: 1 Comm: swapper Not tainted
>> 4.1.0-rc7-00047-g5879ae5-dirty #2
>> [    3.278650] Hardware name: Freescale i.MX6 SoloX (Device Tree)
>> [    3.284483] Backtrace:
>> [    3.286957] [<80012d28>] (dump_backtrace) from [<80012f48>]
>> (show_stack+0x18/0x1c)
>> [    3.294529]  r6:002dc6c0 r5:be02ff7c r4:00000000 r3:00000000
>> [    3.300254] [<80012f30>] (show_stack) from [<805e4fc8>]
>> (dump_stack+0x24/0x28)
>> [    3.307486] [<805e4fa4>] (dump_stack) from [<800580bc>] (spin_dump+0x84/0xa4)
>> [    3.314629] [<80058038>] (spin_dump) from [<800582bc>]
>> (do_raw_spin_lock+0x148/0x154)
>> [    3.322459]  r5:00000000 r4:be02ff7c
>> [    3.326072] [<80058174>] (do_raw_spin_lock) from [<805ea814>]
>> (_raw_spin_lock_irqsave+0x50/0x5c)
>> [    3.334857]  r10:80861ec8 r9:be10ac00 r8:00000121 r7:00000000
>> r6:8004ed18 r5:20000193
>> [    3.342760]  r4:be02ff7c r3:be070000
>> [    3.346371] [<805ea7c4>] (_raw_spin_lock_irqsave) from [<8004ed18>]
>> (complete+0x1c/0x4c)
>> [    3.354462]  r6:00000000 r5:be02ff78 r4:be02ff7c
>> [    3.359127] [<8004ecfc>] (complete) from [<8039cf14>]
>> (fsl_qspi_irq_handler+0x54/0x5c)
>> [    3.367045]  r6:00000000 r5:08010001 r4:be02f010 r3:c0a18000
>> [    3.372767] [<8039cec0>] (fsl_qspi_irq_handler) from [<8005f2f0>]
>> (handle_irq_event_percpu+0x80/0x14c)
>> [    3.382076]  r5:be10ac60 r4:be34fec0
>> [    3.385685] [<8005f270>] (handle_irq_event_percpu) from
>> [<8005f400>] (handle_irq_event+0x44/0x64)
>> [    3.394558]  r10:be7e02c4 r9:8083e1f8 r8:be008000 r7:00000000
>> r6:be34fec0 r5:be10ac60
>> [    3.402460]  r4:be10ac00
>> [    3.405015] [<8005f3bc>] (handle_irq_event) from [<80061a38>]
>> (handle_fasteoi_irq+0xb0/0x180)
>> [    3.413540]  r6:80819d10 r5:be10ac60 r4:be10ac00 r3:00000000
>> [    3.419261] [<80061988>] (handle_fasteoi_irq) from [<8005e9f8>]
>> (generic_handle_irq+0x34/0x44)
>> [    3.427873]  r6:00000000 r5:00000121 r4:00000121 r3:80061988
>> [    3.433593] [<8005e9c4>] (generic_handle_irq) from [<8005eca0>]
>> (__handle_domain_irq+0x5c/0xb0)
>> [    3.442292]  r4:808298c8 r3:00000125
>> [    3.445901] [<8005ec44>] (__handle_domain_irq) from [<800093f4>]
>> (gic_handle_irq+0x2c/0x5c)
>> [    3.454252]  r8:c080e100 r7:be067cf0 r6:8081436c r5:0000007d
>> r4:c080e10c r3:be067cf0
>> [    3.462070] [<800093c8>] (gic_handle_irq) from [<80013a44>]
>> (__irq_svc+0x44/0x5c)
>> [    3.469555] Exception stack(0xbe067cf0 to 0xbe067d38)
>> [    3.474611] 7ce0:                                     be7e02c4
>> 8076d8e4 00000000 c0a18000
>> [    3.482794] 7d00: be02f010 be120410 be120400 be34fe40 00000000
>> 8083e1f8 be7e02c4 be067d44
>> [    3.490977] 7d20: be067d48 be067d38 8046b4ec 8046b460 60000113 ffffffff
>> [    3.497591]  r8:00000000 r7:be067d24 r6:ffffffff r5:60000113
>> r4:8046b460 r3:00037a18
>> [    3.505414] [<8046b4dc>] (of_get_property) from [<8039d720>]
>> (fsl_qspi_probe+0x284/0x524)
>> [    3.513599] [<8039d49c>] (fsl_qspi_probe) from [<8033c164>]
>> (platform_drv_probe+0x4c/0xac)
>> [    3.521864]  r10:00000000 r9:807d85f0 r8:00000000 r7:fffffdfb
>> r6:8083e0f0 r5:be120410
>> [    3.529766]  r4:81061364
>> [    3.532324] [<8033c118>] (platform_drv_probe) from [<8033a778>]
>> (driver_probe_device+0x17c/0x2c0)
>> [    3.541197]  r7:8083e0f0 r6:00000000 r5:be120410 r4:81061364
>> [    3.546921] [<8033a5fc>] (driver_probe_device) from [<8033a9a4>]
>> (__driver_attach+0x9c/0xa0)
>> [    3.555359]  r8:0000009a r7:00000000 r6:be120444 r5:8083e0f0
>> r4:be120410 r3:00000000
>> [    3.563180] [<8033a908>] (__driver_attach) from [<80338a94>]
>> (bus_for_each_dev+0x70/0xa4)
>> [    3.571358]  r6:8033a908 r5:8083e0f0 r4:00000000 r3:be11025c
>> [    3.577080] [<80338a24>] (bus_for_each_dev) from [<8033a1cc>]
>> (driver_attach+0x24/0x28)
>> [    3.585084]  r6:808327b8 r5:be354880 r4:8083e0f0
>> [    3.589750] [<8033a1a8>] (driver_attach) from [<80339e68>]
>> (bus_add_driver+0x150/0x1f8)
>> [    3.597761] [<80339d18>] (bus_add_driver) from [<8033b024>]
>> (driver_register+0x80/0x100)
>> [    3.605852]  r7:be34f580 r6:808175e0 r5:807f85d8 r4:8083e0f0
>> [    3.611575] [<8033afa4>] (driver_register) from [<8033c0a8>]
>> (__platform_driver_register+0x5c/0x64)
>> [    3.620621]  r5:807f85d8 r4:808175e0
>> [    3.624233] [<8033c04c>] (__platform_driver_register) from
>> [<807f85f4>] (fsl_qspi_driver_init+0x1c/0x20)
>> [    3.633720] [<807f85d8>] (fsl_qspi_driver_init) from [<80009618>]
>> (do_one_initcall+0x94/0x1e0)
>> [    3.642342] [<80009584>] (do_one_initcall) from [<807d8e20>]
>> (kernel_init_freeable+0x128/0x1cc)
>> [    3.651040]  r10:8080a330 r9:807d85f0 r8:0000009a r7:80862500
>> r6:80862500 r5:00000006
>> [    3.658943]  r4:80810978
>> [    3.661501] [<807d8cf8>] (kernel_init_freeable) from [<805e1b0c>]
>> (kernel_init+0x18/0xf0)
>> [    3.669679]  r10:00000000 r9:00000000 r8:00000000 r7:00000000
>> r6:00000000 r5:805e1af4
>> [    3.677580]  r4:80862500
>> [    3.680136] [<805e1af4>] (kernel_init) from [<8000f798>]
>> (ret_from_fork+0x14/0x3c)
>> [    3.687706]  r4:00000000 r3:00000000
>> [    3.691316] Unable to handle kernel NULL pointer dereference at
>> virtual address 00000000
>> [    3.699409] pgd = 80004000
>> [    3.702119] [00000000] *pgd=00000000
>> [    3.705712] Internal error: Oops: 5 [#1] ARM
>> [    3.709985] Modules linked in:
>> [    3.713059] CPU: 0 PID: 1 Comm: swapper Not tainted
>> 4.1.0-rc7-00047-g5879ae5-dirty #2
>> [    3.720891] Hardware name: Freescale i.MX6 SoloX (Device Tree)
>> [    3.726726] task: be070000 ti: be066000 task.ti: be066000
>> [    3.732134] PC is at __wake_up_common+0x24/0x88
>> [    3.736668] LR is at 0x0
>> [    3.739207] pc : [<8004e454>]    lr : [<00000000>]    psr: 60000193
>> [    3.739207] sp : be067b90  ip : be067bc0  fp : be067bbc
>> [    3.750686] r10: 00000001  r9 : 00000003  r8 : 00000000
>> [    3.755914] r7 : 00000000  r6 : be02ff9c  r5 : be02ff78  r4 : be02ff7c
>> [    3.762443] r3 : 00000000  r2 : 00000001  r1 : 00000003  r0 : be02ff7c
>> [    3.768976] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM
>> Segment kernel
>> [    3.776374] Control: 10c53c7d  Table: 80004059  DAC: 00000015
>> [    3.782122] Process swapper (pid: 1, stack limit = 0xbe066208)
>> [    3.787957] Stack: (0xbe067b90 to 0xbe068000)
>> [    3.792320] 7b80:                                     00000000
>> be02ff7c be02ff78 20000193
>> [    3.800502] 7ba0: 00000000 00000121 be10ac00 80861ec8 be067bd4
>> be067bc0 8004e4d4 8004e43c
>> [    3.808685] 7bc0: 00000000 00000000 be067bf4 be067bd8 8004ed38
>> 8004e4c4 c0a18000 be02f010
>> [    3.816867] 7be0: 08010001 00000000 be067c0c be067bf8 8039cf14
>> 8004ed08 be34fec0 be10ac60
>> [    3.825050] 7c00: be067c44 be067c10 8005f2f0 8039cecc be34fec0
>> 00000000 00000000 be10ac00
>> [    3.833232] 7c20: be10ac60 be34fec0 00000000 be008000 8083e1f8
>> be7e02c4 be067c64 be067c48
>> [    3.841415] 7c40: 8005f400 8005f27c 00000000 be10ac00 be10ac60
>> 80819d10 be067c84 be067c68
>> [    3.849598] 7c60: 80061a38 8005f3c8 80061988 00000121 00000121
>> 00000000 be067c9c be067c88
>> [    3.857781] 7c80: 8005e9f8 80061994 00000125 808298c8 be067cc4
>> be067ca0 8005eca0 8005e9d0
>> [    3.865963] 7ca0: be067cf0 c080e10c 0000007d 8081436c be067cf0
>> c080e100 be067cec be067cc8
>> [    3.874146] 7cc0: 800093f4 8005ec50 00037a18 8046b460 60000113
>> ffffffff be067d24 00000000
>> [    3.882328] 7ce0: be067d44 be067cf0 80013a44 800093d4 be7e02c4
>> 8076d8e4 00000000 c0a18000
>> [    3.890510] 7d00: be02f010 be120410 be120400 be34fe40 00000000
>> 8083e1f8 be7e02c4 be067d44
>> [    3.898693] 7d20: be067d48 be067d38 8046b4ec 8046b460 60000113
>> ffffffff be067dd4 be067d48
>> [    3.906875] 7d40: 8039d720 8046b4e8 00000000 be10f300 be02f010
>> 8046cd8c be067d60 be067d68
>> [    3.915058] 7d60: 00000000 00000000 be34eba0 be1119c0 be067d9c
>> be34eba0 00000000 80763f0c
>> [    3.923241] 7d80: be1119c0 be34ec60 00000001 00000000 be067dc4
>> be067da0 80141304 8013db28
>> [    3.931423] 7da0: be120410 00000000 81061364 81061364 be120410
>> 8083e0f0 fffffdfb 00000000
>> [    3.939605] 7dc0: 807d85f0 00000000 be067df4 be067dd8 8033c164
>> 8039d4a8 81061364 be120410
>> [    3.947787] 7de0: 00000000 8083e0f0 be067e1c be067df8 8033a778
>> 8033c124 00000000 be120410
>> [    3.955969] 7e00: 8083e0f0 be120444 00000000 0000009a be067e3c
>> be067e20 8033a9a4 8033a608
>> [    3.964152] 7e20: be11025c 00000000 8083e0f0 8033a908 be067e64
>> be067e40 80338a94 8033a914
>> [    3.972334] 7e40: be0374a4 be110250 be354858 8083e0f0 be354880
>> 808327b8 be067e74 be067e68
>> [    3.980517] 7e60: 8033a1cc 80338a30 be067e9c be067e78 80339e68
>> 8033a1b4 8076d970 be067e88
>> [    3.988699] 7e80: 8083e0f0 807f85d8 808175e0 be34f580 be067eb4
>> be067ea0 8033b024 80339d24
>> [    3.996882] 7ea0: 808175e0 807f85d8 be067ec4 be067eb8 8033c0a8
>> 8033afb0 be067ed4 be067ec8
>> [    4.005064] 7ec0: 807f85f4 8033c058 be067f54 be067ed8 80009618
>> 807f85e4 be067ef4 be067ee8
>> [    4.013246] 7ee0: be067f0c be067ef0 be067f00 be067ef8 80040fac
>> 802a8ab4 00000034 befffae7
>> [    4.021429] 7f00: be067f54 be067f10 80041164 80040fa0 00004cb8
>> 00000006 00000006 befffaf5
>> [    4.029611] 7f20: 807795fc 00000000 00000000 80810978 00000006
>> 80862500 80862500 0000009a
>> [    4.037794] 7f40: 807d85f0 8080a330 be067f94 be067f58 807d8e20
>> 80009590 00000006 00000006
>> [    4.045976] 7f60: 807d85f0 805ea994 00000001 80862500 805e1af4
>> 00000000 00000000 00000000
>> [    4.054159] 7f80: 00000000 00000000 be067fac be067f98 805e1b0c
>> 807d8d04 00000000 00000000
>> [    4.062341] 7fa0: 00000000 be067fb0 8000f798 805e1b00 00000000
>> 00000000 00000000 00000000
>> [    4.070524] 7fc0: 00000000 00000000 00000000 00000000 00000000
>> 00000000 00000000 00000000
>> [    4.078706] 7fe0: 00000000 00000000 00000000 00000000 00000013
>> 00000000 fdfa074e da9de63d
>> [    4.086882] Backtrace:
>> [    4.089353] [<8004e430>] (__wake_up_common) from [<8004e4d4>]
>> (__wake_up_locked+0x1c/0x24)
>> [    4.097619]  r10:80861ec8 r9:be10ac00 r8:00000121 r7:00000000
>> r6:20000193 r5:be02ff78
>> [    4.105522]  r4:be02ff7c r3:00000000
>> [    4.109133] [<8004e4b8>] (__wake_up_locked) from [<8004ed38>]
>> (complete+0x3c/0x4c)
>> [    4.116712] [<8004ecfc>] (complete) from [<8039cf14>]
>> (fsl_qspi_irq_handler+0x54/0x5c)
>> [    4.124630]  r6:00000000 r5:08010001 r4:be02f010 r3:c0a18000
>> [    4.130353] [<8039cec0>] (fsl_qspi_irq_handler) from [<8005f2f0>]
>> (handle_irq_event_percpu+0x80/0x14c)
>> [    4.139659]  r5:be10ac60 r4:be34fec0
>> [    4.143269] [<8005f270>] (handle_irq_event_percpu) from
>> [<8005f400>] (handle_irq_event+0x44/0x64)
>> [    4.152141]  r10:be7e02c4 r9:8083e1f8 r8:be008000 r7:00000000
>> r6:be34fec0 r5:be10ac60
>> [    4.160044]  r4:be10ac00
>> [    4.162599] [<8005f3bc>] (handle_irq_event) from [<80061a38>]
>> (handle_fasteoi_irq+0xb0/0x180)
>> [    4.171124]  r6:80819d10 r5:be10ac60 r4:be10ac00 r3:00000000
>> [    4.176847] [<80061988>] (handle_fasteoi_irq) from [<8005e9f8>]
>> (generic_handle_irq+0x34/0x44)
>> [    4.185458]  r6:00000000 r5:00000121 r4:00000121 r3:80061988
>> [    4.191180] [<8005e9c4>] (generic_handle_irq) from [<8005eca0>]
>> (__handle_domain_irq+0x5c/0xb0)
>> [    4.199878]  r4:808298c8 r3:00000125
>> [    4.203488] [<8005ec44>] (__handle_domain_irq) from [<800093f4>]
>> (gic_handle_irq+0x2c/0x5c)
>> [    4.211839]  r8:c080e100 r7:be067cf0 r6:8081436c r5:0000007d
>> r4:c080e10c r3:be067cf0
>> [    4.219658] [<800093c8>] (gic_handle_irq) from [<80013a44>]
>> (__irq_svc+0x44/0x5c)
>> [    4.227144] Exception stack(0xbe067cf0 to 0xbe067d38)
>> [    4.232200] 7ce0:                                     be7e02c4
>> 8076d8e4 00000000 c0a18000
>> [    4.240382] 7d00: be02f010 be120410 be120400 be34fe40 00000000
>> 8083e1f8 be7e02c4 be067d44
>> [    4.248565] 7d20: be067d48 be067d38 8046b4ec 8046b460 60000113 ffffffff
>> [    4.255179]  r8:00000000 r7:be067d24 r6:ffffffff r5:60000113
>> r4:8046b460 r3:00037a18
>> [    4.263004] [<8046b4dc>] (of_get_property) from [<8039d720>]
>> (fsl_qspi_probe+0x284/0x524)
>> [    4.271190] [<8039d49c>] (fsl_qspi_probe) from [<8033c164>]
>> (platform_drv_probe+0x4c/0xac)
>> [    4.279455]  r10:00000000 r9:807d85f0 r8:00000000 r7:fffffdfb
>> r6:8083e0f0 r5:be120410
>> [    4.287357]  r4:81061364
>> [    4.289915] [<8033c118>] (platform_drv_probe) from [<8033a778>]
>> (driver_probe_device+0x17c/0x2c0)
>> [    4.298787]  r7:8083e0f0 r6:00000000 r5:be120410 r4:81061364
>> [    4.304511] [<8033a5fc>] (driver_probe_device) from [<8033a9a4>]
>> (__driver_attach+0x9c/0xa0)
>> [    4.312949]  r8:0000009a r7:00000000 r6:be120444 r5:8083e0f0
>> r4:be120410 r3:00000000
>> [    4.320772] [<8033a908>] (__driver_attach) from [<80338a94>]
>> (bus_for_each_dev+0x70/0xa4)
>> [    4.328950]  r6:8033a908 r5:8083e0f0 r4:00000000 r3:be11025c
>> [    4.334672] [<80338a24>] (bus_for_each_dev) from [<8033a1cc>]
>> (driver_attach+0x24/0x28)
>> [    4.342677]  r6:808327b8 r5:be354880 r4:8083e0f0
>> [    4.347344] [<8033a1a8>] (driver_attach) from [<80339e68>]
>> (bus_add_driver+0x150/0x1f8)
>> [    4.355356] [<80339d18>] (bus_add_driver) from [<8033b024>]
>> (driver_register+0x80/0x100)
>> [    4.363447]  r7:be34f580 r6:808175e0 r5:807f85d8 r4:8083e0f0
>> [    4.369171] [<8033afa4>] (driver_register) from [<8033c0a8>]
>> (__platform_driver_register+0x5c/0x64)
>> [    4.378217]  r5:807f85d8 r4:808175e0
>> [    4.381829] [<8033c04c>] (__platform_driver_register) from
>> [<807f85f4>] (fsl_qspi_driver_init+0x1c/0x20)
>> [    4.391317] [<807f85d8>] (fsl_qspi_driver_init) from [<80009618>]
>> (do_one_initcall+0x94/0x1e0)
>> [    4.399938] [<80009584>] (do_one_initcall) from [<807d8e20>]
>> (kernel_init_freeable+0x128/0x1cc)
>> [    4.408637]  r10:8080a330 r9:807d85f0 r8:0000009a r7:80862500
>> r6:80862500 r5:00000006
>> [    4.416541]  r4:80810978
>> [    4.419095] [<807d8cf8>] (kernel_init_freeable) from [<805e1b0c>]
>> (kernel_init+0x18/0xf0)
>> [    4.427273]  r10:00000000 r9:00000000 r8:00000000 r7:00000000
>> r6:00000000 r5:805e1af4
>> [    4.435176]  r4:80862500
>> [    4.437730] [<805e1af4>] (kernel_init) from [<8000f798>]
>> (ret_from_fork+0x14/0x3c)
>> [    4.445300]  r4:00000000 r3:00000000
>> [    4.448910] Code: e1a0a002 e5b6e020 e1a08003 e59b7004 (e59e4000)
>> [    4.455027] ---[ end trace 7211a1aff17f6836 ]---
>> [    4.459650] Kernel panic - not syncing: Fatal exception in interrupt
>> [    4.466009] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot

Adding Allen,


More information about the U-Boot mailing list