Closed xibeisiber closed 8 months ago
@orangepi-xunlong @xibeisiber
Hi,
Thank you for the links. I have attempted the following steps:
Cloned the linux-orangepi repo git clone https://github.com/orangepi-xunlong/linux-orangepi.git -b orange-pi-5.10-rk35xx-rt
Copied the configuration file (https://github.com/orangepi-xunlong/orangepi-build/blob/next/external/config/kernel/linux-rockchip-rk3588-legacy-rt.config) to .config
at the root of the cloned linux-orangepi repo.
Ran sudo make bindeb-pkg
to build the kernel and generate .deb files.
The build fails with the following error message:
kernel/sched/core.c: In function 'drain_rq_cpu_stop':
kernel/sched/core.c:7775:9: error: implicit declaration of function 'migrate_tasks'; did you mean 'migrate_pages'? [-Werror=implicit-function-declaration]
7775 | migrate_tasks(rq, &rf, false);
| ^~~~~~~~~~~~~
| migrate_pages
cc1: some warnings being treated as errors
make[5]: *** [scripts/Makefile.build:273: kernel/sched/core.o] Error 1
make[4]: *** [scripts/Makefile.build:516: kernel/sched] Error 2
make[3]: *** [Makefile:1938: kernel] Error 2
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Error 2
make: *** [Makefile:1664: bindeb-pkg] Error 2
I'm running Ubuntu 22.04.
Could you please guide me on what might be going wrong, or if there are additional steps I should follow?
Thanks!
Hi,
Will there be realtime-enabled kernel for orangepi5B or 5 plus? I tried to patch PREEMPT_RT into kernel but failed...
Thanks!