在内核选项中已经添加mtd的 <*> Command line partition table parsing 支持,SPI-NOR 设备的支持。jffs2文件系统的支持,
在内核启动却为识别分区:
只输出了:
[ 0.754400] m25p80 spi0.0: xt25f128b (16384 Kbytes)
...
[ 1.368204] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
各位有没有遇到过这问题
离线
可能是驱动没开,也可能是文件系统不对,更可能是MTD分区,信息太少了
离线
有没有识别到分区?
离线
没有识别到分区
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-licheepi-zero (ryan@ryan-virtual-machine) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-200
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 15883
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(d2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 53540K/64036K available (6144K kernel code, 303K rwdata, 1744K rodata, 1024K init, 255K bss, 10496K )
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 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] random: get_random_bytes called from start_kernel+0x300/0x42c with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000021] Switching to timer-based delay loop, resolution 41ns
[ 0.000208] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000456] Console: colour dummy device 80x30
[ 0.000518] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000535] pid_max: default: 32768 minimum: 301
[ 0.000708] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000726] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001554] CPU: Testing write buffer coherency: ok
[ 0.002070] /cpus/cpu@0 missing clock-frequency property
[ 0.002097] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002870] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003080] rcu: Hierarchical SRCU implementation.
[ 0.003642] smp: Bringing up secondary CPUs ...
[ 0.003665] smp: Brought up 1 node, 1 CPU
[ 0.003676] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003684] CPU: All CPU(s) started in SVC mode.
[ 0.004787] devtmpfs: initialized
[ 0.008355] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008694] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008726] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.008967] pinctrl core: initialized pinctrl subsystem
[ 0.010121] NET: Registered protocol family 16
[ 0.010674] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.011998] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.012019] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.036179] SCSI subsystem initialized
[ 0.036455] usbcore: registered new interface driver usbfs
[ 0.036522] usbcore: registered new interface driver hub
[ 0.036636] usbcore: registered new device driver usb
[ 0.036857] mc: Linux media interface: v0.10
[ 0.036897] videodev: Linux video capture interface: v2.00
[ 0.037128] Advanced Linux Sound Architecture Driver Initialized.
[ 0.038503] clocksource: Switched to clocksource arch_sys_counter
[ 0.051249] NET: Registered protocol family 2
[ 0.052075] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.052120] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.052146] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.052171] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.052322] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.052375] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.052684] NET: Registered protocol family 1
[ 0.054305] Initialise system trusted keyrings
[ 0.054760] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.062144] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.090763] Key type asymmetric registered
[ 0.090786] Asymmetric key parser 'x509' registered
[ 0.090888] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.090902] io scheduler mq-deadline registered
[ 0.090910] io scheduler kyber registered
[ 0.091969] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.095817] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.168787] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.171311] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.172421] printk: console [ttyS0] disabled
[ 0.192738] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.713602] printk: console [ttyS0] enabled
[ 0.742943] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.754400] m25p80 spi0.0: xt25f128b (16384 Kbytes)
[ 0.760909] libphy: Fixed MDIO Bus: probed
[ 0.765601] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.771508] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.777750] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 38000 (expect 58000)
[ 0.787149] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.794389] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.801617] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.806577] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.813366] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.819030] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.824973] libphy: stmmac: probed
[ 0.829180] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.852651] libphy: mdio_mux: probed
[ 0.856621] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.863271] ehci-platform: EHCI generic platform driver
[ 0.868836] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.874470] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.882471] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.918503] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.925753] hub 1-0:1.0: USB hub found
[ 0.929727] hub 1-0:1.0: 1 port detected
[ 0.934358] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.940687] ohci-platform: OHCI generic platform driver
[ 0.946276] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.953000] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.960979] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.033637] hub 2-0:1.0: USB hub found
[ 1.037485] hub 2-0:1.0: 1 port detected
[ 1.044833] usbcore: registered new interface driver usb-storage
[ 1.052158] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.061473] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.066537] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.071292] i2c /dev entries driver
[ 1.076239] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.086130] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.094894] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.131395] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.138707] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.175565] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.183756] usbcore: registered new interface driver usbhid
[ 1.189424] usbhid: USB HID core driver
[ 1.195171] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.202804] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.210209] Initializing XFRM netlink socket
[ 1.214517] NET: Registered protocol family 17
[ 1.219815] Registering SWP/SWPB emulation handler
[ 1.225748] Loading compiled-in X.509 certificates
[ 1.236026] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0x(ptrval)
[ 1.246726] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[ 1.263052] Console: switching to colour frame buffer device 100x30
[ 1.275481] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[ 1.284342] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.295841] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.301690] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.311110] hub 3-0:1.0: USB hub found
[ 1.314997] hub 3-0:1.0: 1 port detected
[ 1.321542] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[ 1.330227] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[ 1.340434] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.349238] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:43:29 UTC (2609)
[ 1.357738] vcc5v0: disabling
[ 1.360787] ALSA device list:
[ 1.363759] #0: V3s Audio Codec
[ 1.368204] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[ 1.375923] Please append a correct "root=" boot option; here are the available partitions:
[ 1.384301] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.392647] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-licheepi-zero #2
[ 1.399684] Hardware name: Allwinner sun8i Family
[ 1.404420] [<c010ecf4>] (unwind_backtrace) from [<c010b71c>] (show_stack+0x10/0x14)
[ 1.412163] [<c010b71c>] (show_stack) from [<c06ce1b0>] (dump_stack+0x84/0x98)
[ 1.419384] [<c06ce1b0>] (dump_stack) from [<c011dd3c>] (panic+0x110/0x2fc)
[ 1.426346] [<c011dd3c>] (panic) from [<c09012f8>] (mount_block_root+0x214/0x2f0)
[ 1.433825] [<c09012f8>] (mount_block_root) from [<c09015a0>] (prepare_namespace+0x144/0x188)
[ 1.442342] [<c09015a0>] (prepare_namespace) from [<c06e6604>] (kernel_init+0x8/0x10c)
[ 1.450253] [<c06e6604>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.457811] Exception stack(0xc3833fb0 to 0xc3833ff8)
[ 1.462859] 3fa0: 00000000 00000000 00000000 00000000
[ 1.471028] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.479194] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.485816] Rebooting in 5 seconds..
离线
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(d2
[ 0.754400] m25p80 spi0.0: xt25f128b (16384 Kbytes)
spi32766.0这个写错了,虽然不知道你32766从那里抄来的,但打印说一定不是这么写的
离线
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(d2
[ 0.754400] m25p80 spi0.0: xt25f128b (16384 Kbytes)
spi32766.0这个写错了,虽然不知道你32766从那里抄来的,但打印说一定不是这么写的
spi32766.0是设备名啊,我用4.13y版本已经成功的,我想换成5.2内核时出现的这个问题
离线
spi32766.0是设备名啊,我用4.13y版本已经成功的,我想换成5.2内核时出现的这个问题
受楼上老哥启发,查看内核启动日志有一行为:
[ 0.754400] m25p80 spi0.0: xt25f128b (16384 Kbytes)
可知在5.2版本中,flash设备名为spi0.0,所以在uboot环境变量中修改spi32766.0为spi0.0即可正常识别flash及其分区
离线
bootargs=console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
难道我这个flash设备名也不对哇?始终报“Could not find a valid device tree”
离线
bootargs=console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
难道我这个flash设备名也不对哇?始终报“Could not find a valid device tree”
老哥,你这明显是没找到设备树啊,dtb文件有没有烧录,或者内核编译设置还有问题
离线
太好了,一直也是这个问题,看到这终于明白了,我在内核下设备树改的
vi arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
加入别名:spi32766 = &spi0; 代码如下:
aliases {
serial0 = &uart0;
ethernet0 = &emac;
spi32766 = &spi0;
};
最近编辑记录 shunshn (2020-04-27 20:09:14)
离线
学习收藏
离线
U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40)
DRAM: 64 MiB
Trying to boot from sunxi SPI
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Dec 27 2024 - 02:57:40 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfffd9 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0-200563-g338e6aaa6f28-dirty (linux@linux) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #36 SMP Fri Dec 27 16:44:58 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x43000000
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 38512K/65536K available (6144K kernel code, 424K rwdata, 1628K rodata, 1024K init, 244K bss, 10640K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 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] random: get_random_bytes called from start_kernel+0x2f8/0x424 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000238] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000507] Console: colour dummy device 80x30
[ 0.000564] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000578] pid_max: default: 32768 minimum: 301
[ 0.000734] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000749] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001579] CPU: Testing write buffer coherency: ok
[ 0.002120] /cpus/cpu@0 missing clock-frequency property
[ 0.002146] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002934] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003151] rcu: Hierarchical SRCU implementation.
[ 0.003694] smp: Bringing up secondary CPUs ...
[ 0.003714] smp: Brought up 1 node, 1 CPU
[ 0.003724] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003730] CPU: All CPU(s) started in SVC mode.
[ 0.004830] devtmpfs: initialized
[ 0.008419] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008729] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008759] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009490] prandom: seed boundary self test passed
[ 0.012508] prandom: 100 self tests passed
[ 0.012600] pinctrl core: initialized pinctrl subsystem
[ 0.013818] NET: Registered protocol family 16
[ 0.014971] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.016254] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.016274] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.033480] SCSI subsystem initialized
[ 0.034211] usbcore: registered new interface driver usbfs
[ 0.034277] usbcore: registered new interface driver hub
[ 0.034363] usbcore: registered new device driver usb
[ 0.034618] pps_core: LinuxPPS API ver. 1 registered
[ 0.034628] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.034652] PTP clock support registered
[ 0.036145] clocksource: Switched to clocksource arch_sys_counter
[ 0.048465] NET: Registered protocol family 2
[ 0.049145] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.049183] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.049207] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.049231] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.049385] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.049440] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.049678] NET: Registered protocol family 1
[ 0.050640] RPC: Registered named UNIX socket transport module.
[ 0.050660] RPC: Registered udp transport module.
[ 0.050666] RPC: Registered tcp transport module.
[ 0.050671] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.052665] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.060002] NFS: Registering the id_resolver key type
[ 0.060059] Key type id_resolver registered
[ 0.060067] Key type id_legacy registered
[ 0.060117] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.060697] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.060715] io scheduler mq-deadline registered
[ 0.060722] io scheduler kyber registered
[ 0.061618] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.065651] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.138933] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.141447] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.142569] printk: console [ttyS0] disabled
[ 0.162880] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.720106] printk: console [ttyS0] enabled
[ 0.749781] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.761529] libphy: Fixed MDIO Bus: probed
[ 0.765641] CAN device driver interface
[ 0.770258] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.776063] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.782361] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.791847] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.799087] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.806314] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.811274] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.818067] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.823719] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.829653] libphy: stmmac: probed
[ 0.833758] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.840149] libphy: mdio_mux: probed
[ 0.843758] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.850160] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.857315] libphy: mdio_mux: probed
[ 0.861235] PPP generic driver version 2.4.2
[ 0.865864] PPP BSD Compression module registered
[ 0.870677] PPP Deflate Compression module registered
[ 0.875737] PPP MPPE Compression module registered
[ 0.880566] NET: Registered protocol family 24
[ 0.885146] usbcore: registered new interface driver asix
[ 0.890634] usbcore: registered new interface driver ax88179_178a
[ 0.896806] usbcore: registered new interface driver cdc_ether
[ 0.902660] usbcore: registered new interface driver net1080
[ 0.908373] usbcore: registered new interface driver rndis_host
[ 0.914319] usbcore: registered new interface driver cdc_subset
[ 0.920284] usbcore: registered new interface driver zaurus
[ 0.925904] usbcore: registered new interface driver cdc_ncm
[ 0.931579] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.938111] ehci-platform: EHCI generic platform driver
[ 0.943628] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.949295] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.957489] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.986141] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.993374] hub 1-0:1.0: USB hub found
[ 0.997334] hub 1-0:1.0: 1 port detected
[ 1.001990] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.008362] ohci-platform: OHCI generic platform driver
[ 1.013927] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.020657] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.028732] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.101235] hub 2-0:1.0: USB hub found
[ 1.105083] hub 2-0:1.0: 1 port detected
[ 1.112445] usbcore: registered new interface driver option
[ 1.118192] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.126533] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.135758] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.140936] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.145680] i2c /dev entries driver
[ 1.151777] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.160519] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.197159] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.204407] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.241081] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.249231] usbcore: registered new interface driver usbhid
[ 1.254805] usbhid: USB HID core driver
[ 1.259347] NET: Registered protocol family 17
[ 1.263826] can: controller area network core (rev 20170425 abi 9)
[ 1.270183] NET: Registered protocol family 29
[ 1.274630] can: raw protocol (rev 20170425)
[ 1.278936] can: broadcast manager protocol (rev 20170425 t)
[ 1.284598] can: netlink gateway (rev 20170425) max_hops=1
[ 1.290433] Key type dns_resolver registered
[ 1.294856] Registering SWP/SWPB emulation handler
[ 1.307414] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.318951] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.324715] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.334228] hub 3-0:1.0: USB hub found
[ 1.338242] hub 3-0:1.0: 1 port detected
[ 1.343678] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T04:15:31 UTC (15331)
[ 1.352306] vcc5v0: disabling
[ 1.356700] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[ 1.364273] Please append a correct "root=" boot option; here are the available partitions:
[ 1.372701] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[ 1.381049] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-200563-g338e6aaa6f28-dirty #36
[ 1.389298] Hardware name: Allwinner sun8i Family
[ 1.394034] [<c010ee84>] (unwind_backtrace) from [<c010b804>] (show_stack+0x10/0x14)
[ 1.401775] [<c010b804>] (show_stack) from [<c0645f98>] (dump_stack+0x88/0x9c)
[ 1.408996] [<c0645f98>] (dump_stack) from [<c011e0c8>] (panic+0x110/0x2fc)
[ 1.415959] [<c011e0c8>] (panic) from [<c0901300>] (mount_block_root+0x1a4/0x28c)
[ 1.423438] [<c0901300>] (mount_block_root) from [<c090152c>] (mount_root+0x144/0x160)
[ 1.431350] [<c090152c>] (mount_root) from [<c090168c>] (prepare_namespace+0x144/0x188)
[ 1.439346] [<c090168c>] (prepare_namespace) from [<c065c6e0>] (kernel_init+0x8/0x10c)
[ 1.447257] [<c065c6e0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.454814] Exception stack(0xc2835fb0 to 0xc2835ff8)
[ 1.459861] 5fa0: 00000000 00000000 00000000 00000000
[ 1.468028] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.476194] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.482816] Rebooting in 5 seconds..
我这个咋回事呀楼主救救!!
离线