Questions tagged [kernel]

The kernel is the central component of the operating system and manages hardware, process scheduling, file systems, virtual memory paging, inter-process and network communication, etc.

Filter by
Sorted by
Tagged with
3
votes
1answer
6k 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 ...
3
votes
2answers
11k views

Where do I find the linux headers for an image?

I started with Raspbian 3.18.5 (Wheezy?) and did an rpi update and ended up with 4.1.10 (Jessie?). When I did a sudo apt-get install linux-headers the following packages were available: linux-...
3
votes
4answers
2k views

How can you get video display using the FLIR thermal camera

I am working the Lepton FLIR thermal camera and trying to get a video stream from it using the Raspberry Pi. When I hooked it up and used the already existing code I got a red box on a black screen. ...
2
votes
4answers
2k views

Which kernel source is required to compile for Raspberry Pi?

I am trying to compile and build a kernel image for Raspberry Pi. I build my customized cross compiler tool-chain for Raspberry Pi using Buildroot. Successfully I got all tools which I needed. I ...
2
votes
1answer
291 views

Disable USB 3 (use ehci instead of xhci) on Raspberry pi 4

I'm trying to disable USB3 entirely on my raspberry pi 4 running Ubuntu server but I can't find a way to do it. Some things that I've tried are: Blacklisting xhci - doesn't work because it's a ...
2
votes
1answer
481 views

spi stopped working after upgrade

I recently ran apt-get dist-upgrade on my Raspberry Pi B. Afterwards the spi-devices /dev/spi* were gone. This is the changelog of the upgrade: Package changes: +device-tree-compiler 1.4.1-1+rpi1 +...
2
votes
2answers
2k 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
3answers
10k 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 ...
1
vote
0answers
130 views

Error in configuration for I2S microphone

I follow these directions to set up the Raspberry Pi for an Adafruit I2S microphone. The line to compile the module fails with a missing script: $ make -C /lib/modules/$(uname -r )/build M=$(pwd) ...
1
vote
2answers
618 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 ...
1
vote
1answer
2k views

Raspberry Pi 2 i2c-dev kernel module not loading

I am currently facing the problem that the i2c-dev kernel module is not loaded despite the dtparam=i2c_arm=on being present in /boot/config.txt. Therefore I cannot i2detect fails on me as /dev/i2c-1 ...
1
vote
2answers
6k views

Continuesly monitor GPIO input change/events in Bash

On a Raspberry Pi you can set the GPIO pins as an output or an input. An output or an input can be either high or low. For example, to monitor the input state (high or low) of GPIO pin 26 you can ...
1
vote
3answers
1k views

errors during booting process

I just bought a Raspberry Pi 3 Model B with NOOBS microSD Card. I only connected the USB cable for power and the HDMI cable, it keeps rebooting with these errors, like it is stuck in a loop. /init: ...
1
vote
1answer
2k 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 work ...
1
vote
3answers
3k 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 ...
0
votes
2answers
2k views

Running x86 Windows app on a Raspberry Pi 3B

I followed this guide to install QEMU in a chroot and I'm able to execute x86 Linux binaries: https://stackoverflow.com/questions/51895452/qemu-debian-x86-on-raspberrypi Next, I tried installing WINE ...
0
votes
1answer
92 views

The following signatures couldn't be verified because the public key is not available / Resolving raspberrypi-kernel failed: Name or service not known

I would like to virtualize debian bullseye for raspberry on top of my jetson nano using qemu and kvm because it is necessary to install this repo : https://www.hackster.io/stanton/smart-snoring-...
0
votes
1answer
396 views

rpi-update seemed to have stopped spi and one wire

I had two programs, one using DS18b20 sensors and the One-Wire and the other using SPI. On another pi, I had a program using the camera which had an error(still not sure what the error was) fixed by ...
0
votes
1answer
269 views

Building kernel for raspberry pi 4 b on a host machine(ubuntu 18.04)

I am new to linux and I really need your help I am working on project for my end of studies internship : controlling sensors and displaying the result on an LCD screen for that I will use raspberry ...
0
votes
0answers
479 views

How to force compilation of kernel with rpi-source for I2S microphone

I followed these directions to configure the Raspberry Pi for the Adafruit I2S microphone. I skipped the step that installed git bc libncurses5-dev bison flex libssl-dev and got this error when ...
0
votes
3answers
1k views

Locking a C++ binary to the RPi serial number

I see that each RPi has a serial number that is accessible by reading /proc/cpuinfo. How secure is it for me to tie such serial number to my C++ binary when I want to lock that binary to a single RPi ...

1
2