Open NikolaSzucsich opened 1 year ago
hello, here is an example for orange pi - follow the site instructions compile for orange pi mkdir modules cd linux-5.9 patch -p1 < ../rtnet-v11b-preempt_rt-linux-5.9.patch cd .. git clone https://github.com/laurentiuduca/rtnet-preempt_rt cd linux-5.9 cp ../rtnet-preempt_rt/orangepi-one/syscall.tbl arch/arm/tools/ Use buildroot to setup a rootfs for the target board Configure linux make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- sunxi_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig Preemption Model (Fully Preemptible Kernel (Real-Time)) .. Select Networking Support - RTnet, Protocol Stack -> (32) Size of central RX-FIFO, Real-Time IPv4, ICMP support, (32) Maximum host routing table entries, UDP support, Real-Time Packet Socket Support. The rest must be unselected. Drivers -> the driver for the target computer STMicroelectronics Multi-Gigabit Ethernet driver │ STMMAC Platform bus support (NEW) │ Allwinner sun8i GMAC support (NEW) Add-Ons -> IP protocol proxy for Linux be sure to disable the non-RTnet network drivers from net/ethernet Device Drivers -> Network device support -> Ethernet driver support -> Broadcom, STMicroelectronics devices, TI, etc make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- CONFIG_DEBUG_INFO=y INSTALL_MOD_PATH=/home/laur/lucru/rtnet-test-o/modules zImage sun8i-h3-orangepi-one.dtb -j5 Kernel: arch/arm/boot/zImage is ready make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- CONFIG_DEBUG_INFO=y INSTALL_MOD_PATH=/home/laur/lucru/rtnet-test-o/modules zImage sun8i-h3-orangepi-one.dtb modules modules_install -j5
Hi Laurentiu,
looks as if none of your drivers compiles.
rtdm_lock_t
is used inrtskb.h
which is used byudp.c
. As stated in the previous issue,rtdm_lock_t
is Xenomai and not preempt_rt.Best regards, Nikola