4,626 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-4
votes
0
answers
50
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 ...
0
votes
0
answers
68
views
U-boot loading kernel from FIT fail
I using u-boot v2017.09 for rk3566, i want to load kernel from FIT(kernel, dtb, ramdisk).
I hardcoded bootargs(boot_get_cmdline) in u-boot:
int boot_get_cmdline(struct lmb *lmb, ulong *cmd_start, ...
1
vote
0
answers
99
views
XNNPACK on raspberry pi5
How can I enable XNNPACK on a Raspberry Pi 5 for an INT8 TensorFlow Lite model?
I have a quantized INT8 TensorFlow Lite model that I want to run efficiently on my Raspberry Pi 5.
I’ve read that ...
0
votes
0
answers
149
views
Is I2C device interface thread-safe on Linux?
I have a single board computer with a I2C GPIO expander device, listed as /dev/i2c-0. In my multithreaded program I open() this character device and read/write to it on separate threads using ...
0
votes
1
answer
138
views
Embedded Linux Uart to be used as RS485
I have been working on multiple projects of Embedded Linux from last 5 years but there is a small problem when I use UART.
I am using STM32MP13F with MYIR board. The UART is connected to half duplex ...
1
vote
1
answer
83
views
Forced to deal with underscores in name
I'm trying to create a Bitbake recipe which imports the Clickhouse python library. I'm following the example set in this post. I have a unique problem in that the name of the recipe is very sensitive ...
1
vote
0
answers
117
views
Stable path to i2c device
I have a device driver that provides quite simple functionality that does not belong to any of the classes. The driver exposes one attribute through sysfs.
Currently I can get an access to my device ...
-2
votes
1
answer
201
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", },
{},
};
...
1
vote
1
answer
67
views
Why must sched_class structures be tightly aligned in memory in the Linux kernel?
Each scheduling policy (like SCHED_NORMAL, SCHED_FIFO etc..) is implemented as a struct sched_class, and instances like fair_sched_class, rt_sched_class, dl_sched_class, etc., are defined using the ...
0
votes
0
answers
78
views
Add a /etc/sysctl.d/50-foo.conf to a kernel image build
I'm building a kernel image, with my own kernel module being added to the build, using my own Makefile and Kbuild scripts. The final complete kernel image gets flashed to a ROM. I have a few kernel ...
0
votes
0
answers
112
views
How to configure a GPIO button with interrupt in the Device Tree on BeagleBone Black?
I'm developing a Linux kernel driver for the BeagleBone Black and want to use two GPIOs available on the P9 expansion header:
P9.15 → gpio1_16 → connected to an LED
P9.23 → gpio1_17 → connected to a ...
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
58
views
Xilinx Zynq 7000 pin number under Linux
If I'm working for example with the Xilinx ZU2CG SoC, and a pin named as an "AC3" (xczu2cgsfvc784 pinout) is interesting for me, where can I find what is the gpio number under Linux for that ...
0
votes
0
answers
67
views
crashkernel doesn't load for raspberry pi 3B arm64 linux kernel
I have built 6.6.x linux kernel : https://github.com/raspberrypi/linux/tree/rpi-6.6.y for RPi3B+ (arm64 target). The rootfs came from buildroot-2025.05-arm64. I am running it on RPi3B+ and following ...
0
votes
0
answers
430
views
Adding device tree overlay in yocto for raspberry pi
I am trying to add a device tree overlay file in yocto for the raspberry pi. I have read this answer however there are still some things I am not understanding.
I have created a workspace using dev-...