Trying to create .img for my raspberry pi 4 with Image and vmlinux
I am new to linux and I really need your helpI am working on project for my end of studies internship : controlling sensors and displaying the result on an LCD screenfor that I will use raspberry and...
View ArticleNeed help in modifying Raspberry Pi DTS file for MPU6050
After almost 6 years, I am starting to work on writing Linux device drivers again. My knowledge about the Linux Device Tree is a bit rusty now. After seeing a lot tutorials, I am trying modify the...
View ArticleStrange Makefile, need explanations
I'm trying to compile a kernel but can't figure out how its Makefile work : https://github.com/LineageOS/android_kernel_sony_msm8994/blob/cm-14.1/scripts/Makefile.buildAs I have this error when...
View ArticleIs it possible to use crash to modify kernel memory in Linux?
I am trying to use crash utility to modify a kernel memory from 2 to 0, but I hit an error like this,`crash> rd ffffffffc0704310ffffffffc0704310: 0000000000000002 ........crash>crash> wr -k...
View ArticleHow to install csi tool on Galileo Gen2 board
I have been working on Galileo Gen2 for installing CSI tool for several weeks.I followed this link Linux 802.11n CSI Tool — Installation Instructions to install it.I tried to install it on both debian...
View ArticleIn linux kernel source, why is there only one defconfig file for arch/arm64?...
In linux kernel 5.4.21, there are many xxx_defconfig files under arch/arm/configs.But under arch/arm64/configs, there is only one file named "defconfig". Why is it so?
View Articlehotplug vga(drm radeon) turns disconnected to connected, but is still...
Here is my graphic card:03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] Subsystem: XFX Pine Group Inc. Caicos [Radeon HD...
View Articlermmod for my platform driver causes kernel panic?
I have written a simple gpio sysfs driver. However, my driver is crashing when I do rmmod. I don't know what am I missing. I am suspecting that my probe() function is causing this issue. I am using...
View ArticleHow to create a costom Linux disp and kernel that boots in 3 sec?
Basicaly i need a linux that can boot and bring command line in 3-5 sec.I only need a file system and a python in the OS. Other services, modules, GUI are not necessary.Is there any way to compile a...
View ArticleIs sending real-time signal from kernel with SI_QUEUE is required for sending...
Short questionAccording to signal(7)If the signal is sent using sigqueue(2), an accompanying value(either an integer or a pointer) can be sent with the signal.The struct siginfo has a field si_int for...
View ArticleShared semaphore between user and kernel spaces
Short versionIs it possible to share a semaphore (or any other synchronization lock) between user space and kernel space? Named POSIX semaphores have kernel persistence, that's why I was wondering if...
View ArticleAndroid: How to log the core allocation details for every thread spawned by a...
Is there any way to log the core allocation details for every thread in a specific process?e.g let there be a process P which spwans threads th1,th2 and th3The Android governor will schedule each...
View ArticleGetting the error while trying to build rpm from iomemory source code
I am trying to build RPM from the latest iomemory-vsl source package. But getting the error.Kernel version:- 4.12.14-122.51-defaultiomemory driver:- ibm_dd_highiop_ssd_3.2.14_sles12_x86_64.zipEven when...
View ArticleHugePages on Rp 4
I need help about managing Hugepages on raspberry pi 4 running raspberry pi OS 64 bit.I did not find much reliable information online.First i recompiled the kernel source enabling Memory Management...
View ArticleAVNET Microzed cannot control the user LED - gpio?
I am trying to control the user LED using gpio. However, I am unable to do so. Here is the document I followed...
View ArticleWhat is the best way to toggle gpios to indicate the kernel boot progress?
I have an small embedded system board (much like a RasPi) running a Yocto Linux distro (from a third party vendor, not the open-embbeded original repo). On that electronic board there are a bunch of...
View ArticleHow to configure MIO47 as GPIO using pinmux in AVNET ZYNQ7000?
How to configure MIO47 as GPIO using pinmux in AVNET ZYNQ7000?I have written a simple gpio sysfs based driver to control certain pins.I understand that MIO47 is used for controlling the user LED based...
View ArticleBuilding a driver to be integrated into a linux kernel - having trouble...
I am fairly new when it comes to using makefiles and dealing with linux kernel, but the idea is the linux image that's currently running on a hardware has a missing driver (doesn't even show on lsmod)...
View ArticleCan I pragmatically create multiple heaps and set its size for a process in...
Can I pragmatically create multiple heaps and set its size for a process in Linux? I have a need to highly optimize the performance of the back end service/application. With multiple heap, I am hoping...
View ArticleHugePages on Raspberry Pi 4
I need help about managing Hugepages on raspberry pi 4 running raspberry pi OS 64 bit.I did not find much reliable information online.First I recompiled the kernel source enabling Memory Management...
View Article