yocto

Yocto for Nvidia Jetson fails because of GCC 7 - cannot compute suffix of object files

こ雲淡風輕ζ 提交于 2019-12-08 00:33:31
问题 I am trying to use Yocto with meta-tegra ( https://github.com/madisongh/meta-tegra ) to build a minimal system for the Nvidia Jetson Nano. I need to use CUDA ( current version 10 for Nano ) with OpenCV on this platform. CUDA 10 only support GCC 7, and not GCC 8. GCC 7 has be deprecated and removed from OpenEmbedded Warrior release in favor of GCC 8.3. My error has to do with trying to use GCC 7 with Warrior release of OE: configure: error: cannot compute suffix of object files: cannot compile

How can I change the installation path of an autotools-based Bitbake recipe?

和自甴很熟 提交于 2019-12-07 16:12:17
问题 I have an autotools-based BitBake recipe which I would like to have binaries installed in /usr/local/bin and libraries installed in /usr/local/lib (instead of /usr/bin and /usr/lib , which are the default target directories). Here's a part of the autotools.bbclass file which I found important. CONFIGUREOPTS = " --build=${BUILD_SYS} \ --host=${HOST_SYS} \ --target=${TARGET_SYS} \ --prefix=${prefix} \ --exec_prefix=${exec_prefix} \ --bindir=${bindir} \ --sbindir=${sbindir} \ --libexecdir=$

During SDK build: environment-setup.d/ conflicts between attempted installs

扶醉桌前 提交于 2019-12-07 07:28:58
问题 I am trying to build an image for beaglebone that contains Qt5, as well as generate the SDK for this image. Problem my problem is, that the build fails the do_populate_sdk task to create the SDK with the following error: Error: Transaction check error: file /opt/poky/2.3.1/sysroots/x86_64-pokysdk-linux/environment-setup.d conflicts between attempted installs of nativesdk-cmake-3.7.2-r0.x86_64_nativesdk and nativesdk-qtbase-tools-5.8.0+git0+49dc9aa409-r0.x86_64_nativesdk A little further up

How to determine dependencies of recipes in yocto?

醉酒当歌 提交于 2019-12-07 05:21:56
问题 I want to add gedit to the the image. But i am not able to find the dependencies of gedit package. How to find the dependencies (DEPENDS) in yocto. 回答1: You can use the following command which opens up a Dependency explorer that displays dependencies on the packages: bitbake -g recipe-name -u depexp or bitbake -g gedit -u depexp ,in your case. On pyro and later use: bitbake -g recipe-name -u taskexp Note: this command needs python-gtk2 installed. 回答2: You can also use Toaster, which is a web

Best practice for building firmware using Yocto

僤鯓⒐⒋嵵緔 提交于 2019-12-07 04:53:09
问题 I have a working Yocto build system based on the rocko branch that is generating images for an ARM-based target board. One of the chips on this board is a small ARM-based micro-controller that is separate to the main CPU. It needs to be loaded with a firmware image that I have to build. It would be easy to make a recipe to build this microcontroller firmware. It requires an ARM cross compiler and then some special compiler options to control the code generation (for cortex-m4 + thumb etc).

How do I add more python modules to my yocto/openembedded project?

一曲冷凌霜 提交于 2019-12-06 22:27:31
问题 I wish to add more python modules to my yocto/openembedded project but I am unsure how to? I wish to add flask and its dependencies. 回答1: some python packages having corresponding recipes in the meta folders, like Enum class for example: meta-openembedded/meta-python/recipes-devtools/python/python-enum34_1.1.6.bb unfortunately lot's of useful classes aren't available, but some might be needed for the python application. get used of installing missing packages using pip already on booted

Yocto: Create a New Directory in etcdir

孤人 提交于 2019-12-06 20:33:30
I am new to Yocto, I want to create a directory in /etc and copy my server certificates into that directory. I tried doing below, But it it not creating any directory in /etc, however i am not getting any compilation error: DESCRIPTION = "OC sample service" SUMMARY = "Install and start a systemd service and copy server certificates" LICENSE = "MIT" SRC_URI = "file://service.tar.gz" inherit systemd S = "${WORKDIR}/service" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "sample.service" SYSTEMD_AUTO_ENABLE = "enable" INSANE_SKIP_${PN} += "installed-vs-shipped" do_configure() { : } do_compile

YOCTO : can't insert linux module to the kernel : versions are different

。_饼干妹妹 提交于 2019-12-06 16:18:16
I'm using YOCTO PROJECT to build a linux os for my embedded board. I have a module named uleds which i want insert to my kernel so i taped this insmod command: insmod /lib/modules/4.14.73-linux4sam-6.0-dirty/kernel/drivers/leds/uleds.ko But an errors comes out : uleds: version magic '4.14.88-01445-g234c56a01768-dirty mod_unload ARMv7 p2v8 ' should be '4.14.73-linux4sam-6.0-dirty mod_unload ARMv7 p2v8 ' uleds: version magic '4.14.88-01445-g234c56a01768-dirty mod_unload ARMv7 p2v8 ' should be '4.14.73-linux4sam-6.0-dirty mod_unload ARMv7 p2v8 ' insmod: can't insert '/lib/modules/4.14.73

How to add multilanguage support to a Yocto build?

柔情痞子 提交于 2019-12-06 09:46:20
I'm trying to add multilanguage support to a Yocto build. Reading the official documentation I've found that the build options that controls locale settings are: GLIBC_GENERATE_LOCALES IMAGE_LINGUAS Link: http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#var-GLIBC_GENERATE_LOCALES After a build with the following options: GLIBC_GENERATE_LOCALES="en_GB.UTF-8 en_US.UTF-8" IMAGE_LINGUAS?="en-gb" if I ask to "localectl" the list of available locales, nothing is displayed (command: localectl list-locales). Another bit of info, the output of the "locale" command is: LANG= LC_CTYPE=

Yocto for Nvidia Jetson fails because of GCC 7 - cannot compute suffix of object files

大城市里の小女人 提交于 2019-12-06 07:50:12
I am trying to use Yocto with meta-tegra ( https://github.com/madisongh/meta-tegra ) to build a minimal system for the Nvidia Jetson Nano. I need to use CUDA ( current version 10 for Nano ) with OpenCV on this platform. CUDA 10 only support GCC 7, and not GCC 8. GCC 7 has be deprecated and removed from OpenEmbedded Warrior release in favor of GCC 8.3. My error has to do with trying to use GCC 7 with Warrior release of OE: configure: error: cannot compute suffix of object files: cannot compile The README for meta-tegra states the following: * CUDA 10 supports up through gcc 7 only, and some