Questions tagged [embedded-linux]

Embedded Linux is the use of Linux in embedded computer systems such as mobile phones, personal digital assistants, media players, set-top boxes, and other consumer electronics devices, networking equipment, machine control, industrial automation, navigation equipment and medical instruments.

Embedded Linux is the use of Linux in embedded computer systems such as mobile phones, personal digital assistants, media players, set-top boxes, and other consumer electronics devices, networking equipment, machine control, industrial automation, navigation equipment and medical instruments.

Before you start

The use of the tag should be limited to questions specifically related to Embedded Linux. General Linux questions should be tagged . Questions about the internals of the Linux kernel or regarding writing Linux kernel modules should be tagged or , respectively.

Please browse the list of frequently asked questions to see if your question is similar to one that has already been answered.

Important notes that may save you time

  • The Embedded Linux Wiki exists to preserve and present information about the development and use of Linux in embedded systems.
4518 questions
14
votes
8 answers

What is an embedded system? Can Mobile be considered as an embedded product?

What is mean by embedded system? If a system/machine or product which we are making is for multiple purposes, then can we consider it as an embedded system? Or is it that only a system dedicated for a particular task that is considered as an…
kapilddit
  • 1,729
  • 4
  • 26
  • 51
13
votes
3 answers

How do I Add a A Package To Buildroot Which Is Available In A Git Repository?

I'm making an embedded Linux system and I wanted to add the 'bluez' package (and bluetooth utilities) to the packages of the Buildroot environment. Unfortunately the tar ball seems to be unavailable but the source is available from Git repositiory…
D-Dᴙum
  • 7,689
  • 8
  • 58
  • 97
13
votes
4 answers

insmod error: inserting './hello.ko': -1 Invalid module format"

I have just made my first driver module, the hello world module following LDD3. However unfortunately encountered this error: insmod: error inserting './hello.ko': -1 Invalid module format. I am doing this on Ubuntu 11.04, and my environment: $…
13
votes
3 answers

Raspberry Pi HDMI input & HDMI output for image processing

My goal is to send HDMI input video to the Raspberry Pi, then alter the input HDMI (image processing via C/C++ or Java) and send it back out a HDMI output port. The issue is Raspberry Pi has only HDMI output port ,so there is no way to send in HDMI…
cyber101
  • 2,822
  • 14
  • 50
  • 93
13
votes
1 answer

What is different between u-boot.bin and u-boot.img

I just compiled the U-Boot bootloader and I see a few file names in the u-boot program directory which are: u-boot.bin u-boot.img u-boot.lds u-boot.srec Basically, I'm interested in the files with extensions .img and .bin. What is different between…
FanQt
  • 218
  • 1
  • 3
  • 9
13
votes
2 answers

What is the difference between "short int" and "short" in c?

what is the difference between declaring the variables as short int and short? In gcc compiler the short occupies 2 bytes(checked with sizeof(short)),and short int is also giving the 2bytes of size.Is both are same are different?In which case these…
13
votes
2 answers

Understanding Linux load address for U-Boot process

I'm trying to understand embedded Linux principles and can't figure out addresses at u-boot output. For example, I have UDOO board based on i.MX6 quad processor and I got following output from U-Boot: U-Boot 2013.10-rc3 (Jan 20 2014 -…
Ivo Slanina
  • 131
  • 1
  • 1
  • 3
13
votes
2 answers

Need cross gdb for device

I installed gcc-arm-linux-gnueabihf cross-compiler on Ubuntu 12.04, and now I am able to build a program for embedded device. Where can I find cross gdb for debugging? gcc-arm-linux-gnueabihf reference contains gdb-arm-linux-gnueabihf in the Related…
Alex F
  • 42,307
  • 41
  • 144
  • 212
12
votes
3 answers

How to modify kernel DTB file

Summary I am currently compiling the Linux kernel (kernel, modules and DTB) with some custom drivers for a custom board. Occasionally I'll compile the kernel and realize that the compatibility string in the DTB file is not what the custom driver is…
Liam Kelly
  • 3,524
  • 1
  • 17
  • 41
12
votes
3 answers

copy_to_user undefined in linux kernel version 4.12.8

In my project I am using char driver to communicate between user space and kernel space. I use the function copy_to_user(void user *to, const void *from, unsigned long n) to copy data from kernel space to user space buffer. We can find this function…
12
votes
4 answers

Easiest way to use DMA in Linux

I'm a EE and for a project at uni I'm developing hardware assisted image/video filtering on an FPGA (Xilinx ZYNQ), said device also has a dual core ARM A9 processor inside and more importantly there is also an ARM Primecell PL330 DMA controller I'm…
12
votes
2 answers

Interpretation of gpio: in fixed-regulator device tree entry?

I'm trying to control (on/off) a voltage regulator that is mapped to a GPIO pin and powers an external device. The device tree for the regulator has the following entry: reg_usb1_vbus: usb1_vbus { compatible = "regulator-fixed"; …
12
votes
2 answers

Building kernel uImage using LOADADDR

While building the kernel I am giving LOADADDR as "0x80008000": make uImage LOADADDR=0x80008000 Can you please help to understand what is the use of this? Can I change the LOADADDR, is there any restriction on the length of the LOADADDR?
user3693586
  • 1,227
  • 5
  • 18
  • 40
12
votes
4 answers

Why are i2c_smbus function not available? (I2C – Embedded Linux)

There are many references to using i2c_smbus_ functions when developing embedded Linux software to communicate on the I2C bus. When i2c_smbus functions such as i2c_smbus_read_word_data are referenced in software project for ARM8 processor errors…
Mahendra Gunawardena
  • 1,956
  • 5
  • 26
  • 45
12
votes
3 answers

About "init: untracked pid xxxx exited" in Genymotion

Sometimes I see the following logcat output such as that below: <3>[ 283.152845] init: untracked pid 4217 exited <3>[ 283.162185] init: untracked pid 4078 exited <3>[ 283.173691] init: untracked pid 1504 exited <3>[ 283.177018] init: untracked…
spring79y
  • 179
  • 2
  • 2
  • 8