简体   繁体   English

嵌入式poky dist。 从bash执行python或gcc时不返回任何东西(Yocto Project)

[英]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.

相关问题 Yocto Jethro:如何选择Yocto默认编译器? 使用gcc 4.9时,glibc在do_compile失败 - Yocto Jethro: How to choose a Yocto Default Compiler? glibc failed at do_compile when use gcc 4.9 Yocto、OpenEmbedded、Poky……健全性检查 - Yocto, OpenEmbedded, Poky… Sanity check 哪个实用程序生成“ Poky(Yocto项目参考发行版)2.6.1(无)/ dev / console” - which utility produces “Poky (Yocto Project Reference Distro) 2.6.1 (none) /dev/console” 如何在Yocto / Poky图像上设置root密码? - How to set root password on Yocto / Poky image? 任务 415 (virtual:native:/home/user/Yocto/Poky/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) 失败,退出代码为“1” - Task 415 (virtual:native:/home/user/Yocto/Poky/poky/meta/recipes-devtools/automake/automake_1.15.bb, do_compile) failed with exit code '1' 如何在 yocto (poky) 飞思卡尔 linux 中创建 rpm 包 - How to create rpm package in yocto (poky) freescale linux yocto 项目中的 do_rootfs 函数失败 - do_rootfs function failed in yocto project Yocto Project中是否有等效的“项目文件”或“工作区文件”或“解决方案文件”? - Is there any 'Project File' or 'Workspace file' or 'Solution file' equivalent in Yocto Project? 如何在嵌入 linux 的 arago 项目中安装 gcc? - how to install gcc in arago project embedded linux? 如何在 Yocto Fido (poky) 中使 /var/log 持久化 - How to make /var/log persistent in Yocto Fido (poky)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM