如题,板子是参照mx6q-sabresd设计的,内核启动时卡住了,部分log如下。上网查了一下似乎说是SD卡写保护,求问应该怎么修改?
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.1.17 (root@ali-ubuntu) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 6
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
[ 0.000000] cma: Reserved 16 MiB at 0x4f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @be790000 s16896 r8192 d24064 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
[ 0.000000] Kernel command line: noinitrd console=ttymxc0,115200 root=/dev/mmcblk0p1 rw init=/linuxrc
[ 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: 1003240K/1048576K available (7751K kernel code, 391K rwdata, 2588K rodata, 384K init, 8347K bss, 28952K reserved, 16384K cma-res)
[ 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 - 0x80a2103c (10341 kB)
[ 0.000000] .init : 0x80a22000 - 0x80a82000 ( 384 kB)
[ 0.000000] .data : 0x80a82000 - 0x80ae3e60 ( 392 kB)
[ 0.000000] .bss : 0x80ae3e60 - 0x8130addc (8348 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm/mach-imx/gpc.c:286 imx_gpc_check_dt+0x54/0x90()
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.17 #1
[ 0.000000] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[ 0.000000] Backtrace:
[ 0.000000] [<80012c4c>] (dump_backtrace) from [<80012dec>] (show_stack+0x18/0x1c)
[ 0.000000] r6:80943534 r5:00000000 r4:00000000 r3:00000000
[ 0.000000] [<80012dd4>] (show_stack) from [<80790004>] (dump_stack+0x80/0x9c)
[ 0.000000] [<8078ff84>] (dump_stack) from [<8002e9c8>] (warn_slowpath_common+0x7c/0xb4)
[ 0.000000] r5:0000011e r4:00000000
[ 0.000000] [<8002e94c>] (warn_slowpath_common) from [<8002ea24>] (warn_slowpath_null+0x24/0x2c)
[ 0.000000] r8:80a6f9e0 r7:ffffffff r6:80ae3e80 r5:00000000 r4:be7cdf58
[ 0.000000] [<8002ea00>] (warn_slowpath_null) from [<80a34bb8>] (imx_gpc_check_dt+0x54/0x90)
[ 0.000000] [<80a34b64>] (imx_gpc_check_dt) from [<80a38aa4>] (imx6q_init_irq+0x10/0x24)
[ 0.000000] r5:00000001 r4:80a6f9d0
[ 0.000000] [<80a38a94>] (imx6q_init_irq) from [<80a255f0>] (init_IRQ+0x30/0x88)
[ 0.000000] [<80a255c0>] (init_IRQ) from [<80a22b5c>] (start_kernel+0x238/0x3d4)
[ 0.000000] r4:00000000 r3:812e2ad0
[ 0.000000] [<80a22924>] (start_kernel) from [<1000807c>] (0x1000807c)
[ 0.000000] r10:00000000 r8:1000406a r7:80a898ac r6:80a6f9dc r5:80a8496c r4:80ae4114
[ 0.000000] ---[ end trace cb88537fdc8fa200 ]---
[ 0.000000] Outdated DT detected, suspend/resume will NOT work
[ 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, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[ 0.000000] Switching to timer-based delay loop, resolution 15ns
[ 0.000007] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 32537631224ns
[ 0.000035] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 28958491609 ns
[ 0.001222] Console: colour dummy device 80x30
[ 0.001253] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.001263] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.001270] ... MAX_LOCK_DEPTH: 48
[ 0.001278] ... MAX_LOCKDEP_KEYS: 8191
[ 0.001285] ... CLASSHASH_SIZE: 4096
[ 0.001293] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.001300] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.001307] ... CHAINHASH_SIZE: 32768
[ 0.001314] memory used by lock dependency info: 5167 kB
[ 0.001323] per task-struct memory footprint: 1152 bytes
[ 0.001349] Calibrating delay loop (skipped), value calculated using timer frequency.. 132.00 BogoMIPS (lpj=660000)
[ 0.001368] pid_max: default: 32768 minimum: 301
[ 0.001679] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001696] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003439] CPU: Testing write buffer coherency: ok
[ 0.004327] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004428] Setting up static identity map for 0x10008280 - 0x100082f0
[ 0.009313] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.011200] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.012535] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.012756] Brought up 4 CPUs
[ 0.012775] SMP: Total of 4 processors activated (528.00 BogoMIPS).
[ 0.012785] CPU: All CPU(s) started in SVC mode.
[ 0.014854] devtmpfs: initialized
[ 0.048796] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.049760] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.051500] pinctrl core: initialized pinctrl subsystem
[ 0.054901] NET: Registered protocol family 16
[ 0.059041] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.061245] CPU identified as i.MX6Q, silicon rev 1.5
[ 0.121408] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.121423] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.125548] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.187243] mxs-dma 110000.dma-apbh: initialized
[ 0.194800] vgaarb: loaded
[ 0.195756] SCSI subsystem initialized
[ 0.196913] usbcore: registered new interface driver usbfs
[ 0.197088] usbcore: registered new interface driver hub
[ 0.197320] usbcore: registered new device driver usb
[ 0.197770] 2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
[ 0.198217] 2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
[ 0.201514] i2c i2c-0: IMX I2C adapter registered
[ 0.201541] i2c i2c-0: can't use DMA
[ 0.203787] i2c i2c-1: IMX I2C adapter registered
[ 0.203813] i2c i2c-1: can't use DMA
[ 0.205777] i2c i2c-2: IMX I2C adapter registered
[ 0.205803] i2c i2c-2: can't use DMA
[ 0.206131] Linux video capture interface: v2.00
[ 0.206400] pps_core: LinuxPPS API ver. 1 registered
[ 0.206412] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.206469] PTP clock support registered
[ 0.207296] Advanced Linux Sound Architecture Driver Initialized.
[ 0.210851] Bluetooth: Core ver 2.20
[ 0.210946] NET: Registered protocol family 31
[ 0.210958] Bluetooth: HCI device and connection manager initialized
[ 0.211034] Bluetooth: HCI socket layer initialized
[ 0.211064] Bluetooth: L2CAP socket layer initialized
[ 0.211203] Bluetooth: SCO socket layer initialized
[ 0.212699] cfg80211: Calling CRDA to update world regulatory domain
[ 0.214232] Switched to clocksource mxc_timer1
[ 0.244301] NET: Registered protocol family 2
[ 0.246042] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.246288] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[ 0.249196] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.249399] UDP hash table entries: 512 (order: 3, 40960 bytes)
[ 0.249801] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[ 0.250970] NET: Registered protocol family 1
[ 0.252156] RPC: Registered named UNIX socket transport module.
[ 0.252173] RPC: Registered udp transport module.
[ 0.252184] RPC: Registered tcp transport module.
[ 0.252195] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.253405] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
[ 0.253494] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.255557] imx6_busfreq soc:busfreq: DDR medium rate not supported.
[ 0.257077] Bus freq driver module loaded
[ 0.259857] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.278129] VFS: Disk quotas dquot_6.6.0
[ 0.278572] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.285741] NFS: Registering the id_resolver key type
[ 0.285976] Key type id_resolver registered
[ 0.285991] Key type id_legacy registered
[ 0.286198] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.288038] fuse init (API version 7.23)
[ 0.293874] io scheduler noop registered
[ 0.293899] io scheduler deadline registered
[ 0.293993] io scheduler cfq registered (default)
[ 0.295226] imx-weim 21b8000.weim: Driver registered.
[ 0.299855] imx6q-pcie 1ffc000.pcie: pcie_phy clock source missing or invalid
[ 0.299927] imx6q-pcie: probe of 1ffc000.pcie failed with error -2
[ 0.302213] backlight supply power not found, using dummy regulator
[ 0.306871] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.306899] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[ 0.314502] imx-sdma 20ec000.sdma: initialized
[ 0.317271] pfuze100-regulator 1-0008: Full layer: 1, Metal layer: 1
[ 0.317990] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[ 0.318007] pfuze100-regulator 1-0008: pfuze100 found.
[ 0.341037] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 24, base_baud = 5000000) is a IMX
[ 1.291667] console [ttymxc0] enabled
[ 1.299528] [drm] Initialized drm 1.1.0 20060810
[ 1.310607] imx-ipuv3-crtc imx-ipuv3-crtc.0: missing port@2 node in /soc/ipu@02400000
[ 1.318949] imx-ipuv3-crtc imx-ipuv3-crtc.1: missing port@3 node in /soc/ipu@02400000
[ 1.327477] imx-ipuv3 2400000.ipu: IPUv3H probed
[ 1.333333] imx-ipuv3-crtc imx-ipuv3-crtc.4: missing port@2 node in /soc/ipu@02800000
[ 1.341627] imx-ipuv3-crtc imx-ipuv3-crtc.5: missing port@3 node in /soc/ipu@02800000
[ 1.350142] imx-ipuv3 2800000.ipu: IPUv3H probed
[ 1.377841] brd: module loaded
[ 1.396422] loop: module loaded
[ 1.401755] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024
[ 1.409739] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480
[ 1.417800] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000
[ 1.426030] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000
[ 1.437000] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
[ 1.444011] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 1.452856] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 1.465558] scsi host0: ahci-imx
[ 1.470016] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 312
[ 1.486701] m25p80 spi32766.0: m25p32 (4096 Kbytes)
[ 1.496299] spi_imx 2008000.ecspi: probed
[ 1.501428] CAN device driver interface
[ 1.507687] 2188000.ethernet supply phy not found, using dummy regulator
[ 1.516172] pps pps0: new PPS source ptp0
[ 1.520547] fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
[ 1.530538] fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 56:ef:12:e3:ad:67
[ 1.550476] libphy: fec_enet_mii_bus: probed
[ 1.556635] fec 2188000.ethernet eth0: registered PHC device 0
[ 1.564370] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.570927] ehci-pci: EHCI PCI platform driver
[ 1.575557] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.581327] usbcore: registered new interface driver usb-storage
[ 1.603875] ci_hdrc ci_hdrc.1: doesn't support gadget
[ 1.609013] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.614134] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 1.634294] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.644387] hub 1-0:1.0: USB hub found
[ 1.648500] hub 1-0:1.0: 1 port detected
|
|