错误的错误码文本如下(从kernel启动开始)
```Starting kernel ...
Booting Linux on physical CPU 0xf00
Linux version 4.9.138 (root@C30) (gcc version 4.9.4 (molchipv500-armgcc-uclibc-190826) ) #1 SMP Tue May 10 09:19:24 CST 2022
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: MC6630
earlycon: mol_serial0 at MMIO 0x18300000 (options '')
bootconsole [mol_serial0] enabled
Memory policy: Data cache writealloc
percpu: Embedded 13 pages/cpu @c3f51000 s23948 r8192 d21108 u53248
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: mem=64M earlycon console=ttyS0,115200 init=/init ubi.mtd=2 root=ubi0:rootfs rootwait rootflags=sync rootfstype=ubifs rw mtdparts=spi_nfc:1M(boot),5M(kernel),250M(rootfs)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 57144K/65536K available (4570K kernel code, 201K rwdata, 1104K rodata, 1024K init, 249K bss, 8392K reserved, 0K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0576944 (5563 kB)
.init : 0xc0700000 - 0xc0800000 (1024 kB)
.data : 0xc0800000 - 0xc0832700 ( 202 kB)
.bss : 0xc0832700 - 0xc0870b44 ( 250 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
NR_IRQS:16 nr_irqs:128 128
arm_arch_timer: Architected cp15 timer(s) running at 1308.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x12daa358a0a, max_idle_ns: 440795270307 ns
sched_clock: 56 bits at 1308MHz, resolution 0ns, wraps every 4398046511103ns
Switching to timer-based delay loop, resolution 0ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 2616.00 BogoMIPS (lpj=13080000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
/cpus/cpu@0 missing clock-frequency property
/cpus/cpu@1 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
Setting up static identity map for 0x80100000 - 0x80100058
CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
Brought up 2 CPUs
SMP: Total of 2 processors activated (5232.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
dma64 10200000.dma64: Molchip DMA Controller,32 channels
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
mc,efuse 1ba00000.efuse: NVMEM EFUSE
clocksource: Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=14 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
nfs4filelayout_init: NFSv4 File Layout Driver Registering...
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma ioctl init
18300000.uart: ttyS0 at MMIO 0x18300000 (irq = 133, base_baud = 1500000) is a SPX
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [mol_serial0] disabled
bootconsole [mol_serial0] disabled
18400000.uart: ttyS1 at MMIO 0x18400000 (irq = 134, base_baud = 1500000) is a SPX
18200000.uart: ttyS2 at MMIO 0x18200000 (irq = 135, base_baud = 1500000) is a SPX
brd: module loaded
nand: No NAND device found
molchip_usb2_phy usb2-phy: usb2 phy power on
molchip_usb2_phy usb2-phy: usb2 phy int
molchip_usb2_phy usb2-phy: usb2 phy[0] set mode 0x1
dwc2 10d00000.dwc2: Core Release: 4.00a (snpsid=4f54400a)
dwc2 10d00000.dwc2: DWC OTG Controller
dwc2 10d00000.dwc2: new USB bus registered, assigned bus number 1
dwc2 10d00000.dwc2: irq 145, io mem 0x00000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 4.9.138 dwc2_hsotg
usb usb1: SerialNumber: 10d00000.dwc2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
molchip_usb2_phy usb2-phy: usb2 phy[0] reset
molchip_usb2_phy usb2-phy: usb2 phy[1] set mode 0x1
dwc2 10e00000.dwc2: Core Release: 4.00a (snpsid=4f54400a)
dwc2 10e00000.dwc2: DWC OTG Controller
dwc2 10e00000.dwc2: new USB bus registered, assigned bus number 2
dwc2 10e00000.dwc2: irq 146, io mem 0x00000000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: DWC OTG Controller
usb usb2: Manufacturer: Linux 4.9.138 dwc2_hsotg
usb usb2: SerialNumber: 10e00000.dwc2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
molchip_usb2_phy usb2-phy: usb2 phy[1] reset
usbcore: registered new interface driver uas
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
mc-rtc 1a800000.rtc: rtc core: registered mc-rtc as rtc0
i2c /dev entries driver
molchip-ir 18500000.ir: ir irq num = 0xee
Registered IR keymap rc-empty
input: mc-ir as /devices/virtual/rc/rc0/input0
rc rc0: mc-ir as /devices/virtual/rc/rc0
mc_aes 11700000.aes: mc crypto supports aes des tdes
cipher init
cryptodev: driver 1.10 loaded.
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 17
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
UBI error: cannot open mtd 2, error -19mc-rtc 1a800000.rtc: setting system clock to 1970-01-01 00:04:25 UTC (265)
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
0100 32768 ram0 (driver?)
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.138 #1
Hardware name: ARM-MOLCHIP
[<c010ea88>] (unwind_backtrace) from [<c010ac54>] (show_stack+0x10/0x14)
[<c010ac54>] (show_stack) from [<c030f5e4>] (dump_stack+0x94/0xa8)
[<c030f5e4>] (dump_stack) from [<c0187434>] (panic+0xdc/0x254)
[<c0187434>] (panic) from [<c070115c>] (mount_block_root+0x20c/0x2d4)
[<c070115c>] (mount_block_root) from [<c0701434>] (prepare_namespace+0xa8/0x1d8)
[<c0701434>] (prepare_namespace) from [<c0700e34>] (kernel_init_freeable+0x1e4/0x1f4)
[<c0700e34>] (kernel_init_freeable) from [<c0571eec>] (kernel_init+0x8/0x110)
[<c0571eec>] (kernel_init) from [<c0107670>] (ret_from_fork+0x14/0x24)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.138 #1
Hardware name: ARM-MOLCHIP
[<c010ea88>] (unwind_backtrace) from [<c010ac54>] (show_stack+0x10/0x14)
[<c010ac54>] (show_stack) from [<c030f5e4>] (dump_stack+0x94/0xa8)
[<c030f5e4>] (dump_stack) from [<c010d8ec>] (handle_IPI+0x174/0x190)
[<c010d8ec>] (handle_IPI) from [<c0101448>] (gic_handle_irq+0x88/0x8c)
[<c0101448>] (gic_handle_irq) from [<c010b64c>] (__irq_svc+0x6c/0x90)
Exception stack(0xc0801f60 to 0xc0801fa8)
1f60: 00000000 c3f532f0 00000a88 c0114160 c0800000 c0802fe4 00000001 c0803034
1f80: c0832517 c0832517 c3ffec00 00000000 03819000 c0801fb0 c0108090 c0108094
1fa0: 60000013 ffffffff
[<c010b64c>] (__irq_svc) from [<c0108094>] (arch_cpu_idle+0x38/0x3c)
[<c0108094>] (arch_cpu_idle) from [<c0150a50>] (cpu_startup_entry+0xd0/0x148)
[<c0150a50>] (cpu_startup_entry) from [<c0700c44>] (start_kernel+0x368/0x374)
[<c0700c44>] (start_kernel) from [<8000807c>] (0x8000807c)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
方便的话,发下报错信息文本,不要截图。