完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
本帖最后由 一只耳朵怪 于 2018-6-21 15:05 编辑
我用的是AM3359处理器,把一个opt压缩文件拷到文件系统里面,解压缩之后出现这个问题: opt/Qt4.8.1/lib/libQtGui.la opt/Qt4.8.1/lib/libQtGui.so.4 opt/Qt4.8.1/lib/libQtGui.so.4.8.1 [ 112.087463] UBI error: ubi_io_write: error -5 while writing111 2048 bytes to PEB 1586:108544, written 0 bytes [ 112.097991] UBI warning: ubi_eba_write_leb: failed to write data to PEB 1586 [ 112.105468] UBI: recover PEB 1586, move data to PEB 5531 [ 112.124694] UBI error: ubi_io_write: error -5 while writing111 512 bytes to PEB 5531:2048, written 0 bytes [ 112.134918] UBI warning: recover_peb: failed to write to PEB 5531 [ 112.141326] UBI: try again [ 112.144226] UBI: recover PEB 1586, move data to PEB 5532 [ 112.150512] UBI: run torture test for PEB 5531 [ 112.175964] UBI error: ubi_io_write: error -5 while writing111 512 bytes to PEB 5532:2048, written 0 bytes [ 112.186187] UBI warning: recover_peb: failed to write to PEB 5532 [ 112.192626] UBI: try again [ 112.195495] UBI: recover PEB 1586, move data to PEB 5533 [ 112.301269] UBI error: ubi_io_write: error -5 while writing111 131072 bytes to PEB 5531:0, written 0 bytes [ 112.311523] UBI error: erase_worker: failed to erase PEB 5531, error -5 [ 112.318511] UBI: reserve more 1 PEBs [ 112.322296] UBI: mark PEB 5531 as bad [ 112.339813] UBI: 81 PEBs left in the reserve [ 112.370269] UBI: run torture test for PEB 5532 [ 112.405151] UBI error: ubi_io_write: error -5 while writing111 106496 bytes to PEB 5533:4096, written 0 bytes [ 112.415679] UBI warning: recover_peb: failed to write to PEB 5533 [ 112.422088] UBI: try again [ 112.424987] UBI: recover PEB 1586, move data to PEB 5534 [ 112.443939] UBI error: ubi_io_write: error -5 while writing111 512 bytes to PEB 5534:2048, written 0 bytes [ 112.454132] UBI warning: recover_peb: failed to write to PEB 5534 [ 112.460571] UBI warning: ubi_ro_mode: switch to read-only mode [ 112.466766] UBIFS error (pid 865): ubifs_leb_write: writing 2048 bytes to LEB 1514:104448 failed, error -5 [ 112.476928] UBIFS warning (pid 865): ubifs_ro_mode: switched to read-only mode, error -5 [ 112.485473] Backtrace: [ 112.488098] [ [ 112.497009] r6:00019800 r5:cf0a1000 r4:fffffffb [ 112.501892] [ [ 112.510620] [ 求大神!!! |
|
相关推荐
10个回答
|
|
请参考如下链接:
http://www.linux-mtd.infradead.org/faq/ubi.html#L_subpage_verify_fail I get "ubi_io_write: error -5 while writing 512 bytes to PEB 5:512" If you have a 2048 bytes per NAND page device, and haveCONFIG_MTD_NAND_VERIFY_WRITE enabled in your kernel, you will need to turn it off. The code does not currently (as of 2.6.26) perform verification of sub-page writes correctly. As UBI is one of the few users of sub-page writes, not much else seems to be affected by this bug. 建议找到uboot和内核中的CONFIG_MTD_NAND_VERIFY_WRITE 宏定义尝试注释后,看能否解决。 |
|
|
|
btywyrww 发表于 2018-6-21 07:15 都已经去注释掉了,还是不行 |
|
|
|
请认真对比下 http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/p/11199/48044.aspx#48044里面的实验步骤。 如果我的回答解决了您的问题,请确认答案,谢谢!:) |
|
|
|
jvwueurw 发表于 2018-6-21 07:45 我做的ubi.img怎么弄都不行,就不去弄了,改成内核烧写,步骤如下: flash_erase /dev/mtd7 0 0 ubiattach /dev/ubi_ctrl -m 7 -O 2048 ubimkvol /dev/ubi0 -N rootfs -s 500MiB mount -t ubifs ubi0_0 /mnt cd /mnt tar zxvf ../base-rootfs-am335x-evm.tar.gz cd .. umount /mnt halt 在解压过程中也会报错: [ 109.827847] UBI error: ubi_io_write: error -5 while writing111 2048 bytes to PEB 177:71680, written 0 bytes [ 109.838236] UBI warning: ubi_eba_write_leb: failed to write data to PEB 177 有时候还有这种错误: [ 108.396450] UBI error: ubi_io_write: error -5 while writing111 2048 bytes to PEB 343:0, written 0 bytes [ 108.406470] UBI error: erase_worker: failed to erase PEB 343, error -5 [ 108.413354] UBI: reserve more 1 PEBs [ 108.417142] UBI: mark PEB 343 as bad [ 108.436947] UBI error: ubi_io_mark_bad: cannot mark PEB 343 bad, error -5 [ 108.444154] UBI warning: ubi_ro_mode: switch to read-only mode [ 108.450357] UBI error: do_work: work failed with error code -5 [ 108.456533] UBI error: ubi_thread: ubi_bgt0d: work failed with error code -5 [ 108.509195] UBIFS: un-mount UBI device 0, volume 0 [ 108.514949] UBIFS error (pid 976): ubifs_leb_write: writing 2048 bytes to LEB 1:8192 failed, error -30 [ 108.524861] UBIFS warning (pid 976): ubifs_ro_mode: switched to read-only mode, error -30 [ 108.533507] Backtrace: [ 108.536184] [ [ 108.545083] r6:00002000 r5:cf3ad000 r4:ffffffe2 [ 108.550010] [ [ 108.558756] [ [ 108.568029] r4:ffffffe2 [ 108.570711] [ [ 108.580349] r7:00002000 r6:00000200 r5:00000001 r4:cf3ad000 [ 108.586367] [ [ 108.596298] [ [ 108.606214] r6:000001c8 r5:cf198b58 r4:cf198b30 [ 108.611117] [ [ 108.621229] [ [ 108.631242] r6:00000000 r5:c0666174 r4:00000013 [ 108.636177] [ [ 108.645625] r4:cf3ad000 [ 108.648324] [ [ 108.658512] r4:cf198200 [ 108.661200] [ [ 108.671387] r5:cf198200 r4:cf198200 [ 108.675182] [ [ 108.684731] r4:cf2bb180 [ 108.687428] [ [ 108.696518] r5:cf2bb1a0 r4:cf2bb178 [ 108.700329] [ [ 108.709322] Backtrace: [ 108.711919] [ [ 108.720827] r6:00002000 r5:cf3ad000 r4:ffffffe2 [ 108.725733] [ [ 108.734730] [ [ 108.744371] r7:00002000 r6:00000200 r5:00000001 r4:cf3ad000 [ 108.750381] [ [ 108.760309] [ [ 108.770222] r6:000001c8 r5:cf198b58 r4:cf198b30 [ 108.775116] [ [ 108.785221] [ [ 108.795227] r6:00000000 r5:c0666174 r4:00000013 [ 108.800136] [ [ 108.809596] r4:cf3ad000 [ 108.812279] [ [ 108.822471] r4:cf198200 [ 108.825153] [ [ 108.835347] r5:cf198200 r4:cf198200 [ 108.839149] [ [ 108.848696] r4:cf2bb180 [ 108.851378] [ [ 108.860459] r5:cf2bb1a0 r4:cf2bb178 [ 108.864248] [ [ 108.873685] UBIFS error (pid 976): ubifs_put_super: failed to write master node, error -30 我用的内核是beaglebone的。版本3.2.0 |
|
|
|
dlanny 发表于 2018-6-21 07:57 您的nand flash的驱动加载了吗? 请参考 http://processors.wiki.ti.com/index.php/AM335x_NAND_Driver%27s_Guide。 如果我的回答解决了您的问题,请确认答案,谢谢!:) |
|
|
|
jvwueurw 发表于 2018-6-21 08:15 驱动当然加载了啊 |
|
|
|
|
|
|
|
你好,你的问题现在解决了吗? 我现在也遇到了同样的问题 ! 寻求帮助 |
|
|
|
|
|
|
|
dlanny 发表于 2018-6-21 07:57 你的问题解决了没?我遇到和你一样的问题了。我的处理器是OMAP-L138,内核为Linux-3.3。 使用的是SPI NOR Flash,(w25q128),内核分区为/dev/mtd2,ubifs文件系统分区为/dev/mtd3。内核加载文件系统出息如下错误,怎么解决? 你怎么解决的? |
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
684 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
600 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1055 浏览 1 评论
741 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
525 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
166浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
128浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
127浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
123浏览 12评论
GD32F303RCT6配置PA4 ADC引脚,将PA2代替key功能,PA2连接时无法实现预期功能,为什么?
54浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 04:17 , Processed in 1.221004 second(s), Total 98, Slave 81 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号