imx6dl开发板移植linux 4.4 无法启动

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

imx6dl开发板移植linux 4.4 无法启动

Jump to solution
1,096 Views
luoyaojun
Contributor II

您好,NXP工程师们:

我在imx6dl上移植linux kernel 4.4时,出现无法启动内核的情况,具体信息是:

是否需要修改dts,针对emmc的gpio另外做配置以识别emmc?

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.0 (root@hlkj) (gcc version 5.3.0 (GCC) ) #1 SMP Sat Jan 6 23:30:18 CST 2018
[ 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 DualLite 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 @ef7b6000 s19112 r8192 d21848 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
[ 0.000000] Kernel command line: console=ttymxc0,115200 video=mxcfb0:dev=lcd,AT070-WVGA,if=RGB24,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 ldb=sin0 audio_codec=wm8960-24M video=mxcfb2:off calibrate= fec_mac=1E:ED:19:27:1A:B3 root=/dev/mmcblk0p2 rootwait rw
[ 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: 1002936K/1048576K available (7927K kernel code, 439K rwdata, 2732K rodata, 456K init, 8370K bss, 29256K reserved, 16384K cma-reserved, 245760K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a7105c (10661 kB)
[ 0.000000] .init : 0xc0a72000 - 0xc0ae4000 ( 456 kB)
[ 0.000000] .data : 0xc0ae4000 - 0xc0b51f60 ( 440 kB)
[ 0.000000] .bss : 0xc0b54000 - 0xc13808c4 (8371 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 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 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76050001
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000037] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.001324] Console: colour dummy device 80x30
[ 0.001352] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.001361] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.001370] ... MAX_LOCK_DEPTH: 48
[ 0.001379] ... MAX_LOCKDEP_KEYS: 8191
[ 0.001387] ... CLASSHASH_SIZE: 4096
[ 0.001395] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.001404] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.001411] ... CHAINHASH_SIZE: 32768
[ 0.001420] memory used by lock dependency info: 5167 kB
[ 0.001429] per task-struct memory footprint: 1536 bytes
[ 0.001462] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.001482] pid_max: default: 32768 minimum: 301
[ 0.001793] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001813] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003567] CPU: Testing write buffer coherency: ok
[ 0.004450] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004561] Setting up static identity map for 0x10008280 - 0x100082f0
[ 0.008759] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009146] Brought up 2 CPUs
[ 0.009168] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[ 0.009178] CPU: All CPU(s) started in SVC mode.
[ 0.011186] devtmpfs: initialized
[ 0.035490] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.036384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.037833] pinctrl core: initialized pinctrl subsystem
[ 0.041101] NET: Registered protocol family 16
[ 0.044678] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.046896] CPU identified as i.MX6DL, silicon rev 1.3
[ 0.093676] No ATAGs?
[ 0.093746] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.093759] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.097074] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.166781] mxs-dma 110000.dma-apbh: initialized
[ 0.172683] vgaarb: loaded
[ 0.173619] SCSI subsystem initialized
[ 0.174807] usbcore: registered new interface driver usbfs
[ 0.174963] usbcore: registered new interface driver hub
[ 0.175157] usbcore: registered new device driver usb
[ 0.177509] i2c i2c-0: IMX I2C adapter registered
[ 0.177538] i2c i2c-0: can't use DMA
[ 0.178672] i2c i2c-1: IMX I2C adapter registered
[ 0.178698] i2c i2c-1: can't use DMA
[ 0.179875] i2c i2c-2: IMX I2C adapter registered
[ 0.179902] i2c i2c-2: can't use DMA
[ 0.180083] Linux video capture interface: v2.00
[ 0.180320] pps_core: LinuxPPS API ver. 1 registered
[ 0.180332] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.180393] PTP clock support registered
[ 0.181171] Advanced Linux Sound Architecture Driver Initialized.
[ 0.184142] Bluetooth: Core ver 2.21
[ 0.184242] NET: Registered protocol family 31
[ 0.184254] Bluetooth: HCI device and connection manager initialized
[ 0.184315] Bluetooth: HCI socket layer initialized
[ 0.184342] Bluetooth: L2CAP socket layer initialized
[ 0.184470] Bluetooth: SCO socket layer initialized
[ 0.187378] clocksource: Switched to clocksource mxc_timer1
[ 0.217368] NET: Registered protocol family 2
[ 0.218921] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.219086] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[ 0.221762] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.222039] UDP hash table entries: 512 (order: 3, 40960 bytes)
[ 0.222408] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[ 0.223502] NET: Registered protocol family 1
[ 0.224624] RPC: Registered named UNIX socket transport module.
[ 0.224641] RPC: Registered udp transport module.
[ 0.224652] RPC: Registered tcp transport module.
[ 0.224663] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.226353] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 0.229434] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.247778] VFS: Disk quotas dquot_6.6.0
[ 0.248216] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.254772] NFS: Registering the id_resolver key type
[ 0.254995] Key type id_resolver registered
[ 0.255012] Key type id_legacy registered
[ 0.255182] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.257004] fuse init (API version 7.23)
[ 0.265969] bounce: pool size: 64 pages
[ 0.266075] io scheduler noop registered
[ 0.266102] io scheduler deadline registered
[ 0.266218] io scheduler cfq registered (default)
[ 0.266949] imx-weim 21b8000.weim: Driver registered.
[ 0.270114] PCI host bridge /soc/pcie@0x01000000 ranges:
[ 0.270137] No bus range found for /soc/pcie@0x01000000, using [bus 00-ff]
[ 0.270186] err 0x01f00000..0x01f7ffff -> 0x01f00000
[ 0.270227] IO 0x01f80000..0x01f8ffff -> 0x00000000
[ 0.270326] MEM 0x01000000..0x01efffff -> 0x01000000
[ 0.586219] imx6q-pcie 1ffc000.pcie: phy link never came up
[ 0.586843] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[ 0.586868] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.586884] pci_bus 0000:00: root bus resource [??? 0x01f00000-0x01f7ffff flags 0x0]
[ 0.586900] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.586915] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[ 0.588252] PCI: bus0: Fast back to back transfers disabled
[ 0.588602] PCI: bus1: Fast back to back transfers enabled
[ 0.588781] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[ 0.588813] pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]
[ 0.588830] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.589586] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 0.591737] backlight supply power not found, using dummy regulator
[ 0.595808] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.595834] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[ 0.605392] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[ 0.606104] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[ 0.606122] pfuze100-regulator 1-0008: pfuze100 found.
[ 0.629176] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 24, base_baud = 5000000) is a IMX
[ 1.499368] console [ttymxc0] enabled
[ 1.506284] [drm] Initialized drm 1.1.0 20060810
[ 1.520843] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.527537] [drm] No driver support for vblank timestamp query.
[ 1.533970] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)
[ 1.541597] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)
[ 1.549439] dwhdmi-imx 120000.hdmi: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
[ 1.558553] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops)
[ 1.566343] imx-drm display-subsystem: bound 2000000.aips-bus:ldb@020e0008 (ops imx_ldb_ops)
[ 1.592464] Console: switching to colour frame buffer device 128x48
[ 1.603962] imx-drm display-subsystem: fb0: frame buffer device
[ 1.637333] [drm] Initialized imx-drm 1.0.0 20120507 on minor 0
[ 1.643306] imx-ipuv3 2400000.ipu: IPUv3H probed
[ 1.676185] brd: module loaded
[ 1.696878] loop: module loaded
[ 1.708623] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 0, 0
[ 1.714989] spi_imx 2008000.ecspi: probed
[ 1.719853] CAN device driver interface
[ 1.726104] 2188000.ethernet supply phy not found, using dummy regulator
[ 1.748838] pps pps0: new PPS source ptp0
[ 1.762123] libphy: fec_enet_mii_bus: probed
[ 1.768079] fec 2188000.ethernet eth0: registered PHC device 0
[ 1.775534] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.782126] ehci-pci: EHCI PCI platform driver
[ 1.786742] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.792576] usbcore: registered new interface driver usb-storage
[ 1.801770] usb_otg_vbus: supplied by SWBST
[ 1.813357] usb_h1_vbus: supplied by SWBST
[ 1.822109] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.827215] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 1.847366] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.856219] hub 1-0:1.0: USB hub found
[ 1.860256] hub 1-0:1.0: 1 port detected
[ 1.868049] mousedev: PS/2 mouse device common for all mice
[ 1.875664] egalax_ts 2-0004: Failed to read firmware version
[ 1.885421] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[ 1.894441] i2c /dev entries driver
[ 1.900773] IR NEC protocol handler initialized
[ 1.905334] IR RC5(x/sz) protocol handler initialized
[ 1.910455] IR RC6 protocol handler initialized
[ 1.915006] IR JVC protocol handler initialized
[ 1.919588] IR Sony protocol handler initialized
[ 1.924222] IR SANYO protocol handler initialized
[ 1.928968] IR Sharp protocol handler initialized
[ 1.933690] IR MCE Keyboard/mouse protocol handler initialized
[ 1.939562] IR XMP protocol handler initialized
[ 1.946989] coda 2040000.vpu: unable to alloc iram
[ 1.957045] coda 2040000.vpu: Direct firmware load for v4l-coda960-imx6dl.bin failed with error -2
[ 1.966098] coda 2040000.vpu: firmware request failed
[ 1.971645] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 1.977871] Bluetooth: HCI UART driver ver 2.3
[ 1.982355] Bluetooth: HCI UART protocol H4 registered
[ 1.987539] Bluetooth: HCI UART protocol LL registered
[ 1.993219] sdhci: Secure Digital Host Controller Interface driver
[ 1.999463] sdhci: Copyright(c) Pierre Ossman
[ 2.003838] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.011037] /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
[ 2.018251] sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode
[ 2.027461] sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
[ 2.032648] sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO
[ 2.039127] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
[ 2.045344] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
[ 2.097945] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA

pastedImage_1.png

Labels (1)
0 Kudos
Reply
1 Solution
842 Views
jimmychan
NXP TechSupport
NXP TechSupport

Yes, you need to change the pins/IOMUX setting in the dtsi file that to match your own design board.

View solution in original post

0 Kudos
Reply
1 Reply
843 Views
jimmychan
NXP TechSupport
NXP TechSupport

Yes, you need to change the pins/IOMUX setting in the dtsi file that to match your own design board.

0 Kudos
Reply