How do I get linux-headers for the 5.10.66 kernel?

Type: Self-Compiled Firmware
SDK Package Name: rk3588_linux_release_20231027_v1.1.1e
Modification Content: ??
Log: log.zip

Hi everyone. I want linux-headers for my Firefly device.

I downloaded the SDK-archive: “rk3588_linux_release_20230114_v1.0.6c

command:

realpath .repo/manifest.xml
give out:
.repo/manifests/rk3588/rk3588_linux_release_20231027_v1.1.1e.xml

I vaguely imagine how images are assembled, but I need to get linux-headers for kernel version 5.10.66 and Ubuntu 20.04

Okay, I’m starting to do.

Prepared a docker container, because if we believe the instructions we need Ubuntu 18.04 for build:

syntax=docker/dockerfile:1

FROM ubuntu:18.04
RUN apt update -y && apt install build-essential -y && apt install python2.7 -y
RUN ln -s /usr/bin/python2.7 /usr/bin/python
RUN apt install repo bc rsync kmod cpio bison flex flex:native libssl-dev:native -y
RUN apt install git ssh make gcc libssl-dev liblz4-tool expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g+±multilib unzip device-tree-compiler ncurses-dev -y

WORKDIR /home
I bind the directory with the SDK to the container and I run this container:
docker run -it --mount type=“bind”,src=“/home/hoop/0_Programs_or_Libraries/FIREFLY_RK3588_SDK_LINUX/rk3588_another_popytka/”,target=/home/sdk my_image /bin/bash

And I follow this instruction.

I’m not sure which mk-file I need, but I don’t build with anyone.

./build itx-3588j-ubuntu.mk
./build.sh kerneldeb

I get a mistake :curse:

dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
scripts/Makefile.package:82: recipe for target ‘bindeb-pkg’ failed
make[1]: *** [bindeb-pkg] Error 2
Makefile:1665: recipe for target ‘bindeb-pkg’ failed
make: *** [bindeb-pkg] Error 2
ERROR: Running build_kerneldeb failed!
ERROR: exit code 2 from line 766:
make ARCH=$RK_ARCH bindeb-pkg RK_KERNEL_DTS=$RK_KERNEL_DTS -j$RK_JOBS


P.S.
Even if the build was successful, I do not understand how I would choose the kernel version exactly 5.10.66

tchip_askquestions
log.zip (3.35 KB)

Hello, did you check this linux-headers: https://en.t-firefly.com/doc/download/140.html

zooora111 Posted at 10/31/2023 09:41
Hello, did you check this linux-headers: https://en.t-firefly.com/doc/download/140.html

Hello, this is 5.10.110, but i need 5.10.66:'(

I tried the build on the real Ubuntu 18.04 (without using a docker). The error is the same

Perhaps someone can provide me with a file with linux-headers 5.10.66

It was one of the most beneficial pieces I’ve read in a while. Ready to crush the XSOAR-Engineer current exam content exam! Hope it goes great!

This article is incredibly thought-provoking, I appreciate you sharing it! The NCM-MCI valid test questions was my key to success—promotion and salary raise. It’s now free for everyone. Wishing you all a fast track to promotions!

This is a stellar article, thank you for sharing it with us. Level up your IT abilities—free New C-BCSSS-2502 test questions and answers for you! Wishing you all the best!

Thank you for your wonderful article; it was truly shocking! The Actual NCP-DB-6.10 tests resources are available for free—good luck, everyone!

I really appreciate your article, it was so enlightening and refreshing. Enhance your IT knowledge and get free New guide 78202T files. Wishing you success!

I’m so thankful for your article, it really made me think. Sharing EX-Con-101 reliable mock test exam questions for free—promotions and salary growth await!

Your article was remarkable, I’m truly thankful for it. This is the CPB valid real test exam that helped me get promoted and earn a pay raise. It’s available for free today—good luck with your career goals!