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

learn more… | top users | synonyms

1
vote
0answers
30 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
59 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
45 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
63 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
249 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
39 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
84 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 ...
0
votes
0answers
98 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
154 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
918 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
154 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
90 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
118 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
308 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 ...
11
votes
1answer
4k 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
236 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
450 views

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

So I just finished building the raspbian kernel according to the instructions here. Prior to this I was running the latest build from raspberrypi.org, 3.6.11+ #358. I am pretty sure that the git repo ...
3
votes
1answer
802 views

Raspbian kernal module segmentation fault

My Pi currently runs 3.6.11+ #538, which may the source of my issues. I'm starting to write a kernel module using the following "Hello World" code: #include <linux/kernel.h> #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
311 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
251 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
265 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
598 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
647 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 ...
6
votes
2answers
2k 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
157 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
244 views

Kernel module assembly output

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
1k 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
909 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
1k 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
513 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 ...
4
votes
3answers
1k views

GPIO Interrupt debounce

Goodmorning everyone. I was followind this guide http://morethanuser.blogspot.it/2013/04/raspberry-pi-gpio-interrupts-in-kernel.html to create a kernel module handling gpio interrupt. The problem ...
0
votes
1answer
3k views

Need help troubleshooting kernel Out of memory: Kill process

I've set up a weekly backup cron job using tar and xz. Lately I'm getting the xz process killed by the kernel because of lack of memory. From /var/log/errors.log: Jun 30 03:52:09 pi kernel: ...
2
votes
1answer
1k views

NOOBS recovery password

I have installed a new kernel, but for some reason, it won't boot. I generated the kernel.img with imagetool-uncompressed.py, but now my Raspberry Pi fails to boot. I have made a backup of the old ...
0
votes
1answer
64 views

LFS on ARM with Blink

I am interested in creating a LFS (Linux From Scratch distro) on ARM with a HTML5 rendering layer, like how Mozilla's Firefox OS has. However, I want to use the new Blink rendering engine powering ...
3
votes
1answer
482 views

Raspberry PI freezing

I am working on a project to getting data from serial device and transmit it to web. I am using kernel 3.2.27 with busybox few start up scripts like sysfs and proc, wvdial daemon to dial USB modem for ...
3
votes
1answer
626 views

Unable to handel kernel null pointer dereferance

Okay, so this is one of various problems I'm having trying to get by RPI/ModelB working. Here are the steps I've followed and the errors I've run into. Installed Arch on 4GB SD card following this ...
1
vote
0answers
298 views

No image file after make (3.6 kernel compiling)

Overview: I wanted to compile 3.6.11+ linux kernel for my raspberry, after the make command, there were no image files in arch/arm/boot. What I've done: 1 Download the linux code from ...
1
vote
2answers
2k views

top/htop not showing CPU usage of kernel processes

I'm trying to improve FPS from a USB webcam. Supposedly I should be able to use htop to show where the bottleneck is, since top won't show kernel processes such as time spent waiting for disk access. ...
2
votes
0answers
245 views

How can I read and write data to a Character Device File in Linux with PHP?

I'm trying to read and write to modules on the I2C bus on a Raspberry Pi using PHP. I'm using fopen() and fskeek(). Below is the code I've been trying to use to read data coming in from the physical ...
1
vote
1answer
636 views

How do I install webcam firmware on the Raspberry Pi?

I want my Raspberry PI to be able to use this cheap webcam I bought from China. Identified as 17a1:0128 TASCORP After quite a bit of searching I found a post from someone who had got it to ...
2
votes
2answers
1k views

Raspbian source code

I´m using Raspbian on RaspBerry Pi and it´s working ok, but now I want to modify the distro according to my needs. I know the source for the kernel is found in kernel.org, but I haven't been able to ...
2
votes
1answer
297 views

Schedule periodical processes

I have a project that I´ll be using RaspBerry Pi to make a controller for process control. To do that I need to schedule processes periodically. Does anyone know how I could do that? So I have to ...
2
votes
2answers
125 views

Install Linux Kernel

How can I compile a basic linux kernel on Rpi, or is it possible in a any way? I want a very basic linux with nothing on it but just Linux. Let me know if there are any alternatives or suggestions.
0
votes
1answer
497 views

Raspbian missing modules in lsmod output

when I type lsmod I get the output below. But I am missing all the other but the sound modules. Why are no other modules shown? I am using the latest Raspbian release (12/16/12) root@raspberrypi:~# ...
1
vote
2answers
5k views

Kernel panic, unable to mount root fs on unknown-block after restart

My Raspberry Pi has been hosting a small site from home for a few days, and everything was working fine. It's completely headless, so I use SSH for everything. This morning however when I woke up, I ...
3
votes
1answer
750 views

Bare Metal Assembly/C(++) Programming

I'm trying to make a small os on my Raspberry Pi. I have good assembly and strong c/c++ knowledges but I need some help. For my first experiments I worked with Qemu and it's serial output but now I ...
10
votes
2answers
20k views

How do I upgrade Raspbian?

I have my RPi setup how I want, but I have an older version than what is currently available (2012-10-28-wheezy-raspbian.zip). How do I upgrade the kernel, firmware, etc? I have upgraded some this ...
4
votes
0answers
3k views

how to mount LCD/TFT screen on raspberry pi

Possible Duplicate Raspberry pi has an on-board DSI connector, If I buy an LCD or TFT or touch screen which has the DSI connector, could I mount it on the RPI? Does it require any additional firmware ...