Skip to content
Advertisement

Tag: yocto

Bitbake binary file not found

I am using bitbake to build and deploy my application to my linux build. I was recently made aware that my binary application was not being deployed to /usr/bin. I was told to update my mainapplication.bb to have the following line. install -m 0644 ${S}/MAIN_Application ${D}${bindir} Doing do causes my bitbake build to crash as it cannot find the MAIN_Application

Trying to add new layer to my build, can anyone sort out the problem?

~/rdk/build-raspberrypi-rdk-hybrid$ bitbake-layers add-layer meta-new Specified layer directory doesn’t exist its continuously showing this error, I don’t understand the reason, since it showed directory doesn’t exist i tried to create a directory of same name as the above mentioned layer, still its showing same error. Please help I am new to Custom Linux. Answer If you want to add a new

How to include device tree overlay into Raspberry Pi CM4

I would like to include UART3 and UART5 overlay to enable them, using Yocto. They are already delivered with the whole package (https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/uart3-overlay.dts) I added to my main image recipe lines: I have also added .bbappend to enable them in /boot/config.txt (file /meta-mylayer/recipes-bsp/bootfiles/rpi-config_%.bbappend): And I receive an error: I suppose that those overlays are not compiled, how can I include

Yocto boot partition vs boot rootfs directory

I need to mount my boot partition in order to perform software updates in my yocto built. I would expect to mount it in /boot but I see that there is a directory there already I cant seem to find information about what this /boot directory is and why its needed. It contains the same .itb file that is in

How to start using google tests on a Yocto(Open Embedded) System

I’m doing a project for ARM64 devices and am using Linux Embedded as the OS. I am trying to using Google Tests but when running bitbake, it is failing. Heres the error: I’ve edited the cmake in my src folder and added these components wrt Gtests: CMake for the file containing test case: Answer Already asked on https://unix.stackexchange.com/questions/656529/how-to-start-using-google-tests-on-a-yoctoopen-embedded-system This was

How to show hidden sysctl tunable?

I’m on a Yocto Linux distribution and I need to set the sysctl tunable kernel.panic_on_rcu_stall to 1. The problem is when I list the elements inside /proc/sys/kernel I have no panic_on_rcu_stall and if I try to set the option anyway I get the folowing error: I know that the key exist, we can see it on the Linux Kernel documentation,

Yocto bitbake build error when adding fftw package

I am using Yocto Warrior release to build linux for Dart-imx8m SOM. Documentation can be found here : https://variwiki.com/index.php?title=DART-MX8M_Yocto&release=RELEASE_WARRIOR_V1.1_DART-MX8M. I want to add fftw package whose recipe is in meta-oe layer. Whenever I add this package in my local.conf file, I get an error with bitbake regarding a dnf related task. I add the package like this in my local.conf

What’s the purpose put a .so file before execution file?

I saw a execution method today. I know when putting a bash variable before execution command means to set that environment variable before execute command. But now, it is a share lib, what’s the purpose and function to put there? Answer The dynamic linker /lib/ld-linux-x86-64.so is special in that it can be run as an executable or linked to another

YOCTO Change kernel version and select drivers

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

Advertisement