2

我正在尝试通过 SD 卡在 zynq 7000 上使用 Linaro Ubuntu 桌面。在 SD 卡上创建两个分区并插入 FPGA 后,我在主机 PC 上收到此消息(使用 UART 通过串行端口链接到卡):

EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: error mounting -2
Freeing unused kernel memory: 244K (c067b000 - c06b8000)
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.0-g7565292 #1
Hardware name: Xilinx Zynq Platform
[<c0015388>] (unwind_backtrace) from [<c0011fdc>] (show_stack+0x10/0x14)
[<c0011fdc>] (show_stack) from [<c01a8880>] (dump_stack+0x80/0xcc)
[<c01a8880>] (dump_stack) from [<c0092bb0>] (panic+0x84/0x1fc)
[<c0092bb0>] (panic) from [<c046da5c>] (kernel_init+0xb8/0xe4)
[<c046da5c>] (kernel_init) from [<c000f1b8>] (ret_from_fork+0x14/0x3c)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.0-g7565292 #1
Hardware name: Xilinx Zynq Platform
[<c0015388>] (unwind_backtrace) from [<c0011fdc>] (show_stack+0x10/0x14)
[<c0011fdc>] (show_stack) from [<c01a8880>] (dump_stack+0x80/0xcc)
[<c01a8880>] (dump_stack) from [<c0013be4>] (ipi_cpu_stop+0x3c/0x6c)
[<c0013be4>] (ipi_cpu_stop) from [<c00142e4>] (handle_IPI+0x5c/0x7c)
[<c00142e4>] (handle_IPI) from [<c00093e0>] (gic_handle_irq+0x74/0x90)
[<c00093e0>] (gic_handle_irq) from [<c0012a94>] (__irq_svc+0x54/0x90)
Exception stack(0xc06b9f38 to 0xc06b9f80)
9f20:                                                       00000000 00000000
9f40: 1f4e0000 dfb95dc0 67b69607 00000000 67dd2149 00000000 dfb95450 00000000
9f60: 00000000 00000000 00000008 c06b9f88 c031d9fc c031da44 60000113 ffffffff
[<c0012a94>] (__irq_svc) from [<c031da44>] (cpuidle_enter_state+0xfc/0x1f4)
[<c031da44>] (cpuidle_enter_state) from [<c00518f8>]  (cpu_startup_entry+0x1a0/0x230)
[<c00518f8>] (cpu_startup_entry) from [<c067bc18>] (start_kernel+0x364/0x3d0)
---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.  

连接 VGA 的显示器不显示任何内容。有人可以帮我理解这个问题的原因吗?

4

2 回答 2

2

该错误告诉您系统找不到init.

系统无法安装您的驱动器,因此出现错误devtmpfs: error mounting -2

您的文件可能已损坏,或者您的 SD 卡未正确识别和连接。

您可能需要查看您的文件系统。确保所有类似的文件夹/bin /boot /dev /etc /home /install /lib ...都在/. 如果有多余的目录,请删除它。

于 2016-03-14T16:48:30.267 回答
0

您可能需要检查文件系统中 init 的位置,因为错误似乎指出 init 不可定位。

此外,这devtmpfs: error mounting -2似乎表明 devtmpfs 安装点不存在于根分区中。

检查卡的根分区是否有rootfs

于 2016-03-15T06:22:28.743 回答