yocto

bitbake: how to resume compilation

狂风中的少年 提交于 2019-12-13 03:43:55
问题 During a bitbake <image> execution, 3 errors are generated and the building process stopped. Here the last lines of the output: | ERROR: Function failed: do_compile (log file is located at /local/STM32MP15-Ecosystem-v1.0.0/Distribution-Package/openstlinux-4.19-thud-mp1-19-02-20/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-openstlinux_eglfs-linux-gnueabi/qtwebkit/5.11.2+gitAUTOINC+beaeeb9988-r0/temp/log.do_compile.26600) ERROR: Task (/local/STM32MP15-Ecosystem-v1.0.0

How to recover Intel Edison board

♀尐吖头ヾ 提交于 2019-12-13 02:48:44
问题 I had flashed Intel's pre-built src images on board by replacing u-boot.elf compiled with buildroot(having support for Edison board). But the board is stuck on FSBL(FSBL watchdog is continuously rebooting the board). I tried to flash on board, but on board no listener is present to serve flash operation (usually done by dfu utility in u-boot). So that I am not able to flash pre-built images again. By this present conditions, how can I bring my board up? How can I flash images again? INPUT :

Compiling and loading kernel module drivers with Yocto

本小妞迷上赌 提交于 2019-12-13 02:19:07
问题 I'm compiling a Linux kernel and root file system for a Dart board from this manual: http://variwiki.com/index.php?title=VAR-SOM-MX6_Yocto_Fido_New_R2 Now, I want to include extra drivers for attaching a WiFi USB dongle to my compiled version. I figured out how to compile the modules myself with the kernel Makefile , but I want them to be compiled and packaged with the RFS when I run bitbake on the project. I know the names of the kernel objects I need - ath.ko , ath9k.ko , ath9k_common.ko ,

Yocto Jethro: How to choose a Yocto Default Compiler? glibc failed at do_compile when use gcc 4.9

给你一囗甜甜゛ 提交于 2019-12-12 06:47:04
问题 Because of old Das u-boot from HEAD branch that do not have gcc 5 yet, I am planning on using gcc 4.8 or 4.9 as a default compiler instead of 5.2. GCC required virtual/libc glibc-2.22. glibc-2.22 complied successfully with 5.2. Unfortunately, it failed at do_compile with the error: ld: cannot find -lgcc with gcc 4.8 and 4.9 arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/yocto/hio-jethro/build-hio/tmp/sysroots/hio

yocto built tool chain search path issue

北城余情 提交于 2019-12-12 04:14:36
问题 I have built images for IMX6 using two different yocto versions. Following are the details. Yocto Version1: #curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo #repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga #repo sync #bitbake core-image-minimal Yocto Version2: #curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo #repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.52-1

Fetching into non-bare repository with bitbake

半城伤御伤魂 提交于 2019-12-12 02:12:14
问题 Looks like I am facing a trivial issue, but I am not able to figure out anything. I was trying to bitbake the raspberry pi image and due to bad internet connection, it failed. Now when I retried to bitbake again, it gives me the below error. fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository I understand that, this is because my git repository is no longer bare. After searching a lot on the internet, I found only one solution. Running the below command will

How to install GCC and/or apt on embedded linux Raspberry Pi

不羁岁月 提交于 2019-12-12 01:06:09
问题 I have a pre-configured linux distro on a raspberry pi (used for a bitcoin miner). The problem is that this distro is very minimal, only has busybox for basic commands. It doesn't have a package manager and it doesn't even have a gcc compiler. So my target is to install a gcc compiler on it so I can go further and install other software. So I'm basically limited to these commands from busybox: root@raspberrypi:~# ls /bin addgroup fgrep ping6 adduser grep ps ash gunzip pwd busybox gzip rm cat

compile Dlib library with Yocto

会有一股神秘感。 提交于 2019-12-11 19:37:29
问题 I'm trying to cross-compile an application with yocto. The application uses Dlib library, so I have to make a recipe for Dlib. How should the recipe look like? @R.Gopi When I try to build dlib recipe from @astor555 , I get the following error: ERROR: dlib-1.0+gitAUTOINC+3b794540ba-r0 do_package: QA Issue: dlib: Files/directories were installed but not shipped in any package: /usr/lib/cmake /usr/lib/cmake/dlib /usr/lib/cmake/dlib/dlib.cmake /usr/lib/cmake/dlib/dlib-release.cmake /usr/lib/cmake

Yocto recipe to manage Go dependencies with dep tool

╄→尐↘猪︶ㄣ 提交于 2019-12-11 17:18:23
问题 Update: This question is already SOLVED. I'm re-editing the question to update to the fixed state. I'm trying to write a recipe that uses dep tool to resolve dependencies of a go related project before building it. I'm using the 'poky' layer of the 'rocko' Yocto project branch. That branch provides recipes to build the go compiler and the dep dependencies tool. My initial recipe fetches source code from a bitbucket repository: GO_IMPORT = "bitbucket.org/path/to/my_project" SRC_URI = "git://$

Mipi Csi2 Error: could not get clock csi_mclk

家住魔仙堡 提交于 2019-12-11 17:18:11
问题 I have been working on writing mipi csi-2 imx290 camera driver. I have faced with csi_clock error. This is my imx290_probe function; static int imx290_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct device *dev = &client->dev; int retval; int value; /* request reset pin */ xclr = of_get_named_gpio(dev->of_node, "rst-gpios", 0); if (!gpio_is_valid(xclr)) { dev_warn(dev, "no sensor reset pin available"); return -EINVAL; } retval = devm_gpio_request_one(dev, xclr, GPIOF