petalinux 2017.4移植操作系统 从SD卡启动出错

开机自启,串口打印错误信息 

No soundcards found.
Waiting for root device /dev/mmcblk0p2...
mmc0: Problem switching card into high-speed mode!
mmc0: new SDHC card at address 0001
mmcblk0: mmc0:0001 SD 7.39 GiB 
 mmcblk0: p1 p2
EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
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: mounted
Freeing unused kernel memory: 1024K (c0900000 - c0a00000)
request_module: runaway loop modprobe binfmt-0000
Starting init: /sbin/init exists but couldn't execute it (error -8)
request_module: runaway loop modprobe binfmt-0000
Starting init: /bin/sh exists but couldn't execute it (error -8)
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-xilinx-v2017.4 #1
Hardware name: Xilinx Zynq Platform
[] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[] (show_stack) from [] (dump_stack+0x80/0x9c)
[] (dump_stack) from [] (ipi_cpu_stop+0x3c/0x70)
[] (ipi_cpu_stop) from [] (handle_IPI+0x64/0x84)
[] (handle_IPI) from [] (gic_handle_irq+0x78/0x94)
[] (gic_handle_irq) from [] (__irq_svc+0x6c/0xa8)
Exception stack(0xc0a01f38 to 0xc0a01f80)
1f20:                                                       00000000 00000000
1f40: 2ee97000 ef7d89c0 6a1faaec 00000000 ef7d7e40 00000000 6a0b9693 00000000
1f60: 00000000 00000000 0000000b c0a01f88 c04b1118 c04b113c 60000013 ffffffff
[] (__irq_svc) from [] (cpuidle_enter_state+0xe4/0x1b0)
[] (cpuidle_enter_state) from [] (cpu_startup_entry+0x17c/0x19c)
[] (cpu_startup_entry) from [] (start_kernel+0x2f8/0x358)
---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

 

解决办法:sd里面文件系统权限不够

在ext分区内,打开终端执行以下命令:

sudo chmod 777 -R ./ext/

打开该分区下所有文件的权限

你可能感兴趣的:(petalinux 2017.4移植操作系统 从SD卡启动出错)