Comments (9)
Did you install the linux headers:
sudo apt install linux-headers-`uname -r`
Regards,
from linux.
Hi,
Ofcourse.
I installed my new build:
linux-image-5.4.106_5.4.106-1_armhf.deb
linux-headers-5.4.106_5.4.106-1_armhf.deb
linux-libc-dev_5.4.106-1_armhf.deb
from linux.
linux-image-5.4.106_5.4.106-1_armhf.deb
linux-headers-5.4.106_5.4.106-1_armhf.deb
linux-libc-dev_5.4.106-1_armhf.deb
Those aren't mine.. Did you build nativity or cross built the *.deb files?
Regards,
from linux.
Did you build nativity or cross built the *.deb files?
This is my natively build of the newest RT kernel.
Linux beaglebone 5.4.106 #1 SMP PREEMPT_RT Sat Sep 18 22:16:51 CEST 2021 armv7l GNU/Linux
I took about 20h on my BBB
from linux.
I've build kernel on my BBB many times before (last time 9 months ago) and had no trouble building the external module afterwards. For example:
git clone -b 5.4-rt --depth 1 https://github.com/beagleboard/linux
cd linux
sudo make bindeb-pkg
It looks like some headers files are missing now in linux-headers-5.4.xxxxxx_armhf.deb.
Regards,
Bern
from linux.
Was there any progress regarding this problem?
I use the BBG and came from kernel 4.19 and updated to 5.4 but my kernel module is now failing with the same error as mentioned above:
make[3]: *** No rule to make target 'arch/arm/kernel/module.lds'
I used the kernel_update.sh from https://github.com/RobertCNelson/boot-scripts and installed headers afterwards, as well as "apt dist-upgrade".
Current uname: linux-kernel-5.4.106-ti-r40 and -r39
small addition:
- testing with kernels between 5.4.52-ti-r17 and 5.4.106-ti-r36 showed another error earlier in the build process of the kernel module
CC [M] /opt/shepherd/software/kernel-module/src/pru_comm.o /tmp/ccp9lSUA.s: Assembler messages: /tmp/ccp9lSUA.s:43: Error: selected processor does not support "dsb st" in ARM mode /tmp/ccp9lSUA.s:231: Error: selected processor does not support "dsb " in ARM mode
- testing with kernels up to 5.4.182-bone64 (newest) showed the error mentioned above.
from linux.
i'm facing similar issue with 5.x kernel
i have take a look of many linux-headers-5.*_1buster_armhf.deb and all looks to be incomplete, Kconfig and many dirs are missing:
.# ls -1 /usr/src/linux-headers-5.10.131-ti-r49
Makefile
Module.symvers
arch
include
scripts
4.19 kernel looks good
from linux.
this is a change in 5.10.x that messed all this up..
https://www.kernel.org/doc/Documentation/kbuild/modules.txt
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906131
change KDIR..
Regards,
from linux.
odd because the same issue is in your kernel 5.4.x
maybe it is a different issue (I can open a new bug if u prefer), but definitely your 5.4.x and 5.10.x kernel headers are incomplete
.#ls usr/src/linux-headers-5.4.106-ti-r41
Makefile Module.symvers arch include scripts
.#ls usr/src/linux-headers-5.10.131-ti-r49
Makefile Module.symvers arch include scripts
. # ls /usr/src/linux-headers-4.19.94-ti-r73/
Documentation Makefile arch certs drivers fs init kernel mm samples security tools virt
Kconfig Module.symvers block crypto firmware include ipc lib net scripts sound usr
.#ls /usr/src/linux-headers-5.15.48-sunxi64
arch certs Documentation fs init Kconfig lib mm net scripts sound usr
block crypto drivers include ipc kernel Makefile Module.symvers samples security tools virt
last one come from another system, but just to show about things are not changed in newer kernel (been using the same wifi driver on both system)
Kind Regards,
Giulio
from linux.
Related Issues (20)
- Using kernel 4.14 and buildroot for building the rootfs, how can I use the sgx530 graphics accelerator? HOT 4
- 5.4: Unable to create debian packages with make deb-pkg HOT 2
- No such pinmux file HOT 6
- Unexpected behavior on SPI Device on kernel 4.19
- TCPM separate power supply driver and cc manager
- Error. Unable to build 5.4-rt kernel for BBB on BBB HOT 2
- Custom audio cape
- ttyACM device is created very late HOT 2
- How to do make config without bb.org_defconfig HOT 2
- Error while building uImage HOT 15
- PREEMPTive Image HOT 1
- linux failed to start on checkout 4.14.67-ti-r73 version
- [Udemy] (random git checkout) doesn't boot on Beaglebone black rev.C HOT 6
- linux-5.10.162-ti-r56: make oldconfig fails HOT 1
- Hi
- BeaglePlay - Poky (kirkstone) - eth0 does not come up - mdio error -22 during boot-up HOT 1
- Where is the documentation to put the new kernel on the beaglebone black HOT 1
- I can't get the servo outputs to work on a beaglebone blue with 5.10.168-r75 HOT 1
- Enabling CONFIG_USB_TI_CPPI41_DMA and disabling CONFIG_MUSB_PIO_ONLY. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux.