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.
505 questions
0
votes
1
answer
53
views
How to write boot command in uboot for my FIT image to boot in /dev/ram
I have been struggling with my uboot script to boot a fitImage with a particular partion table. I want to boot my fitImage on /dev/ram from uboot, but there is a compression error I don't understand. ...
0
votes
0
answers
45
views
Why is "iw dev wlan1 scan" not as fast as on smartphone with the same driver same adapter?
I want to make a continuous scanning tool. Based on the command: sudo iw dev wlan1 scan I use the flush parameter because I am try to log the GPS data too and need fresh rssi data with every scan.
...
0
votes
1
answer
129
views
kernel crash when connecting to raspberry pi wifi
I am attempting to set up a raspberry pi so that it will provide dynamic dhcp on the second ethernet port and over wifi. When I attempt to connect to the wifi network on my iPhone to test it, it works....
0
votes
1
answer
103
views
Kernel Panic when using USB device for OS
I am trying to run Raspberry Pi OS bookworm on my Raspberry Pi 4 B 8GB from a Kingston DataTraveler Exodia 128GB (DTX/128GB) and it was working perfectly till I tried to use apt-get full-upgrade which ...
0
votes
0
answers
80
views
RPi4 HDMI power supply to screen
I've built over a dozen projects with Raspberry Pi (lately the Pi4) along with this exact 5" HDMI screen:
https://www.amazon.com/dp/B01L6O2NEE
aka
https://www.ebay.com/itm/225080949248
I have ...
0
votes
0
answers
65
views
Adaption of I²S input driver
For a project I'm working on, I'm looking into hooking up 4 daisy chained TDM microphones to a Raspberry Pi I²S bus. The problem I'm running in to is that the standard I²S protocol doesn't really ...
3
votes
0
answers
67
views
How to add a custom system call in Raspberry Pi 5 Linux kernel?
I want to add a custom system call to the Linux kernel on my Raspberry Pi 5.
I have done the following steps:
Downloaded the Raspberry Pi kernel source
git clone --depth=1 https://github.com/...
0
votes
0
answers
794
views
Raspberry Pi 5 blocking or lossing Wifi connection
I have a Raspberry Pi 5 8GB connected to internet only through WiFi and placed very closed to the router in my house. It runs Debian 12 64bit, ARM architecture. It's not easy to connect through a real ...
-1
votes
1
answer
76
views
MCP23017 overlay error -EIO: can't write IOCON 32
I’m trying to set up an MCP23017 GPIO expander on my Raspberry Pi running latest raspbian, but I’ve run into an issue. Here’s what I’ve done:
I updated the /boot/firmware/config.txt file as follows:
...
0
votes
2
answers
453
views
Only 1 PWM pin working when controlling via sysfs
I’m using sysfs to control my rpi5’s pwm andI’m having an issue where only one of my pwm pins is outputting a value (The pin that is working is gpio 18/physical pin 12/pwm2). In the pinout.xyz page, ...
1
vote
2
answers
2k
views
Setting internal pull ups from the command line
I’m learning how to control the gpio via the Linux kernel and have been working with inputs (specifically switches.) Recently I've been exploring pull up resistors. I’m wondering how I can initiate ...
1
vote
1
answer
2k
views
Gpio chips via the linux kernel
I recently used the Linux kernel to control the gpio pins of my raspberry pi 5. In doing so, I noticed that I didn’t need to specify the specific gpio chip that I wanted to initiate. Due to the new ...
-2
votes
1
answer
92
views
Problem trying to build 32bit kernel with Pi OS Lite 32 on Pi4B hardware
I'm experimental to make some modification that request to rebuild the kernel, and I'm using Pi4B with Pi OS Lite 32bit. After get the kernel source (https://github.com/raspberrypi/linux/releases/tag/...
1
vote
2
answers
65
views
Document history?
I'm new here, and looking for where can I find some older version of the official document on raspberrypi.com, or where to get the document history?
Specifically, for this document, at around May of ...
-1
votes
1
answer
59
views
#include files for https://www.kernel.org/doc/html/v4.14/driver-api/spi.html Pi5 C/C++ development
Referring to https://www.kernel.org/doc/html/v4.14/driver-api/spi.html
Writing code to use the SPI API's on a Pi5(RP1). The spec shows the basic Structs for each SPI API. Those structs contain ...