[英]embedded poky dist. do not return any thing when execute python or gcc from bash (Yocto Project)
I am working on Yocto Project and Raspberry Pi 我正在研究Yocto Project和Raspberry Pi
Everything was working fine until I did some modifications in my own layer, when i copied image to sd Card and run rpi It works well but does not respond when I execute some packages such python and gcc 一切正常,直到我在自己的层中进行了一些修改,当我将图像复制到sd Card并运行rpi时,它运行良好,但是当我执行某些程序包时却没有响应,例如python和gcc
For example, when I run Python 例如,当我运行Python
rootraspberrypi:~# python
rootraspberrypi:~#
bash do not return any thing ! bash什么都不退!
but when execute busybox it works fine and return all function exist in image. 但是当执行busybox时,它可以正常工作并返回图像中存在的所有功能。
Does python --version
work? python --version
是否有效? After running python, what does echo $?
运行python之后,
echo $?
produce? 生产?
I solved the problem 我解决了问题
Error was in SD memory formating, I did not format the memory properly and caused the problem in the rootfs SD内存格式化错误,我没有正确格式化内存,并在rootfs中引起了问题
I used this script mk2parts.sh from meta-rpi and everything became works fine 我使用了meta-rpi的 mk2parts.sh脚本,一切正常
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.