Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

embedded linux - No RTAI patch for your kernel version in buildroot?

I was trying to use the default config provided by Buildroot olimex_a64_olinuxino_defconfig and got the error:

No RTAI patch for your kernel version

# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-olinuxino"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
/usr/bin/make -j1 O=/home/arun/stupify/buildroot-2020.02.9/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
>>> linux 5.0 Downloading
--2021-02-05 09:38:35--  https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.0.tar.xz
Resolving cdn.kernel.org (cdn.kernel.org)... 2a04:4e42:25::432, 151.101.157.176
Connecting to cdn.kernel.org (cdn.kernel.org)|2a04:4e42:25::432|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107029708 (102M) [application/x-xz]
Saving to: ‘/home/arun/stupify/buildroot-2020.02.9/output/build/.linux-5.0.tar.xz.AQ8JM6/output’

/home/arun/stupify/buildroot-2020.02. 100%[=======================================================================>] 102.07M  2.17MB/s    in 60s     

2021-02-05 09:39:37 (1.70 MB/s) - ‘/home/arun/stupify/buildroot-2020.02.9/output/build/.linux-5.0.tar.xz.AQ8JM6/output’ saved [107029708/107029708]

>>> linux 5.0 Extracting
xzcat /home/arun/stupify/buildroot-2020.02.9/dl/linux/linux-5.0.tar.xz | /home/arun/stupify/buildroot-2020.02.9/output/host/bin/tar --strip-components=1 -C /home/arun/stupify/buildroot-2020.02.9/output/build/linux-5.0   -xf -
>>> linux 5.0 Patching
kver=`/usr/bin/make -j5 HOSTCC="/home/arun/stupify/buildroot-2020.02.9/output/host/bin/ccache /usr/bin/gcc -O2 -I/home/arun/stupify/buildroot-2020.02.9/output/host/include -L/home/arun/stupify/buildroot-2020.02.9/output/host/lib -Wl,-rpath,/home/arun/stupify/buildroot-2020.02.9/output/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/arun/stupify/buildroot-2020.02.9/output/target CROSS_COMPILE="/home/arun/stupify/buildroot-2020.02.9/output/host/bin/aarch64-none-linux-gnu-" DEPMOD=/home/arun/stupify/buildroot-2020.02.9/output/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /home/arun/stupify/buildroot-2020.02.9/output/build/linux-5.0 --no-print-directory -s kernelversion` ; if test -f /home/arun/stupify/buildroot-2020.02.9/output/build/rtai-4.0.1/base/arch/arm64/patches/hal-linux-${kver}-*patch ; then PATH=/home/arun/stupify/buildroot-2020.02.9/output/host/bin:$PATH support/scripts/apply-patches.sh  /home/arun/stupify/buildroot-2020.02.9/output/build/linux-5.0 /home/arun/stupify/buildroot-2020.02.9/output/build/rtai-4.0.1/base/arch/arm64/patches/ hal-linux-${kver}-*patch ; else echo "`No RTAI patch for your kernel version`" ; exit 1 ; fi
No RTAI patch for your kernel version
make[1]: *** [package/pkg-generic.mk:230: /home/arun/stupify/buildroot-2020.02.9/output/build/linux-5.0/.stamp_patched] Error 1
make: *** [Makefile:84: _all] Error 2
BR2_LINUX_KERNEL_EXT_RTAI=y

enter image description here

question from:https://stackoverflow.com/questions/66057609/no-rtai-patch-for-your-kernel-version-in-buildroot

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...