Jump to content

Recommended Posts

Posted (edited)

Hi everyone!

 

I have compiled a boot image for MangoPi Pro D1 from the source code at the link

https://github.com/chainsx/armbian-riscv-build

 

these sources, as I understand it, are based on:
https://github.com/150balbes/build

 

The image is working, but I can't install Kernel Headers

 

Console displays me the following message:

max@nezha:~$ sudo apt install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.19.17-d1
E: Couldn't find any package by glob 'linux-headers-5.19.17-d1'

 

Which way should we move and dig to resolve the issue?

 

cat /proc/version

Linux version 5.19.17-d1 (root@jammy-vm) (riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #riscv Sun Jan 14 14:33:15 +04 2024

 

Edited by nagaudio
Posted

if you have compiled the images yourself, its possible that you will be having the headers package in the output/debs/ directory. You should be able to install them using the deb file from there.

Posted

Interesting that no header package is generated. However we cannot debug this issue since you are using a 3rd party fork of Armbian.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines