I am trying to add a tlv320aic3110 codec to my project and I have been recommended adding these endpoints to the i2s and i2c attributes: The problem I’m having is that, when I build this device tree into a dtb file, I get a lot of warnings: The warnings say that the value of #address-cells is both 2 and -1,
Tag: embedded-linux
Loopback/Echo bytes received over serial port
On an embedded Linux system running Busybox I am trying to receive bytes over a serial port and echo back everything received. The system setup is like this: Linux <-USB-> FTDI chip <-UART-> MCU On the UART line I have a logic analyser monitoring the data between the FTCI chip and the MCU. Both the MCU and Linux have the
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
What would be a good algorithm for patching binary files on Linux?
I am trying to reduce data transfer to my embedded Linux device by creating patches for almost similar binaries. I have memory constraints on my device and hence heavy algorithms like bsdiff and bspatch are unaffordable on my target for binary sizes of around 36-60 MB. I would like to know the commands that have the best algorithms for diffing and
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
git-lfs INSTALLATION ERROR : Syntax error: end of file unexpected (expecting “)”)
I am working on Jetson nano platform ARMv8 Processor rev 1 (v8l) × 4. I downloaded and extracted the binary from https://git-lfs.github.com/ Trying to install from the install.sh script provided in the download package on Debian/sid: I get the following and the error: The git versiongit version 2.17.1 Answer Just adding for others if they have this issue. Once this
Linker –whole-archive option
I am using C language. I am linking static libraries with –whole-archive. Linker is arm-none-eabi-ld For example, giving the following option to the linker: But still I get linking error: Why is the linking error happening? EDIT: Full command with output: Out put of: readelf -Ws kunit.a hal.a fs.a | egrep ‘ (mmu_init|exec_array|mmu_pagetable|_enter_kernel)’ is: Answer Why is the linking error
Instaling yum with dependencies on an embedded Linux [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
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