再开一贴 V851 使用SPINAND ubifs ,始终没有生成ubiblock块,无法挂载根文件系统
-
使用以下命令,以及配置ubi.cfg
ubinize.cfg放在
target\allwinner\generic\imagemake -j1 BLOCKSIZE=131072 PAGESIZE=2048 SUBPAGESIZE=2048 UBIFS_OPTS=' -F -m 2048 -e 131072 -c 736 ' _UBI_OPTS=' -m 2048 -p 131072 -O 2048 -s 2048 '
烧录启动后
[ 2.833249] VFS: Cannot open root device "ubiblock0_4" or unknown-block(0,0): error -6 [ 2.842164] Please append a correct "root=" boot option; here are the available partitions: [ 2.851578] 1f00 1024 mtdblock0 (driver?) [ 2.857261] 1f01 3072 mtdblock1 (driver?) [ 2.862957] 1f02 1024 mtdblock2 (driver?) [ 2.868637] 1f03 125952 mtdblock3 (driver?) [ 2.874331] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
使用是mtdblock,没有ubiblock,
看大神的贴
https://bbs.aw-ol.com/topic/1626/faq-全志v853芯片-swap功能简介与tina上swap分区使用方法?lang=zh-TW提示:
“内核关闭readonly-ubi块的配置,让系统可以顺利创建出可读可写的ubiblock”请问大家这个配置在哪里关掉
-
内核没有配置ubi,没有挂载ubi功能
-
我在發生內核恐慌的同時也遇到了類似的問題,這可能是 ?
4.223420] EXT4-fs (ubiblock0_4): mounted filesystem without journal. Opts: (null) [ 4.232105] VFS: Mounted root (ext4 filesystem) readonly on device 254:0. [ 4.241968] Freeing unused kernel memory: 1024K [ 4.248114] Kernel panic - not syncing: Requested init /init failed (error -2). [ 4.256341] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #16 [ 4.262988] Hardware name: sun8iw21 [ 4.266938] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14) [ 4.275648] [<c010a51c>] (show_stack) from [<c0170100>] (panic+0xac/0x2b0) [ 4.283381] [<c0170100>] (panic) from [<c0652d20>] (kernel_init+0x80/0x108) [ 4.291210] [<c0652d20>] (kernel_init) from [<c0106ca8>] (ret_from_fork+0x14/0x2c) [ 4.299721] ---[ end Kernel panic - not syncing: Requested init /init failed (error -2). [ 4.308796] sunxi dump enabled [ 4.312220] dump regs done [ 4.315291] flush cache done [ 4.318542] crashdump enter
-
@liuqiang 关闭readonly 是在Enable UBI下面
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号