5,137 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
26
views
Enforce probe order for device tree overlay fragments
I am building a dto for a display using an Ilitek 9806e controller and a Goodix Gt911 touch controller.
These two components share a single reset line, so this reset line should only be asserted once ...
-4
votes
0
answers
98
views
Custom board based on i.MX soc: custom driver module crashes after Linux update
Introduction: I'm using a custom board based on an i.MX6q SoC that communicates with an FPGA on the EIM bus: this communication is managed via custom driver module. The DTACK signal and memory WDOG ...
1
vote
2
answers
140
views
How to enable I2C GPIO fault Injector in Linux kernel
I am attempting to introduce bus errors on the I2C bus using the i2c-gpio fault injector already available under drivers/i2c/busses/. For my target platform (AST2600), I’ve enabled the following ...
2
votes
0
answers
52
views
What is the use of startct blk_mq_tag_set.reserved_tags inthe linux nvme driver?
I am customizing the Linux nvme driver ioctl(NVME_IOCTL_SUBMIT_IO) to take QID from user and submit the IO command to that particular QID. I am using ubuntu 22(Kernel 6.5).
I modified ...
0
votes
0
answers
72
views
How to select particular queue for sending IO from Userspace in linux nvme driver
I am customizing the linux nvme driver to take QID and submit the IO command to that particular QID in the ioctl command NVME_IOCTL_SUBMIT_IO. I am using Kernel6.5(ubuntu 22).
The call is like this:
...
-2
votes
1
answer
208
views
Lack of alias in kernel module .ko file built with Yocto [closed]
I am trying to build a driver for my IP in an FPGA. I have:
static const struct of_device_id myip_of_match[] = {
{ .compatible = "xlnx,myip-controller-1.022", },
{},
};
...
0
votes
0
answers
40
views
gpio phandle remains unresolved when device overlay is applied
Objective:
To run ltr390 industrial device driver on raspberrypi
Hardware Setup:
Raspberrypi 4B
ltr390 sensor breakout board.
Following are the connections done.
rpi
ltr390
PIN7
INT
PIN1
3.3V
PIN3
...
1
vote
0
answers
143
views
Add timestamp support to PCF85363 RTC
I'm working with a custom board that integrates the NXP PCF85263 RTC. This RTC supports timestamp functionalities (e.g., tamper detection and battery switch-over events), but unfortunately, the RTC ...
0
votes
0
answers
72
views
does ioremap work on ARM? Unhandled fault: imprecise external abort (0x1406)
When testing linux kernel 5.10 on Zynq-7010 FPGA with multiple sequential interrupts I get Unhandled fault: imprecise external abort (0x1406) from the interrupt handler an example of the failure (from ...
0
votes
0
answers
183
views
Get GPIO active high/low setting in Linux kernel v6.6
My DT describes GPIO as following:
my-gpio = <&gpio4 20 0>;
In Linux kernel v5.10 I use
gpionum = of_get_named_gpio(np, "my-gpio", 0);
of_get_named_gpio_flags(np, "my-gpio&...
0
votes
1
answer
141
views
Where does exactly eeprom file get created in Linux at24 driver
I have the following overlay inserted to Kernel:
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2c_arm>;
__overlay__ {
mem@50 {
compatible = ...
2
votes
0
answers
93
views
Invalid write at 0xFEE01004 region ‘null’ [duplicate]
When I call msix_notify, I get this error
"Invalid write at 0xFEE01004 region ‘null’"
in the log. I am using msix_initx_exclusive.bar initialization, and in qemu monitor, I can also see ...
1
vote
0
answers
145
views
kzalloc(32, GFP_KERNEL) failed, but kzalloc(64, GFP_KERNEL) success,
I'm new to Linux kernel development and need help understanding a memory allocation issue. I defined a structure in my driver like this:
typedef struct MyStruct {
int a;
int b;
int c;
...
0
votes
0
answers
128
views
mcp23008 i2c GPIO expander interrupts vs libgpiod v2.1
I have an application running on an NVIDIA Jetson Xavier NX (so, arm64) with a need to interface with a GPIO located on an i2c-connected expander (an MCP23008). I'm also using libgpiod v2.1, for what ...
0
votes
0
answers
128
views
Can't open mmc as block device when driver is on built-in
I have a module who open mmc blockdevice, inspired of block2mtd.c driver on linux 5.1.
It works successfully when my driver is as module and "modprobe" after kernel started.
But it fail when ...