log信息如下,请各位大佬帮助分析一下原因,谢谢!
2.529206] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.539202] sunxi-ohci 4200400.ohci1-controller: irq 60, io mem 0x04200400
[ 2.620848] hub 2-0:1.0: USB hub found
[ 2.625107] hub 2-0:1.0: 1 port detected
[ 2.630590] ubi0: attaching mtd3
[ 2.845887] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[ 3.015881] usb 1-1: device descriptor read/64, error -71
[ 3.182799] random: crng init done
[ 3.295881] usb 1-1: device descriptor read/64, error -71
[ 3.369681] ubi0: scanning is finished
[ 3.386703] ubi0: attached mtd3 (name "sys", size 251 MiB)
[ 3.392866] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 3.400643] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 3.408304] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.416303] ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[ 3.423154] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[ 3.431288] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 3.440684] ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[ 3.451162] ubi0: background thread "ubi_bgt0d" started, PID 1079
[ 3.474547] get det_vbus is fail, -84
[ 3.478701] get id is fail, -84
[ 3.482252] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 3.495474] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.496215] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device disconnect
[ 3.513083] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 3.524432] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.532477] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.536088] clk: Not disabling unused clocks
[ 3.542228] cfg80211: failed to load regulatory.db
[ 3.547006] ALSA device list:
[ 3.555636] No soundcards found.
[ 3.559482] alloc_fd: slot 0 not NULL!
[ 3.565929] usb 1-1: new high-speed USB device number 3 using sunxi-ehci
[ 3.565934] VFS: Cannot open root device "ubi0_5" or unknown-block(0,0): error -19
[ 3.565941] Please append a correct "root=" boot option; here are the available partitions:
[ 3.591431] 1f00 1024 mtdblock0
[ 3.591435] (driver?)
[ 3.598797] 1f01 3072 mtdblock1
[ 3.598800] (driver?)
[ 3.606154] 1f02 1024 mtdblock2
[ 3.606157] (driver?)
[ 3.613487] 1f03 257024 mtdblock3
[ 3.613489] (driver?)
[ 3.620832] b300 7565312 mmcblk0
[ 3.620835] driver: mmcblk
[ 3.628469] 1f04 504 mtdblock4
[ 3.628472] (driver?)
[ 3.635801] 1f05 252 mtdblock5
[ 3.635804] (driver?)
[ 3.643146] 1f06 252 mtdblock6
[ 3.643148] (driver?)
[ 3.650490] 1f07 252 mtdblock7
[ 3.650493] (driver?)
[ 3.657834] 1f08 5040 mtdblock8
[ 3.657837] (driver?)
[ 3.665166] 1f09 10080 mtdblock9
[ 3.665168] (driver?)
[ 3.672517] 1f0a 1764 mtdblock10
[ 3.672520] (driver?)
[ 3.679963] 1f0b 223776 mtdblock11
[ 3.679966] (driver?)
[ 3.687404] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.696680] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #10
[ 3.703414] Hardware name: Generic DT based system
离线
It seems that you are dividing the flash partition in uboot and linux kernel differently, causing the kernel to misread the rootfs partition address and not be able to mount it.
离线