This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

移植linux4.14内核出现Waiting for root device /dev/mmcblk0p2...该如何修改

Other Parts Discussed in Thread: TPS65910

最初我先移植了 linux3.14的内核能够正常运行

之后我更换了image等镜像 与dtb文件想继续通过sd卡方式进行移植却出现如下问题

Waiting for root device /dev/mmcblk0p2...

运行到此处便不在运行了  原因可能有哪些呢?

  • U-Boot 2014.04-rc2-g8b04cb7 (Jun 25 2018 - 09:43:59)

    I2C: ready
    DRAM: 256 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading env

    ** Unable to read "env" from mmc0:1 **
    Using default environment

    Net: Could not get PHY for cpsw: addr 3
    cpsw
    Hit any key to stop autoboot: 0
    BootDevice:8, Bootmode:2
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    100 bytes read in 3 ms (32.2 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    reading uImage
    4044736 bytes read in 247 ms (15.6 MiB/s)
    reading am335x-evm.dtb
    41323 bytes read in 8 ms (4.9 MiB/s)
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-4.14.79-ge669d52447
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 4044672 Bytes = 3.9 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    ## Flattened Device Tree blob at 82000000
    Booting using the fdt blob at 0x82000000
    Loading Kernel Image ... OK
    Loading Device Tree to 8fb50000, end 8fb5d16a ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.14.79-ge669d52447 (shiml@QiyangServer) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP Mon May 13 16:39:10 CST 2019
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM335x EVM
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] cma: Reserved 16 MiB at 0x8e800000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (sgx neon)
    [ 0.000000] percpu: Embedded 17 pages/cpu @cfb79000 s40872 r8192 d20568 u69632
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64452
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait lcdtype=AUO_AT070TN94 consoleblank=0
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 220288K/260096K available (8192K kernel code, 814K rwdata, 2388K rodata, 1024K init, 7475K bss, 23424K 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 : 0xd0000000 - 0xff800000 ( 760 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xcfe00000 ( 254 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
    [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
    [ 0.000000] .data : 0xc0d00000 - 0xc0dcb810 ( 815 kB)
    [ 0.000000] .bss : 0xc0dcd000 - 0xc1519ec0 (7476 kB)
    [ 0.000000] Running RCU self tests
    [ 0.000000] Hierarchical RCU implementation.
    [ 0.000000] RCU event tracing is enabled.
    [ 0.000000] RCU lockdep checking is enabled.
    [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000061] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000127] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000843] timer_probe: no matching timers found
    [ 0.001947] Console: colour dummy device 80x30
    [ 0.002004] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [ 0.002021] ... MAX_LOCKDEP_SUBCLASSES: 8
    [ 0.002036] ... MAX_LOCK_DEPTH: 48
    [ 0.002051] ... MAX_LOCKDEP_KEYS: 8191
    [ 0.002067] ... CLASSHASH_SIZE: 4096
    [ 0.002081] ... MAX_LOCKDEP_ENTRIES: 32768
    [ 0.002096] ... MAX_LOCKDEP_CHAINS: 65536
    [ 0.002110] ... CHAINHASH_SIZE: 32768
    [ 0.002124] memory used by lock dependency info: 4655 kB
    [ 0.002140] per task-struct memory footprint: 1536 bytes
    [ 0.002184] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [ 0.078331] pid_max: default: 32768 minimum: 301
    [ 0.078804] Security Framework initialized
    [ 0.078971] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.078996] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.082750] CPU: Testing write buffer coherency: ok
    [ 0.082988] CPU0: Spectre v2: using BPIALL workaround
    [ 0.084630] CPU0: thread -1, cpu 0, socket -1, mpidr 0
    [ 0.086514] Setting up static identity map for 0x80100000 - 0x80100078
    [ 0.087243] Hierarchical SRCU implementation.
    [ 0.089496] smp: Bringing up secondary CPUs ...
    [ 0.089527] smp: Brought up 1 node, 1 CPU
    [ 0.089548] SMP: Total of 1 processors activated (795.44 BogoMIPS).
    [ 0.089566] CPU: All CPU(s) started in SVC mode.
    [ 0.094203] devtmpfs: initialized
    [ 0.129100] random: get_random_u32 called from bucket_table_alloc+0xe4/0x23c with crng_init=0
    [ 0.130337] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.131286] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.131369] futex hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.133349] pinctrl core: initialized pinctrl subsystem
    [ 0.138736] NET: Registered protocol family 16
    [ 0.146728] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.204763] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.261084] cpuidle: using governor menu
    [ 0.275870] OMAP GPIO hardware version 0.1
    [ 0.303183] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [ 0.311409] No ATAGs?
    [ 0.311439] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.311840] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.311868] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.355617] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.364704] SCSI subsystem initialized
    [ 0.366712] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.366854] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [ 0.367227] pps_core: LinuxPPS API ver. 1 registered
    [ 0.367248] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.367308] PTP clock support registered
    [ 0.372437] clocksource: Switched to clocksource timer1
    [ 0.520283] VFS: Disk quotas dquot_6.6.0
    [ 0.520523] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.550316] NET: Registered protocol family 2
    [ 0.552907] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.552995] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
    [ 0.553353] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.553838] UDP hash table entries: 256 (order: 2, 20480 bytes)
    [ 0.553966] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
    [ 0.554393] NET: Registered protocol family 1
    [ 0.556791] RPC: Registered named UNIX socket transport module.
    [ 0.556849] RPC: Registered udp transport module.
    [ 0.556868] RPC: Registered tcp transport module.
    [ 0.556885] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.559767] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.560934] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.564404] audit: initializing netlink subsys (disabled)
    [ 0.567524] audit: type=2000 audit(0.560:1): state=initialized audit_enabled=0 res=1
    [ 0.567942] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.571555] NFS: Registering the id_resolver key type
    [ 0.572011] Key type id_resolver registered
    [ 0.572058] Key type id_legacy registered
    [ 0.572517] jffs2: version 2.2. (NAND) (SUMMARY) ? 2001-2006 Red Hat, Inc.
    [ 0.580739] io scheduler noop registered
    [ 0.580779] io scheduler deadline registered
    [ 0.580930] io scheduler cfq registered (default)
    [ 0.580954] io scheduler mq-deadline registered
    [ 0.580974] io scheduler kyber registered
    [ 0.583949] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.592815] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
    [ 0.599758] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 0.600281] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a OMAP UART0
    [ 1.358264] console [ttyO0] enabled
    [ 1.363988] omap_uart 48022000.serial: no wakeirq for uart1
    [ 1.370335] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a OMAP UART1
    [ 1.415755] brd: module loaded
    [ 1.448175] loop: module loaded
    [ 1.454904] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.466297] libphy: Fixed MDIO Bus: probed
    [ 1.542502] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 1.550576] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [ 1.564163] libphy: 4a101000.mdio: probed
    [ 1.568412] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8035 ethernet
    [ 1.578289] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8035 ethernet
    [ 1.589742] cpsw 4a100000.ethernet: Detected MACID = 12:34:56:78:90:00
    [ 1.597383] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [ 1.604197] cpsw 4a100000.ethernet: ALE Table size 1024
    [ 1.609782] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 1.621110] i2c /dev entries driver
    [ 1.627971] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.638207] oprofile: using arm/armv7
    [ 1.643140] Initializing XFRM netlink socket
    [ 1.648185] NET: Registered protocol family 10
    [ 1.657081] Segment Routing with IPv6
    [ 1.661090] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.670171] NET: Registered protocol family 17
    [ 1.675127] NET: Registered protocol family 15
    [ 1.680190] Key type dns_resolver registered
    [ 1.685016] omap_voltage_late_init: Voltage driver support not added
    [ 1.691706] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
    [ 1.700277] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
    [ 1.709381] ThumbEE CPU extension supported.
    [ 1.714009] Registering SWP/SWPB emulation handler
    [ 1.719044] SmartReflex Class3 initialized
    [ 1.749367] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.755476] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.766804] nand: No NAND device found
    [ 1.770791] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [ 1.813797] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.825204] vrtc: supplied by vbat
    [ 1.835526] vio: supplied by vbat
    [ 1.842508] vdd1: supplied by vbat
    [ 1.849943] vdd2: supplied by vbat
    [ 1.854060] random: fast init done
    [ 1.865057] vdig1: supplied by vbat
    [ 1.871926] vdig2: supplied by vbat
    [ 1.878945] vpll: supplied by vbat
    [ 1.885758] vdac: supplied by vbat
    [ 1.892696] vaux1: supplied by vbat
    [ 1.899690] vaux2: supplied by vbat
    [ 1.906708] vaux33: supplied by vbat
    [ 1.913755] vmmc: supplied by vbat
    [ 1.920494] vbb: supplied by vbat
    [ 1.927242] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.937831] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [ 1.945659] hctosys: unable to open rtc device (rtc0)
    [ 1.950984] sr_init: No PMIC hook to init smartreflex
    [ 1.956797] sr_init: platform driver register failed for SR
    [ 1.963818] lis3_reg: disabling
    [ 1.967243] wlan-en-regulator: disabling
    [ 1.975652] Waiting for root device /dev/mmcblk0p2...
  • 这个帖子的问题和你的类似:e2e.ti.com/.../419109
  • 请看一下这个帖子的回复。

    论坛上也有很多跟您类似的错误,可以多搜索看看。