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

learn more… | top users | synonyms

0
votes
1answer
16 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 ...
0
votes
0answers
20 views

How to get a specific Kernel version for rpi-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 downloading the source for my current ...
0
votes
0answers
45 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: ...
-1
votes
0answers
30 views

How do i disable l2 cache for (virtual address)pages (mmap)

I am currently trying to map a kmalloced memory(Page size) mmaped userspace(remap_pfn_range) and accessing it from userspace and kernel space. As the kernel driver uses virtual address visible from ...
0
votes
1answer
27 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=( ...
0
votes
1answer
24 views

How to get kernel source corresponding with the kernel installed by rpi-update

After an upgrade using rpi-update the kernel could be upgraded. The script download the kernel from an other gihub repository rpi-firmware. Till now, in order to get the kernel source, I download ...
1
vote
1answer
38 views

Raspberry Pi freezes during boot

I can't get past the attached picture. Nothing happens anymore. The red light is always on. I don't have anything plugged in the USB. It just stays there, and the cursors continues blinking. Also, at ...
0
votes
0answers
39 views

USB camera originally designed for PC hardware and kernel 2.x

I wonder if this is off-topic. Basically, I want to get some idea before spending expensive money on international mail order. The question is really getting comment on how compatible is Linux on ...
0
votes
0answers
75 views

How to ILI9341 SPI TFT display make work

I bought this display: There it is. After installing drivers for it( drivers are here ), display works, but only quarter of screen works and whole screen is flickernig. My kernel isLinux NETRUNNERHUB ...
0
votes
2answers
61 views

Trouble with rpi-source (hello world kernel module)

the first time I ran rpi-source (https://github.com/notro/rpi-source/wiki) I had no trouble at all getting the hello world kernel module to run. I deleted the kernel headers, and when I now run ...
1
vote
0answers
36 views

What's the difference between Rpi kernel source and Rpi distro kernels?

I need a specific kernel module (driver for a USB grabber), which is included in kernel 3.12. So, I went for Pidora, which features kernel 3.12 but was surprised, that the module wasn't included in ...
1
vote
1answer
68 views

Why I can't update kernel version?

I have perform the following command into ssh shell: sudo apt-get upgrade sudo apt-get update sudo reboot But I still have an old kernel version, infact: pi@raspberrypi ~ $ uname -a Linux ...
0
votes
0answers
17 views

Why we added lib and firware to Linux kernel

I am new to raspberry pi. I was building the Linux kernel for raspberry pi . I followed the link : https://wiki.aalto.fi/download/attachments/84751497/compiling_kernel_final.pdf?version=3 In this ...
0
votes
0answers
280 views

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

I unplugged my RPi (RPi#1) and moved it to another power outlet, and plugged it back in. RPi#1 is the brains of my distributed setup, containing the database and biggest SD card. All of the data my ...
2
votes
1answer
90 views

download kernel source code : error : Not enough diskspace (900MB) on /root

I need to download the source code of my current kernel with rpi-source command I receive an error Not enough diskspace (900MB) on /root I have an 8GB SD card. ubuntu shows me two partitions one ...
0
votes
1answer
67 views

restore kernel version

I have the Raspbian 3.12.X , and I want to compile modules, so I installed a distribution with kernel headers sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv Then, I tell raspbian ...
1
vote
2answers
45 views

Raspbian kernel source compilation configuration

I try to compile Raspbian, [ http://hermess.no-ip.org/rpi/index.php ] when I Prime kernel with the old config: make ARCH=arm CROSS_COMPILE=${CCPREFIX} oldconfig I get a lot lot of dialog messages, so ...
2
votes
3answers
379 views

DHT11 module compilation error

I try to compile the source code of DHT11 module given in [https://www.endian.se/content/?p=127] . I have followed the step of KERNEL compilation in ...
1
vote
0answers
111 views

After building my own kernel I cannot load any module

Story of my life I built my kernel according to: http://elinux.org/RPi_Kernel_Compilation. I was able to boot my 3.14 kernel image. However when I want to insert rt2800usb I get the errors listed ...
0
votes
1answer
330 views

How to change the kernel commandline for ArchLinuxARM on Raspberry Pi effectly?

I'm using the raspberry pi with the latest ArchLinuxARM image. I'm having issues with the linux kernel and it randomly panics with 'kernel paging request' errors. I've found a solution to enable ...
1
vote
1answer
59 views

“Bind” linux kernel to a specific cpu?

I'd like to build a linux kernel that's specific to a given Raspberry, ie. one that won't boot on any other Raspberries. My idea is to bind the kernel to the cpu's serial number bit I haven't found ...
2
votes
1answer
117 views

Redirecting stdout and stderr to UART

I am building my own cross-linux-from-scratch (CLFS) system for Raspberry Pi. I already build whole system, I prepared SD card and now I try to boot. I am redirecting all kernel output to serial ...
0
votes
0answers
313 views

Installing kernel 3.10.24 headers on raspbmc

I'm trying to build drivers for my wifi dongle (a LogiLink WL0084B), but for that I need to download kernel headers for my current kernel (3.10.24). I'm using raspbmc. Sadly I cannot find where to ...
0
votes
0answers
61 views

how to create a boot parition in SDcard for a custom kernel image?

I have a problem in creating a bootable disk parition (SD card) for raspberry pi. I have a raw binary executable image on a mini os kernel called 'xinu'. I know this kernel is working because i have ...
2
votes
0answers
104 views

Issues getting specific Raspberry Kernel Sources from Github

I have a Issue getting the Kernel Sources for the Raspberry from Github. To be clear, I have no Problem in getting them as such, but for a specific Kernel Version of the 3.10.y-Branch, lets say ...
1
vote
1answer
144 views

Updating kernel/firmware to specific version

I've updated my rPi to the latest kernel/firmware using rpi-update and my Bluetooth dongle stopped working. I found this to be a known bug in 3.10.* branch of the kernel. Through tinkering and ...
2
votes
1answer
323 views

Raspbian - Real Time Kernel does not boot

I am trying to make a Raspbian kernel to support real time. To do that I cloned the latest kernel from raspbian github repository and applied the Real Time patch for 3.10.25-rt23 ...
0
votes
2answers
2k views

How to build custom OS for Raspberry pi from scratch?

I am new to kernel and embedded Linux. I have recently bought a raspberry pi and booted it using the Raspbian. I was fascinated by the pi, to learn more on Embedded i have decided to make an home ...
0
votes
1answer
188 views

Raspbian Kernel panic after RTC module .ko - How to unload modules at boot time?

I am playing with the RasClock RTC module. After baking my own rtc-pcf2127a.ko, and following the tutorial from the website, I got a kernel panic when booting (Null pointer etc.) Could not find any ...
0
votes
1answer
142 views

buildroot and rpi-firmware

I am able to bring up a minimal kernel using raspberrypi_defconfig in buildroot. I noticed that there are some .ko files in the rpi-firmware package downloaded from git. How can I include those into ...
0
votes
2answers
227 views

Raspberry Pi kernel configuration for USB mouse and keyboard

I've been trying cross compile kernel using this guide. http://elinux.org/Rpi_kernel_compilation#2._Cross_compiling_from_Linux. However, all my kernel doesn't support USB mouse and keyboard. In the ...
4
votes
1answer
350 views

Respberry Pi fails to boot with custom kernel

I'm trying to cross compile my kernel with touchscreen enabled, however my Respberry Pi fails to boot with the custom kernel. I was trying to compile the kernel on my ubuntu 10.4 (x64) with different ...
15
votes
1answer
6k views

How does Raspberry Pi boot?

I have a raspberry mini computer and I am wondering how that thing does whole the boot process. I can compile my own kernel and init ramdisk with my own scripts and build my own minimal linux system ...
1
vote
2answers
293 views

How to use the DS2482 kernel module

I want to use the ds2482 kernel module/driver but I'm struggling to find an example to start with. I've googled many searches but I swamped with git trees and source trees. I've loaded it OK and it ...
2
votes
1answer
675 views

How to tell if I am running the latest version of the Raspbian kernel?

I just finished building the Raspbian kernel according to the instructions in Raspberry Pi Kernel Compilation Guide. Prior to this I was running the latest build from raspberrypi.org, 3.6.11+ #358. I ...
3
votes
1answer
927 views

Raspbian kernel module segmentation fault

My Raspberry Pi currently runs 3.6.11+ #538 (obtained from uname -a), which may be the source of my issues. I'm starting to write a kernel module using the following "Hello World" code: #include ...
1
vote
4answers
2k views

Getting files from dropbox

I am downloading files from dropbox to my raspberry pi. Now my first problem is, I have no idea how to download dropbox for my raspberry, On Ubuntu it's easy but on my raspberry it wont work. So I am ...
2
votes
2answers
369 views

Problems compiling kernel in RPI

Im trying to compile the kernel from source on the rpi, so i fetched it from git@github.com:raspberrypi/linux.git and i'm using the stable branch (rpi-3.6.y). I did the following: 1) git clone ...
0
votes
1answer
298 views

RaspberryPi program takes 100% cpu [closed]

Why my program takes 100 % CPU even if its a helloworld program. Is it normal behavior?. Can anyone tell me the reason for this?. I am using debian wheezy. Here is the screen shot of process.. ...
2
votes
1answer
297 views

Building Linux Kernel for Driver Creation

I am attempting to compile the kernel for the RPI using Raspbian. These are the steps I took... (1) Imaged the SD card from http://www.raspberrypi.org/downloads (2) Downloaded the kernel from and ...
0
votes
1answer
853 views

Need to modify kernel module loading

I have a Rosewill RNX-N180UBE (with Realtek RTL8191SU chipset) that I want to work with Raspbian Wheezy (Raspberry Pi). Right now "lsmod" shows that the wifi driver being loaded is "r8712u", and ...
3
votes
2answers
810 views

How to make Raspberry Pi suspend to RAM?

My application only uses Pi very occassionally and only a few seconds each time. It would be ideal if Pi supports suspend to RAM feature to save maximum energy. (I am thinking of the next step of ...
7
votes
2answers
3k views

Learning Linux driver development with Raspberry Pi

I'd like to write a Linux device driver for some real hardware device. What Raspberry Pi peripherals are a good fit? Basically I need the following: 1) It must be small enough for a beginner (few ...
0
votes
2answers
170 views

Software PWM as kernelspace module?

Has anyone tried doing a software PWM on the GPIO pins via a custom written module in kernel space? Wouldn't want to reinvent the wheel, so if there where tries, please forward me to them. Will ...
2
votes
1answer
2k views

Default kernel preemption vs real time patch?

Is the default Rasbian shiped with the real time patch? I'm using the .config of the default rasbian instalation as a base for a custom kernel compilation. In the section: >Kernel Features ...
0
votes
2answers
290 views

Kernel module assembly output (Solved)

I compiled the kernel modules written in C directly on my Raspberry Pi using this Makefile: obj-m := HelloWorld.o all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
0
votes
1answer
2k views

Raspberry Pi Cross-Compilation Failure (arm-linux-gnueabi-gccgcc)

I am cross compiling a Linux kernel for my Raspberry Pi from an AMD64 Ubuntu 13.04 system. I found this page to be of help (How do I cross-compile the Kernel on a Ubuntu host?), but I still get errors ...
3
votes
1answer
1k views

GPIO in kernel module: alternative to gpio_set_value

Goodmorning, i've found out that in a kernel module gpio_set_value and gpio_get_value are very slow (60 useconds). According to this site, ...
2
votes
1answer
2k views

Interrupts on the Raspberry Pi

What are the sources of interrupts on the Raspberry Pi. I currently have the model B, rev. 2.0. Example itop output: INT NAME RATE MAX 3 [ 8 Timer Tick] ...
4
votes
2answers
624 views

Arm timer in kernel module with precision less than microsecond

Good evening, i'm asking your help, to understand how to use a timer in kernel module to achieve periodic task with period less than a microsecond. I was searching on the web and i've found that ...