VFS: Cannot open root device "ubiblock0_4" or unknown-block(0,0): error -6
-
- 使用sd刷入 spinand 方式
- 无法进行系统,内核报错报错日志如下
[ 3.634270] #1: snddaudio0 [ 3.637901] VFS: Cannot open root device "ubiblock0_4" or unknown-block(0,0): error -6 [ 3.646806] Please append a correct "root=" boot option; here are the available partitions: [ 3.656260] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 3.665527] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #66 [ 3.672156] Hardware name: sun8iw21 [ 3.676085] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14) [ 3.684769] [<c010a51c>] (show_stack) from [<c016ff58>] (panic+0xac/0x2b0) [ 3.692479] [<c016ff58>] (panic) from [<c0901270>] (mount_block_root+0x208/0x2f4) [ 3.700869] [<c0901270>] (mount_block_root) from [<c0901504>] (prepare_namespace+0x138/0x178) [ 3.710427] [<c0901504>] (prepare_namespace) from [<c0900e80>] (kernel_init_freeable+0x11c/0x178) [ 3.720374] [<c0900e80>] (kernel_init_freeable) from [<c067bfa8>] (kernel_init+0x8/0x108) [ 3.729545] [<c067bfa8>] (kernel_init) from [<c0106ca8>] (ret_from_fork+0x14/0x2c) [ 3.738031] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
完整日志文件如下:
新建文本文档 (2).txt -
使用nand作为启动介质需要配置ubifs
-
@whycanservice 在 VFS: Cannot open root device "ubiblock0_4" or unknown-block(0,0): error -6 中说:
ubif
你好:# flash CONFIG_SUNXI_SDMMC=y CONFIG_MMC=y CONFIG_SUNXI_FLASH=y CONFIG_SUNXI_NAND=y CONFIG_SUNXI_UBIFS=y CONFIG_SUNXI_COMM_NAND_V1=y CONFIG_SUNXI_SPINOR=y
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号