您尚未登录。

楼主 # 昨天 17:29:59

zl
会员
注册时间: 2026-01-21
已发帖子: 14
积分: 9

V3S W25Q256 挂载 文件系统失败

好像是解析分区失败,提示 VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
以下是调试输出信息:


U-Boot SPL 2017.01-rc2-00073-gdd6e8740dc-dirty (Jan 24 2026 - 16:47:32)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Jan 24 2026 - 16:47:32 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Jan 24 2026 - 16:47:32 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x500000
SF: 5242880 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffe7a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (v3s@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #4 SMP Sat Jan 24 16:54:43 CST 2026
[    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
[    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 rootwaitmtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,5M(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: 53540K/64036K available (6144K kernel code, 302K rwdata, 1696K rodata, 1024K init, 255K bss, 10496K reserved, 0K 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+0x300/0x48c 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.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000211] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000455] Console: colour dummy device 80x30
[    0.000511] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000527] pid_max: default: 32768 minimum: 301
[    0.000686] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000702] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001527] CPU: Testing write buffer coherency: ok
[    0.002048] /cpus/cpu@0 missing clock-frequency property
[    0.002075] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002860] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003073] rcu: Hierarchical SRCU implementation.
[    0.003609] smp: Bringing up secondary CPUs ...
[    0.003630] smp: Brought up 1 node, 1 CPU
[    0.003640] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003647] CPU: All CPU(s) started in SVC mode.
[    0.004732] devtmpfs: initialized
[    0.008342] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008658] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008691] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008940] pinctrl core: initialized pinctrl subsystem
[    0.010126] NET: Registered protocol family 16
[    0.010673] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011934] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011953] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.035622] SCSI subsystem initialized
[    0.035813] usbcore: registered new interface driver usbfs
[    0.035883] usbcore: registered new interface driver hub
[    0.035994] usbcore: registered new device driver usb
[    0.036243] mc: Linux media interface: v0.10
[    0.036281] videodev: Linux video capture interface: v2.00
[    0.036491] Advanced Linux Sound Architecture Driver Initialized.
[    0.037813] clocksource: Switched to clocksource arch_sys_counter
[    0.050213] NET: Registered protocol family 2
[    0.051028] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.051068] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.051093] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.051115] TCP: Hash tables configured (established 1024 bind 1024)
[    0.051270] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051323] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.051629] NET: Registered protocol family 1
[    0.053574] Initialise system trusted keyrings
[    0.053961] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.061259] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.091291] Key type asymmetric registered
[    0.091312] Asymmetric key parser 'x509' registered
[    0.091409] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.091423] io scheduler mq-deadline registered
[    0.091430] io scheduler kyber registered
[    0.092484] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.096284] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.096732] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.097481] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.165067] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.168467] printk: console [ttyS0] disabled
[    0.188767] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.715424] printk: console [ttyS0] enabled
[    0.721377] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.754769] panel-simple panel: panel supply power not found, using dummy regulator
[    0.764146] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.775882] m25p80 spi0.0: w25q256 (32768 Kbytes)
[    0.781738] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.788352] ehci-platform: EHCI generic platform driver
[    0.793886] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.799559] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.807499] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.837817] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.845055] hub 1-0:1.0: USB hub found
[    0.849004] hub 1-0:1.0: 1 port detected
[    0.853631] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.859955] ohci-platform: OHCI generic platform driver
[    0.865519] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.872239] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.880223] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.952901] hub 2-0:1.0: USB hub found
[    0.956739] hub 2-0:1.0: 1 port detected
[    0.964043] usbcore: registered new interface driver usb-storage
[    0.971631] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.976694] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.981428] i2c /dev entries driver
[    0.986326] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    0.995980] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.004695] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.040454] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.048042] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.059405] usbcore: registered new interface driver usbhid
[    1.064983] usbhid: USB HID core driver
[    1.071598] Initializing XFRM netlink socket
[    1.075912] NET: Registered protocol family 17
[    1.081078] Registering SWP/SWPB emulation handler
[    1.086959] Loading compiled-in X.509 certificates
[    1.097111] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.107801] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.124069] Console: switching to colour frame buffer device 100x30
[    1.136571] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    1.145144] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    1.157702] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0747140)
[    1.165301] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc074443c)
[    1.173039] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.179664] [drm] No driver support for vblank timestamp query.
[    1.185588] fb0: switching to sun4i-drm-fb from simple
[    1.191547] Console: switching to colour dummy device 80x30
[    1.198307] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.258542] Console: switching to colour frame buffer device 100x30
[    1.287006] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.295003] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.306527] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.312379] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.321463] hub 3-0:1.0: USB hub found
[    1.325304] hub 3-0:1.0: 1 port detected
[    1.330391] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:15 UTC (15)
[    1.338781] vcc3v0: disabling
[    1.341759] vcc3v3: disabling
[    1.344768] vcc5v0: disabling
[    1.347735] ALSA device list:
[    1.350768]   No soundcards found.
[    1.355313] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[    1.363006] Please append a correct "root=" boot option; here are the available partitions:
[    1.371426] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.379774] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-licheepi-zero #4
[    1.386811] Hardware name: Allwinner sun8i Family
[    1.391546] [<c010ed14>] (unwind_backtrace) from [<c010b72c>] (show_stack+0x10/0x14)
[    1.399292] [<c010b72c>] (show_stack) from [<c06b3b30>] (dump_stack+0x84/0x98)
[    1.406515] [<c06b3b30>] (dump_stack) from [<c011dddc>] (panic+0x110/0x2fc)
[    1.413477] [<c011dddc>] (panic) from [<c0901358>] (mount_block_root+0x214/0x2f0)
[    1.420954] [<c0901358>] (mount_block_root) from [<c090160c>] (prepare_namespace+0x150/0x194)
[    1.429471] [<c090160c>] (prepare_namespace) from [<c06cbf84>] (kernel_init+0x8/0x10c)
[    1.437383] [<c06cbf84>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[    1.444941] Exception stack(0xc3833fb0 to 0xc3833ff8)
[    1.449987] 3fa0:                                     00000000 00000000 00000000 00000000
[    1.458155] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.466321] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.472944] Rebooting in 5 seconds..

离线

楼主 #1 昨天 18:17:06

zl
会员
注册时间: 2026-01-21
已发帖子: 14
积分: 9

Re: V3S W25Q256 挂载 文件系统失败

上面的问题解决了,现在是新的问题

QQ截图20260124181547.png

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


太原小智科技有限责任公司 - 东莞哇酷科技有限公司联合开发