The kernel manages drivers, file systems, inter-process communication, and interrupts.

learn more… | top users | synonyms

0
votes
0answers
3 views

Trick kernel into having a connected keyboard

I have a Raspberry Pi B running Raspbian. I'm using it to create this for my little brother. I'm using Adafruit's Retrogame code (found here) to receive GPIO inputs and convert them into keyboard ...
0
votes
1answer
20 views

GPIO.cleanup() on RPi2

To make a long story short I am trying to read frequency on the RPi2's GPIO pins. The goal eventually would be to use this frequency signal to control a PyGame platformer that I have created. However ...
1
vote
1answer
23 views

Raspberry Pi kernel image installation on new SD Card (no pre installed Raspbian or NOOBS in it - it's free with no partions)

I have been working on kernel compilation of Raspberry Pi on Ubuntu using a cross compiler. I have compiled the kernel, and I got the image file generated ...
1
vote
1answer
31 views

Kernel panic not syncing with keyboard plugged in

My Raspberry Pi won't boot with a keyboard plugged in. It is a wireless Logitech two-in-one keyboard, and it says: end Kernel panic - not syncing: Fatal exception in interrupt. How can I fix ...
1
vote
1answer
54 views

missing crypto kernel module on Raspberry Pi 2

I'm trying to use dm-crypt on my Raspberry Pi 2 with Raspbian (jessie) to open a trueCrypt volume, but i get Required kernel crypto interface not available. Ensure you have algif_skcipher kernel ...
0
votes
0answers
46 views

Invalid module format error on Raspberry. Kernel 3.10.25+

I am trying to install a module on my Raspberry Pi B+ running with Raspbian. To know the version of the Kernel I run the command uname -a and i got this: Linux raspberrypi 3.10.25+ #622 PREEMPT Fri ...
2
votes
1answer
98 views

RPi crashes randomly after 1 to 2 days

I don't know what causes it so I write down what I found out so far, hoping it matters: I have multiple rpis installed in my house, all running perfectly, except this one. I exchanged that rpi ...
0
votes
1answer
49 views

How to add usb wifi adapter support to android build?

I have kernel version : 2.6.38.8 #9, the output for lsusb is Bus 001 Device 003: ID 0bda:8179. Can anyone help to find correct drivers for this chipset and how to add drivers to kernel ?
0
votes
0answers
128 views

“Panic:VFS: Unable to mount root fs on unknown-block(179,2)”

When booting my Pi, I get an error that states: "Panic:VFS: Unable to mount root fs on unknown-block(179,2). It's rather annoying, and I've tried lots of various things, I've googled and searched, but ...
0
votes
0answers
52 views

Boot error (PREEMPT ARM) and screen freeze

I had used and tested my RPi B+ almost 2 months ago, with different TVs (via HDMI and AV), and it worked without any problem. Today, I wanted to test my RPi B+ again (after 2 months of not using it) ...
0
votes
2answers
55 views

Kernel Configuration for CAN-Bus

I'm trying to configure my can-bus module. I'm following these steps . My branch is 3.18.y-rebase (from github) When I came to device drivers->spi support step I couldn't see BCM2798 SPI controller ...
0
votes
1answer
137 views

How to upgrade my Pi to a new major kernel version?

I am considering upgrading the kernel of my Raspberry Pi router to 3.19. But how can I do this? I have found an out-of-tree nl80211-compatible driver for rtl8188cus that supports hostapd and acs, but ...
0
votes
0answers
25 views

How to enable ptrace of existing non-child process?

Ubuntu and other systems have added the sysctl in /proc/sys/kernel/yama/ptrace_scope since ~2010; this filesystem location does not exist on my RaspBMC Pi with kernel 3.10.17 (no yama/ directory ...
0
votes
0answers
82 views

How do I install the matching kernel sources for raspbian?

After spending a lot of time with the presumably correct kernel source for my RPi in order to compile a driver (kernel sources for the driver module and the built kernel need to match precisely, ...
0
votes
0answers
61 views

SPI problem when install CAN controller driver

I updated my raspi to 3.18.7+ last days and i also need new driver for my modules. I was waiting for PICAN board driver for pi and yesterday i uploaded it. Before uploaded; ls -al /dev/spi* ...
1
vote
2answers
123 views

Controlling kernel interface 4DPi-32 display

I bought a a SPI controlled display 4DPi-32 [1] and compiled a kernel patched with the driver source [2] provided by the vendor (because the provided deb does not work with RPi2). I had to adapt the ...
1
vote
1answer
29 views

infinite loop while building script for kernel

I have replace 3.18 kernel with 3.10 kernel for some kernel module checking on raspbian. Now when I tried to build that module I got error for kernel script (genkmsys, fixdep etc etc). So, I tried ...
1
vote
1answer
120 views

How to U-Boot for Arch linux over NAS?

I want to use u-boot my Arch linux including the kernel from the NAS via NFS (or TFTP if it requires). I have installed Arch before and I understand kernel.img, I have read this link about U-Boot ...
2
votes
0answers
153 views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the ...
1
vote
1answer
1k views

What is the default cmdline.txt?

My Raspbian Pi crashes to a Kernel panic when I start it up, and it suggested somewhere that an invalid cmdline.txt can cause this. What is in the cmdline.txt by default?
1
vote
1answer
204 views

Raspberry Pi 1.2 GHz kernel panic

When I overclock my Raspberry Pi B+ to 1200 MHz, it spits out a nasty kernel panic, even though it is overvolted and cooled sufficiently. However, on my Raspberry Pi Model B, I have gone past 1.3 GHz. ...
0
votes
1answer
95 views

Keyboard and Wi-Fi dongle don't work after updating kernel

I have installed Raspbian on my Paspberry Pi and was experimenting with developing for it. I have followed this tutorial and cloned the kernel on an Ubuntu VM to cross compile it with raspberry tools. ...
0
votes
0answers
303 views

USB Issues with recent kernel build

I am trying to roll my own image for the raspberry Pi, I am using a B+ model Pi. What I want to do is build my own kernel and for now have it load busybox or something similar, but I seem to be ...
1
vote
1answer
289 views

Raspberry Pi kernel compilation adding Galaxy touchscreen drivers

I am trying to add the eGalaxy touchscreen drivers to raspbian os . Following this link .. http://simonmcc.blogspot.in/2013/08/raspberry-pi-rpi-kernel-build-for.html?showComment=1421908155346 But ...
1
vote
0answers
245 views

Why I cannot read the temperature/humidity sensor sht20?

I use a temperature and humidity sensor sht20. According to this link: http://www.sensirion.com/en/products/humidity-temperature/humidity-temperature-sensor-sht2x/ It is compatible with sht21, which ...
2
votes
0answers
175 views

Kernel not updating on Raspbian under QEMU

I'm trying to update my kernel to the latest version. apt is updated and upgraded, and rpi-update finishes without error. However when I reboot, I'm still running the old kernel. Any ideas? $ uname ...
3
votes
2answers
117 views

Can I get better performance on Raspbian if I blacklist a lot of kernel modules in raspi-blacklist.conf?

I have a Raspberry Pi that is being used only for displaying a single webpage. I have the memory split set at 64M for the GPU. The display does not require sound, web-video, usb-devices, user-input. ...
0
votes
2answers
321 views

Do we need to put i2c code into kernel?

I see codes to make i2c device (e.g. i2c sensors) work in user space, just need kernel to support /dev/i2c-0 or /dev/i2c-1. But whether do we need to put the codes into Linux kernel? For example, if ...
1
vote
2answers
321 views

insmod segmentation fault error each time I insert a basic module

I'm trying to build some kernel modules on RPI, the ismond work fine for some times, now the insmod command crash each time I try to insert a simple module. the kernel module compile without any error ...
1
vote
1answer
97 views

What is the right value of GPIO_BASE in Linux kernel for Pi?

According to "BCM2835 ARM Peripherals" page 90, the GPIO registers start from 0x 7E20 0000. While according to kernel file: arch/arm/mach-bcm2708/include/mach/platform.h, as below. #define ...
0
votes
0answers
65 views

Kernel Panic on Boot with GertDuino

When I boot my RPi with the GertDuino attached and the jumpers set to the Atmel 328 I get a kernel panic where it cant find the rootfs and drops me to a shell, "kdb >". When I place the jumpers set to ...
1
vote
2answers
3k views

Compile linux device driver in Raspbian

I have some problems with compiling & building a simple gpio driver that I wrote( after THIS documentation). I have a Raspberry Pi Model B+ ( not sure if it's relevant to the question) with a ...
0
votes
0answers
9 views

I am not able to boot with the latest kernel source ie 3.18.0 with the device tree enabled [duplicate]

I am not able to boot with the latest kernel source ie 3.18.0 with the device tree enabled. I am getting blank screen. I used the [b]latest tools and firmware[/b] to boot. downloaded the code from ...
1
vote
2answers
73 views

Is it possible to run only the kernel?

I would like to run some user space application, hence I would like to know whether the followings are possible: is it possible to run only the kernel without Debian? if yes, how can I compile and ...
2
votes
1answer
61 views

What is the significance of .y and .y-next in the Raspberry Pi kernel branch names?

The Raspberry Pi kernel repository has branch names that end in .y and .y-next? For example, rpi-3.17.y and rpi-3.13.y-next. What is the significant of the .y and .y-next?
1
vote
1answer
83 views

Systel level differences in making a GPIO high in Raspberry PI vs Beaglebone

I understand the Raspberry PI uses the previous Kernel and the Beaglebone Black uses the one after and both do a great job for different applications. I would like to know what is the difference in ...
1
vote
1answer
253 views

Xenomai to Raspberry

I want to get Xenomai working on my Raspberry. Unfortunately I am not very familiar with compiling kernels. I am using this documentation to get it work: ...
2
votes
1answer
554 views

Kernel .config necessary options

I'm interested in compiling a custom kernel for the pi. I have the source from the github archive, which includes a make target for a default configuration: make ARCH=arm bcmrpi_defconfig But (as ...
0
votes
0answers
118 views

Using I2S/PCM on the P5 header

I am trying to get audio capture through a custom codec board that is using I2S to communicate the audio data. I'm having trouble finding support for using I2S. There was a lead here although the ...
1
vote
0answers
175 views

Kernel compilation failed when enabled DEBUG

I am compiling a kernel for my raspberry pi (on the pi). I checked necessary configuration and enabled DEBUG_INFO=y and REDUCED_DEBUG=n. But when I issue the command make I get the following error: ...
0
votes
1answer
270 views

Does the kernel support a BMP180 BMP85 digital pressure sensor out of the box?

The kernel generates a virtual file with the values for the famous temperature sensor DS 18B20. Is there a plug and play kernel support for the I2C digital pressure sensors BMP180 and BMP85 too? ...
2
votes
0answers
2k views

Best approach for real time operating system on Raspberry Pi

I need to use Raspberry Pi with a real time operating system. Of course, I want the best solution. I've searched some options, including custom kernel compilation, ready to install RTOS. So, which ...
0
votes
0answers
659 views

eGalax Touchscreen support, without kernel recompile, raspbian OS

I have been using a custom compiled raspbian OS, with eGalax touchscreen support. The problem is every time there's some upgrade or a major version change in the OS or firmware, I have to recompile ...
0
votes
0answers
51 views

panic by alternating modprobe / rmmod

I had problems with fswebcam, which I use in a script to take periodically snapshots with my small Logitech webcam. Googling around I found out that in case of error you could issue the two commands ...
1
vote
3answers
648 views

Disabling IRQ #32

Suddenly, out of the blue, I got this message: Message from syslogd@raspberrypi Kernel: [1277.201127] Disabling IRQ #32 and then my PI froze. What could be causing this and how would I fix it.
0
votes
1answer
2k views

Colored screen when booting raspbian from noobs

i have a raspberry pi model b with noobs and raspbian installed on the sd card. ive used it for quite a while but today when i boot the pi it just shows me a colored screen and i cant do anything. i ...
0
votes
1answer
158 views

Kernel module doesn't call probe function

I'm writing a kernel modul which should work on i2c. The problem is: the probe function doesn't load automatically. AFAIK, it should be called with a correct device driver name. Please correct me if ...
1
vote
2answers
206 views

How to get a specific kernel version for Raspberry Pi Linux?

I'm trying to find the source for version 3.12.20, but the current 3.12.y version on GitHub is 3.12.24. I understand I can just update my current version, but shouldn't downloading the source for my ...
0
votes
0answers
742 views

Cannot update or install DBus

I've been trying to connect A bluetooth dongle to a bt breakout board (kernel 3.12). Both of them show up with hcitool scan and dev. I've already installed bluez5 that keeps complaining about dbus: ...
0
votes
1answer
65 views

From python script to Kernel Module

So I have a python script that emulates an ESC_KEY on pin 17. #!/usr/bin/env python #Imports for Pins,input import RPi.GPIO as GPIO import uinput from time import sleep #Setup key_events=( ...