yocto

How to export DBUS_SESSION_BUS_ADDRESS

↘锁芯ラ 提交于 2019-12-31 16:48:46
问题 I'm trying to run D-Bus on an embedded system (Yocto Linux) and connect to it from my application code. I get the following error when I call dbus_bus_get(DBUS_BUS_SESSION, &err); Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead I realize that I need to start the dbus-daemon first so I have run dbus-launch from the command line. This prints out a value of DBUS_SESSION_BUS_ADDRESS but how could I export it programmatically? Thanks for

Analog Devices Inc. Yocto/OpenEmbedded layer

戏子无情 提交于 2019-12-27 15:07:56
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Type Name Latest commit message Commit time meta-adi-bsp meta-adi-bsp: add 2019_R1 linux recipe 4 days ago meta-adi-core meta-adi-core: Add jesd-status recipe 8 months ago meta-adi-xilinx treewide: bump kernel version to 4.19 4 days ago LICENSE Initial commit 9 months ago README.md doc: Add link to meta-adi-bsp from the top level README 7 months ago README.md META-ADI Collection of layers to support Analog Devices based platforms. Please refer to the README of each layer for more information. Analog Devices layer to build Xilinx based SoC FPGA based

Why does my BitBake autotools recipe fail during do_configure?

流过昼夜 提交于 2019-12-25 18:20:12
问题 I am attempting to create a fairly simple BitBake recipe that uses autotools, which you can see here: SUMMARY = "an example autotools recipe" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit autotools SRC_URI = "file://${TOPDIR}/piu/geo_utilities" S = "${TOPDIR}/piu/geo_utilities" After starting a BitBake build with this recipe's default package included, do_configure fails with the following: configure: exit 0 WARNING: /home

Error while running poky-qemu: version `GLIBC_2.17' not found. How to solve this?

て烟熏妆下的殇ゞ 提交于 2019-12-25 16:24:26
问题 I am using 32Bit Ubuntu 14.04, where newest version of libc6 is already installed. When I run 'poky-qemu qemuppc zImage-2.6.37-qemuppc-1.0.bin yocto-image-lsb-sdk-qemuppc-1.0.rootfs.ext3' , I am getting following error: /opt/poky/1.0/sysroots/i686-pokysdk-linux/usr/bin/qemu-system-ppc: /opt/poky/1.0/sysroots/i686-pokysdk-linux/lib/libc.so.6: version `GLIBC_2.17' not found (required by /usr/lib/i386-linux-gnu/libdrm.so.2) Is this problem in toolchain or my host machine? How to solve this error

Custom Linux distro - mono runtime not found

眉间皱痕 提交于 2019-12-25 05:32:51
问题 I am trying to add mono to core-image-minimal for P202RDB custom Linux distro. Here is my bblayers.conf file: # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \ /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \ /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto-bsp \ /home

Source file not available anymore

半城伤御伤魂 提交于 2019-12-25 01:48:47
问题 I'm facing something new in my experience. An updated Yocto environment fails to build while fetching MariaDB : WARNING: mariadb-5.5.64-r0 do_fetch: Failed to fetch URL https://downloads.mariadb.org/f/mariadb-5.5.64/source/mariadb-5.5.64.tar.gz, attempting MIRRORS if available ERROR: mariadb-5.5.64-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-BIEhFRRkoA"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export

YOCTO Change kernel version and select drivers

♀尐吖头ヾ 提交于 2019-12-24 16:42:56
问题 I am trying to compile a new Linux kernel obtained from https://github.com/qoriq-open-source/linux (version 4.9) for T1042D4RDB-64B embedded board using Yocto . It's currently using 4.1.35-rt41 . I followed these steps: bitbake virtual/kernel -c cleansstate bitbake virtual/kernel -c patch replacing git folder with my new kernels source code (https://github.com/qoriq-open-source/linux) make ARCH=powerpc menuconfig bitbake virtual/kernel Result is The new kernel has compiled successfully but

How do i change the root password in the Yocto dora bitbake system?

不问归期 提交于 2019-12-24 14:40:59
问题 I am working on the Dora branch (Poky 1.2) of Yocto and need to work on this branch only. I need to change the blank root password to some other value in order to prevent a security hole in the image during development. How do I set the root password? I would like to use the local.conf file. The method described here does not work: How to set root password on Yocto / Poky image? 回答1: Add the below line in your build/conf/local.conf or go to your meta-dir and add the below line for taking git

Building meta-virtualization layer in yocto

自古美人都是妖i 提交于 2019-12-24 11:08:13
问题 I am trying to add the meta-virtualization layer in my yocto project. The layer depends on openembedded-core and multiple layers provided by meta-openembedded. Following is the structure of my bblayers.conf file after adding the meta-virtualization layer and it's dependencies. BBLAYERS ?= " \ /home/mshehery/Downloads/git/Yocto/poky/meta \ /home/mshehery/Downloads/git/Yocto/poky/meta-yocto \ /home/mshehery/Downloads/git/Yocto/poky/meta-yocto-bsp \ /home/mshehery/Downloads/git/Yocto/poky/meta

Can I get debug information on USB?

做~自己de王妃 提交于 2019-12-24 10:35:56
问题 Currently I am working on yocto OS for my project. My question regarding debug. In normal practice the debug information is entertained through serial. I aware about ssh debug. I have two question.... Why normally every device support debug on serial port? Is there any possible way to get debug through USB PORT(with out using serial to USB converter) in Yocto? 回答1: Because serial driver can be simple and implementing without interrupts (how Linux kernel console actually does). This is a