[yocto] source an environment file in bitbake recipe.

2019-09-11 Thread Pandey, Kamal
Hi, Is there any way by which I can use the source command inside a bitbake recipe for example if I need to source some environment file before compiling. source doesn't seem to work Will the command . work What exactly I need to inherit for source command to work Thanks Kamal Pandey --

[yocto] assembler error: missing immediate expression at operand 1 -- `dsb`

2019-09-11 Thread Pandey, Kamal
Hi I was trying to compile the rpmsg-lite library provided by NXP for my ZC102 board. While compiling I was getting the error as follows: | Scanning dependencies of target rpmsg-lite | [ 10%] Building C object rpmsg-lite/CMakeFiles/rpmsg-lite.dir/lib/rpmsg_lite/rpmsg_lite.c.o | [ 20%] Building

[yocto] configuration for a layer apart from local.conf

2019-05-21 Thread Pandey, Kamal
Hi, I want to know if there is any other place where we can set configuration for a particular layer, apart from local.conf. For example if I want to set LICENSE_FLAGS_WHITELIST can I do that in layer.conf, or do I need to do that in local.conf only. Similarly for BBMASK too. So basically my que

Re: [yocto] ntp recipe not able to install few packages in the rootfs

2019-05-14 Thread Pandey, Kamal
Hi I was trying to add ntp package to my image, I used the meta-networking layer for the recipe and added the ntp package to my custom image.bb recipe. After compiling I can see multiple packages in package-split directory of the working directory of ntp package, but these binaries are missing in

[yocto] dhcp and avahi package addition to image

2019-04-09 Thread Pandey, Kamal
Hello, I was trying to add avahi and dhcp to my image. While running $bitbake dhcp avahi, everything is working fine but when I add these packages to packagegroup or directly to the image recipe using EXTRA_IMAGE_INSTALL or IMAGE_INSTALL_append. It starts giving error. The error for avahi is

[yocto] FileExistsError: [Errorno 17] File Exists

2019-04-07 Thread Pandey, Kamal
Hi I was trying to compile Weston-6.0 using yocto recipe. For this I backported some of the packages from master branch of poky to my own layer. During this process, there was one package xorgproto which was used in master branch of poky but in rocko branch this package is not there. However a s

[yocto] using git am to apply git patch in the workdir of any package+

2019-03-06 Thread Pandey, Kamal
Hello, I am trying to modify the src code of a package named say x, For this I type the command $bitbake x -c devshell. This leads me to the git repo of the x package(if it is a git repo). Now I do my changes, commit the changes, and create a patch out of it using git format-patch. Now I want this

Re: [yocto] bitbake openamp-image-minimal fails to create image

2019-01-10 Thread Pandey, Kamal
ould show me while booting as I am serially connected to the device. Please provide any pointers on this. Has anyone implemented this using meta-openamp layer and no petalinux. Thanks From: Jiaying Liang Sent: 10 January 2019 11:14 To: Manjukumar Harthikote Matha ; Pandey, Kamal ; yocto@yoctoprojec

[yocto] unable to boot r5 core while using meta-openamp layer for r5 and a53 communication

2019-01-09 Thread Pandey, Kamal
Hello, I am trying to run echo_test between r5 and a53 cores. I am following Building Linux Applications Using OpenAMP RPMsg in Linux Userspace (UG1186). I built the Linux a53 side image using yocto and did the changes in device tree as per mentioned in UG1186 (userspace part page no. 39). Also,

Re: [yocto] bitbake openamp-image-minimal fails to create image

2019-01-07 Thread Pandey, Kamal
not found in modules.dep" How can I boot the r5 processor and where to store the elf file generated. From: Manjukumar Harthikote Matha Sent: 07 January 2019 13:53 To: Pandey, Kamal ; yocto@yoctoproject.org Subject: RE: bitbake openamp-image-minimal fails to create image Hi Kamal, Se

[yocto] bitbake openamp-image-minimal fails to create image

2019-01-06 Thread Pandey, Kamal
Hello, I used the meta-openamp layer for r5-a53 communication. but when I simply ran $bitbake openamp-image-minimal, it gave me the following error: ERROR: openamp-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command '/media/iepl/iepl1/work/yocto_build/build-open-amp/tmp/work/pdm3_rev_b

[yocto] Compilation error while backporting xserver-xorg of poky master branch to rocko

2018-10-24 Thread Pandey, Kamal
Hello, I am trying to run Weston 5.0 using poky's rocko branch, so I backported a few packages from poky master branch to my own custom layer. But in this process xserver-xorg is giving me a compilation error. The contents of the log file are as follows: aarch64-pdm3-linux-gcc --sysroot=/medi

[yocto] upgrading packages in yocto

2018-09-30 Thread Pandey, Kamal
I want to upgrade some packages of poky/meta/recipes-graphics/ like weston_2.0.0.bb to weston_4.0.0.bb. Also I don't want any changes to be made in poky/meta layer. What is the best way of doing these kinds of upgradations. I think bbappend here will create problems as the SRC_URI and other vari

[yocto] error while installing extended sdk

2018-09-07 Thread Pandey, Kamal
Hi, I was trying to create an extended SDK for my image. It was successfully created, without any errors. But while installing the sdk I got a few warnings as shown below: WARNING: The weston:do_fetch sig is computed to be b87adbcf88b1b506b444c099fad499f3, but the sig is locked to 3bf1dd4b3c15d

[yocto] Error while sdk creation of custom weston-wayland image

2018-09-01 Thread Pandey, Kamal
Hi, I am trying to create sdk for core-image-weston image. Although my image is compiled and $bitbake core-image-weston -c populate_sdk executed till 99%. But throwing error almost in the end as follows: Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS= "x86_64-linux"

[yocto] building weston wayland custom image with QT

2018-08-29 Thread Pandey, Kamal
I was trying to create sdk for Weston wayland image but iam facing these errors as shown below: bitbake -c populate_sdk core-image-weston-pdm3 Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS= "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aar

Re: [yocto] chromium is compiling but is not able to add in the image

2018-08-23 Thread Pandey, Kamal
; x11 \ chromium \ and yes that device has a mali GPU support. -Original Message- From: Stefano Babic Sent: 23 August 2018 21:26 To: Pandey, Kamal Cc: Ross, Fedor ; Barth, Steffen ; Marek Vasut Subject: Re: [yocto] chromium is compiling but is not able to add in the image Hi

[yocto] chromium is compiling but is not able to add in the image

2018-08-21 Thread Pandey, Kamal
I tried adding chromium package via the meta-browser layer. It is compiling when I run $ bitbake chromium . But when I run $bitbake core-image-minimal-pdm3. It’s not adding chromium to the image and throwing errors as shown below: Loading cache: 100% |##

[yocto] bitbake firefox using meta-browser layer

2018-08-20 Thread Pandey, Kamal
I was trying to compile the Firefox browser for a custom embedded device. But it is falling giving the following error: cd /home/iepl/work/yocto_build/poky/build/tmp/work/aarch64-pdm3-linux/firefox/52.9.0esr-r0/firefox-52.9.0esr/firefox-build-dir | /home/iepl/work/yocto_build/poky/build/tmp/wor