我買的T113 核心板,使用spinand boot第一次可以啟動
但第二次啟動以後就會出現錯誤
我重新刷機燒錄spinand flash第一次可以啟動,可是重新上電後又出現 ubi0 error 訊息,就無法 mount ubifs
我買的T113 核心板,使用spinand boot第一次可以啟動
但第二次啟動以後就會出現錯誤
我重新刷機燒錄spinand flash第一次可以啟動,可是重新上電後又出現 ubi0 error 訊息,就無法 mount ubifs
更新spi nand时候,一定要选择 全盘擦除。
spinand 全盘擦除,更新後,第一次啟動後dmesg 訊息如下, root filesystem 變成readonly ,無法寫入與建立目錄
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
clk: Not disabling unused clocks
ALSA device list:
#0: audiocodec
alloc_fd: slot 0 not NULL!
cfg80211: failed to load regulatory.db
UBIFS (ubi0:5): Mounting in unauthenticated mode
UBIFS (ubi0:5): UBIFS: mounted UBI device 0, volume 5, name "rootfs", R/O mode
UBIFS (ubi0:5): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
UBIFS (ubi0:5): FS size: 31223808 bytes (29 MiB, 121 LEBs), journal size 8515584 bytes (8 MiB, 33 LEBs)
UBIFS (ubi0:5): reserved for root: 0 bytes (0 KiB)
UBIFS (ubi0:5): media format: w4/r0 (latest is w5/r0), UUID B259D743-B373-44DA-A5B2-49A91A970AF9, small LPT model
VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
devtmpfs: mounted
Freeing unused kernel memory: 1024K
Run /sbin/init as init process
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.33: No such file or directory
INIT: version booting
INIT: No inittab.d directory found
UBIFS (ubi0:5): start fixing up free space
UBIFS error (ubi0:5 pid 868): 0xc027fa10: invalid crc in LPT node: crc 365b calc fa5a
CPU: 0 PID: 868 Comm: mount Not tainted 5.4.61 #1
Hardware name: Generic DT based system
Function entered at [<c010bc18>] from [<c010939c>]
Function entered at [<c010939c>] from [<c05f3144>]
Function entered at [<c05f3144>] from [<c027fa14>]
Function entered at [<c027fa14>] from [<c027fb60>]
Function entered at [<c027fb60>] from [<c0280fc0>]
Function entered at [<c0280fc0>] from [<c0281104>]
Function entered at [<c0281104>] from [<c0270360>]
Function entered at [<c0270360>] from [<c026d4dc>]
Function entered at [<c026d4dc>] from [<c01bed8c>]
Function entered at [<c01bed8c>] from [<c01d83a0>]
Function entered at [<c01d83a0>] from [<c01d8a48>]
Function entered at [<c01d8a48>] from [<c0101000>]
Exception stack(0xc49a9fa8 to 0xc49a9ff0)
9fa0: 023df678 becc1b5c b6fd3b02 b6fd3b09 b6fd3b0b 00208020
9fc0: 023df678 becc1b5c b6ffa8d0 00000015 00000000 b6fd3d30 00000000 00000000
9fe0: b6e976e1 becc1a20 b6f56894 b6e976ea
UBIFS error (ubi0:5 pid 868): 0xc0280f40: error -22 reading pnode at 7:90
(pid 868) dumping pnode:
address c4910780 parent c4910600 cnext 0
flags 0 iip 1 level 0 num 0
0: free 0 dirty 2304 flags 0 lnum 0
1: free 0 dirty 344 flags 0 lnum 0
2: free 0 dirty 648 flags 0 lnum 0
3: free 0 dirty 33720 flags 1 lnum 0
CPU: 0 PID: 868 Comm: mount Not tainted 5.4.61 #1
Hardware name: Generic DT based system
Function entered at [<c010bc18>] from [<c010939c>]
Function entered at [<c010939c>] from [<c05f3144>]
Function entered at [<c05f3144>] from [<c0280f58>]
Function entered at [<c0280f58>] from [<c0281104>]
Function entered at [<c0281104>] from [<c0270360>]
Function entered at [<c0270360>] from [<c026d4dc>]
Function entered at [<c026d4dc>] from [<c01bed8c>]
Function entered at [<c01bed8c>] from [<c01d83a0>]
Function entered at [<c01d83a0>] from [<c01d8a48>]
Function entered at [<c01d8a48>] from [<c0101000>]
Exception stack(0xc49a9fa8 to 0xc49a9ff0)
9fa0: 023df678 becc1b5c b6fd3b02 b6fd3b09 b6fd3b0b 00208020
9fc0: 023df678 becc1b5c b6ffa8d0 00000015 00000000 b6fd3d30 00000000 00000000
9fe0: b6e976e1 becc1a20 b6f56894 b6e976ea
UBIFS error (ubi0:5 pid 868): 0xc0280f78: calc num: 5
mount: mounting ubi0_5 on / failed: Invalid argument
INIT: Entering runlevel: 3
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: udevd[921]: starting version 3.2.11
udevd[922]: starting eudev-3.2.11
done
Starting adb mkdir: can't create directory '/system/': Read-only file system
mkdir: can't create directory '/system/': Read-only file system
ln: /system/bin/sh: No such file or directory
file system registered
install_listener('tcp:5037','*smartsocket*')
read descriptors
read strings
find: ./proc/985: No such file or directory
補充說明:
同樣的 img 我使用T113-PRO板子燒錄是ok的,使用 T113 核心板卻發生問題。
而T113-PRO板子使用的spinand是 W25N01GV,另外購買的核心板使用的是 MX35LF1GE4AB。不曉得是否有差異。
我这里看不出来问题,确认一下 是不是 你的 这款 flash 扇区大小 块 大小 和我们用的不一致导致的