大佬!!可以帮我看看吗?我也出现了这个错误
#kernel command arguments
earlyprintk=sunxi-uart,0x02500800
initcall_debug=0
console=ttyS2,115200
nand_root=/dev/ubiblock0_4
mmc_root=/dev/mmcblk0p5
nor_root=/dev/mtdblock5
mtd_name=sys
rootfstype=squashfs
root_partition=rootfs
boot_partition=boot
init=/init
loglevel=8
cma=8M
mac=
wifi_mac=
bt_mac=
specialstr=
keybox_list=widevine,ec_key,ec_cert1,ec_cert2,ec_cert3,rsa_key,rsa_cert1,rsa_cert2,rsa_cert3
dsp0_partition=dsp0
#set kernel cmdline if boot.img or recovery.img has no cmdline we will use this
setargs_nand=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
setargs_nor=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
#nand command syntax: sunxi_flash read address partition_name read_bytes
#0x4007f800 = 0x40080000(kernel entry) - 0x800(boot.img header 2k)
boot_dsp0=sunxi_flash read 45000000 ${dsp0_partition};bootr 45000000 0 0
boot_normal=sunxi_flash read 45000000 ${boot_partition};bootm 45000000
boot_recovery=sunxi_flash read 45000000 recovery;bootm 45000000
boot_fastboot=fastboot
#uboot system env config
bootdelay=3
#default bootcmd, will change at runtime according to key press
#default nand boot
bootcmd=run setargs_nand boot_normal
aaa007 发布的最新帖子
-
回复: V851s使用spi nand启动不了 VFS: Cannot open root device "ubi0_4" or unknown-block(0,0): error -2发布在 V Series
-
回复: 解决那些千奇百怪的 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block 错误发布在 Linux
[ 4.392529] sun8iw20-pinctrl 2000000.pinctrl: pin PC2 already requested by 4025000.spi; cannot claim for 4022000.sdmmc
[ 4.404553] sun8iw20-pinctrl 2000000.pinctrl: pin-66 (4022000.sdmmc) status -22
[ 4.412730] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 66 (PC2) from group PC2 on device 2000000.pinctrl
[ 4.424707] sunxi-mmc 4022000.sdmmc: Error applying setting, reverse things back
[ 4.433023] sunxi-mmc: probe of 4022000.sdmmc failed with error -22
[ 4.441220] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 4.454951] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
[ 4.465715] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
[ 4.477196] get drvvbus-en is fail, 22
[ 4.481490] get ehci0-controller wakeup-source is fail.
[ 4.487420] sunxi ehci0-controller don't init wakeup source
[ 4.493716] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000808448, 0x:ffffffd00515f000, irq_no:2e
[ 4.507204] [sunxi-ehci0]: Not init ehci0
[ 4.512249] get drvvbus-en is fail, 22
[ 4.516428] get ohci0-controller wakeup-source is fail.
[ 4.522414] sunxi ohci0-controller don't init wakeup source
[ 4.528657] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000808838
[ 4.539092] [sunxi-ohci0]: Not init ohci0
[ 4.545018] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 4.558059] input: keyboard as /devices/platform/keyboard/input/input1
[ 4.567759] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.577444] clk: Not disabling unused clocks
[ 4.582264] ALSA device list:
[ 4.585597] #0: audiocodec
[ 4.588802] #1: sndhdmi
[ 4.591783] cfg80211: failed to load regulatory.db
[ 4.597194] alloc_fd: slot 0 not NULL!
[ 4.602100] VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -19
[ 4.611114] Please append a correct "root=" boot option; here are the available partitions:
[ 4.620557] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.629771] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #8
[ 4.636163] Call Trace:
[ 4.638893] [<ffffffe000029154>] walk_stackframe+0x0/0x98
[ 4.644903] [<ffffffe00002930c>] show_stack+0x2a/0x34
[ 4.650531] [<ffffffe0004b049e>] dump_stack+0x20/0x28
[ 4.656160] [<ffffffe00002d866>] panic+0xec/0x272
[ 4.661394] [<ffffffe000000efa>] 0xffffffe000000efa
[ 4.666821] [<ffffffe000000fe6>] 0xffffffe000000fe6
[ 4.672248] [<ffffffe000001138>] 0xffffffe000001138
[ 4.677675] [<ffffffe000000b5c>] 0xffffffe000000b5c
[ 4.683111] [<ffffffe0004c1088>] kernel_init+0x12/0xee
[ 4.688839] [<ffffffe000027ec0>] ret_from_exception+0x0/0xc
[ 4.695045] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
f133-mx-hxx,用的spi nand,出现以上报错,有没有大佬救救,卡好几天了 -
回复: T113 tina 使用spi nand flash启动报Kernel panic发布在 其它全志芯片讨论区
f133-mx-hxx,用的spi nand,出现以下报错
[ 4.392529] sun8iw20-pinctrl 2000000.pinctrl: pin PC2 already requested by 4025000.spi; cannot claim for 4022000.sdmmc
[ 4.404553] sun8iw20-pinctrl 2000000.pinctrl: pin-66 (4022000.sdmmc) status -22
[ 4.412730] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 66 (PC2) from group PC2 on device 2000000.pinctrl
[ 4.424707] sunxi-mmc 4022000.sdmmc: Error applying setting, reverse things back
[ 4.433023] sunxi-mmc: probe of 4022000.sdmmc failed with error -22
[ 4.441220] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 4.454951] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
[ 4.465715] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
[ 4.477196] get drvvbus-en is fail, 22
[ 4.481490] get ehci0-controller wakeup-source is fail.
[ 4.487420] sunxi ehci0-controller don't init wakeup source
[ 4.493716] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe000808448, 0x:ffffffd00515f000, irq_no:2e
[ 4.507204] [sunxi-ehci0]: Not init ehci0
[ 4.512249] get drvvbus-en is fail, 22
[ 4.516428] get ohci0-controller wakeup-source is fail.
[ 4.522414] sunxi ohci0-controller don't init wakeup source
[ 4.528657] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe000808838
[ 4.539092] [sunxi-ohci0]: Not init ohci0
[ 4.545018] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 4.558059] input: keyboard as /devices/platform/keyboard/input/input1
[ 4.567759] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.577444] clk: Not disabling unused clocks
[ 4.582264] ALSA device list:
[ 4.585597] #0: audiocodec
[ 4.588802] #1: sndhdmi
[ 4.591783] cfg80211: failed to load regulatory.db
[ 4.597194] alloc_fd: slot 0 not NULL!
[ 4.602100] VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -19
[ 4.611114] Please append a correct "root=" boot option; here are the available partitions:
[ 4.620557] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.629771] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #8
[ 4.636163] Call Trace:
[ 4.638893] [<ffffffe000029154>] walk_stackframe+0x0/0x98
[ 4.644903] [<ffffffe00002930c>] show_stack+0x2a/0x34
[ 4.650531] [<ffffffe0004b049e>] dump_stack+0x20/0x28
[ 4.656160] [<ffffffe00002d866>] panic+0xec/0x272
[ 4.661394] [<ffffffe000000efa>] 0xffffffe000000efa
[ 4.666821] [<ffffffe000000fe6>] 0xffffffe000000fe6
[ 4.672248] [<ffffffe000001138>] 0xffffffe000001138
[ 4.677675] [<ffffffe000000b5c>] 0xffffffe000000b5c
[ 4.683111] [<ffffffe0004c1088>] kernel_init+0x12/0xee
[ 4.688839] [<ffffffe000027ec0>] ret_from_exception+0x0/0xc
[ 4.695045] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---