Skip to content

Tag: embedded-linux

How to make gdb for a target and use it there

I am trying to compile gdb-8.2 from source. Build machine: x86-64 Host AND target: arm-linux-gnueabi I ran: Then I ran: So I got a usr folder inside gdb_installation folder. I copied the usr/local/bin/gdb to my target and ran Output: But it does not show anything. It exits without any message. What am I missi…

Segmentation fault when maping /dev/mem

I’m trying to mmap a memory from my FPGA on a linux running on my Zedboard SoC. I can read the contents correctly using devmem on the command line, but when trying to read it through C I get a segmentation fault. The barebones code shown below throws the segmentation fault when trying to print the conte…

libva version error on yocto build

I was trying to build a Yocto Image for intel processor. I downloaded the latest source code of poky and then clone the meta-intel branch and added it to bblayers.conf file. I started build with the following command And got the following error: I have the following recipe in this folder meta/recipes-graphics…

How u-boot start instruction is found by ROM Code

I am trying to understand ARM Linux Boot Process. These are the things I understood: When reset button is pressed in any processor, it jumps to the reset vector or address, in case of ARM it is either 0x00 or 0xFFFF0000. This location contains the start up code or ROM Code or Boot ROM Code My query is how thi…