问题标签 [yocto]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
embedded-linux - 在 Yocto 项目中的 QEMU 上模拟 ARM7(Cortex-A8)图像
我是yoto项目的新手;但是我已经通过 Hob 或 BitBake 为 ARM7(Cortex-A8)创建了图像,现在我正在尝试将此图像模拟到 Qemu。我使用 beaglebone 创建图像,默认情况下可以使用 poky,也可以使用'meta-ti'
layer。
我正在为 Sitara Am335x 处理器工作。请以适当的方式指导我。提前致谢。
git - 无法连接到 Yoctoproject git
当我尝试连接以下错误时...
linux - 带有包管理的 Yocto 最小镜像
我正在尝试使用 Yocto 项目构建尽可能小的 linux 映像。我还希望对目标进行包管理,以便能够添加和更新正在运行的系统的部分。
我可以通过将它添加到我的 conf/local.conf 来启用包管理:
使用 rpm,它会引入基于 python 的 smartpm 包管理器,从而使图像变大。所以我尝试使用 ipk 包,但这仍然取决于 python。
有谁知道如何以尽可能少的开销在 Yocto 中包含包管理?
linux - How to add a new library using Yocto
I am using Yocto and I just would like to integrate a new library in my project.
I create a new recipe name "libxerces" which contains a file "libxerces-3.1.1.bb". The bb file is quite simple because it is based on autotools :
I added "libxerces" to my bb image by using IMAGE_INSTALL += " libxerces". Then, I try to build my image thru bitbake my-image-test and eveything is done correctly but libxerces returns an error because it can not be installed. Howerver, I note that libxerces-dbg, libxerces-utils, libxerces-samples are visible under /tmp/work/deploy/ipk. I know that libxml2 is integrated by default into poky layer but I have to use xerces..
yocto - yocto 食谱中的 WORKDIR
当我打开 bitbake 文件(以 .bb 扩展名结尾)时,大多数文件都使用 WORKDIR 变量,如下所示。
你能告诉我这个WORKDIR是在哪里定义的吗?
avr - 从不同层的配方访问补丁
我正在尝试设置 avr 工具链,同时仍在使用上游 binutils 和 gcc 配方。例如,binutils 的基本配方在 yocto/poky/meta/recipes-devtools/binutils/ 中。我在 yocto/meta-avr/recipes-devtools/avr-binutils/ 中有我的自定义 avr 风味食谱。
自定义 avr 配方中包含一些环境变量更改(TARGET_PREFIX、TARGET_SYS 等),然后是“require recipes-devtools/binutils/binutils-cross_2.23.2.bb”。这让我可以依赖上游的 binutils 配方,而无需手动复制所有内容。
现在,我遇到的问题是上游配方有一堆要应用的补丁。我不知道如何让我的自定义配方指向其层之外的文件路径,以便我可以使用已经存在的补丁。我试过使用 FILESEXTRAPATHS_prepend 没有运气。
linux - 通过 Yocto 和飞思卡尔 Sabre 支持 HDMI
我有一把飞思卡尔军刀,我core-image-x11
用 yocto 生成了它。用串口启动和使用它是可以的,但我不能使用 HDMI 显示器。u-boot检测到HDMI,但之后检测不到。以下是 u-boot 给出的一些信息:
我在 u-boot 中试过这个:
但它不会改变任何东西,即使在/proc/cmdline
启动后可以看到修改;和
使启动停止在starting kernel
.
intel - Yocto bitbake 失败的任务 do_fetch 英特尔 Galileo BSP
试图让 Galileo BSP 的 Yocto 部分运行起来
源 ./iot-devkit-init-build-env yocto_build
但后来我运行 bitbake
bitbake 图像完整
它返回了 33 个失败的任务
摘要:33个任务失败:
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-support/sqlite/sqlite3_3.8.3.1.bb, do_fetch
virtual:native:/home/mark/meta -clanton_v1.1.0-dirty/meta/recipes-extended/bzip2/bzip2_1.0.6.bb, do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/quilt/quilt-native_0.61.bb , do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-kernel/cryptodev/cryptodev-linux_1.6.bb, do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta /recipes-core/eglibc/eglibc-initial_2.19.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/elfutils/elfutils_0.155.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-extended/xz/xz_5.1.3alpha.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/ meta/recipes-support/mpfr/mpfr_3.1.2.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-core/zlib/zlib_1.2.8.bb, do_fetch
virtual:native :/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-support/libmpc/libmpc_1.0.2.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes- devtools/kconfig-frontends/kconfig-frontends_3.12.0.0.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-extended/pigz/pigz_2.3.1.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/file/file_5.16.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta /recipes-connectivity/openssl/openssl_1.0.1g.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb, do_fetch
virtual :native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-support/gmp/gmp_5.1.1.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/ recipes-devtools/pkgconfig/pkgconfig_0.28.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb, do_fetch
虚拟:本机:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/flex/flex_2.5.38.bb,do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools /binutils/binutils-cross_2.24.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-extended/gperf/gperf_3.0.4.bb, do_fetch
virtual:native:/home /mark/meta-clanton_v1.1.0-dirty/meta/recipes-core/ncurses/ncurses_5.9.bb, do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/m4/m4-native_1 .4.17.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/automake/automake_1.14.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1 .1.0-dirty/meta/recipes-devtools/autoconf/autoconf_2.69.bb,do_fetch
虚拟:本机:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-core/gettext/gettext_0.18.3.2.bb,do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes -devtools/libtool/libtool-native_2.4.2.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/bison/bison_2.7.1.bb, do_fetch
/home/mark /meta-clanton_v1.1.0-dirty/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.14.bb, do_fetch
virtual:native:/home/mark/meta-clanton_v1.1.0-dirty/meta /recipes-support/attr/attr_2.4.47.bb, do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-core/eglibc/eglibc_2.19.bb, do_fetch
/home/mark/meta-clanton_v1 .1.0-dirty/meta/recipes-devtools/libtool/libtool-cross_2.4.2.bb,do_fetch
/home/mark/meta-clanton_v1.1.0-dirty/meta/recipes-devtools/gcc/gcc-cross-initial_4.8.bb, do_fetch 摘要:显示了 34 条警告消息。摘要:显示了 66 条错误消息,返回非零退出代码。
有任何想法吗?
linux - 在 Yocto 树中使用预构建的工具链
有没有办法将 Yocto 配置为使用 Pre Built 工具链(如从 CodeSourcery 下载等)。我想避免构建工具链,因为它需要太多时间并且使用新工具链不是我关心的问题。
我在 buildroot 中使用了这个功能。
提前致谢!!!